]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: fix backtrace to handle signal trampolines
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d400dcac
AZ
12013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #15867]
4 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5 trampoline stack frame information.
6 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14 sa_flags value.
15 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16 interrupting a syscall and set with option SA_SIGINFO.
17
42c8fdd8
JM
182013-08-20 Joseph Myers <joseph@codesourcery.com>
19
c980f2f4
JM
20 [BZ #15531]
21 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22 argument is infinite.
23 * math/s_cprojf.c (__cprojf): Likewise.
24 * math/s_cprojl.c (__cprojl): Likewise.
25 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26 * math/libm-test.inc (cproj_test_data): Add more tests.
27
0716c4fc
JM
28 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29
42c8fdd8
JM
30 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32 size. Use __ffs to determine corresponding shift.
33
b31469d0
JM
342013-08-20 Joseph Myers <joseph@codesourcery.com>
35 Roland McGrath <roland@hack.frob.com>
36
37 * Makefile (INSTALL): Remove trailing blank lines from output of
38 makeinfo.
39
4e39af6e
AK
402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41
42 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43 Align 32 bit compat elf_greg to 8 bytes.
44
f315524e
AA
452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
46
47 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48
1326ba1a
SP
492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50
51 * string/strcoll_l.c (coll_seq): New structure.
52 (get_next_seq_cached): New function.
53 (get_next_seq): New function.
54 (do_compare): New function.
55 (STRCOLL): Use GNU style definition. Simplify implementation
56 by using get_next_seq, get_next_seq_cached and do_compare.
57
91ce4085
FW
582013-08-16 Florian Weimer <fweimer@redhat.com>
59
60 [BZ #14699]
61 CVE-2013-4237
62 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63 member.
64 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
65 member.
66 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
67 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
68 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
69 conditional.
70 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
71 GETDENTS_64BIT_ALIGNED.
72 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
73 * manual/filesys.texi (Reading/Closing Directory): Document
74 ENAMETOOLONG return value of readdir_r. Recommend readdir more
75 strongly.
76 * manual/conf.texi (Limits for Files): Add portability note to
77 NAME_MAX, PATH_MAX.
78 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
79
ca0a6bc4
AS
802013-08-13 Andreas Schwab <schwab@suse.de>
81
82 [BZ #15749]
83 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
84 of fabs.
85 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
86 LDBL_MAX_EXP >= 16384]: Add tests for it.
87
6c1fd795
DM
882013-08-12 David S. Miller <davem@davemloft.net>
89
90 * version.h (RELEASE): Set to "development".
91 (VERSION): Set to "2.18.90".
92 * NEWS: Add 2.19 section.
93
31ad488d
DM
942013-08-03 David S. Miller <davem@davemloft.net>
95
96 * po/ko.po: Update Korean translation from translation project.
97
db24e684
DM
982013-08-01 David S. Miller <davem@davemloft.net>
99
100 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
101 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
102 Bilka.
103
f723285b
DM
1042013-07-30 David S. Miller <davem@davemloft.net>
105
106 * po/fr.po: Update French translation from translation project.
107
3cbc52db
DM
1082013-07-28 David S. Miller <davem@davemloft.net>
109
30bbc0cc
DM
110 * po/cs.po: Update Czech translation from translation project.
111
3cbc52db
DM
112 * po/sv.po: Update Swedish translation from translation project.
113
d492e6d0
DM
1142013-07-27 David S. Miller <davem@davemloft.net>
115
f1a7f492
DM
116 * po/eo.po: Update Esperanto translation from translation project.
117
90e62a4a
DM
118 * po/vi.po: Update Vietnamese translation from translation project.
119
d492e6d0
DM
120 * po/de.po: Update German translation from translation project.
121
d4baa62d
DM
1222013-07-26 David S. Miller <davem@davemloft.net>
123
641aa7b4
DM
124 * po/bg.po: Update Bulgarian translation from translation project.
125
d4baa62d
DM
126 * po/nl.po: Update Dutch translation from translation project.
127 * po/pl.po: Update Polish translation from translation project.
128 * po/ru.po: Update Russian translation from translation project.
129
61a9dcb9
DM
1302013-07-24 David S. Miller <davem@davemloft.net>
131
132 * po/libc.pot: Update.
133
7b1f8b58
AZ
1342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
135
136 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
137 variable page size.
138 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
141
a8fc7a03
AK
1422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
143
144 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
145
e4608715
CD
1462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
147 Andreas Schwab <schwab@suse.de>
148 Roland McGrath <roland@hack.frob.com>
149 Joseph Myers <joseph@codesourcery.com>
150 Carlos O'Donell <carlos@redhat.com>
151
152 [BZ #15755]
153 * config.h.in: Define HAVE_PT_CHOWN.
154 * config.make.in (build-pt-chown): New variable.
155 * configure.in (--enable-pt_chown): New configure option.
156 * configure: Regenerate.
157 * login/Makefile: Include Makeconfig. Build pt_chown only if
158 build-pt-chown is enabled.
159 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
160 pt_chown to fix pty ownership.
161 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
162 CLOSE_ALL_FDS.
163 * manual/install.texi (Configuring and compiling): Mention
164 --enable-pt_chown. Add @findex for grantpt.
165 * INSTALL: Regenerate.
166
da2d62df
DM
1672013-07-20 David S. Miller <davem@davemloft.net>
168
169 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
170 difference between 32-bit and 64-bit.
171
d7e06450
CD
1722013-07-15 Carlos O'Donell <carlos@redhat.com>
173
174 [BZ #15711]
175 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
176 Avoid system header dependency with -ffreestanding.
177 ($(objpfx)bits/syscall%d): Likewise.
178
f959cfd7
DM
1792013-07-13 David S. Miller <davem@davemloft.net>
180
181 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
182 underflows from atanl/atan2l due to bug 15319.
183 (casinh_test_data): Likewise.
184
c61f8513
DM
1852013-07-07 David S. Miller <davem@davemloft.net>
186
187 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
188
72c90ed0
JA
1892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
190
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
193
52dfbe13
SP
1942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
195
196 * configure.in (--enable-lock-elision): Fix message text.
197 * INSTALL: Regenerate.
198 * configure: Regenerate.
199
3f169543
AZ
2002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
203
521c6785
AJ
2042013-07-03 Andreas Jaeger <aj@suse.de>
205
206 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
207 define.
208 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
209 (ptrace_peeksiginfo_args): Add.
210 (__ptrace_peeksiginfo_flags): Add.
211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
213 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
214
d2cc15cb
AM
2152013-07-03 Allan McRae <allan@archlinux.org>
216
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218
3aaeeca7
DM
2192013-07-02 David S. Miller <davem@davemloft.net>
220
221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
222
5314ed1a
MT
2232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
224
225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
226
67338156
JM
2272013-07-02 Joseph Myers <joseph@codesourcery.com>
228
229 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
231
1717da59
AK
2322013-07-02 Andi Kleen <ak@linux.intel.com>
233
234 * config.h.in (ENABLE_LOCK_ELISION): Add.
235 * configure.in (--enable-lock-elision): Add option.
236 * manual/install.texi: Document --enable lock elision.
237 * configure: Regenerate
238 * INSTALL: Regenerate.
239
1c81621c
L
2402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
241
242 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
243 SSE4.2 strcasecmp for libc.a.
244 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
245
77f01ab5
JM
2462013-07-02 Joseph Myers <joseph@codesourcery.com>
247
248 [BZ #13304]
249 * soft-fp/op-common.h (_FP_FMA): New macro.
250 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
251 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
252 (_FP_MUL_MEAT_1_imm): ... here.
253 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
254 (_FP_MUL_MEAT_1_wide): ... here.
255 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
256 (_FP_MUL_MEAT_1_hard): ... here.
257 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
258 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
259 (_FP_MUL_MEAT_2_wide): ... here.
260 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
261 (_FP_MUL_MEAT_2_wide_3mul): ... here.
262 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
263 (_FP_MUL_MEAT_2_gmp): ... here.
264 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
265 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
266 (_FP_MUL_MEAT_4_wide): ... here.
267 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
268 (_FP_MUL_MEAT_4_gmp): ... here.
269 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
270 (_FP_WFRACBITS_DW_S): Likewise.
271 (_FP_WFRACXBITS_DW_S): Likewise.
272 (_FP_HIGHBIT_DW_S): Likewise.
273 (FP_FMA_S): Likewise.
274 (_FP_FRAC_HIGH_DW_S): Likewise.
275 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
276 (_FP_WFRACBITS_DW_D): Likewise.
277 (_FP_WFRACXBITS_DW_D): Likewise.
278 (_FP_HIGHBIT_DW_D): Likewise.
279 (FP_FMA_D): Likewise.
280 (_FP_FRAC_HIGH_DW_D): Likewise.
281 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
282 (_FP_WFRACBITS_DW_E): Likewise.
283 (_FP_WFRACXBITS_DW_E): Likewise.
284 (_FP_HIGHBIT_DW_E): Likewise.
285 (FP_FMA_E): Likewise.
286 (_FP_FRAC_HIGH_DW_E): Likewise.
287 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
288 (_FP_WFRACBITS_DW_Q): Likewise.
289 (_FP_WFRACXBITS_DW_Q): Likewise.
290 (_FP_HIGHBIT_DW_Q): Likewise.
291 (FP_FMA_Q): Likewise.
292 (_FP_FRAC_HIGH_DW_Q): Likewise.
293 * soft-fp/fmasf4.c: New file.
294 * soft-fp/fmadf4.c: Likewise.
295 * soft-fp/fmatf4.c: Likewise.
296
6308fd9a
LD
2972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
298
299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
300 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
301 Silvermont.
302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
303 macro.
304 (index_Slow_SSE4_2): Likewise.
305 (index_Prefer_PMINUB_for_stringop): Likewise.
306 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
307 bit_Slow_SSE4_2 is set.
308 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
310
89cd9569
RA
3112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
312
313 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
314 rtld_global._dl_hwcap2.
315 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
316 POWER8.
317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
318 POWER8 feature descriptions defined in _dl_hwcap2.
319 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
320 string handling for POWER8 feature bits.
321 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
322 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
323 _dl_powerpc_cap_flags.
324 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
325 * sysdeps/powerpc/rtld-global-offsets.sym
326 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
327 _dl_hwcap2 in the rtld_global_ro structure.
328
1ae8bfe0
RA
3292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
330
331 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
332 hardware capabilities in support of AT_HWCAP2.
333 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
334 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
335 GLRO(dl_hwcap2).
336 (_dl_show_auxv): Add support for calling _dl_procinfo to display
337 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
338 explicitly the unknown a_type display mechanism is used.
339 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
340 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
341 struct member.
342 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
343 to macro prototype for AT_HWCAP2 support.
344 * sysdeps/i386/dl-procinfo.h: Likewise.
345 * sysdeps/s390/dl-procinfo.h: Likewise.
346 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
347 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
348 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
349 return -1 for unknown a_type display fallback.
350 * sysdeps/sparc/dl-procinfo.h: Likewise.
351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
352 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
353
8fbec010
JM
3542013-06-28 Joseph Myers <joseph@codesourcery.com>
355
356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
357 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
358
0432680e
PY
3592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
360
361 [BZ #12492]
362 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
363 mprotect making __stack_prot writable.
364
ce61a2ad
NF
3652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
366 Joseph Myers <joseph@codesourcery.com>
367
368 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
369 as being properly aligned.
370
f91f1c0f
MR
3712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
372
3d0f5d0c
MR
373 * dlfcn/modstatic5.c: New file.
374 * dlfcn/tststatic5.c: New file.
375 * dlfcn/Makefile (tests): Add tststatic5.
376 (tests-static): Likewise.
377 (modules-names): Add modstatic5.
378 (tststatic5-ENV): New variable.
379 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
380
f91f1c0f
MR
381 [BZ #15022]
382 * elf/dl-support.c (_dl_main_map): New variable.
383 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
384 (_dl_nns, _dl_load_adds): Set to 1.
385 (_dl_initial_searchlist): Refer to _dl_main_map.
386 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
387 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
388 call to _dl_get_origin.
389 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
390 around call_map.
391 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
392 * dlfcn/modstatic3.c: New file.
393 * dlfcn/tststatic3.c: New file.
394 * dlfcn/tststatic4.c: New file.
395 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
396 (tests-static): Likewise.
397 (modules-names): Add modstatic3.
398 (tststatic3-ENV, tststatic4-ENV): New variables.
399 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
400 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
401
cbe7d24b
JM
4022013-06-26 Joseph Myers <joseph@codesourcery.com>
403
404 * configure.in (CC): Require GCC version 4.4 or later.
405 * configure: Regenerated.
406 * manual/install.texi (Tools for Compilation): Update GCC version
407 requirement.
408 * INSTALL: Regenerated.
409
11b8a0e1
LD
4102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
411
412 [BZ #15674]
bb5bb87c
L
413 * string/test-memcmp.c (check2): New.
414 (main): Call check2.
415
11b8a0e1
LD
416 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
417
b0037103
MR
4182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
419
420 [BZ #15022]
421 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
422 over to...
423 (dl_open_worker) [!SHARED]: ... here.
424
c18c701d
RA
4252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
426
427 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
428
1d17fa5f
RH
4292013-06-25 Richard Henderson <rth@redhat.com>
430
431 * locale/programs/locarchive.c: Include <libc-internal.h>
432
8fcb833a
JM
4332013-06-25 Joseph Myers <joseph@codesourcery.com>
434
435 * manual/texinfo.tex: Update to version 2013-06-21.17, with
436 trailing whitespace removed.
437
17db6e8d
MF
4382013-06-24 Mike Frysinger <vapier@gentoo.org>
439
440 [BZ #10283]
17db6e8d
MF
441 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
442 * locale/programs/locarchive.c: Include libc-mmap.h.
443 (prepare_address_space): Take two new outputs (the mmap base and len).
444 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
445 values.
446 (create_archive): Declare new mmap base and len values for
447 prepare_address_space, and store the result in ah.
448 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
449 (enlarge_archive): If ah->mmap_base is not NULL, use that and
450 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
451 Declare new mmap base and len values for
452 prepare_address_space, and store the result in new_ah.
453 (open_archive): Declare new mmap base and len values for
454 prepare_address_space, and store the result in ah.
455 (close_archive): If ah->mmap_base is not NULL, use that and
456 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
457 * sysdeps/generic/libc-mmap.h: New file.
458
d605071e
MF
4592013-06-24 Mike Frysinger <vapier@gentoo.org>
460
461 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
462 (ALIGN_UP): Likewise.
463 (PTR_ALIGN_DOWN): Likewise.
464 (PTR_ALIGN_UP): Likewise.
465
2f063a6e
RA
4662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
467
468 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
469 entry mapped to PPC_PLATFORM_POWER8.
470 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
471 POWER8.
472 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
473 (_dl_string_platform): Add case for exporting platform position for
474 POWER8.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
476 search path to sysdeps/powerpc/powerpc32/power8 directory.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
478 search path to sysdeps/powerpc/powerpc64/power8 directory.
479 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
480 power7 directories.
481 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
482 power7 directories.
483
a31ee4b3
SP
4842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
485
a74ca98f
SP
486 * INSTALL: Regenerate.
487
a31ee4b3
SP
488 * nscd/connections.c (nscd_init): Fix comment.
489
695c378f
JM
4902013-06-22 Joseph Myers <joseph@codesourcery.com>
491
d8412221
JM
492 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
493
695c378f
JM
494 [BZ #15667]
495 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
496 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
497
d1d54715
MR
4982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
499
500 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
501 DL_DST_REQ_STATIC.
502 (DL_DST_REQ_STATIC): Remove macro.
503
8fdda7af
JM
5042013-06-21 Joseph Myers <joseph@codesourcery.com>
505
506 [BZ #7006]
507 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
508 with a shift of 0 bits.
509
f3bc5e5a
MR
5102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
511
512 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
513 $(tststatic-ENV).
514
be09e8c9
KK
5152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
516
517 [BZ #15655]
518 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
519
85c2e611
AZ
5202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521
522 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
523 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
524 accepts -fno-tree-loop-distribute-patterns.
525 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
526 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
527 recursive call.
528 * string/memset.c (memset): Likewise.
529 * string/test-memmove.c (simple_memmove): Disable loop transformation
530 to library calls.
531 * string/test-memset.c (simple_memset): Likewise.
532 * benchtests/bench-memmove.c (simple_memmove): Likewise.
533 * benchtests/bench-memset.c (simple_memset): Likewise.
534 * configure: Regenerated.
535
c91e0825
JM
5362013-06-20 Joseph Myers <joseph@codesourcery.com>
537
b8c792af
JM
538 * math/test-misc.c (main): Ignore fesetround failure when failures
539 of subsequent rounding tests would be ignored.
540
c91e0825
JM
541 [BZ #15654]
542 * math/fedisblxcpt.c (fedisableexcept): Return 0.
543 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
544 * math/fegetenv.c (__fegetenv): Return 0.
545 * math/fegetexcept.c (fegetexcept): Return 0.
546 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
547 FE_TONEAREST.
548 * math/feholdexcpt.c (feholdexcept): Return 0.
549 * math/fesetenv.c (__fesetenv): Return 0.
550 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
551 argument FE_TONEAREST.
552 * math/feupdateenv.c (__feupdateenv): Return 0.
553 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
554
bfcacbde
RM
5552013-06-18 Roland McGrath <roland@hack.frob.com>
556
557 * elf/rtld-Rules (rtld-compile-command.S): New variable.
558 (rtld-compile-command.s, rtld-compile-command.c): New variables.
559 ($(objpfx)rtld-%.os rules): Use them.
560
e55a9b25
AZ
5612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
562
563 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
564 fields.
565
346d65b3
RM
5662013-06-17 Roland McGrath <roland@hack.frob.com>
567
12086fb4
RM
568 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
569 length of target pattern, then descending length of dependency pattern.
570 * configure.in (AWK): Require gawk 3.1.2 or newer.
571 * manual/install.texi (Tools for Compilation): Say that we do.
572 * configure: Regenerated.
573
346d65b3
RM
574 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
575 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
576 * scripts/sysd-rules.awk: ... this new script.
577 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
578 than a glob-style pattern.
579
1a846317
JM
5802013-06-17 Joseph Myers <joseph@codesourcery.com>
581
582 * math/test-misc.c (main): Do not treat incorrectly rounded
583 conversions as failure unless ROUNDING_TESTS passes.
584
8fc75e6f
JM
5852013-06-15 Joseph Myers <joseph@codesourcery.com>
586
3711a167
JM
587 [BZ #15631]
588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
589 restore exception state around main square root computation, then
590 check for inexactness explicitly.
591
8fc75e6f
JM
592 * math/libm-test.inc (fma_test_data): Add another test.
593
61dd6208
SP
5942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
595
adf23d2c
SP
596 * manual/threads.texi (Non-POSIX Extensions): New document
597 node. Document pthread_getattr_default_np and
598 pthread_setattr_default_np.
599
61dd6208
SP
600 * Versions.def (libpthread): Add GLIBC_2.18.
601 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
603 Likewise.
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
605 Likewise.
606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
607 Likewise.
608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
609 Likewise.
610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
611 Likewise.
612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
613 Likewise.
614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
615 Likewise.
616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
617 Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
619 Likewise.
620
d086fc7b
LD
6212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
622
623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
624 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
625
747ef469
SP
6262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
627 H.J. Lu <hjl.tools@gmail.com>
628
629 [BZ #15627]
630 * sysdeps/x86_64/rtld-memset.c: Remove file.
631 * sysdeps/x86_64/rtld-memset.S: New file.
632
1b2feed2
JM
6332013-06-14 Joseph Myers <joseph@codesourcery.com>
634
635 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
636 (test_in_one_mode): Take arguments for whether the rounding mode
637 is supported for each floating-point type.
638 (do_test): Pass new arguments to test_in_one_mode using
639 ROUNDING_TESTS.
640
a58ad3f8
RM
6412013-06-13 Roland McGrath <roland@hack.frob.com>
642
643 * posix/tst-waitid.c (do_test): Distinguish different instances of
644 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
645 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
646 before entering the kernel for waitpid.
647
c204ab28
SP
6482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
649
650 * NEWS: Fix note on clock function precision. Text by Roland
651 McGrath.
652
f4a29fba
RM
6532013-06-13 Roland McGrath <roland@hack.frob.com>
654
655 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
656 it into place only when and if the sanity check passes.
657
1f24b9ad
JM
6582013-06-13 Joseph Myers <joseph@codesourcery.com>
659
660 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
661 output for whether conversion result is exact. Take argument
662 indicating whether type is IBM long double.
663 (round_for_all): Change need_exact field to ibm_ld.
664 * stdlib/tst-strtod-round.c (struct exactness): New type.
665 (struct test): Change bool ld_ok field to struct exactness exact.
666 (TEST): Update all definitions for change to field.
667 (tests): Regenerate array contents.
668 (test_in_one_mode): Take pointer to new field instead of old ld_ok
669 field value. Check for IBM long double here.
670 (do_test): Update calls to test_in_one_mode.
671
58206c68
SP
6722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 [BZ #12515]
675 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
676 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
677
2d6f4c5b 6782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
679
680 [BZ #15605]
681 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
682 generated by the compiler on loop optimizations.
683 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
684 general definitions.
685
94f2c076
JM
6862013-06-12 Joseph Myers <joseph@codesourcery.com>
687
688 * math/bug-nextafter.c: Include <math-tests.h>.
689 (main): Only test for exceptions if EXCEPTION_TESTS is true for
690 the relevant type.
691 * math/bug-nexttoward.c: Include <math-tests.h>.
692 (main): Only test for exceptions if EXCEPTION_TESTS is true for
693 the relevant type.
694 * math/test-misc.c: Include <math-tests.h>.
695 (main): Only test for exceptions if EXCEPTION_TESTS is true for
696 the relevant type.
697
e0e50a0a
AJ
6982013-06-12 Andreas Jaeger <aj@suse.de>
699
700 * po/ia.po: Update Interlingua translation from translation
701 project.
702
25061094
SP
7032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
704
705 * include/fenv.h: Include stdbool.h.
706 (struct rm_ctx): New structure.
707 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
708 Define macro.
709 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
710 (SET_RESTORE_ROUNDF): Likewise.
711 (SET_RESTORE_ROUNDL): Likewise.
712 (SET_RESTORE_ROUND_NOEX): Likewise.
713 (SET_RESTORE_ROUND_NOEXF): Likewise.
714 (SET_RESTORE_ROUND_NOEXL): Likewise.
715 (SET_RESTORE_ROUND_53BIT): Likewise.
716 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
717 (libc_feresetround_noexf_ctx): Likewise.
718 (libc_feresetround_noexl_ctx): Likewise.
719 (libc_feholdsetround_53bit_ctx): Likewise.
720 (libc_feresetround_53bit_ctx): Likewise.
721 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
722 (libc_feholdexcept_setround_sse_ctx): New function.
723 (libc_fesetenv_sse_ctx): Likewise.
724 (libc_feupdateenv_sse_ctx): Likewise.
725 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
726 (libc_feholdexcept_setround_387_ctx): Likewise.
727 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
728 (libc_feholdsetround_387_prec_ctx): Likewise.
729 (libc_feholdsetround_387_ctx): Likewise.
730 (libc_feholdsetround_387_53bit_ctx): Likewise.
731 (libc_feholdsetround_sse_ctx): Likewise.
732 (libc_feresetround_sse_ctx): Likewise.
733 (libc_feresetround_387_ctx): Likewise.
734 (libc_feupdateenv_387_ctx): Likewise.
735 (libc_feholdexcept_setroundf_ctx): Define macro.
736 (libc_fesetenvf_ctx): Likewise.
737 (libc_feupdateenvf_ctx): Likewise.
738 (libc_feholdsetroundf_ctx): Likewise.
739 (libc_feresetroundf_ctx): Likewise.
740 (libc_feholdexcept_setround_ctx): Likewise.
741 (libc_fesetenv_ctx): Likewise.
742 (libc_feupdateenv_ctx): Likewise.
743 (libc_feholdsetround_ctx): Likewise.
744 (libc_feresetround_ctx): Likewise.
745 (libc_feholdexcept_setroundl_ctx): Likewise.
746 (libc_feupdateenvl_ctx): Likewise.
747 (libc_feholdsetroundl_ctx): Likewise.
748 (libc_feresetroundl_ctx): Likewise.
749 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
750 (libc_feresetround_53bit_ctx): Likewise.
751
59b30555
SP
7522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
753
754 * locale/iso-639.def: Convert to UTF-8.
755
f1d73d30
JM
7562013-06-11 Joseph Myers <joseph@codesourcery.com>
757
758 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
759 (EXCEPTION_TESTS_double): Likewise.
760 (EXCEPTION_TESTS_long_double): Likewise.
761 (EXCEPTION_TESTS): Likewise.
762 * math/libm-test.inc (test_exceptions): Only test exceptions if
763 EXCEPTION_TESTS (FLOAT).
764
94aca5e7
SP
7652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
766
767 * benchtests/Makefile (string-bench): Add strcpy_chk and
768 stpcpy_chk.
769 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
770 * benchtests/bench-stpcpy_chk.c: New file.
771 * benchtests/bench-strcpy_chk-ifunc.c: New file.
772 * benchtests/bench-strcpy_chk.c: New file.
773 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
774 code.
775 (do_test): Likewise.
776
fac0c5f2
RA
7772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
778
779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
780 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
781 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
782 with tabs where appropriate.
783 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
784 dl-procinfo.h.
785 [PPC_PLATFORM_PPC440]: Likewise.
786 [PPC_PLATFORM_PPC464]: Likewise.
787 [PPC_PLATFORM_PPC476]: Likewise.
788 (_dl_string_platform): Add support for detecting ppc405, ppc440,
789 ppc464, and ppc476 platform strings merging from ports/
790 dl-procinfo.h.
791
f22bc486
AS
7922013-06-11 Andreas Schwab <schwab@suse.de>
793
794 [BZ #14991]
795 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
796 (from_ucs4_idx): Regenerate.
797 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
798 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
799 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
800 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
801 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
802 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
803 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
804 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
805 from FROM_LOOP and TO_LOOP specific macros.
806 (BODY): Handle combining characters.
807 * iconvdata/BIG5HKSCS.irreversible: Update.
808 * iconvdata/BIG5HKSCS.precomposed: New file.
809 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
810 characters.
811 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
812
c1f75dc3
SP
8132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
814
4eacded2
SP
815 * include/sys/time.h: Fix indentation and add copyright header.
816
fec799f8
SP
817 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
818 (do_test): Likewise.
819 * string/test-memchr.c (do_one_test): Likewise.
820 (do_test): Likewise.
821 * string/test-memcmp.c (do_one_test): Likewise.
822 (do_test): Likewise.
823 * string/test-memcpy.c (do_one_test): Likewise.
824 (do_test): Likewise.
825 * string/test-memmem.c (do_one_test): Likewise.
826 (do_test): Likewise.
827 (do_random_tests): Likewise.
828 * string/test-memmove.c (do_one_test): Likewise.
829 (do_test): Likewise.
830 * string/test-memset.c (do_one_test): Likewise.
831 (do_test): Likewise.
832 * string/test-rawmemchr.c (do_one_test): Likewise.
833 (do_test): Likewise.
834 * string/test-strcasecmp.c (do_one_test): Likewise.
835 (do_test): Likewise.
836 * string/test-strcasestr.c (do_one_test): Likewise.
837 (do_test): Likewise.
838 * string/test-strcat.c (do_one_test): Likewise.
839 (do_test): Likewise.
840 * string/test-strchr.c (do_one_test): Likewise.
841 (do_test): Likewise.
842 * string/test-strcmp.c (do_one_test): Likewise.
843 (do_test): Likewise.
844 * string/test-strcpy.c (do_one_test): Likewise.
845 (do_test): Likewise.
846 * string/test-string.h: Likewise.
847 (test_init): Likewise.
848 * string/test-strlen.c (do_one_test): Likewise.
849 (do_test): Likewise.
850 * string/test-strncasecmp.c (do_one_test): Likewise.
851 (do_test): Likewise.
852 * string/test-strncat.c (do_one_test): Likewise.
853 (do_test): Likewise.
854 * string/test-strncmp.c (do_one_test): Likewise.
855 (do_test_limit): Likewise.
856 (do_test): Likewise.
857 * string/test-strncpy.c (do_one_test): Likewise.
858 (do_test): Likewise.
859 * string/test-strnlen.c (do_one_test): Likewise.
860 (do_test): Likewise.
861 * string/test-strpbrk.c (do_one_test): Likewise.
862 (do_test): Likewise.
863 * string/test-strrchr.c (do_one_test): Likewise.
864 (do_test): Likewise.
865 * string/test-strspn.c (do_one_test): Likewise.
866 (do_test): Likewise.
867 * string/test-strstr.c (do_one_test): Likewise.
868 (do_test): Likewise.
869
97020474
SP
870 * benchtests/Makefile (string-bench): Add string benchmarks.
871 * benchtests/bench-bcopy-ifunc.c: New file.
872 * benchtests/bench-bcopy.c: New file.
873 * benchtests/bench-bzero-ifunc.c: New file.
874 * benchtests/bench-bzero.c: New file.
875 * benchtests/bench-memccpy-ifunc.c: New file.
876 * benchtests/bench-memccpy.c: New file.
877 * benchtests/bench-memchr-ifunc.c: New file.
878 * benchtests/bench-memchr.c: New file.
879 * benchtests/bench-memcmp-ifunc.c: New file.
880 * benchtests/bench-memcmp.c: New file.
881 * benchtests/bench-memmem-ifunc.c: New file.
882 * benchtests/bench-memmem.c: New file.
883 * benchtests/bench-memmove-ifunc.c: New file.
884 * benchtests/bench-memmove.c: New file.
885 * benchtests/bench-mempcpy-ifunc.c: New file.
886 * benchtests/bench-mempcpy.c: New file.
887 * benchtests/bench-memset-ifunc.c: New file.
888 * benchtests/bench-memset.c: New file.
889 * benchtests/bench-rawmemchr-ifunc.c: New file.
890 * benchtests/bench-rawmemchr.c: New file.
891 * benchtests/bench-stpcpy-ifunc.c: New file.
892 * benchtests/bench-stpcpy.c: New file.
893 * benchtests/bench-stpncpy-ifunc.c: New file.
894 * benchtests/bench-stpncpy.c: New file.
895 * benchtests/bench-strcasecmp-ifunc.c: New file.
896 * benchtests/bench-strcasecmp.c: New file.
897 * benchtests/bench-strcasestr-ifunc.c: New file.
898 * benchtests/bench-strcasestr.c: New file.
899 * benchtests/bench-strcat-ifunc.c: New file.
900 * benchtests/bench-strcat.c: New file.
901 * benchtests/bench-strchr-ifunc.c: New file.
902 * benchtests/bench-strchr.c: New file.
903 * benchtests/bench-strchrnul-ifunc.c: New file.
904 * benchtests/bench-strchrnul.c: New file.
905 * benchtests/bench-strcmp-ifunc.c: New file.
906 * benchtests/bench-strcmp.c: New file.
907 * benchtests/bench-strcpy-ifunc.c: New file.
908 * benchtests/bench-strcpy.c: New file.
909 * benchtests/bench-strcspn-ifunc.c: New file.
910 * benchtests/bench-strcspn.c: New file.
911 * benchtests/bench-strlen-ifunc.c: New file.
912 * benchtests/bench-strlen.c: New file.
913 * benchtests/bench-strncasecmp-ifunc.c: New file.
914 * benchtests/bench-strncasecmp.c: New file.
915 * benchtests/bench-strncat-ifunc.c: New file.
916 * benchtests/bench-strncat.c: New file.
917 * benchtests/bench-strncmp-ifunc.c: New file.
918 * benchtests/bench-strncmp.c: New file.
919 * benchtests/bench-strncpy-ifunc.c: New file.
920 * benchtests/bench-strncpy.c: New file.
921 * benchtests/bench-strnlen-ifunc.c: New file.
922 * benchtests/bench-strnlen.c: New file.
923 * benchtests/bench-strpbrk-ifunc.c: New file.
924 * benchtests/bench-strpbrk.c: New file.
925 * benchtests/bench-strrchr-ifunc.c: New file.
926 * benchtests/bench-strrchr.c: New file.
927 * benchtests/bench-strspn-ifunc.c: New file.
928 * benchtests/bench-strspn.c: New file.
929 * benchtests/bench-strstr-ifunc.c: New file.
930 * benchtests/bench-strstr.c: New file.
931
c1f75dc3
SP
932 * benchtests/Makefile: Disable parallel execution of targets.
933 (string-bench): Add memcpy.
934 (benchset): New variable to store a list of benchmark sets.
935 (bench-func): Renamed from bench.
936 (bench-set): New target.
937 (bench): Depend on bench-func and bench-set.
938 * benchtests/README: Add section on benchmark sets.
939 * benchtests/bench-memcpy-ifunc.c: New file.
940 * benchtests/bench-memcpy.c: New file.
941 * benchtests/bench-string.h: New file.
942
50fd745b
AS
9432013-06-11 Andreas Schwab <schwab@suse.de>
944
945 [BZ #15577]
946 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
947 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
948 values in the triple.
949 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
950 terminator in the group key.
951
3ee7e9fe
AJ
9522013-06-11 Andreas Jaeger <aj@suse.de>
953
954 * po/zh_TW.po: Update Chinese (traditional) translation from
955 translation project.
956
89fb6835
SP
9572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
958
959 * include/time.h (__clock_gettime): Add libc_hidden_proto.
960 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
961 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
963 (clock_getcpuclockid): Likewise.
964 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
965 Add weak_alias and libc_hidden_def.
966 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
967 * rt/clock_gettime.c (clock_gettime): Rename to
968 __clock_gettime. Add weak_alias and libc_hidden_def.
969 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
970 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
971 __clock_nanosleep. Add weak_alias and libc_hidden_def.
972 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
973 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
974 Likewise.
975 * rt/clock_settime.c (clock_settime): Rename to
976 __clock_settime. Add weak_alias and libc_hidden_def.
977 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
978
0efa6f8b
JM
9792013-06-10 Joseph Myers <joseph@codesourcery.com>
980
b8c61b4b
JM
981 * mach/err_boot.sub: Remove trailing whitespace.
982 * mach/err_ipc.sub: Likewise.
983 * mach/err_mach.sub: Likewise.
984
0efa6f8b
JM
985 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
986 (ROUNDING_TESTS_double): Likewise.
987 (ROUNDING_TESTS_long_double): Likewise.
988 (ROUNDING_TESTS): Likewise.
989 * math/libm-test.inc: Include <math-tests.h>.
990 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
991 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
992 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
993 (IF_ROUND_INIT_FE_UPWARD): Likewise.
994
50b818bf
SP
9952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
996
997 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
998 of assigning.
999
60d2f8f3
JM
10002013-06-08 Joseph Myers <joseph@codesourcery.com>
1001
4902d2c3
JM
1002 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1003 otherwise empty TRANS lines.
1004 * sysdeps/gnu/errlist.c: Regenerated.
1005
60d2f8f3
JM
1006 * catgets/gencat.c (error_print): Use (void) in function
1007 definition.
1008 * crypt/crypt_util.c (__init_des): Likewise.
1009 * crypt/speeds.c (Stop): Likewise.
1010 (main): Likewise.
1011 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1012 * inet/ruserpass.c (token): Likewise.
1013 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1014 * intl/localealias.c (extend_alias_table): Likewise.
1015 * intl/plural-exp.c (init_germanic_plural): Likewise.
1016 * libio/fcloseall.c (__fcloseall): Likewise.
1017 * libio/genops.c (_IO_flush_all): Likewise.
1018 (_IO_flush_all_linebuffered): Likewise.
1019 (_IO_cleanup): Likewise.
1020 (_IO_iter_begin): Likewise.
1021 (_IO_iter_end): Likewise.
1022 (_IO_list_lock): Likewise.
1023 (_IO_list_unlock): Likewise.
1024 (_IO_list_resetlock): Likewise.
1025 * libio/getchar.c (getchar): Likewise.
1026 * libio/getchar_u.c (getchar_unlocked): Likewise.
1027 * libio/getwchar.c (getwchar): Likewise.
1028 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1029 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1030 * login/getpt.c (__getpt): Likewise.
1031 * login/tst-utmp.c (main): Likewise.
1032 * malloc/hooks.c (__malloc_check_init): Likewise.
1033 * malloc/malloc.c (__malloc_stats): Likewise.
1034 * malloc/mtrace.c (tr_break): Likewise.
1035 (mtrace): Likewise.
1036 (muntrace): Likewise.
1037 * misc/fstab.c (endfsent): Likewise.
1038 * misc/getclktck.c (__getclktck): Likewise.
1039 * misc/getdtsz.c (__getdtablesize): Likewise.
1040 * misc/gethostid.c (gethostid): Likewise.
1041 * misc/getpagesize.c (__getpagesize): Likewise.
1042 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1043 (__get_nprocs): Likewise.
1044 (__get_phys_pages): Likewise.
1045 (__get_avphys_pages): Likewise.
1046 * misc/getttyent.c (getttyent): Likewise.
1047 (setttyent): Likewise.
1048 (endttyent): Likewise.
1049 * misc/getusershell.c (getusershell): Likewise.
1050 (endusershell): Likewise.
1051 (setusershell): Likewise.
1052 (initshells): Likewise.
1053 * misc/hsearch.c (__hdestroy): Likewise.
1054 * misc/sync.c (sync): Likewise.
1055 * misc/syslog.c (closelog_internal): Likewise.
1056 (closelog): Likewise.
1057 * misc/ttyslot.c (ttyslot): Likewise.
1058 * misc/vhangup.c (vhangup): Likewise.
1059 * posix/fork.c (__fork): Likewise.
1060 * posix/getegid.c (__getegid): Likewise.
1061 * posix/geteuid.c (__geteuid): Likewise.
1062 * posix/getgid.c (__getgid): Likewise.
1063 * posix/getpid.c (__getpid): Likewise.
1064 * posix/getppid.c (__getppid): Likewise.
1065 * posix/getuid.c (__getuid): Likewise.
1066 * posix/pause.c (pause): Likewise.
1067 * posix/setpgrp.c (setpgrp): Likewise.
1068 * posix/setsid.c (__setsid): Likewise.
1069 * posix/test-vfork.c (noop): Likewise.
1070 * resolv/gethnamaddr.c (_endhtent): Likewise.
1071 (_gethtent): Likewise.
1072 (ht_endhostent): Likewise.
1073 (gethostent): Likewise.
1074 (dns_service): Likewise.
1075 * stdlib/drand48.c (drand48): Likewise.
1076 * stdlib/lrand48.c (lrand48): Likewise.
1077 * stdlib/mrand48.c (mrand48): Likewise.
1078 * stdlib/rand.c (rand): Likewise.
1079 * stdlib/random.c (__random): Likewise.
1080 * stdlib/setenv.c (clearenv): Likewise.
1081 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1082 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1083 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1084 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1085 (__get_nprocs): Likewise.
1086 (__get_phys_pages): Likewise.
1087 (__get_avphys_pages): Likewise.
1088 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1089 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1090 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1091 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1092 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1093 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1094 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1095 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1096 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1097 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1098 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1099 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1100 * sysdeps/posix/clock.c (clock): Likewise.
1101 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1102 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1103 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1104 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1105 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1107 (__get_nprocs_conf): Likewise.
1108 (__get_phys_pages): Likewise.
1109 (__get_avphys_pages): Likewise.
1110 * time/clock.c (clock): Likewise.
1111 * time/tzset.c (__tzname_max): Likewise.
1112
2e09a79a
JM
11132013-06-07 Joseph Myers <joseph@codesourcery.com>
1114
1115 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1116 (__bswap_32): Do not use "register".
1117 * crypt/crypt.c (_ufc_doit_r): Likewise.
1118 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1119 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1120 * gmon/gmon.c (__monstartup): Likewise.
1121 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1122 * hurd/hurdmalloc.c (more_memory): Likewise.
1123 (malloc): Likewise.
1124 (free): Likewise.
1125 (realloc): Likewise.
1126 (malloc_fork_prepare): Likewise.
1127 (malloc_fork_parent): Likewise.
1128 (malloc_fork_child): Likewise.
1129 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1130 (_svcauth_des): Likewise.
1131 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1132 * inet/inet_net.c (inet_network): Likewise.
1133 * inet/inet_netof.c (inet_netof): Likewise.
1134 * inet/rcmd.c (__validuser2_sa): Likewise.
1135 * io/fts.c (fts_open): Likewise.
1136 (fts_load): Likewise.
1137 (fts_close): Likewise.
1138 (fts_read): Likewise.
1139 (fts_children): Likewise.
1140 (fts_build): Likewise.
1141 (fts_stat): Likewise.
1142 (fts_sort): Likewise.
1143 (fts_alloc): Likewise.
1144 (fts_lfree): Likewise.
1145 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1146 (_IO_file_xsgetn): Likewise.
1147 (_IO_file_xsgetn_mmap): Likewise.
1148 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1149 (_IO_cookie_write): Likewise.
1150 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1151 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1152 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1153 * malloc/obstack.c (_obstack_begin): Likewise.
1154 (_obstack_begin_1): Likewise.
1155 (_obstack_newchunk): Likewise.
1156 (_obstack_allocated_p): Likewise.
1157 (obstack_free): Likewise.
1158 (_obstack_memory_used): Likewise.
1159 * misc/getttyent.c (getttynam): Likewise.
1160 (getttyent): Likewise.
1161 (skip): Likewise.
1162 (value): Likewise.
1163 * misc/getusershell.c (initshells): Likewise.
1164 * misc/syslog.c (__vsyslog_chk): Likewise.
1165 * misc/ttyslot.c (ttyslot): Likewise.
1166 * nis/nis_hash.c (__nis_hash): Likewise.
1167 * posix/fnmatch_loop.c (FCT): Likewise.
1168 * posix/getconf.c (print_all): Likewise.
1169 (main): Likewise.
1170 * posix/getopt.c (exchange): Likewise.
1171 * posix/glob.c (globfree): Likewise.
1172 (prefix_array): Likewise.
1173 (__glob_pattern_type): Likewise.
1174 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1175 (NS_GET32): Likewise.
1176 (NS_PUT16): Likewise.
1177 (NS_PUT32): Likewise.
1178 * resolv/gethnamaddr.c (getanswer): Likewise.
1179 (gethostbyname2): Likewise.
1180 (gethostbyaddr): Likewise.
1181 (_gethtent): Likewise.
1182 (_gethtbyname2): Likewise.
1183 (_gethtbyaddr): Likewise.
1184 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1185 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1186 * resolv/res_init.c (__res_vinit): Likewise.
1187 (net_mask): Likewise.
1188 * resolv/res_mkquery.c (outchar): Likewise.
1189 (PRINT): Likewise.
1190 * stdio-common/printf_fp.c (outchar): Likewise.
1191 (PRINT): Likewise.
1192 * stdio-common/printf_fphex.c (outchar): Likewise.
1193 (PRINT): Likewise.
1194 * stdio-common/printf_size.c (outchar): Likewise.
1195 (PRINT): Likewise.
1196 * stdio-common/test_rdwr.c (main): Likewise.
1197 * stdio-common/tfformat.c (matches): Likewise.
1198 * stdio-common/vfprintf.c (outchar): Likewise.
1199 (printf_unknown): Likewise.
1200 (buffered_vfprintf): Likewise.
1201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1202 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1203 (ReadFile): Likewise.
1204 * stdlib/qsort.c (SWAP): Likewise.
1205 (_quicksort): Likewise.
1206 * stdlib/setenv.c (__add_to_environ): Likewise.
1207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1208 * stdlib/strtol_l.c (__strtol_l): Likewise.
1209 * stdlib/tst-strtod.c (main): Likewise.
1210 * stdlib/tst-strtol.c (main): Likewise.
1211 * stdlib/tst-strtoll.c (main): Likewise.
1212 * string/bits/string2.h (__strcmp_cc): Likewise.
1213 (__strcmp_cg): Likewise.
1214 (__strcspn_c1): Likewise.
1215 (__strcspn_c2): Likewise.
1216 (__strcspn_c3): Likewise.
1217 (__strspn_c1): Likewise.
1218 (__strspn_c2): Likewise.
1219 (__strspn_c3): Likewise.
1220 (__strsep_1c): Likewise.
1221 (__strsep_2c): Likewise.
1222 (__strsep_3c): Likewise.
1223 * string/memccpy.c (__memccpy): Likewise.
1224 * string/stpcpy.c (__stpcpy): Likewise.
1225 * string/strcmp.c (strcmp): Likewise.
1226 * string/strrchr.c (strrchr): Likewise.
1227 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1228 Likewise.
1229 * sysdeps/mach/hurd/getcwd.c
1230 (_hurd_canonicalize_directory_name_internal): Likewise.
1231 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1232 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1234 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1235 Likewise, in both definitions.
1236 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1237 definitions.
1238 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1239 64] (__bswap_64): Likewise.
1240 * time/test_time.c (main): Likewise.
1241 * time/tzfile.c (__tzfile_read): Likewise.
1242 (__tzfile_compute): Likewise.
1243 * time/tzset.c (__tzset_parse_tz): Likewise.
1244 (tzset_internal): Likewise.
1245 (compute_change): Likewise.
1246 * wcsmbs/wcscat.c (__wcscat): Likewise.
1247 * wcsmbs/wcschr.c (wcschr): Likewise.
1248 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1249 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1250 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1251 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1252 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1253 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1254 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1255 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1256 * wcsmbs/wmemset.c (wmemset): Likewise.
1257
9e54314b
JM
12582013-06-06 Joseph Myers <joseph@codesourcery.com>
1259
1260 * scripts/config.guess: Update to version 2013-05-16.
1261 * scripts/config.sub: Update to version 2013-04-24.
1262 * scripts/install-sh: Update to version 2011-11-20.07.
1263 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1264 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1265
350635a5
OB
12662013-06-06 Ondřej Bílka <neleai@seznam.cz>
1267
1268 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1269 * elf/sln.c: Likewise.
1270 * hurd/hurd/ioctl.h: Likewise.
1271 * hurd/hurdmalloc.c: Likewise.
1272 * hurd/xattr.c: Likewise.
1273 * include/shlib-compat.h: Likewise.
1274 * inet/ruserpass.c: Likewise.
1275 * libio/iofgets_u.c: Likewise.
1276 * libio/iofgetws_u.c: Likewise.
1277 * locale/programs/ld-identification.c: Likewise.
1278 * locale/programs/ld-time.c: Likewise.
1279 * mach/msg-destroy.c: Likewise.
1280 * nss/nss_files/files-netgrp.c: Likewise.
1281 * resolv/res_data.c: Likewise.
1282 * soft-fp/op-1.h: Likewise.
1283 * soft-fp/op-2.h: Likewise.
1284 * soft-fp/op-4.h: Likewise.
1285 * soft-fp/op-common.h: Likewise.
1286 * stdio-common/printf_fphex.c: Likewise.
1287 * stdlib/strtod_l.c: Likewise.
1288 * sunrpc/rpc/clnt.h: Likewise.
1289 * sysdeps/generic/framestate.c: Likewise.
1290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1291 * sysdeps/i386/bsd-setjmp.S: Likewise.
1292 * sysdeps/i386/__longjmp.S: Likewise.
1293 * sysdeps/i386/setjmp.S: Likewise.
1294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1312 * sysdeps/ieee754/support.c: Likewise.
1313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1314 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1315 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1316 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1317 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1318 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1319 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1320 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1321 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1322 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1323 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1324 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1328 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1329 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1331
44a988af
OB
13322013-06-05 Ondřej Bílka <neleai@seznam.cz>
1333
25506f09 1334 * posix/transbug.c: Remove executable mode.
44a988af 1335
9c84384c
JM
13362013-06-05 Joseph Myers <joseph@codesourcery.com>
1337
1338 * crypt/speeds.c: Remove trailing whitespace.
1339 * dlfcn/default.c: Likewise.
1340 * elf/ifuncdep2.c: Likewise.
1341 * elf/ifuncmain1.c: Likewise.
1342 * elf/ifuncmain1vis.c: Likewise.
1343 * elf/testobj.h: Likewise.
1344 * elf/tst-stackguard1.c: Likewise.
1345 * gmon/sys/gmon.h: Likewise.
1346 * hurd/hurdmsg.c: Likewise.
1347 * hurd/new-fd.c: Likewise.
1348 * hurd/ports-get.c: Likewise.
1349 * iconvdata/ibm1008_420.c: Likewise.
1350 * inet/tst-getni1.c: Likewise.
1351 * inet/tst-getni2.c: Likewise.
1352 * libio/ioungetc.c: Likewise.
1353 * libio/wfiledoalloc.c: Likewise.
1354 * manual/libm-err-tab.pl: Likewise.
1355 * math/w_dremf.c: Likewise.
1356 * misc/ftruncate.c: Likewise.
1357 * posix/bug-glob2.c: Likewise.
1358 * posix/tst-pcre.c: Likewise.
1359 * posix/wait4.c: Likewise.
1360 * resolv/README: Likewise.
1361 * resolv/res_debug.h: Likewise.
1362 * resolv/tst-inet_ntop.c: Likewise.
1363 * setjmp/bug269-setjmp.c: Likewise.
1364 * soft-fp/extended.h: Likewise.
1365 * soft-fp/op-1.h: Likewise.
1366 * soft-fp/op-2.h: Likewise.
1367 * soft-fp/op-4.h: Likewise.
1368 * soft-fp/op-8.h: Likewise.
1369 * soft-fp/testit.c: Likewise.
1370 * stdio-common/bug16.c: Likewise.
1371 * stdlib/random.c: Likewise.
1372 * sunrpc/rpcsvc/rquota.x: Likewise.
1373 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1378 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1380 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1382 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1383 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1384 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1402 * sysdeps/ieee754/s_lib_version.c: Likewise.
1403 * sysdeps/mach/hurd/check_fds.c: Likewise.
1404 * sysdeps/mach/hurd/getsockname.c: Likewise.
1405 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1406 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1407 * sysdeps/powerpc/bits/link.h: Likewise.
1408 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1409 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1410 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1411 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1412 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1413 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1414 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1415 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1416 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1420 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1421 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1429 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1431 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1432 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1442 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1443 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1444 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1445 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1446 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1448 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1461 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1463 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1464 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1470 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1472 * sysdeps/powerpc/sysdep.h: Likewise.
1473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1474 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1475 * sysdeps/sh/dl-trampoline.S: Likewise.
1476 * sysdeps/sh/memset.S: Likewise.
1477 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1478 * sysdeps/sh/strlen.S: Likewise.
1479 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1480 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1481 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1482 * sysdeps/sparc/sparc32/rem.S: Likewise.
1483 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1484 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1485 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1486 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1487 * sysdeps/sparc/sparc32/urem.S: Likewise.
1488 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1489 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1490 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1491 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1493 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1494 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1495 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1496 * sysdeps/unix/bsd/times.c: Likewise.
1497 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1498 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1507 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1508 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1509 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1510 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1512 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1514 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1515 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1516 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1517 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1518 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1520 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1521 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1522 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1523 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1525 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1526 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1527 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1528 * sysdeps/x86_64/strcspn.S: Likewise.
1529
869378a5
RA
15302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1531
1532 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1533 generated file. Regenerate properly from gen-translit.pl.
1534 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1535 locale/C-translit.h.
1536
840e2943
AS
15372013-06-05 Andreas Schwab <schwab@suse.de>
1538
1539 [BZ #15100]
1540 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1541 week as 6 instead of -1.
1542 * time/tst-strptime.c (day_tests): Add test case.
1543
4c60cb0c
SP
15442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1545
1546 * sysdeps/generic/math_private.h
1547 (libc_feholdexcept_setround_53bit): Replace with
1548 libc_feholdsetround_53bit.
1549 (libc_feupdateenv_53bit): Replace with
1550 libc_feresetround_53bit.
1551 (SET_RESTORE_ROUND_53BIT): Adjust.
1552
d180203e
SP
15532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1554
96df079a
SP
1555 * string/test-strchrnul.c: Add copyright header.
1556
d180203e
SP
1557 * posix/tst-getaddrinfo4.c: Increase test timeout.
1558
8b0ccb2d
CD
15592013-06-03 Carlos O'Donell <carlos@redhat.com>
1560
1561 [BZ #15536]
1562 * math/libm-test.inc (MAX_EXP): Remove
1563 (MIN_EXP): Define.
1564 (ulp): Use MIN_EXP - MANT_DIG.
1565 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1566
3b3c4d40
CD
15672013-05-31 Carlos O'Donell <carlos@redhat.com>
1568
1569 * po/be.po: Revert last change.
1570 * po/zh_CN.po: Likewise.
1571 * po/header.pot: Likewise.
1572
fab7ce3f
JM
15732013-05-31 Joseph Myers <joseph@codesourcery.com>
1574
1575 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1576 link-libc-deps to empty as target-specific variable.
1577 * Makerules (link-libc-args): New variable.
1578 (libc-for-link): Likewise.
1579 (link-libc-deps): Likewise.
1580 (lib%.so): Depend on $(link-libc-deps). Link with
1581 $(link-libc-args).
1582 (build-module): Link with $(link-libc-args).
1583 (build-module-asneeded): Likewise.
1584 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1585 list of objects.
1586 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1587 target-specific variable.
1588 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1589 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1590 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1591 libc.
1592 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1593 libc and ld.so.
1594 ($(objpfx)libpcprofile.so): Likewise.
1595 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1596 libc_nonshared.a.
1597 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1598 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1599 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1600 $(link-libc-deps).
1601 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1602 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1603 * login/Makefile ($(objpfx)libutil.so): Likewise.
1604 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1605 * math/Makefile ($(objpfx)libm.so): Likewise.
1606 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1607 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1608 variable instead of depending directly on libc.
1609 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1610 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1611 $(link-libc-deps).
1612 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1613 libc.
1614 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1615 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1616 ($(objpfx)libanl.so): Likewise.
1617 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1618 ld.so.
1619 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1620 $(link-libc-deps).
1621 * sysdeps/i386/fpu/Makefile: Remove file.
1622 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1623 ($(objpfx)libm.so): Remove dependency on ld.so.
1624
eca5920c
PF
16252013-05-30 Patsy Franklin <pfrankli@redhat.com>
1626
1627 [BZ # 15553]
1628 * nis/yp_xdr.c (XDRMAXNAME): Define.
1629 (XDRMAXRECORD): Define.
1630 (xdr_domainname): Use XDRMAXNAME.
1631 (xdr_mapname): Likewise.
1632 (xdr_peername): Likewise.
1633 (xdr_keydat): Use XDRMAXRECORD.
1634 (xdr_valdat): Likewise.
1635
16362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1637
1638 [BZ #14256]
1639 * manual/errno.texi (ESTALE): Update to account for more than
1640 just NFS file systems.
1641 * sysdeps/gnu/errlist.c: Regenerated.
1642
b9375348
SP
16432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1644
1645 [BZ #15465]
1646 * elf/Makefile (tests): Add tst-null-argv.
1647 (modules-names): Add tst-null-argv-lib.
1648 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1649 (tst-null-argv-ENV): Set environment for tst-null-argv.
1650 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1651 (RTLD_PROGNAME): New macro.
1652 * elf/tst-null-argv.c: New test case.
1653 * elf/tst-null-argv-lib.c: Library for test case.
1654 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1655 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1656 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1657 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1658 * elf/dl-init.c (call_init): Likewise.
1659 (_dl_init): Likewise.
1660 * elf/dl-load.c (print_search_path): Likewise.
1661 (_dl_map_object): Likewise.
1662 * elf/dl-lookup.c (do_lookup_x): Likewise.
1663 (add_dependency): Likewise.
1664 (_dl_lookup_symbol_x): Likewise.
1665 (_dl_debug_bindings): Likewise.
1666 * elf/dl-open.c (_dl_show_scope): Likewise.
1667 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1668 * elf/dl-version.c (match_symbol): Likewise.
1669 (_dl_check_map_versions): Likewise.
1670 * elf/rtld.c (dl_main): Likewise.
1671 (print_unresolved): Use RTLD_PROGNAME.
1672 (print_missing_version): Likewise.
1673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1674 (elf_machine_rela): Likewise.
1675 * sysdeps/powerpc/powerpc32/dl-machine.c
1676 (__process_machine_rela): Likewise.
1677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1678 Likewise.
1679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1680 Likewise.
1681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1682 Likewise.
1683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1685 Likewise.
1686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1687 Likewise.
1688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1689
8a9f20c8
CD
16902013-05-28 Carlos O'Donell <carlos@redhat.com>
1691
1692 * po/be.po: Add descriptive title.
1693 * po/zh_CN.po: Likewise.
1694 * po/header.pot: Likewise.
1695
0e60d68e
MF
16962013-05-28 Mike Frysinger <vapier@gentoo.org>
1697
1698 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1699 error message.
1700 (enlarge_archive): Likewise.
1701
56b672e9
BN
17022013-05-28 Ben North <ben@redfrontdoor.org>
1703
1704 * manual/arith.texi (frexp): It is the magnitude of the return
1705 value which lies in [0.5, 1), not the return value itself.
1706
5e056687
AZ
17072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1710
2b66ef5d
TS
17112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1712
528c2405
TS
1713 * stdio-common/bug26.c (main): Correct fscanf template.
1714
07b4c13d
TS
1715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1716 declare _dl_skip_args.
1717
ec9dd97c
TS
1718 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1719 Don't declare.
1720
2b66ef5d
TS
1721 * manual/platform.texi: Add missing @end deftypefun.
1722
4f8dfe27
JM
17232013-05-24 Joseph Myers <joseph@codesourcery.com>
1724
0323d086
JM
1725 [BZ #15529]
1726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1727 bit of mantissa of 2^16382.
1728 * math/libm-test.inc (hypot_test_data): Add more tests.
1729
dd4259b9
JM
1730 * math/libm-test.inc: Add drem and pow10 to list of tested
1731 functions.
1732 (pow10_test): New function.
1733 (drem_test): Likewise.
1734 (drem_test_tonearest): Likewise.
1735 (drem_test_towardzero): Likewise.
1736 (drem_test_downward): Likewise.
1737 (drem_test_upward): Likewise.
1738 (main): Call the new functions.
1739
4f8dfe27
JM
1740 * math/libm-test.inc (finite_test_data): Remove.
1741 (finite_test): Run tests from isfinite_test_data.
1742 (gamma_test_data): Remove.
1743 (gamma_test): Run tests from lgamma_test_data.
1744 * sysdeps/i386/fpu/libm-test-ulps: Update.
1745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1746
d116b7c4
AZ
17472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748
1749 * manual/platform.texi: Add PowerPC PPR function set documentation.
1750 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1751 implementation.
1752
e96e3767
CD
17532013-05-24 Carlos O'Donell <carlos@redhat.com>
1754
1755 * math/libm-test.inc (MAX_EXP): Define.
1756 (ULPDIFF): Define.
1757 (ulp): New function.
1758 (check_float_internal): Use ULPDIFF.
1759 (cpow_test): Disable failing test.
1760 (check_ulp): Test ulp() implemetnation.
1761 (main): Call check_ulp before starting tests.
1762
b679a606
JM
17632013-05-24 Joseph Myers <joseph@codesourcery.com>
1764
e8bdba36
JM
1765 * math/gen-libm-test.pl (generate_testfile): Do not handle
1766 START_DATA and END_DATA.
1767 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1768 END_DATA.
1769 (acos_tonearest_test_data): Likewise.
1770 (acos_towardzero_test_data): Likewise.
1771 (acos_downward_test_data): Likewise.
1772 (acos_upward_test_data): Likewise.
1773 (acosh_test_data): Likewise.
1774 (asin_test_data): Likewise.
1775 (asin_tonearest_test_data): Likewise.
1776 (asin_towardzero_test_data): Likewise.
1777 (asin_downward_test_data): Likewise.
1778 (asin_upward_test_data): Likewise.
1779 (asinh_test_data): Likewise.
1780 (atan_test_data): Likewise.
1781 (atanh_test_data): Likewise.
1782 (atan2_test_data): Likewise.
1783 (cabs_test_data): Likewise.
1784 (cacos_test_data): Likewise.
1785 (cacosh_test_data): Likewise.
1786 (carg_test_data): Likewise.
1787 (casin_test_data): Likewise.
1788 (casinh_test_data): Likewise.
1789 (catan_test_data): Likewise.
1790 (catanh_test_data): Likewise.
1791 (cbrt_test_data): Likewise.
1792 (ccos_test_data): Likewise.
1793 (ccosh_test_data): Likewise.
1794 (ceil_test_data): Likewise.
1795 (cexp_test_data): Likewise.
1796 (cimag_test_data): Likewise.
1797 (clog_test_data): Likewise.
1798 (clog10_test_data): Likewise.
1799 (conj_test_data): Likewise.
1800 (copysign_test_data): Likewise.
1801 (cos_test_data): Likewise.
1802 (cos_tonearest_test_data): Likewise.
1803 (cos_towardzero_test_data): Likewise.
1804 (cos_downward_test_data): Likewise.
1805 (cos_upward_test_data): Likewise.
1806 (cosh_test_data): Likewise.
1807 (cosh_tonearest_test_data): Likewise.
1808 (cosh_towardzero_test_data): Likewise.
1809 (cosh_downward_test_data): Likewise.
1810 (cosh_upward_test_data): Likewise.
1811 (cpow_test_data): Likewise.
1812 (cproj_test_data): Likewise.
1813 (creal_test_data): Likewise.
1814 (csin_test_data): Likewise.
1815 (csinh_test_data): Likewise.
1816 (csqrt_test_data): Likewise.
1817 (ctan_test_data): Likewise.
1818 (ctan_tonearest_test_data): Likewise.
1819 (ctan_towardzero_test_data): Likewise.
1820 (ctan_downward_test_data): Likewise.
1821 (ctan_upward_test_data): Likewise.
1822 (ctanh_test_data): Likewise.
1823 (ctanh_tonearest_test_data): Likewise.
1824 (ctanh_towardzero_test_data): Likewise.
1825 (ctanh_downward_test_data): Likewise.
1826 (ctanh_upward_test_data): Likewise.
1827 (erf_test_data): Likewise.
1828 (erfc_test_data): Likewise.
1829 (exp_test_data): Likewise.
1830 (exp_tonearest_test_data): Likewise.
1831 (exp_towardzero_test_data): Likewise.
1832 (exp_downward_test_data): Likewise.
1833 (exp_upward_test_data): Likewise.
1834 (exp10_test_data): Likewise.
1835 (exp2_test_data): Likewise.
1836 (expm1_test_data): Likewise.
1837 (fabs_test_data): Likewise.
1838 (fdim_test_data): Likewise.
1839 (finite_test_data): Likewise.
1840 (floor_test_data): Likewise.
1841 (fma_test_data): Likewise.
1842 (fma_towardzero_test_data): Likewise.
1843 (fma_downward_test_data): Likewise.
1844 (fma_upward_test_data): Likewise.
1845 (fmax_test_data): Likewise.
1846 (fmin_test_data): Likewise.
1847 (fmod_test_data): Likewise.
1848 (fpclassify_test_data): Likewise.
1849 (frexp_test_data): Likewise.
1850 (gamma_test_data): Likewise.
1851 (hypot_test_data): Likewise.
1852 (ilogb_test_data): Likewise.
1853 (isfinite_test_data): Likewise.
1854 (isgreater_test_data): Likewise.
1855 (isgreaterequal_test_data): Likewise.
1856 (isinf_test_data): Likewise.
1857 (isless_test_data): Likewise.
1858 (islessequal_test_data): Likewise.
1859 (islessgreater_test_data): Likewise.
1860 (isnan_test_data): Likewise.
1861 (isnormal_test_data): Likewise.
1862 (issignaling_test_data): Likewise.
1863 (isunordered_test_data): Likewise.
1864 (j0_test_data): Likewise.
1865 (j1_test_data): Likewise.
1866 (jn_test_data): Likewise.
1867 (ldexp_test_data): Likewise.
1868 (lgamma_test_data): Likewise.
1869 (lrint_test_data): Likewise.
1870 (lrint_tonearest_test_data): Likewise.
1871 (lrint_towardzero_test_data): Likewise.
1872 (lrint_downward_test_data): Likewise.
1873 (lrint_upward_test_data): Likewise.
1874 (llrint_test_data): Likewise.
1875 (llrint_tonearest_test_data): Likewise.
1876 (llrint_towardzero_test_data): Likewise.
1877 (llrint_downward_test_data): Likewise.
1878 (llrint_upward_test_data): Likewise.
1879 (log_test_data): Likewise.
1880 (log10_test_data): Likewise.
1881 (log1p_test_data): Likewise.
1882 (log2_test_data): Likewise.
1883 (logb_test_data): Likewise.
1884 (logb_downward_test_data): Likewise.
1885 (lround_test_data): Likewise.
1886 (llround_test_data): Likewise.
1887 (modf_test_data): Likewise.
1888 (nearbyint_test_data): Likewise.
1889 (nextafter_test_data): Likewise.
1890 (nexttoward_test_data): Likewise.
1891 (pow_test_data): Likewise.
1892 (pow_tonearest_test_data): Likewise.
1893 (pow_towardzero_test_data): Likewise.
1894 (pow_downward_test_data): Likewise.
1895 (pow_upward_test_data): Likewise.
1896 (remainder_test_data): Likewise.
1897 (remainder_tonearest_test_data): Likewise.
1898 (remainder_towardzero_test_data): Likewise.
1899 (remainder_downward_test_data): Likewise.
1900 (remainder_upward_test_data): Likewise.
1901 (remquo_test_data): Likewise.
1902 (rint_test_data): Likewise.
1903 (rint_tonearest_test_data): Likewise.
1904 (rint_towardzero_test_data): Likewise.
1905 (rint_downward_test_data): Likewise.
1906 (rint_upward_test_data): Likewise.
1907 (round_test_data): Likewise.
1908 (scalb_test_data): Likewise.
1909 (scalbn_test_data): Likewise.
1910 (scalbln_test_data): Likewise.
1911 (signbit_test_data): Likewise.
1912 (sin_test_data): Likewise.
1913 (sin_tonearest_test_data): Likewise.
1914 (sin_towardzero_test_data): Likewise.
1915 (sin_downward_test_data): Likewise.
1916 (sin_upward_test_data): Likewise.
1917 (sincos_test_data): Likewise.
1918 (sinh_test_data): Likewise.
1919 (sinh_tonearest_test_data): Likewise.
1920 (sinh_towardzero_test_data): Likewise.
1921 (sinh_downward_test_data): Likewise.
1922 (sinh_upward_test_data): Likewise.
1923 (sqrt_test_data): Likewise.
1924 (tan_test_data): Likewise.
1925 (tan_tonearest_test_data): Likewise.
1926 (tan_towardzero_test_data): Likewise.
1927 (tan_downward_test_data): Likewise.
1928 (tan_upward_test_data): Likewise.
1929 (tanh_test_data): Likewise.
1930 (tgamma_test_data): Likewise.
1931 (trunc_test_data): Likewise.
1932 (y0_test_data): Likewise.
1933 (y1_test_data): Likewise.
1934 (yn_test_data): Likewise.
1935 (significand_test_data): Likewise.
1936
b679a606
JM
1937 * math/gen-libm-test.pl (@functions): Remove variable.
1938 (generate_testfile): Don't handle START and END lines.
1939 * math/libm-test.inc (START): New macro.
1940 (END): Likewise.
1941 (END_COMPLEX): Likewise.
1942 (acos_test): Use END macro without arguments.
1943 (acos_test_tonearest): Likewise.
1944 (acos_test_towardzero): Likewise.
1945 (acos_test_downward): Likewise.
1946 (acos_test_upward): Likewise.
1947 (acosh_test): Likewise.
1948 (asin_test): Likewise.
1949 (asin_test_tonearest): Likewise.
1950 (asin_test_towardzero): Likewise.
1951 (asin_test_downward): Likewise.
1952 (asin_test_upward): Likewise.
1953 (asinh_test): Likewise.
1954 (atan_test): Likewise.
1955 (atanh_test): Likewise.
1956 (atan2_test): Likewise.
1957 (cabs_test): Likewise.
1958 (cacos_test): Use END_COMPLEX macro without arguments.
1959 (cacosh_test): Likewise.
1960 (carg_test): Use END macro without arguments.
1961 (casin_test): Use END_COMPLEX macro without arguments.
1962 (casinh_test): Likewise.
1963 (catan_test): Likewise.
1964 (catanh_test): Likewise.
1965 (cbrt_test): Use END macro without arguments.
1966 (ccos_test): Use END_COMPLEX macro without arguments.
1967 (ccosh_test): Likewise.
1968 (ceil_test): Use END macro without arguments.
1969 (cexp_test): Use END_COMPLEX macro without arguments.
1970 (cimag_test): Use END macro without arguments.
1971 (clog_test): Use END_COMPLEX macro without arguments.
1972 (clog10_test): Likewise.
1973 (conj_test): Likewise.
1974 (copysign_test): Use END macro without arguments.
1975 (cos_test): Likewise.
1976 (cos_test_tonearest): Likewise.
1977 (cos_test_towardzero): Likewise.
1978 (cos_test_downward): Likewise.
1979 (cos_test_upward): Likewise.
1980 (cosh_test): Likewise.
1981 (cosh_test_tonearest): Likewise.
1982 (cosh_test_towardzero): Likewise.
1983 (cosh_test_downward): Likewise.
1984 (cosh_test_upward): Likewise.
1985 (cpow_test): Use END_COMPLEX macro without arguments.
1986 (cproj_test): Likewise.
1987 (creal_test): Use END macro without arguments.
1988 (csin_test): Use END_COMPLEX macro without arguments.
1989 (csinh_test): Likewise.
1990 (csqrt_test): Likewise.
1991 (ctan_test): Likewise.
1992 (ctan_test_tonearest): Likewise.
1993 (ctan_test_towardzero): Likewise.
1994 (ctan_test_downward): Likewise.
1995 (ctan_test_upward): Likewise.
1996 (ctanh_test): Likewise.
1997 (ctanh_test_tonearest): Likewise.
1998 (ctanh_test_towardzero): Likewise.
1999 (ctanh_test_downward): Likewise.
2000 (ctanh_test_upward): Likewise.
2001 (erf_test): Use END macro without arguments.
2002 (erfc_test): Likewise.
2003 (exp_test): Likewise.
2004 (exp_test_tonearest): Likewise.
2005 (exp_test_towardzero): Likewise.
2006 (exp_test_downward): Likewise.
2007 (exp_test_upward): Likewise.
2008 (exp10_test): Likewise.
2009 (exp2_test): Likewise.
2010 (expm1_test): Likewise.
2011 (fabs_test): Likewise.
2012 (fdim_test): Likewise.
2013 (finite_test): Likewise.
2014 (floor_test): Likewise.
2015 (fma_test): Likewise.
2016 (fma_test_towardzero): Likewise.
2017 (fma_test_downward): Likewise.
2018 (fma_test_upward): Likewise.
2019 (fmax_test): Likewise.
2020 (fmin_test): Likewise.
2021 (fmod_test): Likewise.
2022 (fpclassify_test): Likewise.
2023 (frexp_test): Likewise.
2024 (gamma_test): Likewise.
2025 (hypot_test): Likewise.
2026 (ilogb_test): Likewise.
2027 (isfinite_test): Likewise.
2028 (isgreater_test): Likewise.
2029 (isgreaterequal_test): Likewise.
2030 (isinf_test): Likewise.
2031 (isless_test): Likewise.
2032 (islessequal_test): Likewise.
2033 (islessgreater_test): Likewise.
2034 (isnan_test): Likewise.
2035 (isnormal_test): Likewise.
2036 (issignaling_test): Likewise.
2037 (isunordered_test): Likewise.
2038 (j0_test): Likewise.
2039 (j1_test): Likewise.
2040 (jn_test): Likewise.
2041 (ldexp_test): Likewise.
2042 (lgamma_test): Likewise.
2043 (lrint_test): Likewise.
2044 (lrint_test_tonearest): Likewise.
2045 (lrint_test_towardzero): Likewise.
2046 (lrint_test_downward): Likewise.
2047 (lrint_test_upward): Likewise.
2048 (llrint_test): Likewise.
2049 (llrint_test_tonearest): Likewise.
2050 (llrint_test_towardzero): Likewise.
2051 (llrint_test_downward): Likewise.
2052 (llrint_test_upward): Likewise.
2053 (log_test): Likewise.
2054 (log10_test): Likewise.
2055 (log1p_test): Likewise.
2056 (log2_test): Likewise.
2057 (logb_test): Likewise.
2058 (logb_test_downward): Likewise.
2059 (lround_test): Likewise.
2060 (llround_test): Likewise.
2061 (modf_test): Likewise.
2062 (nearbyint_test): Likewise.
2063 (nextafter_test): Likewise.
2064 (nexttoward_test): Likewise.
2065 (pow_test): Likewise.
2066 (pow_test_tonearest): Likewise.
2067 (pow_test_towardzero): Likewise.
2068 (pow_test_downward): Likewise.
2069 (pow_test_upward): Likewise.
2070 (remainder_test): Likewise.
2071 (remainder_test_tonearest): Likewise.
2072 (remainder_test_towardzero): Likewise.
2073 (remainder_test_downward): Likewise.
2074 (remainder_test_upward): Likewise.
2075 (remquo_test): Likewise.
2076 (rint_test): Likewise.
2077 (rint_test_tonearest): Likewise.
2078 (rint_test_towardzero): Likewise.
2079 (rint_test_downward): Likewise.
2080 (rint_test_upward): Likewise.
2081 (round_test): Likewise.
2082 (scalb_test): Likewise.
2083 (scalbn_test): Likewise.
2084 (scalbln_test): Likewise.
2085 (signbit_test): Likewise.
2086 (sin_test): Likewise.
2087 (sin_test_tonearest): Likewise.
2088 (sin_test_towardzero): Likewise.
2089 (sin_test_downward): Likewise.
2090 (sin_test_upward): Likewise.
2091 (sincos_test): Likewise.
2092 (sinh_test): Likewise.
2093 (sinh_test_tonearest): Likewise.
2094 (sinh_test_towardzero): Likewise.
2095 (sinh_test_downward): Likewise.
2096 (sinh_test_upward): Likewise.
2097 (sqrt_test): Likewise.
2098 (tan_test): Likewise.
2099 (tan_test_tonearest): Likewise.
2100 (tan_test_towardzero): Likewise.
2101 (tan_test_downward): Likewise.
2102 (tan_test_upward): Likewise.
2103 (tanh_test): Likewise.
2104 (tgamma_test): Likewise.
2105 (trunc_test): Likewise.
2106 (y0_test): Likewise.
2107 (y1_test): Likewise.
2108 (yn_test): Likewise.
2109 (significand_test): Likewise.
2110
bae143d2
OB
21112013-05-24 Ondřej Bílka <neleai@seznam.cz>
2112
2113 [BZ #15381]
2114 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2115
9323d39b
EM
21162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2117
d4ea44a0 2118 [BZ #14894]
9323d39b
EM
2119 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2120 __ppc_mdoio and __ppc_mdoom.
2121 * manual/platform.texi: Document new functions __ppc_yield,
2122 __ppc_mdoio and __ppc_mdoom.
2123
13e23af7
CD
21242013-05-22 Carlos O'Donell <carlos@redhat.com>
2125
2126 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2127 (main): Mention "tls" pseudo-hwcap is legacy.
2128 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2129
351fe550
JM
21302013-05-22 Joseph Myers <joseph@codesourcery.com>
2131
2132 * math/gen-libm-test.pl (parse_args): Output only string of
2133 arguments as text for test name, not full call or descriptions of
2134 tests for extra outputs.
2135 (generate_testfile): Do not pass function name to parse_args.
2136 Generate this_func variable from START.
2137 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2138 field to arg_str.
2139 (struct test_ff_f_data): Likewise.
2140 (test_ff_f_data_nexttoward): Likewise.
2141 (struct test_fi_f_data): Likewise.
2142 (struct test_fl_f_data): Likewise.
2143 (struct test_if_f_data): Likewise.
2144 (struct test_fff_f_data): Likewise.
2145 (struct test_c_f_data): Likewise.
2146 (struct test_f_f1_data): Likewise. Remove field extra_name.
2147 (struct test_fF_f1_data): Likewise.
2148 (struct test_ffI_f1_data): Likewise.
2149 (struct test_c_c_data): Rename test_name field to arg_str.
2150 (struct test_cc_c_data): Likewise.
2151 (struct test_f_i_data): Likewise.
2152 (struct test_ff_i_data): Likewise.
2153 (struct test_f_l_data): Likewise.
2154 (struct test_f_L_data): Likewise.
2155 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2156 and extra2_name.
2157 (COMMON_TEST_SETUP): New macro.
2158 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2159 (COMMON_TEST_CLEANUP): Likewise.
2160 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2161 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2162 macros.
2163 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2164 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2165 macros.
2166 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2167 (RUN_TEST_fff_f): Take argument string. Call new setup and
2168 cleanup macros.
2169 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2170 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2171 macros.
2172 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2173 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2174 macros.
2175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2176 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2177 cleanup macros.
2178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2179 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2180 cleanup macros.
2181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2182 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2183 cleanup macros.
2184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2185 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2186 macros.
2187 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2188 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2189 macros.
2190 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2191 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2192 macros.
2193 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2194 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2195 cleanup macros.
2196 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2197 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2198 cleanup macros.
2199 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2200 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2201 macros.
2202 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2203 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2204 cleanup macros.
2205 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2206 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2207 macros.
2208 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2209 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2210 macros.
2211 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2212 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2213 cleanup macros.
2214 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2215
85118d4d
EBM
22162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2217
2218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2219 to _sifields.sigfault.
2220 (si_addr_lsb): Define new macro.
2221 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2223 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2224
7a44c18f
CD
22252013-05-03 Carlos O'Donell <carlos at redhat.com>
2226
2227 [BZ #15441]
2228 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2229 returns -1.
2230 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2231 null return -1.
2232 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2233 loading the domain.
2234
b50a7181
JM
22352013-05-22 Joseph Myers <joseph@codesourcery.com>
2236
2237 * math/gen-libm-test.pl (parse_args): Do not include expected
2238 result in test name.
2239 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2241 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2242 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2245
051063c8
SP
22462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2247
3ce9e010
SP
2248 * benchtests/Makefile: Sort function entries.
2249
051063c8
SP
2250 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2251 tanh, asinh, acosh, atanh.
2252 * benchtests/acos-inputs: New file.
2253 * benchtests/acosh-inputs: New file.
2254 * benchtests/asin-inputs: New file.
2255 * benchtests/asinh-inputs: New file.
2256 * benchtests/atanh-inputs: New file.
2257 * benchtests/cosh-inputs: New file.
2258 * benchtests/log-inputs: New file.
2259 * benchtests/sinh-inputs: New file.
2260 * benchtests/tanh-inputs: New file.
2261
47c22455
DL
22622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2263
2264 [BZ #15339]
2265 * posix/tst-getaddrinfo4.c: New test.
2266 * posix/Makefile (tests): Add it.
2267
3d04f5db
SP
22682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2269
2270 [BZ #15339]
2271 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2272 when no services were used.
2273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2274 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2275
d5dd6189
AS
22762013-05-21 Andreas Schwab <schwab@suse.de>
2277
2278 [BZ #15014]
2279 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2280 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2281 successful.
2282 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2283 redundant variable declarations and reallocation of buffer when
2284 parsing as IPv6 address. Always set NSS status when called from
2285 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2286 buffer too small. Correct computation of needed size.
2287 * nss/Makefile (tests): Add test-digits-dots.
2288 * nss/test-digits-dots.c: New test.
2289
fef94eab
SP
22902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2291
2292 * benchtests/Makefile: Remove instructions for adding
2293 benchmark tests.
2294 * benchtests/README: New file to explain how to execute and
2295 enhance the benchmark tests.
2296
e39adf43
AS
22972013-05-21 Andreas Schwab <schwab@suse.de>
2298
2299 [BZ #15493]
2300 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2301 * setjmp/tst-sigsetjmp.c: New test.
2302
b2b671b6
OB
23032013-05-20 Ondřej Bílka <neleai@seznam.cz>
2304
2305 * sysdeps/x86_64/memset.S (memset): New implementation.
2306 (__bzero): Likewise.
2307 (__memset_tail): New function.
2308
2d48b41c
OB
23092013-05-20 Ondřej Bílka <neleai@seznam.cz>
2310
2311 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2312 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2313 __memcpy_sse2_unaligned ifunc selection.
2314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2315 Add memcpy-sse2-unaligned.S.
2316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2317 Add: __memcpy_sse2_unaligned.
2318
f16cc3eb
JM
23192013-05-19 Joseph Myers <joseph@codesourcery.com>
2320
3e694268
JM
2321 [BZ #15490]
2322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2323 math_force_eval before restoring floating-point envrionment.
2324 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2326 Likewise.
2327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2328 <math_private.h>.
2329 (__nearbyintl): Use math_force_eval before restoring
2330 floating-point environment.
2331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2332
db62a907
JM
2333 * math/gen-libm-test.pl (special_functions): Remove.
2334 (parse_args): Don't handle TEST_extra. Handle functions with no
2335 return value.
2336 * math/libm-test.inc (struct test_sincos_data): Replace with
2337 struct test_fFF_11_data.
2338 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2339 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2340 (sincos_test_data): Change element type to struct
2341 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2342 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2343 RUN_TEST_LOOP_sincos.
2344 * math/README.libm-test: Don't mention special handling of
2345 individual functions.
2346 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2352
f16cc3eb
JM
2353 * math/gen-libm-test.pl (get_variable): Remove function.
2354 (parse_args): Don't show pointer parameters to call in test
2355 names. Use "extra output N" in test names for extra outputs
2356 rather than naming variables.
2357
3779b5b6
JM
23582013-05-18 Joseph Myers <joseph@codesourcery.com>
2359
2ee094ff
JM
2360 [BZ #15488]
2361 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2362 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2363 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2364 double tests.
2365 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2366 disable.
2367 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2368 check_long_double.
2369
3779b5b6
JM
2370 * math/gen-libm-test.pl (@tests): Remove variable.
2371 ($count): Likewise.
2372 (new_test): Remove function.
2373 (show_exceptions): New function.
2374 (special_functions): Use show_exceptions instead of new_test.
2375 (parse_args): Likewise.
2376 (generate_testfile): Pass only function name in generated call to
2377 print_max_error or print_complex_max_error.
2378 (get_ulps): Do not handle complex tests specially.
2379 (output_test): Rename to ...
2380 (get_all_ulps_for_test): ... this. Return a string rather than
2381 printing to a file. Require ulps to be present.
2382 (output_ulps): Generate arrays rather than #defines.
2383 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2384 (struct ulp_data): New type.
2385 (BUILD_COMPLEX_ULP): Remove macro.
2386 (compare_ulp_data): New function.
2387 (find_ulps): Likewise.
2388 (find_test_ulps): Likewise.
2389 (find_function_ulps): Likewise.
2390 (find_complex_function_ulps): Likewise.
2391 (print_max_error): Determine allowed ulps using
2392 find_function_ulps.
2393 (print_complex_max_error): Determine allowed ulps using
2394 find_complex_function_ulps.
2395 (check_float_internal): Determine max ulps using find_test_ulps.
2396 (check_float): Do not take max_ulp parameter. Update call to
2397 check_float_internal.
2398 (check_complex): Likewise.
2399 (check_int): Do not take max_ulp parameter.
2400 (check_long): Likewise.
2401 (check_bool): Likewise.
2402 (check_longlong): Likewise.
2403 (struct test_f_f_data): Remove max_ulp field.
2404 (struct test_ff_f_data): Likewise.
2405 (struct test_ff_f_data_nexttoward): Likewise.
2406 (struct test_fi_f_data): Likewise.
2407 (struct test_fl_f_data): Likewise.
2408 (struct test_if_f_data): Likewise.
2409 (struct test_fff_f_data): Likewise.
2410 (struct test_c_f_data): Likewise.
2411 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2412 (struct test_fF_f1_data): Likewise.
2413 (struct test_ffI_f1_data): Likewise.
2414 (struct test_c_c_data): Remove max_ulp field.
2415 (struct test_cc_c_data): Likewise.
2416 (struct test_f_i_data): Likewise.
2417 (struct test_ff_i_data): Likewise.
2418 (struct test_f_l_data): Likewise.
2419 (struct test_f_L_data): Likewise.
2420 (struct test_sincos_data): Likewise.
2421 (RUN_TEST_f_f): Do not handle ulps.
2422 (RUN_TEST_LOOP_f_f): Likewise.
2423 (RUN_TEST_2_f): Likewise.
2424 (RUN_TEST_LOOP_2_f): Likewise.
2425 (RUN_TEST_fff_f): Likewise.
2426 (RUN_TEST_LOOP_fff_f): Likewise.
2427 (RUN_TEST_c_f): Likewise.
2428 (RUN_TEST_LOOP_c_f): Likewise.
2429 (RUN_TEST_f_f1): Likewise.
2430 (RUN_TEST_LOOP_f_f1): Likewise.
2431 (RUN_TEST_fF_f1): Likewise.
2432 (RUN_TEST_LOOP_fF_f1): Likewise.
2433 (RUN_TEST_fI_f1): Likewise.
2434 (RUN_TEST_LOOP_fI_f1): Likewise.
2435 (RUN_TEST_ffI_f1): Likewise.
2436 (RUN_TEST_LOOP_ffI_f1): Likewise.
2437 (RUN_TEST_c_c): Likewise.
2438 (RUN_TEST_LOOP_c_c): Likewise.
2439 (RUN_TEST_cc_c): Likewise.
2440 (RUN_TEST_LOOP_cc_c): Likewise.
2441 (RUN_TEST_f_i): Likewise.
2442 (RUN_TEST_LOOP_f_i): Likewise.
2443 (RUN_TEST_f_i_tg): Likewise.
2444 (RUN_TEST_LOOP_f_i_tg): Likewise.
2445 (RUN_TEST_ff_i_tg): Likewise.
2446 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2447 (RUN_TEST_f_b): Likewise.
2448 (RUN_TEST_LOOP_f_b): Likewise.
2449 (RUN_TEST_f_b_tg): Likewise.
2450 (RUN_TEST_LOOP_f_b_tg): Likewise.
2451 (RUN_TEST_f_l): Likewise.
2452 (RUN_TEST_LOOP_f_l): Likewise.
2453 (RUN_TEST_f_L): Likewise.
2454 (RUN_TEST_LOOP_f_L): Likewise.
2455 (RUN_TEST_sincos): Likewise.
2456 (RUN_TEST_LOOP_sincos): Likewise.
2457
8269107f
JM
24582013-05-17 Joseph Myers <joseph@codesourcery.com>
2459
bb38759d
JM
2460 [BZ #15480]
2461 [BZ #15485]
2462 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2463 main case of finite arguments, set rounding mode to FE_TONEAREST
2464 and discard exceptions.
2465 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2466 exceptions.
2467 (remainder_tonearest_test_data): New variable.
2468 (remainder_test_tonearest): New function.
2469 (remainder_towardzero_test_data): New variable.
2470 (remainder_test_towardzero): New function.
2471 (remainder_downward_test_data): New variable.
2472 (remainder_test_downward): New function.
2473 (remainder_upward_test_data): New variable.
2474 (remainder_test_upward): New function.
2475 (main): Call the new test functions.
2476
a00bdcf0
JM
2477 * math/libm-test.inc (struct test_f_f1_data): Remove field
2478 extra_init.
2479 (struct test_fF_f1_data): Likewise.
2480 (struct test_ffI_f1_data): Likewise.
2481 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2482 based on value of EXTRA_EXPECTED.
2483 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2484 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2485 EXTRA_VAR based on value of EXTRA_EXPECTED.
2486 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2487 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2488 EXTRA_VAR based on value of EXTRA_EXPECTED.
2489 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2490 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2491 EXTRA_VAR based on value of EXTRA_EXPECTED.
2492 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2493 * math/gen-libm-test.pl (parse_args): Don't output initializers
2494 for extra output values.
2495
de407f79
JM
2496 * math/libm-test.inc (check_int): Expect result to be exactly
2497 equal to expected value and do not handle ulps.
2498 (check_long): Likewise.
2499 (check_longlong): Likewise.
2500
8269107f
JM
2501 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2502 exceptions.
2503 (cimag_test_data): Likewise.
2504 (conj_test_data): Likewise.
2505 (copysign_test_data): Likewise.
2506 (cproj_test_data): Likewise.
2507 (creal_test_data): Likewise.
2508 (fabs_test_data): Likewise.
2509 (fdim_test_data): Likewise.
2510 (finite_test_data): Likewise.
2511 (floor_test_data): Likewise.
2512 (fmax_test_data): Likewise.
2513 (fmin_test_data): Likewise.
2514 (fmod_test_data): Likewise.
2515 (fpclassify_test_data): Likewise.
2516 (frexp_test_data): Likewise.
2517 (ilogb_test_data): Likewise.
2518 (isfinite_test_data): Likewise.
2519 (isgreater_test_data): Likewise.
2520 (isgreaterequal_test_data): Likewise.
2521 (isinf_test_data): Likewise.
2522 (isless_test_data): Likewise.
2523 (islessequal_test_data): Likewise.
2524 (islessgreater_test_data): Likewise.
2525 (isnan_test_data): Likewise.
2526 (isnormal_test_data): Likewise.
2527 (issignaling_test_data): Likewise.
2528 (isunordered_test_data): Likewise.
2529 (ldexp_test_data): Likewise.
2530 (lrint_test_data): Likewise.
2531 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2532 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2533 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2534 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2535 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2536 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2537 test input.
2538 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2539 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2540 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2541 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2542 that test input.
2543 (lrint_downward_test_data): Test for "inexact" exceptions.
2544 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2545 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2546 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2547 test input.
2548 (lrint_upward_test_data): Test for "inexact" exceptions.
2549 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2550 test input.
2551 (llrint_test_data): Test for "inexact" exceptions.
2552 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2553 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2554 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2555 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2556 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2557 (llrint_downward_test_data): Test for "inexact" exceptions.
2558 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2559 (llrint_upward_test_data): Test for "inexact" exceptions.
2560 (logb_test_data): Likewise.
2561 (logb_downward_test_data): Likewise.
2562 (nextafter_test_data): Likewise.
2563 (nexttoward_test_data): Likewise.
2564 (remainder_test_data): Likewise.
2565 (remquo_test_data): Likewise.
2566 (scalbn_test_data): Likewise.
2567 (scalbln_test_data): Likewise.
2568 (signbit_test_data): Likewise.
2569 (sqrt_test_data): Likewise.
2570 (significand_test_data): Likewise.
2571
48a18de1
SP
25722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2573
2574 [BZ #15424]
2575 * benchtests/bench-modf.c (struct args): Mark arg0 as
2576 volatile.
2577 * scripts/bench.pl: Mark members of struct args as volatile.
2578
13d3b41a
AZ
25792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
68191c1d 2581 [BZ # 15497]
13d3b41a
AZ
2582 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2583 negative infinity on POWER6 or lower.
2584 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2585
2848b105
MR
25862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2587
2588 [BZ #15442]
2589 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2590 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2591 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2592 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2593 (_FP_SETQNAN): New macro.
2594 (_FP_SETQNAN_SEMIRAW): Likewise.
2595 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2596 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2597 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2598 (FP_EXTEND): Use _FP_FRAC_SNANP.
2599 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2600 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2601 into account.
2602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2603 New macro.
2604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2605 Likewise.
2606
323e5cb7
JM
26072013-05-16 Joseph Myers <joseph@codesourcery.com>
2608
c58b274f
JM
2609 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2610 with DIVIDE_BY_ZERO_EXCEPTION.
2611 (gamma_test_data): Likewise.
2612 (lgamma_test_data): Likewise.
2613 (log_test_data): Likewise.
2614 (log10_test_data): Likewise.
2615 (log2_test_data): Likewise.
2616 (tgamma_test_data): Likewise.
2617
0ab34904
JM
2618 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2619 (acos_test_tonearest): Likewise.
2620 (acos_test_towardzero): Likewise.
2621 (acos_test_downward): Likewise.
2622 (acos_test_upward): Likewise.
2623 (acosh_test): Likewise.
2624 (asin_test): Likewise.
2625 (asin_test_tonearest): Likewise.
2626 (asin_test_towardzero): Likewise.
2627 (asin_test_downward): Likewise.
2628 (asin_test_upward): Likewise.
2629 (asinh_test): Likewise.
2630 (atan_test): Likewise.
2631 (atanh_test): Likewise.
2632 (atan2_test): Likewise.
2633 (cabs_test): Likewise.
2634 (cacos_test): Likewise.
2635 (cacosh_test): Likewise.
2636 (casin_test): Likewise.
2637 (casinh_test): Likewise.
2638 (catan_test): Likewise.
2639 (catanh_test): Likewise.
2640 (cbrt_test): Likewise.
2641 (ccos_test): Likewise.
2642 (ccosh_test): Likewise.
2643 (cexp_test): Likewise.
2644 (clog_test): Likewise.
2645 (clog10_test): Likewise.
2646 (cos_test): Likewise.
2647 (cos_test_tonearest): Likewise.
2648 (cos_test_towardzero): Likewise.
2649 (cos_test_downward): Likewise.
2650 (cos_test_upward): Likewise.
2651 (cosh_test): Likewise.
2652 (cosh_test_tonearest): Likewise.
2653 (cosh_test_towardzero): Likewise.
2654 (cosh_test_downward): Likewise.
2655 (cosh_test_upward): Likewise.
2656 (cpow_test): Likewise.
2657 (csin_test): Likewise.
2658 (csinh_test): Likewise.
2659 (csqrt_test): Likewise.
2660 (ctan_test): Likewise.
2661 (ctan_test_tonearest): Likewise.
2662 (ctan_test_towardzero): Likewise.
2663 (ctan_test_downward): Likewise.
2664 (ctan_test_upward): Likewise.
2665 (ctanh_test): Likewise.
2666 (ctanh_test_tonearest): Likewise.
2667 (ctanh_test_towardzero): Likewise.
2668 (ctanh_test_downward): Likewise.
2669 (ctanh_test_upward): Likewise.
2670 (erf_test): Likewise.
2671 (erfc_test): Likewise.
2672 (exp_test): Likewise.
2673 (exp_test_tonearest): Likewise.
2674 (exp_test_towardzero): Likewise.
2675 (exp_test_downward): Likewise.
2676 (exp_test_upward): Likewise.
2677 (exp10_test): Likewise.
2678 (exp2_test): Likewise.
2679 (expm1_test): Likewise.
2680 (fmod_test): Likewise.
2681 (gamma_test): Likewise.
2682 (hypot_test): Likewise.
2683 (j0_test): Likewise.
2684 (j1_test): Likewise.
2685 (jn_test): Likewise.
2686 (lgamma_test): Likewise.
2687 (log_test): Likewise.
2688 (log10_test): Likewise.
2689 (log1p_test): Likewise.
2690 (log2_test): Likewise.
2691 (logb_test_downward): Likewise.
2692 (pow_test): Likewise.
2693 (pow_test_tonearest): Likewise.
2694 (pow_test_towardzero): Likewise.
2695 (pow_test_downward): Likewise.
2696 (pow_test_upward): Likewise.
2697 (remainder_test): Likewise.
2698 (remquo_test): Likewise.
2699 (sin_test): Likewise.
2700 (sin_test_tonearest): Likewise.
2701 (sin_test_towardzero): Likewise.
2702 (sin_test_downward): Likewise.
2703 (sin_test_upward): Likewise.
2704 (sincos_test): Likewise.
2705 (sinh_test): Likewise.
2706 (sinh_test_tonearest): Likewise.
2707 (sinh_test_towardzero): Likewise.
2708 (sinh_test_downward): Likewise.
2709 (sinh_test_upward): Likewise.
2710 (sqrt_test): Likewise.
2711 (tan_test): Likewise.
2712 (tan_test_tonearest): Likewise.
2713 (tan_test_towardzero): Likewise.
2714 (tan_test_downward): Likewise.
2715 (tan_test_upward): Likewise.
2716 (tanh_test): Likewise.
2717 (tgamma_test): Likewise.
2718 (y0_test): Likewise.
2719 (y1_test): Likewise.
2720 (yn_test): Likewise.
2721
323e5cb7
JM
2722 * math/gen-libm-test.pl (adjust_arg): Remove function.
2723 (special_function): Remove argument $in_func. Only handle
2724 generating output for tables of tests, not inside functions.
2725 (parse_args): Likewise.
2726 (generate_testfile): Remove variable $in_func. Update call to
2727 parse_args.
2728 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2729 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2730 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2731 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2732 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2733 (MAX_VALUE_INIT): Rename macro to max_value.
2734 (MIN_VALUE_INIT): Rename macro to min_value.
2735 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2736 (plus_zero): Remove variable.
2737 (minus_zero): Likewise.
2738 (plus_infty): Likewise.
2739 (minus_infty): Likewise.
2740 (qnan_value): Likewise.
2741 (max_value): Likewise.
2742 (min_value): Likewise.
2743 (min_subnorm_value): Likewise.
2744
e054f494
RA
27452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2746
2747 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2748 uint64_t or uint32_t usage.
2749 * crypt/sha256-block.c: Likewise.
2750 * crypt/sha256-crypt.c: Likewise.
2751 * crypt/sha256.c: Likewise.
2752 * crypt/sha512-block.c: Likewise.
2753 * crypt/sha512-crypt.c: Likewise.
2754 * crypt/sha512.c: Likewise.
2755 * debug/backtrace-tst.c: Likewise.
2756 * debug/pcprofiledump.c: Likewise.
2757 * elf/cache.c: Likewise.
2758 * elf/dl-cache.c: Likewise.
2759 * elf/dl-misc.c: Likewise.
2760 * elf/dl-profile.c: Likewise.
2761 * elf/dl-support.c: Likewise.
2762 * elf/ldconfig.c: Likewise.
2763 * elf/sprof.c: Likewise.
2764 * iconv/dummy-repertoire.c: Likewise.
2765 * iconv/iconv_charmap.c: Likewise.
2766 * iconv/skeleton.c: Likewise.
2767 * iconvdata/8bit-generic.c: Likewise.
2768 * iconvdata/cp737.h: Likewise.
2769 * iconvdata/cp775.h: Likewise.
2770 * iconvdata/ibm1008.h: Likewise.
2771 * iconvdata/ibm1025.h: Likewise.
2772 * iconvdata/ibm1046.h: Likewise.
2773 * iconvdata/ibm1097.h: Likewise.
2774 * iconvdata/ibm1112.h: Likewise.
2775 * iconvdata/ibm1122.h: Likewise.
2776 * iconvdata/ibm1123.h: Likewise.
2777 * iconvdata/ibm1124.h: Likewise.
2778 * iconvdata/ibm1129.h: Likewise.
2779 * iconvdata/ibm1130.h: Likewise.
2780 * iconvdata/ibm1132.h: Likewise.
2781 * iconvdata/ibm1133.h: Likewise.
2782 * iconvdata/ibm1137.h: Likewise.
2783 * iconvdata/ibm1140.h: Likewise.
2784 * iconvdata/ibm1141.h: Likewise.
2785 * iconvdata/ibm1142.h: Likewise.
2786 * iconvdata/ibm1143.h: Likewise.
2787 * iconvdata/ibm1144.h: Likewise.
2788 * iconvdata/ibm1145.h: Likewise.
2789 * iconvdata/ibm1146.h: Likewise.
2790 * iconvdata/ibm1147.h: Likewise.
2791 * iconvdata/ibm1148.h: Likewise.
2792 * iconvdata/ibm1149.h: Likewise.
2793 * iconvdata/ibm1153.h: Likewise.
2794 * iconvdata/ibm1154.h: Likewise.
2795 * iconvdata/ibm1155.h: Likewise.
2796 * iconvdata/ibm1156.h: Likewise.
2797 * iconvdata/ibm1157.h: Likewise.
2798 * iconvdata/ibm1158.h: Likewise.
2799 * iconvdata/ibm1160.h: Likewise.
2800 * iconvdata/ibm1161.h: Likewise.
2801 * iconvdata/ibm1162.h: Likewise.
2802 * iconvdata/ibm1163.h: Likewise.
2803 * iconvdata/ibm1164.h: Likewise.
2804 * iconvdata/ibm1166.h: Likewise.
2805 * iconvdata/ibm1167.h: Likewise.
2806 * iconvdata/ibm12712.h: Likewise.
2807 * iconvdata/ibm1390.h: Likewise.
2808 * iconvdata/ibm1399.h: Likewise.
2809 * iconvdata/ibm16804.h: Likewise.
2810 * iconvdata/ibm4517.h: Likewise.
2811 * iconvdata/ibm4899.h: Likewise.
2812 * iconvdata/ibm4909.h: Likewise.
2813 * iconvdata/ibm4971.h: Likewise.
2814 * iconvdata/ibm5347.h: Likewise.
2815 * iconvdata/ibm803.h: Likewise.
2816 * iconvdata/ibm856.h: Likewise.
2817 * iconvdata/ibm901.h: Likewise.
2818 * iconvdata/ibm902.h: Likewise.
2819 * iconvdata/ibm9030.h: Likewise.
2820 * iconvdata/ibm9066.h: Likewise.
2821 * iconvdata/ibm921.h: Likewise.
2822 * iconvdata/ibm922.h: Likewise.
2823 * iconvdata/ibm9448.h: Likewise.
2824 * iconvdata/isiri-3342.h: Likewise.
2825 * iconvdata/jis0201.h: Likewise.
2826 * include/link.h: Likewise.
2827 * include/netdb.h: Likewise.
2828 * inet/check_native.c: Likewise.
2829 * inet/check_pf.c: Likewise.
2830 * inet/getipv4sourcefilter.c: Likewise.
2831 * inet/getnameinfo.c: Likewise.
2832 * inet/getsourcefilter.c: Likewise.
2833 * inet/htonl.c: Likewise.
2834 * inet/setipv4sourcefilter.c: Likewise.
2835 * inet/setsourcefilter.c: Likewise.
2836 * inet/test-inet6_opt.c: Likewise.
2837 * inet/tst-network.c: Likewise.
2838 * locale/C-collate.c: Likewise.
2839 * locale/C-ctype.c: Likewise.
2840 * locale/C-time.c: Likewise.
2841 * locale/C-translit.h: Likewise.
2842 * locale/loadarchive.c: Likewise.
2843 * locale/programs/3level.h: Likewise.
2844 * locale/programs/charmap.c: Likewise.
2845 * locale/programs/charmap.h: Likewise.
2846 * locale/programs/ld-address.c: Likewise.
2847 * locale/programs/ld-collate.c: Likewise.
2848 * locale/programs/ld-ctype.c: Likewise.
2849 * locale/programs/ld-identification.c: Likewise.
2850 * locale/programs/ld-measurement.c: Likewise.
2851 * locale/programs/ld-messages.c: Likewise.
2852 * locale/programs/ld-monetary.c: Likewise.
2853 * locale/programs/ld-name.c: Likewise.
2854 * locale/programs/ld-numeric.c: Likewise.
2855 * locale/programs/ld-paper.c: Likewise.
2856 * locale/programs/ld-telephone.c: Likewise.
2857 * locale/programs/ld-time.c: Likewise.
2858 * locale/programs/linereader.c: Likewise.
2859 * locale/programs/locale.c: Likewise.
2860 * locale/programs/locarchive.c: Likewise.
2861 * locale/programs/locfile.h: Likewise.
2862 * locale/programs/repertoire.c: Likewise.
2863 * locale/programs/simple-hash.c: Likewise.
2864 * locale/programs/simple-hash.h: Likewise.
2865 * malloc/memusage.c: Likewise.
2866 * malloc/memusagestat.c: Likewise.
2867 * nis/nis_defaults.c: Likewise.
2868 * nis/nis_hash.c: Likewise.
2869 * nis/nis_print.c: Likewise.
2870 * nis/nis_xdr.c: Likewise.
2871 * nscd/connections.c: Likewise.
2872 * nscd/hstcache.c: Likewise.
2873 * nscd/nscd_gethst_r.c: Likewise.
2874 * nscd/nscd_getserv_r.c: Likewise.
2875 * nscd/nscd_helper.c: Likewise.
2876 * nscd/servicescache.c: Likewise.
2877 * nss/makedb.c: Likewise.
2878 * nss/nss_db/db-XXX.c: Likewise.
2879 * nss/nss_db/db-initgroups.c: Likewise.
2880 * nss/nss_db/db-netgrp.c: Likewise.
2881 * nss/nss_files/files-network.c: Likewise.
2882 * nss/nss_files/files-parse.c: Likewise.
2883 * posix/bug-regex5.c: Likewise.
2884 * posix/fnmatch_loop.c: Likewise.
2885 * posix/regcomp.c: Likewise.
2886 * posix/regexec.c: Likewise.
2887 * posix/tst-rfc3484-2.c: Likewise.
2888 * posix/tst-rfc3484-3.c: Likewise.
2889 * posix/tst-rfc3484.c: Likewise.
2890 * resolv/nss_dns/dns-canon.c: Likewise.
2891 * resolv/nss_dns/dns-network.c: Likewise.
2892 * resolv/res_init.c: Likewise.
2893 * resolv/res_mkquery.c: Likewise.
2894 * resolv/tst-aton.c: Likewise.
2895 * stdlib/cxa_atexit.c: Likewise.
2896 * stdlib/cxa_finalize.c: Likewise.
2897 * stdlib/gen-fpioconst.c: Likewise.
2898 * stdlib/strtol_l.c: Likewise.
2899 * string/tst-endian.c: Likewise.
2900 * sunrpc/auth_des.c: Likewise.
2901 * sunrpc/clnt_udp.c: Likewise.
2902 * sunrpc/rtime.c: Likewise.
2903 * sunrpc/svcauth_des.c: Likewise.
2904 * sunrpc/xdr.c: Likewise.
2905 * sunrpc/xdr_intXX_t.c: Likewise.
2906 * sunrpc/xdr_rec.c: Likewise.
2907 * sysdeps/generic/ldconfig.h: Likewise.
2908 * sysdeps/generic/ldsodefs.h: Likewise.
2909 * sysdeps/generic/memusage.h: Likewise.
2910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2920 * sysdeps/posix/getaddrinfo.c: Likewise.
2921 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2922 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2923 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2924 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2925 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2926 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2927 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2928 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2929 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2932 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2933 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2934 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2936 * sysdeps/x86_64/dl-tls.h: Likewise.
2937 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2938 * time/alt_digit.c: Likewise.
2939 * time/era.c: Likewise.
2940 * wcsmbs/tst-c16c32-1.c: Likewise.
2941
8c75f674
JM
29422013-05-16 Joseph Myers <joseph@codesourcery.com>
2943
2944 * math/libm-test.inc (struct test_sincos_data): New type.
2945 (RUN_TEST_LOOP_sincos): New macro.
2946 (sincos_test_data): New variable.
2947 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2948
e6e49e59
RH
29492013-05-16 Richard Henderson <rth@redhat.com>
2950
2951 * math/atest-exp2.c (LIMB64): New macro.
2952 (CONSTSZ): New macro.
2953 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2954 (hexdig): Move ...
2955 (print_mpn_fp): ... to function scope.
2956 (read_mpn_hex): Remove.
2957 (get_log2): Remove.
2958 (exp2_mpn): Use mp_log2.
2959 (main): Use mp_exp1.
2960
15c7c18d
JM
29612013-05-16 Joseph Myers <joseph@codesourcery.com>
2962
105a07df
JM
2963 * math/libm-test.inc: Remove comment about not testing "inexact"
2964 exceptions.
2965 (INEXACT_EXCEPTION): New macro.
2966 (NO_INEXACT_EXCEPTION): Likewise.
2967 (INVALID_EXCEPTION_OK): Update value.
2968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2969 (OVERFLOW_EXCEPTION_OK): Likewise.
2970 (UNDERFLOW_EXCEPTION_OK): Likewise.
2971 (IGNORE_ZERO_INF_SIGN): Likewise.
2972 (ERRNO_UNCHANGED): Likewise.
2973 (ERRNO_EDOM): Likewise.
2974 (ERRNO_ERANGE): Likewise.
2975 (test_exceptions): Handle testing "inexact" exceptions.
2976 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2977 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2978 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2979 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2980 INEXACT_EXCEPTION.
2981 (rint_towardzero_test_data): Likewise.
2982 (rint_downward_test_data): Likewise.
2983 (rint_upward_test_data): Likewise.
2984
e9eee333
JM
2985 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2986 with OVERFLOW_EXCEPTION.
2987 (exp10_test_data): Likewise.
2988 (exp2_test_data): Likewise.
2989 (expm1_test_data): Likewise.
2990 (lgamma_test_data): Likewise.
2991 (pow_test_data): Likewise.
2992 (tgamma_test_data): Likewise.
2993 (yn_test_data): Remove duplicate test of overflow.
2994
1c38ff73
JM
2995 * math/libm-test.inc (struct test_cc_c_data): New type.
2996 (RUN_TEST_LOOP_cc_c): New macro.
2997 (cpow_test_data): New variable.
2998 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2999
15c7c18d
JM
3000 * math/libm-test.inc (struct test_f_L_data): New type.
3001 (RUN_TEST_LOOP_f_L): New macro.
3002 (llrint_test_data): New variable.
3003 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3004 (llrint_tonearest_test_data): New variable.
3005 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3006 (llrint_towardzero_test_data): New variable.
3007 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3008 (llrint_downward_test_data): New variable.
3009 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3010 (llrint_upward_test_data): New variable.
3011 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3012 (llround_test_data): New variable.
3013 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3014
f137ff13
PC
30152013-05-13 Peter Collingbourne <pcc@google.com>
3016
3017 * math/atest-exp2.c (get_log2): Remove const attribute.
3018
3608cb24
JM
30192013-05-15 Joseph Myers <joseph@codesourcery.com>
3020
3021 * math/libm-test.inc (struct test_f_l_data): New type.
3022 (RUN_TEST_LOOP_f_l): New macro.
3023 (lrint_test_data): New variable.
3024 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3025 (lrint_tonearest_test_data): New variable.
3026 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3027 (lrint_towardzero_test_data): New variable.
3028 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3029 (lrint_downward_test_data): New variable.
3030 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3031 (lrint_upward_test_data): New variable.
3032 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3033 (lround_test_data): New variable.
3034 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3035
39b1f617
PC
30362013-05-15 Peter Collingbourne <pcc@google.com>
3037
1deff3dc
PC
3038 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3039 (EXTRACT_WORDS64) Use where appropriate.
3040 (INSERT_WORDS64) Likewise.
3041
791f3ba0
PC
3042 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3043 constraints with x constraints.
3044 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3045
39b1f617
PC
3046 * malloc/obstack.c (_obstack_compat): Add initializer.
3047
12fba011
EM
30482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3049
3050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3051 si_trapno and add si_addr_lsb to _sifields.sigfault.
3052 (si_trapno): Remove macro.
3053 (si_addr_lsb): Define new macro.
3054 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3055
d369f531
JM
30562013-05-15 Joseph Myers <joseph@codesourcery.com>
3057
b861c6c4
JM
3058 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3059 instead of TEST_f_l.
3060 (llrint_test_tonearest): Likewise.
3061 (llrint_test_towardzero): Likewise.
3062 (llrint_test_downward): Likewise.
3063 (llrint_test_upward): Likewise.
3064 (llround_test): Likewise.
3065
7abeee12
JM
3066 * math/libm-test.inc (struct test_f_i_data): Add comment.
3067 (RUN_TEST_LOOP_f_b): New macro.
3068 (RUN_TEST_LOOP_f_b_tg): Likewise.
3069 (finite_test_data): New variable.
3070 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3071 (isfinite_test_data): New variable.
3072 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3073 (isinf_test_data): New variable.
3074 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3075 (isnan_test_data): New variable.
3076 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3077 (isnormal_test_data): New variable.
3078 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3079 (issignaling_test_data): New variable.
3080 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3081 (signbit_test_data): New variable.
3082 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3083
cbe8c4d3
JM
3084 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3085 with INVALID_EXCEPTION.
3086 (acosh_test_data): Likewise.
3087 (asin_test_data): Likewise.
3088 (atanh_test_data): Likewise.
3089 (fmod_test_data): Likewise.
3090 (log_test_data): Likewise.
3091 (log10_test_data): Likewise.
3092 (log2_test_data): Likewise.
3093 (pow_test_data): Likewise.
3094 (sqrt_test_data): Likewise.
3095 (y0_test_data): Likewise.
3096 (y1_test_data): Likewise.
3097 (yn_test_data): Likewise.
3098
5575c0e5
JM
3099 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3100 function contents.
3101
d369f531
JM
3102 * math/libm-test.inc (struct test_ff_i_data): New type.
3103 (RUN_TEST_LOOP_ff_i_tg): New macro.
3104 (isgreater_test_data): New variable.
3105 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3106 (isgreaterequal_test_data): New variable.
3107 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3108 (isless_test_data): New variable.
3109 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3110 (islessequal_test_data): New variable.
3111 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3112 (islessgreater_test_data): New variable.
3113 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3114 (isunordered_test_data): New variable.
3115 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3116
781fd748
DM
31172013-05-14 David S. Miller <davem@davemloft.net>
3118
3119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3120
87aa21df
JM
31212013-05-14 Joseph Myers <joseph@codesourcery.com>
3122
5e908270
JM
3123 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3124
f71172e5
JM
3125 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3126 extra_test to int.
3127 (struct test_f_i_data): Change type of max_ulp to int.
3128
8cfa635a
JM
3129 * math/libm-test.inc (test_ffI_f1_data): New type.
3130 (RUN_TEST_LOOP_ffI_f1): New macro.
3131 (remquo_test_data): New variable.
3132 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3133
2bcb36b2
JM
3134 * setjmp/tst-setjmp-fp.c: New file.
3135 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3136 (link-libm): New variable.
3137 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3138
acbd839a
JM
3139 * math/libm-test.inc (struct test_f_i_data): New type.
3140 (RUN_TEST_LOOP_f_i): New macro.
3141 (RUN_TEST_LOOP_f_i_tg): Likewise.
3142 (fpclassify_test_data): New variable.
3143 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3144 (ilogb_test_data): New variable.
3145 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3146
e414d745
JM
3147 * math/libm-test.inc (scalbln_test): Correct function name in END
3148 call.
3149
d9c2a0fd
JM
3150 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3151 (RUN_TEST_LOOP_fI_f1): New macro.
3152 (frexp_test_data): New variable.
3153 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3154
9dc9095d
JM
3155 * math/libm-test.inc (struct test_fF_f1_data): New type.
3156 (RUN_TEST_LOOP_fF_f1): New macro.
3157 (modf_test_data): New variable.
3158 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3159
87aa21df
JM
3160 * math/libm-test.inc (struct test_f_f1_data): New type.
3161 (RUN_TEST_LOOP_f_f1): New macro.
3162 (gamma_test_data): New variable.
3163 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3164 (lgamma_test_data): New variable.
3165 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3166
141af660
CD
31672013-05-13 Carlos O'Donell <carlos@redhat.com>
3168
3169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3170 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3171 (main): Comment "tls" pseudo-hwcap.
3172
6d33265c
JM
31732013-05-13 Joseph Myers <joseph@codesourcery.com>
3174
68fc074c
JM
3175 * math/libm-test.inc (struct test_fl_f_data): New type.
3176 (RUN_TEST_LOOP_fl_f): New variable.
3177 (scalbln_test_data): New variable.
3178 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3179
243216e1
JM
3180 * math/libm-test.inc (struct test_fi_f_data): New type.
3181 (RUN_TEST_LOOP_fi_f): New macro.
3182 (ldexp_test_data): New variable.
3183 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3184 (scalbn_test_data): New variable.
3185 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3186
6a1992e2
JM
3187 * math/libm-test.inc (struct test_c_f_data): New type.
3188 (RUN_TEST_LOOP_c_f): New macro.
3189 (cabs_test_data): New variable.
3190 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3191 (carg_test_data): New variable.
3192 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3193 (cimag_test_data): New variable.
3194 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3195 (creal_test_data): New variable.
3196 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3197
0e400df5
JM
3198 * math/libm-test.inc (struct test_if_f_data): New type.
3199 (RUN_TEST_LOOP_if_f): New macro.
3200 (jn_test_data): New variable.
3201 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3202 (yn_test_data): New variable.
3203 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3204
6d33265c
JM
3205 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3206
f98ece5f
AZ
32072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208
3209 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3210 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3211
0f7d347b
SP
32122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3213
43fe811b
SP
3214 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3215 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3216 (bench-deps): Add bench-timing.h.
3217 * benchtests-bench-skeleton.c: Include bench-timing.h.
3218 (main): Use TIMING_* macros instead of clock_gettime.
3219 * benchtests/bench-timing.h: New file.
3220
0f7d347b
SP
3221 [BZ #14582]
3222 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3223 Renamed from _LIB_VERSION.
3224 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3225
601a3a5f
JM
32262013-05-12 Joseph Myers <joseph@codesourcery.com>
3227
4f184d30
JM
3228 * math/libm-test.inc (struct test_fff_f_data): New type.
3229 (RUN_TEST_LOOP_fff_f): New macro.
3230 (fma_test_data): New variable.
3231 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3232 (fma_towardzero_test_data): New variable.
3233 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3234 (fma_downward_test_data): New variable.
3235 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3236 (fma_upward_test_data): New variable.
3237 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3238
08198877
JM
3239 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3240 (struct test_c_c_data): New type.
3241 (RUN_TEST_LOOP_c_c): New macro.
3242 (cacos_test_data): New variable.
3243 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3244 (cacosh_test_data): New variable.
3245 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3246 (casin_test_data): New variable.
3247 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3248 (casinh_test_data): New variable.
3249 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3250 (catan_test_data): New variable.
3251 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3252 (catanh_test_data): New variable.
3253 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3254 (ccos_test_data): New variable.
3255 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3256 (ccosh_test_data): New variable.
3257 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3258 (cexp_test_data): New variable.
3259 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3260 (clog_test_data): New variable.
3261 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3262 (clog10_test_data): New variable.
3263 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3264 (conj_test_data): New variable.
3265 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3266 (cproj_test_data): New variable.
3267 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3268 (csin_test_data): New variable.
3269 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3270 (csinh_test_data): New variable.
3271 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3272 (csqrt_test_data): New variable.
3273 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3274 (ctan_test_data): New variable.
3275 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3276 (ctan_tonearest_test_data): New variable.
3277 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3278 (ctan_towardzero_test_data): New variable.
3279 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3280 (ctan_downward_test_data): New variable.
3281 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3282 (ctan_upward_test_data): New variable.
3283 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3284 (ctanh_test_data): New variable.
3285 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3286 (ctanh_tonearest_test_data): New variable.
3287 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3288 (ctanh_towardzero_test_data): New variable.
3289 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3290 (ctanh_downward_test_data): New variable.
3291 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3292 (ctanh_upward_test_data): New variable.
3293 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3294 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3295 of BUILD_COMPLEX.
3296
601a3a5f
JM
3297 * math/libm-test.inc (struct test_ff_f_data): New type.
3298 (struct test_ff_f_data_nexttoward): Likewise.
3299 (RUN_TEST_LOOP_2_f): New macro.
3300 (RUN_TEST_LOOP_ff_f): Likewise.
3301 (atan2_test_data): New variable.
3302 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3303 (copysign_test_data): New variable.
3304 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3305 (fdim_test_data): New variable.
3306 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3307 (fmax_test_data): New variable.
3308 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3309 (fmin_test_data): New variable.
3310 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3311 (fmod_test_data): New variable.
3312 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3313 (hypot_test_data): New variable.
3314 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3315 (nextafter_test_data): New variable.
3316 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3317 (nexttoward_test_data): New variable.
3318 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3319 (pow_test_data): New variable.
3320 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3321 (pow_tonearest_test_data): New variable.
3322 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3323 (pow_towardzero_test_data): New variable.
3324 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3325 (pow_downward_test_data): New variable.
3326 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3327 (pow_upward_test_data): New variable.
3328 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3329 (remainder_test_data): New variable.
3330 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3331 (scalb_test_data): New variable.
3332 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3333 * sysdeps/i386/fpu/libm-test-ulps: Update.
3334
74c57478
JM
33352013-05-11 Joseph Myers <joseph@codesourcery.com>
3336
8329e4da
JM
3337 * math/libm-test.inc (fma_test): Use max_value instead of local
3338 variable fltmax.
3339 (nextafter_test): Likewise.
3340
74c57478
JM
3341 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3342 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3343 (acos_downward_test_data): New variable.
3344 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3345 (acos_upward_test_data): New variable.
3346 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3347 (acosh_test_data): New variable.
3348 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3349 (asin_test_data): New variable.
3350 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3351 (asin_tonearest_test_data): New variable.
3352 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3353 (asin_towardzero_test_data): New variable.
3354 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3355 (asin_downward_test_data): New variable.
3356 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3357 (asin_upward_test_data): New variable.
3358 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3359 (asinh_test_data): New variable.
3360 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3361 (atan_test_data): New variable.
3362 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3363 (atanh_test_data): New variable.
3364 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3365 (cbrt_test_data): New variable.
3366 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3367 (ceil_test_data): New variable.
3368 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3369 (cos_test_data): New variable.
3370 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3371 (cos_tonearest_test_data): New variable.
3372 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3373 (cos_towardzero_test_data): New variable.
3374 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3375 (cos_downward_test_data): New variable.
3376 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3377 (cos_upward_test_data): New variable.
3378 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3379 (cosh_test_data): New variable.
3380 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3381 (cosh_tonearest_test_data): New variable.
3382 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3383 (cosh_towardzero_test_data): New variable.
3384 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3385 (cosh_downward_test_data): New variable.
3386 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3387 (cosh_upward_test_data): New variable.
3388 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3389 (erf_test_data): New variable.
3390 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3391 (erfc_test_data): New variable.
3392 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3393 (exp_test_data): New variable.
3394 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3395 (exp_tonearest_test_data): New variable.
3396 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3397 (exp_towardzero_test_data): New variable.
3398 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3399 (exp_downward_test_data): New variable.
3400 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3401 (exp_upward_test_data): New variable.
3402 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3403 (exp10_test_data): New variable.
3404 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3405 (exp2_test_data): New variable.
3406 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3407 (expm1_test_data): New variable.
3408 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3409 (fabs_test_data): New variable.
3410 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3411 (floor_test_data): New variable.
3412 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3413 (j0_test_data): New variable.
3414 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3415 (j1_test_data): New variable.
3416 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3417 (log_test_data): New variable.
3418 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3419 (log10_test_data): New variable.
3420 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3421 (log1p_test_data): New variable.
3422 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3423 (log2_test_data): New variable.
3424 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3425 (logb_test_data): New variable.
3426 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3427 (logb_downward_test_data): New variable.
3428 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3429 (nearbyint_test_data): New variable.
3430 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3431 (rint_test_data): New variable.
3432 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3433 (rint_tonearest_test_data): New variable.
3434 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3435 (rint_towardzero_test_data): New variable.
3436 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3437 (rint_downward_test_data): New variable.
3438 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3439 (rint_upward_test_data): New variable.
3440 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3441 (round_test_data): New variable.
3442 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3443 (sin_test_data): New variable.
3444 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3445 (sin_tonearest_test_data): New variable.
3446 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3447 (sin_towardzero_test_data): New variable.
3448 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3449 (sin_downward_test_data): New variable.
3450 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3451 (sin_upward_test_data): New variable.
3452 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3453 (sinh_test_data): New variable.
3454 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3455 (sinh_tonearest_test_data): New variable.
3456 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3457 (sinh_towardzero_test_data): New variable.
3458 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3459 (sinh_downward_test_data): New variable.
3460 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3461 (sinh_upward_test_data): New variable.
3462 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3463 (sqrt_test_data): New variable.
3464 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3465 (tan_test_data): New variable.
3466 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3467 (tan_tonearest_test_data): New variable.
3468 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3469 (tan_towardzero_test_data): New variable.
3470 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3471 (tan_downward_test_data): New variable.
3472 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3473 (tan_upward_test_data): New variable.
3474 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3475 (tanh_test_data): New variable.
3476 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3477 (tgamma_test_data): New variable.
3478 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3479 (trunc_test_data): New variable.
3480 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3481 (y0_test_data): New variable.
3482 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3483 (y1_test_data): New variable.
3484 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3485 (significand_test_data): New variable.
3486 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3487
7187d844
CG
34882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3489
3490 [BZ #12387]
3491 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3492
f63fae73
PT
34932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3494
3495 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3496
8a67a4b3
AJ
34972013-05-10 Andreas Jaeger <aj@suse.de>
3498
3499 [BZ #15448]
3500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3501 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3502
51df539d
JM
35032013-05-10 Joseph Myers <joseph@codesourcery.com>
3504
3505 * math/gen-libm-test.pl (adjust_arg): New function.
3506 (special_functions): Handle generating output in both functions
3507 and arrays.
3508 (parse_args): Likewise.
3509 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3510 $in_func argument to parse_args.
3511 * math/libm-test.inc (struct test_f_f_data): New type.
3512 (IF_ROUND_INIT_): New macro.
3513 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3517 (ROUND_RESTORE_): Likewise.
3518 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3519 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3520 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3521 (ROUND_RESTORE_FE_UPWARD): Likewise.
3522 (RUN_TEST_LOOP_f_f): New macro.
3523 (acos_test_data): New variable.
3524 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3525 (acos_tonearest_test_data): New variable.
3526 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3527
5c637fe5
SP
35282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3529
3530 * benchtests/bench-skeleton.c (startup): Fix coding style.
3531
ab2b9461
JM
35322013-05-10 Joseph Myers <joseph@codesourcery.com>
3533
3534 [BZ #6809]
3535 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3536 negative infinity argument.
3537 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3538 negative infinity argument.
3539 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3540 negative infinity argument.
3541 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3542 domain errors.
3543
4c0fe6fe
FW
35442013-05-10 Florian Weimer <fweimer@redhat.com>
3545
3546 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3547 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3548 * iconv/iconv_prog.c (main): Likewise.
3549 * locale/programs/charmap-dir.c (charmap_readdir)
3550 (fopen_uncompressed): Likewise.
3551 * locale/programs/locfile.c (siblings_uncached)
3552 (write_locale_data): Use lstat64 instead of lstat.
3553 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3554 stat.
3555
a3375d29
AJ
35562013-05-10 Andreas Jaeger <aj@suse.de>
3557
3558 [BZ #15395]
3559 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3560 localization.
3561 Include <locale.h>.
3562
36129722
CD
35632013-05-09 Carlos O'Donell <carlos@redhat.com>
3564
3565 * elf/dl-close.c (_dl_close_worker): Add comments.
3566
faa7f811
JM
35672013-05-09 Joseph Myers <joseph@codesourcery.com>
3568
ed41ffef
JM
3569 [BZ #15359]
3570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3571 high part of pi/2.
3572 (__ieee754_rem_pio2l): Update comments.
3573
d0213cd0
JM
3574 [BZ #15429]
3575 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3576 high part of pi/2.
3577 (__ieee754_rem_pio2l): Update comments.
3578
0d3e777a
JM
3579 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3580 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3581
24f56066
JM
3582 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3583 M_PI_4l.
3584
faa7f811
JM
3585 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3586 (M_PI_34_LOG10El): Likewise.
3587 (M_PI2_LOG10El): Likewise.
3588 (M_PI4_LOG10El): Likewise.
3589 (M_PI_LOG10El): Likewise.
3590
e9a5e0fd
AZ
35912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3594
d8cd06db
JM
35952013-05-08 Joseph Myers <joseph@codesourcery.com>
3596
a0d9f9d7
JM
3597 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3598 (MINUS_ZERO_INIT): Likewise.
3599 (PLUS_INFTY_INIT): Likewise.
3600 (MINUS_INFTY_INIT): Likewise.
3601 (QNAN_VALUE_INIT): Likewise.
3602 (MAX_VALUE_INIT): Likewise.
3603 (MIN_VALUE_INIT): Likewise.
3604 (MIN_SUBNORM_VALUE_INIT): Likewise.
3605 (plus_zero): Initialize with PLUS_ZERO_INIT.
3606 (minus_zero): Initialize with MINUS_ZERO_INIT.
3607 (plus_infty): Initialize with PLUS_INFTY_INIT.
3608 (minus_infty): Initialize with MINUS_INFTY_INIT.
3609 (qnan_value): Initialize with QNAN_VALUE_INIT.
3610 (max_value): Initialize with MAX_VALUE_INIT.
3611 (min_value): Initialize with MIN_VALUE_INIT.
3612 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3613
ae08db3b
JM
3614 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3615 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3616 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3617 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3618
f44bf14a
JM
3619 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3620 (RUN_TEST_2_f): Likewise.
3621 (RUN_TEST_ff_f): Likewise.
3622 (RUN_TEST_fi_f): Likewise.
3623 (RUN_TEST_fl_f): Likewise.
3624 (RUN_TEST_fff_f): Likewise.
3625 (RUN_TEST_c_f): Likewise.
3626 (RUN_TEST_f_f1): Likewise.
3627 (RUN_TEST_fF_f1): Likewise.
3628 (RUN_TEST_fI_f1): Likewise.
3629 (RUN_TEST_ffI_f1): Likewise.
3630 (RUN_TEST_c_c): Likewise.
3631 (RUN_TEST_cc_c): Likewise.
3632 (RUN_TEST_f_i): Likewise.
3633 (RUN_TEST_f_i_tg): Likewise.
3634 (RUN_TEST_ff_i_tg): Likewise.
3635 (RUN_TEST_f_b): Likewise.
3636 (RUN_TEST_f_b_tg): Likewise.
3637 (RUN_TEST_f_l): Likewise.
3638 (RUN_TEST_f_L): Likewise.
3639 (RUN_TEST_sincos): Likewise.
3640 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3641 whether to show exceptions. Do not include ");\n" in return
3642 value.
3643 (special_functions): Output call to RUN_TEST_sincos instead of
3644 check_float calls. Update calls to new_test.
3645 (parse_args): Output call to single RUN_TEST_* macro instead of
3646 check_* calls and other assignments. Update calls to new_test.
3647
d8cd06db
JM
3648 [BZ #2546]
3649 [BZ #2560]
3650 [BZ #5159]
3651 [BZ #15426]
3652 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3653 input to result for tgamma overflow.
3654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3655 (gamma_coeff): New variable.
3656 (NCOEFF): New macro.
3657 (gamma_positive): New function.
3658 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3659 underflow here. Use gamma_positive instead of exp (lgamma) for
3660 other arguments.
3661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3662 (gamma_coeff): New variable.
3663 (NCOEFF): New macro.
3664 (gammaf_positive): New function.
3665 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3666 underflow here. Use gamma_positive instead of exp (lgamma) for
3667 other arguments.
3668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3669 (gamma_coeff): New variable.
3670 (NCOEFF): New macro.
3671 (gammal_positive): New function.
3672 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3673 underflow here. Use gamma_positive instead of exp (lgamma) for
3674 other arguments.
3675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3676 (gamma_coeff): New variable.
3677 (NCOEFF): New macro.
3678 (gammal_positive): New function.
3679 (__ieee754_gammal_r): Handle positive infinity, overflow and
3680 underflow here. Handle NaN the same as positive infinity. Remove
3681 check x < 0xffffffff for negative integers. Use gamma_positive
3682 instead of exp (lgamma) for other arguments.
3683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3684 (gamma_coeff): New variable.
3685 (NCOEFF): New macro.
3686 (gammal_positive): New function.
3687 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3688 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3692 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3693 * sysdeps/generic/math_private.h (__gamma_productf): New
3694 prototype.
3695 (__gamma_product): Likewise.
3696 (__gamma_productl): Likewise.
3697 * math/Makefile (libm-calls): Add gamma_product.
3698 * math/libm-test.inc (tgamma_test): Add more tests.
3699 * sysdeps/i386/fpu/libm-test-ulps: Update.
3700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3701
bb7cf681
OB
37022013-05-08 Ondřej Bílka <neleai@seznam.cz>
3703
3704 * benchtests/bench-skeleton.c (main): Preheat CPU.
3705
ba853947
AJ
37062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3707
3708 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3709
8347c74c
RM
37102013-05-07 Roland McGrath <roland@hack.frob.com>
3711
3712 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3713 and _dl_skip_args_internal.
3714
e8dd4791
CD
37152013-05-07 Carlos O'Donell <carlos@redhat.com>
3716
3717 * manual/message.texi (Message Translation): Talk about users.
3718 Message to key mapping impacts design.
3719
c7405830
RM
37202013-05-06 Roland McGrath <roland@hack.frob.com>
3721
a9173057
RM
3722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3723
976e2f03
RM
3724 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3725
9723ffc5
RM
3726 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3727 * sysdeps/wordsize-64/glob64.c: ... here.
3728
962e6658
RM
3729 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3730 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3731 New macros.
3732
ee586a6d
RM
3733 * debug/getlogin_r_chk.c: Moved to ...
3734 * login/getlogin_r_chk.c: ... here.
3735 * debug/Makefile (routines): Move getlogin_r_chk to ...
3736 * login/Makefile (routines): ... here.
3737 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3738 * login/Versions (libc: GLIBC_2.4): ... here.
3739
355f9165
RM
3740 * io/poll.c (__poll): Renamed from poll.
3741 Add libc_hidden_def.
3742 (poll): Define as weak alias.
3743
bd9ffde6
RM
3744 * debug/ptsname_r_chk.c: Moved to ...
3745 * login/ptsname_r_chk.c: ... here.
3746 * debug/Makefile (routines): Move ptsname_r_chk to ...
3747 * login/Makefile (routines): ... here.
3748 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3749 * login/Versions (libc: GLIBC_2.4): ... here.
3750
8fb16a04
RM
3751 * posix/getlogin.c: Moved to ...
3752 * login/getlogin.c: ... here.
3753 * posix/getlogin_r.c: Moved to ...
3754 * login/getlogin_r.c: ... here.
3755 * posix/getlogin_r.c: Moved to ...
3756 * login/getlogin_r.c: ... here.
3757 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3758 * login/Makefile (routines): ... here.
3759 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3760 * login/Versions (libc: GLIBC_2.0): ... here.
3761
b99b892f
RM
3762 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3763 (setrlimit): Define as weak alias.
3764
c7405830
RM
3765 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3766 Call __ names for open, ftruncate, and close.
3767 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3768 (truncate): Define as weak alias.
3769
5bf96de5
JM
37702013-05-06 Joseph Myers <joseph@codesourcery.com>
3771
9ea3513c
JM
3772 * math/gen-libm-test.pl (parse_args): Initialize x before each
3773 test of frexp, modf and remquo.
3774
5bf96de5
JM
3775 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3776 test signgam value.
3777
16e616a7
AZ
37782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3779
3780 [BZ #15418]
3781 [BZ #15419]
3782 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3783 internal tests.
3784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3785
d5e82754
RM
37862013-05-06 Roland McGrath <roland@hack.frob.com>
3787
3788 * elf/dl-writev.h: New file.
3789 * elf/dl-misc.c: Include it.
3790 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3791 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3792
a7548d41
JM
37932013-05-04 Joseph Myers <joseph@codesourcery.com>
3794
b7dab1e4
JM
3795 * math/libm-test.inc (noXFails): Remove variable.
3796 (noXPasses): Likewise.
3797 (BUILD_COMPLEX_INT): Remove macro.
3798 (print_screen): Remove xfail argument.
3799 (print_screen_max_error): Likewise.
3800 (update_stats): Likewise.
3801 (print_max_error): Likewise. Update calls to other affected
3802 functions.
3803 (print_complex_max_error): Likewise.
3804 (test_single_exception): Update calls to print_screen.
3805 (test_single_errno): Likewise.
3806 (check_float_internal): Remove xfail argument. Update calls to
3807 other affected functions.
3808 (check_float): Likewise.
3809 (check_complex): Likewise.
3810 (check_int): Likewise.
3811 (check_long): Likewise.
3812 (check_bool): Likewise.
3813 (check_longlong): Likewise.
3814 (main): Don't print noXFails and noXPasses.
3815 * math/gen-libm-test.pl (top level): Don't mention expected
3816 failure handling in comment.
3817 (new_test): Don't handle expected failures.
3818 (parse_args): Don't mention expected failure handling in comment.
3819 (generate_testfile): Don't handle expected failures.
3820 (parse_ulps): Likewise.
3821 (print_ulps_file): Likewise.
3822 (get_failure): Remove function.
3823 (output_test): Don't handle expected failures.
3824 * make/README.libm-test: Don't mention expected failure handling.
3825
a7548d41
JM
3826 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3827 (minus_zero): Likewise.
3828 (plus_infty): Likewise.
3829 (minus_infty): Likewise.
3830 (qnan_value): Likewise.
3831 (max_value): Likewise.
3832 (min_value): Likewise.
3833 (min_subnorm_value): Likewise.
3834 (initialize): Do not initialize those variables dynamically.
3835
60bfd54c
RM
38362013-05-03 Roland McGrath <roland@hack.frob.com>
3837
cc0e6ed8
RM
3838 * io/open.c (__open_2): Moved to ...
3839 * io/open_2.c: ... this new file.
3840 * io/open64.c (__open64_2): Moved to ...
3841 * io/open64_2.c: ... this new file.
3842 * io/openat.c (__openat_2): Moved to ...
3843 * io/openat_2.c: ... this new file.
3844 * io/openat64.c (__openat64_2): Moved to ...
3845 * io/openat64_2.c: ... this new file.
3846 * io/Makefile (routines): Add them.
3847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3848 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3849 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3850 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3851 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3852 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3853 (__openat64): Add hidden_ver.
3854 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3855 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3856
60bfd54c
RM
3857 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3858 Separately conditionalize setting of GLRO(dl_sysinfo) so
3859 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3860 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3861
83e7640f
AZ
38622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3863
3864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3866 definition.
3867 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3868 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3869 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3870 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3871 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3872
d5dc2af3
JM
38732013-05-03 Joseph Myers <joseph@codesourcery.com>
3874
c31a5b1e
JM
3875 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3876 test signgam value.
3877
d5dc2af3
JM
3878 * math/libm-test.inc (hypot_test): Do not use
3879 IGNORE_ZERO_INF_SIGN.
3880
164fd39d
AJ
38812013-05-03 Andreas Jaeger <aj@suse.de>
3882
3883 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3884 Linux 3.9.
3885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3886 (PF_MAX): Adjust for VSOCK change.
3887
8237f48c
AZ
38882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3889
3890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3891
9df02941
CD
38922013-05-02 Carlos O'Donell <carlos@redhat.com>
3893
3894 [BZ #15264]
3895 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3896 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3897 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3898
d422395e
DM
38992013-05-02 David S. Miller <davem@davemloft.net>
3900
3901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3902
a07c5731
OB
39032013-05-01 Ondřej Bílka <neleai@seznam.cz>
3904
3905 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3906
1324e37f
RM
39072013-05-01 Roland McGrath <roland@hack.frob.com>
3908
3909 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3910
0695940b
RS
39112013-05-01 Richard Smith <richard@metafoo.co.uk>
3912
bb5f27ad 3913 [BZ #14952]
0695940b
RS
3914 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3915 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3916 Use __attribute__ ((__gnu_inline__)).
3917 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3918 Don't use __attribute__ ((__gnu_inline__)).
3919
10de07f5
JM
39202013-05-01 Joseph Myers <joseph@codesourcery.com>
3921
3922 [BZ #15423]
3923 * math/s_catan.c (__catan): Handle small real or imaginary part of
3924 input specially to avoid spurious underflow.
3925 * math/s_catanf.c (__catanf): Likewise.
3926 * math/s_catanh.c (__catanh): Likewise.
3927 * math/s_catanhf.c (__catanhf): Likewise.
3928 * math/s_catanhl.c (__catanhl): Likewise.
3929 * math/s_catanl.c (__catanl): Likewise.
3930 * math/libm-test.inc (catan_test): Add more tests.
3931 (catanh_test): Likewise.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934
cb4d5414
AZ
39352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936
3937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3938
caf84319
JM
39392013-04-30 Joseph Myers <joseph@codesourcery.com>
3940
3941 [BZ #15416]
3942 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3943 accurately for denominator in atan2.
3944 * math/s_catanf.c (__catanf): Likewise.
3945 * math/s_catanh.c (__catanh): Likewise.
3946 * math/s_catanhf.c (__catanhf): Likewise.
3947 * math/s_catanhl.c (__catanhl): Likewise.
3948 * math/s_catanl.c (__catanl): Likewise.
3949 * math/libm-test.inc (catan_test): Add more tests.
3950 (catanh_test): Likewise.
3951 * sysdeps/i386/fpu/libm-test-ulps: Update.
3952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3953
d569c6ee
SP
39542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3955
6dbe713d
SP
3956 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3957
f0ee064b
SP
3958 * benchtests/Makefile (bench): Remove slow benchmarks.
3959 * benchtests/atan-inputs: Add slow benchmark inputs.
3960 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3961 (BENCH_FUNC): Accept variant offset.
3962 (VARIANT): Define.
3963 * benchtests/bench-skeleton.c (main): Run benchmark for each
3964 variant.
3965 * benchtests/cos-inputs: Add slow benchmark inputs.
3966 * benchtests/exp-inputs: Likewise.
3967 * benchtests/pow-inputs: Likewise.
3968 * benchtests/sin-inputs: Likewise.
3969 * benchtests/slowatan-inputs: Remove.
3970 * benchtests/slowatan.c: Remove.
3971 * benchtests/slowcos-inputs: Remove.
3972 * benchtests/slowcos.c: Remove.
3973 * benchtests/slowexp-inputs: Remove.
3974 * benchtests/slowexp.c: Remove.
3975 * benchtests/slowpow-inputs: Remove.
3976 * benchtests/slowpow.c: Remove.
3977 * benchtests/slowsin-inputs: Remove.
3978 * benchtests/slowsin.c: Remove.
3979 * benchtests/slowtan-inputs: Remove.
3980 * benchtests/slowtan.c: Remove.
3981 * benchtests/tan-inputs: Add slow benchmark inputs.
3982 * scripts/bench.pl: Parse comments and directives.
3983
d569c6ee
SP
3984 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3985 in CPPFLAGS.
3986 ($(objpfx)bench-%.c): Remove *-ITER.
3987 * benchtests/bench-modf.c: Remove definition of ITER.
3988 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3989 (main): Loop for DURATION seconds instead of fixed number of
3990 iterations.
3991 * scripts/bench.pl: Don't expect iterations in parameters.
3992
a6a242fe
RM
39932013-04-29 Roland McGrath <roland@hack.frob.com>
3994
3995 * io/fchdir.c (__fchdir): Renamed from fchdir.
3996 (fchdir): Define as weak alias.
3997
f2da7793
JM
39982013-04-29 Joseph Myers <joseph@codesourcery.com>
3999
4000 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4001 (ERRNO_EDOM): Likewise.
4002 (ERRNO_ERANGE): Likewise.
4003 (noErrnoTests): New variable.
4004 (init_max_error): Set errno to 0.
4005 (test_single_errno): New function.
4006 (test_errno): Likewise.
4007 (check_float_internal): Call test_errno. Set errno to 0.
4008 (check_complex): Refer to errno tests in comment.
4009 (check_int): Call test_errno. Set errno to 0.
4010 (check_long): Likewise.
4011 (check_bool): Likewise.
4012 (check_longlong): Likewise.
4013 (cos_test): Use ERRNO_* flags for errno tests instead of
4014 check_int.
4015 (expm1_test): Likewise.
4016 (fmod_test): Likewise.
4017 (ilogb_test): Likewise.
4018 (lgamma_test): Likewise.
4019 (pow_test): Likewise.
4020 (remainder_test): Likewise.
4021 (sin_test): Likewise.
4022 (tan_test): Likewise.
4023 (yn_test): Likewise.
4024 (initialize): Set errno to 0.
4025 (main): Print number of errno tests.
4026 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4027
b1a36ceb
AJ
40282013-04-29 Andreas Jaeger <aj@suse.de>
4029
c3ed8088
AJ
4030 [BZ #15084]
4031 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4032 and RES_USEVC.
4033
f1a24198
AJ
4034 [BZ #15085]
4035 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4036 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4037 unimplemented.
4038
9ce3b2cb
AJ
4039 [BZ #15380]
4040 * stdlib/random.c (__initstate): Return NULL if
4041 __initstate fails.
4042
f1a24198 4043 [BZ #15086]
b1a36ceb
AJ
4044 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4045 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4046 RES_SNGLKUPREOP.
4047
7e7b6f36
AZ
40482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4049
4050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4051
4d14f449
JM
40522013-04-29 Joseph Myers <joseph@codesourcery.com>
4053
4054 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4055 of individual tests.
4056 (casin_test): Likewise.
4057 (casinh_test): Likewise.
4058
5b4217d7
JM
40592013-04-27 Joseph Myers <joseph@codesourcery.com>
4060
4061 [BZ #15409]
4062 * math/s_catan.c (__catan): Handle arguments with large real or
4063 imaginary part separately without squaring.
4064 * math/s_catanf.c (__catanf): Likewise.
4065 * math/s_catanh.c (__catanh): Likewise.
4066 * math/s_catanhf.c (__catanhf): Likewise.
4067 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4068 and redefine.
4069 (__catanhl): Handle arguments with large real or imaginary part
4070 separately without squaring.
4071 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4072 and redefine.
4073 (__catanl): Handle arguments with large real or imaginary part
4074 separately without squaring.
4075 * math/libm-test.inc (catan_test): Add more tests.
4076 (catanh_test): Likewise.
4077 * sysdeps/i386/fpu/libm-test-ulps: Update.
4078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079
4220c3ef
AJ
40802013-04-27 Andreas Jaeger <aj@suse.de>
4081
4082 [BZ #15007]
4083 * stdlib/stdlib.h: Update guards for qecvt.
4084 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4085 <stdlib.h>.
4086
4721b2d1
AM
40872013-04-27 Allan McRae <allan@archlinux.org>
4088
4089 * sysdeps/i386/fpu/libm-test-ulps: Update.
4090
f0302940
JM
40912013-04-26 Joseph Myers <joseph@codesourcery.com>
4092
9457fd95
JM
4093 [BZ #15406]
4094 * math/s_catan.c: Include <float.h>.
4095 (__catan): Ensure underflow exception occurs for underflowed
4096 result.
4097 * math/s_catanf.c: Include <float.h>.
4098 (__catanf): Ensure underflow exception occurs for underflowed
4099 result.
4100 * math/s_catanh.c: Include <float.h>.
4101 (__catanh): Ensure underflow exception occurs for underflowed
4102 result.
4103 * math/s_catanhf.c: Include <float.h>.
4104 (__catanhf): Ensure underflow exception occurs for underflowed
4105 result.
4106 * math/s_catanhl.c: Include <float.h>.
4107 (__catanhl): Ensure underflow exception occurs for underflowed
4108 result.
4109 * math/s_catanl.c: Include <float.h>.
4110 (__catanl): Ensure underflow exception occurs for underflowed
4111 result.
4112 * math/libm-test.inc (catan_test): Add more tests.
4113 (catanh_test): Likewise.
4114
f0302940
JM
4115 [BZ #15405]
4116 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4117 underflowed result.
4118 * math/s_ccoshf.c (__ccoshf): Likewise.
4119 * math/s_ccoshl.c (__ccoshl): Likewise.
4120 * math/s_csin.c (__csin): Likewise.
4121 * math/s_csinf.c (__csinf): Likewise.
4122 * math/s_csinh.c (__csinh): Likewise.
4123 * math/s_csinhf.c (__csinhf): Likewise.
4124 * math/s_csinhl.c (__csinhl): Likewise.
4125 * math/s_csinl.c (__csinl): Likewise.
4126 * math/libm-test.inc (ccos_test): Add more tests.
4127 (ccosh_test): Likewise.
4128 (csin_test): Likewise.
4129 (csinh_test): Likewise.
4130
aa630f59
AZ
41312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4132
4133 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4134 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4135 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4136 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4137 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4138 powerpc/power5+/fpu folders.
4139 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4140
4141
1b835983
MT
41422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4143
4144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4145
73709b26
JM
41462013-04-25 Joseph Myers <joseph@codesourcery.com>
4147
4148 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4149 additions to variable.
4150 [$(config-machine) = x86_64] (modules-names): Likewise.
4151 ($(objpfx)tst-audit3): Remove dependency.
4152 ($(objpfx)tst-audit3.out): Likewise.
4153 ($(objpfx)tst-audit4): Likewise.
4154 ($(objpfx)tst-audit4.out): Likewise.
4155 ($(objpfx)tst-audit5): Likewise.
4156 ($(objpfx)tst-audit5.out): Likewise.
4157 ($(objpfx)tst-audit6): Likewise.
4158 ($(objpfx)tst-audit6.out): Likewise.
4159 ($(objpfx)tst-audit7): Likewise.
4160 ($(objpfx)tst-audit7.out): Likewise.
4161 (tst-audit3-ENV): Remove variable.
4162 (tst-audit4-ENV): Likewise.
4163 (tst-audit5-ENV): Likewise.
4164 (tst-audit6-ENV): Likewise.
4165 (tst-audit7-ENV): Likewise.
4166 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4167 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4168 addition to variable.
4169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4174 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4175 tst-audit3, tst-audit4 and tst-audit5.
4176 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4177 tst-audit6 and tst-audit7.
4178 [$(subdir) = elf] (modules-names): Add audit modules for those
4179 tests.
4180 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4181 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4182 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4183 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4184 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4185 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4186 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4187 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4188 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4189 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4190 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4191 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4192 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4193 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4194 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4195 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4196 Likewise.
4197 [$(subdir) = elf && $(config-cflags-avx) = yes]
4198 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4199 [$(subdir) = elf && $(config-cflags-avx) = yes]
4200 (CFLAGS-tst-auditmod4a.c): Likewise.
4201 [$(subdir) = elf && $(config-cflags-avx) = yes]
4202 (CFLAGS-tst-auditmod4b.c): Likewise.
4203 [$(subdir) = elf && $(config-cflags-avx) = yes]
4204 (CFLAGS-tst-auditmod6b.c): Likewise.
4205 [$(subdir) = elf && $(config-cflags-avx) = yes]
4206 (CFLAGS-tst-auditmod6c.c): Likewise.
4207 [$(subdir) = elf && $(config-cflags-avx) = yes]
4208 (CFLAGS-tst-auditmod7b.c): Likewise.
4209 * elf/tst-audit3.c: Move to ...
4210 * sysdeps/x86_64/tst-audit3.c: ... here.
4211 * elf/tst-audit4.c: Move to ...
4212 * sysdeps/x86_64/tst-audit4.c: ... here.
4213 * elf/tst-audit5.c: Move to ...
4214 * sysdeps/x86_64/tst-audit5.c: ... here.
4215 * elf/tst-audit6.c: Move to ...
4216 * sysdeps/x86_64/tst-audit6.c: ... here.
4217 * elf/tst-audit7.c: Move to ...
4218 * sysdeps/x86_64/tst-audit7.c: ... here.
4219 * elf/tst-auditmod3a.c: Move to ...
4220 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4221 * elf/tst-auditmod3b.c: Move to ...
4222 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4223 * elf/tst-auditmod4a.c: Move to ...
4224 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4225 * elf/tst-auditmod4b.c: Move to ...
4226 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4227 * elf/tst-auditmod5a.c: Move to ...
4228 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4229 * elf/tst-auditmod5b.c: Move to ...
4230 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4231 * elf/tst-auditmod6a.c: Move to ...
4232 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4233 * elf/tst-auditmod6b.c: Move to ...
4234 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4235 * elf/tst-auditmod6c.c: Move to ...
4236 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4237 * elf/tst-auditmod7a.c: Move to ...
4238 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4239 * elf/tst-auditmod7b.c: Move to ...
4240 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4241
1ef74943
PP
42422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4243
4244 [BZ #15366]
4245 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4246 define unconditionally.
4247 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4248 define unconditionally.
4249 (INT8_C, INT16_C, etc.): Likewise.
4250
93fd48c5
MR
42512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4252
ae9552cf
MR
4253 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4254 __ehdr_start with hidden visibility.
4255
93fd48c5
MR
4256 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4257
418601aa
CD
42582013-04-24 Carlos O'Donell <carlos@redhat.com>
4259
4260 * math/libm-test.inc (cos_test): Use accurate hex constants.
4261 (sincost_test): Likewise.
4262
2f38fbfe
JM
42632013-04-24 Joseph Myers <joseph@codesourcery.com>
4264
5e221800
JM
4265 * math/libm-test.inc (catan_test): Add more tests.
4266 (catanh_test): Likewise.
4267
77f143fd
JM
4268 * math/s_catanf.c (__catanf): Use suffixed floating-point
4269 constants.
4270 * math/s_catanhf.c (__catanhf): Likewise.
4271 * math/s_catanhl.c (__catanhl): Likewise.
4272 * math/s_catanl.c (__catanl): Likewise.
4273
2f38fbfe
JM
4274 [BZ #15394]
4275 * math/s_catan.c (__catan): Calculate imaginary part of result
4276 with log1p not log unless computing log of number close to 0.
4277 * math/s_catanf.c (__catanf): Likewise.
4278 * math/s_catanl.c (__catanl): Likewise.
4279 * math/s_catanh.c (__catanh): Calculate real part of result with
4280 log1p not log unless computing log of number close to 0.
4281 * math/s_catanhf.c (__catanhf): Likewise.
4282 * math/s_catanhl.c (__catanhl): Likewise.
4283 * math/libm-test.inc (catan_test): Add more tests.
4284 (catanh_test): Likewise.
4285 * sysdeps/i386/fpu/libm-test-ulps: Update.
4286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4287
45d69176
SP
42882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4289
4290 * benchtests/Makefile: Mention files in which fast and slow
4291 paths of math functions are implemented.
4292
87f51853
RM
42932013-04-23 Roland McGrath <roland@hack.frob.com>
4294
4295 * sysdeps/posix/timespec_get.c: New file.
4296
3c026539
AZ
42972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4298
4299 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4300 POWER.
4301 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4302 for POWER.
4303 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4304 powerpc/power5/fpu folders.
4305 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4306 * benchtests/Makefile: Add modf testcase.
4307 * benchtests/bench-modf.c: New file: Benchmark test for mo
4308
ff491d14
SP
43092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4310
4311 [BZ #14888]
4312 * time/Makefile (tests): Add tst-strptime-whitespace.
4313 * time/strptime_l.c (get_number): Use ISSPACE.
4314 (__strptime_internal): Likewise.
4315 * time/tst-strptime-whitespace.c: New test case.
4316
7ed3f4e8
AS
43172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4318
4319 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4320 member.
4321 (_nss_files_init): Set it here.
4322
5c95f7b6
HC
43232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4324
4325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4326 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4327 unsigned.
4328
d34c9158
JBG
43292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4330
4331 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4332
2169712d
SP
43332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
4335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4336 size just once.
4337
29c5de99
DM
43382013-04-21 David S. Miller <davem@davemloft.net>
4339
4340 * po/ru.po: Update Russion translation from translation project.
4341
ccdad15d
AC
43422013-04-17 Adam Conrad <adconrad@0c3.net>
4343
4344 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4345 and setfsgid.
4346
0f122b8d
CD
43472013-04-17 Carlos O'Donell <carlos@redhat.com>
4348
5c5b07da 4349 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4350 * configure: Regenerate.
5c5b07da 4351 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4352 Add example to error message.
4353 * sysdeps/i386/configure: Regenerate.
4354
037714dd
SP
43552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4356
4357 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4358 slowtan.
4359 * benchtests/cos-inputs: New file.
4360 * benchtests/slowcos-inputs: New file.
4361 * benchtests/slowcos.c: New file.
4362 * benchtests/slowtan-inputs: New file.
4363 * benchtests/slowtan.c: New file.
4364 * benchtests/tan-inputs: New file.
4365
e913141d
RM
43662013-04-16 Roland McGrath <roland@hack.frob.com>
4367
4368 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4369 considered kosher.
4370
a2964074
SP
43712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4372
4856bcd2
SP
4373 * benchtests/Makefile: Include cppflags-iterator.mk to add
4374 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4375
a2964074
SP
4376 * Makefile.in (bench-clean): New target.
4377 * benchtests/Makefile (bench-clean): Likewise.
4378
9fbf9aca
DH
43792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4380
4381 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4382
207d1e2a
TS
43832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4384
4385 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4386
306dfba9
AS
43872013-04-15 Andreas Schwab <schwab@suse.de>
4388
4389 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4391 * nscd/pwdcache.c (cache_addpw): Likewise.
4392 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4393 more than recsize.
4394
206a6699
SP
43952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4396
4397 * benchtests/Makefile (bench): Write all output to
4398 bench-out.tmp together.
4399
0582f6b3
AS
44002013-04-15 Andreas Schwab <schwab@suse.de>
4401
4402 * nscd/nscd.c (main): Don't fork again after closing files.
4403
acb4325f
SP
44042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4405
5cb26d0a
SP
4406 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4407
acb4325f
SP
4408 * benchtests/Rules (bench-deps): Collect dependencies into a
4409 single variable. Add Makefile to dependencies.
4410 ($(objpfx)bench-%.c): Depend on bench-deps.
4411
47792506
RM
44122013-04-12 Roland McGrath <roland@hack.frob.com>
4413 Xavier Roche <roche+kml2@exalead.com>
4414
4415 [BZ #15361]
4416 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4417 just that it's a file descriptor.
4418 * manual/llio.texi (Synchronizing AIO Operations): Update description
4419 for EBADF error from aio_fsync.
4420
8fc1bee5
SP
44212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4423 * Rules (bench): Move target definition...
4424 * benchtests/Makefile: ... here.
4425
aba5e333
CD
44262013-04-11 Carlos O'Donell <carlos@redhat.com>
4427
4428 * math/libm-test.inc (cos_test): Fix PI/2 test.
4429 (sincos_test): Likewise.
4430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4431 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4432
273cdee8
AS
44332013-04-11 Andreas Schwab <schwab@suse.de>
4434
6ecec3b6
AS
4435 [BZ #13988]
4436 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4437 accept exponent character only when digits were seen.
4438 * stdio-common/Makefile (tests): Add bug26.
4439 * stdio-common/bug26.c: New file.
4440
273cdee8
AS
4441 [BZ #14293]
4442 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4443 non-freeable.
4444
8da491f5
SP
44452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4446
01dc6df9
SP
4447 * Makeconfig (rtld-prefix): Define built linker prefix.
4448 * Rules (run-bench): Use it.
4449 * math/Makefile (run-regen-ulps): Likewise.
4450
8da491f5
SP
4451 * Rules (bench): Remove eval.
4452
abe7f530
SP
44532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4454 Roland McGrath <roland@hack.frob.com>
4455 Ondrej Bilka <neleai@seznam.cz>
4456
4457 [BZ #15346]
4458 * time/getdate.c: Include ctype.h and alloca.h.
4459 (__getdate_r): Trim leading and trailing spaces of input.
4460 * time/tst-getdate.c (tests): Add tests with leading and
4461 trailing spaces.
4462
61c23e62
RM
44632013-04-08 Roland McGrath <roland@hack.frob.com>
4464
4465 [BZ #14280]
4466 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4467 when computing value.
4468
7208a313
CD
44692013-04-06 Carlos O'Donell <carlos@redhat.com>
4470
085b2d41
CD
4471 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4472 Use testrun.sh to run libm tests.
4473
7208a313
CD
4474 [BZ #15309]
4475 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4476
872c0acd
MM
44772013-04-06 Marko Myllynen <myllynen@redhat.com>
4478
4479 [BZ #15264]
4480 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4481
26510bdd
CD
44822013-04-06 Carlos O'Donell <carlos@redhat.com>
4483
4484 * Makefile.in (regen-ulps): New target.
4485 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4486 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4487 [ifneq (no,$(PERL)] (regen-ulps): New target.
4488 [ifeq (no,$(PERL)] (regen-ulps): New target.
4489 * math/libm-test.inc (ulps_file_name): Define.
4490 (output_dir): New variable.
4491 (options): Add "output-dir" option.
4492 (parse_opt): Handle 'o' case.
4493 (main): If output_dir is non-NULL use it as a prefix
4494 otherwise use "".
4495 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4496
a01f19c8
CD
44972013-04-06 Carlos O'Donell <carlos@redhat.com>
4498
4499 [BZ #10060, #10062]
4500 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4501 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4502 fail configure if __sync_val_compare_and_swap is not inlined.
4503 * sysdeps/i386/configure: Regenerate.
4504 * configure.in: Build for i686 when configured for i386.
4505 * configure: Regenerate.
4506 * README: Remove i386 reference.
4507
b7a329a5
CD
45082013-04-06 Carlos O'Donell <carlos@redhat.com>
4509
4510 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4512
bf0f50df
TS
45132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4514
ee091edf
TS
4515 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4516 (lmsnanval): New variables.
4517 (F): Add conversion tests.
4518 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4519 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4520
a8b792d6
TS
4521 * stdio-common/tstdiomisc.c (F): Properly collect individual
4522 tests' results.
4523
a1cbf437
TS
4524 [BZ #14686, #15336]
4525 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4526 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4527 Instead, use input NaN values or generate a qNaN by arithmetic
4528 operation. Also fix bugs to comply with the standard.
4529 * math/libm-test.inc (remainder_test): Add more tests.
4530
8b43a0c9
TS
4531 [BZ #15335, #15342]
4532 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4534 input NaN values or generate a qNaN by arithmetic operation.
4535
d91da4ce
TS
4536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4537 unreachable code.
4538
bf0f50df
TS
4539 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4540 definitions.
4541
05e166c8
JM
45422013-04-03 Joseph Myers <joseph@codesourcery.com>
4543
4544 [BZ #14478]
4545 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4546 underflowed result.
4547 * math/s_cexpf.c (__cexpf): Likewise.
4548 * math/s_cexpl.c (__cexpl): Likewise.
4549 * math/libm-test.inc (cexp_test): Add more tests.
4550
1cef1b19
AS
45512013-04-03 Andreas Schwab <schwab@suse.de>
4552
4553 [BZ #15330]
4554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4555 order arrays from heap if bigger than alloca cutoff.
4556
74d87055
TS
45572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4558
4559 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4560 (SNAN_TESTS_double): Refer to GCC PR56831.
4561 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4562 GCC PR56828.
4563
d755bba4
SP
45642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
90d5d5bb
SP
4566 * Rules (bench): Move bench.out after the run is complete.
4567
73e0cd5d
SP
4568 * Rules (bench): Echo currently running benchmark.
4569
64aabd4b
SP
4570 * benchtests/Makefile (bench): Add atan and slowatan.
4571 * benchtests/atan-inputs: New file.
4572 * benchtests/slowatan-inputs: New file.
4573 * benchtests/slowatan.c: New file.
4574
c871eccd
SP
4575 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4577 its value.
4578
d755bba4
SP
4579 [BZ #15305]
4580 * sysdeps/unix/sysv/linux/kernel-features.h
4581 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4582 __ASSUME_XFS_RESTRICTED_CHOWN.
4583 * sysdeps/unix/sysv/linux/pathconf.c
4584 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4585 Save and restore errno.
4586
52ce4860
JM
45872013-04-02 Joseph Myers <joseph@codesourcery.com>
4588
4589 [BZ #15327]
4590 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4591 arguments using __kernel_casinh.
4592 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4593 arguments using __kernel_casinhf.
4594 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4595 arguments using __kernel_casinhl.
4596 * math/libm-test.inc (cacosh_test): Add more tests.
4597 * sysdeps/i386/fpu/libm-test-ulps: Update.
4598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4599
81f311c2
SP
46002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4601
e7906a47
SP
4602 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4604
92e3664b
SP
4605 * bench/Makefile (bench): Add sin and slowsin.
4606 * benchtests/sin-inputs: New file.
4607 * benchtests/slowsin-inputs: New file.
4608 * benchtests/slowsin.c: New file.
4609
81f311c2
SP
4610 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4611 (bench): Add slowexp and slowpow.
4612 (exp-ITER): Increase iterations.
4613 (pow-ITER): Likewise.
4614 * benchtests/exp-inputs: Change input.
4615 * benchtests/pow-inputs: Likewise.
4616 * benchtests/slowexp-inputs: New file.
4617 * benchtests/slowexp.c: New file.
4618 * benchtests/slowpow-inputs: New file.
4619 * benchtests/slowpow.c: New file.
4620
ab0f1aa9
AZ
46212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4622
4623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4624 instructions.
4625 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4626 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4628 * benchtests/Makefile: Add rint benchtest.
4629 * benchtests/rint-inputs: Input for rint benchtest.
4630
57267616
TS
46312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4632
4633 * Versions.def (libm): Add GLIBC_2.18.
4634 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4635 hidden libm prototypes.
4636 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4637 * math/Makefile (libm-calls): Add s_issignaling.
4638 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4639 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4640 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4641 declaration.
4642 * math/math.h [__USE_GNU] (issignaling): New macro.
4643 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4644 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4646 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4649 * manual/arith.texi (issignaling): New section.
4650 * manual/libm-err-tab.pl (@all_functions): Update comment.
4651 * math/gen-libm-test.pl (parse_args): Apply special handling for
4652 issignaling.
4653 * math/libm-test.inc (print_float, issignaling_test): New
4654 functions.
4655 (check_float_internal): Add issignaling checks.
4656 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4657 default definition.
4658 * sysdeps/powerpc/math-tests.h: New file.
4659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4660 tests.
4661 * math/test-snan.c (TEST_FUNC): Likewise.
4662
6142896d
DM
46632013-03-30 David S. Miller <davem@davemloft.net>
4664
4665 * po/de.po: Update from translation team.
4666
ccc8cadf
JM
46672013-03-30 Joseph Myers <joseph@codesourcery.com>
4668
4669 [BZ #10357]
4670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4671 imaginary part less than 1.0 and real part less than 0.5
4672 specially.
4673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4676 (cacos_test): Add more tests.
4677 (casin_test): Likewise.
4678 (casinh_test): Likewise.
4679 * sysdeps/i386/fpu/libm-test-ulps: Update.
4680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4681
0f6a8d4b
SP
46822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4683
0d1029de
SP
4684 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4685 ONE with its value.
4686
c2d94018
SP
4687 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4688 (__pow_mp): Replace ONE and MONE with their values.
4689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4692 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4695
27ec37f1
SP
4696 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4697
a64d7e0e
SP
4698 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4699 (__pow_mp): Replace ZERO and MZERO with their values.
4700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4705 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4706 (__sqr): Likewise.
4707
d26dd3eb
SP
4708 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4709
0f6a8d4b
SP
4710 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4711
e57b0c61
RM
47122013-03-28 Roland McGrath <roland@hack.frob.com>
4713
4714 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4715 Declare with __attribute__ ((weak)).
4716 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4717 Call __call_tls_dtors only if it's not NULL.
4718
356b3480
RM
47192013-03-28 Roland McGrath <roland@hack.frob.com>
4720
288f7d79
RM
4721 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4722 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4723 magic __ehdr_start linker symbol if it's defined.
4724 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4725 them up here if it was already done.
4726
dc0a0263
RM
4727 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4728 (_dl_aux_init): Use const in cast when setting it.
4729 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4730 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4731 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4732
3d3436ae
RM
4733 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4734 Declare them here.
4735 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4736 * csu/libc-tls.c: Nor here.
4737 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4738
356b3480
RM
4739 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4740 (__libc_message): Never call vsyslog.
4741
b0f1246a
AM
47422013-03-28 Alan Modra <amodra@gmail.com>
4743
4744 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4745 Define as empty.
4746 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4747 Likewise.
4748
fbbe2b9a
AZ
47492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4750
4751 [BZ #15214]
4752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4753 underflow.
4754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4755
1728ab37
SP
47562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4757
7a86be6e
SP
4758 [BZ #15304]
4759 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4760 Don't add gid passed as argument.
4761
1728ab37
SP
4762 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4763
3a7182a1
JM
47642013-03-27 Joseph Myers <joseph@codesourcery.com>
4765
4766 [BZ #15307]
4767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4768 imaginary part between 1.0 and 1.5 and real part less than 0.5
4769 specially.
4770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4772 * math/libm-test.inc (cacos_test): Add more tests.
4773 (casin_test): Likewise.
4774 (casinh_test): Likewise.
4775 * sysdeps/i386/fpu/libm-test-ulps: Update.
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4777
6f2e90e7
SP
47782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
5739f705
SP
4780 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4781 constants.
4782 (norm): Likewise.
4783 (denorm): Likewise.
4784 (__dbl_mp): Likewise.
4785 (add_magnitudes): Likewise.
4786 (sub_magnitudes): Likewise.
4787 (__add): Likewise.
4788 (__sub): Likewise.
4789 (__mul): Likewise.
4790 (__sqr): Likewise.
4791 (__inv): Likewise.
4792 (__dvd): Likewise.
4793
e375e83d
SP
4794 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4795 commented code.
4796 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4797 (__dubcos): Likewise.
4798 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4799 (__ieee754_acos): Likewise.
4800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4802 (__exp1): Likewise.
4803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4805 (log1): Likewise.
4806 (my_log2): Likewise.
4807 (checkint): Likewise.
4808 * sysdeps/ieee754/dbl-64/e_remainder.c
4809 (__ieee754_remainder): Likewise.
4810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4812 (bsloww): Likewise.
4813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4814
6f2e90e7
SP
4815 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4817 MANTISSA_STORE_T to store computations on mantissa. Use
4818 macros for rounding and division.
4819 (denorm): Likewise.
4820 (__dbl_mp): Likewise.
4821 (add_magnitudes): Likewise.
4822 (sub_magnitudes): Likewise.
4823 (__mul): Likewise.
4824 (__sqr): Likewise.
4825 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4826 powers of two in terms of TWOPOW macro.
4827 (mp_no): Make type of mantissa as MANTISSA_T.
4828 [!RADIXI]: Define RADIXI.
4829 [!TWO52]: Define TWO52.
4830 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4831
fce14d4e
AZ
48322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4833
4834 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4835 llroundl symbol when building for PPC32.
4836
9ad027fb
MW
48372013-03-24 Mark H Weaver <mhw@netris.org>
4838
4839 * manual/arith.texi (Normalization Functions): Fix prototypes for
4840 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4841
e42a38dd
AZ
48422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4843
4844 [BZ #13889]
4845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4846 high value to check if expl overflow.
4847 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4848 to check for underflow and overflow.
4849 * math/libm-test.inc: Add exp test.
4850
2e0fb521
DL
48512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4852
4853 [BZ #11120]
4854 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4855 with NOT_IN_libc.
4856
b5784d95
AZ
48572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4858
4859 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4860 symbol.
4861
5aa4a1a1
TS
48622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4863
bdef0be7
TS
4864 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4865 wrap blocks consisting of several statements.
4866
5aa4a1a1
TS
4867 * sysdeps/generic/math-tests.h: New file.
4868 * sysdeps/i386/fpu/math-tests.h: Likewise.
4869 * math/test-snan.c: Include it.
4870 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4871
98c48fe5
JM
48722013-03-21 Joseph Myers <joseph@codesourcery.com>
4873
4874 [BZ #15285]
4875 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4876 (__ieee754_j0l): Do not improve calculations using cos of twice
4877 input for inputs above LDBL_MAX / 2.0L.
4878 (__ieee754_y0l): Likewise.
4879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4880 (__ieee754_j1l): Do not improve calculations using cos of twice
4881 input for inputs above LDBL_MAX / 2.0L.
4882 (__ieee754_y1l): Likewise.
4883 * math/libm-test.inc (j0_test): Add another test.
4884 (j1_test): Likewise.
4885 (y0_test): Likewise.
4886 (y1_test): Likewise.
4887 * sysdeps/i386/fpu/libm-test-ulps: Update.
4888
3775a8bc
SP
48892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4890
4891 * Rules ($(objpfx)bench-%.c): Include code from a C source
4892 file.
4893
0a1b2ae6
JM
48942013-03-21 Joseph Myers <joseph@codesourcery.com>
4895
4896 [BZ #15287]
4897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4898 imaginary part 1.0 and real part less than 0.5 specially.
4899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4901 * math/libm-test.inc (cacos_test): Add more tests.
4902 (casin_test): Likewise.
4903 (casinh_test): Likewise.
4904 * sysdeps/i386/fpu/libm-test-ulps: Update.
4905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4906
b33d4ce4
SP
49072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4908
4909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4910 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4911
bef0b507
JM
49122013-03-20 Joseph Myers <joseph@codesourcery.com>
4913
4914 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4915 * config.make.in (config-cflags-sse4): Remove variable.
4916 (config-cflags-avx): Likewise.
4917 (config-cflags-sse2avx): Likewise.
4918 (config-cflags-novzeroupper): Likewise.
4919 (config-asflags-i686): Likewise.
4920 (have-mfma4): Likewise.
4921 (have-as-vis3): Likewise.
4922 (MIG): Likewise.
4923 * configure.in (MIG): Do not AC_SUBST.
4924 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4925 (libc_cv_cc_sse4): Do not AC_SUBST.
4926 (libc_cv_cc_avx): Likewise.
4927 (libc_cv_cc_sse2avx): Likewise.
4928 (libc_cv_cc_novzeroupper): Likewise.
4929 (libc_cv_cc_fma4): Likewise.
4930 (libc_cv_as_i686): Likewise.
4931 (libc_cv_sparc_as_vis3): Likewise.
4932 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4933 LIBC_CONFIG_VAR.
4934 (config-asflags-i686): Likewise.
4935 (config-cflags-avx): Likewise.
4936 (config-cflags-sse2avx): Likewise.
4937 (have-mfma4): Likewise.
4938 (config-cflags-novzeroupper): Likewise.
4939 * sysdeps/mach/configure.in (MIG): Likewise.
4940 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4941 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4942 LIBC_CONFIG_VAR.
4943 (config-cflags-avx): Likewise.
4944 (config-cflags-sse2avx): Likewise.
4945 (have-mfma4): Likewise.
4946 (config-cflags-novzeroupper): Likewise.
4947 * configure: Regenerated.
4948 * sysdeps/i386/configure: Likewise.
4949 * sysdeps/mach/configure: Likewise.
4950 * sysdeps/sparc/configure: Likewise.
4951 * sysdeps/x86_64/configure: Likewise.
4952
912cc4b3
RM
49532013-03-20 Roland McGrath <roland@hack.frob.com>
4954
4955 [BZ #14812]
4956 * locale/programs/localedef.c (options): Put N_ translation marker
4957 on argument names, not just descriptions.
4958
04eed2b0
MS
49592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4960
4961 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4962
a065ceff
OB
49632013-03-20 Ondřej Bílka <neleai@seznam.cz>
4964
9bb2a810 4965 [BZ #14176]
a065ceff
OB
4966 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4967
a600e5ce
RM
49682013-03-19 Roland McGrath <roland@hack.frob.com>
4969
4970 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4971 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4972 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4973 [!BEFORE_ABORT] (before_abort): New function.
4974 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4975 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4976 (writev_for_fatal): New function.
4977 (WRITEV_FOR_FATAL): New macro; call that.
4978 (backtrace_and_maps): New function.
4979 (BEFORE_ABORT): New macro; call that.
4980 (struct str_list): Type removed.
4981 (__libc_message, __libc_fatal): Functions removed.
4982 Include <sysdeps/posix/libc_fatal.c> instead.
4983
6b18bea6
JM
49842013-03-19 Joseph Myers <joseph@codesourcery.com>
4985
4986 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4987 constants.
4988 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4989 double constants.
4990
aaa8cb4b
AS
49912013-03-19 Andreas Schwab <schwab@suse.de>
4992
44673770
AS
4993 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4994 * sysdeps/gnu/configure: Regenerate.
4995
aaa8cb4b
AS
4996 * configure.in: Substitute libc_cv_rtlddir.
4997 * configure: Regenerate.
4998 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4999 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5000 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5001 * elf/Makefile (install-others, CFLAGS-interp.c)
5002 (ldso_install, common-ldd-rewrite): Likewise.
5003 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5004 $(inst_slibdir)/$(rtld-installed-name).
5005 * scripts/rellns-sh: Add -p option.
5006 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5007 for source.
5008
d3cfc668
SP
50092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5010
5011 * manual/nptl.texi: Renamed to ...
5012 * manual/threads.texi: ... this.
5013 * manual/Makefile (chapters): Update.
5014
0e2b9cdd
RM
50152013-03-18 Roland McGrath <roland@hack.frob.com>
5016
5017 [BZ #14812]
5018 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5019 on argument names, not just descriptions.
0e2b9cdd
RM
5020 * malloc/memusagestat.c (options): Likewise.
5021 * nss/getent.c (options): Likewise.
63270c24
RM
5022
50232013-03-18 Benno Schulenberg <bensberg@justemail.net>
5024
5025 [BZ #14812]
5026 * iconv/iconv_prog.c (options): Put N_ translation marker
5027 on argument names, not just descriptions.
5028 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5029
b2e1393c
OB
50302013-03-18 Ondrej Bilka <neleai@seznam.cz>
5031
5032 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5033 implementation which is faster on all x86_64 architectures.
5034 Tested on AMD, Intel Nehalem, SNB, IVB.
5035 * sysdeps/x86_64/strnlen.S: Likewise.
5036
5037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5038 Remove all multiarch strlen and strnlen versions.
5039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5040 Remove strlen and strnlen related parts.
5041
5042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5043 Inline strlen part.
5044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5045
5046 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5047 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5049 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5050 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5051 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5052
ec4ff04d
CD
50532013-03-17 Carlos O'Donell <carlos@redhat.com>
5054
5055 * manual/memory.texi (Malloc Tunable Parameters):
5056 Sort parameters alphabetically. Add comments for missing entries.
5057
cd18e90a
DM
50582013-03-17 David S. Miller <davem@davemloft.net>
5059
5060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5061
2a185d32
JM
50622013-03-16 Joseph Myers <joseph@codesourcery.com>
5063
d2f9799e
JM
5064 [BZ #15283]
5065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5066 for arguments at most half maximum finite value.
5067 * math/libm-test.inc (j0_test): Add more tests.
5068 (j1_test): Likewise.
5069 (y0_test): Likewise.
5070 (y1_test): Likewise.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5073
2a185d32
JM
5074 [BZ #14155]
5075 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5076 1 / x and functions P and Q for arguments above 0x1p256L.
5077 (__ieee754_y0l): Likewise.
5078 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5079 (__ieee754_y1l): Likewise.
5080 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5081 (j1_test): Likewise.
5082 (y0_test): Likewise.
5083 (y1_test): Likewise.
5084
6cbec759
TS
50852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5086
5087 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5088 variable.
5089
bc16e260
RM
50902013-03-15 Roland McGrath <roland@hack.frob.com>
5091
aefc9b8c
RM
5092 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5093 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5094 zero since it's initialized to EXEC_PAGESIZE.
5095
bc16e260
RM
5096 * sysdeps/unix/sysv/linux/ldsodefs.h
5097 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5098 * sysdeps/generic/ldsodefs.h: ... here.
5099
a57da955
TS
51002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5101
af00a34d
TS
5102 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5103
495ded2c
TS
5104 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5105 math/test-snan.c.
5106 * math/test-snan.c: Renamed from
5107 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5108 * math/Makefile (tests): Add test-snan.
5109 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5110 test-powerpc-snan.
5111
777b0332
TS
5112 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5113 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5114 functions.
5115 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5116 __builtin_nan family of functions.
5117 * math/libm-test.inc (initialize): Initialize qnan_value with
5118 __builtin_nan family of functions.
5119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5120 Remove variables.
5121 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5122 Remove functions.
5123 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5124 storage class. Initialize qNaN_var and sNaN_var with
5125 __builtin_nan and __builtin_nans families of functions,
5126 respectively.
5127
64d063b8
TS
5128 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5129 (sqrt_test): Remove duplicate test with qNaN input.
5130 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5131 (round_test, signbit_test, significand_test): Note missing +/-Inf
5132 as well as qNaN tests.
5133
67e971f1
TS
5134 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5135 qNaN_var. Fix a few strings, too.
5136 * math/libm-test.inc (nan_value): Rename to qnan_value.
5137 * math/gen-libm-test.pl (%beautify): Adjust to that.
5138 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5139 * math/test-misc.c (main): Likewise.
5140 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5141 to __qnan_bytes, and __qnan_union, respectively.
5142 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5143 Likewise.
5144 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5145 and lqnanval, respectively.
5146 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5147 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5148 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5149 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5150
64487e12
TS
5151 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5152 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5153 doubles.
5154
e015e27b
TS
5155 * math/test-misc.c (main): Fix copy'n'pastos.
5156 * misc/tst-efgcvt.c (special): Likewise.
5157
a57da955
TS
5158 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5159 Remove declarations.
5160
1e380345
SP
51612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5162
5163 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5164 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5165 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5167
ef26eece
AZ
51682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5169
5170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5171 macro to return vdso values correctly in IFUNC implementations.
5172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5173 Optimization by using IFUNC.
5174
8cfdb7e0
SP
51752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5176 Richard Henderson <rth@redhat.com>
5177 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5178
5179 * Makefile.in (bench): New target.
5180 * NEWS: Mention the benchmark framework.
5181 * Rules (bench): Likewise.
5182 (binaries-bench): Generate binaries for functions to
5183 benchmark.
5184 * benchtests/Makefile: New makefile for benchmark tests.
5185 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5186 programs.
5187 * benchtests/exp-inputs: New input file for EXP function.
5188 * benchtests/pow-inputs: New input file for POW function.
5189 * scripts/bench.pl: New script to generate source files for
5190 benchmark programs.
5191
bcda9880
SP
51922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5193
d22ca8cd
SP
5194 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5196 computations on mantissa. Use macros for rounding and
5197 division.
5198 (denorm): Likewise.
5199 (__dbl_mp): Likewise.
5200 (add_magnitudes): Likewise.
5201 (sub_magnitudes): Likewise.
5202 (__mul): Likewise.
5203 (__sqr): Likewise.
5204 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5205 powers of two in terms of TWOPOW macro.
5206 (mp_no): Make type of mantissa as MANTISSA_T.
5207 [!RADIXI]: Define RADIXI.
5208 [!TWO52]: Define TWO52.
5209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5210
bcda9880
SP
5211 * manual/nptl.texi (cindex): Modify threads to pthreads.
5212
06d5adfb
JM
52132013-03-15 Joseph Myers <joseph@codesourcery.com>
5214
5215 * sysdeps/x86_64/preconfigure: Regenerated.
5216
41c7328e
JM
52172013-03-14 Joseph Myers <joseph@codesourcery.com>
5218
5219 [BZ #14155]
5220 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5221 0x1p28 and above.
5222 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5223 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5224 0x1p28 and above.
5225 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5226 * math/libm-test.inc (j0_test): Do not allow one spurious
5227 underflow exception.
5228 (y1_test): Likewise.
5229
e25cfa60
SP
52302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
0409959c
SP
5232 * manual/Makefile (chapters): Add nptl.
5233 * manual/debug.texi (Debugging Support): Add link to Threads
5234 chapter.
5235 * manual/nptl.texi: New file.
5236
e25cfa60
SP
5237 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5238
58a1335e
PB
52392013-03-14 Petr Baudis <pasky@ucw.cz>
5240
5241 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5242 for non-NULL pointer before the memory validity test. Pointed
5243 out by Holger Brunck <holger.brunck@keymile.com>.
5244
9dc7c64f
AS
52452013-03-13 Andreas Schwab <schwab@suse.de>
5246
5247 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5248 instead of .os.
5249
54206aa6
JM
52502013-03-13 Joseph Myers <joseph@codesourcery.com>
5251
5252 * timezone/zic.c: Update from tzcode 2013b.
5253
e98cdb38
CD
52542013-03-12 Carlos O'Donell <carlos@redhat.com>
5255
5256 * manual/install.texi (Configuring and compiling):
5257 Mention i686 and i586.
5258 * INSTALL: Regenerate.
5259
9967e003
RM
52602013-03-12 Roland McGrath <roland@hack.frob.com>
5261
5262 * sysdeps/init_array/elf-init.c: New file.
5263 * csu/elf-init.c
5264 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5265 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5266
5267 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5268 __gmon_start__ as global, but as static with a .preinit_array pointer.
5269 * sysdeps/init_array/gmon-start.c: New file. Use that.
5270 * sysdeps/init_array/crti.S: New file, empty except for comments.
5271 * sysdeps/init_array/crtn.S: Likewise.
5272
e6b5a293 52732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5274
5275 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5276 definining bcopy.
80f844c9
OB
5277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5278 Remove Prefer_SSE_for_memop.
5279 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5280 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5281 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5283 memset-x86-64.
80f844c9 5284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5285 Remove bzero, memset ifunc support.
80f844c9
OB
5286 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5288 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5289 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5290
fb6b0fcb
AS
52912013-03-11 Andreas Schwab <schwab@suse.de>
5292
5293 [BZ #15234]
5294 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5295 by SHLIB_COMPAT.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5297 (GLIBC_2.16): Remove pthread_atfork.
5298
3e6bd4b1
PP
52992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5300
5301 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5302 (ptestcases.h): Likewise.
5303
222d7f00
RM
53042013-03-08 Roland McGrath <roland@hack.frob.com>
5305
5306 * Makeconfig ($(common-objpfx)config.status): Depend on
5307 sysdeps/*/preconfigure{,.in} too.
5308
1ba4f030
JM
53092013-03-08 Joseph Myers <joseph@codesourcery.com>
5310
a222d91a
JM
5311 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5312 (__free_hook): Use void * instead of __malloc_ptr_t.
5313 (__malloc_hook): Likewise.
5314 (__realloc_hook): Likewise.
5315 (__memalign_hook): Likewise.
5316 (__after_morecore_hook): Likewise.
5317 * malloc/arena.c (save_malloc_hook): Likewise.
5318 (save_free_hook): Likewise.
5319 * malloc/hooks.c (malloc_hook_ini): Likewise.
5320 (realloc_hook_ini): Likewise.
5321 (memalign_hook_ini): Likewise.
5322 * malloc/malloc.c (malloc_hook_ini): Likewise.
5323 (realloc_hook_ini): Likewise.
5324 (memalign_hook_ini): Likewise.
5325 (__free_hook): Likewise.
5326 (__malloc_hook): Likewise.
5327 (__realloc_hook): Likewise.
5328 (__memalign_hook): Likewise.
5329 (__libc_malloc): Likewise.
5330 (__libc_free): Likewise.
5331 (__libc_realloc): Likewise.
5332 (__libc_memalign): Likewise.
5333 (__libc_valloc): Likewise.
5334 (__libc_pvalloc): Likewise.
5335 (__libc_calloc): Likewise.
5336 (__posix_memalign): Likewise.
5337 * malloc/morecore.c (__sbrk): Likewise.
5338 (__default_morecore): Likewise.
5339
5cc45e10
JM
5340 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5341
dd54b864
JM
5342 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5343 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5344 __malloc_ptrdiff_t.
5345
1ba4f030
JM
5346 * malloc/malloc.h (__malloc_size_t): Remove macro.
5347 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5348 __malloc_size_t.
5349 (old_memalign_hook): Likewise.
5350 (old_realloc_hook): Likewise.
5351 (struct hdr): Likewise.
5352 (flood): Likewise.
5353 (mallochook): Likewise.
5354 (memalignhook): Likewise.
5355 (reallochook): Likewise.
5356 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5357 (tr_old_realloc_hook): Likewise.
5358 (tr_old_memalign_hook): Likewise.
5359 (tr_mallochook): Likewise.
5360 (tr_reallochook): Likewise.
5361 (tr_memalignhook): Likewise.
5362
edf66e57
AZ
53632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5364
5365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5366 default_ldbl_pack and using as default implementation.
5367 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5368 implementation.
5369 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5370 redundant definition.
5371 (ldbl_insert_mantissa): Likewise.
5372 (ldbl_canonicalize): Likewise.
5373 (ldbl_nearbyint): Likewise.
5374 (ldbl_pack): Rename to ldbl_pack_ppc.
5375 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5376 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5377 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5378
6d9145d8
SP
53792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5380
5381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5382 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5384 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5387 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5388 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5389
4dd4e157
AJ
53902013-03-07 Andreas Jaeger <aj@suse.de>
5391
5392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5393 bits/mman-linux.h.
5394
adbb8027
SP
53952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5396
ce544b5b
SP
5397 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5398 Include mpa.h and declare __MPEXP.
5399 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5401 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5404 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5406
4cc149fd
SP
5407 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5408 (__slowpow): Use long double EXPL and LOGL functions to
5409 compute POW.
5410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5411 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5414 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5416
e6ebd4a7
SP
5417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5418 intermediate variable to calculate exponent.
5419 (__sqr): Likewise.
5420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5421 Likewise.
5422 (__sqr): Likewise.
5423
82a9811d
SP
5424 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5425 [!NO__SQR]: Define __sqr.
5426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5427 and NO__SQR. Remove all code except __mul and __sqr. Include
5428 sysdeps/ieee754/dbl-64/mpa.c.
5429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5430
adbb8027
SP
5431 [BZ #12723]
5432 * posix/Makefile (tests): Add tst-pathconf.
5433 * posix/tst-pathconf.c: New test case.
5434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5435 _PC_PIPE_BUF.
5436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5437
39120df9
PF
54382013-03-06 Patsy Franklin <pfrankli@redhat.com>
5439
5440 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5441
67525cb8
AJ
54422013-03-06 Andreas Jaeger <aj@suse.de>
5443
664a9ce4
AJ
5444 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5445 definition via __MAP_ANONYMOUS.
5446
8e39047d
AJ
5447 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5448 it's not part of Linux headers.
5449
67525cb8
AJ
5450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5451 (MAP_HUGE_MASK): Define.
5452
5453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5454 Define.
5455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5457 Define.
5458 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5459 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5460 Define.
5461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5463 Define.
5464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5465
5466 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5467 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5468 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5469 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5470 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5472
5473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5474 Handle f2fs.
5475
5476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5477 Handle f2fs and efivarfs.
5478
5479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5480 f2fs.
5481
5482 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5483 (EFIVARFS_MAGIC): Add.
5484 (F2FS_LINK_MAX): Add.
5485
e1b42695
PP
54862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5487
5488 * stdio-common/vfprintf.c: Replace __builtin_expect with
5489 __glibc_unlikely.
5490
2d67d91a
JM
54912013-03-06 Joseph Myers <joseph@codesourcery.com>
5492
5493 [BZ #13550]
5494 * sysdeps/generic/bp-sym.h: Remove file.
5495 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5496 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5497 <bp-sym.h> and <bp-asm.h>.
5498 (__longjmp): Don't use BP_SYM.
5499 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5500 and <bp-asm.h>.
5501 (memcpy): Don't use BP_SYM.
5502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5503 <bp-sym.h> and <bp-asm.h>.
5504 (memcpy): Don't use BP_SYM.
5505 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5506 <bp-asm.h>.
5507 (memcpy): Don't use BP_SYM.
5508 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5509 <bp-asm.h>.
5510 (memset): Don't use BP_SYM.
5511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5513 (__bzero): Don't use BP_SYM.
5514 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5515 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5517 <bp-sym.h> and <bp-asm.h>.
5518 (memcmp): Don't use BP_SYM. Remove comment about bounded
5519 pointers.
5520 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5521 <bp-sym.h> and <bp-asm.h>.
5522 (memcpy): Don't use BP_SYM.
5523 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5524 <bp-sym.h> and <bp-asm.h>.
5525 (memset): Don't use BP_SYM.
5526 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5527 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5528 (__bzero): Don't use BP_SYM.
5529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5532 <bp-sym.h> and <bp-asm.h>.
5533 (strncmp): Don't use BP_SYM. Remove comment about bounded
5534 pointers.
5535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5536 <bp-sym.h> and <bp-asm.h>.
5537 (memcpy): Don't use BP_SYM.
5538 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5539 <bp-sym.h> and <bp-asm.h>.
5540 (memset): Don't use BP_SYM.
5541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5543 (__bzero): Don't use BP_SYM.
5544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5547 <bp-sym.h> and <bp-asm.h>.
5548 (__memchr): Don't use BP_SYM.
5549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5550 <bp-sym.h> and <bp-asm.h>.
5551 (memcmp): Don't use BP_SYM. Remove comment about bounded
5552 pointers.
5553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5554 <bp-sym.h> and <bp-asm.h>.
5555 (memcpy): Don't use BP_SYM.
5556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5557 <bp-sym.h> and <bp-asm.h>.
5558 (__mempcpy): Don't use BP_SYM.
5559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5560 <bp-sym.h> and <bp-asm.h>.
5561 (__memrchr): Don't use BP_SYM.
5562 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5563 <bp-sym.h> and <bp-asm.h>.
5564 (memset): Don't use BP_SYM.
5565 (__bzero): Likewise.
5566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5567 <bp-sym.h> and <bp-asm.h>.
5568 (__rawmemchr): Don't use BP_SYM.
5569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5570 <bp-sym.h> and <bp-asm.h>.
5571 (__STRCMP): Don't use BP_SYM.
5572 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5573 <bp-sym.h> and <bp-asm.h>.
5574 (strchr): Don't use BP_SYM.
5575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5576 <bp-sym.h> and <bp-asm.h>.
5577 (__strchrnul): Don't use BP_SYM.
5578 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5579 <bp-sym.h> and <bp-asm.h>.
5580 (strlen): Don't use BP_SYM.
5581 * sysdeps/powerpc/powerpc64/power7/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/power7/strnlen.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (__strnlen): Don't use BP_SYM.
5588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5589 <bp-sym.h> and <bp-asm.h>.
5590 (__GI__setjmp): Don't use BP_SYM.
5591 (_setjmp): Likewise.
5592 (__sigsetjmp): Likewise.
5593 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5594 (L(start_addresses)): Don't use BP_SYM.
5595 (_start): Likewise.
5596 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5597 <bp-asm.h>.
5598 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5599 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5600 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5601 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5602 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5603 <bp-asm.h>.
5604 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5605 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5606 about bounded pointers.
5607 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5608 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5609 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5610 <bp-asm.h>.
5611 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5612 about bounded pointers. Remove GKM FIXME comments.
5613 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5614 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5615 <bp-asm.h>.
5616 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5617 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5618 Remove GKM FIXME comments.
5619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5621 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5622 <bp-asm.h>.
5623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5624 about bounded pointers. Remove GKM FIXME comment.
5625 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5626 and <bp-asm.h>.
5627 (strncmp): Don't use BP_SYM. Remove comment about bounded
5628 pointers.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5630 <bp-sym.h> and <bp-asm.h>.
5631 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5633 <bp-sym.h> and <bp-asm.h>.
5634 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5635 comment.
5636
cdcf361f
PP
56372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5638
5639 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5640 call free(NULL).
5641
3c4a2b15
DM
56422013-03-05 David S. Miller <davem@davemloft.net>
5643
5644 * po/es.po: Update from translation team.
5645
cdcf361f 56462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5647
5648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5649 <bits/mman-linux.h>.
5650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5651 is fine.
5652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5653 <bits/mman-linux.h> to end of file.
5654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5655 is fine.
5656 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5657 <bits/mman-linux.h> to end of file.
5658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5659 is fine.
5660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5661 <bits/mman-linux.h> to end of file.
5662
5663 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5664 (MCL_CURRENT, MCL_FUTURE): Define here.
5665
5f67c04f
AK
56662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5667
8a4473cc 5668 [BZ #15232]
5f67c04f
AK
5669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5670 attribute_hidden.
5671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5672
c3e94a95
AK
56732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5674
5675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5676 fourth parameter needed for rt_sigprocmask syscall.
5677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5681 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5682 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5683
cfb6382a
JM
56842013-03-04 Joseph Myers <joseph@codesourcery.com>
5685
5686 [BZ #13550]
5687 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5688 comment about bounded pointers.
5689 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5690 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5691
539d8e01
AJ
56922013-03-04 Andreas Jaeger <aj@suse.de>
5693
5694 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5695 common definitions.
5696
5697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5698 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5703
2e167a70 57042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5705
5706 [BZ #15055]
5707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5708 __ieee754_sqrl instead of __sqrl.
5709
68508633
JM
57102013-03-01 Joseph Myers <joseph@codesourcery.com>
5711
5712 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5713 * sysdeps/powerpc/fpu_control.h: ... here.
5714 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5715 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5716 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5717 * sysdeps/powerpc/bits/mathinline.h: ... here.
5718
7775448e
RM
57192013-03-01 Roland McGrath <roland@hack.frob.com>
5720
5721 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5722 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5723 to just [NEED_DL_SYSINFO_DSO].
5724 * elf/dl-support.c: Likewise.
5725 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5726 * elf/rtld.c (dl_main): Likewise.
5727 * elf/setup-vdso.h (setup_vdso): Likewise.
5728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5729 * sysdeps/unix/sysv/linux/dl-sysdep.c
5730 (_dl_discover_osversion): Likewise.
5731
4e9b5995
CD
57322013-03-01 Carlos O'Donell <carlos@redhat.com>
5733
5734 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5735 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5736
e23872c8
SP
57372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5738
e5c74c63
SP
5739 * NEWS: Mention libm performance improvements and non-x86 PI
5740 futex support.
5741
e23872c8
SP
5742 * csu/libc-start.c (__pthread_initialize_minimal): Change
5743 function arguments.
5744 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5745
b5510883
JM
57462013-02-28 Joseph Myers <joseph@codesourcery.com>
5747
5748 [BZ #13550]
5749 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5750 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5751 <bp-sym.h> and <bp-asm.h>.
5752 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5754 and <bp-asm.h>.
5755 (memcpy): Don't use BP_SYM.
5756 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5757 <bp-asm.h>.
5758 (__mpn_add_n): Don't use BP_SYM.
5759 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5760 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5761 and <bp-asm.h>.
5762 (__mpn_addmul_1): Don't use BP_SYM.
5763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5764 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5765 <bp-sym.h>.
5766 (_setjmp): Don't use BP_SYM.
5767 (__novmx_setjmp): Likewise.
5768 (__GI__setjmp): Likewise.
5769 (__vmx_setjmp): Likewise.
5770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5771 <bp-sym.h>.
5772 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5773 (__bzero): Don't use BP_SYM.
5774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5777 <bp-sym.h> and <bp-asm.h>.
5778 (memcpy): Don't use BP_SYM.
5779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5780 <bp-sym.h> and <bp-asm.h>.
5781 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5782 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5783 <bp-sym.h> and <bp-asm.h>.
5784 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5785 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5786 <bp-asm.h>.
5787 (__mpn_lshift): Don't use BP_SYM.
5788 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5789 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5790 <bp-asm.h>.
5791 (memset): Don't use BP_SYM.
5792 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5793 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5794 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5795 <bp-asm.h>.
5796 (__mpn_mul_1): Don't use BP_SYM.
5797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5799 <bp-sym.h> and <bp-asm.h>.
5800 (memcmp): Don't use BP_SYM.
5801 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5802 <bp-sym.h> and <bp-asm.h>.
5803 (memcpy): Don't use BP_SYM.
5804 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5805 <bp-sym.h> and <bp-asm.h>.
5806 (memset): Don't use BP_SYM.
5807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5808 <bp-sym.h> and <bp-asm.h>.
5809 (strncmp): Don't use BP_SYM.
5810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5811 <bp-sym.h> and <bp-asm.h>.
5812 (memcpy): Don't use BP_SYM.
5813 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5814 <bp-sym.h> and <bp-asm.h>.
5815 (memset): Don't use BP_SYM.
5816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5817 <bp-sym.h> and <bp-asm.h>.
5818 (__memchr): Don't use BP_SYM.
5819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5820 <bp-sym.h> and <bp-asm.h>.
5821 (memcmp): Don't use BP_SYM.
5822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5823 <bp-sym.h> and <bp-asm.h>.
5824 (memcpy): Don't use BP_SYM.
5825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5826 <bp-sym.h> and <bp-asm.h>.
5827 (__mempcpy): Don't use BP_SYM.
5828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5829 <bp-sym.h> and <bp-asm.h>.
5830 (__memrchr): Don't use BP_SYM.
5831 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5832 <bp-sym.h> and <bp-asm.h>.
5833 (memset): Don't use BP_SYM.
5834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5835 <bp-sym.h> and <bp-asm.h>.
5836 (__rawmemchr): Don't use BP_SYM.
5837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5838 <bp-sym.h> and <bp-asm.h>.
5839 (__STRCMP): Don't use BP_SYM.
5840 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5841 <bp-sym.h> and <bp-asm.h>.
5842 (strchr): Don't use BP_SYM.
5843 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5844 <bp-sym.h> and <bp-asm.h>.
5845 (__strchrnul): Don't use BP_SYM.
5846 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5847 <bp-sym.h> and <bp-asm.h>.
5848 (strlen): Don't use BP_SYM.
5849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5850 <bp-sym.h> and <bp-asm.h>.
5851 (strncmp): Don't use BP_SYM.
5852 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5853 <bp-sym.h> and <bp-asm.h>.
5854 (__strnlen): Don't use BP_SYM.
5855 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5856 <bp-asm.h>.
5857 (__mpn_rshift): Don't use BP_SYM.
5858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5859 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5860 <bp-sym.h> and <bp-asm.h>.
5861 (__sigsetjmp): Don't use BP_SYM.
5862 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5863 (L(start_addresses)): Don't use BP_SYM.
5864 (_start): Likewise.
5865 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5866 <bp-asm.h>.
5867 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5868 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5869 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5870 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5871 <bp-asm.h>.
5872 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5873 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5874 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5875 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5876 <bp-asm.h>.
5877 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5878 comments.
5879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5880 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5881 <bp-asm.h>.
5882 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5883 FIXME comments.
5884 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5885 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5886 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5887 <bp-asm.h>.
5888 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5889 comment.
5890 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5891 and <bp-asm.h>.
5892 (strncmp): Don't use BP_SYM,
5893 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5894 <bp-asm.h>.
5895 (__mpn_sub_n): Don't use BP_SYM.
5896 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5897 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5898 and <bp-asm.h>.
5899 (__mpn_submul_1): Don't use BP_SYM.
5900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5902 <bp-sym.h> and <bp-asm.h>.
5903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5905 <bp-sym.h> and <bp-asm.h>.
5906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5907 comment.
5908
8d19fe64
SP
59092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5910
5911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5912 Use ZK to minimize writes to Z.
5913 (sub_magnitudes): Simplify code a bit.
5914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5915 Use ZK to minimize writes to Z.
5916 (sub_magnitudes): Simplify code a bit.
5917
85bd816a
RM
59182013-02-27 Roland McGrath <roland@hack.frob.com>
5919
5920 * csu/gmon-start.c: Add special exception to license text.
5921
b5977bf2
RH
59222013-02-27 Richard Henderson <rth@redhat.com>
5923
5924 * scripts/config.guess: Update from config.git.
5925 * scripts/config.sub: Likewise.
5926
11d6e2f2
SP
59272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5928
09c14ed2
SP
5929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5930
a688864e
SP
5931 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5932
6295157a
SP
5933 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5934
b8de2202
SP
5935 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5936
11d6e2f2
SP
5937 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5938
7e80ddb8
RM
59392013-02-26 Roland McGrath <roland@hack.frob.com>
5940
5941 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5942 [$(build-shared = yes].
7e80ddb8 5943
7da6d9ed
SP
59442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5945
45f05884
SP
5946 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5947 (__mul): Reduce iterations for calculating mantissa.
5948
2236d359
SP
5949 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5950 MPTWO.
5951 (__mpranred): Likewise.
5952
7da6d9ed
SP
5953 [BZ #15160]
5954 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5955 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5956
b7688c42
PE
59572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5958
5959 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5960 Define __attribute__.
5961
53a5c423
SP
59622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5963
5964 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5965 unused.
5966 * posix/regex_internal.h (__attribute): Remove.
5967 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5968 (re_string_context_at): Likewise.
5969 (bitset_not): Use __attribute__ and mark function as possibly
5970 unused.
5971 (bitset_merge): Likewise.
5972 (bitset_mask): Likewise.
5973 (re_string_char_size_at): Likewise.
5974 (re_string_wchar_at): Likewise.
5975 (re_string_elem_size_at): Likewise.
5976
60f5a8b5
SP
59772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
2a983a2e
SP
5979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5980 code.
5981 (cc32): Likewise.
5982
e69804d1
SP
5983 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5984 (__acr): Likewise.
5985 (__cpy): Likewise.
5986 (norm): Likewise.
5987 (denorm): Likewise.
5988 (__dbl_mp): Likewise.
5989 (add_magnitudes): Likewise.
5990 (sub_magnitudes): Likewise.
5991 (__mul): Likewise.
5992 (__inv): Likewise.
5993
2f22a1e8
SP
5994 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5995 style.
5996
8930ddc7
SP
5997 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5998 style.
5999
dc60cb11
SP
6000 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6001 code.
6002
60f5a8b5
SP
6003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6004 up changes with default code.
6005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6006 Likewise.
6007
b4d1fd33
AM
60082013-02-24 Allan McRae <allan@archlinux.org>
6009
faf6f8bc
AM
6010 * manual/socket.texi (The Internet Namespace): Order menu items
6011 to match that in the file.
6012
b4d1fd33
AM
6013 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6014 node listing of the info page menu.
6015
2366713d
JM
60162013-02-21 Joseph Myers <joseph@codesourcery.com>
6017
6018 [BZ #13550]
6019 * sysdeps/i386/bp-asm.h: Remove file.
6020 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6021 (PARMS): Do not use macros from bp-asm.h.
6022 (S1): Likewise.
6023 (S2): Likewise.
6024 (SIZE): Likewise.
6025 (__mpn_add_n): Do not use BP_SYM
6026 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6027 "bp-asm.h".
6028 (PARMS): Do not use macros from bp-asm.h.
6029 (S1): Likewise.
6030 (SIZE): Likewise.
6031 (__mpn_addmul_1): Do not use BP_SYM
6032 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6033 "bp-asm.h".
6034 (PARMS): Do not use macros from bp-asm.h.
6035 (SIGMSK): Likewise.
6036 (_setjmp): Likewise. Do not use BP_SYM.
6037 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6038 "bp-asm.h".
6039 (PARMS): Do not use macros from bp-asm.h.
6040 (SIGMSK): Likewise.
6041 (setjmp): Likewise. Do not use BP_SYM.
6042 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6043 "bp-asm.h".
6044 (PARMS): Do not use macros from bp-asm.h.
6045 (__frexp): Do not use BP_SYM.
6046 (frexp): Likewise.
6047 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6048 "bp-asm.h".
6049 (PARMS): Do not use macros from bp-asm.h.
6050 (__frexpf): Do not use BP_SYM.
6051 (frexpf): Likewise.
6052 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6053 "bp-asm.h".
6054 (PARMS): Do not use macros from bp-asm.h.
6055 (__frexpl): Do not use BP_SYM.
6056 (frexpl): Likewise.
6057 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6058 "bp-asm.h".
6059 (PARMS): Do not use macros from bp-asm.h.
6060 (__remquo): Do not use BP_SYM.
6061 (remquo): Likewise.
6062 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6063 "bp-asm.h".
6064 (PARMS): Do not use macros from bp-asm.h.
6065 (__remquof): Do not use BP_SYM.
6066 (remquof): Likewise.
6067 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6068 "bp-asm.h".
6069 (PARMS): Do not use macros from bp-asm.h.
6070 (__remquol): Do not use BP_SYM.
6071 (remquol): Likewise.
6072 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6073 "bp-asm.h".
6074 (PARMS): Do not use macros from bp-asm.h.
6075 (DEST): Likewise.
6076 (SRC): Likewise.
6077 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6078 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6079 "bp-asm.h".
6080 (PARMS): Do not use macros from bp-asm.h.
6081 (strlen): Do not use BP_SYM.
6082 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6083 "bp-asm.h".
6084 (PARMS): Do not use macros from bp-asm.h.
6085 (S1): Likewise.
6086 (S2): Likewise.
6087 (SIZE): Likewise.
6088 (__mpn_add_n): Do not use BP_SYM.
6089 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6090 "bp-asm.h".
6091 (PARMS): Do not use macros from bp-asm.h.
6092 (S1): Likewise.
6093 (SIZE): Likewise.
6094 (__mpn_addmul_1): Do not use BP_SYM.
6095 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6096 weak_alias.
6097 (bzero): Likewise.
6098 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6099 "bp-asm.h".
6100 (PARMS): Do not use macros from bp-asm.h.
6101 (S): Likewise.
6102 (SIZE): Likewise.
6103 (__mpn_lshift): Do not use BP_SYM.
6104 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6105 "bp-asm.h".
6106 (PARMS): Do not use macros from bp-asm.h.
6107 (DEST): Likewise.
6108 (SRC): Likewise.
6109 (LEN): Likewise.
6110 (memcpy): Likewise. Do not use BP_SYM.
6111 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6112 libc_hidden_def and weak_alias.
6113 (mempcpy): Do not use BP_SYM in weak_alias.
6114 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6115 "bp-asm.h".
6116 (PARMS): Do not use macros from bp-asm.h.
6117 (DEST): Likewise.
6118 (LEN): Likewise.
6119 [!BZERO_P] (CHR): Likewise.
6120 (memset): Likewise. Do not use BP_SYM.
6121 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6122 "bp-asm.h".
6123 (PARMS): Do not use macros from bp-asm.h.
6124 (S1): Likewise.
6125 (SIZE): Likewise.
6126 (__mpn_mul_1): Do not use BP_SYM.
6127 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6128 "bp-asm.h".
6129 (PARMS): Do not use macros from bp-asm.h.
6130 (S): Likewise.
6131 (SIZE): Likewise.
6132 (__mpn_rshift): Do not use BP_SYM.
6133 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6134 "bp-asm.h".
6135 (PARMS): Do not use macros from bp-asm.h.
6136 (STR): Likewise.
6137 (CHR): Likewise.
6138 (strchr): Likewise. Do not use BP_SYM.
6139 (index): Do not use BP_SYM in weak_alias.
6140 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6141 "bp-asm.h".
6142 (PARMS): Do not use macros from bp-asm.h.
6143 (DEST): Likewise.
6144 (SRC): Likewise.
6145 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6146 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6147 "bp-asm.h".
6148 (PARMS): Do not use macros from bp-asm.h.
6149 (strlen): Do not use BP_SYM.
6150 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (S1): Likewise.
6154 (S2): Likewise.
6155 (SIZE): Likewise.
6156 (__mpn_sub_n): Do not use BP_SYM.
6157 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6158 "bp-asm.h".
6159 (PARMS): Do not use macros from bp-asm.h.
6160 (S1): Likewise.
6161 (SIZE): Likewise.
6162 (__mpn_submul_1): Do not use BP_SYM.
6163 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6164 "bp-asm.h".
6165 (PARMS): Do not use macros from bp-asm.h.
6166 (S1): Likewise.
6167 (S2): Likewise.
6168 (SIZE): Likewise.
6169 (__mpn_add_n): Do not use BP_SYM.
6170 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6171 weak_alias.
6172 (bzero): Likewise.
6173 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6174 "bp-asm.h".
6175 (PARMS): Do not use macros from bp-asm.h.
6176 (BLK2): Likewise.
6177 (LEN): Likewise.
6178 (memcmp): Do not use BP_SYM.
6179 (bcmp): Do not use BP_SYM in weak_alias.
6180 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6181 "bp-asm.h".
6182 (PARMS): Do not use macros from bp-asm.h.
6183 (DEST): Likewise.
6184 (SRC): Likewise.
6185 (LEN): Likewise.
6186 (memcpy): Likewise. Do not use BP_SYM.
6187 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6188 "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (DEST): Likewise.
6191 (SRC): Likewise.
6192 (LEN): Likewise.
6193 (memmove): Likewise. Do not use BP_SYM.
6194 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6195 "bp-asm.h".
6196 (PARMS): Do not use macros from bp-asm.h.
6197 (DEST): Likewise.
6198 (SRC): Likewise.
6199 (LEN): Likewise.
6200 (__mempcpy): Likewise. Do not use BP_SYM.
6201 (mempcpy): Do not use BP_SYM in weak_alias.
6202 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6203 "bp-asm.h".
6204 (PARMS): Do not use macros from bp-asm.h.
6205 (DEST): Likewise.
6206 (LEN): Likewise.
6207 [!BZERO_P] (CHR): Likewise.
6208 (memset): Likewise. Do not use BP_SYM.
6209 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6210 "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6212 (STR2): Likewise.
6213 (strcmp): Do not use BP_SYM.
6214 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6215 "bp-asm.h".
6216 (PARMS): Do not use macros from bp-asm.h.
6217 (STR): Likewise.
6218 (DELIM): Likewise.
6219 [USE_AS_STRTOK_R] (SAVE): Likewise.
6220 (FUNCTION): Likewise. Do not use BP_SYM.
6221 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6222 aliases.
6223 (strtok_r): Likewise.
6224 (__GI___strtok_r): Likewise.
6225 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6226 (PARMS): Do not use macros from bp-asm.h.
6227 (S): Likewise.
6228 (SIZE): Likewise.
6229 (__mpn_lshift): Do not use BP_SYM.
6230 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6231 (PARMS): Do not use macros from bp-asm.h.
6232 (STR): Likewise.
6233 (CHR): Likewise.
6234 (__memchr): Do not use BP_SYM.
6235 (memchr): Do not use BP_SYM in weak_alias.
6236 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6237 (PARMS): Do not use macros from bp-asm.h.
6238 (BLK2): Likewise.
6239 (LEN): Likewise.
6240 (memcmp): Do not use BP_SYM.
6241 (bcmp): Do not use BP_SYM in weak_alias.
6242 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6243 (PARMS): Do not use macros from bp-asm.h.
6244 (S1): Likewise.
6245 (SIZE): Likewise.
6246 (__mpn_mul_1): Do not use BP_SYM.
6247 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6248 "bp-asm.h".
6249 (PARMS): Do not use macros from bp-asm.h.
6250 (STR): Likewise.
6251 (CHR): Likewise.
6252 (__rawmemchr): Do not use BP_SYM.
6253 (rawmemchr): Do not use BP_SYM in weak_alias.
6254 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6255 (PARMS): Do not use macros from bp-asm.h.
6256 (S): Likewise.
6257 (SIZE): Likewise.
6258 (__mpn_rshift): Do not use BP_SYM.
6259 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6260 (PARMS): Do not use macros from bp-asm.h.
6261 (SIGMSK): Likewise.
6262 (__sigsetjmp): Likewise. Do not use BP_SYM.
6263 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6264 (_start): Do not use BP_SYM.
6265 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6266 (PARMS): Do not use macros from bp-asm.h.
6267 (DEST): Likewise.
6268 (SRC): Likewise.
6269 (__stpcpy): Likewise. Do not use BP_SYM.
6270 (stpcpy): Do not use BP_SYM in weak_alias.
6271 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6272 "bp-asm.h".
6273 (PARMS): Do not use macros from bp-asm.h.
6274 (DEST): Likewise.
6275 (SRC): Likewise.
6276 (LEN): Likewise.
6277 (__stpncpy): Likewise. Do not use BP_SYM.
6278 (stpncpy): Do not use BP_SYM in weak_alias.
6279 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6280 (PARMS): Do not use macros from bp-asm.h.
6281 (STR): Likewise.
6282 (CHR): Likewise.
6283 (strchr): Likewise. Do not use BP_SYM.
6284 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6285 "bp-asm.h".
6286 (PARMS): Do not use macros from bp-asm.h.
6287 (STR): Likewise.
6288 (CHR): Likewise.
6289 (__strchrnul): Likewise. Do not use BP_SYM.
6290 (strchrnul): Do not use BP_SYM in weak_alias.
6291 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6292 "bp-asm.h".
6293 (PARMS): Do not use macros from bp-asm.h.
6294 (STOP): Likewise.
6295 (strcspn): Do not use BP_SYM.
6296 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6297 "bp-asm.h".
6298 (PARMS): Do not use macros from bp-asm.h.
6299 (STR): Likewise.
6300 (STOP): Likewise.
6301 (strpbrk): Likewise. Do not use BP_SYM.
6302 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6303 "bp-asm.h".
6304 (PARMS): Do not use macros from bp-asm.h.
6305 (STR): Likewise.
6306 (CHR): Likewise.
6307 (strrchr): Likewise. Do not use BP_SYM.
6308 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6309 (PARMS): Do not use macros from bp-asm.h.
6310 (SKIP): Likewise.
6311 (strspn): Do not use BP_SYM.
6312 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6313 (PARMS): Do not use macros from bp-asm.h.
6314 (STR): Likewise.
6315 (DELIM): Likewise.
6316 (SAVE): Likewise.
6317 (FUNCTION): Likewise. Do not use BP_SYM.
6318 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6319 aliases.
6320 (strtok_r): Likewise.
6321 (__GI___strtok_r): Likewise.
6322 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6323 (PARMS): Do not use macros from bp-asm.h.
6324 (S1): Likewise.
6325 (S2): Likewise.
6326 (SIZE): Likewise.
6327 (__mpn_sub_n): Do not use BP_SYM.
6328 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6329 "bp-asm.h".
6330 (PARMS): Do not use macros from bp-asm.h.
6331 (S1): Likewise.
6332 (SIZE): Likewise.
6333 (__mpn_submul_1): Do not use BP_SYM.
6334 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6335 <bp-sym.h>.
6336 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6337 and <bp-asm.h>.
6338 (PARMS): Do not use macros from bp-asm.h.
6339 (FLAGS): Likewise.
6340 (PTID): Likewise.
6341 (TLS): Likewise.
6342 (CTID): Likewise.
6343 (__clone): Do not use BP_SYM.
6344 (clone): Do not use BP_SYM in weak_alias.
6345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6346 and <bp-asm.h>.
6347 (PARMS): Do not use macros from bp-asm.h.
6348 (LEN): Likewise.
6349 (__mmap64): Do not use BP_SYM.
6350 (mmap64): Do not use BP_SYM in weak_alias.
6351 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6352 <bp-sym.h> and <bp-asm.h>.
6353 (PARMS): Do not use macros from bp-asm.h.
6354 (__posix_fadvise64_l64): Do not use BP_SYM.
6355 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6356 (PARMS): Do not use macros from bp-asm.h.
6357 (NSOPS): Likewise.
6358 (semtimedop): Do not use BP_SYM.
6359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6360 and <bp-asm.h>.
6361
582a3cff
AM
63622013-02-21 Allan McRae <allan@archlinux.org>
6363
6364 * manual/message.texi (Charset conversion in gettext):
6365 Move @end statement to beginning of line.
6366
bab8a695
SP
63672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6368
80945231
SP
6369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6370 static.
6371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6372 Likewise.
6373
bab8a695
SP
6374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6375 (denorm): Likewise.
6376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6378
e21d7aa7
AK
63792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6380
6381 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6382 tail-call to the resolved function if pltexit isn't needed.
6383
4c7a4263
SP
63842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6385
6386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6387 or Y being zero as being unlikely.
6388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6389 Likewise.
6390
41f49342
CD
63912013-02-20 Carlos O'Donell <carlos@redhat.com>
6392
6393 * manual/nss.texi (System Databases and Name Service Switch):
6394 Remove frobnicate @pxref.
6395
50022a93
TS
63962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6397
6398 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6399 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6400
08cbd996
PM
64012013-02-20 Petr Machata <pmachata@redhat.com>
6402
6403 * elf/elf.h (R_ARM_TARGET1): New macro.
6404 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6405 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6406 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6407 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6408 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6409 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6410 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6411 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6412 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6413 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6414 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6415 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6416 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6417 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6418 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6419 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6420 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6421 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6422 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6423 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6424 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6425 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6426 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6427 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6428 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6429 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6430 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6431 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6432 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6433 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6434 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6435 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6436 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6437 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6438 (R_ARM_THM_GOT_BREL12): Likewise.
6439 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6440 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6441 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6442 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6443 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6444 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6445 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6446 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6447 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6448
c7b275d6
TS
64492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6450
6451 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6452 __attribute_used__ to __attribute__ ((unused)).
6453
20cd7fb3
SP
64542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6455
6456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6457 powerpc mpa.c.
6458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6459 comment formatting.
6460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6461
92945b52
JM
64622013-02-19 Joseph Myers <joseph@codesourcery.com>
6463
6464 [BZ #13550]
6465 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6466 Remove macro.
6467 (ENTER): Remove both macro definitions.
6468 (LEAVE): Likewise.
6469 (CHECK_BOUNDS_LOW): Likewise.
6470 (CHECK_BOUNDS_HIGH): Likewise.
6471 (CHECK_BOUNDS_BOTH): Likewise.
6472 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6473 (RETURN_BOUNDED_POINTER): Likewise.
6474 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6475 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6476 (POP_ERRNO_LOCATION_RETURN): Likewise.
6477 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6479 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6480 macros.
6481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6482 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6483 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6484 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6485 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6486 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6487 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6488 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6489 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6490 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6491 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6492 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6493 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6494 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6495 removed macros.
6496 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6497 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6498 macros.
6499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6500 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6501 * sysdeps/i386/i586/memset.S (memset): Likewise.
6502 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6504 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6505 macros.
6506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6507 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6508 Change uses of L(2) to L(out).
6509 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6510 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6511 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6513 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6514 removed macros.
6515 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6516 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6517 macros.
6518 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6519 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6520 (RETURN): Do not use macro LEAVE.
6521 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6522 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6523 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6524 * sysdeps/i386/i686/memset.S (memset): Likewise.
6525 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6526 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6528 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6529 Likewise.
6530 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6531 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6532 L(1_2) and L(1_3) into L(1).
6533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6534 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6535 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6536 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6537 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6538 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6539 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6541 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6542 macros.
6543 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6545 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6546 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6547 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6548 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6549 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6550 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6551 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6552 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6553 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6554 * sysdeps/i386/strspn.S (strspn): Likewise.
6555 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6556 conditional code.
6557 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6558 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6560 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6561 L(1_3) into L(1_1).
6562 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6563 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6564 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6565 macros.
6566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6567
2389741a
JJ
65682013-02-19 Jakub Jelinek <jakub@redhat.com>
6569
6570 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6571 macro.
6572
2016b3cd
SP
65732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
e4f22324
SP
6575 * math/atest-exp.c (exp_mpn): Remove ROUND.
6576 * math/atest-exp2.c (exp_mpn): Likewise.
6577 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6578
2016b3cd
SP
6579 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6580 * stdlib/tst-tls-atexit-lib.c: Likewise.
6581 * stdlib/tst-tls-atexit.c: Likewise.
6582
4be9b544
MF
65832013-02-18 Mike Frysinger <vapier@gentoo.org>
6584
6585 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6586 and __attribute_alloc_size__.
6587
2f62b9ee
MF
65882013-02-18 Mike Frysinger <vapier@gentoo.org>
6589
6590 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6591 __attribute_alloc_size__.
6592 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6593 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6594
6ff444c4
MF
65952013-02-18 Mike Frysinger <vapier@gentoo.org>
6596
6597 * include/programs/xmalloc.h: New file.
6598 * catgets/gencat.c: Include it.
6599 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6600 * elf/pldd.c: Likewise.
6601 * iconv/iconv_charmap.c: Likewise.
6602 * iconv/iconvconfig.c: Likewise.
6603 * iconv/strtab.c: Likewise.
6604 * locale/programs/locale.c: Likewise.
6605 * locale/programs/localedef.h: Likewise.
6606 * locale/programs/simple-hash.c: Likewise.
6607 * nscd/nscd.h: Likewise.
6608 * nss/makedb.c: Likewise.
6609 * sysdeps/generic/ldconfig.h: Likewise.
6610
be179c8a
SP
66112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6612
ba384f6e
SP
6613 * Versions.def: Add GLIBC_2.18.
6614 * include/link.h (struct link_map): New member l_tls_dtor_count.
6615 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6616 (__call_tls_dtors): Likewise.
6617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6618 __cxa_thread_atexit_impl.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6620 Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6622 Likewise.
6623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6624 Likewise.
6625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6626 Likewise.
6627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6629 Likewise.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6631 Likewise.
6632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6634 Likewise.
6635 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6636 (tests): Add test case tst-tls-atexit.
6637 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6638 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6639 (GLIBC_PRIVATE): Add __call_tls_dtors.
6640 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6641 for libstdc++.
6642 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6643 * stdlib/tst-tls-atexit.c: New test case.
6644 * stdlib/tst-tls-atexit-lib.c: New test case.
6645
ffaa74cf 6646 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6647
be179c8a
SP
6648 * elf/Versions (ld): Add _dl_find_dso_for_object.
6649 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6650 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6651 (dl_open_worker): Use _dl_find_dso_for_object.
6652 * elf/dl-sym.c (do_sym): Likewise.
6653 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6654
f78b5caa
AK
66552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6656
6657 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6658 Syntactic changes only.
6659 (_dl_runtime_profile): Do a tail-call to the resolved function.
6660
29691210
JM
66612013-02-17 Joseph Myers <joseph@codesourcery.com>
6662
6663 [BZ #13550]
6664 * sysdeps/x86_64/bp-asm.h: Remove file.
6665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6666 <bp-sym.h> and <bp-asm.h>.
6667 (__clone): Do not use BP_SYM.
6668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6669 <bp-sym.h> and <bp-asm.h>.
6670 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6671 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6672 "bp-asm.h".
6673 (_setjmp): Do not use BP_SYM.
6674 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6675 "bp-asm.h".
6676 (setjmp): Do not use BP_SYM.
6677 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6678 libc_hidden_def.
6679 (mempcpy): Do not use BP_SYM in weak_alias.
6680 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6681 "bp-asm.h".
6682 (strchr): Do not use BP_SYM.
6683 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6684 "bp-asm.h".
6685 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6686 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6687 (_start): Do not use BP_SYM.
6688 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6689 "bp-asm.h".
6690 (strcat): Do not use BP_SYM.
6691 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6692 "bp-asm.h".
6693 (STRCMP): Do not use BP_SYM.
6694 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6695 "bp-asm.h".
6696 (STRCPY): Do not use BP_SYM.
6697 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6698 "bp-asm.h".
6699 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6700 "bp-asm.h".
6701 (FUNCTION): Do not use BP_SYM.
6702 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6703 weak_alias.
6704 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6705
f238fd19
AJ
67062013-02-17 Andreas Jaeger <aj@suse.de>
6707
6708 * time/Versions: Sort entries.
6709 * string/Versions: Likewise.
6710 * resolv/Versions: Likewise.
6711 * posix/Versions: Likewise.
6712 * iconv/Versions: Likewise.
6713 * elf/Versions: Likewise.
6714 * wcsmbs/Versions: Likewise.
6715
bd07f23c 67162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6717
22af19f9
SP
6718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6719 loop termination condition.
6720
4709fe76
SP
6721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6722 variable to calculate EZ.
6723 (__sqr): Likewise.
2d0e0f29
SP
6724
6725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6726 the lower precision input.
6727
daaa7713
JM
67282013-02-15 Joseph Myers <joseph@codesourcery.com>
6729
6730 [BZ #13550]
6731 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6732 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6733 (run-via-rtld-prefix): Do not handle %-bp tests.
6734 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6735 (all-object-suffixes): Remove .ob.
6736 (bppfx): Remove variable.
6737 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6738 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6739 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6740 [$(build-bounded) = yes] (libtype.ob): Likewise.
6741 * Makerules (elide-routines.ob): Remove variable.
6742 (do-tests-clean): Do not handle *-bp.out.
6743 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6744 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6745 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6746 (tests): Do not include $(tests-bp.out).
6747 (xtests): Do not include $(xtests-bp.out).
6748 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6749 [$(build-bounded) = yes] ($(addprefix
6750 $(objpfx),$(binaries-bounded))): Remove rule.
6751 ($(objpfx)%-bp.out): Remove rule.
6752 * config.make.in (build-bounded): Remove variable.
6753 * crypt/Makefile [$(build-bounded) = yes]
6754 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6755 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6756 append to variable.
6757 [$(build-bounded) = yes] (install-lib): Likewise.
6758 [$(build-bounded) = yes] (generated): Likewise.
6759 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6760 Remove rule.
6761 * intl/Makefile [$(build-bounded) = yes]
6762 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6763 * math/Makefile [$(build-bounded) = yes]
6764 ($(tests:%=$(objpfx)%-bp): Likewise.
6765 * misc/Makefile [$(build-bounded) = yes]
6766 ($(objpfx)tst-tsearch-bp): Likewise.
6767 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6768 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6769 Remove dependency.
6770 * string/Makefile (o-objects.ob): Remove variable.
6771 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6772 (CFLAGS-.ob): Remove variable.
6773 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6775 both definitions of variable.
6776 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6777 (ASFLAGS-.ob): Remove variable.
6778
e97ed6dd
JM
67792013-02-14 Joseph Myers <joseph@codesourcery.com>
6780
2bdd4ca6
JM
6781 [BZ #13550]
6782 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6783 Remove __BOUNDED_POINTERS__ from condition.
6784 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6785 * string/bits/string2.h [!__NO_STRING_INLINES &&
6786 !__BOUNDED_POINTERS__]: Likewise.
6787 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6788 Likewise.
6789 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6790 Remove conditional code.
6791 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6792 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6793 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6794 condition.
6795
e97ed6dd
JM
6796 [BZ #13550]
6797 * csu/libc-start.c: Do not include <bp-sym.h>.
6798 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6799 * elf/dl-open.c: Do not include <bp-sym.h>.
6800 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6801 * math/fegetenv.c: Do not include <bp-sym.h>.
6802 (fegetenv): Do not use BP_SYM in versioned symbols.
6803 * nptl/sysdeps/pthread/bits/libc-lockP.h
6804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6805 <bp-sym.h>.
6806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6807 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6809 (__pthread_mutex_destroy): Likewise.
6810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6811 (__pthread_mutex_lock): Likewise.
6812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6813 (__pthread_mutex_trylock): Likewise.
6814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6815 (__pthread_mutex_unlock): Likewise.
6816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6817 (__pthread_mutexattr_init): Likewise.
6818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6819 (__pthread_mutexattr_destroy): Likewise.
6820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6821 (__pthread_mutexattr_settype): Likewise.
6822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6823 (__pthread_rwlock_init): Likewise.
6824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6825 (__pthread_rwlock_destroy): Likewise.
6826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6827 (__pthread_rwlock_rdlock): Likewise.
6828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6829 (__pthread_rwlock_tryrdlock): Likewise.
6830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6831 (__pthread_rwlock_wrlock): Likewise.
6832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6833 (__pthread_rwlock_trywrlock): Likewise.
6834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6835 (__pthread_rwlock_unlock): Likewise.
6836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6837 (__pthread_key_create): Likewise.
6838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6839 (__pthread_setspecific): Likewise.
6840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6841 (__pthread_getspecific): Likewise.
6842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6843 Likewise.
6844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6845 (_pthread_cleanup_push_defer): Likewise.
6846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6847 (_pthread_cleanup_pop_restore): Likewise.
6848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6849 (pthread_setcancelstate): Likewise.
6850 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6851 <bp-sym.h>.
6852 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6853 (memchr): Do not use BP_SYM in weak_alias.
6854 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6855 (fegetenv): Do not use BP_SYM in versioned symbols.
6856 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6857 (fesetenv): Do not use BP_SYM in versioned symbols.
6858 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6859 (feupdateenv): Do not use BP_SYM in versioned symbols.
6860 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6861 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6862 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6863 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6864 (open64): Do not use BP_SYM in weak_alias.
6865 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6866 (fegetenv): Do not use BP_SYM in versioned symbols.
6867 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6868 (fesetenv): Do not use BP_SYM in versioned symbols.
6869 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6870 (feupdateenv): Do not use BP_SYM in versioned symbols.
6871 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6872 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6873 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6874 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6875 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6876 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6878 <bp-sym.h>.
6879 (__libc_start_main): Do not use BP_SYM.
6880
d6752ccd
SP
68812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6882
cb57ce60
SP
6883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6884 redundant return line.
6885 (norm): Likewise.
6886 (denorm): Likewise.
6887 (dbl_mp): Likewise.
6888 (sub_magnitudes): Likewise.
6889 (__add): Likewise.
6890 (__sub): Likewise.
6891 (__mul): Likewise.
6892 (__inv): Likewise.
6893 (__dvd): Likewise.
6894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6895 (norm): Likewise.
6896 (denorm): Likewise.
6897 (dbl_mp): Likewise.
6898 (sub_magnitudes): Likewise.
6899 (__add): Likewise.
6900 (__sub): Likewise.
6901 (__mul): Likewise.
6902 (__inv): Likewise.
6903 (__dvd): Likewise.
6904
f414520d
SP
6905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6906 instead of __mul.
6907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6908 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6909 (cc32): Likewise.
6910
d6752ccd
SP
6911 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6912 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6914 of __mul for squares.
6915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6916 function
6917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6918 Likewise.
6919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6921
70d9946a
JM
69222013-02-13 Joseph Myers <joseph@codesourcery.com>
6923
6924 [BZ #13550]
6925 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6926 code.
6927 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6928 prototype or function definition. Rename ubp_* variables and
6929 parameters. Remove argv definitions conditional on
6930 [__BOUNDED_POINTERS__].
6931 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6932 * elf/dl-runtime.c (_dl_fixup): Likewise.
6933 * include/set-hooks.h (RUN_HOOK): Likewise.
6934 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6935 definition.
6936 * string/strcpy.c (strcpy): Do not use __unbounded.
6937 * sysdeps/generic/frame.h (struct layout): Likewise.
6938 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6939 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6940 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6941 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6942 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6943 (__backtrace): Likewise.
6944 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6945 use __ptrvalue.
6946 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6948 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6949 Likewise.
6950 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6951 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6953 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6954 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6955 Do not use __unbounded.
6956 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6957 Rename __unboundedrlimits parameter to rlimits in prototype.
6958 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6959 Do not use __unbounded.
6960 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6961 not use __ptrvalue.
6962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6963 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6964 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6966 __ptrvalue or __unbounded.
6967 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6968 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6969 use __unbounded.
6970 (__new_msgctl): Do not use __ptrvalue.
6971 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6972 __unbounded.
6973 (__libc_msgrcv): Do not use __ptrvalue.
6974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6975 startup_info): Do not use __unbounded.
6976 (__libc_start_main): Likewise. Rename ubp_* variables and
6977 parameters. Remove argv definitions conditional on
6978 [__BOUNDED_POINTERS__].
6979 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6980 __ptrvalue.
6981 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6982 use __unbounded.
6983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6984 or __ptrvalue.
6985 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6986 use __unbounded.
6987 (__new_shmctl): Do not use __ptrvalue.
6988 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6989 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6990 Likewise.
6991 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6993 (__libc_sigaction): Likewise.
6994 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6995 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6996 Likewise.
6997 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6998
cc7834d6
OB
69992013-02-13 Ondřej Bílka <neleai@seznam.cz>
7000
ffb1ec7b 7001 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7002
7003 * string/mempcpy.c: Implement by calling memcpy.
7004
bdf02814
SP
70052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7006
c2af38aa
SP
7007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7008
4e92d59e
SP
7009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7010 evaluation.
7011
909279a5
SP
7012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7013 values in the mantissa.
7014
bdf02814
SP
7015 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7016 minimize writes to Z.
7017 (sub_magnitudes): Simplify code a bit.
7018
cd525923
RM
70192013-02-12 Roland McGrath <roland@hack.frob.com>
7020
7021 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7022 from the message. The linker prefixes all warnings with that already.
7023
7e2f0d2d
AS
70242013-02-12 Andreas Schwab <schwab@suse.de>
7025
a445af0b
AS
7026 [BZ #15078]
7027 * posix/regexec.c (extend_buffers): Add parameter min_len.
7028 (check_matching): Pass minimum needed length.
7029 (clean_state_log_if_needed): Likewise.
7030 (get_subexp): Likewise.
7031 * posix/Makefile (tests): Add bug-regex34.
7032 (bug-regex34-ENV): Define.
7033 * posix/bug-regex34.c: New file.
7034
7e2f0d2d
AS
7035 [BZ #11561]
7036 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7037 elements compare against the byte sequence of it, not its name.
7038 * posix/Makefile (tests): Add bug-regex35.
7039 (bug-regex35-ENV): Define.
7040 * posix/bug-regex35.c: New file.
7041
a175b684
TV
70422013-02-11 Tom de Vries <tom@codesourcery.com>
7043
7044 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7045 comment.
7046 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7047 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7048 (CHECK_EOL): Add undef.
7049
310998fe 70502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7051
7052 * bits/stdlib-bsearch.h: New file.
7053 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7054 * stdlib/stdlib.h: Likewise.
41eda41d 7055
8ded91fb
RM
70562013-02-11 Roland McGrath <roland@hack.frob.com>
7057
7058 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7059 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7060 declaration.
7061 * manual/search.texi (Array Search Function): Add missing const in
7062 lfind prototype.
7063 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7064 declaration to use rlim_t.
7065 (Basic Scheduling Functions): Remove erroneous const from
7066 sched_getparam prototype. Remove erroneous * from
7067 sched_get_priority_max and sched_get_priority_min prototypes.
7068 (Resource Usage): Fix summary @comment on vtimes to refer to
7069 sys/vtimes.h rather than vtimes.h.
7070 Add missing *s in vtimes prototype.
7071 (Limits on Resources): Fix ulimit prototype to return long int.
7072 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7073 prototypes to use long int rather than double.
7074 (BSD Random): Fix initstate and setstate to use char *, not void *.
7075 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7076 prototype to make second argument 'struct aiocb64 *const[]'.
7077 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7078 (Status of AIO Operations): Remove erroneous const in aio_return and
7079 aio_return64 prototypes.
7080 (Synchronizing I/O): Fix sync prototype to return void.
7081 * manual/startup.texi (Suboptions): Remove an erroneous const in
7082 getsubopt prototype.
7083 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7084 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7085 use size_t rather than int.
7086 (Scanning All Users): Likewise for getpwent_r.
7087 (Setting Groups): Add missing const to setgroups prototype.
7088 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7089 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7090 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7091 'const void *' rather than 'const char *'.
7092 (Host Address Functions): Likewise for inet_ntop.
7093 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7094 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7095 ssize_t for return value.
7096 (Sending Data): Likewise for send, sendto, sendmsg.
7097 (Socket Option Functions): Add a missing const in setsockopt prototype.
7098 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7099 use wchar_t for the argument.
7100 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7101 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7102 take no arguments.
7103 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7104 double/float/long double for second argument.
7105 Fix return types of significand, significandf, significandl.
7106 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7107 argument in fchmod prototype.
7108 (File Owner): Use uid_t and gid_t in fchown prototype.
7109 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7110 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7111 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7112 use 'const struct dirent **' as argument types to CMP function pointer
7113 argument.
7114 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7115 (File Times): Fix summary magic @comment for struct utimbuf and utime
7116 to refer to utime.h, not time.h.
7117 * manual/string.texi (Argz Functions): Add missing const in
7118 argz_extract and argz_next prototypes.
7119 (Finding Tokens in a String): Likewise for basename.
7120 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7121 (Copying and Concatenation): Fix typo in wmemmove prototype.
7122 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7123 (Signal Stack): Remove erroneous const in sigstack prototype.
7124 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7125 prototype.
7126 (Simple Calendar Time): Likewise for stime.
7127 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7128 prototype.
7129 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7130 say sys/sysctl.h instead.
7131 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7132 and vsyslog prototypes.
7133
fe77fe6d
TV
71342013-02-11 Tom de Vries <tom@codesourcery.com>
7135
7136 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7137 Remove.
7138
3a09b620
RM
71392013-02-11 Roland McGrath <roland@hack.frob.com>
7140
7141 * misc/sys/mman.h: Fix typo in mremap comment.
7142
550a0b89
RM
71432013-02-08 Roland McGrath <roland@hack.frob.com>
7144
7145 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7146 the '\0' terminator.
7147
a2da1673
JM
71482013-02-08 Joseph Myers <joseph@codesourcery.com>
7149
7150 [BZ #13550]
7151 * debug/segfault.c: Don't include <bp-checks.h>.
7152 * sysdeps/generic/bp-checks.h: Remove file.
7153 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7154 (__GETDENTS): Don't use CHECK_N.
7155 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7156 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7157 (__getgroups): Don't use CHECK_N.
7158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7159 (setgroups): Don't use CHECK_N.
7160 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7161 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7162 (__libc_msgrcv): Don't use CHECK_N.
7163 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7164 (__libc_msgsnd): Don't use CHECK_N.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7166 <bp-checks.h>.
7167 (__libc_pread): Don't use CHECK_N.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7169 include <bp-checks.h>.
7170 (__libc_pread64): Don't use CHECK_N.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7172 include <bp-checks.h>.
7173 (__libc_pwrite): Don't use CHECK_N.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7175 include <bp-checks.h>.
7176 (__libc_pwrite64): Don't use CHECK_N.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7178 <bp-checks.h>.
7179 (__libc_pread): Don't use CHECK_N.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7181 include <bp-checks.h>.
7182 (__libc_pread64): Don't use CHECK_N.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7184 include <bp-checks.h>.
7185 (__libc_pwrite): Don't use CHECK_N.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7187 include <bp-checks.h>.
7188 (__libc_pwrite64): Don't use CHECK_N.
7189 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7190 (do_pread): Don't use CHECK_N.
7191 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7192 (do_pread64): Don't use CHECK_N.
7193 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7194 (do_pwrite): Don't use CHECK_N.
7195 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7196 (do_pwrite64): Don't use CHECK_N.
7197 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7198 (__libc_readv): Don't use CHECK_N.
7199 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7200 (semop): Don't use CHECK_N.
7201 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7202 <bp-checks.h>.
7203 (semtimedop): Don't use CHECK_N.
7204 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7205 (__libc_pread): Don't use CHECK_N.
7206 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7207 <bp-checks.h>.
7208 (__libc_pread64): Don't use CHECK_N.
7209 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7210 <bp-checks.h>.
7211 (__libc_pwrite): Don't use CHECK_N.
7212 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7213 <bp-checks.h>.
7214 (__libc_pwrite64): Don't use CHECK_N.
7215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7216 <bp-checks.h>.
7217 (__libc_msgrcv): Don't use CHECK_N.
7218 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7219 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7220 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7221 (__libc_writev): Don't use CHECK_N.
7222
b84660a8
RM
72232013-02-08 Roland McGrath <roland@hack.frob.com>
7224
7f3e75f8
RM
7225 * string/strcpy.c: Removed unused variable.
7226
b84660a8
RM
7227 * Makeconfig (+sysdep-includes): Define with := rather than =.
7228 Use an existing include/ subdir of each sysdeps dir before it.
7229
471514d3
CD
72302013-02-08 Carlos O'Donell <carlos@redhat.com>
7231
7232 * nscd/connection.c (register_traced_file): Comment function.
7233 [HAVE_INOTIFY] (union __inev): Define.
7234 [HAVE_INOTIFY] (inotify_check_files): New function.
7235 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7236 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7237 clear_db_cache.
7238 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7239
b2d3c3be
CD
72402013-02-08 Carlos O'Donell <carlos@redhat.com>
7241
7242 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7243 loaded if not already and that a failure is permanent.
7244
b39949d2
CD
72452013-02-08 Carlos O'Donell <carlos@redhat.com>
7246
ddacd1db 7247 [BZ #15006]
b39949d2
CD
7248 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7249 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7250
b2c9eff4
JM
72512013-02-08 Joseph Myers <joseph@codesourcery.com>
7252
f3aae3f3
JM
7253 [BZ #13550]
7254 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7255 (CHECK_1_NULL_OK): Likewise.
7256 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7257 (__fxstat): Do not use CHECK_1.
7258 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7259 <bp-checks.h>.
7260 (___fxstat64): Do not use CHECK_1.
7261 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7262 <bp-checks.h>.
7263 (__fxstatat): Do not use CHECK_1.
7264 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7265 <bp-checks.h>.
7266 (__fxstatat64): Do not use CHECK_1.
7267 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7268 <bp-checks.h>.
7269 (__fxstat): Do not use CHECK_1.
7270 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7271 <bp-checks.h>.
7272 (__fxstatat): Do not use CHECK_1.
7273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7274 <bp-checks.h>.
7275 (__getresgid): Do not use CHECK_1.
7276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7277 <bp-checks.h>.
7278 (__getresuid): Do not use CHECK_1.
7279 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7280 <bp-checks.h>.
7281 (__lxstat): Do not use CHECK_1.
7282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7283 <bp-checks.h>.
7284 (__old_msgctl): Do not use CHECK_1.
7285 (__new_msgctl): Likewise.
7286 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7287 <bp-checks.h>.
7288 (__new_setrlimit): Do not use CHECK_1.
7289 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7290 <bp-checks.h>.
7291 (__old_shmctl): Do not use CHECK_1.
7292 (__new_shmctl): Likewise.
7293 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7294 <bp-checks.h>.
7295 (__xstat): Do not use CHECK_1.
7296 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7297 (__lxstat): Do not use CHECK_1.
7298 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7299 <bp-checks.h>.
7300 (___lxstat64): Do not use CHECK_1.
7301 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7302 (__old_msgctl): Do not use CHECK_1.
7303 (__new_msgctl): Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7305 <bp-checks.h>.
7306 (__gettimeofday): Do not use CHECK_1.
7307 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7308 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7310 <bp-checks.h>.
7311 (__gettimeofday): Do not use CHECK_1.
7312 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7313 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7314 (__new_shmctl): Do not use CHECK_1.
7315 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7316 <bp-checks.h>.
7317 (do_sigtimedwait): Do not use CHECK_1.
7318 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7319 <bp-checks.h>.
7320 (do_sigwaitinfo): Do not use CHECK_1.
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7322 <bp-checks.h>.
7323 (msgctl): Do not use CHECK_1.
7324 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7325 <bp-checks.h>.
7326 (shmctl): Do not use CHECK_1.
7327 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7328 (ustat): Do not use CHECK_1.
7329 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7330 <bp-checks.h>.
7331 (__fxstat): Do not use CHECK_1.
7332 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7333 <bp-checks.h>.
7334 (__fxstatat): Do not use CHECK_1.
7335 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7336 <bp-checks.h>.
7337 (__lxstat): Do not use CHECK_1.
7338 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7339 <bp-checks.h>.
7340 (__xstat): Do not use CHECK_1.
7341 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7342 (__xstat): Do not use CHECK_1.
7343 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7344 (___xstat64): Do not use CHECK_1.
7345
b2c9eff4
JM
7346 [BZ #13550]
7347 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7348 definitions.
7349 (CHECK_BOUNDS_HIGH): Likewise.
7350 * string/strcpy.c: Do not include <bp-checks.h>.
7351 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7352
f1d70dad
RM
73532013-02-07 Roland McGrath <roland@hack.frob.com>
7354
7355 * nscd/nscd-client.h (__nscd_drop_map_ref):
7356 Add __attribute__ ((unused)).
7357 * nis/nss-nisplus.h (niserr2nss): Likewise.
7358
7359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7360 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7361
7362 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7363 Remove inline keyword.
7364 * include/rounding-mode.h (round_away): Likewise.
7365 * libio/wfileops.c (adjust_wide_data): Likewise.
7366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7367 (__m128i_strloadu_tolower): Likewise.
7368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7369 (__m128i_strloadu_tolower): Likewise.
7370 * time/mktime.c (ydhms_diff): Likewise.
7371 * locale/elem-hash.h (elem_hash): Likewise.
7372 * locale/setlocale.c (setdata): Likewise.
7373 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7374 (re_string_wchar_at): Likewise.
7375 (bitset_not, bitset_merge, bitset_mask): Likewise.
7376 [!(__GNUC__ > 3)] (inline): Remove macro.
7377 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7378 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7379 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7381 * string/memcmp.c (memcmp_bytes): Likewise.
7382 * locale/programs/locarchive.c (compute_hashval): Likewise.
7383 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7384 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7385 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7386 * nss/getent.c (print_rpc, print_protocols): Likewise.
7387 (print_passwd, print_group, print_aliases): Likewise.
7388 * nis/nss-nisplus.h (niserr2nss): Likewise.
7389 * nscd/connections.c (restart_p): Likewise.
7390 Change return type to bool.
7391
eab55bfb
RM
73922013-02-05 Roland McGrath <roland@hack.frob.com>
7393
7bd642f5
RM
7394 * Makeconfig (all-Depend-files): Add existing
7395 $(sorted-subdirs:=/Depend) files.
7396 (all-subdirs): Remove nss.
7397 * sysdeps/unix/inet/Subdirs: Add it here instead.
7398 * hesiod/Depend: New file.
7399
573c29b2
RM
7400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7401 instead of calling alloca.
7402
b2e25af0
RM
7403 * io/lseek.c (__lseek): Rename to __libc_lseek.
7404 Define __lseek as an alias.
7405
eab55bfb
RM
7406 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7407
9a0d1941
CD
74082013-02-04 Carlos O'Donell <carlos@redhat.com>
7409
7410 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7411 else clause and remove check for non-standard endianness.
7412
b83bbec4
DM
74132013-02-04 David S. Miller <davem@davemloft.net>
7414
7415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7416
6277fdab
JM
74172013-02-04 Joseph Myers <joseph@codesourcery.com>
7418
7419 [BZ #13550]
7420 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7421 (__ubp_memchr): Remove prototype.
7422 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7423 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7424 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7425 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7426 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7427 Remove alias.
7428 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7429 (__ubp_memchr): Likewise.
7430 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7431 (__ubp_memchr): Likewise.
7432 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7433 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7434 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7436 CHECK_STRING.
7437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7438 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7439 (__getcwd): Do not use CHECK_STRING.
7440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7441 <bp-checks.h>.
7442 (__real_chown): Do not use CHECK_STRING.
7443 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7444 <bp-checks.h>.
7445 (fchownat): Do not use CHECK_STRING.
7446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7447 CHECK_STRING.
7448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7449 <bp-checks.h>.
7450 (__lchown): Do not use CHECK_STRING.
7451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7452 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7453 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7454 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7456 include <bp-checks.h>.
7457 (truncate64): Do not use CHECK_STRING.
7458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7459 <bp-checks.h>.
7460 (__real_chown): Do not use CHECK_STRING.
7461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7462 <bp-checks.h>.
7463 (__lchown): Do not use CHECK_STRING.
7464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7465 <bp-checks.h>.
7466 (__chown): Do not use CHECK_STRING.
7467 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7468 <bp-checks.h>.
7469 (truncate64): Do not use CHECK_STRING.
7470 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7471 Likewise.
7472 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7473 (__xmknod): Do not use CHECK_STRING.
7474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7475 <bp-checks.h>.
7476 (__xmknodat): Do not use CHECK_STRING.
7477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7478 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7479
903ae060
AS
74802013-02-04 Andreas Schwab <schwab@suse.de>
7481
7482 [BZ #14142]
7483 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7484 * include/netdb.h: Likewise for h_errno.
7485 * elf/tst-stackguard1.c: Include <tls.h>.
7486
542f9466
JK
74872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7488
7489 * elf/link.h (struct link_map): Extend the l_addr comment.
7490 * include/link.h (struct link_map): Likewise.
7491
e782a927
JM
74922013-02-01 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #13550]
7495 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7496 (BOUNDED_1): Remove macro.
7497 * debug/backtrace.c: Don't include <bp-checks.h>.
7498 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7499 (__backtrace): Likewise.
7500 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7501 <bp-checks.h>.
7502 (__backtrace): Don't use BOUNDED_1.
7503 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7504 <bp-checks.h>.
7505 (__backtrace): Don't use BOUNDED_1.
7506 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7507 (__backtrace): Don't use BOUNDED_1.
7508 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7509 (shmat): Don't use BOUNDED_N.
7510
8cf28c5e
JM
75112013-01-31 Joseph Myers <joseph@codesourcery.com>
7512
3a7ac8a0
JM
7513 [BZ #13550]
7514 * sysdeps/generic/bp-start.h: Remove file.
7515 * csu/libc-start.c: Don't include <bp-start.h>.
7516 (LIBC_START_MAIN): Set up __environ directly instead of using
7517 INIT_ARGV_and_ENVIRON.
7518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7519 <bp-start.h>.
7520
f3499f95
JM
7521 [BZ #13550]
7522 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7523 definitions.
7524 (CHECK_FCNTL): Likewise.
7525 (CHECK_N_PAGES): Likewise.
7526
32a45bea
JM
7527 [BZ #13550]
7528 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7529 definitions.
7530 (CHECK_SIGSET_NULL_OK): Likewise.
7531 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7532 <bp-checks.h>.
7533 (sigpending): Don't use CHECK_SIGSET.
7534 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7535 <bp-checks.h>.
7536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7537 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7538 <bp-checks.h>.
7539 (do_sigsuspend): Don't use CHECK_SIGSET.
7540 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7541 use CHECK_SIGSET.
7542 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7543 (do_sigwait): Don't use CHECK_SIGSET.
7544 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7545 use CHECK_SIGSET.
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7547 include <bp-checks.h>.
7548 (sigpending): Don't use CHECK_SIGSET.
7549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7550 include <bp-checks.h>.
7551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7552 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7553 <bp-checks.h>.
7554 (sigpending): Don't use CHECK_SIGSET.
7555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7556 <bp-checks.h>.
7557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7558
2e8a5c8c
JM
7559 [BZ #13550]
7560 * sysdeps/generic/bp-semctl.h: Remove file.
7561 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7562 <bp-checks.h> and <bp-semctl.h>.
7563 (__old_semctl): Don't use CHECK_SEMCTL.
7564 (__new_semctl): Likewise.
7565 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7566 and <bp-semctl.h>.
7567 (__old_semctl): Don't use CHECK_SEMCTL.
7568 (__new_semctl): Likewise.
7569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7570 <bp-checks.h> and <bp-semctl.h>.
7571 (__old_semctl): Don't use CHECK_SEMCTL.
7572 (__new_semctl): Likewise.
7573 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7574 <bp-checks.h> and <bp-semctl.h>.
7575 (semctl): Don't use CHECK_SEMCTL.
7576
c2d54929
JM
7577 [BZ #13550]
7578 * Makerules (elide-bp-thunks): Remove variable.
7579 (elide-routines.oS): Don't use $(elide-bp-thunks).
7580 (elide-routines.os): Likewise.
7581 (elide-routines.o): Likewise.
7582 (elide-routines.op): Likewise.
7583 (elide-routines.og): Likewise.
7584 (objects): Don't use $(bp-thunks).
7585 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7586 include.
7587 (common-generated): Do not add s-proto-bp.d.
7588 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7589 (int): Likewise.
7590 (typ): Likewise.
7591 Do not generate makefile rules for bounded-pointer thunks.
7592 * sysdeps/generic/bp-thunks.h: Remove file.
7593 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7594 * sysdeps/unix/s-proto-bp.S: Likewise.
7595
8cf28c5e
JM
7596 [BZ #15062]
7597 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7598 parts of result separately when argument is not close to line from
7599 -i to i and one part of argument is small.
7600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7602 * math/libm-test.inc (cacos_test): Add more tests.
7603 (casin_test): Likewise.
7604 (casinh_test): Likewise.
7605 * sysdeps/i386/fpu/libm-test-ulps: Update.
7606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607
c4e33b8d
DM
76082013-01-31 David S. Miller <davem@davemloft.net>
7609
7610 * po/de.po: Update from translation team.
7611
3b60b421
MK
76122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7613
7614 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7615
bb931195
TS
76162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7617
b5a5da23
TS
7618 * configure.in (_AC_PROG_CC_C89): New definition.
7619 * configure: Regenerate.
7620
bb931195
TS
7621 * configure.in (AC_PROG_CPP): New definition.
7622 * configure: Regenerate.
7623
8c53a12c
JM
76242013-01-23 Joseph Myers <joseph@codesourcery.com>
7625
7626 * debug/tst-backtrace.h: New file.
7627 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7628 (ret): Remove variable.
7629 (x): Likewise.
7630 (FAIL): Remove macro.
7631 (NO_INLINE): Likewise.
7632 (fn1): Use match function instead of strstr.
7633 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7634 (ret): Remove variable.
7635 (x): Likewise.
7636 (FAIL): Remove macro.
7637 (NO_INLINE): Likewise.
7638 (fn): Use match function instead of strstr.
7639 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7640 (ret): Remove variable.
7641 (x): Likewise.
7642 (FAIL): Remove macro.
7643 (NO_INLINE): Likewise.
7644 (handle_signal): Use match function instead of strstr.
7645 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7646 (ret): Remove variable.
7647 (x): Likewise.
7648 (FAIL): Remove macro.
7649 (NO_INLINE): Likewise.
7650 (handle_signal): Use match function instead of strstr.
7651
4858fa2a
RM
76522013-01-23 Roland McGrath <roland@hack.frob.com>
7653
7654 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7655
bae8e7f5
DM
76562013-01-23 David S. Miller <davem@davemloft.net>
7657
7658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7659 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7660 argument of CAS if possible.
7661 * sysdeps/sparc/sparc64/bits/atomic.h
7662 (__arch_compare_and_exchange_val_32_acq): Likewise.
7663 (__arch_compare_and_exchange_val_64_acq): Likewise.
7664
9cbbc4ae
PT
76652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7666
7667 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7668 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7669 Include <limits.h>.
67b3f58c 7670 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7671
5655a0b5
AC
76722013-01-23 Adam Conrad <adconrad@0c3.net>
7673
7674 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7675 (LDFLAGS-tst-array5): Likewise.
7676
052aff95
JM
76772013-01-23 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #15036]
7680 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7681 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7682 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7683 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7684
7c1e01aa
DM
76852013-01-21 David S. Miller <davem@davemloft.net>
7686
7687 * sysdeps/sparc/backtrace.c: New file.
7688 * sysdeps/sparc/sparc32/backtrace.h: New file.
7689 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7690 * sysdeps/sparc/sparc64/backtrace.h: New file.
7691 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7692 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7693 -funwind-tables.
7694
ab087e0a
AS
76952013-01-21 Andreas Schwab <schwab@suse.de>
7696
7697 [BZ #15020]
7698 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7699 closed its stdout.
7700
ed689c2f
AS
77012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7704 "mpa2.h".
7705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7706
31d470ac
JM
77072013-01-18 Joseph Myers <joseph@codesourcery.com>
7708 Mark Mitchell <mark@codesourcery.com>
7709 Tom de Vries <tom@codesourcery.com>
7710 Paul Pluzhnikov <ppluzhnikov@google.com>
7711
7712 * debug/tst-backtrace2.c: New file.
7713 * debug/tst-backtrace3.c: Likewise.
7714 * debug/tst-backtrace4.c: Likewise.
7715 * debug/tst-backtrace5.c: Likewise.
7716 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7717 (CFLAGS-tst-backtrace3.c): Likewise.
7718 (CFLAGS-tst-backtrace4.c): Likewise.
7719 (CFLAGS-tst-backtrace5.c): Likewise.
7720 (LDFLAGS-tst-backtrace2): Likewise.
7721 (LDFLAGS-tst-backtrace3): Likewise.
7722 (LDFLAGS-tst-backtrace4): Likewise.
7723 (LDFLAGS-tst-backtrace5): Likewise.
7724 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7725 tst-backtrace4 and tst-backtrace5.
7726
90567f30 77272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7728 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7729
7730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7731 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7733 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7735 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7736 "+r" and remove output regs list as redundant. Add explicit inline
7737 asm to specify register of return val to work around compiler codegen
7738 bug. Remove (int) cast on return value. Add return type parameter to
7739 use in macro so that this macro does not truncate return value for
7740 64-bit values.
7741 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7742 pass to INTERNAL_VSYSCALL_NCS.
7743 (INLINE_VSYSCALL): Add 'long int' as return type to
7744 INTERNAL_VSYSCALL_NCS macro invocation.
7745 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7746 INTERNAL_VSYSCALL_NCS macro invocation.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7748
d3b9ea61
SP
77492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7750
0b57daeb
SP
7751 [BZ #14496]
7752 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7753 Fix application of SIMD FP exception mask.
7754
caa99d06
SP
7755 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7756 mp_no from a power of two.
7757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7758 __mpexp_twomm1. Use __pow_mp.
7759
d3b9ea61
SP
7760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7761 multiplication.
7762
1dbaee3c
DM
77632013-01-17 David S. Miller <davem@davemloft.net>
7764
7765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7766
728d7b43
JM
77672013-01-17 Joseph Myers <joseph@codesourcery.com>
7768
7769 [BZ #15023]
7770 * include/complex.h: Condition contents on [!_COMPLEX_H].
7771 (__kernel_casinhf): New prototype.
7772 (__kernel_casinh): Likewise.
7773 (__kernel_casinhl): Likewise.
7774 * math/Makefile (libm_calls): Add k_casinh.
7775 * math/k_casinh.c: New file.
7776 * math/k_casinhf.c: Likewise.
7777 * math/k_casinhl.c: Likewise.
7778 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7779 finite nonzero arguments.
7780 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7781 finite nonzero arguments.
7782 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7783 finite nonzero arguments.
7784 * math/s_casinh.c: Do not include <float.h>.
7785 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7786 * math/s_casinhf.c: Do not include <float.h>.
7787 (__casinhf): Move code for finite nonzero arguments to
7788 k_casinhf.c.
7789 * math/s_casinhl.c: Do not include <float.h>.
7790 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7791 redefine.
7792 (__casinhl): Move code for finite nonzero arguments to
7793 k_casinhl.c.
7794 * math/libm-test.inc (cacos_test): Add more tests.
7795 * sysdeps/i386/fpu/libm-test-ulps: Update.
7796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797
2a26ef3a
PT
77982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7799
7800 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7801 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7802 [!HAVE_MREMAP]: Remove [defined linux] case.
7803 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7804
a897655d
SP
78052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7806
7807 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7808
881ebe89 78092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7810
7811 * elf/elf.h (R_386_SIZE32): New relocation.
7812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7813 R_386_SIZE32.
7814 (elf_machine_rela): Likewise.
7815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7816 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7817
59981e9b
JM
78182013-01-17 Joseph Myers <joseph@codesourcery.com>
7819
7820 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7821 (FP_FAST_FMA): Do not define.
7822 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7823 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7824 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7825 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7826 !_SOFT_FLOAT]: Likewise.
7827 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7829 value.
7830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7831 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7834 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7835 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7836 file.
7837
cfa8054f
AS
78382013-01-16 Andreas Schwab <schwab@suse.de>
7839
7840 [BZ #14327]
7841 * include/stdlib.h (__mktemp): Add declaration.
7842 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7843 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7844
dd930cc5
SP
78452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7846
881ebe89
SP
7847 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7848 definitions.
7849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7850 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7851 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7852 definitions here.
7853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7854 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7855 definitions.
7856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7857 and ONE.
7858 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7859 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7861 definitions.
7862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7863 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7864 definitions.
7865 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7866
dd930cc5
SP
7867 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7868
c19a9f89
DM
78692013-01-15 David S. Miller <davem@davemloft.net>
7870
1aa61767
DM
7871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7872 trunc{,f} to libm-sysdep_routes.
7873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7875 file.
7876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7878 file.
7879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7880 file.
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7883 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7885 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7887 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7888 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7889
c42d5e98
DM
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7891 nearbyint{,f} to libm-sysdep_routes.
7892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7894 New file.
7895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7896 file.
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7898 New file.
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7900 file.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7904 file.
7905 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7907 file.
7908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7909 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7911
c19a9f89
DM
7912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7913 libc_feholdexcept and libc_fesetenv.
7914
357679d2
MF
79152013-01-15 Mike Frysinger <vapier@gentoo.org>
7916
7917 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7918
65a82e3d
DM
79192013-01-14 David S. Miller <davem@davemloft.net>
7920
8b954ab9
DM
7921 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7922 (SPARC_ASM_VIS2_IFUNC): Likewise.
7923 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7925 use of 'siam' instruction.
7926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7927 Likewise.
7928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7929 Likewise.
7930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7931 Likewise.
7932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7937 file.
7938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7939 file.
7940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7941 file.
7942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7943 file.
7944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7949 new VIS2 routines.
7950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7953 Likewise.
7954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7959 routines to libm-sysdep_routines.
7960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7961
65a82e3d
DM
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7963 fdim/fdimf to libm-sysdep_routines.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7965 file.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7968 file.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7972 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7973 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7974 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7975 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7976
e34ab705
SP
79772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7978
2a91b573
SP
7979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7980 to optimize copies.
7981
1066a534
SP
7982 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7985
e34ab705
SP
7986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7987 local variable MPTWO.
7988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7989 Likewise.
7990
aba5e596
MF
79912013-01-13 Mike Frysinger <vapier@gentoo.org>
7992
7993 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7994 GLOB_NOESCAPE.
7995
e557e9e5
MF
79962013-01-13 Mike Frysinger <vapier@gentoo.org>
7997
7998 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7999
0428cec9
MF
80002013-01-13 Mike Frysinger <vapier@gentoo.org>
8001
8002 * manual/pattern.texi (glob_t): Document gl_flags.
8003 (glob64_t): Likewise.
8004
8794a964
DM
80052013-01-11 David S. Miller <davem@davemloft.net>
8006
66438c3f
RM
8007 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8008 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8009 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8010 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8011 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8012 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8013 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8014 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8016 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8018 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8020
4ae4244d
DM
8021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8022 sparc V9 rather than using V8 code.
8023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8025
8794a964
DM
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8027 Move to...
8028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8029 Here.
8030
6270516e
RM
80312013-01-11 Roland McGrath <roland@hack.frob.com>
8032
8033 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8034 not in the main loop.
8035 * configure: Regenerated.
8036
6a57d931
JM
80372013-01-11 Joseph Myers <joseph@codesourcery.com>
8038
8039 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8040 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8041 to just #else.
8042 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8043 [!__GLIBC_HAVE_LONG_LONG] case.
8044 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8045 condition to just #else.
8046 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8047 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8048 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8049 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8050 unconditional.
8051 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8052 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8053 #elif condition to just #else.
8054 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8055 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8056 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8057 #elif condition to just #else.
8058
0e8529e9
SE
80592013-01-11 Steve Ellcey <sellcey@mips.com>
8060
8061 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8062 (EF_MIPS_ARCH_64): Fix value.
8063 (EF_MIPS_ARCH_32R2): New.
8064 (EF_MIPS_ARCH_64R2): New.
8065
740b3dbe
L
80662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8067
8068 * Makeconfig (+link-pie-before-libc): New.
8069 (+link-pie-after-libc): Likewise.
8070 (+link-pie-tests): Likewise.
8071 (+link-pie): Rewritten.
8072 (link-before-libc): Remove $(config-LDFLAGS).
8073 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8074 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8075 (config-LDFLAGS): Renamed to ...
8076 (rtld-LDFLAGS): This.
8077 (rtld-tests-LDFLAGS): New macro.
8078 (link-libc-rpath-link): Likewise.
8079 (link-libc-tests-rpath-link): Likewise.
8080 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8081 (link-libc): Prepand $(link-libc-rpath-link).
8082 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8083 (test-program-prefix): New macro.
8084 (test-via-rtld-prefix): Likewise.
8085 (test-program-cmd): Likewise.
8086 (host-test-program-cmd): Likewise.
8087 * Makefile ($(common-objpfx)testrun.sh): Replace
8088 $(run-program-prefix) with $(test-program-prefix).
8089 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8090 $(rtld-LDFLAGS).
8091 ($(common-objpfx)shlib.lds): Likewise.
8092 (build-module-helper): Likewise.
8093 ($(common-objpfx)format.lds): Likewise.
8094 * Rules (binaries-pie-tests): New.
8095 (binaries-pie-notests): Likewise.
8096 (binaries-pie): Rewritten.
8097 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8098 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8099 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8100 (make-test-out): Replace $(host-built-program-cmd) with
8101 $(host-test-program-cmd).
8102 * config.make.in (build-hardcoded-path-in-tests): New variable.
8103 * configure.in (--enable-hardcoded-path-in-tests): New configure
8104 option.
8105 (hardcoded_path_in_tests): New AC_SUBST.
8106 * configure: Regenerated.
8107 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8108 $(built-program-cmd) with $(test-program-cmd).
8109 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8110 (test_program_cmd): This.
8111 * elf/Makefile ($(objpfx)order.out): Run test with
8112 $(test-program-prefix).
8113 ($(objpfx)order2.out): Likewise.
8114 ($(objpfx)tst-initorder.out): Likewise.
8115 ($(objpfx)tst-initorder2.out): Likewise.
8116 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8117 $(test-program-cmd).
8118 ($(objpfx)tst-array1-static.out): Likewise.
8119 ($(objpfx)tst-array2.out): Likewise.
8120 ($(objpfx)tst-array3.out): Likewise.
8121 ($(objpfx)tst-array4.out): Likewise.
8122 ($(objpfx)tst-array5.out): Likewise.
8123 ($(objpfx)tst-array5-static.out): Likewise.
8124 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8125 $(test-program-cmd).
8126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8127 $(run-program-prefix) with $(test-program-prefix).
8128 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8129 (test_program_prefix): This.
8130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8131 $(run-program-prefix) with $(test-program-prefix).
8132 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8133 (test_program_prefix): This.
8134 * iconvdata/tst-tables.sh: Likewise.
8135 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8136 $(run-program-prefix) with $(test-program-prefix).
8137 ($(objpfx)tst-translit.out): Likewise.
8138 ($(objpfx)tst-gettext2.out): Likewise.
8139 ($(objpfx)tst-gettext4.out): Likewise.
8140 ($(objpfx)tst-gettext6.out): Likewise.
8141 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8142 (test_program_prefix): This.
8143 * intl/tst-gettext2.sh: Likewise.
8144 * intl/tst-gettext4.sh Likewise.
8145 * intl/tst-gettext6.sh: Likewise.
8146 * intl/tst-translit.sh: Likewise.
8147 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8148 with $(test-program-cmd).
8149 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8150 $(run-program-prefix) with $(test-program-prefix).
8151 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8152 (test_program_prefix): This.
8153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8154 $(run-program-prefix) with $(test-program-prefix).
8155 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8156 (test_program_prefix): This.
8157 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8158 * posix/Makefile ($(objpfx)globtest.out): Replace
8159 $(run-via-rtld-prefix) and $(test-wrapper) with
8160 $(test-program-prefix) and $(test-via-rtld-prefix).
8161 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8162 $(test-program-prefix).
8163 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8164 $(host-test-program-cmd).
8165 (tst-spawn-ARGS): Likewise.
8166 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8167 $(test-program-prefix).
8168 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8169 (test_via_rtld_prefix): This.
8170 (test_wrapper): Renamed to ...
8171 (test_program_prefix): This.
8172 (run_program_prefix): Replaced by test_program_prefix.
8173 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8174 (test_program_prefix): This.
8175 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8176 with $(host-test-program-cmd).
8177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8178 $(run-program-prefix) with $(test-program-prefix).
8179 ($(objpfx)tst-printf.out): Likewise.
8180 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8181 $(test-program-cmd).
8182 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8183 (test_program_prefix): This.
8184 * stdio-common/tst-unbputc.sh: Likewise.
8185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8186 $(run-program-prefix) with $(test-program-prefix).
8187 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8188 (test_program_prefix): This.
8189 * string/Makefile ($(objpfx)tst-svc.out): Replace
8190 $(built-program-cmd) with $(test-program-cmd).
8191
c6fe55cf
AJ
81922013-01-11 Andreas Jaeger <aj@suse.de>
8193
8194 [BZ #15003]
8195 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8196 value. Sync with Linux 3.7.
8197
9e6919c8
DM
81982013-01-10 David S. Miller <davem@davemloft.net>
8199
8200 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8201 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8202 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8203
1c9f1a02
RM
82042013-01-10 Roland McGrath <roland@hack.frob.com>
8205
8206 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8207 never set.
8208 * configure: Regenerated.
8209
b9de2dde
DM
82102013-01-10 David S. Miller <davem@davemloft.net>
8211
8212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8213 sparc V9 rather than using V8 code.
8214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8216
e7f68ef4
RM
82172013-01-10 Roland McGrath <roland@hack.frob.com>
8218
8219 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8220 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8221 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8222 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8223 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8224 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8225 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8226 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8227 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8228 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8229 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8230 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8231 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8232 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8233 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8234 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8235 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8236 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8237 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8238 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8239 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8240 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8241 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8242 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8243 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8244 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8245 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8246
5a47cc9c
DM
82472013-01-10 David S. Miller <davem@davemloft.net>
8248
8249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8250
4cf8f209
L
82512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8252
8253 * posix/Makefile (tests-static): New variable.
8254 (tests): Add $(tests-static).
8255 (tst-exec-static-ARGS): New variable.
8256 (tst-spawn-static-ARGS): Likewise.
8257 * posix/tst-exec-static.c: New file.
8258 * posix/tst-spawn-static.c: Likewise.
8259 * posix/tst-exec.c: Support run directly.
8260 * posix/tst-spawn.c: Likewise.
8261
fed0faa1
JM
82622013-01-10 Joseph Myers <joseph@codesourcery.com>
8263
828beb13
JM
8264 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8265 long.
8266 * math/bits/mathcalls.h (llrint): Likewise.
8267 (llround): Likewise.
8268 * stdlib/stdlib.h (struct drand48_data): Likewise.
8269 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8270 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8271 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8272 Likewise.
8273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8274 Likewise.
8275 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8276 (elf_greg_t): Likewise.
8277 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8278 (__jmp_buf): Likewise.
8279 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8280 definitions.
8281 (llrint): Likewise, for all definitions.
8282 (llrintl): Likewise.
8283
fed0faa1
JM
8284 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8285 Remove [__GNUC__] condition.
8286 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8287 condition to just [__USE_ISOC99].
8288 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8289
1a20cb20
L
82902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 [BZ #14200]
8293 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8294 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8295 defined.
8296 (_POSIX_V6_ILP32_OFF32): Likewise.
8297 (_XBS5_ILP32_OFF32): Likewise.
8298 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8299 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8300
751b85f7
SP
83012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8302
7490eb81
SP
8303 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8304
751b85f7
SP
8305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8306 doubles __mpexp_twomm1. Adjust usage.
8307 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8308 Remove.
8309
988197f0
AS
83102013-01-10 Andreas Schwab <schwab@suse.de>
8311
8312 [BZ #14964]
8313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8314 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8315
e83d7298
DM
83162013-01-09 David S. Miller <davem@davemloft.net>
8317
034ed64b 8318 [BZ #15003]
e83d7298
DM
8319 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8320 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8321 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8322 TCP_FASTOPEN): Define.
8323 (tcp_repair_opt): New structure.
8324 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8325 enum values.
8326 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8327 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8328 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8329 (tcp_cookie_transactions): New structure.
8330
d5e0b9bd
AB
83312013-01-09 Anton Blanchard <anton@samba.org>
8332
8333 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8337
0c07e3ea
JM
83382013-01-09 Joseph Myers <joseph@codesourcery.com>
8339
8340 * include/features.h (__USE_ANSI): Remove.
8341
232f7002
RM
83422013-01-09 Roland McGrath <roland@hack.frob.com>
8343
ad98e30c
RM
8344 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8345
232f7002
RM
8346 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8347
950c99ca
SP
83482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8349
b5792741
SP
8350 * sysdeps/s390/fpu/libm-test-ulps: Update.
8351
47cf2278
SP
8352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8353
950c99ca
SP
8354 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8355 (__acr): Likewise.
8356 (__cpy): Likewise.
8357 (norm): Likewise.
8358 (denorm): Likewise.
8359 (__mp_dbl): Likewise.
8360 (__dbl_mp): Likewise.
8361 (add_magnitudes): Likewise.
8362 (sub_magnitudes): Likewise.
8363 (__add): Likewise.
8364 (__sub): Likewise.
8365 (__mul): Likewise.
8366 (__inv): Likewise.
8367 (__dvd): Likewise.
8368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8369 (__acr): Likewise.
8370 (__cpy): Likewise.
8371 (norm): Likewise.
8372 (denorm): Likewise.
8373 (__mp_dbl): Likewise.
8374 (__dbl_mp): Likewise.
8375 (add_magnitudes): Likewise.
8376 (sub_magnitudes): Likewise.
8377 (__add): Likewise.
8378 (__sub): Likewise.
8379 (__mul): Likewise.
8380 (__inv): Likewise.
8381 (__dvd): Likewise.
8382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8383 (__acr): Likewise.
8384 (__cpy): Likewise.
8385 (norm): Likewise.
8386 (denorm): Likewise.
8387 (__mp_dbl): Likewise.
8388 (__dbl_mp): Likewise.
8389 (add_magnitudes): Likewise.
8390 (sub_magnitudes): Likewise.
8391 (__add): Likewise.
8392 (__sub): Likewise.
8393 (__mul): Likewise.
8394 (__inv): Likewise.
8395 (__dvd): Likewise.
8396
eede9df9
JM
83972013-01-08 Joseph Myers <joseph@codesourcery.com>
8398
8399 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8400 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8401 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8402 2 && __USE_EXTERN_INLINES]: Likewise.
8403
c40ea3d9
AJ
84042013-01-08 Andreas Jaeger <aj@suse.de>
8405
8406 [BZ# 14985]
8407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8408 Remove.
8409 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8411
2ccdea26
AB
84122013-01-07 Anton Blanchard <anton@samba.org>
8413
8414 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8415 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8416 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8417 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8418 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8420 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8421 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8437 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8438 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8444 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8457
a9708fed
JM
84582013-01-07 Joseph Myers <joseph@codesourcery.com>
8459
375607b9
JM
8460 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8461 (__MALLOC_PMT): Likewise.
8462 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8463 [__GNUC__], only on [_LIBC].
8464 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8465 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8466 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8467 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8468 forward declaration.
8469 (realloc_hook_ini): Likewise.
8470 (memalign_hook_ini): Likewise.
8471 (__libc_memalign): Do not use __MALLOC_PMT in variable
8472 declaration.
8473 (__libc_valloc): Likewise.
8474 (__libc_pvalloc): Likewise.
8475 (__libc_calloc): Likewise.
8476 (__posix_memalign): Likewise.
8477
a9708fed
JM
8478 [BZ #14996]
8479 * math/s_casinh.c: Include <float.h>.
8480 (__casinh): Do not do computation with squaring and square root
8481 for large arguments.
8482 * math/s_casinhf.c: Include <float.h>.
8483 (__casinhf): Do not do computation with squaring and square root
8484 for large arguments.
8485 * math/s_casinhl.c: Include <float.h>.
8486 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8487 (__casinhl): Do not do computation with squaring and square root
8488 for large arguments.
8489 * math/libm-test.inc (casin_test): Add more tests.
8490 (casinh_test): Likewise.
8491 * sysdeps/i386/fpu/libm-test-ulps: Update.
8492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8493
afec409a
L
84942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8497 (__x86_64_raw_data_cache_size): Likewise.
8498 (__x86_64_data_cache_size_half): Likewise.
8499 (__x86_64_raw_data_cache_size_half): Likewise.
8500 (__x86_64_shared_cache_size): Likewise.
8501 (__x86_64_raw_shared_cache_size): Likewise.
8502 (__x86_64_shared_cache_size_half): Likewise.
8503 (__x86_64_raw_shared_cache_size_half): Likewise.
8504 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8505 to ...
8506 (__x86_data_cache_size): This.
8507 (__x86_64_raw_data_cache_size): Renamed to ...
8508 (__x86_raw_data_cache_size): This.
8509 (__x86_64_data_cache_size_half): Renamed to ...
8510 (__x86_data_cache_size_half): This.
8511 (__x86_64_raw_data_cache_size_half): Renamed to ...
8512 (__x86_raw_data_cache_size_half): This.
8513 (__x86_64_shared_cache_size): Renamed to ...
8514 (__x86_shared_cache_size): This.
8515 (__x86_64_raw_shared_cache_size): Renamed to ...
8516 (__x86_raw_shared_cache_size): This.
8517 (__x86_64_shared_cache_size_half): Renamed to ...
8518 (__x86_shared_cache_size_half): This.
8519 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8520 (__x86_raw_shared_cache_size_half): This.
8521 * sysdeps/x86_64/memcpy.S: Updated.
8522 * sysdeps/x86_64/memset.S: Likewise.
8523 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8526
0b3986d0
DM
85272013-01-04 David S. Miller <davem@davemloft.net>
8528
8529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8530
e47686e9
AS
85312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8532
d643bac1
AS
8533 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8534 1 to avoid redefinition warning.
8535 (__USE_GNU): Don't define.
8536 (init_signaling_nan): Protoize.
8537
e47686e9
AS
8538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8539
b18decba
SP
85402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
fffb407f
SP
8542 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8544 (__cpymn): Likewise.
8545 (norm): Remove commented code.
8546 (denorm): Likewise.
8547 (__mp_dbl): Likewise.
8548 (__inv): Likewise.
8549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8550 (__cpymn): Likewise.
8551 (norm): Remove commented code.
8552 (denorm): Likewise.
8553 (__mp_dbl): Likewise.
8554 (__inv): Likewise.
8555
b18decba
SP
8556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8557 mp_no value for 1.0 and 2.0.
8558 (norm): Use RADIXI instead of radixi.d.
8559 (denorm): Likewise.
8560 (__mul): Use 0.0 instead of zero.d.
8561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8562 mp_no value for 1.0 and 2.0.
8563 (norm): Use RADIXI instead of radixi.d.
8564 (denorm): Likewise.
8565 (__mul): Use 0.0 instead of zero.d.
8566
cdc1c96f
JM
85672013-01-04 Joseph Myers <joseph@codesourcery.com>
8568
8569 [BZ #14994]
8570 * math/s_casinh.c (__casinh): Reduce finite argument to first
8571 quadrant then set signs of results at the end.
8572 * math/s_casinhf.c (__casinhf): Likewise.
8573 * math/s_casinhl.c (__casinhl): Likewise.
8574 * math/libm-test.inc (casin_test): Add more tests.
8575 (casinh_test): Likewise.
8576 * sysdeps/i386/fpu/libm-test-ulps: Update.
8577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8578
302913e1
SP
85792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8580
6420d207
SP
8581 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8582
a9e48ab4
SP
8583 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8584
b7837264
SP
8585 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8586 declarations.
8587 (denorm): Likewise.
8588 (__mp_dbl): Likewise.
8589 (__inv): Likewise.
8590
f8af25d2
SP
8591 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8592 and adjust the header comment.
8593
302913e1
SP
8594 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8595 variable name from declaration.
8596
5d7dd1ca
L
85972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8600 Initialize COMMON_CPUID_INDEX_7 element.
8601 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8602 (CPUID_RTM): Likewise.
8603 (HAS_RTM): Likewise.
8604 (COMMON_CPUID_INDEX_7): New enum.
8605
2f5f40f4
AS
86062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8607
8608 [BZ #14981]
8609 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8610 size is zero, record memory as freed.
8611
4056f4a0
AJ
86122013-01-03 Andreas Jaeger <aj@suse.de>
8613
8614 * po/ia.po: Add new Interlingua translation.
8615
ab15736f 86162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8617
8618 * locale/programs/localedef.c: Fix description of '--posix' flag.
8619
568035b7
JM
86202013-01-02 Joseph Myers <joseph@codesourcery.com>
8621
e6898b8d
JM
8622 * NEWS: Update dates in second copyright notice.
8623 * README: Update copyright dates in example.
8624 * manual/libc.texinfo: Update copyright dates.
8625 * scripts/test-installation.pl: Update copyright date in --version
8626 output.
8627
0e2f9562
JM
8628 * hurd/ctty-input.c: Fix copyright notice formatting.
8629 * hurd/ctty-output.c: Likewise.
8630 * hurd/dtable.c: Likewise.
8631 * hurd/hurd-raise.c: Likewise.
8632 * hurd/hurdprio.c: Likewise.
8633 * hurd/msgportdemux.c: Likewise.
8634 * misc/sys/file.h: Likewise.
8635 * misc/sys/ioctl.h: Likewise.
8636 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8637 * sysdeps/mach/hurd/chdir.c: Likewise.
8638 * sysdeps/mach/hurd/fchdir.c: Likewise.
8639 * sysdeps/mach/hurd/rename.c: Likewise.
8640 * sysdeps/mach/hurd/rmdir.c: Likewise.
8641 * sysdeps/mach/hurd/seekdir.c: Likewise.
8642 * sysdeps/mach/hurd/setsid.c: Likewise.
8643 * sysdeps/posix/wait3.c: Likewise.
8644
568035b7
JM
8645 * All files with FSF copyright notices: Update copyright dates
8646 using scripts/update-copyrights.
8647 * intl/plural.c: Regenerated.
8648 * locale/programs/charmap-kw.h: Likewise.
8649 * locale/programs/locfile-kw.h: Likewise.
8650
da08f647
SP
86512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8652
0f5477af
SP
8653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8654 four values.
8655
44e0d4c2
SP
8656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8657 calculation loop and add branch prediction.
8658
4d55b4e5
SP
8659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8660 check access beyond bounds of m1np.
8661
da08f647
SP
8662 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8663 MPTWO.
8664 (__inv): Remove local variable MPTWO to use the global
8665 constant.
8666 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8668 variable MPTWO.
8669 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8670 MP3HALFS static const.
8671
8e051029
DM
86722013-01-01 David S. Miller <davem@davemloft.net>
8673
8674 * po/ca.po: Update from translation team.
8675
f4cf5f2d
JM
86762013-01-01 Joseph Myers <joseph@codesourcery.com>
8677
8678 * scripts/update-copyrights: New file.
8679 * Makeconfig: Reformat copyright notice.
8680 * ctype/ctype.h: Likewise.
8681 * debug/swprintf_chk.c: Likewise.
8682 * elf/dl-cache.c: Likewise.
8683 * elf/dl-debug.c: Likewise.
8684 * elf/dl-object.c: Likewise.
8685 * grp/initgroups.c: Likewise.
8686 * hurd/Makefile: Likewise.
8687 * hurd/hurd/signal.h: Likewise.
8688 * hurd/hurdfault.c: Likewise.
8689 * hurd/hurdioctl.c: Likewise.
8690 * hurd/hurdlookup.c: Likewise.
8691 * hurd/intr-msg.c: Likewise.
8692 * iconv/gconv_open.c: Likewise.
8693 * libio/swprintf.c: Likewise.
8694 * locale/lc-ctype.c: Likewise.
8695 * locale/nl_langinfo.c: Likewise.
8696 * mach/Machrules: Likewise.
8697 * mach/Makefile: Likewise.
8698 * malloc/obstack.h: Likewise.
8699 * manual/Makefile: Likewise.
8700 * manual/tsort.awk: Likewise.
8701 * misc/bits/stab.def: Likewise.
8702 * nis/nis_print_group_entry.c: Likewise.
8703 * nis/nis_table.c: Likewise.
8704 * nis/nss_compat/compat-pwd.c: Likewise.
8705 * nis/nss_compat/compat-spwd.c: Likewise.
8706 * po/Makefile: Likewise.
8707 * posix/fnmatch.c: Likewise.
8708 * posix/regex.h: Likewise.
8709 * resolv/Makefile: Likewise.
8710 * resolv/nss_dns/dns-network.c: Likewise.
8711 * resolv/res_hconf.c: Likewise.
8712 * scripts/gen-sorted.awk: Likewise.
8713 * soft-fp/soft-fp.h: Likewise.
8714 * stdio-common/printf.h: Likewise.
8715 * stdlib/monetary.h: Likewise.
8716 * stdlib/random.c: Likewise.
8717 * stdlib/random_r.c: Likewise.
8718 * sysdeps/generic/Makefile: Likewise.
8719 * sysdeps/gnu/Makefile: Likewise.
8720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8748 * sysdeps/mach/hurd/errnos.awk: Likewise.
8749 * sysdeps/mach/hurd/fork.c: Likewise.
8750 * sysdeps/mach/hurd/getcwd.c: Likewise.
8751 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8752 * sysdeps/mach/hurd/mmap.c: Likewise.
8753 * sysdeps/mach/hurd/utimes.c: Likewise.
8754 * sysdeps/mach/hurd/xmknod.c: Likewise.
8755 * sysdeps/posix/profil.c: Likewise.
8756 * sysdeps/posix/readdir_r.c: Likewise.
8757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8758 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8759 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8760 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8768 * sysdeps/pthread/lio_listio.c: Likewise.
8769 * sysdeps/sparc/dl-procinfo.h: Likewise.
8770 * sysdeps/unix/i386/sysdep.S: Likewise.
8771 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8772 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8773 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8774 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8776 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8778 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8779 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8780 * sysdeps/wordsize-32/divdi3.c: Likewise.
8781 * time/sys/time.h: Likewise.
8782 * wcsmbs/Makefile: Likewise.
8783
0549fbba
DM
87842013-01-01 David S. Miller <davem@davemloft.net>
8785
a141f1a7
DM
8786 * po/fr.po: Update from translation team.
8787
0549fbba
DM
8788 * catgets/gencat.c: Update copyright year.
8789 * csu/version.c: Likewise.
8790 * debug/catchsegv.sh: Likewise.
8791 * debug/pcprofiledump.c: Likewise.
8792 * debug/xtrace.sh: Likewise.
8793 * elf/ldconfig.c: Likewise.
8794 * elf/ldd.bash.in: Likewise.
8795 * elf/pldd.c: Likewise.
8796 * elf/sotruss.ksh: Likewise.
8797 * elf/sprof.c: Likewise.
8798 * iconv/iconv_prog.c: Likewise.
8799 * iconv/iconvconfig.c: Likewise.
8800 * locale/programs/locale.c: Likewise.
8801 * locale/programs/localedef.c: Likewise.
8802 * login/programs/pt_chown.c: Likewise.
8803 * malloc/memusage.sh: Likewise.
8804 * malloc/memusagestat.c: Likewise.
8805 * malloc/mtrace.pl: Likewise.
8806 * nscd/nscd.c: Likewise.
8807 * nss/getent.c: Likewise.
8808 * nss/makedb.c: Likewise.
8809 * posix/getconf.c: Likewise.
8810
18ea052c
SP
88112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8812
8813 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8814 numbers.
8815
9c89fca6
MF
88162012-12-30 Mike Frysinger <vapier@gentoo.org>
8817
8818 * math/bits/mathcalls.h (modf): Use __nonnull.
8819
085ec079
SP
88202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8821
8822 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8823 (split): Use macro CN instead of the bare value.
8824 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8825 could be used.
8826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8827 instead of the bare value.
8828 (power1): Likewise.
8829
6d9f97e1
SP
88302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8831
d63f73be
SP
8832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8833 __ATAN_TWOM.
8834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8835
6d9f97e1
SP
8836 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8837 their values.
8838 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8840 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8842
4c4febf5
AJ
88432012-12-28 Andreas Jaeger <aj@suse.de>
8844
af5843ef
AJ
8845 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8846 values are from Linux 3.7.
8847
4c4febf5
AJ
8848 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8849 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8850
99136f82
SP
88512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8852
2f216c3c 8853 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8854 TRUE case.
8855
99136f82
SP
8856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8857 (norm): Likewise.
8858 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8859 variables with preprocessor constants.
8860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8861 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8863
7fffbdff
BH
88642012-12-27 Bruno Haible <bruno@clisp.org>
8865
8866 [BZ #14317]
8867 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8868 only if needed.
8869
b76eb5f0
SP
88702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8871
31a7fe5c
SP
8872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8873 and use variable directly.
8874 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8875
b76eb5f0
SP
8876 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8877 MPONE.
8878 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8880 variable MPONE.
8881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8883 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8884 include directive. Remove local variable MPONE.
8885 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8888
2c8bfe7d
DM
88892012-12-25 David S. Miller <davem@davemloft.net>
8890
8891 * version.h (RELEASE): Set to "development".
8892 (VERSION): Set to "2.17.90".
8893 * NEWS: Add 2.18 section.
8894
147d03b0
DM
88952012-12-21 David S. Miller <davem@davemloft.net>
8896
8897 * po/hr.po: Update from translation team.
8898
a8ebb2b9
AK
88992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8900
8901 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8902
95b4f1b6
SE
89032012-12-19 Steve Ellcey <sellcey@mips.com>
8904
b2d94007 8905 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8906
cedb2a90
MS
89072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8908
8909 * manual/contrib.texi (Contributors): Spelling correction.
8910
bbf527d6
DM
89112012-12-15 David S. Miller <davem@davemloft.net>
8912
8913 * po/ru.po: Update from translation team.
8914
bc38c906
DM
89152012-12-13 David S. Miller <davem@davemloft.net>
8916
85429b1a
DM
8917 * NEWS: Mention IFUNC testsuite enhancements.
8918
d283e353
DM
8919 * po/pl.po: Update from translation team.
8920 * po/bg.po: Likewise.
8921
bc38c906
DM
8922 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8923 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8924
a181b0d7
DM
89252012-12-11 David S. Miller <davem@davemloft.net>
8926
4641d57e
DM
8927 * po/sv.po: Update from translation team.
8928
f7bc6495
DM
8929 * po/vi.po: Update from translation team.
8930
6fc9048f
DM
8931 * po/cs.po: Update from translation team.
8932
a181b0d7
DM
8933 * po/de.po: Update from translation team.
8934 * po/eo.po: Likewise.
8935 * po/nl.po: Likewise.
8936
f70bfe80
SP
89372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8938
3c8b4190
SP
8939 [BZ #14246]
8940 * manual/argp.texi (Argp Helper Functions): Move node to follow
8941 Argp Parsing State.
8942
f70bfe80
SP
8943 [BZ #14872]
8944 * manual/conf.texi (Limits on File System Capacity): Mention if
8945 terminating null is included in the max size.
8946
188f0adf
AJ
89472012-12-10 Andreas Jaeger <aj@suse.de>
8948
8949 * po/cs.po: Update from translation team.
8950
56e7d3ad
SP
89512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8952
8953 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8954 void pointer and cast to uintptr_t.
8955 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8956 path.
8957 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8958 * sysdeps/s390/s390-64/memset.S: Likewise.
8959
76f2d2ea 89602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8961
8962 [BZ #14833]
8963 * menual/message.texi (Message Translation): Fix typos.
8964 (Helper programs for gettext): Likewise.
8965
67cbf9a2
AS
89662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8967
8968 [BZ #14898]
8969 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8970 Change to -1.
8971
682d0e9a
DM
89722012-12-07 David S. Miller <davem@davemloft.net>
8973
8974 * po/libc.pot: Update.
8975
573cd484
RH
89762012-12-07 Richard Henderson <rth@redhat.com>
8977
7e9da188 8978 [BZ #10114]
573cd484
RH
8979 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8980 normal/normal case to before the switch.
8981 (_FP_DIV): Likewise.
8982
e933a943
MF
89832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8984 Mike Frysinger <vapier@gentoo.org>
8985
8986 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8987 check for __NR_fadvise64_64.
8988
82123268
CM
89892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8990
8991 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8992 0, not just to plain "0" as a statement.
8993 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8994 with cw.
8995
d9814526
JM
89962012-12-06 Joseph Myers <joseph@codesourcery.com>
8997
8998 * NEWS: Use sourceware.org in Bugzilla URL.
8999
7728c574
SP
90002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9001
f16946dd
SP
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9003 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9004
5704bbcb
SP
9005 * stdio-common/tst-put-error.c (do_test): Add newline to the
9006 padded test to ensure flush.
9007
17aa0516
JL
90082012-12-05 Jeff Law <law@redhat.com>
9009
9010 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9011
363313b5
JM
90122012-12-05 Joseph Myers <joseph@codesourcery.com>
9013
effbd42a
JM
9014 * README: Don't refer to ports add-on as distributed separately.
9015 Mention AArch64 in list of systems supported in the ports add-on.
9016
87600365
JM
9017 * LICENSES: Add more non-FSF copyright and license notices.
9018
a0d7066a
JM
9019 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9020 ((unused)).
9021
66ca5a5b
JM
9022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9023
363313b5
JM
9024 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9025 10000 as width of padded output.
9026
b37984ad
JM
90272012-12-04 Joseph Myers <joseph@codesourcery.com>
9028
9003570a
JM
9029 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9030
b37984ad
JM
9031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9032 variable LX with __attribute__ ((unused)).
9033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9034 Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9038 with __attribute__ ((unused)).
9039
c8df52ec
DM
90402012-12-04 David S. Miller <davem@abraco.davemloft.net>
9041
9042 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9043
b3b099af
JM
90442012-12-04 Joseph Myers <joseph@codesourcery.com>
9045
c33aa6e3
JM
9046 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9047 (CFLAGS-nldbl-acos.c): New variable.
9048 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9049 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9050 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9051 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9052 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9053 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9054 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9055 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9056 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9057 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9058 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9059 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9060 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9061 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9062 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9063 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9064 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9065 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9066 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9067 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9068 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9069 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9070 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9071 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9072 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9073 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9074 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9075 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9076 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9077 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9078 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9079 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9080 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9081 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9082 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9083 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9084 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9085 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9086 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9087 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9088 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9089 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9090 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9091 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9092 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9093 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9094 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9095 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9096 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9097 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9098 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9099 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9100 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9101 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9102 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9103 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9104 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9105 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9106 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9107 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9108 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9109 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9110 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9111 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9112 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9113 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9114 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9115 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9116 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9117 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9118 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9119 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9120 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9121 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9122 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9123 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9124 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9125 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9126 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9127 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9128 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9129 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9130 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9131 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9136 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9137 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9138 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9139 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9140 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9141 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9142 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9145
20f0018d
JM
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9148
b3b099af
JM
9149 [BZ #14914]
9150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9151 whole low double instead of just low 47 bits when splitting values
9152 into two parts.
9153
029264d1
AM
91542012-12-03 Allan McRae <allan@archlinux.org>
9155
9156 * manual/stdio.texi (Predefined Printf Handlers): Remove
9157 @hsep and @vsep usage.
9158
c9d6789e
MF
91592012-12-03 Mike Frysinger <vapier@gentoo.org>
9160
9161 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9162 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9163
4b7634a5
JL
91642012-12-03 Jeff Law <law@redhat.com>
9165
9166 * time/sys/time.h (settimeofday): Do not mark TV argument
9167 as __nonnull.
9168
eb6cbd24
MF
91692012-12-01 Mike Frysinger <vapier@gentoo.org>
9170
9171 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9172 when currently writing and seek to current position when not.
9173 * libio/Makefile (tests): Remove bug-fclose1.
9174 * libio/bug-fclose1.c: Delete.
9175
f638872a
JM
91762012-12-01 Joseph Myers <joseph@codesourcery.com>
9177
9178 * manual/arith.texi (feenableexcept): Fix typo.
9179 (fedisableexcept): Likewise.
9180
48085d14
RM
91812012-11-30 Roland McGrath <roland@hack.frob.com>
9182
9183 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9184 second, differently-typed declaration, rather than a cast.
9185
1a538b9f
SP
91862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9187
9188 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9189 * include/rpc/svc.h: ... here.
9190
d07f2ff1 91912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9192
9193 [BZ #13013]
9194 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9195 depending n and resplen2 to catch cases where answer
9196 equals answerp2.
9197
c93ec1f0
CD
91982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9199
9200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9201 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9202
37db69de
MF
92032012-11-29 Mike Frysinger <vapier@gentoo.org>
9204
9205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9206
e10c4e4f
RM
92072012-11-29 Roland McGrath <roland@hack.frob.com>
9208
9209 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9210
2af1b328
JL
92112012-11-28 Jeff Law <law@redhat.com>
9212
9213 [BZ #13761]
9214 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9215 dataset_temporary. Track alloca usage into alloca_used.
9216 If dataset is large allocate and release it via malloc/free.
9217
111db5b1
FW
92182012-06-04 Florian Weimer <fweimer@redhat.com>
9219
f06cc227 9220 [BZ #14197]
111db5b1
FW
9221 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9222
dd694abd
DM
92232012-11-28 David S. Miller <davem@davemloft.net>
9224
9225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9226
9984dd01
JM
92272012-11-28 Joseph Myers <joseph@codesourcery.com>
9228
9229 [BZ #14803]
9230 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9231 of pi/2 rounded to nearest to 64 bits.
9232 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9233 nearest to 64 bits.
9234 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9235 bits.
9236
14bc93a9
JL
92372012-11-28 Jeff Law <law@redhat.com>
9238 Martin Osvald <mosvald@redhat.com>
9239
9240 [BZ #14889]
9241 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9242 * sunrpc/svc.c: Include time.h.
9243 (__svc_accept_failed): New function.
9244 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9245 any reason other than EINTR, call __svc_accept_failed.
9246 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9247 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9248
e3c6aa3a
AS
92492012-11-28 Andreas Schwab <schwab@suse.de>
9250
9251 * scripts/abilist.awk: Also handle indirect functions in .opd
9252 section.
9253
1bead169
JM
92542012-11-28 Joseph Myers <joseph@codesourcery.com>
9255
9256 [BZ #13881]
9257 * sysdeps/x86/fpu/powl_helper.c: New file.
9258 * sysdeps/x86/fpu/Makefile: Likewise.
9259 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9260 (p3): New object.
9261 (__ieee754_powl): Use __powl_helper for finite arguments except
9262 integer exponents below 8.
9263 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9264 (p3): New object.
9265 (__ieee754_powl): Use __powl_helper for finite arguments except
9266 integer exponents below 8.
9267 * math/libm-test.inc (pow_test): Add more tests and enable some
9268 previously disabled tests.
9269 * sysdeps/i386/fpu/libm-test-ulps: Update.
9270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9271
0817d63d
SP
92722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9273 Carlos O'Donell <carlos_odonell@mentor.com>
9274
9275 * nss/makedb.c (is_prime): Assert that input is odd and greater
9276 than 4. Note that fact in a comment too.
9277 (next_prime): Add 4 to input.
9278
de2fd463
SP
92792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9280
9281 [BZ #11741]
9282 * libio/Makefile (tests): Add test case tst-fwrite-error.
9283 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9284 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9285 * libio/tst-fwrite-error.c: New test case.
9286
c515fb51
L
92872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9290 before casting to void *.
9291 * include/libc-internal.h (__pointer_type): New macro.
9292 (__integer_if_pointer_type_sub): Likewise.
9293 (__integer_if_pointer_type): Likewise.
9294 (cast_to_integer): Likewise.
9295 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9296 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9297 before casting to atomic64_t.
9298 (atomic_exchange_acq): Likewise.
9299 (__arch_exchange_and_add_body): Likewise.
9300 (__arch_add_body): Likewise.
9301 (atomic_add_negative): Likewise.
9302 (atomic_add_zero): Likewise.
9303
4cf77aa9
JM
93042012-11-26 Joseph Myers <joseph@codesourcery.com>
9305
9306 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9307 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9308 (add_fdes): Likewise.
9309 (linear_search_fdes): Likewise.
9310 (binary_search_unencoded_fdes): Likewise.
9311
d260b3b4
AS
93122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9313
9314 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9315
67060746
AC
93162012-11-24 Adam Conrad <adconrad@0c3.net>
9317
9318 * configure.in: Autodetect C++ header directories.
9319 * configure: Regenerated.
9320
800938a1
MF
93212012-11-23 Mike Frysinger <vapier@gentoo.org>
9322
9323 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9324
4e6e34e6
AS
93252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9326
9327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9328
7c7feb47
JM
93292012-11-22 Joseph Myers <joseph@codesourcery.com>
9330
7184dcdf
JM
9331 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9332 LDBL_MANT_DIG == 106]: Disable some tests.
9333 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9334 Likewise.
9335 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9336 Likewise.
9337
0a42601f
JM
9338 [BZ #14871]
9339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9340 input for small inputs. Return +/- pi/2 for large inputs.
9341 * math/libm-test.inc (atan_test): Add more tests.
9342
79c9b9fe
JM
9343 * sysdeps/generic/unwind-dw2-fde-glibc.c
9344 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9345 __attribute__ ((unused)).
9346
c60d3bf2
JM
9347 [BZ #14645]
9348 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9349 x * y if x and y are nonzero and z is zero.
9350
ef1e0867
JM
9351 [BZ #14811]
9352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9353 nonzero exponents with absolute value below 0x1p-117 to +/-
9354 0x1p-117.
9355
1468ded3
JM
9356 [BZ #14869]
9357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9358 up arguments below 2**-450, not just those below 2**-500.
9359 * math/libm-test.inc (hypot_test): Add another test.
9360
8e27e3cc
JM
9361 [BZ #14868]
9362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9363 Return a+b for ratio over 2**120, not 2**60.
9364 * math/libm-test.inc (hypot_test): Add another test.
9365
c9c0279b
JM
9366 * math/libm-test.inc (clog_test): Use
9367 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9368 (clog10_test): Likewise.
9369
7c7feb47
JM
9370 [BZ #6778]
9371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9372
fff1530e
AS
93732012-11-22 Andreas Schwab <schwab@suse.de>
9374
9375 * sysdeps/i386/fpu/libm-test-ulps: Update.
9376
94558d30
PT
93772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9378
9379 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9380 printf output with newline.
9381
7e1be741
L
93822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9383
6bfea974
L
9384 [BZ #14865]
9385 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9386 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9387 -z nodlopen, -z initfirst and -z execstack support.
9388 * configure: Regenerated.
9389
7e1be741
L
9390 * elf/elf.h (DF_1_NODIRECT): New macro.
9391 (DF_1_IGNMULDEF): Likewise.
9392 (DF_1_NOKSYMS): Likewise.
9393 (DF_1_NOHDR): Likewise.
9394 (DF_1_EDITED): Likewise.
9395 (DF_1_NORELOC): Likewise.
9396 (DF_1_SYMINTPOSE): Likewise.
9397 (DF_1_GLOBAUDIT): Likewise.
9398 (DF_1_SINGLETON): Likewise.
9399 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9400 DT_1_SUPPORTED_MASK bits.
9401 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9402
105ce2ce
CD
94032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9404
9405 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9406
123be9de
TS
94072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9408
d072f3f7
TS
9409 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9410 macro.
9411
123be9de
TS
9412 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9413 (sendmmsg): Move declarations...
9414 * socket/sys/socket.h: ... here.
9415 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9416 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9417 include it from...
9418 * socket/recvmmsg.c: ... this new file.
9419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9420 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9421 definition of __sendmmsg hidden.
9422 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9423 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9424 Move ENOSYS stub into and include it from...
9425 * socket/sendmmsg.c: ... this new file.
9426 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9427 (sysdep_routines): Move recvmmsg and sendmmsg...
9428 * socket/Makefile (routines): ... here.
9429 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9430 (GLIBC_PRIVATE): Add __sendmmsg.
9431 * include/sys/socket.h (__sendmmsg): Add declarations.
9432 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9433 sendmmsg.
9434
cf9a5d18
JM
94352012-11-20 Joseph Myers <joseph@codesourcery.com>
9436
9437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9438 variable I1 with __attribute__ ((unused)).
9439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9440
ecd4caf9
JM
94412012-11-19 Joseph Myers <joseph@codesourcery.com>
9442
be14d48f
JM
9443 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9444 DUMMY variables with __attribute__ ((unused)).
9445
ecd4caf9
JM
9446 * bits/byteswap.h: Include <bits/types.h>.
9447 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9448
986cab95
PT
94492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9450
9451 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9452 string_t. Do not manually set errno.
9453 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9454 length with __strnlen. Make sure to both set errno and return it on
9455 failure.
9456
6d33cc9d
DM
94572012-11-19 David S. Miller <davem@davemloft.net>
9458
9459 With help from Joseph Myers.
9460 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9461 very large arguments properly.
9462 * math/libm-test.inc (atan_test): New tests.
9463 (atan2_test): New tests.
9464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9466
ee663277
JM
94672012-11-19 Joseph Myers <joseph@codesourcery.com>
9468
877f2d8e
JM
9469 [BZ #14856]
9470 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9471 Define to 3.
9472
116fc08a
JM
9473 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9474 [POSIX] (EADDRNOTAVAIL): Likewise.
9475 [POSIX] (EAFNOSUPPORT): Likewise.
9476 [POSIX] (EALREADY): Likewise.
9477 [POSIX] (ECONNABORTED): Likewise.
9478 [POSIX] (ECONNREFUSED): Likewise.
9479 [POSIX] (ECONNRESET): Likewise.
9480 [POSIX] (EDESTADDRREQ): Likewise.
9481 [POSIX] (EDQUOT): Likewise.
9482 [POSIX] (EHOSTUNREACH): Likewise.
9483 [POSIX] (EIDRM): Likewise.
9484 [POSIX] (EISCONN): Likewise.
9485 [POSIX] (ELOOP): Likewise.
9486 [POSIX] (EMULTIHOP): Likewise.
9487 [POSIX] (ENETDOWN): Likewise.
9488 [POSIX] (ENETUNREACH): Likewise.
9489 [POSIX] (ENOBUFS): Likewise.
9490 [POSIX] (ENODATA): Likewise.
9491 [POSIX] (ENOLINK): Likewise.
9492 [POSIX] (ENOMSG): Likewise.
9493 [POSIX] (ENOPROTOOPT): Likewise.
9494 [POSIX] (ENOSR): Likewise.
9495 [POSIX] (ENOSTR): Likewise.
9496 [POSIX] (ENOTCONN): Likewise.
9497 [POSIX] (ENOTSOCK): Likewise.
9498 [POSIX] (EOPNOTSUPP): Likewise.
9499 [POSIX] (EOVERFLOW): Likewise.
9500 [POSIX] (EPROTO): Likewise.
9501 [POSIX] (EPROTONOSUPPORT): Likewise.
9502 [POSIX] (EPROTOTYPE): Likewise.
9503 [POSIX] (ESTALE): Likewise.
9504 [POSIX] (ETIME): Likewise.
9505 [POSIX] (ETXTBSY): Likewise.
9506 [POSIX] (EWOULDBLOCK): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9508 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9509 [POSIX] (SEEK_CUR): Likewise.
9510 [POSIX] (SEEK_END): Likewise.
9511 [POSIX || UNIX98] (mode_t): Do not require.
9512 [POSIX] (off_t): Likewise.
9513 [POSIX] (pid_t): Likewise.
9514 [POSIX] (sys/stat.h): Do not allow header.
9515 [POSIX] (unistd.h): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9517 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9519 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9520 require.
9521 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9522 sigevent): Specify elements.
9523 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9524 entry.
9525 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9526 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9527
a483863f
JM
9528 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9529 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9530 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9531 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9532 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9533 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9534 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9535 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9536 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9537 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9538 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9539 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9540 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9542 Likewise.
9543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9544 Likewise.
9545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9546 Likewise.
9547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9548 Likewise.
9549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9550 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9554 Specify lower bound on value.
9555 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9556 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9561 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9562 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9563 value.
9564 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9565 as optional.
9566 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9567 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9568 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9569 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9570 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9571 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9572 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9574 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9576 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9577 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9578 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9579 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9580 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9582 entry.
9583 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9584 optional.
9585 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9587 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9588 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9589 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9590 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9591 Likewise.
9592 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9594 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9595 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9596 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9597 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9599 as optional.
9600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9604 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9605 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9606 specify as optional.
9607 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9611 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9612 [XPG3] (NL_LANGMAX): Likewise.
9613 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9614 [POSIX || XPG3] (NL_NMAX): Likewise.
9615 [POSIX || XPG3] (NL_SETMAX): Likewise.
9616 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9617 [XPG3] (NZERO): Likewise.
9618 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9619 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9620 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9621 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9622 (REG_ERANGE): Expect.
9623 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9624 optional-constant.
9625 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9626 Use (void) in prototype.
9627 [POSIX] (*_t): Allow.
9628 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9629 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9630 (WRDE_BADVAL): Expect.
9631
5ba924e3
JM
9632 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9633 expect.
9634 [XPG3 || XPG4] (O_RSYNC): Likewise.
9635 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9636 Likewise.
9637 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9638 [XPG3 || XPG4] (sigqueue): Likewise.
9639 [XPG3 || XPG4] (sigtimedwait): Likewise.
9640 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9641 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9642 [XPG3 || XPG4] (vsnprintf): Likewise.
9643 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9644 Likewise.
9645 [XPG3 || XPG4] (blksize_t): Likewise.
9646 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9647 Likewise.
9648 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9649 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9650 [XPG3 || XPG4] (struct itimerspec): Likewise.
9651 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9652 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9653 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9654 [XPG3 || XPG4] (clockid_t): Likewise.
9655 [XPG3 || XPG4] (timer_t): Likewise.
9656 [XPG3 || XPG4] (clock_getres): Likewise.
9657 [XPG3 || XPG4] (clock_gettime): Likewise.
9658 [XPG3 || XPG4] (clock_settime): Likewise.
9659 [XPG3 || XPG4] (nanosleep): Likewise.
9660 [XPG3 || XPG4] (timer_create): Likewise.
9661 [XPG3 || XPG4] (timer_delete): Likewise.
9662 [XPG3 || XPG4] (timer_gettime): Likewise.
9663 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9664 [XPG3 || XPG4] (timer_settime): Likewise.
9665 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9666 [XPG3 || XPG4] (getlogin_r): Likewise.
9667 [XPG3 || XPG4] (pread): Likewise.
9668 [XPG3 || XPG4] (pthread_atfork): Likewise.
9669 [XPG3 || XPG4] (pwrite): Likewise.
9670
ee663277
JM
9671 [BZ #14835]
9672 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9673 <bits/siginfo.h>.
9674
942caa16
PT
96752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9676
e19af380
PT
9677 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9678 finalizing MALLSTREAM.
9679
942caa16
PT
9680 * sysdeps/mach/hurd/syncfs.c: New file.
9681
cfde9b46
SP
96822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9683
9684 [BZ #14719]
9685 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9686 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9688 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9689 (_nss_dns_gethostbyname4_r): Likewise.
9690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9691 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9692
f6da27e5
PH
96932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9694
9695 [BZ #13763]
9696 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9697
6665d4a2
SM
96982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9699
1f51ee92
SM
9700 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9701 * elf/cache.c (print_entry): Print ",AArch64" for
9702 FLAG_AARCH64_LIB64
9703
6665d4a2
SM
9704 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9705 * elf/cache.c (print_entry): Print ",hard-float" for
9706 FLAG_ARM_LIBHF.
9707
05b227bd
DM
97082012-11-18 David S. Miller <davem@davemloft.net>
9709
9710 With help from Joseph Myers.
9711 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9712 cutoff to 2**-13.
9713 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9714 cutoff to 2**-25.
9715 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9716 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9717 small.
9718 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9719 * math/libm-test.inc (y0_test): New tests.
9720 (y1_test): New tests.
9721 * sysdeps/i386/fpu/libm-test-ulps: Update.
9722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9724
786b0b67
AS
97252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9726
9727 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9728 64-bit targets.
9729 * configure: Regenerated.
9730
8e18b86d
DM
97312012-11-17 David S. Miller <davem@davemloft.net>
9732
9733 [BZ #14811]
9734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9735 nonzero exponents with absolute value below 0x1p-128 to +/-
9736 0x1p-128.
9737
531f1ae0
JM
97382012-11-17 Joseph Myers <joseph@codesourcery.com>
9739
12df29e2
JM
9740 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9741
150dc1a0
JM
9742 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9743
531f1ae0
JM
9744 * posix/getconf-speclist.c: New file.
9745 * posix/posix-envs.def: Likewise.
9746 * posix/confstr.c (START_ENV_GROUP): New macro.
9747 (END_ENV_GROUP): Likewise.
9748 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9749 (KNOWN_PRESENT_ENV_STRING): Likewise.
9750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9751 (UNKNOWN_ENVIRONMENT): Likewise.
9752 (confstr): Include posix-envs.def instead of handling
9753 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9754 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9755 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9756 (END_ENV_GROUP): Likewise.
9757 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9758 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9759 (UNKNOWN_ENVIRONMENT): Likewise.
9760 (__sysconf): Include posix-envs.def instead of handling associated
9761 cases directly here.
9762 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9763 preprocessing getconf-speclist.c rather than running getconf or
9764 generating empty file.
9765
a93f9cbc
PT
97662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9767
9768 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9769
d64d9f87
AL
97702012-11-16 Andrej Lajovic <natrij@gmail.com>
9771
9772 [BZ #14672]
9773 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9774
447885eb
DM
97752012-11-16 David S. Miller <davem@davemloft.net>
9776
9777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9778 smaller than LDBL_EPSILON/2.0L, just return xm1.
9779
bcbf9830
L
97802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 * elf/tst-array1.c (init): Set constructor priority to 1000.
9783 (fini): Set destructor priority to 1000.
9784 * elf/tst-array2dep.c: Likewise.
9785
2b766585
SP
97862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9787
9788 [BZ #11741]
9789 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9790 (_IO_new_file_xsputn): Also return EOF if none of the input
9791 data was written when overflow failed.
9792 * libio/iopadn.c (_IO_padn): Likewise.
9793 * libio/iowpadn.c (_IO_wpadn): Likewise.
9794 * stdio-common/tst-put-error.c: Add copyright notice.
9795 (do_test): Add case for printing padded string.
9796 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9797 _IO_padn returned error.
9798 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9799 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9800 return EOF.
9801
b1848fde
SP
98022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9803
9804 * libio/libioP.h: Add comment note that the references to C++
9805 bits are now obsolete.
9806
2fd89785
MS
98072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9808
9809 * math/libm-test.inc (check_complex): Use asprintf.
9810
e3ea5409
JM
98112012-11-14 Joseph Myers <joseph@codesourcery.com>
9812
9813 * debug/pcprofiledump.c (print_version): Update copyright year.
9814 * malloc/memusagestat.c (print_version): Likewise.
9815
2e64d265
L
98162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 [BZ #14831]
9819 * elf/Makefile (tests): Add tst-audit8.
9820 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9821 ($(objpfx)tst-audit8.out): New target.
9822 (tst-audit8-ENV): New variable.
9823 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9824 audit if l_reloc_result is NULL.
9825 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9826 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9827 * elf/tst-audit8.c: New file.
9828
c485e4d2
MS
98292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9830
9831 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9832 * misc/Makefile (CFLAGS-select.c): Define.
9833 * posix/Makefile (CFLAGS-pause.c): Define.
9834
3a0d900a
DM
98352012-11-13 David S. Miller <davem@davemloft.net>
9836
9837 * crypt/Makefile: Move test targets after toplevel Rules
9838 inclusion. Grab any necessary sysdep routines when linking.
9839 * crypt/md5.c (md5_process_block): Remove define, we will always
9840 name it __md5_process_block.
9841 (md5_finish_ctx): Update md5_process_block call.
9842 (md5_stream): Likewise.
9843 (md5_process_bytes): Likewise.
9844 (md5_process_block): Rename to __md5_process_block and move to ...
9845 * crypt/md5-block.c: ... here.
9846 * crypt/sha256.c (sha256_process_block): Move to ...
9847 * crypt/sha256-block.c: ... here.
9848 * crypt/sha512.c (sha512_process_block): Move to ...
9849 * crypt/sha512-block.c: ... here.
9850 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9851 path.
9852 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9853 * sysdeps/sparc/sparc64/multiarch/Makefile
9854 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9855 crypt subdir.
9856 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9858 multiarch changes.
9859 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9860 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9861 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9862 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9863 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9864 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9865 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9868 file.
9869 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9871 file.
9872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9873
8ca89318
JM
98742012-11-13 Joseph Myers <joseph@codesourcery.com>
9875
e27d476a
JM
9876 * timezone/tzselect.ksh: Update from tzcode git revision
9877 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9878 * timezone/zdump.c: Likewise.
9879 * timezone/zic.c: Likewise.
9880 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9881 in TZVERSION setting, not $(PKGVERSION).
9882 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9883 REPORT_BUGS_TO settings.
9884
8ca89318
JM
9885 [BZ #14838]
9886 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9887 macro.
9888
47594329
MS
98892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9890
9891 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9892 detection to immediately after _FP_ROUND().
9893 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9894 bits are 0.
9895
640ac3f1
DM
98962012-11-11 David S. Miller <davem@davemloft.net>
9897
9898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9899 inttypes.h
9900 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9901 __close rather than their public counterparts.
9902
3d2577bb
JM
99032012-11-10 Joseph Myers <joseph@codesourcery.com>
9904
9905 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9906 file.
9907 [UNIX98] (sem_timedwait): Do not expect.
9908 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9909 [XPG4 || UNIX98] (sockatmark): Do not expect.
9910 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9911 (clock_getcpuclockid): Do not expect.
9912 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9913 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9914 Do not expect.
9915 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9916 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9917 [UNIX98] (vwscanf): Likewise.
9918 [UNIX98] (vswscanf): Likewise.
9919
fb1ae1ee
JM
99202012-11-09 Joseph Myers <joseph@codesourcery.com>
9921
9ec6f8bd
JM
9922 * timezone/version.h: Remove file.
9923 * timezone/README: Do not refer to version.h.
9924 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9925 $(objpfx)version.h.
9926 ($(objpfx)zdump.o): Likewise.
c3f81911 9927 ($(objpfx)version.h): New target.
9ec6f8bd 9928
0aa8f8a1
JM
9929 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9930 2012i.
9931 * timezone/README: Don't mention modification to tzselect.ksh.
9932 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9933 work on unmodified tzselect.ksh. Substitute version numbers in
9934 tzselect.ksh.
9935
4e87147f
JM
9936 * Makefile (format-me): Remove.
9937 (INSTALL): Adjust indentation. Use commands directly instead of
9938 using $(format-me).
9939
8b748aed
JM
9940 * aclocal.m4 (ACX_PKGVERSION): New macro.
9941 (ACX_BUGURL): Likewise.
9942 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9943 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9944 (REPORT_BUGS_TO): Likewise.
9945 * configure: Regenerated.
9946 * config.h.in (PKGVERSION): New macro.
9947 (REPORT_BUGS_TO): Likewise.
9948 * config.make.in (PKGVERSION): New variable.
9949 (PKGVERSION_TEXI): Likewise.
9950 (REPORT_BUGS_TO): Likewise.
9951 (REPORT_BUGS_TEXI): Likewise.
9952 * Makefile (format-me): Use -I$(common-objpfx)manual.
9953 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9954 ($(common-objpfx)manual/%): New target.
9955 (manual/%): Remove target.
9956 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9957 (print_version): Use PKGVERSION.
9958 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9959 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9960 and REPORT_BUGS_TO.
9961 ($(objpfx)xtrace): Likewise.
9962 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9963 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9964 (print_version): Use PKGVERSION.
9965 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9966 (do_version): Use PKGVERSION.
9967 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9968 REPORT_BUGS_TO.
9969 (common-ldd-rewrite): Likewise.
9970 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9971 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9972 (print_version): Use PKGVERSION.
9973 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9974 * elf/pldd.c (argp_program_bug_address): Remove variable.
9975 (more_help): New function.
9976 (argp): Use more_help.
9977 (print_version): Use PKGVERSION.
9978 * elf/sln.c (main): Use PKGVERSION.
9979 (usage): Use REPORT_BUGS_TO.
9980 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9981 (top level): Use PKGVERSION.
9982 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9983 (print_version): Use PKGVERSION.
9984 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9985 (print_version): Use PKGVERSION.
9986 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9987 (print_version): Use PKGVERSION.
9988 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9989 (print_version): Use PKGVERSION.
9990 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9991 (print_version): Use PKGVERSION.
9992 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9993 (print_version): Use PKGVERSION.
9994 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9995 and BUGURL.
9996 ($(objpfx)memusage): Likewise.
9997 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9998 (do_version): Use PKGVERSION.
9999 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10000 (print_version): Use PKGVERSION.
10001 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10002 ($PKGVERSION): New variable.
10003 ($REPORT_BUGS_TO): Likewise.
10004 (usage): Use $REPORT_BUGS_TO.
10005 (top level): Use $PKGVERSION.
10006 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10007 ($(objpfx)pkgvers.texi): New rule.
10008 ($(objpfx)stamp-pkgvers): Likewise.
10009 * manual/install.texi: Include pkgvers.texi.
10010 (--with-pkgversion): Document new configure option.
10011 (--with-bugurl): Likewise.
10012 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10013 than necessarily for this particular distribution. Use
10014 REPORT_BUGS_TO for where to report bugs.
10015 * INSTALL: Regenerated.
10016 * manual/libc.texinfo: Include pkgvers.texi.
10017 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10018 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10019 (print_version): Use PKGVERSION.
10020 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10021 (print_version): Use PKGVERSION.
10022 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10023 (print_version): Use PKGVERSION.
10024 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10025 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10026 macro.
10027 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10028 (print_version): Use PKGVERSION.
10029 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10030 (print_version): Use PKGVERSION.
10031 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10032 and PKGVERSION.
10033
92e4b6a9
JM
10034 * timezone/checktab.awk: Update from tzcode 2012i.
10035 * timezone/ialloc.c: Likewise.
10036 * timezone/private.h: Likewise.
10037 * timezone/scheck.c: Likewise.
10038 * timezone/tzfile.h: Likewise.
10039 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10040 (TZVERSION): Hardcode tzcode version number.
10041 * timezone/zdump.c: Update from tzcode 2012i.
10042 * timezone/zic.c: Likewise.
10043 * timezone/version.h: New file.
10044 * timezone/README: Describe version.h. Update upstream location.
10045
9bde902c
JM
10046 [BZ #14824]
10047 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10048 (mktemp): Enable declaration.
10049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10053 Likewise.
10054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10055 Likewise.
10056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10057 Likewise.
10058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10059 Likewise.
10060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10061 Likewise.
10062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10063 Likewise.
10064
fb1ae1ee
JM
10065 [BZ #14821]
10066 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10067 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10068 for copies of such integer values.
10069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10071
2c1adbcb
AJ
100722012-11-09 Andreas Jaeger <aj@suse.de>
10073
10074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10075 definitions and declarations that are provided by
10076 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10077
d0f8457e
AK
100782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10079
3a235abb 10080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10081 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10082 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10083 definition.
10084
57241e26
MS
100852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10086
10087 * elf/elf.h: Update comment before AArch64 relocations.
10088
60e8270d
DM
100892012-11-07 David S. Miller <davem@davemloft.net>
10090
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10092 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10093 (__start_context): Declare.
10094 (__makecontext_ret): Delete.
10095 (__makecontext): Hook up __start_context instead of
10096 __makecontext_ret.
10097 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10098 (sysdep_routines): Add __start_context when in stdlib.
10099
0fbb0fbc
JM
101002012-11-07 Joseph Myers <joseph@codesourcery.com>
10101
10102 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10103 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10104 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10105 hardcoded "nm".
10106 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10107 (READELF): New variable. Use it instead of hardcoded "readelf".
10108
eb48db7e
L
101092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10112 * sysdeps/x86/Makefile: Here.
10113 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10114 * sysdeps/x86/tst-xmmymm.sh: This.
10115
05bcf62a
JM
101162012-11-07 Joseph Myers <joseph@codesourcery.com>
10117
c4b6cf53
JM
10118 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10119 expectations.
10120 [UNIX98] (pthread_barrier_t): Do not expect.
10121 [UNIX98] (pthread_barrierattr_t): Likewise.
10122 [UNIX98] (pthread_spinlock_t): Likewise.
10123 [UNIX98] (pthread_barrier_destroy): Likewise.
10124 [UNIX98] (pthread_barrier_init): Likewise.
10125 [UNIX98] (pthread_barrier_wait): Likewise.
10126 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10127 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10128 [UNIX98] (pthread_barrierattr_init): Likewise.
10129 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10130 [UNIX98] (pthread_getcpuclockid): Likewise.
10131 [UNIX98] (pthread_mutex_timedlock): Likewise.
10132 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10133 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10134 [UNIX98] (pthread_sigmask): Likewise.
10135 [UNIX98] (pthread_spin_destroy): Likewise.
10136 [UNIX98] (pthread_spin_init): Likewise.
10137 [UNIX98] (pthread_spin_lock): Likewise.
10138 [UNIX98] (pthread_spin_trylock): Likewise.
10139 [UNIX98] (pthread_spin_unlock): Likewise.
10140 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10141 Do not expect.
10142 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10143 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10144 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10145 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10146 [XPG3 || XPG4] (pthread_key_t): Likewise.
10147 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10148 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10149 [XPG3 || XPG4] (pthread_once_t): Likewise.
10150 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10151 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10152 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10153 [XPG3 || XPG4] (pthread_t): Likewise.
10154
cbe6e120
JM
10155 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10156 not expect.
10157 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10158
1b126443
JM
10159 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10160 Change function return type to int.
10161
b961a573
JM
10162 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10163 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10164 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10165 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10166 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10167 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10168 [!POSIX] (posix_madvise): Likewise.
10169 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10170 && !UNIX98].
10171 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10172 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10173 (mode_t): Likewise.
10174 (posix_mem_offset): Likewise.
10175 (posix_typed_mem_get_info): Likewise.
10176 (posix_typed_mem_open): Likewise.
10177
9e188909
JM
10178 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10179 Change condition to [XOPEN2K8].
10180
05bcf62a
JM
10181 * conform/conformtest.pl: Preprocess allow-header data with -x c
10182 instead of from stdin.
10183 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10184 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10185 [C99-based standards] (cerfc): Likewise.
10186 [C99-based standards] (cexp2): Likewise.
10187 [C99-based standards] (cexpm1): Likewise.
10188 [C99-based standards] (clog10): Likewise.
10189 [C99-based standards] (clog1p): Likewise.
10190 [C99-based standards] (clog2): Likewise.
10191 [C99-based standards] (clgamma): Likewise.
10192 [C99-based standards] (ctgamma): Likewise.
10193 [C99-based standards] (cerff): Likewise.
10194 [C99-based standards] (cerfcf): Likewise.
10195 [C99-based standards] (cexp2f): Likewise.
10196 [C99-based standards] (cexpm1f): Likewise.
10197 [C99-based standards] (clog10f): Likewise.
10198 [C99-based standards] (clog1pf): Likewise.
10199 [C99-based standards] (clog2f): Likewise.
10200 [C99-based standards] (clgammaf): Likewise.
10201 [C99-based standards] (ctgammaf): Likewise.
10202 [C99-based standards] (cerfl): Likewise.
10203 [C99-based standards] (cerfcl): Likewise.
10204 [C99-based standards] (cexp2l): Likewise.
10205 [C99-based standards] (cexpm1l): Likewise.
10206 [C99-based standards] (clog10l): Likewise.
10207 [C99-based standards] (clog1pl): Likewise.
10208 [C99-based standards] (clog2l): Likewise.
10209 [C99-based standards] (clgammal): Likewise.
10210 [C99-based standards] (ctgammal): Likewise.
10211 * conform/data/inttypes.h-data [C99-based standards]: Include
10212 stdint.h-data. Remove all expectations for stdint.h contents.
10213 [C99-based standards] (PRI*): Do not allow.
10214 [C99-based standards] (SCN*): Likewise.
10215 [C99-based standards] (*_t): Likewise.
10216 [C99-based-standards] (PRId8): Expect macro.
10217 [C99-based-standards] (PRIi8): Likewise.
10218 [C99-based-standards] (PRIo8): Likewise.
10219 [C99-based-standards] (PRIu8): Likewise.
10220 [C99-based-standards] (PRIx8): Likewise.
10221 [C99-based-standards] (PRIX8): Likewise.
10222 [C99-based-standards] (SCNd8): Likewise.
10223 [C99-based-standards] (SCNi8): Likewise.
10224 [C99-based-standards] (SCNo8): Likewise.
10225 [C99-based-standards] (SCNu8): Likewise.
10226 [C99-based-standards] (SCNx8): Likewise.
10227 [C99-based-standards] (PRIdLEAST8): Likewise.
10228 [C99-based-standards] (PRIiLEAST8): Likewise.
10229 [C99-based-standards] (PRIoLEAST8): Likewise.
10230 [C99-based-standards] (PRIuLEAST8): Likewise.
10231 [C99-based-standards] (PRIxLEAST8): Likewise.
10232 [C99-based-standards] (PRIXLEAST8): Likewise.
10233 [C99-based-standards] (SCNdLEAST8): Likewise.
10234 [C99-based-standards] (SCNiLEAST8): Likewise.
10235 [C99-based-standards] (SCNoLEAST8): Likewise.
10236 [C99-based-standards] (SCNuLEAST8): Likewise.
10237 [C99-based-standards] (SCNxLEAST8): Likewise.
10238 [C99-based-standards] (PRIdFAST8): Likewise.
10239 [C99-based-standards] (PRIiFAST8): Likewise.
10240 [C99-based-standards] (PRIoFAST8): Likewise.
10241 [C99-based-standards] (PRIuFAST8): Likewise.
10242 [C99-based-standards] (PRIxFAST8): Likewise.
10243 [C99-based-standards] (PRIXFAST8): Likewise.
10244 [C99-based-standards] (SCNdFAST8): Likewise.
10245 [C99-based-standards] (SCNiFAST8): Likewise.
10246 [C99-based-standards] (SCNoFAST8): Likewise.
10247 [C99-based-standards] (SCNuFAST8): Likewise.
10248 [C99-based-standards] (SCNxFAST8): Likewise.
10249 [C99-based-standards] (PRId16): Likewise.
10250 [C99-based-standards] (PRIi16): Likewise.
10251 [C99-based-standards] (PRIo16): Likewise.
10252 [C99-based-standards] (PRIu16): Likewise.
10253 [C99-based-standards] (PRIx16): Likewise.
10254 [C99-based-standards] (PRIX16): Likewise.
10255 [C99-based-standards] (SCNd16): Likewise.
10256 [C99-based-standards] (SCNi16): Likewise.
10257 [C99-based-standards] (SCNo16): Likewise.
10258 [C99-based-standards] (SCNu16): Likewise.
10259 [C99-based-standards] (SCNx16): Likewise.
10260 [C99-based-standards] (PRIdLEAST16): Likewise.
10261 [C99-based-standards] (PRIiLEAST16): Likewise.
10262 [C99-based-standards] (PRIoLEAST16): Likewise.
10263 [C99-based-standards] (PRIuLEAST16): Likewise.
10264 [C99-based-standards] (PRIxLEAST16): Likewise.
10265 [C99-based-standards] (PRIXLEAST16): Likewise.
10266 [C99-based-standards] (SCNdLEAST16): Likewise.
10267 [C99-based-standards] (SCNiLEAST16): Likewise.
10268 [C99-based-standards] (SCNoLEAST16): Likewise.
10269 [C99-based-standards] (SCNuLEAST16): Likewise.
10270 [C99-based-standards] (SCNxLEAST16): Likewise.
10271 [C99-based-standards] (PRIdFAST16): Likewise.
10272 [C99-based-standards] (PRIiFAST16): Likewise.
10273 [C99-based-standards] (PRIoFAST16): Likewise.
10274 [C99-based-standards] (PRIuFAST16): Likewise.
10275 [C99-based-standards] (PRIxFAST16): Likewise.
10276 [C99-based-standards] (PRIXFAST16): Likewise.
10277 [C99-based-standards] (SCNdFAST16): Likewise.
10278 [C99-based-standards] (SCNiFAST16): Likewise.
10279 [C99-based-standards] (SCNoFAST16): Likewise.
10280 [C99-based-standards] (SCNuFAST16): Likewise.
10281 [C99-based-standards] (SCNxFAST16): Likewise.
10282 [C99-based-standards] (PRId32): Likewise.
10283 [C99-based-standards] (PRIi32): Likewise.
10284 [C99-based-standards] (PRIo32): Likewise.
10285 [C99-based-standards] (PRIu32): Likewise.
10286 [C99-based-standards] (PRIx32): Likewise.
10287 [C99-based-standards] (PRIX32): Likewise.
10288 [C99-based-standards] (SCNd32): Likewise.
10289 [C99-based-standards] (SCNi32): Likewise.
10290 [C99-based-standards] (SCNo32): Likewise.
10291 [C99-based-standards] (SCNu32): Likewise.
10292 [C99-based-standards] (SCNx32): Likewise.
10293 [C99-based-standards] (PRIdLEAST32): Likewise.
10294 [C99-based-standards] (PRIiLEAST32): Likewise.
10295 [C99-based-standards] (PRIoLEAST32): Likewise.
10296 [C99-based-standards] (PRIuLEAST32): Likewise.
10297 [C99-based-standards] (PRIxLEAST32): Likewise.
10298 [C99-based-standards] (PRIXLEAST32): Likewise.
10299 [C99-based-standards] (SCNdLEAST32): Likewise.
10300 [C99-based-standards] (SCNiLEAST32): Likewise.
10301 [C99-based-standards] (SCNoLEAST32): Likewise.
10302 [C99-based-standards] (SCNuLEAST32): Likewise.
10303 [C99-based-standards] (SCNxLEAST32): Likewise.
10304 [C99-based-standards] (PRIdFAST32): Likewise.
10305 [C99-based-standards] (PRIiFAST32): Likewise.
10306 [C99-based-standards] (PRIoFAST32): Likewise.
10307 [C99-based-standards] (PRIuFAST32): Likewise.
10308 [C99-based-standards] (PRIxFAST32): Likewise.
10309 [C99-based-standards] (PRIXFAST32): Likewise.
10310 [C99-based-standards] (SCNdFAST32): Likewise.
10311 [C99-based-standards] (SCNiFAST32): Likewise.
10312 [C99-based-standards] (SCNoFAST32): Likewise.
10313 [C99-based-standards] (SCNuFAST32): Likewise.
10314 [C99-based-standards] (SCNxFAST32): Likewise.
10315 [C99-based-standards] (PRId64): Likewise.
10316 [C99-based-standards] (PRIi64): Likewise.
10317 [C99-based-standards] (PRIo64): Likewise.
10318 [C99-based-standards] (PRIu64): Likewise.
10319 [C99-based-standards] (PRIx64): Likewise.
10320 [C99-based-standards] (PRIX64): Likewise.
10321 [C99-based-standards] (SCNd64): Likewise.
10322 [C99-based-standards] (SCNi64): Likewise.
10323 [C99-based-standards] (SCNo64): Likewise.
10324 [C99-based-standards] (SCNu64): Likewise.
10325 [C99-based-standards] (SCNx64): Likewise.
10326 [C99-based-standards] (PRIdLEAST64): Likewise.
10327 [C99-based-standards] (PRIiLEAST64): Likewise.
10328 [C99-based-standards] (PRIoLEAST64): Likewise.
10329 [C99-based-standards] (PRIuLEAST64): Likewise.
10330 [C99-based-standards] (PRIxLEAST64): Likewise.
10331 [C99-based-standards] (PRIXLEAST64): Likewise.
10332 [C99-based-standards] (SCNdLEAST64): Likewise.
10333 [C99-based-standards] (SCNiLEAST64): Likewise.
10334 [C99-based-standards] (SCNoLEAST64): Likewise.
10335 [C99-based-standards] (SCNuLEAST64): Likewise.
10336 [C99-based-standards] (SCNxLEAST64): Likewise.
10337 [C99-based-standards] (PRIdFAST64): Likewise.
10338 [C99-based-standards] (PRIiFAST64): Likewise.
10339 [C99-based-standards] (PRIoFAST64): Likewise.
10340 [C99-based-standards] (PRIuFAST64): Likewise.
10341 [C99-based-standards] (PRIxFAST64): Likewise.
10342 [C99-based-standards] (PRIXFAST64): Likewise.
10343 [C99-based-standards] (SCNdFAST64): Likewise.
10344 [C99-based-standards] (SCNiFAST64): Likewise.
10345 [C99-based-standards] (SCNoFAST64): Likewise.
10346 [C99-based-standards] (SCNuFAST64): Likewise.
10347 [C99-based-standards] (SCNxFAST64): Likewise.
10348 [C99-based-standards] (PRIdMAX): Likewise.
10349 [C99-based-standards] (PRIiMAX): Likewise.
10350 [C99-based-standards] (PRIoMAX): Likewise.
10351 [C99-based-standards] (PRIuMAX): Likewise.
10352 [C99-based-standards] (PRIxMAX): Likewise.
10353 [C99-based-standards] (PRIXMAX): Likewise.
10354 [C99-based-standards] (SCNdMAX): Likewise.
10355 [C99-based-standards] (SCNiMAX): Likewise.
10356 [C99-based-standards] (SCNoMAX): Likewise.
10357 [C99-based-standards] (SCNuMAX): Likewise.
10358 [C99-based-standards] (SCNxMAX): Likewise.
10359 [C99-based-standards] (PRIdPTR): Likewise.
10360 [C99-based-standards] (PRIiPTR): Likewise.
10361 [C99-based-standards] (PRIoPTR): Likewise.
10362 [C99-based-standards] (PRIuPTR): Likewise.
10363 [C99-based-standards] (PRIxPTR): Likewise.
10364 [C99-based-standards] (PRIXPTR): Likewise.
10365 [C99-based-standards] (SCNdPTR): Likewise.
10366 [C99-based-standards] (SCNiPTR): Likewise.
10367 [C99-based-standards] (SCNoPTR): Likewise.
10368 [C99-based-standards] (SCNuPTR): Likewise.
10369 [C99-based-standards] (SCNxPTR): Likewise.
10370 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10371 allow.
10372 * conform/data/stdint.h-data: Update comments to clarify
10373 requirements.
10374 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10375 type.
10376 [C99-based standards] (INT8_MAX): Likewise.
10377 [C99-based standards] (INT16_MIN): Likewise.
10378 [C99-based standards] (INT16_MAX): Likewise.
10379 [C99-based standards] (INT32_MIN): Likewise.
10380 [C99-based standards] (INT32_MAX): Likewise.
10381 [C99-based standards] (INT64_MIN): Likewise.
10382 [C99-based standards] (INT64_MAX): Likewise.
10383 [C99-based standards] (UINT8_MAX): Likewise.
10384 [C99-based standards] (UINT16_MAX): Likewise.
10385 [C99-based standards] (UINT32_MAX): Likewise.
10386 [C99-based standards] (UINT64_MAX): Likewise.
10387 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10388 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10389 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10390 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10391 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10392 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10393 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10394 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10395 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10396 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10397 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10398 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10399 [C99-based standards] (INT_FAST8_MIN): Likewise.
10400 [C99-based standards] (INT_FAST8_MAX): Likewise.
10401 [C99-based standards] (INT_FAST16_MIN): Likewise.
10402 [C99-based standards] (INT_FAST16_MAX): Likewise.
10403 [C99-based standards] (INT_FAST32_MIN): Likewise.
10404 [C99-based standards] (INT_FAST32_MAX): Likewise.
10405 [C99-based standards] (INT_FAST64_MIN): Likewise.
10406 [C99-based standards] (INT_FAST64_MAX): Likewise.
10407 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10408 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10409 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10410 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10411 [C99-based standards] (INTPTR_MIN): Likewise.
10412 [C99-based standards] (INTPTR_MAX): Likewise.
10413 [C99-based standards] (UINTPTR_MAX): Likewise.
10414 [C99-based standards] (INTMAX_MIN): Likewise.
10415 [C99-based standards] (INTMAX_MAX): Likewise.
10416 [C99-based standards] (UINTMAX_MAX): Likewise.
10417 [C99-based standards] (PTRDIFF_MIN): Likewise.
10418 [C99-based standards] (PTRDIFF_MAX): Likewise.
10419 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10420 [C99-based standards] (SIZE_MAX): Likewise.
10421 [C99-based standards] (WCHAR_MAX): Likewise.
10422 [C99-based standards] (WINT_MAX): Likewise.
10423 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10424 constraint on value.
10425 [C99-based standards] (WCHAR_MIN): Likewise.
10426 [C99-based standards] (WINT_MIN): Likewise.
10427 [C99-based standards] (*_t): Allow.
10428 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10429 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10430 Include math.h-data and complex.h-data. Remove all expectations
10431 of math.h and complex.h contents.
10432 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10433 at end of line.
10434 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10435 (struct tm): Expect tag.
10436 [C99-based-standards] (wcstof): Expect function.
10437 [C99-based-standards] (wcstold): Likewise.
10438 [C99-based-standards] (wcstoll): Likewise.
10439 [C99-based-standards] (wcstoull): Likewise.
10440 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10441 macro-int-constant. Specify type.
10442 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10443 constraint on value.
10444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10445 Specify type.
10446 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10447 Specify value.
10448 [ISO C standards]: Do not allow headers.
10449 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10450 wcs[abcdefghijklmnopqrstuvwxyz]*.
10451 [ISO C standards] (*_t): Do not allow.
10452 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10453 Expect function.
10454 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10456 Specify type.
10457 [ISO C standards]: Do not allow headers.
10458 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10459 is[abcdefghijklmnopqrstuvwxyz]*.
10460 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10461 to[abcdefghijklmnopqrstuvwxyz]*.
10462 [ISO C standards] (*_t): Do not allow.
10463 * conform/data/stdalign.h-data: New file.
10464 * conform/data/stdbool.h-data: Likewise.
10465 * conform/data/stdnoreturn.h-data: Likewise.
10466
7514feb8
RM
104672012-11-07 Roland McGrath <roland@hack.frob.com>
10468
10469 [BZ #14815]
10470 * manual/filesys.texi (Directory Entries): Typo fix.
10471 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10472
19b2ecfc
MS
104732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10474
10475 * elf/elf.h (EM_AARCH64): New macro.
10476 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10477 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10478 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10479 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10480 (R_AARCH64_TLSDESC): Likewise.
10481 (NT_ARM_TLS): Likewise.
10482 (NT_ARM_HW_BREAK): Likewise.
10483 (NT_ARM_HW_WATCH): Likewise.
10484
60e235ee
JM
104852012-11-07 Joseph Myers <joseph@codesourcery.com>
10486
10487 [BZ #14811]
10488 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10489 (__ieee754_powl): Saturate nonzero exponents with absolute value
10490 below 0x1p-79 to +/- 0x1p-79.
10491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10492 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10493 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10494 nonzero exponents with absolute value below 0x1p-32 to +/-
10495 0x1p-32.
10496 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10497 (__ieee754_powl): Saturate nonzero exponents with absolute value
10498 below 0x1p-79 to +/- 0x1p-79.
10499 * math/libm-test.inc (pow_test): Add more tests.
10500
0ab234b7
AK
105012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10502
10503 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10504 _dl_s390_cap_flags with kernel. Increase string length.
10505 (_dl_s390_platforms): Add z196 and zEC12.
10506
45832f74
JM
105072012-11-07 Joseph Myers <joseph@codesourcery.com>
10508
10509 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10510 Change XOPEN21K to XOPEN2K.
10511
19218757
MK
105122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10513
10514 * string/memmove.c: Use memcpy when possible.
10515
c5f45721
AJ
105162012-11-06 Andreas Jaeger <aj@suse.de>
10517
10518 * po/eo.po: Update from translation team.
10519
82477c28
JM
105202012-11-06 Joseph Myers <joseph@codesourcery.com>
10521
10522 [BZ #14793]
10523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10524 exponent and small x and y exponents, scale x or y up. Increase
10525 by 2 the exponent used in scaling up.
10526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10528 * math/libm-test.inc (fma_test): Add more tests.
10529 (fma_test_towardzero): Likewise.
10530 (fma_test_downward): Likewise.
10531 (fma_test_upward): Likewise.
10532
99252c8c
JM
105332012-11-05 Joseph Myers <joseph@codesourcery.com>
10534
acfa885f
JM
10535 [BZ #14805]
10536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10537 fenv_t *.
10538
99252c8c
JM
10539 [BZ #14801]
10540 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10541 namespace for names of struct fields.
10542 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10543 fenv_t fields.
10544 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10545 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10546
d6d98dea
ST
105472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10548
10549 [BZ #3665]
10550 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10551
e10bb107
TS
105522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10553
10554 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10555 PTR_DEMANGLE.
10556
10557 [BZ #5246]
10558 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10559 PTR_DEMANGLE.
10560
a0c2940d
JM
105612012-11-04 Joseph Myers <joseph@codesourcery.com>
10562
10563 [BZ #14797]
10564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10565 definitely overflow as x * y not x * y + z.
10566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10568 * math/libm-test.inc (fma_test): Add more tests.
10569 (fma_test_towardzero): Likewise.
10570 (fma_test_downward): Likewise.
10571 (fma_test_upward): Likewise.
10572
b830319d
TS
105732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10574
10575 [BZ #157]
10576
10577 * include/stub-tag.h: Remove file.
10578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10579 '#include' of it.
10580 * manual/maint.texi (Porting): Don't reference it.
10581 * Makerules ($(objpfx)stubs): Likewise.
10582 * dirent/closedir.c: Don't include <stub-tag.h>.
10583 * dirent/dirfd.c: Likewise.
10584 * dirent/fdopendir.c: Likewise.
10585 * dirent/getdents.c: Likewise.
10586 * dirent/getdents64.c: Likewise.
10587 * dirent/opendir.c: Likewise.
10588 * dirent/readdir.c: Likewise.
10589 * dirent/readdir64.c: Likewise.
10590 * dirent/readdir64_r.c: Likewise.
10591 * dirent/readdir_r.c: Likewise.
10592 * dirent/rewinddir.c: Likewise.
10593 * dirent/seekdir.c: Likewise.
10594 * dirent/telldir.c: Likewise.
10595 * gmon/profil.c: Likewise.
10596 * grp/setgroups.c: Likewise.
10597 * inet/if_index.c: Likewise.
10598 * io/access.c: Likewise.
10599 * io/chdir.c: Likewise.
10600 * io/chmod.c: Likewise.
10601 * io/chown.c: Likewise.
10602 * io/close.c: Likewise.
10603 * io/dup.c: Likewise.
10604 * io/dup2.c: Likewise.
10605 * io/dup3.c: Likewise.
10606 * io/euidaccess.c: Likewise.
10607 * io/faccessat.c: Likewise.
10608 * io/fchdir.c: Likewise.
10609 * io/fchmod.c: Likewise.
10610 * io/fchmodat.c: Likewise.
10611 * io/fchown.c: Likewise.
10612 * io/fchownat.c: Likewise.
10613 * io/fcntl.c: Likewise.
10614 * io/flock.c: Likewise.
10615 * io/fstatfs.c: Likewise.
10616 * io/fstatfs64.c: Likewise.
10617 * io/fstatvfs.c: Likewise.
10618 * io/fstatvfs64.c: Likewise.
10619 * io/futimens.c: Likewise.
10620 * io/fxstat.c: Likewise.
10621 * io/fxstat64.c: Likewise.
10622 * io/fxstatat.c: Likewise.
10623 * io/fxstatat64.c: Likewise.
10624 * io/getcwd.c: Likewise.
10625 * io/isatty.c: Likewise.
10626 * io/lchmod.c: Likewise.
10627 * io/lchown.c: Likewise.
10628 * io/link.c: Likewise.
10629 * io/linkat.c: Likewise.
10630 * io/lseek.c: Likewise.
10631 * io/lseek64.c: Likewise.
10632 * io/lxstat64.c: Likewise.
10633 * io/mkdir.c: Likewise.
10634 * io/mkdirat.c: Likewise.
10635 * io/mkfifo.c: Likewise.
10636 * io/mkfifoat.c: Likewise.
10637 * io/open.c: Likewise.
10638 * io/open64.c: Likewise.
10639 * io/openat.c: Likewise.
10640 * io/openat64.c: Likewise.
10641 * io/pipe.c: Likewise.
10642 * io/pipe2.c: Likewise.
10643 * io/poll.c: Likewise.
10644 * io/posix_fadvise.c: Likewise.
10645 * io/posix_fadvise64.c: Likewise.
10646 * io/posix_fallocate.c: Likewise.
10647 * io/posix_fallocate64.c: Likewise.
10648 * io/read.c: Likewise.
10649 * io/readlink.c: Likewise.
10650 * io/readlinkat.c: Likewise.
10651 * io/rmdir.c: Likewise.
10652 * io/sendfile.c: Likewise.
10653 * io/sendfile64.c: Likewise.
10654 * io/statfs.c: Likewise.
10655 * io/statfs64.c: Likewise.
10656 * io/statvfs.c: Likewise.
10657 * io/statvfs64.c: Likewise.
10658 * io/symlink.c: Likewise.
10659 * io/symlinkat.c: Likewise.
10660 * io/ttyname.c: Likewise.
10661 * io/ttyname_r.c: Likewise.
10662 * io/umask.c: Likewise.
10663 * io/unlink.c: Likewise.
10664 * io/unlinkat.c: Likewise.
10665 * io/utime.c: Likewise.
10666 * io/utimensat.c: Likewise.
10667 * io/write.c: Likewise.
10668 * io/xmknod.c: Likewise.
10669 * io/xmknodat.c: Likewise.
10670 * io/xstat.c: Likewise.
10671 * io/xstat64.c: Likewise.
10672 * login/getpt.c: Likewise.
10673 * login/grantpt.c: Likewise.
10674 * login/unlockpt.c: Likewise.
10675 * math/e_acoshl.c: Likewise.
10676 * math/e_acosl.c: Likewise.
10677 * math/e_asinl.c: Likewise.
10678 * math/e_atan2l.c: Likewise.
10679 * math/e_atanhl.c: Likewise.
10680 * math/e_coshl.c: Likewise.
10681 * math/e_expl.c: Likewise.
10682 * math/e_fmodl.c: Likewise.
10683 * math/e_gammal_r.c: Likewise.
10684 * math/e_hypotl.c: Likewise.
10685 * math/e_j0l.c: Likewise.
10686 * math/e_j1l.c: Likewise.
10687 * math/e_jnl.c: Likewise.
10688 * math/e_lgammal_r.c: Likewise.
10689 * math/e_log10l.c: Likewise.
10690 * math/e_log2l.c: Likewise.
10691 * math/e_logl.c: Likewise.
10692 * math/e_powl.c: Likewise.
10693 * math/e_rem_pio2l.c: Likewise.
10694 * math/e_sinhl.c: Likewise.
10695 * math/e_sqrtl.c: Likewise.
10696 * math/fclrexcpt.c: Likewise.
10697 * math/fedisblxcpt.c: Likewise.
10698 * math/feenablxcpt.c: Likewise.
10699 * math/fegetenv.c: Likewise.
10700 * math/fegetexcept.c: Likewise.
10701 * math/fegetround.c: Likewise.
10702 * math/feholdexcpt.c: Likewise.
10703 * math/fesetenv.c: Likewise.
10704 * math/fesetround.c: Likewise.
10705 * math/feupdateenv.c: Likewise.
10706 * math/fgetexcptflg.c: Likewise.
10707 * math/fraiseexcpt.c: Likewise.
10708 * math/fsetexcptflg.c: Likewise.
10709 * math/ftestexcept.c: Likewise.
10710 * math/k_cosl.c: Likewise.
10711 * math/k_rem_pio2l.c: Likewise.
10712 * math/k_sinl.c: Likewise.
10713 * math/k_tanl.c: Likewise.
10714 * math/s_asinhl.c: Likewise.
10715 * math/s_atanl.c: Likewise.
10716 * math/s_cbrtl.c: Likewise.
10717 * math/s_erfl.c: Likewise.
10718 * math/s_expm1l.c: Likewise.
10719 * math/s_log1pl.c: Likewise.
10720 * math/s_tanhl.c: Likewise.
10721 * misc/acct.c: Likewise.
10722 * misc/brk.c: Likewise.
10723 * misc/chflags.c: Likewise.
10724 * misc/chroot.c: Likewise.
10725 * misc/fchflags.c: Likewise.
10726 * misc/fgetxattr.c: Likewise.
10727 * misc/flistxattr.c: Likewise.
10728 * misc/fremovexattr.c: Likewise.
10729 * misc/fsetxattr.c: Likewise.
10730 * misc/fsync.c: Likewise.
10731 * misc/ftruncate.c: Likewise.
10732 * misc/futimes.c: Likewise.
10733 * misc/futimesat.c: Likewise.
10734 * misc/getdomain.c: Likewise.
10735 * misc/getdtsz.c: Likewise.
10736 * misc/gethostid.c: Likewise.
10737 * misc/gethostname.c: Likewise.
10738 * misc/getloadavg.c: Likewise.
10739 * misc/getpagesize.c: Likewise.
10740 * misc/getsysstats.c: Likewise.
10741 * misc/getxattr.c: Likewise.
10742 * misc/gtty.c: Likewise.
10743 * misc/ioctl.c: Likewise.
10744 * misc/lgetxattr.c: Likewise.
10745 * misc/listxattr.c: Likewise.
10746 * misc/llistxattr.c: Likewise.
10747 * misc/lremovexattr.c: Likewise.
10748 * misc/lsetxattr.c: Likewise.
10749 * misc/lutimes.c: Likewise.
10750 * misc/madvise.c: Likewise.
10751 * misc/mincore.c: Likewise.
10752 * misc/mlock.c: Likewise.
10753 * misc/mlockall.c: Likewise.
10754 * misc/mmap.c: Likewise.
10755 * misc/mprotect.c: Likewise.
10756 * misc/msync.c: Likewise.
10757 * misc/munlock.c: Likewise.
10758 * misc/munlockall.c: Likewise.
10759 * misc/munmap.c: Likewise.
10760 * misc/preadv.c: Likewise.
10761 * misc/preadv64.c: Likewise.
10762 * misc/ptrace.c: Likewise.
10763 * misc/pwritev.c: Likewise.
10764 * misc/pwritev64.c: Likewise.
10765 * misc/readv.c: Likewise.
10766 * misc/reboot.c: Likewise.
10767 * misc/remap_file_pages.c: Likewise.
10768 * misc/removexattr.c: Likewise.
10769 * misc/revoke.c: Likewise.
10770 * misc/select.c: Likewise.
10771 * misc/setdomain.c: Likewise.
10772 * misc/setegid.c: Likewise.
10773 * misc/seteuid.c: Likewise.
10774 * misc/sethostid.c: Likewise.
10775 * misc/sethostname.c: Likewise.
10776 * misc/setregid.c: Likewise.
10777 * misc/setreuid.c: Likewise.
10778 * misc/setxattr.c: Likewise.
10779 * misc/sstk.c: Likewise.
10780 * misc/stty.c: Likewise.
10781 * misc/swapoff.c: Likewise.
10782 * misc/swapon.c: Likewise.
10783 * misc/sync.c: Likewise.
10784 * misc/syncfs.c: Likewise.
10785 * misc/syscall.c: Likewise.
10786 * misc/truncate.c: Likewise.
10787 * misc/ualarm.c: Likewise.
10788 * misc/usleep.c: Likewise.
10789 * misc/ustat.c: Likewise.
10790 * misc/utimes.c: Likewise.
10791 * misc/vhangup.c: Likewise.
10792 * misc/writev.c: Likewise.
10793 * posix/_exit.c: Likewise.
10794 * posix/alarm.c: Likewise.
10795 * posix/execve.c: Likewise.
10796 * posix/fexecve.c: Likewise.
10797 * posix/fork.c: Likewise.
10798 * posix/fpathconf.c: Likewise.
10799 * posix/getaddrinfo.c: Likewise.
10800 * posix/getegid.c: Likewise.
10801 * posix/geteuid.c: Likewise.
10802 * posix/getgid.c: Likewise.
10803 * posix/getgroups.c: Likewise.
10804 * posix/getlogin.c: Likewise.
10805 * posix/getlogin_r.c: Likewise.
10806 * posix/getpgid.c: Likewise.
10807 * posix/getpid.c: Likewise.
10808 * posix/getppid.c: Likewise.
10809 * posix/getresgid.c: Likewise.
10810 * posix/getresuid.c: Likewise.
10811 * posix/getsid.c: Likewise.
10812 * posix/getuid.c: Likewise.
10813 * posix/glob64.c: Likewise.
10814 * posix/nanosleep.c: Likewise.
10815 * posix/pathconf.c: Likewise.
10816 * posix/pause.c: Likewise.
10817 * posix/posix_madvise.c: Likewise.
10818 * posix/pread.c: Likewise.
10819 * posix/pread64.c: Likewise.
10820 * posix/pwrite.c: Likewise.
10821 * posix/pwrite64.c: Likewise.
10822 * posix/sched_getaffinity.c: Likewise.
10823 * posix/sched_getp.c: Likewise.
10824 * posix/sched_gets.c: Likewise.
10825 * posix/sched_primax.c: Likewise.
10826 * posix/sched_primin.c: Likewise.
10827 * posix/sched_rr_gi.c: Likewise.
10828 * posix/sched_setaffinity.c: Likewise.
10829 * posix/sched_setp.c: Likewise.
10830 * posix/sched_sets.c: Likewise.
10831 * posix/sched_yield.c: Likewise.
10832 * posix/setgid.c: Likewise.
10833 * posix/setlogin.c: Likewise.
10834 * posix/setpgid.c: Likewise.
10835 * posix/setresgid.c: Likewise.
10836 * posix/setresuid.c: Likewise.
10837 * posix/setsid.c: Likewise.
10838 * posix/setuid.c: Likewise.
10839 * posix/sleep.c: Likewise.
10840 * posix/spawni.c: Likewise.
10841 * posix/sysconf.c: Likewise.
10842 * posix/times.c: Likewise.
10843 * posix/wait.c: Likewise.
10844 * posix/wait3.c: Likewise.
10845 * posix/wait4.c: Likewise.
10846 * posix/waitpid.c: Likewise.
10847 * resolv/gai_sigqueue.c: Likewise.
10848 * resource/getpriority.c: Likewise.
10849 * resource/getrlimit.c: Likewise.
10850 * resource/getrusage.c: Likewise.
10851 * resource/nice.c: Likewise.
10852 * resource/setpriority.c: Likewise.
10853 * resource/setrlimit.c: Likewise.
10854 * resource/ulimit.c: Likewise.
10855 * rt/aio_cancel.c: Likewise.
10856 * rt/aio_fsync.c: Likewise.
10857 * rt/aio_read.c: Likewise.
10858 * rt/aio_sigqueue.c: Likewise.
10859 * rt/aio_suspend.c: Likewise.
10860 * rt/aio_write.c: Likewise.
10861 * rt/clock_getres.c: Likewise.
10862 * rt/clock_gettime.c: Likewise.
10863 * rt/clock_nanosleep.c: Likewise.
10864 * rt/clock_settime.c: Likewise.
10865 * rt/lio_listio.c: Likewise.
10866 * rt/mq_close.c: Likewise.
10867 * rt/mq_getattr.c: Likewise.
10868 * rt/mq_notify.c: Likewise.
10869 * rt/mq_open.c: Likewise.
10870 * rt/mq_receive.c: Likewise.
10871 * rt/mq_send.c: Likewise.
10872 * rt/mq_setattr.c: Likewise.
10873 * rt/mq_timedreceive.c: Likewise.
10874 * rt/mq_timedsend.c: Likewise.
10875 * rt/mq_unlink.c: Likewise.
10876 * rt/shm_open.c: Likewise.
10877 * rt/shm_unlink.c: Likewise.
10878 * rt/timer_create.c: Likewise.
10879 * rt/timer_delete.c: Likewise.
10880 * rt/timer_getoverr.c: Likewise.
10881 * rt/timer_gettime.c: Likewise.
10882 * rt/timer_settime.c: Likewise.
10883 * setjmp/__longjmp.c: Likewise.
10884 * setjmp/setjmp.c: Likewise.
10885 * signal/kill.c: Likewise.
10886 * signal/killpg.c: Likewise.
10887 * signal/raise.c: Likewise.
10888 * signal/sigaction.c: Likewise.
10889 * signal/sigaltstack.c: Likewise.
10890 * signal/sigblock.c: Likewise.
10891 * signal/sigignore.c: Likewise.
10892 * signal/sigintr.c: Likewise.
10893 * signal/signal.c: Likewise.
10894 * signal/sigpause.c: Likewise.
10895 * signal/sigpending.c: Likewise.
10896 * signal/sigqueue.c: Likewise.
10897 * signal/sigreturn.c: Likewise.
10898 * signal/sigset.c: Likewise.
10899 * signal/sigsetmask.c: Likewise.
10900 * signal/sigstack.c: Likewise.
10901 * signal/sigsuspend.c: Likewise.
10902 * signal/sigtimedwait.c: Likewise.
10903 * signal/sigvec.c: Likewise.
10904 * signal/sigwait.c: Likewise.
10905 * signal/sigwaitinfo.c: Likewise.
10906 * signal/sysv_signal.c: Likewise.
10907 * socket/accept.c: Likewise.
10908 * socket/accept4.c: Likewise.
10909 * socket/bind.c: Likewise.
10910 * socket/connect.c: Likewise.
10911 * socket/getpeername.c: Likewise.
10912 * socket/getsockname.c: Likewise.
10913 * socket/getsockopt.c: Likewise.
10914 * socket/isfdtype.c: Likewise.
10915 * socket/listen.c: Likewise.
10916 * socket/recv.c: Likewise.
10917 * socket/recvfrom.c: Likewise.
10918 * socket/recvmsg.c: Likewise.
10919 * socket/send.c: Likewise.
10920 * socket/sendmsg.c: Likewise.
10921 * socket/sendto.c: Likewise.
10922 * socket/setsockopt.c: Likewise.
10923 * socket/shutdown.c: Likewise.
10924 * socket/sockatmark.c: Likewise.
10925 * socket/socket.c: Likewise.
10926 * socket/socketpair.c: Likewise.
10927 * stdio-common/ctermid.c: Likewise.
10928 * stdio-common/cuserid.c: Likewise.
10929 * stdio-common/remove.c: Likewise.
10930 * stdio-common/rename.c: Likewise.
10931 * stdio-common/renameat.c: Likewise.
10932 * stdio-common/tempname.c: Likewise.
10933 * stdlib/getcontext.c: Likewise.
10934 * stdlib/makecontext.c: Likewise.
10935 * stdlib/setcontext.c: Likewise.
10936 * stdlib/swapcontext.c: Likewise.
10937 * stdlib/system.c: Likewise.
10938 * streams/fattach.c: Likewise.
10939 * streams/fdetach.c: Likewise.
10940 * streams/getmsg.c: Likewise.
10941 * streams/getpmsg.c: Likewise.
10942 * streams/putmsg.c: Likewise.
10943 * streams/putpmsg.c: Likewise.
10944 * sysdeps/unix/bsd/getpt.c: Likewise.
10945 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10946 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10947 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10949 Likewise.
10950 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10951 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10952 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10953 * sysvipc/msgctl.c: Likewise.
10954 * sysvipc/msgget.c: Likewise.
10955 * sysvipc/msgrcv.c: Likewise.
10956 * sysvipc/msgsnd.c: Likewise.
10957 * sysvipc/semctl.c: Likewise.
10958 * sysvipc/semget.c: Likewise.
10959 * sysvipc/semop.c: Likewise.
10960 * sysvipc/semtimedop.c: Likewise.
10961 * sysvipc/shmat.c: Likewise.
10962 * sysvipc/shmctl.c: Likewise.
10963 * sysvipc/shmdt.c: Likewise.
10964 * sysvipc/shmget.c: Likewise.
10965 * termios/tcdrain.c: Likewise.
10966 * termios/tcflow.c: Likewise.
10967 * termios/tcflush.c: Likewise.
10968 * termios/tcgetattr.c: Likewise.
10969 * termios/tcgetpgrp.c: Likewise.
10970 * termios/tcsendbrk.c: Likewise.
10971 * termios/tcsetattr.c: Likewise.
10972 * termios/tcsetpgrp.c: Likewise.
10973 * time/adjtime.c: Likewise.
10974 * time/clock.c: Likewise.
10975 * time/getitimer.c: Likewise.
10976 * time/gettimeofday.c: Likewise.
10977 * time/setitimer.c: Likewise.
10978 * time/settimeofday.c: Likewise.
10979 * time/stime.c: Likewise.
10980 * time/time.c: Likewise.
10981
109822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10983
a20492cf
PT
10984 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10985 /usr/old/bin.
10986
72e182e3
PT
10987 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10988 instead of spaces.
10989 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10990
fbeafede
JM
109912012-11-03 Joseph Myers <joseph@codesourcery.com>
10992
5b5b04d6
JM
10993 [BZ #14796]
10994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10995 FE_TONEAREST before applying Dekker multiplication and Knuth
10996 addition. Clear inexact exceptions and check for exact zero
10997 results afterwards.
10998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10999 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11001 * math/libm-test.inc (fma_test): Add more tests.
11002 (fma_test_towardzero): Likewise.
11003 (fma_test_downward): Likewise.
11004 (fma_test_upward): Likewise.
11005 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11006 function.
11007 (libc_fesetround): New macro.
11008 (libc_fesetroundf): Likewise.
11009 (libc_fesetroundl): Likewise.
11010 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11011 function.
11012 (libc_fesetround_387): Likewise.
11013 (libc_fesetroundf): New macro.
11014 (libc_fesetround): Likewise.
11015 (libc_fesetroundl): Likewise.
11016 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11017 function.
11018 (libc_fesetroundf): New macro.
11019 (libc_fesetround): Likewise.
11020 (libc_fesetroundl): Likewise.
11021 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11022 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11023 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11024 libm_hidden_ver.
11025 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11026 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11027 libm_hidden_def.
11028 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11029 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11030 libm_hidden_ver.
11031 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11032 libm_hidden_def.
11033
fbeafede
JM
11034 [BZ #3439]
11035 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11036 integer constant usable in #if and use that to give value to enum
11037 constant.
11038 (FE_DIVBYZERO): Likewise.
11039 (FE_UNDERFLOW): Likewise.
11040 (FE_OVERFLOW): Likewise.
11041 (FE_INVALID): Likewise.
11042 (FE_INVALID_SNAN): Likewise.
11043 (FE_INVALID_ISI): Likewise.
11044 (FE_INVALID_IDI): Likewise.
11045 (FE_INVALID_ZDZ): Likewise.
11046 (FE_INVALID_IMZ): Likewise.
11047 (FE_INVALID_COMPARE): Likewise.
11048 (FE_INVALID_SOFTWARE): Likewise.
11049 (FE_INVALID_SQRT): Likewise.
11050 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11051 (FE_TONEAREST): Likewise.
11052 (FE_TOWARDZERO): Likewise.
11053 (FE_UPWARD): Likewise.
11054 (FE_DOWNWARD): Likewise.
11055 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11056 (FE_DIVBYZERO): Likewise.
11057 (FE_OVERFLOW): Likewise.
11058 (FE_UNDERFLOW): Likewise.
11059 (FE_INEXACT): Likewise.
11060 (FE_TONEAREST): Likewise.
11061 (FE_DOWNWARD): Likewise.
11062 (FE_UPWARD): Likewise.
11063 (FE_TOWARDZERO): Likewise.
11064 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11065 (FE_UNDERFLOW): Likewise.
11066 (FE_OVERFLOW): Likewise.
11067 (FE_DIVBYZERO): Likewise.
11068 (FE_INVALID): Likewise.
11069 (FE_TONEAREST): Likewise.
11070 (FE_TOWARDZERO): Likewise.
11071 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11072 (FE_OVERFLOW): Likewise.
11073 (FE_UNDERFLOW): Likewise.
11074 (FE_DIVBYZERO): Likewise.
11075 (FE_INEXACT): Likewise.
11076 (FE_TONEAREST): Likewise.
11077 (FE_TOWARDZERO): Likewise.
11078 (FE_UPWARD): Likewise.
11079 (FE_DOWNWARD): Likewise.
11080 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11081 (FE_DIVBYZERO): Likewise.
11082 (FE_OVERFLOW): Likewise.
11083 (FE_UNDERFLOW): Likewise.
11084 (FE_INEXACT): Likewise.
11085 (FE_TONEAREST): Likewise.
11086 (FE_DOWNWARD): Likewise.
11087 (FE_UPWARD): Likewise.
11088 (FE_TOWARDZERO): Likewise.
11089
105ca950
CM
110902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11091
11092 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11093
a542b389
AS
110942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11095
11096 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11097 commands. Quote $PWD.
11098 (blacklist_exports): Don't use remove_newlines. Replace "declare
11099 -x" by "export".
11100 (remove_newlines): Remove.
11101
f62c8abc
L
111022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11103
11104 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11105 * stdlib/stdlib.h (atof): Moved to ...
11106 * include/bits/stdlib-float.h: Here. New file.
11107 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11108 * stdlib/bits/stdlib-float.h: New file.
11109 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11110 -mno-sse -mno-mmx.
11111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11112 <xmmintrin.h>.
11113
0155d5b2
JM
111142012-11-02 Joseph Myers <joseph@codesourcery.com>
11115
a68d0680
JM
11116 * conform/conformtest.pl (@headers): Add fenv.h.
11117 * conform/data/fenv.h-data: New file.
11118 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11119 include of <math/fenv.h>.
11120
caf7f573
JM
11121 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11122 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11123 && !UNIX98]. Enables tests for XOPEN2K8.
11124 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11125 POSIX2008]: Likewise.
11126
6c073ad6
JM
11127 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11128 (struct rusage): Do not expect type or its members.
11129
0155d5b2
JM
11130 [BZ #3439]
11131 * math/math.h (FP_NAN): Define macro to integer constant usable in
11132 #if and use that to give value to enum constant.
11133 (FP_INFINITE): Likewise.
11134 (FP_ZERO): Likewise.
11135 (FP_SUBNORMAL): Likewise.
11136 (FP_NORMAL): Likewise.
11137
b5dcacb4
AS
111382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11139
11140 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11141 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11142 arguments.
11143
f7934be8
RM
111442012-11-02 Roland McGrath <roland@hack.frob.com>
11145
11146 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11147 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11148 autoconf-time if not.
11149 * configure.in: Remove AC_PREREQ.
11150
d7d08bde
TMQMF
111512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11152
11153 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11154 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11155 of the internal implementation.
11156
dcdae19a
JM
111572012-11-02 Joseph Myers <joseph@codesourcery.com>
11158
11159 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11160 except include of <misc/sys/syslog.h>.
11161
d6cffd3e
AS
111622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11163
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11165 function returns with a NULL context exit with zero.
11166
b3563932
TMQMF
111672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11168
11169 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11170
b288a93d
L
111712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11174 (run_program_cmd): This.
11175 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11176 (tst_langinfo): New variable. Use it.
11177
a2421a68
SAS
111782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11179
11180 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11181 floating point opcodes.
11182
6f796e1b
TS
111832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11184
7402596b
TS
11185 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11186 variable.
11187
d0d4f868
TS
11188 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11189
6f796e1b
TS
11190 * sysdeps/mach/hurd/powerpc: Remove directory.
11191 * sysdeps/mach/powerpc: Likewise.
11192
4da224a2
AS
111932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11194
11195 * scripts/check-local-headers.sh: Ignore c++ headers.
11196
341dd673
TS
111972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11198
11199 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11200 __libc_cleanup_region_start argument.
11201
473611b2
JM
112022012-11-01 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #14784]
11205 [BZ #14785]
11206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11207 x * y using scaling, not as x * y + z.
11208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11210 * math/libm-test.inc (fma_test): Add more tests.
11211 (fma_test_towardzero): Likewise.
11212 (fma_test_downward): Likewise.
11213 (fma_test_upward): Likewise.
11214
4078da3d
TS
112152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11216
11217 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11218
903252aa
JM
112192012-10-31 Joseph Myers <joseph@codesourcery.com>
11220
11221 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11222 New variable.
11223
cbc818d0
TS
112242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11225
11226 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11227
5a03cb1e
AS
112282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11229
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11231 Fix sort order.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11233 Likewise.
11234
90aff2ff
TMQMF
112352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11236
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11238 Fix the order of the list for glibc 2.17.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11240 Likewise.
11241
1818fcb7
AS
112422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11243
11244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11245
ef82f4da
JM
112462012-10-31 Joseph Myers <joseph@codesourcery.com>
11247
16a0e2ec
JM
11248 [BZ #14610]
11249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11250 for low part of x being zero before using __atanl (y).
11251 * math/libm-test.inc (atan2_test): Add another test.
11252
0eb69512
JM
11253 * manual/install.texi (Configuring and compiling): Document
11254 general use of test-wrapper and test-wrapper-env.
11255 * INSTALL: Regenerated.
11256
ef82f4da
JM
11257 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11258 (__fma): Do not extract and scale down low bits on after-rounding
11259 systems when result rounded to normal precision would have normal
11260 exponent.
11261 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11262 (__fmal): Do not extract and scale down low bits on after-rounding
11263 systems when result rounded to normal precision would have normal
11264 exponent.
11265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11266 (__fmal): Do not extract and scale down low bits on after-rounding
11267 systems when result rounded to normal precision would have normal
11268 exponent.
11269 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11270 macro.
11271 (fma_test): Add more tests.
11272 (fma_test_towardzero): Likewise.
11273 (fma_test_downward): Likewise.
11274 (fma_test_upward): Likewise.
11275
954ef0d9
L
112762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * sysdeps/i386/tininess.h: Renamed to ...
11279 * sysdeps/x86/tininess.h: This.
11280 * sysdeps/x86_64/tininess.h: Removed.
11281
df61ffb2
JM
112822012-10-30 Joseph Myers <joseph@codesourcery.com>
11283
11284 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11285 input. Use $(build-program-cmd).
11286 ($(objpfx)tst-array1-static.out): Likewise.
11287 ($(objpfx)tst-array2.out): Likewise.
11288 ($(objpfx)tst-array3.out): Likewise.
11289 ($(objpfx)tst-array4.out): Likewise.
11290 ($(objpfx)tst-array5.out): Likewise.
11291 ($(objpfx)tst-array5-static.out): Likewise.
11292
01767843
CM
112932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11294
47cc1490
CM
11295 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11296 if defined.
11297
01767843
CM
11298 * nss/nsswitch.h (nss_interface_function): Provide new
11299 macro for use with NSS functions.
11300 * grp/initgroups.c: Use new macro.
11301 * nss/getXXbyYY.c: Likewise.
11302 * nss/getXXbyYY_r.c: Likewise.
11303 * nss/getXXent.c: Likewise.
11304 * nss/getXXent_r.c: Likewise.
11305 * sysdeps/posix/getaddrinfo.c: Likewise.
11306
8321aa97
AJ
113072012-10-30 Andreas Jaeger <aj@suse.de>
11308
11309 * po/ru.po: Update Russion translation from translation project.
11310
2a27fd6d
JM
113112012-10-30 Joseph Myers <joseph@codesourcery.com>
11312
8627a232
JM
11313 [BZ #14152]
11314 [BZ #14783]
11315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11316 result and shift together with sticky bit instead of replicating
11317 round-to-nearest rounding.
11318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11320 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11321 missing underflow exceptions.
11322 (fma_test_towardzero): Add more tests.
11323 (fma_test_downward): Likewise.
11324 (fma_test_upward): Likewise.
11325
2a27fd6d
JM
11326 [BZ #14047]
11327 * sysdeps/generic/tininess.h: New file.
11328 * sysdeps/i386/tininess.h: Likewise.
11329 * sysdeps/sh/tininess.h: Likewise.
11330 * sysdeps/x86_64/tininess.h: Likewise.
11331 * stdlib/tst-strtod-underflow.c: Likewise.
11332 * stdlib/tst-tininess.c: Likewise.
11333 * stdlib/strtod_l.c: Include <tininess.h>.
11334 (round_and_return): Do not set errno for exact underflow cases.
11335 Force an underflow exception when setting errno for underflow.
11336 Determine underflow based on rounding to normal precision if
11337 TININESS_AFTER_ROUNDING.
11338 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11339 ERANGE for exact underflow cases.
11340 * stdlib/Makefile (tests): Add tst-tininess and
11341 tst-strtod-underflow.
11342 ($(objpfx)tst-tininess): Use $(link-libm).
11343 ($(objpfx)tst-strtod-underflow): Likewise.
11344
e7170363
AJ
113452012-10-30 Andreas Jaeger <aj@suse.de>
11346
e5088dc6
AJ
11347 [BZ#14767]
11348 * elf/Makefile (tests): Remove conditional for have-initfini-array
11349 since this is now always required and the variable does not exist
11350 anymore.
11351 (tests-static): Likewise.
11352 (modules-names): Likewise.
11353
e7170363 11354 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11355
11356 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11357 merged with constructor/destructor.
11358 (init_array): Likewise.
11359 * elf/tst-array2dep.c (fini_array): Likewise.
11360 (init_array): Likewise.
11361
60457d8a
MF
113622012-10-29 Mike Frysinger <vapier@gentoo.org>
11363
11364 * manual/message.texi: Delete @cartouche tags.
11365
8bece752
PT
113662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11367
94ce799f
PT
11368 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11369 EOPNOTSUPP.
11370 * sysdeps/mach/hurd/fsync.c: Likewise.
11371
8bece752
PT
11372 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11373 [_POSIX_REALTIME_SIGNALS]: Change condition to
11374 [_POSIX_REALTIME_SIGNALS > 0].
11375
86ebe6b1
AJ
113762012-10-27 Andreas Jaeger <aj@suse.de>
11377
11378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11379 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11381 [__WORDSIZE != 64]: Likewise.
11382
54399c08
L
113832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11384
11385 * iconvdata/tst-table.sh: Remove ${SHELL}.
11386 * iconvdata/tst-tables.sh: Likewise.
11387
e2211bed
DM
113882012-10-25 David S. Miller <davem@davemloft.net>
11389
11390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11391 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11392 of strtoull.
11393
f303f97c
DM
11394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11395 ifunc-impl-list.c
11396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11397 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11398 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11399 file.
11400
1e9d84cd
RM
114012012-10-25 Roland McGrath <roland@hack.frob.com>
11402
11403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11404 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11405 __getdirentries.
11406
df381762
JM
114072012-10-25 Joseph Myers <joseph@codesourcery.com>
11408 Jim Blandy <jimb@codesourcery.com>
11409
11410 * scripts/cross-test-ssh.sh: New file.
11411 * manual/install.texi (Configuring and compiling): Document use of
11412 cross-test-ssh.sh.
11413 * INSTALL: Regenerated.
11414
bff64913
PT
114152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11416
11417 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11418 EOPNOTSUPP.
11419
25fe8932
JM
114202012-10-25 Joseph Myers <joseph@codesourcery.com>
11421
11422 * Makeconfig (run-program-prefix): Fix comment.
11423
cc1290d0
JM
114242012-10-24 Joseph Myers <joseph@codesourcery.com>
11425 Jim Blandy <jimb@codesourcery.com>
11426
11427 * Makeconfig (test-wrapper): New variable,
11428 (test-wrapper-env): Likewise.
11429 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11430 (run-built-tests): Define to yes.
11431 (run-program-prefix): Use $(test-wrapper).
11432 (built-program-cmd): Likewise.
11433 * Rules (make-test-out): Use $(test-wrapper-env) and
11434 $(host-built-program-cmd).
11435 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11436 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11437 tst-pathopt.sh.
11438 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11439 $(test-wrapper-env) to tst-rtld-load-self.sh.
11440 ($(objpfx)order2.out): Use $(test-wrapper).
11441 ($(objpfx)tst-initorder.out): Likewise.
11442 ($(objpfx)tst-initorder2.out): Likewise.
11443 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11444 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11445 (test_wrapper_env): New variable. Use it to run ld.so.
11446 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11447 Use it to run ld.so.
11448 (test_wrapper_env): Likewise.
11449 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11450 $(test-wrapper) to run-iconv-test.sh.
11451 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11452 (ICONV): Use $test_wrapper.
11453 * posix/Makefile ($(objpfx)globtest.out): Pass
11454 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11455 globtest.sh, not $(run-program-prefix).
11456 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11457 (test_wrapper): Likewise.
11458 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11459 set together with run_via_rtld_prefix.
11460 (run_program_prefix): Define in terms of test_wrapper and
11461 run_via_rtld_prefix.
11462
6e6249d0
RM
114632012-10-24 Roland McGrath <roland@hack.frob.com>
11464
11465 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11466 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11467 Targets removed.
11468
11469 [BZ #14743]
11470 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11471 Declare __clock_getres, __clock_gettime, __clock_settime,
11472 __clock_nanosleep, and __clock_getcpuclockid.
11473 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11474 Remove librt_hidden_def (clock_gettime).
11475 * sysdeps/unix/clock_gettime.c: Likewise.
11476 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11478 * rt/clock_getres.c: Define __clock_getres as an alias.
11479 * sysdeps/posix/clock_getres.c: Likewise.
11480 * rt/clock_settime.c: Define __clock_settime as an alias.
11481 * sysdeps/unix/clock_settime.c: Likewise.
11482 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11483 * sysdeps/unix/clock_nanosleep.c: Likewise.
11484 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11485 * rt/clock-compat.c: New file.
11486 * rt/Makefile (librt-routines): Add clock-compat and move
11487 $(clock-routines) to ...
11488 (routines): ... here, new variable.
11489 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11490 Don't add get_clockfreq here.
11491 * rt/Versions (libc: GLIBC_2.17): New version set.
11492 Add clock_* symbols here.
11493 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11495 (GLIBC_2.17): Add clock_* symbols.
11496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11500 Likewise.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11502 Likewise.
11503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11507 * NEWS: Mention the move.
11508
11509 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11510 Use __open, __read, __close rather than their public counterparts.
11511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11512 (__get_clockfreq_via_cpuinfo): Likewise.
11513 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11514 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11515
11516 * config.h.in (HAVE_IFUNC): New #undef.
11517 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11518 was successful.
11519 * configure: Regenerated.
11520
0cae3f4b
MF
115212012-10-24 Mike Frysinger <vapier@gentoo.org>
11522
11523 * configure.in: Move READELF check to start of file.
11524 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11525 libc_cv_asm_gnu_indirect_function in the process.
11526 * configure: Regenerated.
11527
8175a253
MF
115282012-10-24 Mike Frysinger <vapier@gentoo.org>
11529
11530 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11531 send the output to /dev/null.
11532 (libc_cv_cc_with_libunwind): Likewise.
11533 (libc_cv_as_noexecstack): Likewise.
11534 * configure: Regenerate.
11535
0708a7d1
JM
115362012-10-24 Joseph Myers <joseph@codesourcery.com>
11537
10b40d85
JM
11538 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11539
0708a7d1
JM
11540 * posix/globtest.sh (TMPDIR): Do not set.
11541 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11542 (testout): Likewise.
11543
9fddec1a
AJ
115442012-10-24 Andreas Jaeger <aj@suse.de>
11545
3a8db22f
AJ
11546 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11547 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11548 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11549 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11550 posix_fadvise64, posix_fallocate64.
11551
9fddec1a
AJ
11552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11553 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11554 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11555 Likewise.
11556 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11557 Likewise.
11558 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11559
11560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11561 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11562 <bits/fcntl-linux.h>.
11563 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11564
11565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11566 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11567 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11568 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11569 [__WORDSIZE != 64]: Likewise.
11570
ebfd1bbd
JM
115712012-10-23 Joseph Myers <joseph@codesourcery.com>
11572
03ac099f
JM
11573 * Makeconfig (run-built-tests): New variable.
11574 * Rules [$(cross-compiling) = yes]: Change condition to
11575 [$(run-built-tests) = no].
11576 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11577 to [$(run-built-tests) = yes].
11578 * elf/Makefile [$(cross-compiling) = no]: Likewise
11579 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11580 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11581 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11582 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11583 * io/Makefile [$(cross-compiling) = no]: Likewise.
11584 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11585 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11586 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11587 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11588 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11589 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11590 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11591 * string/Makefile [$(cross-compiling) = no]: Likewise.
11592
ebfd1bbd
JM
11593 * posix/Makefile ($(objpfx)globtest.out): Pass
11594 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11595 $(rtld-installed-name).
11596 * posix/globtest.sh (elf_objpfx): Remove variable.
11597 (rtld_installed_name): Likewise.
11598 (library_path): Likewise.
11599 (run_program_prefix): New variable. Use for running globtest
11600 binary.
11601
166bca24
JB
116022012-10-23 Jim Blandy <jimb@codesourcery.com>
11603 Joseph Myers <joseph@codesourcery.com>
11604
11605 * Makeconfig (host-built-program-cmd): New variable.
11606 * elf/Makefile (tst-stackguard1-ARGS): Use
11607 $(host-built-program-cmd).
11608 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11609 (tst-spawn-ARGS): Likewise.
11610 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11611
88866099
JM
116122012-10-23 Joseph Myers <joseph@codesourcery.com>
11613 Jim Blandy <jimb@codesourcery.com>
11614
11615 * Makeconfig (run-via-rtld-prefix): New variable.
11616 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11617 (built-program-cmd): Likewise.
11618
b4b4c296
AJ
116192012-10-22 Andreas Jaeger <aj@suse.de>
11620
11621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11622 __O_RSYNC if it exists, otherwise to O_SYNC.
11623
6fb54a22
JB
116242012-10-22 Jim Blandy <jimb@codesourcery.com>
11625 Joseph Myers <joseph@codesourcery.com>
11626
11627 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11628 /dev/null.
11629 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11630 from /dev/null
11631 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11632 /dev/null.
11633
481b90b9
AJ
116342012-10-22 Andreas Jaeger <aj@suse.de>
11635
2a0e2669
AJ
11636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11637 Define always.
11638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11639
76e38f9a
AJ
11640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11641 bits/fcntl-linux.h.
11642
7cd37b43
AJ
11643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11644 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11645
481b90b9
AJ
11646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11647 to __O_LARGEFILE.
11648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11649 to __O_LARGEFILE.
11650
aba75984
JB
116512012-10-21 Jim Blandy <jimb@codesourcery.com>
11652 Joseph Myers <joseph@codesourcery.com>
11653
11654 * config.make.in (NM): New variable.
11655
88d4247f
AJ
116562012-10-21 Andreas Jaeger <aj@suse.de>
11657
11658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11659 definitions and declarations that are provided by
11660 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11661
f2eed205
L
116622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 [BZ #14683]
11665 * elf/Makefile (tests-static): Add tst-leaks1-static.
11666 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11667 ($(objpfx)tst-leaks1-static): New rule.
11668 ($(objpfx)tst-leaks1-static-mem): Likewise.
11669 (tst-leaks1-static-ENV): New macro.
11670 * elf/dl-open.c (dl_open_worker): Check the main application
11671 only if SHARED is defined.
11672 * elf/tst-leaks1-static.c: New file.
11673
335e6931
AJ
116742012-10-20 Andreas Jaeger <aj@suse.de>
11675
11676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11677 generic values for Linux.
11678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11679 and declarations that are provided by <bits/fcntl-linux.h> and
11680 include <bits/fcntl-linux.h>.
11681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11683
ac5c94d3
RM
116842012-10-20 Roland McGrath <roland@hack.frob.com>
11685
11686 * io/fcntl.h: Move include of <bits/types.h> to the top and
11687 include it unconditionally.
11688
de54b33a
L
116892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11690
228cfb01
L
11691 * wcsmbs/Makefile (tests-ifunc): New variable.
11692 (tests): Add $(tests-ifunc).
11693 * wcsmbs/test-wcschr-ifunc.c: New file.
11694 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11695 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11696 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11697 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11698 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11699
69f07e5f
L
11700 * string/Makefile (tests-ifunc): New variable.
11701 (tests): Add $(tests-ifunc).
11702 * string/test-memccpy.c (TEST_NAME): New macro.
11703 * string/test-memchr.c (TEST_NAME): Likewise.
11704 * string/test-memcmp.c (TEST_NAME): Likewise.
11705 * string/test-memcpy.c (TEST_NAME): Likewise.
11706 * string/test-memmem.c (TEST_NAME): Likewise.
11707 * string/test-memmove.c (TEST_NAME): Likewise.
11708 * string/test-memset.c (TEST_NAME): Likewise.
11709 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11710 * string/test-stpcpy.c (TEST_NAME): Likewise.
11711 * string/test-stpncpy.c (TEST_NAME): Likewise.
11712 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11713 * string/test-strcasestr.c (TEST_NAME): Likewise.
11714 * string/test-strcat.c (TEST_NAME): Likewise.
11715 * string/test-strchr.c (TEST_NAME): Likewise.
11716 * string/test-strcmp.c(TEST_NAME): Likewise.
11717 * string/test-strcpy.c (TEST_NAME): Likewise.
11718 * string/test-strcspn.c (TEST_NAME): Likewise.
11719 * string/test-strlen.c (TEST_NAME): Likewise.
11720 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11721 * string/test-strncmp.c (TEST_NAME): Likewise.
11722 * string/test-strncpy.c (TEST_NAME): Likewise.
11723 * string/test-strnlen.c (TEST_NAME): Likewise.
11724 * string/test-strpbrk.c (TEST_NAME): Likewise.
11725 * string/test-strrchr.c (TEST_NAME): Likewise.
11726 * string/test-strspn.c (TEST_NAME): Likewise.
11727 * string/test-strstr.c (TEST_NAME): Likewise.
11728 * string/test-bcopy-ifunc.c: New file.
11729 * string/test-bzero-ifunc.c: Likewise.
11730 * string/test-memccpy-ifunc.c: Likewise.
11731 * string/test-memchr-ifunc.c: Likewise.
11732 * string/test-memcmp-ifunc.c: Likewise.
11733 * string/test-memcpy-ifunc.c: Likewise.
11734 * string/test-memmem-ifunc.c: Likewise.
11735 * string/test-memmove-ifunc.c: Likewise.
11736 * string/test-mempcpy-ifunc.c: Likewise.
11737 * string/test-memset-ifunc.c: Likewise.
11738 * string/test-rawmemchr-ifunc.c: Likewise.
11739 * string/test-stpcpy-ifunc.c: Likewise.
11740 * string/test-stpncpy-ifunc.c: Likewise.
11741 * string/test-strcasecmp-ifunc.c: Likewise.
11742 * string/test-strcasestr-ifunc.c: Likewise.
11743 * string/test-strcat-ifunc.c: Likewise.
11744 * string/test-strchr-ifunc.c: Likewise.
11745 * string/test-strchrnul-ifunc.c: Likewise.
11746 * string/test-strcmp-ifunc.c: Likewise.
11747 * string/test-strcpy-ifunc.c: Likewise.
11748 * string/test-strcspn-ifunc.c: Likewise.
11749 * string/test-strlen-ifunc.c: Likewise.
11750 * string/test-strncasecmp-ifunc.c: Likewise.
11751 * string/test-strncat-ifunc.c: Likewise.
11752 * string/test-strncmp-ifunc.c: Likewise.
11753 * string/test-strncpy-ifunc.c: Likewise.
11754 * string/test-strnlen-ifunc.c: Likewise.
11755 * string/test-strpbrk-ifunc.c: Likewise.
11756 * string/test-strrchr-ifunc.c: Likewise.
11757 * string/test-strspn-ifunc.c: Likewise.
11758 * string/test-strstr-ifunc.c: Likewise.
11759
de54b33a
L
11760 * debug/Makefile (tests-ifunc): New variable.
11761 (tests): Add $(tests-ifunc).
11762 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11763 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11764 * debug/test-stpcpy_chk-ifunc.c: New file.
11765 * debug/test-strcpy_chk-ifunc.c: Likewise.
11766
88481c16
SP
117672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11768
11769 [BZ #13601]
11770 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11771 header is not read in.
11772
135948bd
JM
117732012-10-19 Joseph Myers <joseph@codesourcery.com>
11774
89f1c388
JM
11775 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11776 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11777 directly. Pass built executable to script as
11778 $(built-program-cmd).
11779 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11780 $testprogram without using LD_LIBRARY_PATH and $ldso.
11781
e40a0d21
JM
11782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11783 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11784 $(rtld-installed-name).
11785 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11786 (rtld_installed_name): Likewise.
11787 (library_path): Likewise.
11788 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11789 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11790 $(run-program-prefix) to tst-tables.sh.
11791 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11792 it to run tst-table-from and tst-table-to.
11793 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11794 Pass it to tst-table.sh.
11795 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11796 $(run-program-prefix) to tst-gettext.sh.
11797 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11798 tst-translit.sh.
11799 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11800 tst-gettext2.sh.
11801 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11802 to run tst-gettext.
11803 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11804 to run tst-gettext2.
11805 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11806 to run tst-translit.
11807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11808 $(run-program-prefix) to tst-mtrace.sh.
11809 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11810 to run tst-mtrace.
11811 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11812 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11813 $(rtld-installed-name).
11814 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11815 (rtld_installed_name): Likewise.
11816 (run_program_prefix): New variable. Use it to run wordexp-test.
11817
728e272a
JM
11818 * Makeconfig (ARCH): Remove all definitions.
11819 (machine): Likewise.
11820 [ARCH]: Remove conditional code.
11821 [!objdir]: Give error.
11822 [!objdir] (objpfx): Remove.
11823 [!objdir] (common-objpfx): Likewise.
11824 [!objdir] (common-objdir): Likewise.
11825 * configure.in (config_makefile): Remove. Hardcode Makefile in
11826 AC_CONFIG_FILES call.
11827 * configure: Regenerated.
11828
d528cdcf
JM
11829 [BZ #13888]
11830 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11831 or TMPDIR.
11832 (testout): Likewise.
11833
135948bd
JM
11834 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11835 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11836 $(rtld-installed-name).
11837 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11838 (rtld_installed_name): Likwise.
11839 (runit): Remove function.
11840 (run_getconf): New variable, Use it for running getconf binary.
11841
38c78296
L
118422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11843
11844 [BZ #14716]
11845 * string/test-memmem.c (check_result): New function.
11846 (do_one_test): Use it.
11847 (check1): New function.
11848 (test_main): Use it.
11849
d077f65f
MT
118502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11851
11852 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11853
ced52c71
JM
118542012-10-18 Joseph Myers <joseph@codesourcery.com>
11855
11856 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11857 (_G_LSEEK64): Likewise.
11858 (_G_MMAP64): Likewise.
11859 (_G_FSTAT64): Likewise.
11860 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11861 (_G_LSEEK64): Likewise.
11862 (_G_MMAP64): Likewise.
11863 (_G_FSTAT64): Likewise.
11864 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11865 unconditional. Call __mmap64 directly.
11866 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11867 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11868 __lseek64 directly.
11869 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11870 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11871 __mmap64 directly.
11872 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11873 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11874 __lseek64 directly.
11875 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11876 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11877 __lseek64 directly.
11878 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11879 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11880 __lseek64 directly.
11881 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11882 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11883 __fxstat64 directly.
11884 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11885 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11886 unconditional.
11887 (freopen64) [!_G_OPEN64]: Remove conditional code.
11888 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11889 unconditional.
11890 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11891 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11892 unconditional.
11893 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11894 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11895 unconditional.
11896 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11897 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11898 unconditional.
11899 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11900 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11901 unconditional.
11902 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11903 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11904 unconditional.
11905 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11906 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11907 unconditional.
11908 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11909
b741de23
SP
119102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11911
11912 [BZ #12140]
11913 * manual/memory.texi (Malloc Tunable Parameters): Add note
11914 about free list pointers overwriting some perturb bytes.
11915 Wording suggested by Roland McGrath.
11916
f9b9d9c9
JM
119172012-10-17 Joseph Myers <joseph@codesourcery.com>
11918
11919 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11920 (lgamma_test): Likewise.
11921 (tgamma_test): Likewise.
11922
172a631a
FW
119232012-10-16 Florian Weimer <fweimer@redhat.com>
11924
11925 [BZ #14700]
11926 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11927 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11928
e9f37252
MK
119292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11930
11931 * NEWS: Mention BZ #14716.
11932 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11933 when removing AVAILABLE1_USES_J macro.
11934
d394eb74
L
119352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11938 (__bswap_64): __uint64_t for unsigned 64-bit int.
11939
ca38dc17
AS
119402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11941
11942 * include/string.h (memmem): Declare libc hidden alias.
11943 * string/memmem.c (memmem): Define libc hidden alias.
11944 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11945 __read, __close instead of open, read, close.
11946
9a387d1f
L
119472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11948
ac49ecaf
L
11949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11950 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11951 global and hidden.
11952 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11953 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11954 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11955 Likewise.
11956 (__rawmemchr_sse2): Likewise.
11957 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11958 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11959 (__strchr_sse2): Likewise.
11960 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11961 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11962 (__strcasecmp_sse2): Likewise.
11963 (__strncasecmp_sse2): Likewise.
11964 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11965 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11966 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11967 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11968 (__strrchr_sse2): Likewise.
11969 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11970 ifunc-impl-list.c.
11971 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11972 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11973 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11975 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11977 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11979 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11980 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11981 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11982 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11983 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11984 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11985 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11987 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11988 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11989 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11990 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11991 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11992 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11993 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11994 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11995 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11997 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11998 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11999 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12000 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12001
b090e8ea
L
12002 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12003 global and hidden.
12004 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12005 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12006 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12007 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12008 Likewise.
12009 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12010 Likewise.
12011 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12012 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12013 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12014 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12015 ifunc-impl-list.c.
12016 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12034 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12041 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12044 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12046 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12057
11dd4af6
L
12058 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12059 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12060 * include/ifunc-impl-list.h: New file.
12061 * misc/ifunc-impl-list.c: Likewise.
12062 * misc/Makefile (routines): Add ifunc-impl-list.
12063 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12064 * string/test-string.h: Include <ifunc-impl-list.h>.
12065 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12066 impl_array): New variables.
12067 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12068 are defined.
12069 (test_init): Call __libc_ifunc_impl_list to initialize
12070 func_list if TEST_IFUNC and TEST_NAME are defined.
12071
9a387d1f
L
12072 * string/Makefile (strop-tests): Add bcopy and bzero.
12073 * string/test-bcopy.c: New file.
12074 * string/test-bzero.c: Likewise.
12075 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12076 defined.
12077 * string/test-memset.c: Support bzero test if TEST_BZERO is
12078 defined.
12079 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12080 __libc_memmove.
12081 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12082 __libc_memset.
12083 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12084 of memset.
12085
472371b9
JM
120862012-10-10 Joseph Myers <joseph@codesourcery.com>
12087
1e4a9536
JM
12088 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12089 * configure: Regenerated.
12090
d173d12e
JM
12091 * Makeconfig (+link-static-before-libc): Don't include
12092 $(link-static-libc).
12093
472371b9
JM
12094 * libio/libio.h (_IO_pos_t): Remove.
12095
89a3ad0b
AO
120962012-10-10 Alexandre Oliva <aoliva@redhat.com>
12097
12098 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12099 McGrath.
12100
e7451425
AO
121012012-10-10 Alexandre Oliva <aoliva@redhat.com>
12102
12103 * crypt/crypt-entry.c: Include fips-private.h.
12104 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12105 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12106 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12107 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12108
4ba74a35
AO
121092012-10-10 Alexandre Oliva <aoliva@redhat.com>
12110
12111 * crypt/crypt-private.h: Include stdbool.h.
12112 (_ufc_setup_salt_r): Return bool.
12113 * crypt/crypt-entry.c: Include errno.h.
12114 (__crypt_r): Return NULL with EINVAL for bad salt.
12115 * crypt/crypt_util.c (bad_for_salt): New.
12116 (_ufc_setup_salt_r): Check that salt is long enough and within
12117 the specified alphabet.
12118 * crypt/badsalttest.c: New file.
12119 * crypt/Makefile (tests): Add it.
12120 ($(objpfx)badsalttest): New.
12121
f96f1242
MK
121222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12123
12124 * NEWS: Add entry for BZ #14602.
12125
0e8e0c1c
JM
121262012-10-09 Joseph Myers <joseph@codesourcery.com>
12127
12128 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12129 type-generic.
12130 * math/libm-test.inc: Update comment listing what functions and
12131 macros are tested.
12132 (isgreater_test): New function.
12133 (isgreaterequal_test): Likewise.
12134 (isless_test): Likewise.
12135 (islessequal_test): Likewise.
12136 (islessgreater_test): Likewise.
12137 (isunordered_test): Likewise.
12138 (main): Call the new functions.
12139
273edc5e
RM
121402012-10-09 Roland McGrath <roland@hack.frob.com>
12141
b8493de0
RM
12142 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12143 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12144 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12145 * sysdeps/i386/configure: Regenerated.
12146 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12147 * sysdeps/mach/configure: Regenerated.
12148 * sysdeps/mach/hurd/configure: Regenerated.
12149 * sysdeps/powerpc/configure: Regenerated.
12150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12152 * sysdeps/s390/s390-32/configure: Regenerated.
12153 * sysdeps/s390/s390-64/configure: Regenerated.
12154 * sysdeps/sh/configure: Regenerated.
12155 * sysdeps/sparc/configure: Regenerated.
12156 * sysdeps/unix/sysv/linux/configure: Regenerated.
12157 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12158 * sysdeps/x86_64/configure: Regenerated.
12159
273edc5e
RM
12160 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12161 defined. Don't check if MAP is NULL.
12162
c8450f70
JM
121632012-10-09 Joseph Myers <joseph@codesourcery.com>
12164
12165 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12166 (_G_stat64): Likewise.
12167 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12168 (_G_stat64): Likewise.
12169 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12170 instead of struct _G_stat64.
12171 * libio/fileops.c (mmap_remap_check): Likewise.
12172 (decide_maybe_mmap): Likewise.
12173 (_IO_new_file_seekoff): Likewise.
12174 (_IO_file_stat): Likewise.
12175 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12176 _G_off64_t.
12177 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12178 instead of struct _G_stat64.
12179 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12180
57e605ba
MK
121812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12182
12183 [BZ #14602]
12184 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12185 Replace with ...
12186 (CHECK_EOL): New macro.
12187 (two_way_short_needle): Check beginning of haystack for EOL. Use
12188 CHECK_EOL.
12189 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12190 Replace with CHECK_EOL.
12191 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12192 Replace with CHECK_EOL.
12193
ef1bb361
JM
121942012-10-08 Joseph Myers <joseph@codesourcery.com>
12195
12196 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12197 type-generic.
12198 * math/libm-test.inc: Update comment listing what functions and
12199 macros are tested.
12200 (finite_test): New function.
12201 (isinf_test): Likewise.
12202 (isnan_test): Likewise.
12203 (fpclassify_test): Test subnormal input.
12204 (isfinite_test): Likewise.
12205 (isnormal_test): Likewise.
12206 (main): Call the new functions.
12207
55f11534
JN
122082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12209
12210 [BZ #14660]
12211 * Makerules (%.dynsym): Force C locale when running
12212 $(OBJDUMP) --dynamic-syms.
12213
1ab29350
AS
122142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12215
12216 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12217 <stdint.h>.
12218
f1ecb7ef
DM
122192012-10-06 David S. Miller <davem@davemloft.net>
12220
12221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12222 upper 32-bits of the length value in %o2 since we use branch-on-register
12223 tests which consider the entire 64-bit register.
12224
5d41d91a
L
122252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12226
12227 * string/test-strstr.c (check2): Add a test for page boundary.
12228
3baddb72
DM
122292012-10-05 David S. Miller <davem@davemloft.net>
12230
12231 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12233 file.
12234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12235 sysdep_routines.
12236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12237 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12238 and bzero when HWCAP_SPARC_CRYPTO is present.
12239
9cee5585
L
122402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12241
d7e0dab9
L
12242 [BZ #14602]
12243 * string/test-strstr.c (check2): New function.
12244 (test_main): Call check2.
12245
03759f47
L
12246 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12247 and bug-strchr1.
12248 * string/bug-strcasestr1.c (do_test): Moved to ...
12249 * string/test-strcasestr.c (check1): Here. New function.
12250 (do_one_test): Break out result checking code into ...
12251 (check_result): This. New function.
12252 (do_one_test): Call check_result.
12253 (test_main): Call check1.
12254 * string/bug-strchr1.c (do_test): Moved to ...
12255 * string/test-strchr.c (check1): Here. New function.
12256 (do_one_test): Break out result checking code into ...
12257 (check_result): This. New function.
12258 (do_one_test): Call check_result.
12259 (test_main): Call check1.
12260 * string/bug-strstr1.c (main): Moved to ...
046f153e 12261 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12262 (do_one_test): Break out result checking code into ...
12263 (check_result): This. New function.
12264 (do_one_test): Call check_result.
12265 (test_main): Call check1.
12266 * string/bug-strcasestr1.c: Removed.
12267 * string/bug-strchr1.c: Likewise.
12268 * string/bug-strstr1.c: Likewise.
12269
53cea63e
L
12270 * elf/Makefile (dl-routines): Add hwcaps.
12271 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12272 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12273 (_dl_important_hwcaps): Moved to ...
12274 * elf/dl-hwcaps.c: Here. New file.
12275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12276
9cee5585 12277 [BZ #14557]
bb859b06
L
12278 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12279 if IS_IN_rtld isn't defined.
12280
9cee5585
L
12281 * elf/dl-support.c (_dl_sysinfo_map): New.
12282 Include "get-dynamic-info.h" and "setup-vdso.h".
12283 (_dl_non_dynamic_init): Call setup_vdso.
12284 * elf/dynamic-link.h: Don't include <assert.h>.
12285 (elf_get_dynamic_info): Moved to ...
12286 * elf/get-dynamic-info.h: Here. New file.
12287 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12288 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12289 * elf/setup-vdso.h: Here. New file.
12290 * elf/rtld.c: Include "setup-vdso.h".
12291 (dl_main): Call setup_vdso.
12292
23c31b76
JM
122932012-10-05 Joseph Myers <joseph@codesourcery.com>
12294
28234b07
JM
12295 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12296 creal in comment listing functions tested. List finite, isinf,
12297 isnan, isless, islessequal, isgreater, isgreaterequal,
12298 islessgreater, isunordered, lgamma_r and pow10 as functions and
12299 macros not tested. Mention which functions not tested are aliases
12300 for other functions. Fix typo. Note that signs of NaNs are not
12301 tested.
12302
23c31b76
JM
12303 * scripts/config.guess: Update from config.git.
12304 * scripts/config.sub: Likewise.
12305
9043e228
RM
123062012-10-04 Roland McGrath <roland@hack.frob.com>
12307
12308 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12309 * misc/madvise.c (madvise): Renamed to __madvise.
12310 Make madvise a weak alias.
12311 * include/sys/mman.h: Declare __madvise.
12312 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12313 * sysdeps/unix/syscalls.list
12314 (madvise): Make __madvise the strong name, and madvise a weak alias.
12315 * sysdeps/unix/sysv/linux/syscalls.list
12316 (madvise, mmap): Remove redundant entries.
12317 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12318 * malloc/malloc.c (mtrim): Likewise.
12319 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12320
f57f8055
RM
123212012-10-03 Roland McGrath <roland@hack.frob.com>
12322
12323 * sysdeps/mach/hurd/dl-cache.c: File removed.
12324 * config.h.in (USE_LDCONFIG): New #undef.
12325 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12326 * configure: Regenerated.
12327 * elf/Makefile (dl-routines): Add dl-cache only under
12328 [$(use-ldconfig) = yes].
12329 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12330 cache on [USE_LDCONFIG].
12331 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12332 [USE_LDCONFIG].
12333 * elf/rtld.c (dl_main): Likewise.
12334
5bb0c10a
PT
123352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12336
12337 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12338 _SC_LEVEL4_CACHE_LINESIZE.
12339
010188c6
RM
123402012-10-03 Roland McGrath <roland@hack.frob.com>
12341
12342 * sysdeps/unix/bsd/confstr.h: File removed.
12343
b6c5ec07
AO
123442012-10-02 Alexandre Oliva <aoliva@redhat.com>
12345
12346 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12347 sys/sdt-config.h.
12348
408223d4
RM
123492012-10-02 Roland McGrath <roland@hack.frob.com>
12350
12351 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12352 Make 'mapoff' field ElfW(Off) rather than off_t.
12353
bb9510dc
DL
123542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12355
fc997c6e
DL
12356 * nscd/Makefile: Remove nscd-cflags and all its users.
12357 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12358 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12359
bb9510dc
DL
12360 [BZ #10631]
12361 * malloc.c (malloc_printerr): Clarify error message.
12362
05699367
L
123632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12364
12365 [BZ #14648]
12366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12367 Set bit_FMA_Usable if FMA is supported.
12368 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12369 macro.
12370 (bit_FMA4_Usable): Updated.
12371 (index_FMA_Usable): New macro.
12372 (CPUID_FMA): Likewise
12373 (HAS_FMA): Defined with bit_FMA_Usable.
12374
51367701
RM
123752012-10-01 Roland McGrath <roland@hack.frob.com>
12376
12377 * bits/types.h (__swblk_t): Type removed.
12378 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12379 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12381 (__SWBLK_T_TYPE): Likewise.
12382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12383 (__SWBLK_T_TYPE): Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12385 (__SWBLK_T_TYPE): Likewise.
12386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12387 (__SWBLK_T_TYPE): Likewise.
12388
4d57bf63 123892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12390 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12391
12392 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12393 (xdr_mapname): Use YPMAXMAP as maxsize.
12394 (xdr_peername): Use YPMAXPEER as maxsize.
12395 (xdr_keydat): Use YPAXRECORD as maxsize.
12396 (xdr_valdat): Use YPMAXRECORD as maxsize.
12397
93c65d43
RM
123982012-10-01 Roland McGrath <roland@hack.frob.com>
12399
497a03d6
RM
12400 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12401
93c65d43
RM
12402 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12403 * csu/init-first.c: ... here.
12404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12405 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12407 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12408 * sysdeps/i386/init-first.c: File removed.
12409 * sysdeps/sh/init-first.c: File removed.
12410
bec749fd
JM
124112012-10-01 Joseph Myers <joseph@codesourcery.com>
12412
12413 [BZ #14645]
12414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12415 if x * y might underflow to zero and z is zero.
12416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12418 * math/libm-test.inc (min_subnorm_value): New variable.
12419 (fma_test): Add more tests.
12420 (fma_test_towardzero): Likewise.
12421 (fma_test_downward): Likewise
12422 (fma_test_upward): Likewise.
12423 (initialize): Set min_subnorm_value.
12424
8ec5b013
JM
124252012-09-29 Joseph Myers <joseph@codesourcery.com>
12426
12427 [BZ #14638]
12428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12429 0 + 0.
12430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12431 mode for addition resulting in exact zero.
12432 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12434 exact 0 + 0.
12435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12437 * math/libm-test.inc (fma_test): Add more tests.
12438 (fma_test_towardzero): New function.
12439 (fma_test_downward): Likewise.
12440 (fma_test_upward): Likewise.
12441 (main): Call the new functions.
12442
b1fa802e
DM
124432012-09-28 David S. Miller <davem@davemloft.net>
12444
12445 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12446
d3b9fd9e
RM
124472012-09-28 Roland McGrath <roland@hack.frob.com>
12448
ea4d37b3
RM
12449 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12450 instead of SIGALRM.
12451
ac51c949
RM
12452 * sysdeps/gnu/_G_config.h: Moved to ...
12453 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12454 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12455 * sysdeps/generic/_G_config.h: ... here.
12456
28c195f7
RM
12457 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12458
848917f9
RM
12459 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12460
6bacf05b
RM
12461 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12462 Conditionalize target on [libnss_test1.so-version].
12463
91363dbb
RM
12464 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12465
cc87f7d8
RM
12466 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12467 (elfobjdir): Move out of conditionals.
12468
b1c608fe
RM
12469 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12470 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12471 (__nss_lookup_function): Conditionalize label remove_from_tree on
12472 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12473
1d9a6d96
DM
124742012-09-28 David S. Miller <davem@davemloft.net>
12475
12476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12477 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12478 file.
12479 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12480 sysdep_routines.
12481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12483 when HWCAP_SPARC_CRYPTO is present.
12484
72581615
PT
124852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12486
12487 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12488
715a900c
JL
124892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12490
12491 [BZ #6530]
12492 * stdio-common/vfprintf.c (process_string_arg): Revert
12493 2000-07-22 change.
12494
124952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12496
12497 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12498 for testcase.
12499 * stdio-common/tst-sprintf.c: Include <locale.h>
12500 (main): Test sprintf's handling of incomplete multibyte
12501 characters.
12502
9bac1d86
L
125032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 * elf/dl-runtime.c (VERSYMIDX): Removed.
12506 * elf/dl-version.c (VERSYMIDX): Likewise.
12507 * elf/do-rel.h (VERSYMIDX): Likewise.
12508 (VALIDX): Likewise.
12509 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12510 * elf/rtld.c (VALIDX): Likewise.
12511 (ADDRIDX): Likewise.
9bac1d86
L
12512 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12513 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12514 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12515 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12516 (VALIDX): Likewise.
12517 (ADDRIDX): Likewise.
9bac1d86 12518
b31606c0
PT
125192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12520
12521 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12522
11541177
JL
125232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12524
12525 [BZ #11438]
12526 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12527 to global scope.
12528 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12529 addresses are in the same scope as 192.0.2/24.
12530 * posix/gai.conf: Document new scope table defaults.
12531
adb26fae
SP
125322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12533
12534 [BZ #5298]
12535 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12536 for ftell. Compute offsets from write pointers instead.
12537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12538
4573c6b0
SP
125392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12540
12541 [BZ #14543]
12542 * libio/Makefile (tests): New test case tst-fseek.
12543 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12544 combination works in wide mode.
12545 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12546 state when the external buffer state changes.
12547
aa9bbfe6
DM
125482012-09-27 David S. Miller <davem@davemloft.net>
12549
12550 [BZ #14376]
12551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12552 pass reloc->r_addend in as the 'high' argument to
12553 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12554
784421e7
DM
12555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12556
c39bc8b8
PT
125572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12558
12559 * rt/tst-aio2.c: Include <pthread.h>.
12560 * rt/tst-aio3.c: Likewise.
12561
1ccc2399
SE
125622012-09-27 Steve Ellcey <sellcey@mips.com>
12563
12564 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12565
31ed4153
L
125662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12567
25f5f885
L
12568 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12569 contents on [SHARED].
31ed4153 12570
b7bfe116
MP
125712012-09-26 Marek Polacek <polacek@redhat.com>
12572
12573 [BZ #14530]
12574 [BZ #13741]
12575 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12576 for C++ and GCC <4.3 as well as for non GCC compilers.
12577
43c4edba
MT
125782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12579
12580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12581
6a1bf82f
RM
125822012-09-25 Roland McGrath <roland@hack.frob.com>
12583
12584 * Makefile.in (all, install): Declare with .PHONY.
12585 Reported by Michael Hope <michael.hope@linaro.org>.
12586
8ad11b9a
TMQMF
125872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12588
12589 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12590 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12591 system header.
12592 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12593 Likewise.
12594 (sydep_routines): Add the new and the internal functions.
12595 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12598 (GLIBC_2.17): Add the new function.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12600 (GLIBC_2.17): Likewise.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12602 (GLIBC_2.17): Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12604 (GLIBC_2.17): Likewise.
12605 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12606
7e2fca8d
AM
126072012-09-25 Alan Modra <amodra@gmail.com>
12608
12609 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12610 Add release barrier before setting once_control to say
12611 initialisation is done. Add hints on lwarx. Use macro in
12612 place of isync.
12613 (clear_once_control): Add release barrier.
12614
b87c4b24
JM
126152012-09-25 Joseph Myers <joseph@codesourcery.com>
12616
d032e0d2
JM
12617 [BZ #13629]
12618 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12619 specially.
12620 * math/s_clog10.c (__clog10): Likewise.
12621 * math/s_clog10f.c (__clog10f): Likewise.
12622 * math/s_clog10l.c (__clog10l): Likewise.
12623 * math/s_clogf.c (__clogf): Likewise.
12624 * math/s_clogl.c (__clogl): Likewise.
12625 * math/Makefile (libm-calls): Add x2y2m1.
12626 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12627 (__x2y2m1): Likewise.
12628 (__x2y2m1l): Likewise.
12629 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12630 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12633 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12634 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12635 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12636 * sysdeps/i386/fpu/libm-test-ulps: Update.
12637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638
b87c4b24
JM
12639 [BZ #14621]
12640 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12641 int as type of variable DEPTH.
12642 (glob): Use size_t instead of int as type of variables NEWCOUNT
12643 and OLD_PATHC.
12644
6d3bf199
LD
126452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12646
22bf5c17
LD
12647 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12648 Add s_sincosf-sse2.
12649 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12651 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12652 macros for using routine as __sincosf_ia32.
12653 Use macro for function declaration and weak_alias.
12654 * sysdeps/i386/fpu/libm-test-ulps: Update.
12655
12656 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12658
12659 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12660 subnormal argument.
12661 * math/s_cexpf.c (__cexpf): Likewise.
12662 * math/s_csinf.c (__csinf): Likewise.
12663 * math/s_csinhf.c (__csinhf): Likewise.
12664 * math/s_ctanf.c (__ctanf): Likewise.
12665 * math/s_ctanhf.c (__ctanhf): Likewise.
12666 * math/s_ccosh.c (__ccoshf): Likewise.
12667 * math/s_cexp.c (__cexpl): Likewise.
12668 * math/s_csin.c (__csin): Likewise.
12669 * math/s_csinh.c (__csinh): Likewise.
12670 * math/s_ctan.c (__ctan): Likewise.
12671 * math/s_ctanh.c (ctanh): Likewise.
12672 * math/s_ccoshl.c (__ccoshl): Likewise.
12673 * math/s_cexpl.c (__cexpl): Likewise.
12674 * math/s_csinl.c (__csinl): Likewise.
12675 * math/s_csinhl.c (__csinhl): Likewise.
12676 * math/s_ctanl.c (__ctanl): Likewise.
12677 * math/s_ctanhl.c (__ctanhl): Likewise.
12678
203e5603
JM
126792012-09-25 Joseph Myers <joseph@codesourcery.com>
12680
12681 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12682 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12683 (_IO_off_t): Define to __off_t, not _G_off_t.
12684 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12685 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12686 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12687 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12688 type of __dummy and __dummy2 fields.
12689 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12690 (_G_ssize_t): Likewise.
12691 (_G_off_t): Likewise.
12692 (_G_pid_t): Likewise.
12693 (_G_uid_t): Likewise.
12694 (_G_wchar_t): Likewise.
12695 (_G_wint_t): Likewise.
12696 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12697 (_G_ssize_t): Likewise.
12698 (_G_off_t): Likewise.
12699 (_G_pid_t): Likewise.
12700 (_G_uid_t): Likewise.
12701 (_G_wchar_t): Likewise.
12702 (_G_wint_t): Likewise.
12703 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12704 (_G_ssize_t): Likewise.
12705 (_G_off_t): Likewise.
12706 (_G_pid_t): Likewise.
12707 (_G_uid_t): Likewise.
12708 (_G_wchar_t): Likewise.
12709 (_G_wint_t): Likewise.
12710
9fab36eb
SP
127112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12712
12713 * malloc/arena.c: Include malloc-sysdep.h.
12714 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12715 is sufficient to shrink the heap or an unmap is needed.
12716 * sysdeps/generic/malloc-sysdep.h: New file. Define
12717 new function check_may_shrink_heap.
12718 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12719 new function check_may_shrink_heap.
12720
2b4f00d1
SP
127212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12722
12723 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12724 comments.
12725
9a9028b1
DL
127262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12727
57c69bef
DL
12728 * catgets/test-gencat.sh: Add "set -e".
12729 * elf/tst-pathopt.sh: Likewise.
12730 * grp/tst_fgetgrent.sh: Likewise.
12731 * iconvdata/run-iconv-test.sh: Likewise.
12732 * intl/tst-gettext.sh: Likewise.
12733 * intl/tst-gettext2.sh: Likewise.
12734 * intl/tst-gettext4.sh: Likewise.
12735 * intl/tst-gettext6.sh: Likewise.
12736 * intl/tst-translit.sh: Likewise.
12737 * io/ftwtest-sh: Likewise.
12738 * libio/test-freopen.sh: Likewise.
12739 * malloc/tst-mtrace.sh: Likewise.
12740 * posix/globtest.sh: Likewise.
12741 * posix/tst-getconf.sh: Likewise.
12742 * posix/wordexp-tst.sh: Likewise.
12743 * stdio-common/tst-printf.sh: Likewise.
12744 * stdio-common/tst-unbputc.sh: Likewise.
12745 * stdlib/tst-fmtmsg.sh: Likewise.
12746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12747 * catgets/Makefile: Do not specify -e option when running
12748 testsuite shell scripts.
12749 * elf/Makefile: Likewise.
12750 * grp/Makefile: Likewise.
12751 * iconvdata/Makefile: Likewise.
12752 * intl/Makefile: Likewise.
12753 * io/Makefile: Likewise.
12754 * libio/Makefile: Likewise.
12755 * malloc/Makefile: Likewise.
12756 * posix/Makefile: Likewise.
12757 * stdio-common/Makefile: Likewise.
12758 * stdlib/Makefile: Likewise.
12759 * sysdeps/x86_64/Makefile: Likewise.
12760
9a9028b1
DL
12761 * io/ftwtest-sh: Add copyright header.
12762 * posix/globtest.sh: Likewise.
12763 * posix/tst-getconf.sh: Likewise.
12764 * posix/wordexp-tst.sh: Likewise.
12765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12766
ced6f16e
L
127672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12768
94b32c39
L
12769 [BZ #13679]
12770 * Makeconfig (+link): Defined as $(+link-static) if
12771 $(build-shared) isn't yes.
12772 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12773 isn't yes.
12774 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12775
189e935b
L
12776 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12777
ced6f16e
L
12778 [BZ #14562]
12779 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12780 new chunk size with MALLOC_ALIGN_MASK.
12781
a9f8e53a
JM
127822012-09-24 Joseph Myers <joseph@codesourcery.com>
12783
12784 [BZ #5044]
12785 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12786 <rounding-mode.h>.
12787 (__printf_fphex): Determine rounding using get_rounding_mode and
12788 round_away.
12789 * stdio-common/tst-printf-round.c (struct hex_test): New
12790 structure.
12791 (hex_tests): New variable.
12792 (test_hex_in_one_mode): New function.
12793 (do_test): Also run tests for hex float output.
12794
43153109
JM
127952012-09-21 Joseph Myers <joseph@codesourcery.com>
12796
12797 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12798 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12799 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12800 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12801 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12802 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12803 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12804 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12805
8a26625d
JM
128062012-09-20 Joseph Myers <joseph@codesourcery.com>
12807
12808 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12809 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12810 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12811 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12812
f3fd569c
DL
128132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12814
12815 [BZ #14579]
12816 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12817 mode only.
12818 * elf/tst-rtld-load-self.sh: New test.
12819 * elf/Makefile: Run it.
12820
63bbedd4
JM
128212012-09-18 Joseph Myers <joseph@codesourcery.com>
12822
12823 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12824 (tst-writev-ENV): Remove.
12825 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12826
626f8b6a
CM
128272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12828
12829 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12830
b7aaa4d6
JM
128312012-09-17 Joseph Myers <joseph@codesourcery.com>
12832
12833 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12834 unconditional.
12835 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12836 Likewise.
12837 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12838 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12840 Likewise.
12841
65513990
L
128422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12843
12844 [BZ #14587]
12845 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12846 * config.make.in (have-cpp-asm-debuginfo): Removed.
12847 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12848 * configure: Regenerated.
12849
784761be
JM
128502012-09-14 Joseph Myers <joseph@codesourcery.com>
12851
12852 [BZ #5044]
12853 * stdio-common/printf_fp.c: Include <stdbool.h> and
12854 <rounding-mode.h>.
12855 (___printf_fp): Determine rounding using get_rounding_mode and
12856 round_away.
12857 * stdio-common/tst-printf-round.c: New file.
12858 * stdio-common/Makefile (tests): Add tst-printf-round.
12859 (link-libm): New variable.
12860 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12861
9503345f
L
128622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 [BZ #14576]
12865 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12866 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12867 Likewise.
12868 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12869 Likewise.
12870
ad35fc00
JM
128712012-09-13 Joseph Myers <joseph@codesourcery.com>
12872
12873 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12874 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12875 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12876 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12877
6c9b0f68
JM
128782012-09-12 Joseph Myers <joseph@codesourcery.com>
12879
12880 [BZ #14518]
12881 * include/rounding-mode.h: New file.
12882 * sysdeps/generic/get-rounding-mode.h: Likewise.
12883 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12884 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12885 (MAX_VALUE): New macro.
12886 (MIN_VALUE): Likewise.
12887 (overflow_value): New function.
12888 (underflow_value): Likewise.
12889 (round_and_return): Use overflow_value and underflow_value to
12890 determine return values in overflow and underflow cases. Use
12891 round_away to determine rounding depending on rounding mode.
12892 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12893 determine return values in overflow and underflow cases.
12894 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12895 (struct test_results): New structure.
12896 (struct test): Use struct test_results to store expected results
12897 for all rounding modes.
12898 (TEST): Include expected results for all rounding modes.
12899 (test_in_one_mode): New function.
12900 (do_test): Use test_in_one_mode to compute and check results.
12901 Check results for all rounding modes.
12902 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12903 $(link-libm).
12904
19fcedd5
AM
129052012-12-09 Allan McRae <allan@archlinux.org>
12906
1e9d84cd 12907 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12908
8bbfd2f1
JM
129092012-09-11 Joseph Myers <joseph@codesourcery.com>
12910
12911 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12912 (_G_int32_t): Likewise.
12913 (_G_uint16_t): Likewise.
12914 (_G_uint32_t): Likewise.
12915 (_G_HAVE_BOOL): Likewise.
12916 (_G_HAVE_ATEXIT): Likewise.
12917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12918 (_G_HAVE_IO_FILE_OPEN): Likewise.
12919 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12920 (_G_int32_t): Likewise.
12921 (_G_uint16_t): Likewise.
12922 (_G_uint32_t): Likewise.
12923 (_G_HAVE_BOOL): Likewise.
12924 (_G_HAVE_ATEXIT): Likewise.
12925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12926 (_G_HAVE_IO_FILE_OPEN): Likewise.
12927 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12928 (_G_int32_t): Likewise.
12929 (_G_uint16_t): Likewise.
12930 (_G_uint32_t): Likewise.
12931 (_G_HAVE_BOOL): Likewise.
12932 (_G_HAVE_ATEXIT): Likewise.
12933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12934 (_G_HAVE_IO_FILE_OPEN): Likewise.
12935
b1dc5912
L
129362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 * csu/libc-tls.c: Update copyright years.
12939
0e886ef9
JM
129402012-09-10 Joseph Myers <joseph@codesourcery.com>
12941
28361c5e
JM
12942 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12943 [!_G_USING_THUNKS]: Remove conditional code.
12944 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12945 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12946
0e886ef9
JM
12947 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12948 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12949 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12950 (_G_VTABLE_LABEL_PREFIX): Likewise.
12951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12952 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12954 (_G_VTABLE_LABEL_PREFIX): Likewise.
12955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12956 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12958 (_G_VTABLE_LABEL_PREFIX): Likewise.
12959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12960
bcba7aa2
L
129612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12962
12963 * libio/Makefile: Include ../Makeconfig before tests.
12964 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12965 only if $(build-shared) is yes.
12966
06585ee8
L
12967 * iconv/gconv_db.c: Update copyright years.
12968
80ccd52c
LD
129692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12970
12971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12972 unwind info if defined PIC. Fix special cases description.
12973 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12974
12975 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12976 DP_HI_MASK entry.
12977 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12978
691bc9c1
L
129792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12980
3d9b46b3
L
12981 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12982
de2139a9
L
12983 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12984 is NULL.
12985
5ca78dd0
L
12986 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12987 (LDLIBS-tst-chk4): This.
12988 (LDFLAGS-tst-chk5): Renamed to ...
12989 (LDLIBS-tst-chk5): This.
12990 (LDFLAGS-tst-chk6): Renamed to ...
12991 (LDLIBS-tst-chk6): This.
12992 (LDFLAGS-tst-lfschk4): Renamed to ...
12993 (LDLIBS-tst-lfschk4): This.
12994 (LDFLAGS-tst-lfschk5): Renamed to ...
12995 (LDLIBS-tst-lfschk5): This.
12996 (LDFLAGS-tst-lfschk6): Renamed to ...
12997 (LDLIBS-tst-lfschk6): This.
12998
691bc9c1
L
12999 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13000 on $(common-objpfx)soversions.mk.
13001
65cafb1c
JM
130022012-09-07 Joseph Myers <joseph@codesourcery.com>
13003
13004 [BZ #10014]
13005 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13006 example host name.
13007
c78ab094
SP
130082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13009
13010 * malloc/arena.c (arena_get_retry): New function that gets
13011 another arena for the caller to try its request on.
13012 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13013 current arena cannot fulfill the request.
13014 (__libc_memalign): Likewise.
13015 (__libc_memalign): Likewise.
13016 (__libc_pvalloc): Likewise.
13017 (__libc_calloc): Likewise.
13018
01f49f59
JT
130192012-09-05 John Tobey <john.tobey@gmail.com>
13020
13021 [BZ #13542]
13022 * manual/arith.texi (Operations on Complex): Fix description
13023 of carg branch cut.
13024
4c23fed5
JM
130252012-09-06 Joseph Myers <joseph@codesourcery.com>
13026
1d3c8572
JM
13027 [BZ #10014]
13028 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13029 host name.
13030
4c23fed5
JM
13031 [BZ #10038]
13032 * manual/memory.texi (Memory): Make order of menu items match
13033 order of sections.
13034
04570aaa
L
130352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13038 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13039 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13040
b80af2f4
L
130412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 * csu/libc-tls.c (static_dtv): Renamed to ...
13044 (_dl_static_dtv): This. Make it global.
13045 (_dl_initial_dtv): Removed.
13046 (__libc_setup_tls): Updated.
13047 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13048 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13049 DL_INITIAL_DTV.
13050
2abe9f15
PM
130512012-09-06 Petr Machata <pmachata@redhat.com>
13052
13053 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13054 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13055 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13056 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13057
0948c3af
L
130582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13059
13060 [BZ #14545]
13061 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13062 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13063 freeing dtv[-1].
13064
a5055ad1
L
130652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13066
13067 [BZ #14544]
13068 * Makeconfig (link-static-before-libc): Replace $(+prector)
13069 with $(+prectorT).
13070 (link-static-after-libc): Replace $(+postctor) with
13071 $(+postctorT).
13072 (link-bounded): Replace $(+prector)/$(+postctor) with
13073 $(+prectorT)/$(+postctorT).
13074 (+prectorT): New macro.
13075 (+postctorT): Likewise.
13076
ed8c2ecd
JM
130772012-09-06 Joseph Myers <joseph@codesourcery.com>
13078
13079 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13080 (round_str): Handle values above the maximum for IBM long double
13081 as inexact.
13082 * stdlib/tst-strtod-round.c (tests): Regenerated.
13083
14c996c8
AK
130842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13085
13086 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13087 assembler flag.
13088 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13089 zarch_nohighgprs around the zarch optimized routines.
13090 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13091 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13093 for zarch.
13094
430d6ce6
DM
130952012-09-05 David S. Miller <davem@davemloft.net>
13096
13097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13098
ff04dda4
DM
13099 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13100 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13101 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13102 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13103 entries.
13104
24d4e01b
AO
131052012-09-05 Alexandre Oliva <aoliva@redhat.com>
13106
13107 * malloc/arena.c: Fold copyright years.
13108 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13109
61d58174
AO
131102012-09-05 Alexandre Oliva <aoliva@redhat.com>
13111
13112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13113
20196a5e
AO
131142012-09-05 Alexandre Oliva <aoliva@redhat.com>
13115
13116 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13117
5c447383
AO
131182012-09-05 Alexandre Oliva <aoliva@redhat.com>
13119
13120 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13121 change internal state upon failure.
13122
fad64255
AO
131232012-09-05 Alexandre Oliva <aoliva@redhat.com>
13124
13125 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13126 * malloc/memusage.c (mmap): Likewise.
13127 (mmap64, mremap): Likewise. Adjust name in comment.
13128
1ffb8c90
SP
131292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13130
13131 * libio/fileops.c: Fix typos in comments.
13132 * libio/oldfileops.c: Likewise.
13133 * libio/wfileops.c: Likewise.
13134
6ef9cc37
SP
131352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13136
13137 [BZ #1349]
13138 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13139 (tst-malloc-usable-ENV): Set environment for test case.
13140 * malloc/hooks.c (malloc_check_get_size): New function to get
13141 requested size.
13142 * malloc/malloc.c (musable): Use malloc_check_get_size.
13143 * malloc/tst-malloc-usable.c: New test case.
13144
4d038ae3
AS
131452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13146
13147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13148
c4e85184
AM
131492012-09-05 Allan McRae <allan@archlinux.org>
13150
b9dafc56 13151 [BZ #13966]
c4e85184
AM
13152 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13153 determine header location.
13154 * configure: Regenerated.
13155
e1343020
AS
131562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13157
13158 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13159 float format.
13160 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13161 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13162 format.
e1343020
AS
13163 (test): Regenerate.
13164
0a9f1987
DM
131652012-09-04 David S. Miller <davem@davemloft.net>
13166
13167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13170
29237804
FW
131712012-09-04 Florian Weimer <fweimer@redhat.com>
13172
13173 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13174 failures.
13175
edb3cb88
FW
13176 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13177
60160d83
JM
131782012-09-04 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #9914]
13181 * libio/iogetdelim.c: Include <limits.h>.
13182 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13183 + len + 1 would overflow.
13184
bcd6c8dc
AJ
131852012-09-03 Andreas Jaeger <aj@suse.de>
13186
13187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13188 * sysdeps/i386/fpu/libm-test-ulps: Update.
13189
4ffffbd2
LD
131902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13191
13192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13193 Add s_sinf-sse2, s_conf-sse2.
13194
13195 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13196 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13197 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13199
13200 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13201 for using routine as __sinf_ia32.
13202 Use macro for function declaration and weak_alias.
13203 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13204 for using routine as __cosf_ia32.
13205 Use macro for function declaration and weak_alias.
13206
13207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13208 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13209
13210 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13211 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13213
13214 * math/libm-test.inc (cos_test): Add more test cases.
13215 (sin_test): Likewise.
13216 (sincos_test): Likewise.
13217
511fa286
AK
132182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13219
13220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13221 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13222 hidden.
13223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13224
5f30cfec
L
132252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13226
13227 [BZ #14538]
13228 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13229 first element of the GOT.
13230 (elf_machine_load_address): Return the difference between
13231 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13232
0786794f
AM
132332012-09-01 Allan McRae <allan@archlinux.org>
13234
5f30cfec
L
13235 [BZ #13412]
13236 * configure.in (AWK): Require gawk version 3.0 or later.
13237 * configure: Regenerated.
0786794f 13238
26889eac
JM
132392012-09-01 Joseph Myers <joseph@codesourcery.com>
13240
13241 * sysdeps/unix/sysv/linux/kernel-features.h
13242 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13244 [__NR_clock_getres]: Make code unconditional.
13245 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13246 (clock_getcpuclockid): Remove code left unreachable by removal of
13247 conditionals.
13248 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13249 code unconditional.
13250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13252 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13253 Make code unconditional.
13254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13256 * sysdeps/unix/sysv/linux/clock_settime.c
13257 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13258 conditional code.
13259 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13260 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13261
d22e28b0
L
132622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13263
13264 [BZ #14476]
13265 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13266 scripts/test-installation.pl.
13267
13268 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13269 and $ld_so_version if it is set.
13270
050af9c4
SP
132712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13272
13273 [BZ #14516]
13274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13275 failure if reading from procfs failed.
13276 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13277
ad845c0b
JM
132782012-08-27 Joseph Myers <joseph@codesourcery.com>
13279
13280 * sysdeps/unix/sysv/linux/kernel-features.h
13281 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13282 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13283 Remove conditional code.
13284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13285 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13286 Remove conditional code.
13287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13288 * sysdeps/unix/sysv/linux/i386/fxstat.c
13289 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13291 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13292 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13294 * sysdeps/unix/sysv/linux/i386/lxstat.c
13295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13297 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13298 Remove conditional code.
13299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13300 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13301 Remove conditional code.
13302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13304 <kernel-features.h>.
13305 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13306 Remove.
13307 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13308 Remove conditional code.
13309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13310 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13311 Remove conditional.
13312
5dbf56af
MF
133132012-08-27 Mike Frysinger <vapier@gentoo.org>
13314
13315 [BZ #5400]
13316 * NEWS: Add fixed bug number.
13317
d6e70f43
JM
133182012-08-27 Joseph Myers <joseph@codesourcery.com>
13319
7efb4737
JM
13320 [BZ #14519]
13321 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13322 underflowing exponent in case of negative sign.
13323 * stdlib/tst-strtod-round-data: Add more tests.
13324 * stdlib/tst-strtod-round.c (tests): Regenerated.
13325
af92131a
JM
13326 [BZ #3479]
13327 * stdlib/strtod_l.c (NDIG): Remove.
13328 (HEXNDIG): Likewise.
13329 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13330 smallest representable value.
13331 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13332 lie within an exact representation of 1/2 ulp of the result.
13333 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13334 unconditionally.
13335 (TENS_P9_IDX): Define unconditionally.
13336 (TENS_P9_SIZE): Likewise.
13337 (TENS_P10_IDX): Likewise.
13338 (TENS_P10_SIZE): Likewise.
13339 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13340 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13341 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13342 entries for 10^2^13 and 10^2^14.
13343 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13344 (TENS_P13_IDX): Define.
13345 (TENS_P13_SIZE): Likewise.
13346 (TENS_P14_IDX): Likewise.
13347 (TENS_P14_SIZE): Likewise.
13348 (_fpioconst_pow10): Change array size to
13349 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13350 unconditional.
13351 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13352 1024]: Add entries for 10^2^13 and 10^2^14.
13353 [LAST_POW10 > _LAST_POW10]: Remove #error.
13354 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13355 (_fpioconst_pow10): Change array size to
13356 FPIOCONST_POW10_ARRAY_SIZE.
13357 * stdlib/gen-fpioconst.c: New file.
13358 * stdlib/gen-tst-strtod-round.c: Likewise.
13359 * stdlib/tst-strtod-round-data: Likewise.
13360 * stdlib/tst-strtod-round.c: Likewise.
13361 * stdlib/Makefile (tests): Add tst-strtod-round.
13362
d6e70f43
JM
13363 [BZ #14459]
13364 * stdlib/strtod_l.c: Include <stdint.h>.
13365 (NDEBUG): Do not define.
13366 (round_and_return): Change EXPONENT parameter to type intmax_t.
13367 Rearrange calculations to avoid internal overflow possibilities.
13368 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13369 Rearrange calculations to avoid internal overflow possibilities.
13370 Assert that number fits inside MPNSIZE limbs.
13371 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13372 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13373 calculations and add assertions to avoid internal overflow
13374 possibilities. Add casts to avoid signed/unsigned operations.
13375 * stdlib/tst-strtod-overflow.c: New file.
13376 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13377
1f529f7d
MP
133782012-08-25 Marek Polacek <polacek@redhat.com>
13379
13380 * time/time.h: Fix some typos in comments.
13381
59a629f1
RM
133822012-08-23 Roland McGrath <roland@hack.frob.com>
13383
13384 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13385 * posix/tst-rfc3484-2.c: Likewise.
13386 * posix/tst-rfc3484-3.c: Likewise.
13387
d3bafbc9
SM
133882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13389
13390 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13391 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13392
4efcc022
JM
133932012-08-23 Joseph Myers <joseph@codesourcery.com>
13394
13395 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13396 #include of fxstatat64.c.
13397
3cc3ef96
RM
133982012-08-22 Roland McGrath <roland@hack.frob.com>
13399
f04e2132
RM
13400 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13401 * shadow/getspent_r.c: Likewise.
13402 * shadow/getspnam.c: Likewise.
13403 * shadow/getspnam_r.c: Likewise.
13404 * gshadow/getsgent.c: Likewise.
13405 * gshadow/getsgent_r.c: Likewise.
13406 * gshadow/getsgnam.c: Likewise.
13407 * gshadow/getsgnam_r.c: Likewise.
13408 * inet/getnetbyad.c: Likewise.
13409 * inet/getnetbyad_r.c: Likewise.
13410 * inet/getnetbynm.c: Likewise.
13411 * inet/getnetbynm_r.c: Likewise.
13412 * inet/getnetent.c: Likewise.
13413 * inet/getnetent_r.c: Likewise.
13414 * inet/getproto.c: Likewise.
13415 * inet/getproto_r.c: Likewise.
13416 * inet/getprtent.c: Likewise.
13417 * inet/getprtent_r.c: Likewise.
13418 * inet/getprtname.c: Likewise.
13419 * inet/getprtname_r.c: Likewise.
13420 * inet/getrpcbyname.c: Likewise.
13421 * inet/getrpcbyname_r.c: Likewise.
13422 * inet/getrpcbynumber.c: Likewise.
13423 * inet/getrpcbynumber_r.c: Likewise.
13424 * inet/getrpcent.c: Likewise.
13425 * inet/getrpcent_r.c: Likewise.
13426 * inet/getaliasent.c: Likewise.
13427 * inet/getaliasent_r.c: Likewise.
13428 * inet/getaliasname.c: Likewise.
13429 * inet/getaliasname_r.c: Likewise.
13430 * nscd/getgrgid_r.c: Likewise.
13431 * nscd/getgrnam_r.c: Likewise.
13432 * nscd/gethstbyad_r.c: Likewise.
13433 * nscd/gethstbynm3_r.c: Likewise.
13434 * nscd/getpwnam_r.c: Likewise.
13435 * nscd/getpwuid_r.c: Likewise.
13436 * nscd/getsrvbynm_r.c: Likewise.
13437 * nscd/getsrvbypt_r.c: Likewise.
13438 * nscd/gai.c: Likewise.
13439
c53d909c
RM
13440 * configure.in (build_nscd): New substituted variable, set
13441 by --disable-build-nscd and defaults to $use_nscd.
13442 * configure: Regenerated.
13443 * config.make.in (build-nscd): New substituted variable.
13444 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13445 Change conditional to require [$(build-nscd) = yes] as well.
13446 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13447
3cc3ef96
RM
13448 [BZ# 13696]
13449 * configure.in (use_nscd): New substituted variable, set by
13450 --disable-nscd. If enabled, define USE_NSCD.
13451 * configure: Regenerated.
13452 * config.h.in: Add USE_NSCD.
13453 * config.make.in (use-nscd): New substituted variable.
13454 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13455 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13456 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13457 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13458 (CFLAGS-getgrnam_r.c): Likewise.
13459 (CFLAGS-initgroups.c): Likewise.
13460 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13461 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13462 Variables removed.
13463 * inet/getnetgrent_r.c
13464 (nscd_setnetgrent): New function, broken out of ...
13465 (setnetgrent): ... here. Call it.
13466 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13467 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13468 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13469 * nscd/Makefile (routines, aux): Move definitions after include of
13470 Makeconfig. Conditionalize on [$(use-nscd) != no].
13471 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13472 Conditionalize on [USE_NSCD].
13473 (is_nscd, nscd_init_cb): Likewise.
13474 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13475 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13476 * nss/nss_db/db-init.c: Likewise.
13477 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13478 [USE_NSCD].
13479 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13480 (make_request): Use it.
13481 (cache_valid_p): New function.
13482 (__check_pf): Use it.
13483 * NEWS: Add item for --disable-nscd.
13484
07e51550
DL
134852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13486
13487 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13488 to support sed >= 4.2.1-20-ga9bf076.
13489 * configure: Regenerated.
13490
35a5b08b
RM
134912012-08-22 Roland McGrath <roland@hack.frob.com>
13492
13493 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13494 Conditionalize whole body on [IREL].
13495
8479f23a
JL
134962012-08-22 Jeff Law <law@redhat.com>
13497
13498 [BZ #14505]
13499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13500 if the family is PF_UNSPEC.
13501
48da0b21
MF
135022012-08-22 Mike Frysinger <vapier@gentoo.org>
13503
13504 * Makerules (lib-version): Rename from V.
13505 (install-lib-nosubdir): Change V to lib-version.
13506
15d0da8c
WS
135072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13508
13509 [BZ #14252]
13510 * powerpc32/power6/wcschr.c: New file.
13511 * powerpc32/power6/wcscpy.c: New file.
13512 * powerpc32/power6/wcsrchr.c: New file.
13513 * powerpc64/power6/wcschr.c: New file.
13514 * powerpc64/power6/wcscpy.c: New file.
13515 * powerpc64/power6/wcsrchr.c: New file.
13516
bcca0895
MK
135172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13518
13519 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13520 (two_way_short_needle): Use it.
5a4aaa33
RM
13521 * string/strstr.c (AVAILABLE1_USES_J): Define.
13522 * string/strcasestr.c: Likewise.
99677e57
MK
13523
13524 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13525 array references.
13526 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13527
400726de
MK
13528 [BZ #11607]
13529 * NEWS: Add an entry.
13530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13531 define their defaults.
13532 (two_way_short_needle): Detect end-of-string on-the-fly.
13533 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13534 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13535 * string/bug-strcasestr1.c: New test.
13536 * string/Makefile: Run it.
13537
20a71f2c
MK
135382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13539
13540 [BZ #11607]
13541 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13542 the first character.
13543
21ad0558
RM
135442012-08-21 Roland McGrath <roland@hack.frob.com>
13545
13546 * csu/elf-init.c (__libc_csu_irel): Function removed.
13547 * csu/libc-start.c (apply_irel): New function.
13548 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13549
0e1d9911
JM
135502012-08-21 Joseph Myers <joseph@codesourcery.com>
13551
13552 * sysdeps/unix/sysv/linux/kernel-features.h
13553 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13554 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13555 <kernel-features.h>.
13556 [__NR_fadvise64_64]: Make code unconditional.
13557 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13558 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13559 !__NR_fadvise64_64)]: Likewise.
13560 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13561 !__NR_fadvise64_64))]: Likewise.
13562 [__NR_fadvise64]: Make code unconditional.
13563 [!__NR_fadvise64]: Remove conditional code.
13564 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13565 <kernel-features.h>.
13566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13567 unconditional.
13568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13569 conditional code.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13571 not include <kernel-features.h>.
13572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13573 unconditional.
13574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13575 conditional code.
13576 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13577 include <kernel-features.h>.
13578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13579 unconditional.
13580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13581 conditional code.
13582
14a50c9d
WS
135832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13584
13585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13586 slight instruction rearrangements per scrollpipe analysis.
13587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13588
c0f4faf0
RM
135892012-08-20 Roland McGrath <roland@hack.frob.com>
13590
696da859
RM
13591 * manual/syslog.texi (syslog; vsyslog, closelog):
13592 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13593 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13594
c0f4faf0
RM
13595 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13596 DSOCAPS to match condition on defining it.
13597
348363b2
JM
135982012-08-20 Joseph Myers <joseph@codesourcery.com>
13599
a35cbf28
JM
13600 * sysdeps/unix/sysv/linux/kernel-features.h
13601 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13603 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13604 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13606 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13607 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13611
445f7ecd
JM
13612 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13613 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13614
348363b2
JM
13615 * sysdeps/unix/sysv/linux/kernel-features.h
13616 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13617 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13618 unconditional.
13619 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13620 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13621 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13622 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13623 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13624 Make code unconditional.
13625 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13626 (__mmap64) [!__NR_mmap2]: Likewise.
13627 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13628 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13629 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13631 [__NR_mmap2]: Make code unconditional.
13632 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13633 (__mmap64) [!__NR_mmap2]: Likewise.
13634
bc5bc0e5
AK
136352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13636
13637 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13638
88d506de
AJ
136392012-08-18 Andreas Jaeger <aj@suse.de>
13640
13641 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13642
493387d2
MF
136432012-08-18 Mike Frysinger <vapier@gentoo.org>
13644
13645 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13646 * include/unistd.h (__have_sock_cloexec): Likewise.
13647 (__have_pipe2): Likewise.
13648 (__have_dup3): Likewise.
13649
a277af22
MF
136502012-08-18 Mike Frysinger <vapier@gentoo.org>
13651
13652 [BZ #9685]
13653 * include/unistd.h (__have_pipe2): Change define into an extern int.
13654 (__have_dup3): Likewise.
13655 * socket/have_sock_cloexec.c: Include fcntl.h.
13656 (__have_pipe2): New variable.
13657 (__have_dup3): Likewise.
13658
fdab8fd3
MF
136592012-08-17 Mike Frysinger <vapier@gentoo.org>
13660
13661 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13662
31035e80
MP
136632012-08-17 Marek Polacek <polacek@redhat.com>
13664
13665 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13666 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13667
3bd9e993
RM
136682012-08-17 Roland McGrath <roland@hack.frob.com>
13669
c91c505f
RM
13670 * configure.in: Add AC_SUBST for sysheaders.
13671 * configure: Regenerated.
13672 * config.make.in (sysheaders): New substituted variable.
13673
7c6f9d53
RM
13674 * sysdeps/unix/mkfifo.c: Moved ...
13675 * sysdeps/posix/mkfifo.c: ... here.
13676 * sysdeps/unix/mkfifoat.c: Moved ...
13677 * sysdeps/posix/mkfifoat.c: ... here.
13678
13679 * sysdeps/unix/utime.c: Moved ...
13680 * sysdeps/posix/utime.c: ... here.
13681
13682 * sysdeps/unix/time.c: Moved ...
13683 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13684 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13685 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13686
13687 * sysdeps/unix/nice.c: Moved ...
13688 * sysdeps/posix/nice.c: ... here.
13689
13690 * sysdeps/unix/alarm.c: Moved ...
13691 * sysdeps/posix/alarm.c: ... here.
13692
3bd9e993
RM
13693 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13694
d1f09384
JL
136952012-08-17 Jeff Law <law@redhat.com>
13696
13697 * intl/Makefile (codeset_mo): New variable.
13698 ($(codeset_mo)): New target.
13699 (tst-codeset.out): Depend on that. Remove explicit rule.
13700 (tst-gettext3.out, tst-gettext5.out): Likewise.
13701 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13702 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13703 * intl/tst-codeset.sh: Remove.
13704 * intl/tst-gettext3.sh: Likewise.
13705 * intl/tst-gettext5.sh: Likewise.
13706
2ae1ae5c
RM
137072012-08-17 Roland McGrath <roland@hack.frob.com>
13708
c31fdb83
RM
13709 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13710 * sysdeps/unix/syscalls.list: ... here.
13711
a0844057
RM
13712 * sysdeps/posix/getaddrinfo.c
13713 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13714 (gaiconf_init, gaiconf_reload): Use them.
13715 [!_STATBUF_ST_NSEC]
13716 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13717 Define using time_t rather than struct timespec.
13718
750c1f2a
RM
13719 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13720 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13721 Macros removed.
13722 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13723 [!NO_THREADS].
13724 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13725 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13726 Likewise.
13727
2ae1ae5c
RM
13728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13729 __libc_cleanup_push argument.
13730
e66a42f5
RM
13731 * bits/param.h: New file.
13732 * misc/sys/param.h: New file.
13733 * include/sys/param.h: New file.
13734 * misc/Makefile (headers): Add bits/param.h.
13735 * sysdeps/generic/sys/param.h: File removed.
13736 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13737 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13738 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13739 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13740
b7c08a66
RM
13741 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13742 last change.
13743
b2e1c562
RM
13744 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13745 [_IO_MTSAFE_IO].
13746 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13747 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13748 New macros.
13749
c75ccd4c
RM
13750 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13751 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13752 rather than -D_IO_MTSAFE_IO conditionally.
13753 * stdio-common/Makefile (CPPFLAGS): Likewise.
13754 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13755 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13756 Use $(libio-mtsafe).
13757 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13758 of -D_IO_MTSAFE_IO.
13759 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13760 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13761 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13762 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13763 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13764 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13765 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13766 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13767 (CFLAGS-fread_u_chk.c): Likewise.
13768 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13769 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13770 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13771 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13772 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13773 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13774 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13775 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13776 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13777
13778 * libio/Makefile: Test [$(libc-reentrant) = yes]
13779 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13780
13781 * Makeconfig
13782 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13783 * sysdeps/pthread/configure: File removed.
13784 * sysdeps/pthread/Makeconfig: New file.
13785 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13786 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13787
d9195db8
GB
137882012-08-16 Gary Benson <gbenson@redhat.com>
13789
13790 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13791 unmapping the first object in a namespace.
13792
86466cd9
RM
137932012-08-16 Roland McGrath <roland@hack.frob.com>
13794
13795 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13796 (__internal_setnetgrent): ... this. Add internal_function to
13797 definition. Add libc_hidden_def.
13798 (setnetgrent): Update caller.
13799 (internal_endnetgrent): Renamed to ...
13800 (__internal_endnetgrent): ... this. Add internal_function to
13801 definition. Add libc_hidden_def.
13802 (endnetgrent): Update caller.
13803 (internal_getnetgrent_r): Renamed to ...
13804 (__internal_getnetgrent_r): ... this. Add internal_function to
13805 definition. Add libc_hidden_def.
13806 (__getnetgrent_r): Update caller.
13807 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13808
c3c8283c
JM
138092012-08-16 Joseph Myers <joseph@codesourcery.com>
13810
13811 * stdlib/longlong.h: Update from GCC.
13812
db1ee0a8
RM
138132012-08-16 Roland McGrath <roland@hack.frob.com>
13814
13815 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13816 on _QL, which is set by umul_ppmm but never used.
13817 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13818 variables, which are set by GMP macros but never used.
13819 * stdio-common/_itowa.c (_itowa): Likewise.
13820 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13821 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13822
30f69637
CD
138232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13824
13825 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13826 struct La_sh_regs is not constant.
13827 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13828 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13829 and struct La_sparc64_regs are not constant.
13830
93a78ac4
JM
138312012-08-16 Joseph Myers <joseph@codesourcery.com>
13832
13833 * sysdeps/unix/sysv/linux/kernel-features.h
13834 (__ASSUME_POSIX_TIMERS): Remove.
13835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13837 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13838 Make code unconditional.
13839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13840 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13841 Make code unconditional.
13842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13843 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13844 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13846 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13847 Make code unconditional.
13848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13849 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13850 (__libc_missing_posix_timers): Remove.
13851
dd924cd7
RM
138522012-08-15 Roland McGrath <roland@hack.frob.com>
13853
4b4f2771
RM
13854 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13855 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13856
601c888b
RM
13857 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13858
176790a7
RM
13859 * elf/dl-sym.c: Include <stdlib.h>.
13860
329bc018
RM
13861 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13862 constants, which avoids warnings in 32-bit builds.
13863
e04e272d
RM
13864 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13865 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13866
952bf94a
RM
13867 * misc/lseek.c: File moved to ...
13868 * io/lseek.c: ... here.
13869
7c99b50a
RM
13870 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13871
dd924cd7
RM
13872 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13873 shifting LEN more than 31 bits at once.
13874
b3f479a8
LD
138752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13876
13877 [BZ #14195]
8c4ae0d4
RM
13878 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13879 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13880 * string/test-strncasecmp.c (check1): Renamed to...
13881 (bz12205): ...this.
13882 (bz14195): Add new testcase for two empty input strings and N > 0.
13883 (test_main): Call new testcase, adapt for renamed function.
13884
9c55864e
AJ
138852012-08-15 Andreas Jaeger <aj@suse.de>
13886
13887 [BZ #14090]
13888 * crypt/md5test2.c: New test, based on test supplied by Serge
13889 Belyshev <belyshev@depni.sinp.msu.ru>.
13890 * crypt/Makefile (xtests): Add md5test-giant..
13891 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13892
02dcb6c5
PE
138932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13894
13895 [BZ #14090]
13896 * crypt/md5.c (md5_process_block): Don't assume the buffer
13897 length is less than 2**32.
13898 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13899 length is less than 2**64.
13900
a3f95dcc
RM
139012012-08-15 Roland McGrath <roland@hack.frob.com>
13902
be75d758
RM
13903 * string/str-two-way.h: Include <sys/param.h>.
13904 (MAX): Macro removed.
13905
7312ca90
RM
13906 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13907 Move #define and #undef of memmove to just before and after
13908 including <string.h>.
13909
9a0a5486
RM
13910 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13911 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13912 and after including <string.h>. Move declarations of
13913 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13914 to before #include "string/memmove.c".
13915
67cc348d
RM
13916 * include/dirent.h: Declare __getdirentries.
13917
a3f95dcc
RM
13918 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13919 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13920
ca98e171
MF
139212012-08-14 Mike Frysinger <vapier@gentoo.org>
13922
13923 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13924 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13925 * sysdeps/i386/configure: Regenerated.
13926 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13927 STABS_CURRENT_FILE, and STABS_FUN.
13928 (END): Remove call to STABS_FUN_END.
13929 (STABS_CURRENT_FILE1): Delete.
13930 (STABS_CURRENT_FILE): Likewise.
13931 (STABS_FUN): Likewise.
13932 (STABS_FUN_END): Likewise.
13933 (STABS_FUN2): Likewise.
13934 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13935 * sysdeps/x86_64/configure: Regenerated.
13936
5908bf46
RM
139372012-08-14 Roland McGrath <roland@hack.frob.com>
13938
13939 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13940 * elf/dl-lookup.c: Likewise.
5908bf46 13941
f2c05b9e
JM
139422012-08-14 Joseph Myers <joseph@codesourcery.com>
13943
13944 * sysdeps/unix/sysv/linux/kernel-features.h
13945 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13946 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13947 unconditionally.
13948 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13949 unconditionally.
13950 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13951 condition on __ASSUME_CLONE_THREAD_FLAGS.
13952
e11f5155
AJ
139532012-08-14 Andreas Jaeger <aj@suse.de>
13954
13955 * sysdeps/i386/fpu/libm-test-ulps: Update.
13956
51a9ba86
MK
139572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13958
2fdd4f78
AJ
13959 * include/atomic.h (atomic_exchange_and_add): Split into ...
13960 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13961 New atomic macros.
51a9ba86 13962
ba6cba9e
MT
139632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13964
13965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13966
42443a47
JL
139672012-08-13 Jeff Law <law@redhat.com>
13968
13969 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13970 null byte in the output string.
13971
121dce05
JM
139722012-08-10 Joseph Myers <joseph@codesourcery.com>
13973
13974 * sysdeps/unix/sysv/linux/kernel-features.h
13975 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13976 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13977 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13979 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13980 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13981 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13982
bf51f568
JL
139832012-08-09 Jeff Law <law@redhat.com>
13984
13985 [BZ #13939]
13986 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13987 When avoid_arena is set, don't retry in the that arena. Pick the
13988 next one, whatever it might be.
13989 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13990 (arena_lock): Pass in new parameter to arena_get2.
13991 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13992 arena_get2.
13993 (__libc_malloc): Unify retrying after main arena failure with
13994 __libc_memalign version.
13995 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13996
f85fa270
L
139972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13998
13999 [BZ #14166]
14000 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14001 to __redirect_strstr.
14002 (__strstr_sse42): Use typeof __redirect_strstr.
14003 (__strstr_ia32): Likewise.
14004 (__libc_strstr): New prototype.
14005 (strstr): Renamed to ...
14006 (__libc_strstr): This.
14007 (strstr): New strong alias of __libc_strstr.
14008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14009 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14010 __redirect_time.
14011 Include <time.h>.
14012 (__libc_time): New prototype.
14013 (time_ifunc): Replace time with __libc_time.
14014 (time): New strong alias and hidden definition of __libc_time.
14015 (__GI_time): Remove strong alias.
14016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14017 Include <stddef.h>.
14018 (memmove): Redefined to __redirect_memmove.
14019 (__memmove_sse2): Use typeof __redirect_memmove.
14020 (__memmove_ssse3): Likewise.
14021 (__memmove_ssse3_back): Likewise.
14022 (__libc_memmove): New prototype.
14023 (memmove): Renamed to ...
14024 (__libc_memmove): This.
14025 (memmove): New strong alias of __libc_memmove.
14026
33b4a91e
MS
140272012-08-08 Mark Salter <msalter@redhat.com>
14028
14029 * elf/elf.h
14030 (R_MN10300_TLS_GD): Define.
14031 (R_MN10300_TLS_LD): Likewise.
14032 (R_MN10300_TLS_LDO): Likewise.
14033 (R_MN10300_TLS_GOTIE): Likewise.
14034 (R_MN10300_TLS_IE): Likewise.
14035 (R_MN10300_TLS_LE): Likewise.
14036 (R_MN10300_TLS_DTPMOD): Likewise.
14037 (R_MN10300_TLS_DTPOFF): Likewise.
14038 (R_MN10300_TLS_TPOFF): Likewise.
14039 (R_MN10300_SYM_DIFF): Likewise.
14040 (R_MN10300_ALIGN): Likewise.
14041 (R_MN10300_NUM): Update.
14042
b36137f1
JM
140432012-08-08 Joseph Myers <joseph@codesourcery.com>
14044
14045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14046 Remove.
14047
cdd915fd
RM
140482012-08-08 Roland McGrath <roland@hack.frob.com>
14049
a2433aac
RM
14050 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14051
cdd915fd
RM
14052 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14053 sysdeps/unix -> sysdeps/posix move.
14054 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14055
bf9b740a
AM
140562012-08-07 Allan McRae <allan@archlinux.org>
14057
14058 [BZ #14303]
14059 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14060 (SUNOS_CPP): Likewise.
14061 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14062 not found.
14063 (open_input): Call CPP using execvp.
14064
93df14ee
JM
140652012-08-07 Joseph Myers <joseph@codesourcery.com>
14066
14067 * sysdeps/unix/sysv/linux/kernel-features.h
14068 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14069 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14070 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14071 (__ASSUME_WAITID_SYSCALL): Likewise.
14072 * sysdeps/unix/sysv/linux/dl-execstack.c
14073 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14074 code unconditional.
14075 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14076 conditional code.
14077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14078 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14079 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14080 code.
14081 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14082 unconditional.
14083 [__ASSUME_WAITID_SYSCALL]: Likewise.
14084 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14085
d34689de
RM
140862012-08-07 Roland McGrath <roland@hack.frob.com>
14087
a281decc
RM
14088 * sysdeps/unix/closedir.c: Renamed to ...
14089 * sysdeps/posix/closedir.c: ... here.
14090 * sysdeps/unix/dirfd.c: Renamed to ...
14091 * sysdeps/posix/dirfd.c: ... here.
14092 * sysdeps/unix/dirstream.h: Renamed to ...
14093 * sysdeps/posix/dirstream.h: ... here.
14094 * sysdeps/unix/fdopendir.c: Renamed to ...
14095 * sysdeps/posix/fdopendir.c: ... here.
14096 * sysdeps/unix/opendir.c: Renamed to ...
14097 * sysdeps/posix/opendir.c: ... here.
14098 * sysdeps/unix/readdir.c: Renamed to ...
14099 * sysdeps/posix/readdir.c: ... here.
14100 * sysdeps/unix/readdir_r.c: Renamed to ...
14101 * sysdeps/posix/readdir_r.c: ... here.
14102 * sysdeps/unix/rewinddir.c: Renamed to ...
14103 * sysdeps/posix/rewinddir.c: ... here.
14104 * sysdeps/unix/seekdir.c: Renamed to ...
14105 * sysdeps/posix/seekdir.c: ... here.
14106 * sysdeps/unix/telldir.c: Renamed to ...
14107 * sysdeps/posix/telldir.c: ... here.
14108 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14109 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14110 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14111 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14112
22895b47
RM
14113 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14114 * bits/fcntl.h: ... here.
14115
707a53b6
RM
14116 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14117 not 0.
14118 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14119 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14120 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14121 (struct flock): Move l_start, l_len to the beginning.
14122 Use __pid_t for l_pid.
14123 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14124 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14125 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14126 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14127 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14128 [__USE_LARGEFILE64] (struct flock64): New type.
14129 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14130
f0bd3e25
RM
14131 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14132 * bits/dirent.h: ... here.
14133
d34689de
RM
14134 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14135 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14136
6dad2c06
JM
141372012-08-07 Joseph Myers <joseph@codesourcery.com>
14138
14139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14140 Change from 2.6.0 to 2.6.16.
14141 * sysdeps/unix/sysv/linux/configure: Regenerated.
14142 * sysdeps/unix/sysv/linux/kernel-features.h
14143 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14144 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14145 version.
14146 (__ASSUME_UTIMES): Likewise.
14147 (__ASSUME_CLONE_STOPPED): Remove.
14148 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14149 architectures, not kernel version.
14150 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14153 (__ASSUME_WAITID_SYSCALL): Likewise.
14154 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14155 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14156 * README: State 2.6.16 as minimum Linux kernel version. Do not
14157 refer to older versions.
14158
03af9520
RM
141592012-08-06 Roland McGrath <roland@hack.frob.com>
14160
8e49df1d
RM
14161 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14162 Define alphasort64 as an alias.
14163 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14164 Define versionsort64 as an alias.
14165 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14166 Define scandir64 as an alias.
14167 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14168 Define scandirat64 as an alias.
14169 * dirent/alphasort64.c (alphasort64):
14170 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14171 * dirent/versionsort64.c: Likewise.
14172 * dirent/scandir64.c: Likewise.
14173 * dirent/scandirat64.c: Likewise.
14174 * sysdeps/wordsize-64/alphasort.c: File removed.
14175 * sysdeps/wordsize-64/alphasort64.c: File removed.
14176 * sysdeps/wordsize-64/scandir.c: File removed.
14177 * sysdeps/wordsize-64/scandir64.c: File removed.
14178 * sysdeps/wordsize-64/scandirat.c: File removed.
14179 * sysdeps/wordsize-64/scandirat64.c: File removed.
14180 * sysdeps/wordsize-64/versionsort.c: File removed.
14181 * sysdeps/wordsize-64/versionsort64.c: File removed.
14182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14190
14191 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14193 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14195 [defined __arch64__ || defined __sparcv9]
14196 (__INO_T_MATCHES_INO64_T): New macro.
14197 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14198 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14199 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14200 * sysdeps/unix/sysv/linux/bits/dirent.h
14201 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14202 (_DIRENT_MATCHES_DIRENT64): New macro.
14203
03af9520
RM
14204 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14205 Define lockf64 as an alias.
14206 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14207 Define fseeko64 as an alias.
14208 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14209 Define ftello64 as an alias.
14210 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14211 Define _IO_fgetpos64 and fgetpos64 as aliases.
14212 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14213 Define _IO_fsetpos64 and fsetpos64 as aliases.
14214 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14215 Conditionalize body on this.
14216 * libio/fseeko64.c: Likewise.
14217 * libio/ftello64.c: Likewise.
14218 * libio/iofgetpos64.c: Likewise.
14219 * libio/iofsetpos64.c: Likewise.
14220 * sysdeps/wordsize-64/lockf.c: File removed.
14221 * sysdeps/wordsize-64/lockf64.c: File removed.
14222 * sysdeps/wordsize-64/fseeko.c: File removed.
14223 * sysdeps/wordsize-64/fseeko64.c: File removed.
14224 * sysdeps/wordsize-64/ftello.c: File removed.
14225 * sysdeps/wordsize-64/ftello64.c: File removed.
14226 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14227 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14228 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14229 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14240
14241 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14243 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14245 [defined __arch64__ || defined __sparcv9]
14246 (__OFF_T_MATCHES_OFF64_T): New macro.
14247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14248 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14250 (__OFF_T_MATCHES_OFF64_T): New macro.
14251
c5757acd
L
142522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14253
14254 * stdlib/secure-getenv.c (__secure_getenv): Replace
14255 GLIBC_2_16 with GLIBC_2_17.
14256
3a31811e
L
142572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14258
14259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14261
faa2bccb
DM
142622012-08-03 David S. Miller <davem@davemloft.net>
14263
14264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14265
85fe1997
JM
142662012-08-03 Joseph Myers <joseph@codesourcery.com>
14267
14268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14269 Remove.
14270 (__ASSUME_CORRECT_SI_PID): Likewise.
14271 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14272 (__ASSUME_TMPFS_NAME): Likewise.
14273 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14274 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14275 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14276 (HAVE_AUX_SECURE): Make definition unconditional.
14277 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14278 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14279
4f75b7a0
RM
142802012-08-03 Roland McGrath <roland@hack.frob.com>
14281
14282 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14283 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14284 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14286 __eloop_threshold instead of SYMLOOP_MAX.
14287
14288 * sysdeps/generic/eloop-threshold.h: New file.
14289 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14290 of MAXSYMLINKS.
14291 * elf/chroot_canon.c (chroot_canon): Likewise.
14292
7aab07e4
JM
142932012-08-03 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #13717]
14296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14297 Change to 2.6.0 everywhere.
14298 * sysdeps/unix/sysv/linux/configure: Regenerated.
14299 * sysdeps/unix/sysv/linux/kernel-features.h
14300 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14301 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14302 kernel versions.
14303 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14304 (__ASSUME_FUTEX_REQUEUE): Remove.
14305 (__ASSUME_STATFS64): Define unconditionally.
14306 (__ASSUME_AT_SECURE): Likewise.
14307 (__ASSUME_CORRECT_SI_PID): Likewise.
14308 (__ASSUME_TGKILL): Define without depending on kernel version for
14309 i386.
14310 (__ASSUME_UTIMES): Likewise.
14311 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14312 kernel version.
14313 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14314 (__ASSUME_TMPFS_NAME): Likewise.
14315 * README: Update reference to Linux kernel versions.
14316
b67e9372
MP
143172012-08-02 Marek Polacek <polacek@redhat.com>
14318
1f529f7d 14319 [BZ# 14150]
b67e9372
MP
14320 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14321 libc_cv_asm_type_prefix with %.
14322 * configure: Regenerated.
d2441631
RM
14323 * include/libc-symbols.h: Remove comment about
14324 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14325 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14326 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14327 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14328 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14329 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14330 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14332 * elf/tst-unique2mod1.c: Likewise.
14333 * elf/tst-unique1mod2.c: Likewise.
14334 * elf/tst-unique1mod1.c: Likewise.
14335 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14336 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14337 Replace ASM_TYPE_DIRECTIVE with .type.
14338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14339 * sysdeps/i386/sysdep.h: Likewise.
14340 * sysdeps/x86_64/sysdep.h: Likewise.
14341 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14343 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14344 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14345 * sysdeps/powerpc/powerpc32/sysdep.h:
14346 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14349 * sysdeps/i386/fpu/e_powf.S: Likewise.
14350 * sysdeps/i386/fpu/e_expl.S: Likewise.
14351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14353 * sysdeps/i386/fpu/e_pow.S: Likewise.
14354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14358 * sysdeps/i386/fpu/e_log2.S: Likewise.
14359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14361 * sysdeps/i386/fpu/e_powl.S: Likewise.
14362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14364 * sysdeps/i386/fpu/e_logl.S: Likewise.
14365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14366 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14367 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14368 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14370 * sysdeps/i386/fpu/e_log.S: Likewise.
14371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14372 * sysdeps/i386/fpu/e_logf.S: Likewise.
14373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14374 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14376 * sysdeps/i386/fpu/e_log10.S: Likewise.
14377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14384 * sysdeps/i386/i686/strtok.S: Likewise.
14385 * sysdeps/i386/i386-mcount.S: Likewise.
14386 * sysdeps/i386/strtok.S: Likewise.
14387 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14396 * sysdeps/x86_64/_mcount.S: Likewise.
14397 * sysdeps/x86_64/strtok.S: Likewise.
14398 * sysdeps/sh/_mcount.S: Likewise.
14399
2747bf9a
RM
144002012-08-01 Roland McGrath <roland@hack.frob.com>
14401
14402 * libio/iofopen.c: Include <fcntl.h>.
14403 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14404 (_IO_fopen64, fopen64): Define as aliases.
14405 * libio/iofopen64.c: Include <fcntl.h>.
14406 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14407 Conditionalize body on this.
14408 * sysdeps/wordsize-64/iofopen.c: File removed.
14409 * sysdeps/wordsize-64/iofopen64.c: File removed.
14410
3fb791b8
MP
144112012-08-01 Marek Polacek <polacek@redhat.com>
14412
14413 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14414 Use dlfcn directly instead of a variable.
14415 (binfmt-subdir): Do not define.
14416 (dlfcn): Likewise.
14417
a9f1039f
JM
144182012-08-01 Joseph Myers <joseph@codesourcery.com>
14419
23bddc06
JM
14420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14421 Remove all definitions.
14422 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14423 <kernel-features.h>.
14424 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14425 (miss_F_GETOWN_EX): Remove all definitions.
14426 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14427 macro definition.
14428 [!__ASSUME_FCNTL64]: Remove conditional code.
14429 [__ASSUME_FCNTL64]: Make code unconditional.
14430 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14431 <kernel-features.h>.
14432 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14433 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14434 (lockf64) [__NR_fcntl64]: Make code unconditional.
14435 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14436
a9f1039f
JM
14437 * sysdeps/unix/sysv/linux/kernel-features.h
14438 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14439 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14440 Make code unconditional.
14441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14444 [__NR_vfork]: Make code unconditional.
14445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14448 [__NR_vfork]: Make code unconditional.
14449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14451
09c0ee5f
RM
144522012-08-01 Roland McGrath <roland@hack.frob.com>
14453
48aec5b9
RM
14454 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14455 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14456
cd97c966
RM
14457 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14458 Define mkstemp64 as an alias.
3f55550c
RM
14459 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14460 Define mkstemps64 as an alias.
cd97c966
RM
14461 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14462 Define mkostemp64 as an alias.
b8625cfc
RM
14463 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14464 Define mkostemps64 as an alias.
cd97c966
RM
14465 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14466 Conditionalize body on this.
14467 * misc/mkostemp64.c: Likewise.
b8625cfc 14468 * misc/mkostemps64.c: Likewise.
3f55550c 14469 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14470 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14471 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14472 * sysdeps/wordsize-64/mkostemp.c: File removed.
14473 * sysdeps/wordsize-64/mkstemp.c: File removed.
14474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14478
09c0ee5f
RM
14479 [BZ #14138]
14480 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14482 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14483 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14484
14485 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14486 compat_symbol macros from <shlib-compat.h> rather than the underlying
14487 default_symbol_version and symbol_version macros, so that DEFAULT
14488 lines in shlib-versions are respected.
14489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14490
7e66ee51
FW
144912012-08-01 Florian Weimer <fweimer@redhat.com>
14492
14493 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14494 Declare with warn_unused_result.
14495 (setgid, setregid, setegid, setresgid): Likewise.
14496 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14497 Likewise.
14498 * WUR-REPORT: Remove set*id functions.
14499
d2a54255
PT
145002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14501
14502 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14503
7ecdb005
RM
145042012-07-31 Roland McGrath <roland@hack.frob.com>
14505
b4180a5e 14506 [BZ #10191]
789bd351
RM
14507 * include/sys/socket.h (__libc_accept, __libc_accept4):
14508 Add attribute_hidden.
14509 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14510
40ce302d
RM
14511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14512 use of PTR_MANGLE.
14513 * inet/getnetgrent_r.c (setup): Likewise.
14514
7ecdb005
RM
14515 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14516
e2eabb2c
DM
145172012-07-31 David S. Miller <davem@davemloft.net>
14518
14519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14520
d0419dbf
JM
145212012-07-31 Joseph Myers <joseph@codesourcery.com>
14522
14523 [BZ #13629]
14524 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14525 value between 1.0 and 2.0 and smaller part has absolute value less
14526 than 1.0.
14527 * math/s_clog10.c (__clog10): Likewise.
14528 * math/s_clog10f.c (__clog10f): Likewise.
14529 * math/s_clog10l.c (__clog10l): Likewise.
14530 * math/s_clogf.c (__clogf): Likewise.
14531 * math/s_clogl.c (__clogl): Likewise.
14532 * math/libm-test.inc (clog_test): Add more tests.
14533 (clog10_test): Likewise.
14534 * sysdeps/i386/fpu/libm-test-ulps: Update.
14535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14536
2bc13872
FW
145372012-07-31 Florian Weimer <fweimer@redhat.com>
14538
14539 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14540 Exit with zero in case no suitable GID is found, and write a
14541 message to standard error.
14542
bea9b193
RM
145432012-07-30 Roland McGrath <roland@hack.frob.com>
14544
14545 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14546 rather than to 1.
14547 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14548 (MAXPATHLEN): Removed.
14549 (NOGROUP, NODEV): New macros.
14550 (setbit, clrbit, isset, isclr): New macros.
14551 (howmany, roundup, powerof2): New macros.
14552 (DEV_BSIZE): New macro.
14553
14554 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14555 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14556
14557 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14558 definition on [!__NO_LONG_DOUBLE_MATH].
14559
14560 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14561 PTR_MANGLE and PTR_DEMANGLE.
14562
14563 * socket/accept4.c (accept4): Rename to __libc_accept4.
14564 Define accept4 as a weak alias.
14565
14566 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14567 on [_DIRENT_HAVE_D_TYPE].
14568 * io/ftw.c (ftw_dir): Likewise.
14569
14570 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14571
14572 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14573
14574 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14575 Use the BSD numbers rather than the arbitrary ones we had.
14576 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14577 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14578 (SIGXCPU, SIGXFSZ): New macros.
14579 (_NSIG): Now 32.
14580
14581 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14582 initializer on [_LIBC_REENTRANT].
14583
14584 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14585 definitions inside [_POSIX_MAPPED_FILES].
14586
14587 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14588
14589 * dirent/opendir.c: Include <fcntl.h>.
14590
14591 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14592 (__libc_getspecific): Likewise.
14593 (__libc_key_create): Likewise.
14594
14595 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14596 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14597 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14598 (tmpfile64): Define as alias.
14599 * sysdeps/wordsize-64/tmpfile.c: File removed.
14600 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14603
14604 * stdio-common/vfscanf.c: Include <stdbool.h>.
14605 * nss/makedb.c: Likewise.
14606 * stdio-common/_i18n_number.h: Likewise.
14607 * argp/argp-help.c: Likewise.
14608 * posix/wordexp.c: Likewise.
14609 * sysdeps/posix/spawni.c: Likewise.
14610 * nss/nss_files/files-initgroups.c: Likewise.
14611 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14612 * nss/nss_files/files-initgroups.c: Likewise.
14613 * nss/nss_db/db-netgrp.c: Likewise.
14614 * nss/nss_db/db-initgroups.c: Likewise.
14615 * io/fchmodat.c: Include <sys/stat.h>.
14616
14617 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14618 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14619
14620 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14621 [HAVE_MMAP].
14622
14623 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14624 Add multiple inclusion protection.
14625
e5abc686
DM
146262012-07-27 David S. Miller <davem@davemloft.net>
14627
14628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14629
815e6fa3
GB
146302012-07-27 Gary Benson <gbenson@redhat.com>
14631
14632 [BZ #14298]
14633 * elf/rtld.c: Include <stap-probe.h>.
14634 (dl_main): Added static probes "init_start" and "init_complete".
14635 * elf/dl-load.c: Include <stap-probe.h>.
14636 (lose): Take new parameter "nsid".
14637 Added static probe "map_failed".
14638 (_dl_map_object_from_fd): Pass namespace id to lose.
14639 Added static probe "map_start".
14640 (open_verify): Pass namespace id to lose.
14641 * elf/dl-open.c: Include <stap-probe.h>.
14642 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14643 and "reloc_complete".
14644 * elf/dl-close.c: Include <stap-probe.h>.
14645 (_dl_close_worker): Added static probes "unmap_start" and
14646 "unmap_complete".
14647 * elf/rtld-debugger-interface.txt: New file documenting the above.
14648
9f98c16c
RM
146492012-07-26 Roland McGrath <roland@hack.frob.com>
14650
14651 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14652 rather than a string variable.
14653 * sunrpc/rpc_main.c (h_output): Likewise.
14654 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14655
f3c22df3
PT
146562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14657
14658 * inet/check_native.c: New file.
14659
3129cfc6
JM
146602012-07-26 Joseph Myers <joseph@codesourcery.com>
14661
da865e95
JM
14662 [BZ #13629]
14663 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14664 if larger part has absolute value 1.0.
14665 * math/s_clog10.c (__clog10): Likewise.
14666 * math/s_clog10f.c (__clog10f): Likewise.
14667 * math/s_clog10l.c (__clog10l): Likewise.
14668 * math/s_clogf.c (__clogf): Likewise.
14669 * math/s_clogl.c (__clogl): Likewise.
14670 * math/libm-test.inc (clog_test): Add more tests.
14671 (clog10_test): Likewise.
14672 * sysdeps/i386/fpu/libm-test-ulps: Update.
14673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14674
3129cfc6
JM
14675 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14676 (pltexit): Likewise.
14677 (La_regs): Likewise.
14678 (La_retval): Likewise.
14679 (int_retval): Likewise.
14680 Update #error for removed macros to refer only to definitions in
14681 tst-audit.h.
14682 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14683 macro.
14684 (pltexit): Likewise.
14685 (La_regs): Likewise.
14686 (La_retval): Likewise.
14687 (int_retval): Likewise.
14688 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14689 macro.
14690 (pltexit): Likewise.
14691 (La_regs): Likewise.
14692 (La_retval): Likewise.
14693 (int_retval): Likewise.
14694 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14695 macro.
14696 (pltexit): Likewise.
14697 (La_regs): Likewise.
14698 (La_retval): Likewise.
14699 (int_retval): Likewise.
14700 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14701 macro.
14702 (pltexit): Likewise.
14703 (La_regs): Likewise.
14704 (La_retval): Likewise.
14705 (int_retval): Likewise.
14706 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14707 macro.
14708 (pltexit): Likewise.
14709 (La_regs): Likewise.
14710 (La_retval): Likewise.
14711 (int_retval): Likewise.
14712 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14713 macro.
14714 (pltexit): Likewise.
14715 (La_regs): Likewise.
14716 (La_retval): Likewise.
14717 (int_retval): Likewise.
14718 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14719 macro definitions in tst-audit.h.
14720 * sysdeps/i386/tst-audit.h: New file.
14721 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14722 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14723 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14724 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14725 * sysdeps/sh/tst-audit.h: Likewise.
14726 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14727 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14728 * sysdeps/x86_64/tst-audit.h: Likewise.
14729
bfc07087
AJ
147302012-07-26 Andreas Jaeger <aj@suse.de>
14731
b1b2aaf8
AJ
14732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14733 ptrace.
14734
14735 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14736 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14737 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14738 PTRACE_O_MASK.
14739 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14740 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14742
bfc07087
AJ
14743 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14744 value.
14745
14746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14747 _sigsys.
14748 (si_call_addr, si_syscall, si_arch): Define new macro.
14749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14750 _sigsys.
14751 (si_call_addr, si_syscall, si_arch): Define new marcro.
14752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14753 _sigsys.
14754 (si_call_addr, si_syscall, si_arch): Define new macro.
14755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14756 _sigsys.
14757 (si_call_addr, si_syscall, si_arch): Define new macro.
14758
89b4b02f
JM
147592012-07-25 Joseph Myers <joseph@codesourcery.com>
14760
14761 [BZ #13717]
14762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14763 Change to 2.4.21 where previously 2.4.1.
14764 * sysdeps/unix/sysv/linux/configure: Regenerated.
14765 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14766 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14767 Linux kernel version.
14768 (__ASSUME_STD_AUXV): Remove.
14769 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14770 kernel version.
14771 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14772 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14773 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14774 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14775 (__ASSUME_NETLINK_SUPPORT): Likewise.
14776 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14777 (__no_netlink_support): Remove conditional definition.
14778 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14779 Remove.
14780 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14781 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14783 (if_nameindex_ioctl): Remove.
14784 (if_nameindex_netlink): Do not handle __no_netlink_support.
14785 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14786 code.
14787 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14788 Remove conditional code.
14789 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14790 code.
14791 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14792 unconditional.
14793 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14794 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14795 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14796 Remove.
14797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14798 [!__ASSUME_STD_AUXV]: Remove conditional code.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14800 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14801 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14805 code.
14806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14809 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14810 conditional code.
14811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14814 code.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14817 conditional code.
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14819 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14820 code unconditional.
14821 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14822 conditional code.
14823 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14824 unconditional.
14825 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14826 conditional code.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14828 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14829 unconditional.
14830 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14831 conditional code.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14833 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14834 code unconditional.
14835 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14836 conditional code.
14837 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14838 unconditional.
14839 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14840 conditional code.
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14842 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14843 code unconditional.
14844 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14845 conditional code.
14846 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14847 unconditional.
14848 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14849 conditional code.
14850
842a39cd
AS
148512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14852
14853 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14856 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14857 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14860 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14861 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14862 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14863 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14864 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14865 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14869 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14871 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14876
84b3fd84
FW
148772012-07-25 Florian Weimer <fweimer@redhat.com>
14878
14879 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14880 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14881 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14882 Introduce __libc_secure_getenv.
0c7936d5
FW
14883 * stdlib/Versions (2.17): Add secure_getenv
14884 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14885 * stdlib/secure-getenv.c: Rename __secure_getenv to
14886 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14887 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14888 * stdlib/tst-secure-getenv.c: New.
14889 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14890 * manual/startup.texi (Environment Access): Document
14891 secure_getenv.
84b3fd84
FW
14892 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14893 __libc_secure_getenv.
14894 * inet/ruserpass.c (ruserpass): Likewise.
14895 * malloc/mtrace.c (mtrace): Likewise.
14896 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14897 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14898 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14899 * sysdeps/posix/tempname.c: Likewise. Evaluate
14900 HAVE_SECURE_GETENV.
14901 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14902 __secure_getenv to __libc_secure_getenv.
84b3fd84 14903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14905 Likewise.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14907 Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14915
56e49b71
JM
149162012-07-25 Joseph Myers <joseph@codesourcery.com>
14917
14918 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14919 (struct La_i86_retval): Likewise.
14920 (struct La_x86_64_regs): Likewise.
14921 (struct La_x86_64_retval): Likewise.
14922 (struct La_x32_regs): Likewise.
14923 (struct La_x32_retval): Likewise.
14924 (struct La_ppc32_regs): Likewise.
14925 (struct La_ppc32_retval): Likewise.
14926 (struct La_ppc64_regs): Likewise.
14927 (struct La_ppc64_retval): Likewise.
14928 (struct La_sh_regs): Likewise.
14929 (struct La_sh_retval): Likewise.
14930 (struct La_s390_32_regs): Likewise.
14931 (struct La_s390_32_retval): Likewise.
14932 (struct La_s390_64_regs): Likewise.
14933 (struct La_s390_64_retval): Likewise.
14934 (struct La_sparc32_regs): Likewise.
14935 (struct La_sparc32_retval): Likewise.
14936 (struct La_sparc64_regs): Likewise.
14937 (struct La_sparc64_retval): Likewise.
14938 (struct audit_ifaces): Remove architecture-specific pltenter and
14939 pltexit members.
14940 * sysdeps/i386/ldsodefs.h: New file.
14941 * sysdeps/powerpc/ldsodefs.h: Likewise.
14942 * sysdeps/s390/ldsodefs.h: Likewise.
14943 * sysdeps/sh/ldsodefs.h: Likewise.
14944 * sysdeps/sparc/ldsodefs.h: Likewise.
14945 * sysdeps/x86_64/ldsodefs.h: Likewise.
14946
354691b7
MP
149472012-07-25 Marek Polacek <polacek@redhat.com>
14948
14949 [BZ #6808]
14950 * math/libm-test.inc (yn_test): Add another test.
14951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14952 to ERANGE when the result is +-Inf.
14953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14957
bf9e2071
JM
149582012-07-24 Joseph Myers <joseph@codesourcery.com>
14959
14960 * conform/data/time.h-data (NULL): Use macro-constant. Require
14961 equal to 0.
14962 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14963 clock_t.
14964 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14965
57633811
TS
149662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14967
14968 * configure.in <sysdeps resolving>: Correct printing
14969 Implies_before.
14970 * configure: Regenerate.
14971
c23c33b0
TS
149722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14973
14974 * math/w_ilogb.c: Include <limits.h>.
14975 * math/w_ilogbl.c: Likewise.
14976
b5982523
JM
149772012-07-20 Joseph Myers <joseph@codesourcery.com>
14978
14979 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14980 va_copy. Document allowing for unavailable va_copy only as
14981 pre-C99 compatibility.
14982 * manual/string.texi (Copying and Concatenation): Use va_copy
14983 instead of __va_copy in concat example.
14984
ac4ea442
PT
149852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14986
14987 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14988 (__sendto): Use create_address_port. Initialize APORT and deallocate
14989 it if not null.
14990
f98eafbd
PT
14991 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14992 with O_NOLINK passed to __file_name_lookup.
14993
898c7aab
PT
14994 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14995 with O_NOLINK passed to __file_name_lookup.
14996
0ced335a
PT
14997 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14998 negative N or less than NGIDS.
14999
b3404dbd
PT
15000 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15001 type to string_t. Set ERANGE as errno and return it if NAME is not big
15002 enough. Use memcpy instead of strncpy.
15003
0f48659e
JM
150042012-07-20 Joseph Myers <joseph@codesourcery.com>
15005
15006 * elf/Makefile (check-data): Remove.
15007 (localplt.data): New vpath directive.
15008 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15009 instead of $(check-data).
15010 * scripts/data/localplt-generic.data: Move to ...
15011 * sysdeps/generic/localplt.data: ... here.
15012 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15013 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15014 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15016 ... here.
15017 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15019 ... here.
15020 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15022 ... here.
15023 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15025 ... here.
15026 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15028 ... here.
15029 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15031 ... here.
15032
d37cbdaa
AZ
150332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15034
15035 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15036 PPC32 and PPC64 files.
15037 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15038 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15039
46f85fc2
AK
150402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15041
15042 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15043 __makecontext_ret to ...
15044 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15045 ... here and call exit if uc_link is NULL. New file.
15046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15047 __makecontext_ret.S.
15048 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15049 __makecontext_ret to ...
15050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15051 ... here and call exit if uc_link is NULL. New file.
15052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15053 __makecontext_ret.S.
15054
08f43f9b
AK
150552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15056
15057 * elf/elf.h (R_390_IRELATIVE): New definition.
15058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15059 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15060 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15062 (elf_machine_lazy_rel): Likewise.
15063 * sysdeps/s390/dl-irel.h: New file.
15064 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15065 * sysdeps/s390/s390-64/memset.S: New asm code.
15066 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15067 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15069 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15070 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15071 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15073 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15074 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15075 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15076 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15077 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15078 * sysdeps/s390/s390-32/memset.S: New asm code.
15079 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15080
3b05db33
MP
150812012-07-17 Marek Polacek <polacek@redhat.com>
15082
15083 [BZ #14349]
15084 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15085 * sysdeps/s390/s390-64/configure.in: Likewise.
15086 * sysdeps/sparc/configure.in: Likewise.
15087 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15088 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15089 * sysdeps/i386/configure.in: Likewise.
15090 * sysdeps/x86_64/configure.in: Likewise.
15091 * sysdeps/sh/configure.in: Likewise.
15092 * sysdeps/s390/s390-32/configure: Regenerated.
15093 * sysdeps/s390/s390-64/configure: Likewise.
15094 * sysdeps/x86_64/configure: Likewise.
15095 * sysdeps/sh/configure: Likewise.
15096 * sysdeps/powerpc/powerpc64/configure: Likewise.
15097 * sysdeps/powerpc/powerpc32/configure: Likewise.
15098 * sysdeps/sparc/configure: Likwise.
15099 * sysdeps/i386/configure: Likewise.
15100
a66877c6
MP
15101 * elf/dl-open.c: Comment fixes.
15102
cfc82fd8
JM
151032012-07-17 Joseph Myers <joseph@codesourcery.com>
15104
bd29910a
JM
15105 * Makefile [CXX] (check-data): Remove.
15106 [CXX] (c++-types.data): New vpath directive.
15107 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15108 vpath. Do not allow for C++ type data being missing.
15109 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15110 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15111 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15112 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15113 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15115 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15117 ... here.
15118 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15120 ... here.
15121 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15123 ... here.
15124 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15126 ... here.
15127 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15129 ... here.
15130 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15132 ... here.
15133 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15135 ... here.
15136 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15138
cfc82fd8
JM
15139 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15140 definitions to architecture-specific files.
15141 (TLS_IE): Likewise.
15142 (TLS_LD): Likewise.
15143 (TLS_GD): Likewise.
15144 * sysdeps/i386/tls-macros.h: New file.
15145 * sysdeps/powerpc/tls-macros.h: Likewise.
15146 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15147 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15148 * sysdeps/sh/tls-macros.h: Likewise.
15149 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15150 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15151 * sysdeps/x86_64/tls-macros.h: Likewise.
15152
f7db3170
TS
151532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15154
07cbfc23
TS
15155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15156 zero value for regular exit case.
15157
f7db3170
TS
15158 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15159 (__start_context): Preserve zero value for regular exit case.
15160
dc97c227
TS
151612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15163
15164 * manual/setjmp.texi (setcontext): Clarify normal process
15165 termination when uc_link is the null pointer.
15166 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15167 exit call.
15168
d0cd7d02
AS
151692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15170
15171 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15172 preprocessor. Test for each exception mask separately.
15173
dd318934
AJ
151742012-07-16 Andreas Jaeger <aj@suse.de>
15175
15176 * po/ru.po: Update from translation team.
15177
8048311a
JM
151782012-07-15 Joseph Myers <joseph@codesourcery.com>
15179
15180 * conform/data/string.h-data (NULL): Use macro-constant. Require
15181 equal to 0.
15182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15184 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15185 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15187
b637d46e
AJ
151882012-07-13 Andreas Jaeger <aj@suse.de>
15189
15190 * po/fr.po: Update from translation team.
15191
541428fe
MP
151922012-07-12 Marek Polacek <polacek@redhat.com>
15193
15194 [BZ #14173]
15195 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15197 loop condition.
15198
ec332e94
JM
151992012-07-12 Joseph Myers <joseph@codesourcery.com>
15200
15201 [BZ #13717]
15202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15203 Change to 2.4.1 where previously 2.4.0.
15204 * sysdeps/unix/sysv/linux/configure: Regenerated.
15205 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15206 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15207 version.
15208 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15209 (__ASSUME_AT_CLKTCK): Remove.
15210 (__ASSUME_AT_PAGESIZE): Likewise.
15211 (__ASSUME_AT_XID): Likewise.
15212 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15213 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15214 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15215 unconditionally.
15216 (HAVE_AUX_PAGESIZE): Likewise.
15217 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15218 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15219 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15220
7b6e99be
JB
152212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15222
15223 [BZ #14307]
15224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15225 the temporary buffer used to invoke __gethostbyname2_r,
15226 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15227 host_data / struct gaih_addrtuple.
15228 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15229 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15230 header file nss/nsswitch.h.
15231 * nss/nsswitch.h (global scope): Add definition of implementation
15232 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15233 resolv/nss_dns/dns-host.c).
15234
608404eb
AJ
152352012-07-11 Andreas Jaeger <aj@suse.de>
15236
15237 * po/fr.po: Update from translation team.
15238
71220aca
AJ
15239 * po/sv.po: Update from translation team
15240 * po/fr.po: Another update from translation team.
15241
28cfe843
AZ
152422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15243
15244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15245 for subnormals or multiply small sinh result by itself.
15246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15248
6b90f981
DM
152492012-07-11 David S. Miller <davem@davemloft.net>
15250
15251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15252
c6825772
AS
152532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15254
15255 [BZ #14347]
15256 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15257 (INTERNAL_MARK): Shift it here.
15258
7b8e0d49
MP
152592012-07-10 Marek Polacek <polacek@redhat.com>
15260
15261 [BZ #14151]
15262 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15263 libc_cv_asm_global_directive with .globl.
15264 * configure: Regenerated.
15265 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15266 with .globl.
15267 * sysdeps/i386/configure: Regenerated.
15268 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15269 with .globl.
15270 * sysdeps/x86_64/configure: Regenerated.
15271 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15272 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15273 * elf/tst-unique2mod2.c: Likewise.
15274 * elf/tst-unique2mod1.c: Likewise.
15275 * elf/tst-unique1mod2.c: Likewise.
15276 * elf/tst-unique1mod1.c: Likewise.
15277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15281 * sysdeps/mach/sysdep.h: Likewise.
15282 * sysdeps/i386/sysdep.h: Likewise.
15283 * sysdeps/i386/i386-mcount.S: Likewise.
15284 * sysdeps/x86_64/_mcount.S: Likewise.
15285 * sysdeps/x86_64/sysdep.h: Likewise.
15286 * sysdeps/sh/_mcount.S: Likewise.
15287 * sysdeps/sh/sysdep.h: Likewise.
15288 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15289 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15290 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15292 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15293 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15294 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15295 * locale/localeinfo.h: Likewise.
15296 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15297 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15298
6c55cda3
RM
152992012-07-09 Roland McGrath <roland@hack.frob.com>
15300
15301 [BZ #14336]
15302 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15303 system".
15304 * manual/message.texi (The Uniforum approach): Likewise.
15305 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15306 (glibc iconv Implementation): Likewise.
15307
638a572e
JM
153082012-07-09 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #14337]
15311 * math/s_clog.c (__clog): Avoid scaling a value down where that
15312 could result in underflow.
15313 * math/s_clog10.c (__clog10): Likewise.
15314 * math/s_clog10f.c (__clog10f): Likewise.
15315 * math/s_clog10l.c (__clog10l): Likewise.
15316 * math/s_clogf.c (__clogf): Likewise.
15317 * math/s_clogl.c (__clogl): Likewise.
15318 * math/libm-test.inc (clog_test): Add more tests.
15319 (clog10_test): Likewise.
15320 * sysdeps/i386/fpu/libm-test-ulps: Update.
15321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15322
261f4859
AS
153232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15324
0abaf3e4
AS
15325 [BZ #14283]
15326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15327 by 7 not 8 to examine high bit of fractional part.
15328
261f4859
AS
15329 [BZ #14042]
15330 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15331 for call to __mcount_internal.
15332 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15333 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15334 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15335
f17ac40d
JM
153362012-07-06 Joseph Myers <joseph@codesourcery.com>
15337
9ad63c23
JM
15338 [BZ #14154]
15339 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15340 approximation for values within 0x1p-13f of an odd multiple of
15341 pi/4.
15342 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15343 exception. Add more tests.
15344 * sysdeps/i386/fpu/libm-test-ulps: Update.
15345
f17ac40d
JM
15346 [BZ #6778]
15347 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15348 inputs and return -1 for them. Do not check for +Inf in case not
15349 reachable for +Inf.
15350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15351 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15353 and return -1 for them. Do not check for +Inf in case not
15354 reachable for +Inf.
15355 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15356 define.
15357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15358 and return -1 for them. Do not check for +Inf in case not
15359 reachable for +Inf.
15360 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15361 spurious underflow.
15362 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364
fb21f89b
MF
153652012-07-06 Mike Frysinger <vapier@gentoo.org>
15366
15367 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15368
cdfe2c5e
JM
153692012-07-05 Joseph Myers <joseph@codesourcery.com>
15370
15371 [BZ #14157]
15372 [BZ #14331]
15373 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15374 could result in spurious underflow. Scale down values above
15375 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15376 * math/s_csqrtf.c (__csqrtf): Likewise.
15377 * math/s_csqrtl.c (__csqrtl): Likewise.
15378 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15379 spurious underflow.
15380 * sysdeps/i386/fpu/libm-test-ulps: Update.
15381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15382
70d35b67
AS
153832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15384
704bc459
AS
15385 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15386 xopen-msg.sed.
15387 * catgets/xopen-msg.awk: New file.
15388 * catgets/xopen-msg.sed: Removed.
15389
70d35b67
AS
15390 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15391 po2text.sed.
15392 * intl/po2test.awk: New file.
15393 * intl/po2test.sed: Removed.
15394
ca61cf32
JM
153952012-07-04 Joseph Myers <joseph@codesourcery.com>
15396
15397 [BZ #14328]
15398 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15399 or multiply small sinh result by itself.
15400 * math/s_ctanf.c (__ctanf): Likewise.
15401 * math/s_ctanh.c (__ctanh): Likewise.
15402 * math/s_ctanhf.c (__ctanhf): Likewise.
15403 * math/s_ctanhl.c (__ctanhl): Likewise.
15404 * math/s_ctanl.c (__ctanl): Likewise.
15405 * math/libm-test.inc (ctan_test_tonearest): New function.
15406 (ctan_test_towardzero): Likewise.
15407 (ctan_test_downward): Likewise.
15408 (ctan_test_upward): Likewise.
15409 (ctanh_test_tonearest): Likewise.
15410 (ctanh_test_towardzero): Likewise.
15411 (ctanh_test_downward): Likewise.
15412 (ctanh_test_upward): Likewise.
15413 (main): Call these new functions.
15414 * sysdeps/i386/fpu/libm-test-ulps: Update.
15415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15416
ca48a46a
MF
154172012-07-03 Mike Frysinger <vapier@gentoo.org>
15418
15419 * .gitignore: Delete /ports entry.
15420
9d63d37d
AJ
154212012-07-03 Andreas Jaeger <aj@suse.de>
15422
15423 * po/bg.po: Update from translation team.
15424 * po/cs.po: Likewise.
15425 * po/de.po: Likewise.
15426 * po/hr.po: Likewise.
15427 * po/nl.pl: Likewise.
15428 * po/pl.po: Likewise.
15429 * po/vi.po: Likewise.
15430
370ca3d2
JM
154312012-07-03 Joseph Myers <joseph@codesourcery.com>
15432
95f5a9a8
JM
15433 * Makeconfig [!+link] (+link-before-libc): New variable.
15434 [!+link] (+link-after-libc): Likewise.
15435 [!+link] (+link-tests): Likewise.
15436 [!+link] (+link): Define in terms of $(+link-before-libc) and
15437 $(+link-after-libc).
15438 [!+link-static] (+link-static-before-libc): New variable.
15439 [!+link-static] (+link-static-after-libc): Likewise.
15440 [!+link-static] (+link-static-tests): Likewise.
15441 [!+link-static] (+link-static): Define in terms of
15442 $(+link-static-before-libc) and $(+link-static-after-libc).
15443 [build-shared] (link-libc-before-gnulib): New variable.
15444 [build-shared] (link-libc-tests): Likewise.
15445 [build-shared] (link-libc): Define in terms of
15446 $(link-libc-before-gnulib).
15447 [!build-shared] (link-libc-tests): New variable.
15448 (link-libc-static-tests): New variable.
15449 [!gnulib] (gnulib-arch): New variable.
15450 [!gnulib] (gnulib-tests): Likewise.
15451 [!gnulib] (static-gnulib-arch): Likewise.
15452 [!gnulib] (static-gnulib-tests): Likewise.
15453 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15454 Define with "=" instead of ":=".
15455 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15456 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15457 * Rules (binaries-all-notests): New variable.
15458 (binaries-all-tests): Likewise.
15459 (binaries-static-notests): Likewise.
15460 (binaries-static-tests): Likewise.
15461 (binaries-all): Define using $(binaries-all-notests) and
15462 $(binaries-all-tests).
15463 (binaries-static): Define using $(binaries-static-notests) and
15464 $(binaries-static-tests).
15465 (binaries-shared-tests): New variable.
15466 (binaries-shared-notests): Likewise.
15467 (binaries-shared): Remove variable.
15468 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15469 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15470 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15471 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15472 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15473 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15474 * elf/Makefile (sln-modules): New variable.
15475 (extra-objs): Add $(sln-modules:=.o).
15476 (ldconfig-modules): Add static-stubs.
15477 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15478 * elf/static-stubs.c: New file.
15479
7a845b2c
JM
15480 [BZ #14283]
15481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15482 by 7 not 8 to examine high bit of fractional part. Use volatile
15483 variables when splitting into final array of floats if
15484 __FLT_EVAL_METHOD__ != 0.
15485 * math/libm-test.inc (cos_test): Add another test.
15486 (sin_test): Likewise.
15487 * sysdeps/i386/fpu/libm-test-ulps: Update.
15488
e2283f38
JM
15489 [BZ #14273]
15490 * math/libm-test.inc (cosh_test): Add more tests.
15491
370ca3d2
JM
15492 * version.h (RELEASE): Set to "development".
15493 (VERSION): Set to "2.16.90".
15494
ee9247c3
CD
154952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15496
15497 * NEWS: Update copyright. Remove last-updated date.
15498 Mention math library bug fixes and timezone data changes.
15499 * README: Mention GNU/Hurd, x32, and HPPA support status.
15500
4648c381
TS
155012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15502
15503 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15504
aac78a43
AJ
155052012-06-27 Andreas Jaeger <aj@suse.de>
15506
15507 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15508
ed3dbfad
AJ
155092012-06-25 Andreas Jaeger <aj@suse.de>
15510
15511 * sysdeps/s390/fpu/libm-test-ulps: Update.
15512
4d0ee855
AS
155132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15514 Thomas Schwinge <thomas@codesourcery.com>
15515
15516 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15517 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15519 fanotify_mark.
15520
af1bce34
TS
155212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15522
a9fa33ba
TS
15523 * sysdeps/mach/start.c: Remove file.
15524 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15525 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15526 * sysdeps/sh/init-first.c: Likewise.
15527
58f902b8
TS
15528 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15529 registers for frame unwinding purposes, add CFI directives.
15530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15532 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15533 Likewise.
15534
1518f58b
TS
15535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15536 __fortify_fail returning.
15537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15538
db9b5059
TS
15539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15540 sysdeps/sh/____longjmp_chk.S.
15541 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15542 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15543 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15544 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15545
967705fe
TS
15546 * sysdeps/sh/abort-instr.h: New file.
15547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15548 process in case exit returns.
15549
a9def8c4
TS
15550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15551 initialize the GOT register before use.
15552
2a649725
TS
15553 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15554 calculation of ARGC > 4.
15555
af1bce34
TS
15556 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15557 meaningful names to some local labels.
15558
d230f50a
KK
155592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15560 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15561
15562 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15563 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15564 (__arch_compare_and_exchange_val_16_acq): Likewise.
15565 (__arch_compare_and_exchange_val_32_acq): Likewise.
15566 (atomic_exchange_and_add): Fix gUSA sequence.
15567 (atomic_add): Likewise.
15568 (atomic_add_negative): Likewise.
15569 (atomic_add_zero): Likewise.
15570 (atomic_bit_test_set): Likewise.
15571
0479b305
AS
155722012-06-22 Andreas Schwab <schwab@redhat.com>
15573
15574 [BZ #13579]
15575 * include/link.h (struct link_map): Add l_free_initfini.
15576 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15577 l_initfini.
15578 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15579 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15580 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15581 set.
15582
0e3933b9
CD
155832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15584
15585 * configure.in: Use AC_LANG_SOURCE.
15586 * configure: Regenerate.
15587
4248b1b1
RM
155882012-06-22 Roland McGrath <roland@hack.frob.com>
15589
15590 * configure.in (libc_cv_localstatedir): New substituted variable.
15591 * configure: Regenerated.
15592 * config.make.in (localstatedir): New variable, substituted from
15593 libc_cv_localstatedir.
15594 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15595 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15596 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15597 * sysdeps/gnu/configure: Regenerated.
15598
006dd861
JL
155992012-06-21 Jeff Law <law@redhat.com>
15600
15601 [BZ #14277]
15602 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15603 free. Simplify list management for _LIBC case.
15604
79662d42
JM
156052012-06-21 Joseph Myers <joseph@codesourcery.com>
15606
b7abb4bf
JM
15607 [BZ #14273]
15608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15609 Clear sign bit of 64-bit integer value before comparing against
15610 overflow value.
15611
79662d42
JM
15612 * sysdeps/mach/configure: Regenerated.
15613
1f150908
L
156142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15615
15616 [BZ #14278]
15617 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15618
28363bbf
JL
156192012-06-21 Jeff Law <law@redhat.com>
15620
15621 [BZ #13882]
15622 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15623 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15625 * elf/dl-open.c (dl_open_worker): Likewise.
15626
09615db4
CD
156272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15628
15629 * scripts/list-sources.sh: Scan PORTS for translations.
15630 * po/libc.pot: Regenerated.
15631
2174c6dd
AJ
156322012-06-21 Andreas Jaeger <aj@suse.de>
15633
15634 [BZ #12194]
15635 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15636 warning.
15637 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15638 * bits/byteswap-16.h (__bswap_16): Likewise.
15639 * bits/byteswap.h (__bswap_constant_16): Likewise.
15640
3ee947b1
L
156412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15642
15643 [BZ #14117]
a2f34833
L
15644 * sysdeps/i386/fpu_control.h: Removed.
15645 * sysdeps/x86_64/fpu_control.h: Moved to ...
15646 * sysdeps/x86/fpu_control.h: Here.
15647
3ee947b1
L
15648 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15649 (_FPU_SETCW): Likewise.
15650
ed1825f8
L
156512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15652
25f1282a
L
15653 [BZ #14117]
15654 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15655 * sysdeps/x86/fpu/bits/mathinline.h: This.
15656 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15657
ed1825f8
L
15658 [BZ #14050]
15659 [BZ #14117]
15660 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15661 functions if __x86_64__ is defined.
15662
36d54b74
CLT
156632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15664
15665 * string/endian.h: Add !__ASSEMBLER__ condition for including
15666 conversion interfaces.
15667
10285c21
JM
156682012-06-15 Joseph Myers <joseph@codesourcery.com>
15669
15670 [BZ #14241]
15671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15672 of ABS(x) in calculating zero to negative powers other than odd
15673 integers.
15674 * math/libm-test.inc (pow_test): Add more tests.
15675
06c5abbd
AJ
156762012-06-15 Andreas Jaeger <aj@suse.de>
15677
15678 * manual/contrib.texi (Contributors): Update entry of Liubov
15679 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15680 Machado Filho.
15681
a3aeac40
CH
156822012-06-15 Cyril Hrubis <metan@ucw.cz>
15683
15684 * string/string.h: Add __wur to GNU version of strerror_r.
15685
49bdf4c1
L
156862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15687
15688 [BZ #14229]
15689 * string/Makefile (tests): Add tst-strtok_r.
15690 * string/tst-strtok_r.c: New file.
15691 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15692 RAX_LP/RDX_LP on SAVE_PTR.
15693
834f9b8d
RM
156942012-06-14 Roland McGrath <roland@hack.frob.com>
15695
15696 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15697
75fa1921
JM
156982012-06-14 Joseph Myers <joseph@codesourcery.com>
15699
15700 * libm_test.inc (csqrt_test): Allow more spurious underflow
15701 exceptions.
15702 (j0_test): Likewise.
15703 (j1_test): Likewise.
15704 (y0_test): Likewise.
15705 (y1_test): Likewise.
15706
771766df
CD
157072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15708
15709 * po/Makefile (libc.pot): Use UTF-8 charset.
15710
ceb9e56b
PP
157112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15712
15713 [BZ #14210]
15714 Suppress sign-conversion warning from FD_SET.
15715 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15716 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15717 not unsigned long int.
15718 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15719
ddb28975
L
157202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15721
15722 [BZ #14050]
15723 [BZ #14117]
15724 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15725 __extern_always_inline instead of __extern_inline.
15726 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15727 (__signbit): Likewise.
15728 (__signbitl): Support C++ namespace.
15729 (lrintf): New inline function.
15730 (lrint): Likewise.
15731 (llrintf): Likewise.
15732 (llrint): Likewise.
15733 (fmaxf): Likewise.
15734 (fmax): Likewise.
15735 (fminf): Likewise.
15736 (fmin): Likewise.
15737 (rint): Likewise.
15738 (rintf): Likewise.
15739 (ceil): Likewise.
15740 (ceilf): Likewise.
15741 (floor): Likewise.
15742 (floorf): Likewise.
15743 (nearbyint): Likewise.
15744 (nearbyintf): Likewise.
15745
d7b4fb26
TS
157462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15747
15748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15749 non-default versions.
15750
eb55f5c2
RM
157512012-06-11 Roland McGrath <roland@hack.frob.com>
15752
15753 [BZ #14218]
15754 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15755
366af02c
TS
157562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15757
99ff6e5c
TS
15758 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15759 (FE_UPWARD, FE_DOWNWARD): Don't define.
15760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15762
366af02c
TS
15763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15764 reading it.
15765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15767
793ea851
KK
157682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15769
15770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15772 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15774
a728a38f
L
157752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15776
15777 [BZ #14117]
c08010c7
L
15778 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15779 * sysdeps/i386/fpu/Implies: New file.
15780 * sysdeps/x86_64/fpu/Implies: Likewise.
15781 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15782 * sysdeps/x86/fpu/bits/fenv.h: This.
15783
a728a38f
L
15784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15785 __SSE_MATH__.
15786
6e230d11
SP
157872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15788
15789 [BZ #14134]
15790 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15791 character 0xffff that matches the last element of the
15792 conversion table.
15793
1b671feb
AZ
157942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795
15796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15797 fmodl commit.
15798
6043738b
AZ
157992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15800
15801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15802 values higher than 25.6283.
15803
34ae0b32
AZ
158042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15805
15806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15807 subnormal exponent extraction and add some __builtin_expect.
15808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15809 Fix for subnormal mantissa calculation.
15810
1214ec8f
MF
158112012-06-04 Mike Frysinger <vapier@gentoo.org>
15812
15813 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15814 cpu2 is -1 and errno is not ENOSYS.
15815
f3d1f93c
L
158162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15817
15818 [BZ #14117]
0e4a3cd7
L
15819 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15820 * sysdeps/x86/bits/string.h: This.
15821 * sysdeps/x86_64/bits/string.h: Removed.
15822
6704c645
L
15823 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15824 if not compiling for x86-64, but compiling for >= i486.
15825
48495318
L
15826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15827 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15828
14adcbfc
L
15829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15830 New macro from Linux kernel 3.4.0.
15831 (FP_XSTATE_MAGIC2): Likewise.
15832 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15833 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15834 (struct _fpx_sw_bytes): New struct.
15835 (struct _xsave_hdr): Likewise.
15836 (struct _ymmh_state): Likewise.
15837 (struct _xstate): Likewise.
15838
68e408ab
L
15839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15840 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15842 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15844 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15845
f3d1f93c
L
15846 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15848 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15849 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15850 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15851 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15852
d9dc34cd
TMQMF
158532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15854
15855 [BZ #13743]
15856 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15857 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15858 (sysdep_headers): Include sys/platform/ppc.h.
15859 * sysdeps/powerpc/test-gettimebase.c: Test for
15860 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15861 * manual/Makefile (appendices): Include platform.texi.
15862 * manual/contrib.texi (Contributors): Update @node pointers.
15863 * manual/maint.texi (Maintenance): Likewise.
15864 (Platform): New node.
15865 * manual/platform.texi: New file. Document the new features.
15866
4af3879c
SP
158672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15868 Jakub Jelinek <jakub@redhat.com>
15869
15870 [BZ #14188]
15871 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15872 where __builtin_expect is unavailable.
15873
2fd6ff13
DM
158742012-06-03 David S. Miller <davem@davemloft.net>
15875
15876 * stdlib/longlong.h: Updated from GCC.
15877
173f7220
AS
158782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15879
15880 [BZ #14042]
15881 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15882 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15883 __mcount_internal.
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15885 (GLIBC_2.16): Likewise.
15886
f34a1c6f
L
158872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15888
15889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15890
88a4576f
JM
158912012-06-01 Joseph Myers <joseph@codesourcery.com>
15892
ea32bcdd
JM
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15894 (default-abi): New variable.
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15896 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15897 variable.
15898 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15899 Likewise.
15900 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15901 Likewise.
15902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15903 Likewise.
15904
88a4576f
JM
15905 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15906 definition. Document in comment.
15907
402fe938
DM
159082012-06-01 David S. Miller <davem@davemloft.net>
15909
15910 * stdlib/longlong.h: Updated from GCC.
15911
3553723f
L
159122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15913
15914 [BZ #14117]
3bd872c4
L
15915 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15916 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15917 sys/debugreg.h sys/io.h here.
15918 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15919 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15920 sys/io.h.
15921 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15922 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15924 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15926 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15927
3553723f
L
15928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15929 Define only if __x86_64__ is defined.
15930
4842e4fe
JM
159312012-06-01 Joseph Myers <joseph@codesourcery.com>
15932
c5bfe3d5
JM
15933 [BZ #14048]
15934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15935 Use int64_t for variable i.
15936 * math/libm-test.inc (fmod_test): Add more tests.
15937
4842e4fe
JM
15938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15939 z computation is not scheduled after fetestexcept.
15940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15941 Use math_force_eval instead of asm to ensure calculation scheduled
15942 before exception test.
15943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15944 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15945
efb73488
AJ
159462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15947
15948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15949 computation is not scheduled after fetestexcept.
15950
29bcce7c
L
159512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15952
15953 [BZ #14117]
15954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15956
73a68f94
AZ
159572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958
15959 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15961
67b6df78
L
159622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15963
edf2933a 15964 [BZ #14117]
ebc64a18
L
15965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15966 <bits/wordsize.h>.
15967 (__WCHAR_MIN): Support __WORDSIZE == 64.
15968 (__WCHAR_MAX): Likewise.
15969
edf2933a
L
15970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15972
57c6cf40
L
15973 [BZ #14183]
15974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15975 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15976
67b6df78 15977 [BZ #14117]
8eb6281e
L
15978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15980
aac639f4
L
15981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15982 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15983
67b6df78
L
15984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15985 Defined to 1 if __x86_64__ isn't defined.
15986 (_STAT_VER_LINUX_OLD): New.
15987 (st_atime): Remove duplicate.
15988 (st_mtime): Likewise.
15989 (st_ctime): Likewise.
15990
1c2cfe81
DM
159912012-05-31 David S. Miller <davem@davemloft.net>
15992
15993 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15994 entries.
15995
5be8418c
AS
159962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15997
e7725326
AS
15998 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15999 gen-libm-test.pl.
16000
5be8418c
AS
16001 [BZ #14132]
16002 * elf/dl-reloc.c: Include <_itoa.h>.
16003 (_dl_reloc_bad_type): Remove use of INTUSE.
16004 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16005 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16006 * stdio-common/psiginfo.c (psiginfo): Likewise.
16007 * stdio-common/psignal.c (psignal): Likewise.
16008 * string/strsignal.c (strsignal): Likewise.
16009 * include/signal.h (_sys_siglist): Declare hidden proto.
16010 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16011 INTVARDEF with libc_hidden_data_def.
16012 * stdio-common/itoa-udigits.c: Likewise.
16013 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16014 (_itoa_lower_digits_internal): Remove declaration.
16015 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16016 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16017 (_sys_sigabbrev_internal): Remove aliases.
16018 (_sys_siglist): Define hidden alias.
16019
507352f1
MT
160202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16021
16022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16023 bits/sysctl.h.
16024
42bbb1c3
L
160252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16026
16027 [BZ #14117]
6bd784b6
L
16028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16029 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16030
8bca20f0
L
16031 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16033 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16034 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16036 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16037
f9e890a9
L
16038 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16040 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16041
471101a1
L
16042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16043 with __addr.
16044 (insw): Likewise.
16045 (insl): Likewise.
16046 (outsb): Likewise.
16047 (outsw): Likewise.
16048 (outsl): Likewise.
16049
6451c862
L
16050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16053
a254b8c9
L
16054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16055 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16059 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16060
b8dfdd92
L
16061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16062 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16063
578cd270
L
16064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16065 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16066
de662f5f
L
16067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16070
25653439
L
16071 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16072 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16073 to ...
16074 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16075
6bad24a0
L
16076 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16078 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16079
42bbb1c3
L
16080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16081 for x86-64.
16082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16083
2d10d547
JM
160842012-05-31 Joseph Myers <joseph@codesourcery.com>
16085
16086 * math/math.h (M_El): Use two more decimal places.
16087 (M_LOG2El): Likewise.
16088 (M_LOG10El): Likewise.
16089 (M_LN2l): Likewise.
16090 (M_LN10l): Likewise.
16091 (M_PIl): Likewise.
16092 (M_PI_2l): Likewise.
16093 (M_PI_4l): Likewise.
16094 (M_1_PIl): Likewise.
16095 (M_2_PIl): Likewise.
16096 (M_2_SQRTPIl): Likewise.
16097 (M_SQRT2l): Likewise.
16098 (M_SQRT1_2l): Likewise.
16099
f230c29b
DM
161002012-05-31 David S. Miller <davem@davemloft.net>
16101
16102 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16103 values between float registers.
16104 * sysdeps/sparc/sparc64/memset.S: Likewise.
16105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16106
fed806c3
MF
161072012-05-31 Mike Frysinger <vapier@gentoo.org>
16108
16109 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16110 -D_FORTIFY_SOURCE=1.
16111 (CPPFLAGS-tst-longjmp_chk.c): Define.
16112 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16113 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16114 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16115 CFLAGS-tst-wchar-h.c.
16116
30917259
MP
161172012-05-31 Marek Polacek <polacek@redhat.com>
16118
16119 [BZ #14132]
16120 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16121 __endmntent_internal): Remove declaration.
16122 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16123 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16124 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16125
1c58d5dc
DM
161262012-05-30 David S. Miller <davem@davemloft.net>
16127
16128 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16129 (___Q_simulate_exceptions): Use real FP ops rather than writing
16130 into the %fsr.
16131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16132 Likewise.
16133
7dc00e0d
L
161342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16135
16136 [BZ #14117]
0bd53985
L
16137 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16138 * sysdeps/x86/bits/xtitypes.h: This.
16139
3a257e66
L
16140 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16141 * sysdeps/x86/bits/wordsize.h: This.
16142
62f62904
L
16143 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16144 * sysdeps/x86/bits/huge_vall.h: This.
16145
404fe9d9
L
16146 * sysdeps/i386/bits/select.h: Removed.
16147 * sysdeps/x86_64/bits/select.h: Renamed to ...
16148 * sysdeps/x86/bits/select.h: This.
16149
d48d0446
L
16150 * sysdeps/i386/bits/setjmp.h: Removed.
16151 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16152 * sysdeps/x86/bits/setjmp.h: This.
16153
7dc00e0d
L
16154 * sysdeps/i386/bits/mathdef.h: Removed.
16155 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16156 * sysdeps/x86/bits/mathdef.h: This.
16157
03277f8f
AS
161582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16159
16160 [BZ #14132]
16161 * include/sys/socket.h (__connect_internal)
16162 (__libc_sa_len_internal): Remove declaration.
16163 (__connect, __libc_sa_len): Declare hidden_proto.
16164 (SA_LEN): Remove use of INTUSE.
16165 * socket/connect.c: Add libc_hidden_def.
16166 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16167 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16168 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16169 alias.
16170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16172 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16173 of adding _internal alias.
16174
13764867
L
161752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16176
16177 [BZ #14117]
6bd97696
L
16178 * sysdeps/i386/bits/link.h: Removed.
16179 * sysdeps/i386/bits/linkmap.h: Likewise.
16180 * sysdeps/x86_64/bits/link.h: Renamed to ...
16181 * sysdeps/x86/bits/link.h: This.
16182 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16183 * sysdeps/x86/bits/linkmap.h: This.
16184
f726f0bb
L
16185 * sysdeps/i386/bits/endian.h: Removed.
16186 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16187 * sysdeps/x86/bits/endian.h: This.
16188
13764867
L
16189 * sysdeps/i386/bits/byteswap.h: Removed.
16190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16191 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16192 * sysdeps/x86/bits/byteswap.h: This.
16193 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16194 * sysdeps/x86/bits/byteswap-16.h: This.
16195 * sysdeps/i386/Implies: Add x86.
16196 * sysdeps/x86_64/Implies: Likewise.
16197
ae251b0b
DM
161982012-05-30 David S. Miller <davem@davemloft.net>
16199
16200 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16201 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16203 (FP_TRAPPING_EXCEPTIONS): Define.
16204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16205 (FP_TRAPPING_EXCEPTIONS): Define.
16206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16207 subnormals only when inexact has been signalled or underflow
16208 exceptions are enabled.
16209 (_FP_PACK_CANONICAL): Likewise.
16210
d5c90867
L
162112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16212
16213 [BZ #14183]
16214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16215 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16216
63f1549e
RH
162172012-05-30 Richard Henderson <rth@twiddle.net>
16218
8d8f2279
RH
16219 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16220 with #ifndef NOT_IN_libc.
16221
63f1549e
RH
16222 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16223 marked to avoid plt entry.
16224
0ab0291b
L
162252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 [BZ #14112]
16228 * Makeconfig (default-abi): New macro.
16229 (abi-includes): Likewise.
16230 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16231 $(abi-$(default-abi)-lib-soname) for soname if defined.
16232 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16233 abi-variants.
16234 * Makefile (installed-stubs): Likewise.
16235 * include/stubs-biarch.h: Removed.
16236 * scripts/lib-names.awk: Only handle one library at a time.
16237 * scripts/soversions.awk: Remove WORDSIZE support.
16238 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16239 entries.
16240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16241 Removed.
16242 (syscall-list-default-condition): Likewise.
16243 (syscall-list-default-condition): Likewise.
16244 (syscall-list-includes): Likewise.
16245 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16246 syscall-list-* with abi-*. Handle undefined abi-variants.
16247 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16248 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16249 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16250 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16251 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16252 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16253 Removed.
16254 (syscall-list-32-options): Likewise.
16255 (syscall-list-32-condition): Likewise.
16256 (syscall-list-64-options): Likewise.
16257 (syscall-list-64-condition): Likewise.
16258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16259 macro.
16260 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16261 Renamed to ...
16262 (abi-*): This.
16263 (abi-64-ld-soname): New macro.
16264 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16265 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16266 Renamed to ...
16267 (abi-*): This.
16268 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16269 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16270
4da0431d
JM
162712012-05-30 Joseph Myers <joseph@codesourcery.com>
16272
3a85279c
JM
16273 * sysdeps/unix/sysv/linux/kernel-features.h
16274 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16275 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16276 include <kernel-features.h>.
16277 [!__NR_ftruncate64]: Remove conditional code.
16278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16279 [__NR_ftruncate64]: Make code unconditional.
16280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16281 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16282 include <kernel-features.h>.
16283 [!__NR_ftruncate64]: Remove conditional code.
16284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16285 [__NR_ftruncate64]: Make code unconditional.
16286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16288 include <kernel-features.h>.
16289 [!__NR_ftruncate64]: Remove conditional code.
16290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16291 [__NR_ftruncate64]: Make code unconditional.
16292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16294 include <kernel-features.h>.
16295 [!__NR_ftruncate64]: Remove conditional code.
16296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16297 [__NR_ftruncate64]: Make code unconditional.
16298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16299
4da0431d
JM
16300 * configure.in (libc_cv_fpie): Weaken to a compile test using
16301 LIBC_TRY_CC_OPTION.
16302 * configure: Regenerated.
16303
11ef492c
AK
163042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16305
16306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16310 Refreshed.
16311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16317 Refreshed.
16318
d66ef399
DM
163192012-05-27 David S. Miller <davem@davemloft.net>
16320
16321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16322 (___Q_zero): New.
16323 (__Q_simulate_exceptions): Return void. Change to simulate
16324 exceptions by writing into the %fsr.
16325 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16326 (__Qp_handle_exceptions): Likewise.
16327 (numbers): Delete.
16328 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16329 __Qp_handle_exceptions.
16330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16331 __Qp_handle_exceptions.
16332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16333 as unused and give dummy FP_RND_NEAREST initializer.
16334 (FP_INHIBIT_RESULTS): Define.
16335 (___Q_simulate_exceptions): Update declaration.
16336 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16337 formatting.
16338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16339 as unused and give dummy FP_RND_NEAREST initializer.
16340 (__Qp_handle_exceptions): Update declaration.
16341 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16342 formatting.
16343
04fb54b5
TS
163442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16345
16346 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16347 the temporary FPU control word.
16348 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16349 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16354 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16357 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16359
3f99608f
KK
163602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16361
16362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16363 fields.
16364
65a4de4e
CLT
163652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16366
16367 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16368 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16369 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16370 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16371 Likewise.
16372 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16373 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16374 Likewise.
16375
15749d40
UD
163762012-05-27 Ulrich Drepper <drepper@gmail.com>
16377
16378 * po/h.po: Update from translation team.
16379
25dbcb27
AS
163802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16381
3d3f8e55
AS
16382 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16383
25dbcb27
AS
16384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16385 handling of denormals.
16386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16387 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16389 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16393 Likewise.
16394
7ad47a80 163952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16396
16397 [BZ #14152]
16398 * math/libm-test.inc (fma_test): Don't always expect underflow
16399 exception.
16400
9c6ea9fa
SP
164012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16402
16403 [BZ #12416]
16404 * elf/tst-execstack.c: Include stackinfo.h.
16405 (do_test): Adjust test case to ensure that pthread_getattr_np
16406 behaviour remains the same after marking stack executable.
16407
a8239222
JM
164082012-05-25 Joseph Myers <joseph@codesourcery.com>
16409
16410 * sysdeps/unix/sysv/linux/kernel-features.h
16411 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16413 kernel-features.h.
16414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16416 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16417 kernel-features.h.
16418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16420
918b5606
L
164212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16422
16423 * configure.in: Define the default includes to being none.
16424 * configure: Regenerated.
16425
3a097cc7
RM
164262012-05-25 Roland McGrath <roland@hack.frob.com>
16427
8422c9a5
RM
16428 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16429 * sysdeps/x86_64/setjmp.S: Likewise.
16430 * sysdeps/i386/bsd-setjmp.S: Likewise.
16431 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16432 * sysdeps/i386/setjmp.S: Likewise.
16433 * sysdeps/i386/__longjmp.S: Likewise.
16434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16436
3a097cc7
RM
16437 * include/stap-probe.h: New file.
16438 * configure.in: Handle --enable-systemtap.
16439 * configure: Regenerated.
16440 * config.h.in (USE_STAP_PROBE): New #undef.
16441 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16442 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16444
21708942
JM
164452012-05-25 Joseph Myers <joseph@codesourcery.com>
16446
16447 [BZ #13717]
16448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16449 to 2.4.0 where earlier.
16450 * sysdeps/unix/sysv/linux/configure: Regenerated.
16451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16452 <kernel-features.h>.
16453 [__ASSUME_32BITUIDS]: Make code unconditional.
16454 [!__ASSUME_32BITUIDS]: Remove conditional code.
16455 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16456 <kernel-features.h>.
16457 [__ASSUME_32BITUIDS]: Make code unconditional.
16458 [!__ASSUME_32BITUIDS]: Remove conditional code.
16459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16460 [__ASSUME_32BITUIDS]: Make code unconditional.
16461 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16462 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16463 <kernel-features.h>.
16464 [__ASSUME_32BITUIDS]: Make code unconditional.
16465 [!__ASSUME_32BITUIDS]: Remove conditional code.
16466 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16467 <kernel-features.h>.
16468 [__ASSUME_32BITUIDS]: Make code unconditional.
16469 [!__ASSUME_32BITUIDS]: Remove conditional code.
16470 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16471 <kernel-features.h>.
16472 [__ASSUME_32BITUIDS]: Make code unconditional.
16473 [!__ASSUME_32BITUIDS]: Remove conditional code.
16474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16475 <kernel-features.h>.
16476 [__ASSUME_32BITUIDS]: Make code unconditional.
16477 [!__ASSUME_32BITUIDS]: Remove conditional code.
16478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16479 <kernel-features.h>.
16480 [__ASSUME_32BITUIDS]: Make code unconditional.
16481 [!__ASSUME_32BITUIDS]: Remove conditional code.
16482 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16483 <kernel-features.h>.
16484 [__ASSUME_32BITUIDS]: Make code unconditional.
16485 [!__ASSUME_32BITUIDS]: Remove conditional code.
16486 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16487 <kernel-features.h>.
16488 [__ASSUME_32BITUIDS]: Make code unconditional.
16489 [!__ASSUME_32BITUIDS]: Remove conditional code.
16490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16491 <kernel-features.h>.
16492 [__ASSUME_32BITUIDS]: Make code unconditional.
16493 [!__ASSUME_32BITUIDS]: Remove conditional code.
16494 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16495 <kernel-features.h>.
16496 [__ASSUME_32BITUIDS]: Make code unconditional.
16497 [!__ASSUME_32BITUIDS]: Remove conditional code.
16498 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16499 <kernel-features.h>.
16500 [__ASSUME_32BITUIDS]: Make code unconditional.
16501 [!__ASSUME_32BITUIDS]: Remove conditional code.
16502 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16503 <kernel-features.h>.
16504 [__NR_setresgid] (__setresgid): Do not declare.
16505 [__ASSUME_32BITUIDS]: Make code unconditional.
16506 [!__ASSUME_32BITUIDS]: Remove conditional code.
16507 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16508 <kernel-features.h>.
16509 [__NR_setresuid] (__setresuid): Do not declare.
16510 [__ASSUME_32BITUIDS]: Make code unconditional.
16511 [!__ASSUME_32BITUIDS]: Remove conditional code.
16512 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
16553 (__ASSUME_SETRESUID_SYSCALL): Remove.
16554 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16555 (__ASSUME_32BITUIDS): Likewise.
16556 (__ASSUME_LDT_WORKS): Likewise.
16557 (__ASSUME_O_DIRECTORY): Likewise.
16558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16559 architecture but not kernel version.
16560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16561 (__ASSUME_MMAP2_SYSCALL): Likewise.
16562 (__ASSUME_STAT64_SYSCALL): Likewise.
16563 (__ASSUME_IPC64): Likewise.
16564 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16565 <kernel-features.h>.
16566 [__ASSUME_32BITUIDS]: Make code unconditional.
16567 [!__ASSUME_32BITUIDS]: Remove conditional code.
16568 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16569 <kernel-features.h>.
16570 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16571 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16572 132096]: Remove conditional code.
16573 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
16583 <kernel-features.h>.
16584 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16585 unconditional.
16586 (__setresgid): Do not declare.
16587 [__ASSUME_32BITUIDS]: Make code unconditional.
16588 [!__ASSUME_32BITUIDS]: Remove conditional code.
16589 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16590 <kernel-features.h>.
16591 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16592 unconditional.
16593 (__setresuid): Do not declare.
16594 [__ASSUME_32BITUIDS]: Make code unconditional.
16595 [!__ASSUME_32BITUIDS]: Remove conditional code.
16596 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16597 <kernel-features.h>.
16598 [__ASSUME_32BITUIDS]: Make code unconditional.
16599 [!__ASSUME_32BITUIDS]: Remove conditional code.
16600 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16601 <kernel-features.h>.
16602 [__ASSUME_32BITUIDS]: Make code unconditional.
16603 [!__ASSUME_32BITUIDS]: Remove conditional code.
16604
a386f1cc
RH
166052012-05-25 Richard Henderson <rth@twiddle.net>
16606
16607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16608 dl_hwcap to ifunc resolver.
16609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16610 elf_ifunc_invoke.
16611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16612 dl_hwcap to ifunc resolver.
16613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16614
b6550497
JM
166152012-05-24 Joseph Myers <joseph@codesourcery.com>
16616
16617 [BZ #14153]
16618 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16619 for |x| <= 2**-26, not 2**-57.
16620 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16621 exception.
16622
b0bc23a1
JL
166232012-05-24 Jeff Law <law@redhat.com>
16624
16625 * stdio-common/Makefile (tests): Add bug25.
16626 * stdio-common/bug25.c: New test.
16627
347c92e9
L
166282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 [BZ #13576]
16631 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16632 multiple of MALLOC_ALIGNMENT in size.
16633 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16634
6bcc8b3f
JM
166352012-05-24 Joseph Myers <joseph@codesourcery.com>
16636
16637 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16638 Require >= 256.
16639 (FILENAME_MAX): Use macro-int-constant.
16640 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16641 (_IOFBF): Use macro-int-constant.
16642 (_IOLBF): Likewise.
16643 (_IONBF): Likewise.
16644 (SEEK_CUR): Likewise.
16645 (SEEK_END): Likewise.
16646 (SEEK_SET): Likewise.
16647 (TMP_MAX): Likewise.
16648 (EOF): Use macro-int-constant. Require < 0.
16649 (NULL): Use macro-constant. Require == 0.
16650 (stdin): Require type to be FILE *.
16651 (stdout): Likewise.
16652 (stderr): Likewise.
16653 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16654 macro-int-constant.
16655 (EXIT_SUCCESS): Likewise.
16656 (NULL): Use macro-constant. Require == 0.
16657 (RAND_MAX): Use macro-int-constant.
16658 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16659 [C99-based standards] (strtof): Require function.
16660 [C99-based standards] (strtold): Likewise.
16661 [C99-based standards] (strtoll): Likewise.
16662 [C99-based standards] (strtoull): Likewise.
16663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16664 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16665 [ISO || ISO99 || ISO11] (math.h): Likewise.
16666 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16667 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16669
d18ea0c5
AS
166702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16671
16672 [BZ #14132]
56d25bb8
AS
16673 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16674 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16675 * intl/dgettext.c (DCGETTEXT): Likewise.
16676 * intl/gettext.c (DCGETTEXT): Likewise.
16677 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16678 * posix/regex_internal.h (gettext): Likewise.
16679 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16680 Remove declaration.
16681 * include/argz.h (__argz_count_internal)
16682 (__argz_stringify_internal): Remove declaration.
16683 (__argz_count, __argz_stringify): Declare hidden proto.
16684 * intl/dcgettext.c: Remove use of INTDEF.
16685 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16686 * string/argz-stringify.c: Likewise.
16687 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16688 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16689 Declare hidden proto.
d18ea0c5
AS
16690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16692 Declare hidden proto.
16693 * include/stdio.h (__asprintf_internal): Don't declare.
16694 (__asprintf): Don't define as macro. Declare hidden proto.
16695 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16696 (__fsetlocking): Declare hidden proto.
16697 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16698 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16699 hidden proto.
16700 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16701 (_IO_setlinebuf): Remove use of INTUSE.
16702 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16703 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16704 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16705 Remove declaration.
16706 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16707 (_IO_do_flush): Remove use of INTUSE.
16708 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16709 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16710 (_IO_adjust_column, _IO_least_wmarker)
16711 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16712 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16713 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16714 (_IO_default_doallocate, _IO_wdefault_doallocate)
16715 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16716 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16717 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16718 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16719 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16720 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16721 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16722 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16723 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16724 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16725 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16726 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16727 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16728 proto.
16729 (_IO_flush_all_internal, _IO_adjust_column_internal)
16730 (_IO_default_uflow_internal, _IO_default_finish_internal)
16731 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16732 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16733 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16734 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16735 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16736 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16737 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16738 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16739 (_IO_file_close_internal, _IO_file_close_it_internal)
16740 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16741 (_IO_file_init_internal, _IO_file_attach_internal)
16742 (_IO_file_fopen_internal, _IO_file_read_internal)
16743 (_IO_file_sync_internal, _IO_file_seek_internal)
16744 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16745 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16746 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16747 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16748 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16749 (_IO_list_all_internal, _IO_link_in_internal)
16750 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16751 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16752 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16753 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16754 (_IO_do_write_internal, _IO_padn_internal)
16755 (_IO_getline_info_internal, _IO_getline_internal)
16756 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16757 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16758 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16759 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16760 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16761 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16762 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16763 with libc_hidden_ver, remove use of INTUSE.
16764 * libio/genops.c: Likewise.
16765 * libio/freopen.c: Likewise.
16766 * libio/freopen64.c: Likewise.
16767 * libio/iofclose.c: Likewise.
16768 * libio/iofdopen.c: Likewise.
16769 * libio/iofflush.c: Likewise.
16770 * libio/iofflush_u.c: Likewise.
16771 * libio/iofgets.c: Likewise.
16772 * libio/iofgets_u.c: Likewise.
16773 * libio/iofopen.c: Likewise.
16774 * libio/iofopncook.c: Likewise.
16775 * libio/iofread.c: Likewise.
16776 * libio/iofread_u.c: Likewise.
16777 * libio/ioftell.c: Likewise.
16778 * libio/iofwrite.c: Likewise.
16779 * libio/iogetline.c: Likewise.
16780 * libio/iogets.c: Likewise.
16781 * libio/iogetwline.c: Likewise.
16782 * libio/iopadn.c: Likewise.
16783 * libio/iopopen.c: Likewise.
16784 * libio/ioseekoff.c: Likewise.
16785 * libio/ioseekpos.c: Likewise.
16786 * libio/iosetbuffer.c: Likewise.
16787 * libio/iosetvbuf.c: Likewise.
16788 * libio/ioungetc.c: Likewise.
16789 * libio/ioungetwc.c: Likewise.
16790 * libio/iovdprintf.c: Likewise.
16791 * libio/iovsprintf.c: Likewise.
16792 * libio/iovsscanf.c: Likewise.
16793 * libio/memstream.c: Likewise.
16794 * libio/obprintf.c: Likewise.
16795 * libio/oldfileops.c: Likewise.
16796 * libio/oldiofclose.c: Likewise.
16797 * libio/oldiofdopen.c: Likewise.
16798 * libio/oldiofopen.c: Likewise.
16799 * libio/oldiopopen.c: Likewise.
16800 * libio/oldstdfiles.c: Likewise.
16801 * libio/putc.c: Likewise.
16802 * libio/setbuf.c: Likewise.
16803 * libio/setlinebuf.c: Likewise.
16804 * libio/stdfiles.c: Likewise.
16805 * libio/strops.c: Likewise.
16806 * libio/vasprintf.c: Likewise.
16807 * libio/vscanf.c: Likewise.
16808 * libio/vsnprintf.c: Likewise.
16809 * libio/vswprintf.c: Likewise.
16810 * libio/wfiledoalloc.c: Likewise.
16811 * libio/wfileops.c: Likewise.
16812 * libio/wgenops.c: Likewise.
16813 * libio/wmemstream.c: Likewise.
16814 * libio/wstrops.c: Likewise.
16815 * libio/__fpurge.c: Likewise.
16816 * libio/__fsetlocking.c: Likewise.
16817 * assert/assert.c: Likewise.
16818 * debug/fgets_chk.c: Likewise.
16819 * debug/fgets_u_chk.c: Likewise.
16820 * debug/fread_chk.c: Likewise.
16821 * debug/fread_u_chk.c: Likewise.
16822 * debug/gets_chk.c: Likewise.
16823 * debug/obprintf_chk.c: Likewise.
16824 * debug/vasprintf_chk.c: Likewise.
16825 * debug/vdprintf_chk.c: Likewise.
16826 * debug/vsnprintf_chk.c: Likewise.
16827 * debug/vsprintf_chk.c: Likewise.
16828 * malloc/mtrace.c: Likewise.
16829 * misc/error.c: Likewise.
16830 * misc/syslog.c: Likewise.
16831 * stdio-common/asprintf.c: Likewise.
16832 * stdio-common/fxprintf.c: Likewise.
16833 * stdio-common/getw.c: Likewise.
16834 * stdio-common/isoc99_fscanf.c: Likewise.
16835 * stdio-common/isoc99_scanf.c: Likewise.
16836 * stdio-common/isoc99_vfscanf.c: Likewise.
16837 * stdio-common/isoc99_vscanf.c: Likewise.
16838 * stdio-common/isoc99_vsscanf.c: Likewise.
16839 * stdio-common/printf-prs.c: Likewise.
16840 * stdio-common/printf_fp.c: Likewise.
16841 * stdio-common/printf_fphex.c: Likewise.
16842 * stdio-common/printf_size.c: Likewise.
16843 * stdio-common/putw.c: Likewise.
16844 * stdio-common/scanf.c: Likewise.
16845 * stdio-common/sprintf.c: Likewise.
16846 * stdio-common/tmpfile.c: Likewise.
16847 * stdio-common/vfprintf.c: Likewise.
16848 * stdio-common/vfscanf.c: Likewise.
16849 * stdlib/strfmon_l.c: Likewise.
16850 * sunrpc/openchild.c: Likewise.
16851 * sunrpc/xdr_stdio.c: Likewise.
16852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16853 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16854
d6c33fda
RM
168552012-05-24 Roland McGrath <roland@hack.frob.com>
16856
c1487492
RM
16857 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16858
16859 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16860 in the third column, to generate for the shared library an IFUNC
16861 that uses _dl_vdso_vsym.
16862 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16863 * Makeconfig (object-suffixes-noshared): New variable.
16864
16865 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16866 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16867 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16868 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16869
d6c33fda
RM
16870 [BZ #14132]
16871 * include/sys/time.h (__gettimeofday): Remove macro.
16872 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16873 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16874 Remove INTDEF.
16875 (__gettimeofday): Add libc_hidden_def.
16876 (gettimeofday): Add libc_hidden_weak.
16877 * sysdeps/mach/gettimeofday.c: Likewise.
16878 * sysdeps/posix/gettimeofday.c: Likewise.
16879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16882 (__gettimeofday_internal): Remove strong_alias.
16883 (__gettimeofday): Add libc_hidden_def.
16884 (gettimeofday): Add libc_hidden_weak.
16885 * sysdeps/unix/syscalls.list (gettimeofday):
16886 Remove __gettimeofday_internal alias.
16887
b5a2bbe6
L
168882012-05-24 Daniel Jacobowitz <drow@false.org>
16889 H.J. Lu <hongjiu.lu@intel.com>
16890
16891 [BZ #12495]
16892 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16893 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16894 (largebin_index_32_big): New.
16895 (largebin_index): Use it for 16-byte alignment.
16896 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16897 correction with front_misalign.
16898
cfba4fda
L
168992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16900
7f907421
L
16901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16903 Likewise.
16904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16905 Likewise.
16906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16907 Likewise.
16908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16909 Likewise.
16910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16911 Likewise.
16912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16913 Likewise.
16914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16915 Likewise.
16916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16917 Likewise.
16918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16919 Likewise.
16920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16921 Likewise.
16922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16923 Likewise.
16924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16925 Likewise.
16926
cfba4fda
L
16927 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16928 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16929
80bad0cc
JM
169302012-05-24 Joseph Myers <joseph@codesourcery.com>
16931
7a25eb06
JM
16932 [BZ #10846]
16933 [BZ #14036]
16934 * math/libm-test.inc (exp_test): Add test from bug 14036.
16935 (pow_test): Add test from bug 10846.
16936
795405f9
JM
16937 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16938 and other flags.
16939 (special_function): Do not include flags in test name.
16940 (parse_args): Likewise.
16941 * sysdeps/i386/fpu/libm-test-ulps: Update.
16942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16946
80bad0cc
JM
16947 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16948 exceptions.
16949 * math/libm-test.inc ("Philosophy"): Update comment about
16950 exception testing.
16951 (UNDERFLOW_EXCEPTION): New macro.
16952 (UNDERFLOW_EXCEPTION_OK): Likewise.
16953 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16954 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16955 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16956 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16957 (INVALID_EXCEPTION_OK): Update value.
16958 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16959 (OVERFLOW_EXCEPTION_OK): Likewise.
16960 (IGNORE_ZERO_INF_SIGN): Likewise.
16961 (test_exceptions): Handle underflow exceptions.
16962 (acos_test): Update for underflow exception expectations.
16963 (cexp_test): Likewise.
16964 (clog_test): Likewise.
16965 (clog10_test): Likewise.
16966 (csqrt_test): Likewise.
16967 (ctan_test): Likewise.
16968 (ctanh_test): Likewise.
16969 (exp_test): Likewise.
16970 (exp10_test): Likewise.
16971 (exp2_test): Likewise.
16972 (expm1_test): Likewise.
16973 (fma_test): Likewise.
16974 (j0_test): Likewise.
16975 (jn_test): Likewise.
16976 (nexttoward_test): Likewise.
16977 (pow_test): Likewise.
16978 (scalbn_test): Likewise.
16979 (scalbln_test): Likewise.
16980 (tan_test): Likewise.
16981 (y1_test): Likewise.
16982 * sysdeps/i386/fpu/libm-test-ulps: Update.
16983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16984
9e0e3d0b
DM
169852012-05-23 David S. Miller <davem@davemloft.net>
16986
16987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16988 (__libc_sigaction): Remove unused local variables.
16989
ccd0a08f
L
169902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16991
16992 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16993
62bdf9a6
PE
169942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16995
f8591f80
PE
16996 mktime: avoid signed integer overflow
16997 * time/mktime.c (__mktime_internal): Do not mishandle the case
16998 where diff == INT_MIN.
16999
94c7d826
PE
17000 mktime: simplify computation of average
17001 * time/mktime.c (ranged_convert): Use new time_t_avg function
17002 instead of rolling our own (probably-slower) code.
17003
ce73d683
PE
17004 mktime: do not assume signed right shift propagates sign bit
17005 * time/mktime.c (isdst_differ): New static function.
17006 (__mktime_internal): No need to normalize tm_isdst now.
17007 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17008 tm_isdst values.
17009
72a22e59
PE
17010 mktime: merge another wrapv change from gnulib
17011 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17012 from some compilers.
17013
68605433
PE
17014 mktime: remove incorrect attempt at unusual arithmetics
17015 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17016 The code didn't really work on such machines anyway.
17017 (TYPE_MINIMUM): Assume two's complement.
17018 (twos_complement_arithmetic): Verify that long_int and time_t
17019 are two's complement (or unsigned, in the latter case).
17020
03cf7fe3
PE
17021 mktime: check signed shifts on long_int and time_t, too
17022 * time/mktime.c (SHR): Check that shifts work as desired
17023 on the types long_int and time_t too, as SHR is used on
17024 such types.
17025
f04dfbc2
PE
17026 mktime: do not assume 'long' is wide enough
17027 * time/mktime.c (verify): Move decl up.
17028 (long_int): New type.
17029 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17030 to remove assumption in the code that 'long' is wide enough to
17031 store year values. This assumption is not true on x32 and on
17032 some non-glibc platforms.
17033
62bdf9a6
PE
17034 mktime: merge wrapv change from gnulib
17035 * time/mktime.c (WRAPV): New macro.
17036 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17037 (guess_time_tm, __mktime_internal): Do not assume that signed
17038 integer overflow wraps around; modern compilers generate code
17039 where this assumption is no longer valid.
17040
5e292e4f
L
170412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17044 Replace "jmp L(pseudo_end)" with "ret".
17045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17046 Likewise.
17047
8caf8c87
AJ
170482012-05-23 Andreas Jaeger <aj@suse.de>
17049
17050 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17051 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17052
1a09dc56
AJ
170532012-05-23 Andreas Jaeger <aj@suse.de>
17054 Maximilian Attems <max@stro.at>
17055
17056 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17057 New macros.
17058
1c87aba0
L
170592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17060
17061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17062 code so that pseudo_end is just ret and the stack pointer is
17063 correct also for static library in error case.
17064
40e45bd5
JM
170652012-05-23 Joseph Myers <joseph@codesourcery.com>
17066
c2670533
JM
17067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17068 move to syscalls.list.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17073
40e45bd5
JM
17074 * manual/install.texi (Running make install): Do not mention Linux
17075 kernel version for which pt_chown is not needed.
17076 (Linux): Do not mention problems with nscd with 2.0 kernels.
17077 * INSTALL: Regenerated.
17078
be08eda5
AJ
170792012-05-23 Andreas Jaeger <aj@suse.de>
17080
17081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17082 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17083 macro.
17084 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17086 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17088 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17094 * sysdeps/unix/sysv/linux/bits/in.h
17095 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17096
a6a056bb
RM
170972012-05-22 Roland McGrath <roland@hack.frob.com>
17098
17099 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17100 (PREPARE_VERSION): Just use assert instead, it will be elided
17101 under [NDEBUG] anyway.
17102
c9009328
L
171032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17104
17105 * sysdeps/unix/sysv/linux/Makefile: Include
17106 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17107 (sysdep_routines): Remove sysctl.
c9009328
L
17108 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17109 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17111 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17112 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17113
73338355
AJ
171142012-05-22 Andreas Jaeger <aj@suse.de>
17115
17116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17117 that pseudo_end is just ret and the stack pointer is correct also
17118 for static library in error case.
17119
d44638b0
PP
171202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17121
17122 [BZ #14122]
17123 * nss/nsswitch.c (defconfig_entries): New variable.
17124 (__nss_database_lookup): Don't leak defconfig entries.
17125 (nss_parse_service_list): Don't leak on error paths.
17126 (free_database_entries): New function.
17127 (free_defconfig): New function.
17128 (free_mem): Move common code to free_database_entries.
17129
31a39bd8
L
171302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17131
da0331a8
L
17132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17133 Add arch_prctl.
17134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17135
31a39bd8
L
17136 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17137 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17139 New macro.
17140 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17141 (INTERNAL_SYSCALL_TYPES): Likewise.
17142 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17143 (LOAD_REGS_TYPES_[1-6]): Likewise.
17144 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17145 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17146
45470df3
AZ
171472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17148
17149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17150 copysignl for GLIBC_2_0.
17151 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17152 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17154 logbl for GLIBC_2_0.
17155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17157
98a61bcb
L
171582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17159
a4f6e481
L
17160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17162
f63d5db6
L
17163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17164 Use "neg %eax".
17165
98a61bcb
L
17166 * time/mktime.c: Update copyright years.
17167
95770f14
PE
171682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17169
6226efbd
PE
17170 mktime: merge comment-quoting-style change from gnulib
17171 * time/mktime.c: Quote 'like this' in comments.
17172 The GNU coding standards suggest that we no longer quote `like this',
17173 as "`" and "'" are typically rendered asymmetrically nowadays.
17174 The typical gnulib style is to quote 'like this' when quoting
17175 code, and "like this" when quoting English.
17176
b99e4f78
PE
17177 * time/mktime.c (compile-command): Add "-I.".
17178
643e01e6
PE
17179 mktime: merge mktime-internal.h change from gnulib
17180 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17181
2554247d
PE
17182 mktime: merge time_r change from gnulib
17183 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17184
826dd0ab
PE
17185 mktime: merge DEBUG change from gnulib
17186 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17187 case system <time.h> has a #define.
17188
bd83aabe
PE
17189 mktime: merge <sys/types.h> change from gnulib
17190 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17191 since <time.t> is now guaranteed to define time_t.
17192
95770f14
PE
17193 mktime: merge HAVE_CONFIG_H change from gnulib
17194 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17195
5e1a27a9
L
171962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17197
0e44a77e
L
17198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17199 Use "neg %eax".
17200
5e1a27a9
L
17201 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17202 __rlim_t cast.
17203 (struct rusage): Use anonymous union to pad each field to
17204 __syscall_slong_t.
17205
46259bec
DM
172062012-05-21 David S. Miller <davem@davemloft.net>
17207
17208 * Makefules (o-iterator): Remove .s cases.
17209 (compile-command.s): Delete.
17210 (COMPILE.s): Delete.
17211 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17212
59f0c22e
JM
172132012-05-21 Joseph Myers <joseph@codesourcery.com>
17214
17215 * configure.in (libc_cv_predef_stack_protector): Only consider
17216 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17217 * configure: Regenerated.
17218
20c07380
L
172192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17220
bbb3154b
L
17221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17222 New macro. Use R*LP on int and pointer.
17223 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17224 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17225 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17226 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17227
20c07380
L
17228 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17229 [__WORDSIZE_TIME64_COMPAT32] instead of
17230 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17231 (struct utmp): Likewise.
17232 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17233 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17234 Renamed to ...
17235 (__WORDSIZE_TIME64_COMPAT32): This.
17236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17237 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17238 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17239 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17241 (__WORDSIZE_TIME64_COMPAT32): New macro.
17242
d8d1017e
AJ
172432012-05-21 Andreas Jaeger <aj@suse.de>
17244
17245 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17246 only if [SHARED]. Add prototype for __wcschr_ia32.
17247
6c7fb145
RM
172482012-05-21 Roland McGrath <roland@hack.frob.com>
17249
17250 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17251 of %rbp unmolested in the jmp_buf while mangling the low bits.
17252 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17253 unmolested high bits of %rbp while demangling the low bits.
17254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17255
66274218
AJ
172562012-05-21 Andreas Jaeger <aj@suse.de>
17257
07c58f8f
AJ
17258 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17259 * sunrpc/svc_simple.c: Use it for registerrpc.
17260 * sunrpc/xcrypt.c: Use it for passwd2des.
17261
66274218
AJ
17262 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17263
61f65140
L
172642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17265
17266 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17267 Don't define if [__SYSCALL_WORDSIZE != 32].
17268 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17269 New macro.
17270
5fefb436
AJ
172712012-05-21 Bruno Haible <bruno@clisp.org>
17272 Andreas Jaeger <aj@suse.de>
17273
17274 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17275 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17276 inptr and inend for must_buffer_ch.
17277 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17278 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17279 * stdio-common/Makefile (tests): Remove bug15.
17280 (bug15-ENV): Remove macro.
17281 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17282 anymore.
17283
d8e272ab
AJ
172842012-05-19 Andreas Jaeger <aj@suse.de>
17285 Roland McGrath <roland@hack.frob.com>
17286
17287 * manual/contrib.texi: Completely rewritten. It contains now an
17288 alphabetical list of contributors and their contributions.
17289
4a56a162
RH
172902012-05-21 Richard Henderson <rth@twiddle.net>
17291
17292 * misc/getauxval.c (__getauxval): Use unsigned long int.
17293 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17294 (getauxval): Use unsigned long int.
17295
d024d23c
L
172962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17299
cbc00a03
RM
173002012-05-21 Roland McGrath <roland@hack.frob.com>
17301
17302 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17303 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17304 __alignof__ (long double).
17305
478143fa
AZ
173062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17307
17308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17309
c7683a6d
RH
173102012-05-20 Richard Henderson <rth@twiddle.net>
17311
17312 * misc/getauxval.c: New file.
17313 * misc/sys/auxv.h: New file.
17314 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17315 (routines): Add getauxval.
17316 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17318 * elf/dl-sysdep.c (_dl_auxv): Remove.
17319 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17320 * elf/dl-support.c (_dl_auxv): New variable.
17321 (_dl_aux_init): Initialize it.
17322 * manual/startup.texi (Auxiliary Vector): New node.
17323 * sysdeps/generic/bits/hwcap.h: New file.
17324 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17325 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17326 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17327 * sysdeps/sparc/sysdep.h: ... here. Include it.
17328 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17331 Update.
c7683a6d
RH
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17340
a6f1845d
AZ
173412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17342
17343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17344
cbcbe830
DM
173452012-05-19 David S. Miller <davem@davemloft.net>
17346
17347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17348
e0b16cc2
JM
173492012-05-19 Joseph Myers <joseph@codesourcery.com>
17350
17351 [BZ #14123]
17352 * math/s_ccosh.c: Include <float.h>
17353 (__ccosh): Avoid internal overflow calculating sinh and cosh
17354 values before multiplying by sin and cos values.
17355 * math/s_ccoshf.c: Likewise.
17356 * math/s_ccoshl.c: Likewise.
17357 * math/s_csin.c: Likewise.
17358 * math/s_csinf.c: Likewise.
17359 * math/s_csinl.c: Likewise.
17360 * math/s_csinh.c: Likewise.
17361 * math/s_csinhf.c: Likewise.
17362 * math/s_csinhl.c: Likewise.
17363 * math/libm-test.inc (ccos_test): Add more tests.
17364 (ccosh_test): Likewise.
17365 (csin_test): Likewise.
17366 (csinh_test): Likewise.
17367 * sysdeps/i386/fpu/libm-test-ulps: Update.
17368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17369
6ad13e08
L
173702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17371
f66f0ce8
L
17372 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17374
6ad13e08
L
17375 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17376
b1d072a7
JM
173772012-05-19 Joseph Myers <joseph@codesourcery.com>
17378
17379 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17380 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17381 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17382 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17383 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17384 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17385 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17386 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17387 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17388 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17389 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17390 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17391 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17392 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17393 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17394 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17395 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17396 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17397 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17398 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17399 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17400 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17401 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17402 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17403 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17404 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17405 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17406 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17407 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17408 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17409 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17410
9eae47cb
AJ
174112012-05-18 Andreas Jaeger <aj@suse.de>
17412
17413 * csu/.gitignore: Delete.
17414
bb07f69f
L
174152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17416
17417 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17418 (timex): Use __syscall_slong_t.
17419
e6bdb741
AJ
174202012-05-18 Andreas Jaeger <aj@suse.de>
17421 Carlos O'Donell <carlos_odonell@mentor.com>
17422
17423 * manual/install.texi (Configuring and compiling): Update
17424 description about files modified in the source directory.
d6c33fda 17425 * INSTALL: Regenerated.
e6bdb741 17426
1b74487e
L
174272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17428
17429 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17430 value. Use "or" to set return value to -1.
17431 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17432 negate return value.
17433
a88b64b9
TMQMF
174342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17435
17436 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17437 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17438 failure if the compiler has Graphite support disabled.
17439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17440 Likewise.
17441 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17442 CFLAGS-memmove.c): Likewise.
17443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17444 Likewise.
17445
3707636e
L
174462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17447
610b8622
L
17448 * sysdeps/x86_64/x32/_itoa.h: New file.
17449
7cd195df
L
17450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17451 getdents system call only if kernel and user dirents have the
17452 same d_ino and d_off.
17453
94b07d20
L
17454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17455 LLONG_MAX != LONG_MAX.
17456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17457 (_fitoa_word): Likewise.
17458
18298070
L
17459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17460 years.
17461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17464
553c7ea4
L
17465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17466 include <bits/wordsize.h>. Check __x86_64__ instead of
17467 __WORDSIZE.
17468 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17469 if __x86_64__ is defined. Use anonymous union on fpstate.
17470
3707636e
L
17471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17472 anonymous union.
17473
b53ef01a
AS
174742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17475
37fb1dc0
AS
17476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17477 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17479 Refer to _rtld_local_ro instead of _rtld_global_ro.
17480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17481 Likewise.
17482 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17483 Likewise.
17484 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17485 Likewise.
17486 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17487 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17488 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17489
b53ef01a
AS
17490 * sysdeps/powerpc/powerpc32/dl-machine.c
17491 (__elf_machine_runtime_setup) [PROF]: Don't reference
17492 _dl_prof_resolve.
17493
7a185db2
AJ
174942012-05-18 Andreas Jaeger <aj@suse.de>
17495
17496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17497 function only available for GCCs before 3.4 since GCC 3.4
17498 introduced a builtin.
17499 (lrint): Likewise.
17500 (llrintf): Likewise.
17501 (llrint): Likewise.
17502 (fmaxf): Likewise.
17503 (fmax): Likewise.
17504 (fminf): Likewise.
17505 (fmin): Likewise.
17506 (rint): Likewise.
17507 (rintf): Likewise.
17508 (nearbyint): Likewise.
17509 (nearbyintf): Likewise.
17510 (ceil): Likewise.
17511 (ceilf): Likewise.
17512 (floor): Likewise.
17513 (floorf): Likewise.
17514
3e5aef87
L
175152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17516
428bd707
L
17517 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17518 on both fields and cast pointer to __syscall_ulong_t.
17519
3e5aef87
L
17520 * bits/types.h (__fsword_t): New type.
17521 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17522 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17524 (__FSWORD_T_TYPE): Likewise.
17525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17526 (__FSWORD_T_TYPE): Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17528 (__FSWORD_T_TYPE): Likewise.
17529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17530 (__FSWORD_T_TYPE): Likewise.
17531 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17532 __SWORD_TYPE with __fsword_t.
17533 (statfs64): Likewise.
17534
1ba7c3dc
DM
175352012-05-17 David S. Miller <davem@davemloft.net>
17536
17537 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17538
59910343
AJ
175392012-05-17 Andreas Jaeger <aj@suse.de>
17540
17541 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17542 warning.
17543
2e4c1e9e
L
175442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17545
17546 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17547
de7f5ce7
AJ
175482012-05-17 Andreas Jaeger <aj@suse.de>
17549
17550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17551 when it is used.
17552
286abc3d
CM
175532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17554
17555 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17556
477cc68e
L
175572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17558
17559 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17560 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17561
1a0994f5
CD
175622012-05-17 Andreas Jaeger <aj@suse.de>
17563 Carlos O'Donell <carlos_odonell@mentor.com>
17564
17565 [BZ #14059]
17566 * sysdeps/x86_64/multiarch/init-arch.h
17567 (bit_YMM_Usable): Rename to...
17568 (bit_AVX_Usable): ... this.
17569 (bit_FMA4_Usable): New macro.
17570 (bit_XMM_state): New macro.
17571 (bit_YMM_state): New macro.
17572 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17573 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17574 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17575 (CPUID_OSXSAVE): New macro.
17576 (CPUID_AVX): New macro.
17577 (CPUID_FMA4): New macro.
17578 (index_YMM_Usable): Rename to...
17579 (index_AVX_Usable): ... this.
17580 (HAS_AVX): Use HAS_ARCH_FEATURE.
17581 (HAS_FMA4): Likewise.
17582 (HAS_YMM_USABLE): Remove.
17583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17584 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17585 are present.
17586 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17587 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17588 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17589 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17590 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17591
0af797de
CM
175922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17593
17594 * math/libm-test.c: Support platforms without multiple rounding modes.
17595 * math/bug-nextafter.c: Support platforms without FP exceptions.
17596 * math/bug-nexttoward.c: Likewise.
17597 * math/test-fenv.c: Likewise.
17598 * math/test-misc.c: Likewise.
17599 * stdlib/bug-getcontext.c: Likewise.
17600
e39745ff
AJ
176012012-05-17 Andreas Jaeger <aj@suse.de>
17602
17603 * manual/examples/search.c (critter_cmp): Change signature to
17604 avoid warnings.
17605 * manual/string.texi (Collation Functions): Likewise.
17606
48970aba
L
176072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 * bits/types.h: Fold copyright years.
17610 * bits/typesizes.h: Likewise.
17611 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17615 * time/time.h: Likewise.
17616
bedee953
PP
176172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17618
17619 [BZ #208]
17620 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17621 in instead of returning them. Return void.
17622 (__libc_mallinfo): Accumulate over all arenas.
17623 (__malloc_stats): Adjust for change in int_mallinfo interface.
17624
61653dfb
RM
176252012-05-16 Roland McGrath <roland@hack.frob.com>
17626
30b99d79
RM
17627 [BZ #10375]
17628 * configure.in (NM): Add AC_CHECK_TOOL for it.
17629 (libc_extra_cflags): New substituted variable.
17630 Check for -fstack-protector being used implicitly.
17631 * configure: Regenerated.
17632 * config.make.in (config-extra-cflags): New variable,
17633 gets @libc_extra_cflags@.
17634 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17635
61653dfb
RM
17636 [BZ #10375]
17637 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17638 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17639 * configure: Regenerated.
17640 * config.make.in (CPPUNDEFS): New substituted variable.
17641 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17642 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17643 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17644
661768bb
L
176452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17646
17647 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17648 (mq_attr): Use __syscall_slong_t.
17649
d4261567
L
176502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17651
17652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17653 Check __x86_64__ instead of __WORDSIZE.
17654 (_STAT_VER_LINUX): Likewise.
17655 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17656 __syscall_ulong_t and __syscall_slong_t.
17657 (stat64): Likewise.
17658
cf3ff365
L
176592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17660
17661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17662
76cf3e4d
L
176632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17664
17665 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17666
a637753a
L
176672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17668
17669 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17670 __syscall_ulong_t.
17671
d5e05119
L
17672 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17673 include <bits/wordsize.h>. Check __x86_64__ instead of
17674 __WORDSIZE.
17675 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17676 defined.
17677 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17678
f62ee380
L
17679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17680 include <bits/wordsize.h>. Check __x86_64__ instead of
17681 __WORDSIZE.
17682 (user_regs_struct): Use "__extension__ unsigned long long"
17683 instead of "unsigned long" if __x86_64__ is defined.
17684 (user): Likewise. Pad after pointer field if __ILP32__ is
17685 defined.
17686
4e124ced
JM
176872012-05-16 Joseph Myers <joseph@codesourcery.com>
17688
6a3951a0
JM
17689 * configure.in (makeinfo): Require version 4.5 or later. Allow
17690 versions 5 to 9.
17691 * configure: Regenerated.
17692 * manual/install.texi (texinfo): Increase version requirement to
17693 4.5 or later.
17694 * INSTALL: Regenerated.
17695
4e124ced
JM
17696 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17697
953ca31a
L
176982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17701
617aca05
L
17702 * sysdeps/x86_64/x32/ffs.c: New file.
17703
5762f7ae
L
17704 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17705 __syscall_ulong_t.
17706 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17707 defined. Use __syscall_ulong_t.
17708 (shminfo): Use __syscall_ulong_t.
17709 (shm_info): Likewise.
17710
a26b6856
L
17711 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17712 __syscall_ulong_t.
17713
cb2b9ef7
L
17714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17715 <bits/wordsize.h>.
17716 (msgqnum_t): Use __syscall_ulong_t.
17717 (msglen_t): Likewise.
17718 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17719 __syscall_ulong_t.
17720
34683bb0
L
17721 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17723
84a68786
L
17724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17725
48baa5f1
L
17726 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17727 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17728
180be88b
L
17729 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17730 __syscall_slong_t.
17731
5e90c8ad
L
17732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17733 include <bits/wordsize.h>. Check __x86_64__ instead of
17734 __WORDSIZE.
17735
23dfb58b
L
17736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17737 "unsigned long long int" if __x86_64__ is defined.
17738 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17739
ce5d54b0
L
17740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17742 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17743
13dc9eac
L
17744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17745 <stdint.h>.
17746 (GET_PC): Cast to uintptr_t first.
17747 (GET_FRAME): Likewise.
17748 (GET_STACK): Likewise.
17749
a7895d15
L
17750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17758 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17779
656416c9
AS
177802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17781
5bd66283
AS
17782 * Makerules (+depfiles): Also collect depfiles from .oS in
17783 $(extra-objs).
17784 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17785 .oS, $(libnldbl-routines)).
17786
656416c9
AS
17787 * Makerules (native-compile-mkdep-flags): Define.
17788 * sunrpc/Makefile (extra-objs): Add $(addprefix
17789 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17790 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17791 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17792 calling $(make-target-directory).
17793
a46f2169
L
177942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17795
17796 * bits/types.h (__snseconds_t): Removed.
17797 * time/time.h (struct timespec): Replace __snseconds_t with
17798 __syscall_slong_t.
17799 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17800 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17801 Likewise.
17802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17803 (__SNSECONDS_T_TYPE): Likewise.
17804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17805 (__SNSECONDS_T_TYPE): Likewise.
17806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17807 (__SNSECONDS_T_TYPE): Likewise.
17808
6af6528b
L
178092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17810
17811 * sysdeps/mach/hurd/bits/typesizes.h
17812 (__SYSCALL_SLONG_TYPE): New macro.
17813 (__SYSCALL_ULONG_TYPE): Likewise.
17814
de986b56
L
178152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17816
17817 * bits/types.h (__syscall_slong_t): New type.
17818 (__syscall_ulong_t): Likewise.
17819
17820 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17821 (__SYSCALL_ULONG_TYPE): Likewise.
17822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17823 (__SYSCALL_SLONG_TYPE): Likewise.
17824 (__SYSCALL_ULONG_TYPE): Likewise.
17825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17826 (__SYSCALL_SLONG_TYPE): Likewise.
17827 (__SYSCALL_ULONG_TYPE): Likewise.
17828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17829 (__SYSCALL_SLONG_TYPE): Likewise.
17830 (__SYSCALL_ULONG_TYPE): Likewise.
17831
85736dc7
L
178322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17833
17834 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17835 Add sigaltstack-offsets.sym.
17836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17837 <sigaltstack-offsets.h>.
17838 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17839 longjmp_msg pointer.
17840 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17841 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17842 signal stack.
17843 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17844
cc03b296
JM
178452012-05-15 Joseph Myers <joseph@codesourcery.com>
17846
a9538892
JM
17847 * elf/stackguard-macros.h: Remove file.
17848 * sysdeps/generic/stackguard-macros.h: New file.
17849 * sysdeps/i386/stackguard-macros.h: Likewise.
17850 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17851 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17852 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17853 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17854 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17855 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17856 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17857 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17858 <elf/stackguard-macros.h>.
17859
cc03b296
JM
17860 [BZ #14109]
17861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17862 __aligned__ in attribute.
17863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17864 (gregset_t): Likewise.
17865
93171016
L
178662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17867
17868 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17869 * sysdeps/x86_64/64/Implies-after: Here. New file.
17870 * sysdeps/x86_64/x32/Implies-after: New file.
17871
d86813a0
L
178722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17873
17874 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17875 and access return value for _dl_profile_fixup. Use R10_LP to
17876 load frame size.
17877
2953ec75
L
178782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17881
3b550e9e
L
178822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17883
17884 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17885 * sysdeps/x86_64/x32/sysdep.h: New file.
17886
eda41706
L
178872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17890 * sysdeps/x86_64/setjmp.S: Likewise.
17891
9ea01d93
AZ
178922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17893
17894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17896 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17898 remove unused global constant.
17899
02a91938
CM
179002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17901
17902 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17903 include of <not-cancel.h>.
17904
6540185f
RM
179052012-05-15 Roland McGrath <roland@hack.frob.com>
17906
17907 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17908
509072a0
AJ
179092012-05-15 Jeff Law <law@redhat.com>
17910 Andreas Jaeger <aj@suse.de>
17911
17912 [BZ #13594]
17913 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17914 out from...
17915 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17916 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17918 code changing __hst_map_handle.map.
17919
ba75122d
RM
179202012-05-15 Roland McGrath <roland@hack.frob.com>
17921
17922 * configure.in (sysnames): Look for Implies-before and Implies-after
17923 files.
17924 * configure: Regenerated.
17925
890d8bd8
L
179262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17929 8-byte data alignment with LP_SIZE alignment.
17930
f6ee6623
L
179312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17932
17933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17934 into R10_LP.
17935
ea2626f6
L
179362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17937
17938 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17939
085f715e
L
179402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17941
17942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17943 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17945 Likewise.
17946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17947
be8498fc
L
179482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17951 (stackinfo_sub_sp): Likewise.
17952
70bc83b9
L
179532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17956 RAX_LP.
17957
9bc0b730
L
179582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17959
17960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17961 into R*_LP.
17962
6d2850e7
L
179632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17964
17965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17966 sizes into R*_LP.
17967
3cb84561
L
179682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17969
17970 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17971
54e2ed81
L
179722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17973
17974 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17975 into R11_LP and load __x86_64_shared_cache_size_half into
17976 R8_LP.
17977
8a17f349
L
179782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17981 R8_LP.
17982
777b1eea
AZ
179832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17984
17985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17986 logb for POWER7.
17987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17988 logbf for POWER7.
17989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17990 logbl for POWER7.
17991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17992 powerpc32/power7/fpu/s_logb.c via #include.
17993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17994 powerpc32/power7/fpu/s_logbf.c via #include.
17995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17996 powerpc32/power7/fpu/s_logbl.c via #include.
17997
d20d4ac2
JM
179982012-05-15 Joseph Myers <joseph@codesourcery.com>
17999
18000 * README.libm: Remove file.
18001
6cdef1ab
L
180022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18005 count for x32. Use R*_LP and omit operand-size suffix.
18006
0b254d8f
L
180072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18008
18009 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18010 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18011 * sysdeps/x86_64/x32/shlib-versions: New file.
18012
ceb809dc
RM
180132012-05-14 Roland McGrath <roland@hack.frob.com>
18014
18015 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18016 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18017 Use _dl_fatal_printf instead.
18018
37f1abd4
JM
180192012-05-14 Joseph Myers <joseph@codesourcery.com>
18020
18021 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18022 set if not set by the user. Do not allow for being unset.
18023 * sysdeps/unix/sysv/linux/configure: Regenerated.
18024
11de3a33
L
180252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18028 the `q' suffix from lea and replace .quad with ASM_ADDR.
18029
e02f153a
L
180302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18031
18032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18033 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18034 instead of $17.
18035 (PTR_DEMANGLE): Likewise.
18036
520ae0fd
L
180372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18038
18039 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18040 (LP_OP): Likewise.
18041 (ASM_ADDR): Likewise.
18042 (RAX_LP): Likewise.
18043 (RBP_LP): Likewise.
18044 (RBX_LP): Likewise.
18045 (RCX_LP): Likewise.
18046 (RDI_LP): Likewise.
18047 (RSI_LP): Likewise.
18048 (RSP_LP): Likewise.
18049 (R8_LP): Likewise.
18050 (R9_LP): Likewise.
18051 (R10_LP): Likewise.
18052 (R10_LP): Likewise.
18053 (R11_LP): Likewise.
18054 (R12_LP): Likewise.
18055 (R13_LP): Likewise.
18056 (R14_LP): Likewise.
18057 (R15_LP): Likewise.
18058
b985be81
L
180592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18060
18061 * sysdeps/x86_64/x32/dl-machine.h: New file.
18062
6a4888ff
AJ
180632012-05-14 Andreas Jaeger <aj@suse.de>
18064
18065 * manual/Makefile (subdir): Remove export of subdir.
18066 (all): Remove target.
18067 (.PHONY): Remove all from list.
18068 (mkinstalldirs): Remove.
18069 (.PHONY): Remove installdirs from list.
18070 ($(inst_infodir)/libc.info): Use make-target-directory.
18071 (installdirs): Remove.
18072 (subdir_%): Remove.
18073 (glibc-targets): Remove.
18074 (lib): Remove.
18075 (stubs): Remove.
18076 ($(objpfx)stubs ../po/manual.pot): Remove.
18077 ($(objpfx)stamp%): Remove.
18078 (make-target-directory): Remove.
18079 (subdir_install): Remove.
18080 (routines): Remove.
18081 (aux): Remove.
18082 (sources): Remove.
18083 (objects): Remove.
18084 (headers): Remove.
18085
18086 [BZ #13750]
18087 * manual/.gitignore: Remove, it's not needed anymore.
18088 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18089 all files in it.
18090 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18091 directory.
18092 (texis): Renamed to $(objpfx)texis.
18093 (texis-path): New, contains path to generated files.
18094 (chapters.%): Use texis-path for complete path, add extra argument
18095 libc-texinfo.sh.
18096 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18097 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18098 (summary,texi, stamp-summary): Use complete path of
18099 files. Generate files in build dir.
18100 (dir-add.texi): Build in build dir.
18101 (libm-err.texi,stamp-libm-err): Likewise.
18102 (version.texi, stamp-version): Likewise.
18103 (.%c.texi): Likewise.
18104 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18105 (mostlyclean): Remove target.
18106 (realclean): Remove target.
18107 (generated): Add new variable with contents from mostlyclean and
18108 realclean, remove entries duplicated in common-mostlyclean, add
18109 stamp-libm-err and stamp-version.
18110 (generated-dirs): Add libc directory.
18111 ($(inst_infodir)/libc.info): Install files from build dir.
18112
18113 * manual/install.texi (Configuring and compiling): Adjust since
18114 the info files are not part of the tar ball anymore.
18115
7ac77294
AJ
181162012-05-14 Andreas Jaeger <aj@suse.de>
18117
18118 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18119 variable.
18120
ffb7875d
JM
181212012-05-14 Joseph Myers <joseph@codesourcery.com>
18122
18123 [BZ #13717]
18124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18125 to 2.2.0 where earlier.
18126 * sysdeps/unix/sysv/linux/configure: Regenerated.
18127 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18128 Remove conditional code.
18129 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18130 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18131 Remove conditional code.
18132 [!__NR_lchown]: Likewise.
18133 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18134 [__NR_lchown]: Likewise.
18135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18136 comment referencing __ASSUME_LCHOWN_SYSCALL.
18137 * sysdeps/unix/sysv/linux/i386/sigaction.c
18138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18141 Remove conditional code.
18142 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18143 (__protocol_available): Remove #if 0 code.
18144 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18145 conditional code.
18146 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18147 * sysdeps/unix/sysv/linux/kernel-features.h
18148 (__ASSUME_GETCWD_SYSCALL): Don't define.
18149 (__ASSUME_REALTIME_SIGNALS): Likewise.
18150 (__ASSUME_PREAD_SYSCALL): Likewise.
18151 (__ASSUME_PWRITE_SYSCALL): Likewise.
18152 (__ASSUME_POLL_SYSCALL): Likewise.
18153 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18154 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18155 non-SPARC.
18156 (__ASSUME_SIOCGIFNAME): Don't define.
18157 (__ASSUME_MSG_NOSIGNAL): Likewise.
18158 (__ASSUME_SENDFILE): Define unconditionally.
18159 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18160 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18161 conditional code.
18162 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18163 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18164 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18165 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18166 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18168 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18193 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18194 Remove conditional code.
18195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18196 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18197 Remove conditional code.
18198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18199 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18200 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18201 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18202 Remove conditional code.
18203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18204 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18205 Remove conditional code.
18206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18207 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18208 Remove conditional code.
18209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18210 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18211 Remove conditional code.
18212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18213 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18214 Remove conditional code.
18215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18216 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18219 * sysdeps/unix/sysv/linux/sigaction.c
18220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18222 * sysdeps/unix/sysv/linux/sigpending.c
18223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18225 * sysdeps/unix/sysv/linux/sigprocmask.c
18226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18228 * sysdeps/unix/sysv/linux/sigsuspend.c
18229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18232 (__libc_missing_rt_sigs): Remove.
18233 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18234 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18235 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18236 Remove conditional code.
18237 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18238 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18239 return 1.
18240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18244
1bfb7291
AJ
182452012-05-14 Andreas Jaeger <aj@suse.de>
18246
caae5a81
AJ
18247 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18248 it's not used in glibc.
18249 (__coshm1): Likewise.
18250 (__acosh1p): Likewise.
18251 (__sgn): Likewise.
18252
1bfb7291
AJ
18253 * manual/string.texi (Copying and Concatenation): Add missing
18254 variable in concat example.
18255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18256
c044d724
L
182572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18258
144c5467 18259 [BZ #14103]
c044d724
L
18260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18261 __builtin_clzl with __builtin_clzll.
18262
2523c62b
L
182632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18264
18265 [BZ #14104]
18266 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18267 libc_freeres_ptr.
18268
d7bb4c42
LD
182692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18270
18271 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18272 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18273 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18274 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18275
9dc4e1fb
MF
182762012-05-14 Mike Frysinger <vapier@gentoo.org>
18277
18278 * NEWS: Update ia64 info.
18279
c7df0112
AS
182802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18281
18282 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18283 used as bcopy.
18284
dc70356c
TS
182852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18286
18287 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18288 * sysdeps/unix/syscalls.list (dup3): Likewise.
18289 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18290 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18291
9fb1a21f
L
182922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18293
18294 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18295 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18296
4822a2a5
L
182972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18298
18299 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18300 thread pointer.
18301 (TLS_IE): Use mov/add instead of movq/addq to load thread
18302 pointer.
18303 (TLS_GD_PREFIX): New.
18304 (TLS_GD): Use it.
18305
842b81d6
DM
183062012-05-11 David S. Miller <davem@davemloft.net>
18307
18308 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18309 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18310 (_FPU_SETCW): Likewise.
18311
1cf463cd
L
183122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18315 is 32-byte aligned.
18316
60cc4a18
AS
183172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18318
18319 [BZ #11837]
18320 * iconvdata/gb18030.c: Update tables.
18321 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18322 characters specially.
18323 (BODY for TO_LOOP): Add encoding of missing ranges.
18324
febb44a4
TS
183252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18326
18327 [BZ #13673]
18328 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18329 * sysdeps/mach/hurd/dup3.c: Likewise.
18330 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18331 * sysdeps/powerpc/memmove.c:: Likewise.
18332
0a10fb9e
L
183332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18334
18335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18336 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18337
df8a552f
L
183382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18339
18340 * elf/elf.h (R_X86_64_RELATIVE64): New.
18341 (R_X86_64_NUM): Updated.
18342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18343 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18344 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18345 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18346 tst-quad1pie tst-quad2pie
18347 (modules-names): Add tst-quadmod1 tst-quadmod2.
18348 ($(objpfx)tst-quad1): New dependency.
18349 ($(objpfx)tst-quad2): Likewise.
18350 ($(objpfx)tst-quad1pie): Likewise.
18351 ($(objpfx)tst-quad2pie): Likewise.
18352 * sysdeps/x86_64/tst-quad1.c: New file.
18353 * sysdeps/x86_64/tst-quad1pie.c: New file.
18354 * sysdeps/x86_64/tst-quad2.c: Likewise.
18355 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18356 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18357 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18358 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18359 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18360
f34d6f84
ST
183612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18362
f42d41d1
ST
18363 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18364 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18365 * streams/stropts.h (t_scalar_t): Define type.
18366
3c3571fc
ST
18367 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18368 (_PATH_PRESERVE): Set to "/var/lib".
18369 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18370
61f06bd3
ST
18371 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18372 instead of int.
18373
918d4d71
ST
18374 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18375 if __dir_mkfile succeeded.
18376
f34d6f84
ST
18377 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18378 checking for _hurd_dtablesize. Unlock it right after having
18379 finished _hurd_dtable allocation.
18380
10589b4a
TS
183812012-05-10 Thomas Schwinge <thomas@schwinge.name>
18382
674cdbc7
TS
18383 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18384 * sysdeps/mach/hurd/configure: Regenerated.
18385 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18386 special-casing to...
18387 * sysdeps/gnu/configure.in: ... this new file.
18388 * sysdeps/unix/sysv/linux/configure: Regenerated.
18389 * sysdeps/gnu/configure: New generated file.
18390
8e41b99f
TS
18391 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18392 for Linux: use nsec instead of usec, as well as:
18393 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18394 members of type struct timespec.
18395 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18396 New macros.
18397 (struct stat64): Likewise.
18398 (_STATBUF_ST_NSEC): New macro.
18399 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18400
10589b4a
TS
18401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18402 __strtoul_internal rather than strtoul.
18403
63643c85
PT
184042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18405
18406 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18407 and reject them.
18408
3faebe6a
ST
184092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18410
18411 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18412 which preserves existing values.
18413 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18414
c6474b07
PT
184152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18416
18417 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18418 TIMEOUT values. Return EINVAL for NFDS values either negative or
18419 greater than FD_SETSIZE.
18420
1043890b
ST
184212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18422
18423 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18424 allocated, call __vm_protect to finish enabling the existing space, and
18425 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18426 allocate the remainder.
18427
37ed8b9b
PT
184282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18429
18430 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18431 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18432
db653660
ST
184332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18434
37ed8b9b
PT
18435 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18436 sysdeps/mach/hurd/readlink.c.
b29d4053 18437
db653660
ST
18438 * posix/tst-sysconf.c (posix_options): Only use
18439 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18440 _POSIX_SYNCHRONIZED_IO when they are defined
18441 * sysdeps/mach/hurd/bits/posix_opt.h:
18442 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18443 (_XOPEN_REALTIME): Undefine macro.
18444 (_XOPEN_REALTIME_THREADS): Undefine macro.
18445 (_XOPEN_SHM): Undefine macro.
18446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18447 macro to -1.
18448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18449 macro to -1.
18450 (_POSIX_ASYNC_IO): Undefine macro.
18451 (_POSIX_PRIORITIZED_IO): Undefine macro.
18452 (_POSIX_SPIN_LOCKS): Define macro to -1.
18453
ee16e894
ST
18454 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18455 SA_NODEFER, SA_RESETHAND.
18456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18457 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18458 F_DUPFD_CLOEXEC.
18459
6103ae3b
TS
184602012-05-10 Thomas Schwinge <thomas@schwinge.name>
18461
18462 * elf/Makefile (pldd-modules): Define unconditionally.
18463
80b4e5f3
TS
184642012-05-10 Thomas Schwinge <thomas@schwinge.name>
18465
18466 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18467
edadcbd6
ST
184682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18469
18470 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18471 Return ENOENT when name is empty.
18472 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18473
80694780
TS
184742012-05-10 Thomas Schwinge <thomas@schwinge.name>
18475
1792c087
TS
18476 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18477
80694780
TS
18478 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18479
6b645f0d
ST
184802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18481
80694780
TS
18482 Fix mlock in all cases except non-readable pages.
18483 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18484 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18485
6b645f0d
ST
18486 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18487 (__mkdir): When path is `/', just fail with EEXIST.
18488 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18489
e468f8a3
TS
184902012-05-10 Thomas Schwinge <thomas@schwinge.name>
18491
18492 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18493 <sys/uio.h> (for writev).
18494 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18495 and <sys/param.h> (for MIN).
18496
a4186cff
PT
184972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18498
18499 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18500 REQUESTED_TIME. Properly set the remaining time and return EINTR
18501 if interrupted.
18502
510bbf14
TS
185032012-05-10 Thomas Schwinge <thomas@schwinge.name>
18504
18505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18506 Depend on against $(link-rpcuserlibs).
18507
5d5722e8
ST
185082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18509
a4186cff
PT
18510 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18511 (__libc_stack_end): Do not use attribute_relro.
18512 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18513 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18514 to libthread-provided value.
a4186cff
PT
18515 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18516 attribute_relro.
5d5722e8 18517
37233df9
TS
185182012-05-10 Thomas Schwinge <thomas@schwinge.name>
18519
be971a2b
TS
18520 [BZ #3748]
18521 * bits/libc-lock.h (__libc_once_get): New macro.
18522 * sysdeps/mach/bits/libc-lock.h: Likewise.
18523 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18525 instead of using implementation details.
18526
37233df9
TS
18527 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18528 * libio/freopen.c: Likewise.
18529 * libio/freopen64.c: Likewise.
18530 * misc/syslog.c: Likewise.
18531 * nscd/connections.c: Likewise.
18532 * nscd/netgroupcache.c: Likewise.
18533 * sysdeps/posix/getcwd.c: Likewise.
18534
38de94a5
RM
185352012-05-10 Roland McGrath <roland@hack.frob.com>
18536
18537 * math/w_ilogbf.c: Add #include <limits.h>.
18538
67530489
ST
185392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18540
a4186cff 18541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18542 path instead of returning without unlocking.
18543
67530489
ST
18544 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18545 immediate-write ioctls.
18546 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18547
5aa3a74a
TS
185482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18549
18bad2ae
TS
18550 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18551 __builtin_frame_address instead of making assumptions about the
18552 location of the return address relative to DATA. Force early load of
18553 the return address.
18554 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18555 __builtin_frame_address.
18556
5aa3a74a
TS
18557 dup3 for GNU Hurd.
18558 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18559 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18560 implement dup3 and do some further code clean-ups.
18561 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18563
ecd0de9a
ST
185642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18565
cd9fa985
ST
18566 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18567
a4186cff
PT
18568 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18569 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18570 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18571 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18572 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18573 d->port.lock.
802ca5a5 18574
a4186cff
PT
18575 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18576 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18577 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18578
bcf55240
TS
185792012-05-10 Thomas Schwinge <thomas@schwinge.name>
18580
6960eb42
TS
18581 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18582 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18583 definitions.
18584
eb43375f
TS
18585 accept4 for GNU Hurd.
18586 * include/sys/socket.h (__libc_accept4): New prototype.
18587 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18588 to implement __libc_accept4.
18589 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18590 __libc_accept4.
18591 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18592
bcf55240
TS
18593 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18594 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18595 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18596 signal-defines.sym.
18597
6178c55b
ST
185982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18599
a4186cff 18600 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18601
6f080c2f
TS
186022012-05-10 Thomas Schwinge <thomas@schwinge.name>
18603
18604 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18605 assertion on O_CLOEXEC flag.
18606 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18607 * hurd/intern-fd.c: Likewise.
18608 * hurd/port2fd.c: Likewise.
18609
bcfe3a54
ST
186102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18611
18612 [BZ #3906]
18613 * bits/in.h (IPV6_PKTINFO): Define new macro.
18614 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18615
89c9aa49
AZ
186162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18617
18618 [BZ #13954]
18619 [BZ #13955]
18620 [BZ #13956]
18621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18623 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18627 * math/libm-test.inc (logb_test) : Additional logb tests.
18628
021db4be
AJ
186292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18630 Andreas Jaeger <aj@suse.de>
18631
18632 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18633 * configure: Regenerated.
18634 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18635 * config.make.in (link-obsolete-rpc): New substituted variable.
18636 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18637 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18638 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18639 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18640 so that libc.a contains the symbols.
18641 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18642 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18643 * sunrpc/auth_none.c: Likewise.
18644 * sunrpc/auth_unix.c: Likewise.
18645 * sunrpc/authdes_prot.c: Likewise.
18646 * sunrpc/authuxprot.c: Likewise.
18647 * sunrpc/clnt_gen.c: Likewise.
18648 * sunrpc/clnt_perr.c: Likewise.
18649 * sunrpc/clnt_raw.c: Likewise.
18650 * sunrpc/clnt_simp.c: Likewise.
18651 * sunrpc/clnt_tcp.c: Likewise.
18652 * sunrpc/clnt_udp.c: Likewise.
18653 * sunrpc/clnt_unix.c: Likewise.
18654 * sunrpc/des_crypt.c: Likewise.
18655 * sunrpc/des_soft.c: Likewise.
18656 * sunrpc/get_myaddr.c: Likewise.
18657 * sunrpc/key_call.c: Likewise.
18658 * sunrpc/key_prot.c: Likewise.
18659 * sunrpc/netname.c: Likewise.
18660 * sunrpc/pm_getmaps.c: Likewise.
18661 * sunrpc/pm_getport.c: Likewise.
18662 * sunrpc/pmap_clnt.c: Likewise.
18663 * sunrpc/pmap_prot.c: Likewise.
18664 * sunrpc/pmap_prot2.c: Likewise.
18665 * sunrpc/pmap_rmt.c: Likewise.
18666 * sunrpc/publickey.c: Likewise.
18667 * sunrpc/rpc_cmsg.c: Likewise.
18668 * sunrpc/rpc_common.c: Likewise.
18669 * sunrpc/rpc_dtable.c: Likewise.
18670 * sunrpc/rpc_prot.c: Likewise.
18671 * sunrpc/rpc_thread.c: Likewise.
18672 * sunrpc/rtime.c: Likewise.
18673 * sunrpc/svc.c: Likewise.
18674 * sunrpc/svc_auth.c: Likewise.
18675 * sunrpc/svc_raw.c: Likewise.
18676 * sunrpc/svc_run.c: Likewise.
18677 * sunrpc/svc_tcp.c: Likewise.
18678 * sunrpc/svc_udp.c: Likewise.
18679 * sunrpc/svc_unix.c: Likewise.
18680 * sunrpc/svcauth_des.c: Likewise.
18681 * sunrpc/xcrypt.c: Likewise.
18682 * sunrpc/xdr.c: Likewise.
18683 * sunrpc/xdr_array.c: Likewise.
18684 * sunrpc/xdr_float.c: Likewise.
18685 * sunrpc/xdr_intXX_t.c: Likewise.
18686 * sunrpc/xdr_mem.c: Likewise.
18687 * sunrpc/xdr_rec.c: Likewise.
18688 * sunrpc/xdr_ref.c: Likewise.
18689 * sunrpc/xdr_sizeof.c: Likewise.
18690 * sunrpc/xdr_stdio.c: Likewise.
18691
b5c086a2
RM
186922012-05-10 Roland McGrath <roland@hack.frob.com>
18693
18694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18695 change. Update copyright years.
18696
6d74dd09
JM
186972012-05-10 Joseph Myers <joseph@codesourcery.com>
18698
18699 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18700
28e72501
MK
187012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18702 Joseph Myers <joseph@codesourcery.com>
18703 Paul Pluzhnikov <ppluzhnikov@google.com>
18704
18705 [BZ #14012]
18706 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18707 requiring rpcgen.
18708 [cross-compiling] (extra-libs): Likewise.
18709 [cross-compiling] (extra-libs-others): Likewise.
18710 [cross-compiling] (librpcsvc-routines): Likewise.
18711 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18712 [cross-compiling] (omit-deps): Likewise.
18713 (sunrpc-CPPFLAGS): New variable.
18714 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18715 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18716 (cross-rpcgen-objs): New variable.
18717 (extra-objs): Append $(cross-rpcgen-objs).
18718 ($(cross-rpcgen-objs)): New rule.
18719 ($(objpfx)cross-rpcgen): Likewise.
18720 (rpcgen-cmd): Define to use $(built-program-file). Expand
18721 comment.
18722 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18723 ($(objpfx)x%.stmp): Likewise.
18724 * sunrpc/proto.h [IS_IN_build] (_): Define.
18725 [IS_IN_build] (_libc_intl_domainname): Likewise.
18726
c8c59454
L
187272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18730 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18731 and R_X86_64_TPOFF64.
18732
6f27cd16
JM
187332012-05-10 Joseph Myers <joseph@codesourcery.com>
18734
18735 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18736 sysdeps/unix/sysv/syscalls.list.
18737 (stime): Likewise.
18738 (utime): Likewise.
18739 * sysdeps/unix/sysv/syscalls.list: Remove file.
18740
02467e1c
PE
187412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18742
18743 [BZ #3440]
18744 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18745 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18746 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18747 (__LC_IDENTIFICATION): Make these macros useful in #if
18748 expressions, as required by C99.
18749
da392631
AS
187502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18751
18752 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18753 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18754 after this.
18755
8115f29b
L
187562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18757
18758 * stdlib/longlong.h: Updated from GCC.
18759
bdd74070
AJ
187602012-05-09 Andreas Jaeger <aj@suse.de>
18761
edfe0dbe
AJ
18762 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18763 default is first entry.
18764 (run_mode): Set type.
18765 (main): Remove informal message about syslog.
18766 (options): Fix typo.
18767
bcfe3a54
ST
18768 [BZ #14053]
18769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18770 to asm.
bcfe3a54
ST
18771 (lrint): Likewise.
18772 (llrintf): Likewise.
18773 (llrint): Likewise.
18774 (rint): Likewise.
18775 (rintf): Likewise.
18776 (nearbyint): Likewise.
18777 (nearbyintf): Likewise.
bdd74070 18778
91d8d69e
AJ
187792012-05-09 Andreas Jaeger <aj@suse.de>
18780 Pedro Alves <palves@redhat.com>
18781
18782 * nscd/nscd.c (run_mode): Use enum.
18783 (main): Cleanup coding style issue.
18784
bb90b80b
AJ
187852012-05-09 Alexandre Oliva <aoliva@redhat.com>
18786 Andreas Jaeger <aj@suse.de>
18787
bcfe3a54
ST
18788 * nscd/nscd.c (go_background): Replaced with...
18789 (run_mode): ... this.
bb90b80b 18790 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18791 (options): Add -F --foreground.
18792 (main): Implement it.
18793 (parse_opt): Parse it.
bb90b80b 18794
1a4b75a1
AJ
187952012-05-09 Andreas Jaeger <aj@suse.de>
18796
18797 [BZ #14083]
18798 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18799 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18800 -Wconversion warning.
18801 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18802 Likewise.
18803
b1cc2472
JM
188042012-05-09 Joseph Myers <joseph@codesourcery.com>
18805
18806 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18807 == 0.
18808 (LC_ALL): Use macro-int-constant.
18809 (LC_COLLATE): Likewise.
18810 (LC_CTYPE): Likewise.
18811 (LC_MESSAGES): Likewise.
18812 (LC_MONETARY): Likewise.
18813 (LC_NUMERIC): Likewise.
18814 (LC_TIME): Likewise.
18815 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18816 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18818 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18819 Specify type.
18820 [C99-based standards] (float_t): Expect type.
18821 [C99-based standards] (double_t): Expect type.
18822 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18823 type.
18824 [C99-based standards] (HUGE_VALL): Likewise.
18825 [C99-based standards] (INFINITY): Likewise.
18826 [C99-based standards] (NAN): Likewise.
18827 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18828 [C99-based standards] (FP_NAN): Likewise.
18829 [C99-based standards] (FP_NORMAL): Likewise.
18830 [C99-based standards] (FP_SUBNORMAL): Likewise.
18831 [C99-based standards] (FP_ZERO): Likewise.
18832 [C99-based standards] (FP_FAST_FMA): Use
18833 optional-macro-int-constant. Specify type. Require == 1.
18834 [C99-based standards] (FP_FAST_FMAF): Likewise.
18835 [C99-based standards] (FP_FAST_FMAL): Likewise.
18836 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18837 [C99-based standards] (FP_ILOGBNAN): Likewise.
18838 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18839 Specify type.
18840 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18841 [C99-based standards] (math_errhandling): Specify type.
18842 [ISO99 || ISO11] (signgam): Do not allow.
18843 [non-C99-based standards] (copysignf): Do not allow.
18844 [non-C99-based standards] (exp2f): Likewise.
18845 [non-C99-based standards] (log2f): Likewise.
18846 [non-C99-based standards] (modff): Allow.
18847 [non-C99-based standards] (erff): Do not allow.
18848 [non-C99-based standards] (erfcf): Likewise.
18849 [non-C99-based standards] (gammaf): Likewise.
18850 [non-C99-based standards] (hypotf): Likewise.
18851 [non-C99-based standards] (j0f): Likewise.
18852 [non-C99-based standards] (j1f): Likewise.
18853 [non-C99-based standards] (jnf): Likewise.
18854 [non-C99-based standards] (lgammaf): Likewise.
18855 [non-C99-based standards] (tgammaf): Likewise.
18856 [non-C99-based standards] (y0f): Likewise.
18857 [non-C99-based standards] (y1f): Likewise.
18858 [non-C99-based standards] (ynf): Likewise.
18859 [non-C99-based standards] (isnanf): Likewise.
18860 [non-C99-based standards] (acoshf): Likewise.
18861 [non-C99-based standards] (asinhf): Likewise.
18862 [non-C99-based standards] (atanhf): Likewise.
18863 [non-C99-based standards] (cbrtf): Likewise.
18864 [non-C99-based standards] (expm1f): Likewise.
18865 [non-C99-based standards] (ilogbf): Likewise.
18866 [non-C99-based standards] (log1pf): Likewise.
18867 [non-C99-based standards] (logbf): Likewise.
18868 [non-C99-based standards] (nextafterf): Likewise.
18869 [non-C99-based standards] (remainderf): Likewise.
18870 [non-C99-based standards] (rintf): Likewise.
18871 [non-C99-based standards] (scalbf): Likewise.
18872 [non-C99-based standards] (copysignl): Likewise.
18873 [non-C99-based standards] (exp2l): Likewise.
18874 [non-C99-based standards] (log2l): Likewise.
18875 [non-C99-based standards] (modfl): Allow.
18876 [non-C99-based standards] (erfl): Do not allow.
18877 [non-C99-based standards] (erfcl): Likewise.
18878 [non-C99-based standards] (gammal): Likewise.
18879 [non-C99-based standards] (hypotl): Likewise.
18880 [non-C99-based standards] (j0l): Likewise.
18881 [non-C99-based standards] (j1l): Likewise.
18882 [non-C99-based standards] (jnl): Likewise.
18883 [non-C99-based standards] (lgammal): Likewise.
18884 [non-C99-based standards] (tgammal): Likewise.
18885 [non-C99-based standards] (y0l): Likewise.
18886 [non-C99-based standards] (y1l): Likewise.
18887 [non-C99-based standards] (ynl): Likewise.
18888 [non-C99-based standards] (isnanl): Likewise.
18889 [non-C99-based standards] (acoshl): Likewise.
18890 [non-C99-based standards] (asinhl): Likewise.
18891 [non-C99-based standards] (atanhl): Likewise.
18892 [non-C99-based standards] (cbrtl): Likewise.
18893 [non-C99-based standards] (expm1l): Likewise.
18894 [non-C99-based standards] (ilogbl): Likewise.
18895 [non-C99-based standards] (log1pl): Likewise.
18896 [non-C99-based standards] (logbl): Likewise.
18897 [non-C99-based standards] (nextafterl): Likewise.
18898 [non-C99-based standards] (remainderl): Likewise.
18899 [non-C99-based standards] (rintl): Likewise.
18900 [non-C99-based standards] (scalbl): Likewise.
18901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18902 [non-C99-based standards] (FP_*): Do not allow.
18903 [C99-based standards] (FP_*): Change to
18904 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18905 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18906 allow.
18907 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18908 (SIG_ERR): Likewise.
18909 [X/Open-based standards] (SIG_HOLD): Likewise.
18910 (SIG_IGN): Likewise.
18911 (SIGABRT): Use macro-int-constant. Specify type. Require
18912 positive value.
18913 (SIGFPE): Likewise.
18914 (SIGILL): Likewise.
18915 (SIGINT): Likewise.
18916 (SIGSEGV): Likewise.
18917 (SIGTER): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18936 [X/Open-based standards] (SIGTRAP): Likewise.
18937 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18938 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18939 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18940 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18941 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18942 allow.
18943
b9f1922d
IW
189442012-05-08 Ian Wienand <ianw@vmware.com>
18945
18946 [BZ #14080]
18947 * time/tzset.c (__tzset_parse_tz): Update default rules for
18948 daylight time changes in the Energy Policy Act of 2005.
18949
1db86e88
AJ
189502012-05-09 Andreas Jaeger <aj@suse.de>
18951
18952 [BZ #13983]
18953 * elf/ldconfig.c (parse_conf): Change string to make clear that
18954 ldconfig only issued a warning if ld.so.conf does not exist.
18955
dee4a4e3
DM
189562012-05-08 David S. Miller <davem@davemloft.net>
18957
ee0db190
DM
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18959 movxtod instead of popping the value on the stack.
18960
dee4a4e3
DM
18961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18962
6a43ec98
CD
189632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18964
18965 * config.h.in: Add HAVE_ARM_PCS_VFP.
18966
05c2c961
RMG
189672012-05-08 Roland Mc Grath <roland@hack.frob.com>
18968
bcfe3a54
ST
18969 [BZ #13979]
18970 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18971 checking but the checks are disabled for any reason.
05c2c961 18972
4b30f61a
L
189732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18974
18975 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18976 and ELF64_R_TYPE with ELFW(R_TYPE).
18977
eee2bc67
JM
189782012-05-08 Joseph Myers <joseph@codesourcery.com>
18979
7ea5391a
JM
18980 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18981 (ulimit): Likewise.
18982
eee2bc67
JM
18983 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18984 (settimeofday): Likewise.
18985
abb66a67
MF
189862012-05-08 Mike Frysinger <vapier@gentoo.org>
18987
18988 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18989 a struct th_u2 inside the union, and move tu_block/tu_code into
18990 a new th_u3 union of tu_block/tu_code inside of that. Move
18991 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18992 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18993 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18994 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18995 (th_stuff): Change to th_u1.tu_stuff.
18996 (th_data): Define.
18997 (th_msg): Change to th_u1.th_u2.tu_data.
18998
7f18b530
DM
189992012-05-07 David S. Miller <davem@davemloft.net>
19000
05760585
DM
19001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19002
7f18b530
DM
19003 [BZ #14074]
19004 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19005 (SETUP_PIC_REG): Use it.
19006 (SETUP_PIC_REG_LEAF): Use it.
19007
495fd99f
JM
190082012-05-07 Joseph Myers <joseph@codesourcery.com>
19009
19010 [BZ #13885]
19011 [BZ #13923]
19012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19013 USE_AS_EXPM1L.
19014 (EXPL_FINITE): Likewise.
19015 (FLDLOG): Likewise.
19016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19017 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19018 e_expl.S.
19019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19020 USE_AS_EXPM1L.
19021 (EXPL_FINITE): Likewise.
19022 (FLDLOG): Likewise.
19023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19024 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19025 e_expl.S.
19026 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19027 test of -max_value argument for long double.
19028 * sysdeps/i386/fpu/libm-test-ulps: Update.
19029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19030
6693d694
DM
190312012-05-06 David S. Miller <davem@davemloft.net>
19032
19033 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19034 quad soft-float symbols whose references which are compiler
19035 generated.
19036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19037
6c23e11c
JM
190382012-05-06 Joseph Myers <joseph@codesourcery.com>
19039
d8b82cad
JM
19040 [BZ #13884]
19041 [BZ #13914]
19042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19043 USE_AS_EXP10L.
19044 (EXPL_FINITE): Likewise.
19045 (FLDLOG): Likewise.
19046 (c0): Likewise.
19047 (c1): Likewise.
19048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19049 Adjust comments for base varying.
19050 (__expl_finite): Change alias to EXPL_FINITE.
19051 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19052 e_expl.S.
19053 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19054 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19056 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19058 USE_AS_EXP10L.
19059 (EXPL_FINITE): Likewise.
19060 (FLDLOG): Likewise.
19061 (c0): Likewise.
19062 (c1): Likewise.
19063 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19064 Adjust comments for base varying.
19065 (__expl_finite): Change alias to EXPL_FINITE.
19066 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19067 tests for bugs.
19068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19069
6c23e11c
JM
19070 [BZ #14064]
19071 * math/libm-test.inc (check_float_internal): Correct ulp
19072 calculation for subnormal expected results.
19073
29ba805c
AJ
190742012-05-06 Andreas Jaeger <aj@suse.de>
19075
19076 * Makeconfig (+math-flags): New, set to -frounding-math.
19077 (+cflags): Add +math-flags so that all of glibc gets compiled with
19078 it.
19079
19080 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19081
7b17aeda
JM
190822012-05-05 Joseph Myers <joseph@codesourcery.com>
19083
5779f134
JM
19084 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19085 Disable one test.
19086
41498f4d
JM
19087 [BZ #13787]
19088 [BZ #13922]
19089 [BZ #14036]
19090 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19091 (__ieee754_expl): Allow for and saturate large arguments.
19092 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19093 (u_threshold): Likewise.
19094 (__exp): Call __ieee754_exp before checking for overflow and
19095 underflow.
19096 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19097 (u_threshold): Likewise.
19098 (__expf): Call __ieee754_expf before checking for overflow and
19099 underflow.
19100 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19101 (u_threshold): Likewise.
19102 (__expl): Call __ieee754_expl before checking for overflow and
19103 underflow.
19104 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19105 (__ieee754_expl): Allow for and saturate large arguments.
19106 * math/libm-test.inc (exp_test): Add another test. Do not allow
19107 missing overflow exception on overflow.
19108 (expm1_test): Do not allow missing overflow exception on overflow.
19109
6698b8bf
JM
19110 * sysdeps/i386/fpu/e_expl.c: Move to ...
19111 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19112 rather than using inline asm.
19113 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19114 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19115 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19116
7b17aeda
JM
19117 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19118 (nice): Likewise.
19119 (poll): Likewise.
19120 (signal): Likewise.
19121 (time): Likewise.
19122 (times): Likewise.
19123
f7c85819
JM
191242012-05-04 Joseph Myers <joseph@codesourcery.com>
19125
19126 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19127 sysdeps/unix/common/syscalls.list.
19128 (fchmod): Likewise.
19129 (fchown): Likewise.
19130 (ftruncate): Likewise.
19131 (getrusage): Likewise.
19132 (gettimeofday): Likewise.
19133 (setpgid): Likewise.
19134 (setregid): Likewise.
19135 (setreuid): Likewise.
19136 (sigaction): Likewise.
19137 (truncate): Likewise.
19138 (vhangup): Likewise.
19139 * sysdeps/unix/common/syscalls.list: Remove file.
19140 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19141 * sysdeps/unix/sysv/linux/Implies: Likewise.
19142
336270d0
L
191432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19148 Moved to ...
19149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19150 Here.
19151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19152 to ...
19153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19155 to ...
19156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19158 to ...
19159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19161 to ...
19162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19164 to ...
19165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19167 to ...
19168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19170 to ...
19171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19172 Here.
19173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19174 to ...
19175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19176 Here.
19177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19178 to ...
19179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19181 Moved to ...
19182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19183 Here.
19184 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19185 to ...
19186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19187
d128e450
JM
191882012-05-04 Joseph Myers <joseph@codesourcery.com>
19189
fa8ee516
JM
19190 * sysdeps/unix/common/bits/dirent.h: Remove file.
19191 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19192
d128e450
JM
19193 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19194 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19195 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19196 * sysdeps/unix/bsd/isatty.c: Likewise.
19197 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19198 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19199 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19200
ff8faaf0 192012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19202
62881be4 19203 [BZ #13563]
31dc8730
AZ
19204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19205 long double comparison inaccuracies.
19206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19208
6fef930c
AS
192092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19210
19211 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19213
8f203e6c
JM
192142012-05-04 Joseph Myers <joseph@codesourcery.com>
19215
19216 [BZ #14049]
19217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19218 nonzero digits before rounding a hex value.
19219 * stdlib/tst-strtod.c (tests): Add another test.
19220
5197d9c2
AK
192212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19222
19223 * sysdeps/s390/fpu/libm-test-ulps: Update.
19224
f0c1dedf
AJ
192252012-05-03 Andreas Jaeger <aj@suse.de>
19226
19227 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19228 does not get optimized out.
19229 (malloc_opt_barrier): New.
19230
a65ef2ae 192312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19232 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19233
2b942cb7 19234 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19235 intermediate file deletion.
2b942cb7 19236 (generated): Add .symlist files.
a65ef2ae 19237
54b71e02
JM
192382012-05-03 Joseph Myers <joseph@codesourcery.com>
19239
19240 [BZ #13775]
19241 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19242 Redirect under this condition.
19243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19244 [__USE_GNU] (__dprintf_chk): Not under this condition.
19245 [__USE_GNU] (__vdprintf_chk): Likewise.
19246 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19247 under this condition.
19248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19249 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19250 [__USE_XOPEN2K8] (vdprintf): Likewise.
19251 [__USE_GNU] (__dprintf_chk): Not under this condition.
19252 [__USE_GNU] (__vdprintf_chk): Likewise.
19253 [__USE_GNU] (dprintf): Likewise.
19254 [__USE_GNU] (vdprintf): Likewise.
19255
d3dfcc41
RM
192562012-05-03 Roland McGrath <roland@hack.frob.com>
19257
19258 * elf/Makefile (common-generated): Set this instead of generated for
19259 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19260 $(all-built-dso)-derived lists.
19261
7ac30cc5
AJ
192622012-05-03 Andreas Jaeger <aj@suse.de>
19263
0c51e550
AJ
19264 * sysdeps/i386/fpu/libm-test-ulps: Update.
19265
7ac30cc5
AJ
19266 * FAQ: Removed.
19267 * FAQ.in: Likewise.
19268 * scripts/gen-FAQ.pl: Likewise.
19269 * manual/install.texi (Installation): Point to online location of
19270 FAQ.
19271 * Makefile (files-for-dist): Remove FAQ.
19272 (FAQ): Remove.
19273
d4c2917f
AM
192742012-05-02 Allan McRae <allan@archlinux.org>
19275
19276 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19277 (LDFLAGS-reldepmod5.so): Likewise.
19278 (LDFLAGS-reldep6mod1.so): Likewise.
19279 (LDFLAGS-reldep6mod4.so): Likewise.
19280 (LDFLAGS-reldep8mod3.so): Likewise.
19281 (LDFLAGS-unload4mod1.so): Likewise.
19282 (LDFLAGS-unload4mod2.so): Likewise.
19283 (LDFLAGS-tst-initorder): Likewise.
19284 (LDFLAGS-tst-initordera2.so): Likewise.
19285 (LDFLAGS-tst-initordera3.so): Likewise.
19286 (LDFLAGS-tst-initordera4.so): Likewise.
19287 (LDFLAGS-tst-initorderb2.so): Likewise.
19288 (LDFLAGS-noload): Likewise.
19289 (LDFLAGS-next): Likewise.
19290 (LDFLAGS-order2mod1.so): Likewise.
19291 (LDFLAGS-order2mod2.so): Likewise.
19292 (LDFLAGS-tst-initorder2): Likewise.
19293 (LDFLAGS-tst-initorder2a.so): Likewise.
19294 (LDFLAGS-tst-initorder2b.so): Likewise.
19295 (LDFLAGS-tst-initorder2c.so): Likewise.
19296 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19297
d77f993f
DM
192982012-05-02 David S. Miller <davem@davemloft.net>
19299
19300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19301
171a70b4
PP
193022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19303
19304 [BZ #14055]
19305 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19306
0be196ad
AJ
193072012-05-02 Andreas Jaeger <aj@suse.de>
19308
19309 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19310 since we manipulate rounding mode.
19311 (CPPFLAGS-test-idouble.c): Likewise.
19312 (CPPFLAGS-test-ifloat.c): Likewise.
19313 (CFLAGS-test-ldouble.c): Likewise.
19314 (CFLAGS-test-double.c): Likewise.
19315 (CFLAGS-test-float.c): Likewise.
19316 (CFLAGS-test-misc.c): Likewise.
19317 (CFLAGS-test-test-fenv.c): Likewise.
19318
4f9d04aa
AZ
193192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19320
2b942cb7
RM
19321 [BZ #2550]
19322 [BZ #2570]
19323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19324 comparisons to determine direction to adjust input.
4f9d04aa 19325
82a79e7d
RM
193262012-05-01 Roland McGrath <roland@hack.frob.com>
19327
f5a01ca9
RM
19328 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19329 output to the target.
19330
90fe4186
RM
19331 * scripts/localplt.awk: New file.
19332 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19333 (check-localplt-CFLAGS): Variable removed.
19334 ($(all-built-dso:=.jmprel)): New static pattern rule.
19335 (generated): Add those targets.
19336 (localplt-built-dso): New variable.
19337 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19338
19339 * elf/check-localplt.c: File removed.
19340
82397ed6
RM
19341 * scripts/check-execstack.awk: New file.
19342 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19343 (check-execstack-CFLAGS): Variable removed.
19344 ($(objpfx)check-execstack.h): Target removed.
19345 ($(objpfx)execstack-default): New target.
19346 (generated): Add that instead of check-execstack.h.
19347 ($(all-built-dso:=.phdr)): New static pattern rule.
19348 (generated): Add those targets.
19349 * elf/check-execstack.c: File removed.
19350
82a79e7d
RM
19351 * scripts/check-textrel.awk: New file.
19352 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19353 (check-textrel-CFLAGS): Variable removed.
19354 (all-built-dso): Use := to define.o
19355 ($(all-built-dso:=.dyn)): New static pattern rule.
19356 (generated): Add those targets.
19357 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19358 * config.make.in (READELF): New substituted variable.
19359 * elf/check-textrel.c: File removed.
19360
62fde54f 193612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19362
615605c9
JM
19363 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19364 allow.
19365 * conform/data/ctype.h-data [C99-based standards] (isblank):
19366 Expect function.
19367 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19368 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19370 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19371 Specify type. Require positive value.
19372 (EILSEQ): Likewise.
19373 (ERANGE): Likewise.
19374 [ISO || POSIX] (EILSEQ): Do not expect.
19375 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19376 Specify type. Require positive value.
19377 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19378 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19379 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19380 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19381 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19382 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19383 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19384 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19397 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19400 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19402 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19403 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19404 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19405 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19406 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19407 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19408 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19409 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19410 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19411 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19412 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19413 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19414 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19415 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19416 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19417 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19418 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19419 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19420 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19421 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19422 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19423 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19424 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19425 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19426 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19427 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19428 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19429 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19430 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19431 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19432 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19433 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19434 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19435 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19436 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19437 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19438 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19439 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19440 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19441 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19442 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19443 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19444 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19445 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19446 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19447 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19448 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19449 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19450 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19451 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19452 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19453 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19454 Require >= 2.
19455 (FLT_ROUNDS): Expect as macro, not constant.
19456 (FLT_MANT_DIG): Use macro-int-constant.
19457 (DBL_MANT_DIG): Likewise.
19458 (LDBL_MANT_DIG): Likewise.
19459 (FLT_DIG): Likewise.
19460 (DBL_DIG): Likewise.
19461 (LDBL_DIG): Likewise.
19462 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19463 (DBL_MIN_EXP): Likewise.
19464 (LDBL_MIN_EXP): Likewise.
19465 (FLT_MAX_EXP): Use macro-int-constant.
19466 (DBL_MAX_EXP): Likewise.
19467 (LDBL_MAX_EXP): Likewise.
19468 (FLT_MAX_10_EXP): Likewise.
19469 (DBL_MAX_10_EXP): Likewise.
19470 (LDBL_MAX_10_EXP): Likewise.
19471 (FLT_MAX): Use macro-constant.
19472 (DBL_MAX): Likewise.
19473 (LDBL_MAX): Likewise.
19474 (FLT_EPSILON): Use macro-constant. Give upper bound.
19475 (DBL_EPSILON): Likewise.
19476 (LDBL_EPSILON): Likewise.
19477 (FLT_MIN): Likewise.
19478 (DBL_MIN): Likewise.
19479 (LDBL_MIN): Likewise.
19480 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19481 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19482 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19483 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19484 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19485 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19486 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19487 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19488 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19489 [ISO11] (FLT_TRUE_MIN): Likewise.
19490 [ISO11] (LDBL_TRUE_MIN): Likewise.
19491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19492 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19493 (SCHAR_MIN): Use macro-int-constant. Specify type.
19494 (SCHAR_MAX): Likewise.
19495 (UCHAR_MAX): Likewise.
19496 (CHAR_MIN): Likewise.
19497 (CHAR_MAX): Likewise.
19498 (MB_LEN_MAX): Use macro-int-constant.
19499 (SHRT_MIN): Use macro-int-constant. Specify type.
19500 (SHRT_MAX): Likewise.
19501 (USHRT_MAX): Likewise.
19502 (INT_MAX): Likewise.
19503 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19504 bound negative.
19505 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19506 bound with "U".
19507 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19508 bound with "L".
19509 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19510 bound negative. Suffix upper bound with "L".
19511 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19512 bound with "UL".
19513 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19514 Specify type.
19515 [C99-based standards] (LLONG_MAX): Likewise.
19516 [C99-based standards] (ULLONG_MAX): Likewise.
19517 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19518 == 0.
19519 [ISO11] (max_align_t): Require type.
19520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19521
c9140a62
JM
19522 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19523 from $CFLAGS, without defining away __attribute__ calls.
19524 (checknamespace): Use $CFLAGS_namespace.
19525
9af0bf29
JM
19526 * conform/conformtest.pl (@keywords): Only include C99 keywords
19527 for standards based on C99 or C11.
19528
343222a2
JM
19529 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19530 Disable tests.
19531 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19532 UNIX98]: Likewise.
19533
661f8cf0
JM
19534 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19535 usability of symbols in #if.
19536
ee74b9cb
JM
19537 * conform/conformtest.pl: If macro or constant types start
19538 "promoted:", expect the symbol to be of the following type
19539 promoted by the integer promotions.
62fde54f 19540
aafc49b3
JM
19541 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19542 in one place. Also handle "macro-constant".
19543
fefdf574
JM
19544 * conform/conformtest.pl: Only accept expected macro values with
19545 "==". Parse all "macro" lines in one place.
19546 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19547
f2d922fe
JM
19548 * conform/conformtest.pl: Handle braced types on "constant" lines
19549 instead of handling "typed-constant".
19550 * conform/data/signal.h-data: Use "constant" instead of
19551 "typed-constant".
19552
d22956c9
JM
19553 * conform/conformtest.pl: Handle "optional-" at start of lines in
19554 one place rather than duplicating several cases. Handle each
19555 format of "macro" line with initial "optional-".
19556
028e2e38
JM
19557 * conform/conformtest.pl: Only accept expected constant or
19558 optional-constant values with "==". Parse all "constant" lines in
19559 one place. Parse all "optional-constant" lines in one place.
19560 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19561 * conform/data/fmtmsg.h-data: Likewise.
19562 * conform/data/netinet/in.h-data: Likewise.
19563 * conform/data/tar.h-data: Likewise.
19564 * conform/data/limits.h-data: Use "==" form on "constant" and
19565 "optional-constant" lines.
19566
1b8f2850
JM
19567 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19568 Use -std=c99 for XOPEN2K.
19569 (@knownproblems): Remove.
19570 (newtoken): Don't check %isknown.
19571
a05a144b
JM
19572 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19573 Do not expect macro.
19574 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19586 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19587 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19604 [XPG3] (acosh): Likewise.
19605 [XPG3] (asinh): Likewise.
19606 [XPG3] (atanh): Likewise.
19607 [XPG3] (cbrt): Likewise.
19608 [XPG3] (expm1): Likewise.
19609 [XPG3] (ilogb): Likewise.
19610 [XPG3] (log1p): Likewise.
19611 [XPG3] (logb): Likewise.
19612 [XPG3] (nextafter): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19615 [XPG3] (remainder): Likewise.
19616 [XPG3] (rint): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19624 [UNIX98 || XOPEN2K] (scalb): Expect.
19625 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19626 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19762
73c5ebe3
JM
19763 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19764 _XOPEN_SOURCE_EXTENDED for XPG4.
19765
39c33b6c
JM
19766 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19767
62fde54f
JM
19768 * Makeconfig (localtime): Remove variable.
19769 (inst_localtime-file): Likewise.
19770
0741d64c
AS
197712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19772
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19774 Update.
19775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19776 Update.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19778 Update.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19780 Update.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19782 Update.
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19784 Update.
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19786 Update.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19788 Update.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19790 Update.
19791
7cb029ee
JM
197922012-05-01 Joseph Myers <joseph@codesourcery.com>
19793
19794 [BZ #2550]
19795 [BZ #2570]
19796 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19797 comparisons to determine direction to adjust input.
19798 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19799 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19801 Likewise.
19802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19803 Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19805 Likewise.
19806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19808 Likewise.
19809 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19810 Likewise.
19811 * math/libm-test.inc (nexttoward_test): Add more tests.
19812
412bd966
AS
198132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19814
19815 [BZ #14040]
19816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19817 in version GLIBC_2.1, not GLIBC_2.0.
19818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19819 Likewise.
19820
9568c0c2
JM
198212012-04-30 Joseph Myers <joseph@codesourcery.com>
19822
adfbc8ac
JM
19823 [BZ #13942]
19824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19825 (1 - x) * (1 + x).
19826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19827 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19828 * math/libm-test.inc (acos_test): Add more tests.
19829 (asin_test): Likewise.
19830 * sysdeps/i386/fpu/libm-test-ulps: Update.
19831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832
5ba3cc69
JM
19833 [BZ #14034]
19834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19835 of square root.
19836 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19838 * math/libm-test.inc (acos_test_tonearest): New function.
19839 (acos_test_towardzero): Likewise.
19840 (acos_test_downward): Likewise.
19841 (acos_test_upward): Likewise.
19842 (asin_test_tonearest): Likewise.
19843 (asin_test_towardzero): Likewise.
19844 (asin_test_downward): Likewise.
19845 (asin_test_upward): Likewise.
19846 (main): Call the new functions.
19847 * sysdeps/i386/fpu/libm-test-ulps: Update.
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19849
9568c0c2
JM
19850 [BZ #13884]
19851 [BZ #13924]
19852 * math/e_exp10.c: Include <float.h>.
19853 (__ieee754_exp10): Handle underflow here rather than multiplying
19854 large negative argument by M_LN10.
19855 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19856 of __ieee754_expf.
19857 * math/e_exp10l.c: Include <float.h>.
19858 (__ieee754_exp10l): Handle underflow here rather than multiplying
19859 large negative argument by M_LN10l.
19860 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19861 spurious overflow exception on underflow.
19862
5ac3ea17
MP
198632012-04-29 Marek Polacek <polacek@redhat.com>
19864
19865 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19866 (__fortify_function): New macro.
19867 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19868 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19869 __extern_always_inline.
19870 * libio/bits/stdio2.h: Likewise.
19871 * libio/bits/stdio.h: Likewise.
19872 * string/string.h: Likewise.
19873 * string/bits/string3.h: Likewise.
19874 * include/stdio.h: Likewise.
19875 * stdlib/bits/stdlib.h: Likewise.
19876 * stdlib/stdlib.h: Likewise.
19877 * rt/bits/mqueue2.h: Likewise.
19878 * rt/mqueue.h: Likewise.
19879 * posix/bits/unistd.h: Likewise.
19880 * posix/unistd.h: Likewise.
19881 * io/bits/poll2.h: Likewise.
19882 * io/bits/fcntl2.h: Likewise.
19883 * io/fcntl.h: Likewise.
19884 * io/sys/poll.h: Likewise.
19885 * misc/bits/syslog.h: Likewise.
19886 * misc/bits/syslog-ldbl.h: Likewise.
19887 * misc/sys/syslog.h: Likewise.
19888 * socket/bits/socket2.h: Likewise.
19889 * socket/sys/socket.h: Likewise.
19890 * debug/tst-chk1.c: Likewise.
19891 * wcsmbs/bits/wchar2.h: Likewise.
19892 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19893 * wcsmbs/wchar.h: Likewise.
19894
ecf0ebfb
AJ
198952012-04-29 Andreas Jaeger <aj@suse.de>
19896
19897 * Makerules (tests): Remove enable-check-abi protection.
19898 (check-abi-warn): Remove.
19899 (check-abi-%): Remove check-abi-warn usage.
19900
19901 * configure.in: Remove check-abi configure option.
19902 * configure: Regenerated.
19903 * config.make.in (enable-check-abi): Remove.
19904
6d5c57fa
AS
199052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19906
24c5d07e 19907 [BZ #14033]
ded5180a
AS
19908 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19909 double functions to double *_finite functions.
19910
7e0d315d
AS
19911 [BZ #13941]
19912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19913 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19914 LDBL_MIN_EXP.
19915 * stdio-common/Makefile (tests): Add tst-sprintf3.
19916 * stdio-common/tst-sprintf3.c: New file.
19917
6d5c57fa
AS
19918 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19919 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19920
0749ff8b
JM
199212012-04-28 Joseph Myers <joseph@codesourcery.com>
19922
19923 * conform/conformtest.pl: Remove duplicate typed-constant
19924 handling.
19925
8dbd5d7b
DM
199262012-04-28 David S. Miller <davem@davemloft.net>
19927
19928 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19929 (check-abi-%): Remove AWK script prerequisite and explicit
19930 abilist directory.
19931 (check-abi): Rewrite to just diff the symlist with the abilist.
19932 (config-tls, config-abi-config): Delete, no longer used.
19933 (update-abi-%): Remove AWK script and explicit abilist directory.
19934 (update-abi): Rewrite to simply compare and conditionally copy the
19935 symlist and the sysdep abilist file. Remove update-abi-config
19936 checks.
19937 * abilist/ld.abilist: Remove.
19938 * abilist/libBrokenLocale.abilist: Remove.
19939 * abilist/libanl.abilist: Remove.
19940 * abilist/libcrypt.abilist: Remove.
19941 * abilist/libdl.abilist: Remove.
19942 * abilist/librt.abilist: Remove.
19943 * abilist/libthread_db.abilist: Remove.
19944 * abilist/libutil.abilist: Remove.
19945 * scripts/extract-abilist.awk: Remove.
19946 * scripts/merge-abilist.awk: Remove.
19947 * sysdeps/generic/libcidn.abilist: New file.
19948 * sysdeps/generic/libnss_compat.abilist: New file.
19949 * sysdeps/generic/libnss_db.abilist: New file.
19950 * sysdeps/generic/libnss_dns.abilist: New file.
19951 * sysdeps/generic/libnss_files.abilist: New file.
19952 * sysdeps/generic/libnss_hesiod.abilist: New file.
19953 * sysdeps/generic/libnss_nis.abilist: New file.
19954 * sysdeps/generic/libnss_nisplus.abilist: New file.
19955 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19956 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19957 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19958 file.
19959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19960 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19961 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19962 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19963 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19965 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19966 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19968 file.
19969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19973 file.
19974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19980 file.
19981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19982 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19984 file.
19985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19987 New file.
19988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19989 New file.
19990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19991 New file.
19992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19993 New file.
19994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19995 New file.
19996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19997 New file.
19998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19999 New file.
20000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20001 New file.
20002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20003 New file.
20004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20005 New file.
20006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20007 New file.
20008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20009 New file.
20010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20011 New file.
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20013 file.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20015 New file.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20017 New file.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20019 file.
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20021 New file.
20022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20023 New file.
20024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20025 file.
20026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20027 New file.
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20029 New file.
20030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20031 New file.
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20033 New file.
20034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20035 New file.
20036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20037 New file.
20038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20040 file.
20041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20042 New file.
20043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20044 file.
20045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20046 file.
20047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20048 file.
20049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20050 file.
20051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20052 file.
20053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20054 New file.
20055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20056 file.
20057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20058 file.
20059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20060 New file.
20061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20062 file.
20063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20065 file.
20066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20067 New file.
20068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20069 file.
20070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20071 file.
20072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20073 file.
20074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20075 file.
20076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20077 file.
20078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20079 New file.
20080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20081 file.
20082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20083 file.
20084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20085 New file.
20086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20087 file.
20088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20090 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20091 file.
20092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20094 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20095 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20096 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20098 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20104 file.
20105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20106 New file.
20107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20108 file.
20109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20110 file.
20111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20112 file.
20113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20114 file.
20115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20116 file.
20117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20118 New file.
20119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20120 New file.
20121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20122 file.
20123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20124 New file.
20125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20126 file.
20127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20129 file.
20130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20131 New file.
20132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20133 file.
20134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20135 file.
20136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20137 file.
20138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20139 file.
20140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20141 file.
20142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20143 New file.
20144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20145 New file.
20146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20147 file.
20148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20149 New file.
20150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20151 file.
20152
41d73a1b
JM
201532012-04-28 Joseph Myers <joseph@codesourcery.com>
20154
20155 * conform/conformtest.pl: Fix typo in handling typed-constant from
20156 allow-header.
20157
28aeeda4
JM
201582012-04-27 Joseph Myers <joseph@codesourcery.com>
20159
adae8f5e
JM
20160 * README: Cut down references to pre-2.6 Linux kernels and
20161 Linuxthreads. Update lists of configurations in libc and ports
20162 and sort alphabetically. Say "or newer" with Linux kernel version
20163 requirements.
20164
28aeeda4
JM
20165 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20166
a462cb63
RA
201672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20168
20169 [BZ #887]
20170 * math/libm-test.inc (logb_test_downward): New test to expose
20171 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20172 rounding mode.
20173
6ad3493e
JM
201742012-04-27 Joseph Myers <joseph@codesourcery.com>
20175
20176 [BZ #14027]
20177 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20178 to be done.
20179 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20180 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20181
2ce4f015
JM
201822012-04-26 Joseph Myers <joseph@codesourcery.com>
20183
5aeb141a
JM
20184 * sysdeps/unix/i386/brk.S: Remove file.
20185 * sysdeps/unix/i386/dl-brk.S: Likewise.
20186 * sysdeps/unix/i386/pipe.S: Likewise.
20187 * sysdeps/unix/i386/sigreturn.S: Likewise.
20188 * sysdeps/unix/i386/syscall.S: Likewise.
20189 * sysdeps/unix/i386/vfork.S: Likewise.
20190 * sysdeps/unix/i386/wait.S: Likewise.
20191
7143acae
JM
20192 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20193 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20194
2ce4f015
JM
20195 * configure.in (arm*-none*): Do not allow without
20196 --enable-hacker-mode.
20197 (netbsd*): Remove case setting base_os.
20198 (386bsd*): Likewise.
20199 (freebsd*): Likewise.
20200 (bsdi*): Likewise.
20201 (osf*): Likewise.
20202 (sunos*): Likewise.
20203 (ultrix*): Likewise.
20204 (newsos*): Likewise.
20205 (dynix*): Likewise.
20206 (*bsd*): Likewise.
20207 (sysv*): Likewise.
20208 (isc*): Likewise.
20209 (esix*): Likewise.
20210 (sco*): Likewise.
20211 (minix*): Likewise.
20212 (irix4*): Likewise.
20213 (irix6*): Likewise.
20214 (solaris[2-9]*): Likewise.
20215 (none): Likewise.
20216 * configure: Regenerated.
20217
0ac229c8
AZ
202182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219
20220 [BZ #11521]
20221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20222 overflow or cancellation in calculating denominator.
20223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20225 down expression to avoid unexpected rounding in newer GCCs.
20226 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20227
33f244f4
DM
202282012-04-26 David S. Miller <davem@davemloft.net>
20229
20230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20231 long-double compat symbols.
20232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20245
cfa1f3e8
DM
202462012-04-25 David S. Miller <davem@davemloft.net>
20247
20248 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20249 HWCAP_* values only after the memory barriers have been defined.
20250 (atomic_full_barrier): Define.
20251 (atomic_read_barrier): Define.
20252 (atomic_write_barrier): Define.
20253
6e236b92
SP
202542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20255
20256 * shlib-versions: Add libgcc_s version information.
20257 * sysdeps/generic/libgcc_s.h: Remove.
20258 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20259 libgcc_s.h.
20260 * sysdeps/gnu/unwind-resume.c: Likewise.
20261 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20262
aab39a09
DM
202632012-04-25 David S. Miller <davem@davemloft.net>
20264
20265 * sysdeps/unix/sparc/brk.S: Delete.
20266 * sysdeps/unix/sparc/dl-brk.S: Delete.
20267 * sysdeps/unix/sparc/pipe.S: Delete.
20268 * sysdeps/unix/sparc/sysdep.S: Delete.
20269 * sysdeps/unix/sparc/sysdep.h: Delete.
20270 * sysdeps/unix/sparc/vfork.S: Delete.
20271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20272 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20274 ret_ERRVAL, r0, r1, MOVE): Define.
20275 (JUMPTARGET): Remove.
20276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20277 sysdeps/unix/sparc/sysdep.h
20278 (ENTRY, END): Remove.
20279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20280
a3cc4f48
JM
202812012-04-25 Joseph Myers <joseph@codesourcery.com>
20282
2ed8cda2
JM
20283 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20284 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20285 -DIS_IN_build.
20286
35d76d59
JM
20287 * timezone/README: Update upstream location and email address for
20288 tzcode and tzdata.
20289 * timezone/zdump.c: Update from tzcode 2012b.
20290 * timezone/zic.c: Likewise.
20291
a3cc4f48
JM
20292 * configure.in (libc_cv_as_needed): Remove test.
20293 * configure: Regenerated.
20294 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20295 conditional definition.
20296 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20297 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20298 * config.make.in (have-as-needed): Remove variable.
20299
ceab42c3
SP
203002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20301 Paul Pluzhnikov <ppluzhnikov@google.com>
20302
20303 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20304 strings correctly.
20305
3ce2865f
CLT
203062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20307
20308 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20309 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20310 * sysdeps/sh/strlen.S: Likewise.
20311
f37e0d68
JM
203122012-04-24 Joseph Myers <joseph@codesourcery.com>
20313
ae186e9a
JM
20314 * sysdeps/unix/fork.S: Remove file.
20315 * sysdeps/unix/i386/fork.S: Likewise.
20316 * sysdeps/unix/sparc/fork.S: Likewise.
20317
b96914af
JM
20318 * sysdeps/unix/system.c: Remove file.
20319 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20320
f37e0d68
JM
20321 * sysdeps/unix/getegid.S: Remove file.
20322 * sysdeps/unix/geteuid.S: Likewise.
20323
87ef29ca
RM
203242012-04-24 Roland McGrath <roland@hack.frob.com>
20325
83bcd236
RM
20326 * scripts/check-localplt.awk: New file.
20327 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20328 of diff.
20329 * scripts/data/localplt-generic.data: Add a comment.
20330
87ef29ca
RM
20331 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20332 NODE when __dir_mkfile failed.
20333 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20334 Reported by Ludovic Courtès <ludo@gnu.org>.
20335
e5a6e567
AJ
203362012-04-24 Andreas Jaeger <aj@suse.de>
20337
20338 * Makerules (common-clean): Also remove gen-as-const-headers
20339 files.
20340
c1820385
JM
203412012-04-24 Joseph Myers <joseph@codesourcery.com>
20342
20343 * Makerules (native-compile): Do not change working directory for
20344 build. Use $(OUTPUT_OPTION) in command.
20345 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20346
94e02fc4
AZ
203472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20348
20349 [BZ #13886]
20350 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20351 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20352 * math/libm-test.inc (floor_test): Add more tests.
20353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20354
3a533ca3
JM
203552012-04-24 Joseph Myers <joseph@codesourcery.com>
20356
940ab4b3
JM
20357 * sysdeps/unix/getdents.c: Remove file.
20358 * sysdeps/unix/sysv/getdents.c: Likewise.
20359 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20360
90e037bd
JM
20361 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20362 sysdeps/unix/mman/syscalls.list.
20363 (mmap): Likewise.
20364 (mprotect): Likewise.
20365 (msync): Likewise.
20366 (munmap): Likewise.
20367 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20368 * sysdeps/unix/mman/syscalls.list: Remove.
20369 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20370
3a533ca3
JM
20371 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20372 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20373 * configure: Regenerated.
20374 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20375 $(libgcc_s_suffix).
20376 * config.make.in (libgcc_s_suffix): Remove variable.
20377
1ad743de
JM
203782012-04-23 Joseph Myers <joseph@codesourcery.com>
20379
4ad451e2
JM
20380 * sysdeps/unix/sysv/gethostname.c: Move to ...
20381 * sysdeps/posix/gethostname.c: ... here.
20382
5e37ce39
JM
20383 * sysdeps/unix/execve.S: Remove file.
20384
1ad743de
JM
20385 * sysdeps/unix/_exit.S: Remove file.
20386
4e681b5b
AJ
203872012-04-23 Andreas Jaeger <aj@suse.de>
20388
20389 [BZ #13739]
20390 * manual/Makefile: Remove make dist support, there's no
20391 need for a stand-alone documentation tar ball.
20392 (TEXI2DVI): Define always, it's not in Makeconfig.
20393 (dist): Removed.
20394 (tar-it): Removed.
20395 (edition): Removed.
20396 (glibc-doc-$(edition).tar): Removed
20397 (%.Z): Removed.
20398 (%.gz): Removed.
20399 (%.uu): Removed.
20400 (ETAGS): Remove, it's in Makeconfig.
20401 (move-if-change): Remove, it's in Makeconfig.
20402
38686a03 204032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20404
20405 [BZ #13970]
20406 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20407 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20408 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20409 (strtod_l, strtof_l, strtold_l): Remove __wur.
20410 It is not necessarily an error to ignore strtol's return value.
20411 One can reliably look at the stored endptr to decide whether
20412 the number had valid syntax.
20413
7c0616fa
AJ
204142012-04-21 Andreas Jaeger <aj@suse.de>
20415
803cb6b7 20416 [BZ #13739]
7c0616fa
AJ
20417 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20418
b0fe253f
JM
204192012-04-21 Joseph Myers <joseph@codesourcery.com>
20420
20421 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20422 * sysdeps/unix/sysv/Versions: Remove file.
20423
8280f22d
MT
204242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20425
20426 [BZ #13927]
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20428
75ce411f 204292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20430
20431 [BZ #7064]
20432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20433 version from __vm86.
20434
097d59fa
JM
204352012-04-20 Joseph Myers <joseph@codesourcery.com>
20436
a90f3bcb
JM
20437 * sysdeps/unix/common/lxstat.c: Remove file.
20438 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20439
edc7ea78
JM
20440 * sysdeps/unix/sysv/Makefile: Remove file.
20441
cb78c221
JM
20442 * sysdeps/unix/sysv/direct.h: Remove file.
20443
efa6a45f
JM
20444 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20445 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20446 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20447 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20448 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20449 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20450 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20451
9c9f2d0c
JM
20452 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20453
4541c83b
JM
20454 * sysdeps/unix/xmknod.c: Remove file.
20455 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20456
f5d153a0
JM
20457 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20458
aa746595
JM
20459 * sysdeps/unix/sysv/i386/time.S: Remove file.
20460
cce5905e
JM
20461 * sysdeps/unix/fxstat.c: Remove file.
20462 * sysdeps/unix/xstat.c: Likewise.
20463 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20464
37fa3841
JM
20465 * sysdeps/unix/sysv/sigaction.c: Remove file.
20466
ff1962a3
JM
20467 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20468 (sysdep_headers): Remove variable.
20469 [termio.h not in sysdep_headers] (generated): Likewise.
20470 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20471 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20472 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20473 * sysdeps/unix/sysv/tcflow.c: Likewise.
20474 * sysdeps/unix/sysv/tcflush.c: Likewise.
20475 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20476 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20477 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20478 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20479 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20480
e7740d31
JM
20481 * sysdeps/unix/siglist.c: Remove file.
20482
ee06f18b
JM
20483 * sysdeps/unix/getppid.S: Remove file.
20484
097d59fa
JM
20485 * sysdeps/unix/mkdir.c: Remove file.
20486 * sysdeps/unix/rmdir.c: Likewise.
20487
ff3d51ec
AS
204882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20489
20490 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20491 ERR_MAX value.
20492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20493 errlist-compat value.
20494
50f81fd7
DM
204952012-04-18 David S. Miller <davem@davemloft.net>
20496
20497 * sysdeps/generic/memcopy.h (reg_char): Delete.
20498 * debug/strcat_chk.c: Use char, not reg_char.
20499 * debug/strcpy_chk.c: Likewise.
20500 * debug/strncat_chk.c: Likewise.
20501 * debug/strncpy_chk.c: Likewise.
20502 * string/memchr.c: Likewise.
20503 * string/memrchr.c: Likewise.
20504 * string/rawmemchr.c: Likewise.
20505 * string/strcat.c: Likewise.
20506 * string/strchr.c: Likewise.
20507 * string/strchrnul.c: Likewise.
20508 * string/strcmp.c: Likewise.
20509 * string/strcpy.c: Likewise.
20510 * string/strncat.c: Likewise.
20511 * string/strncmp.c: Likewise.
20512 * string/strncpy.c: Likewise.
20513
8ff41c46
WS
205142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20515
20516 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20517 __builtin_memcopy is called when src and dest ranges are known to not
20518 overlap.
20519
6b652f46
WS
205202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20521
20522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20523 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20524 fwd_align_merge macro call.
20525 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20526 bwd_align_merge macro call.
20527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20528
b282631e
WS
205292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20530
20531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20532 bwd_align_merge macros.
20533 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20534 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20536
95aa737c
DM
205372012-04-18 David S. Miller <davem@davemloft.net>
20538
20539 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20540
7a99a614
AJ
205412012-04-18 Andreas Jaeger <aj@suse.de>
20542
20543 [BZ# 6794]
20544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20545 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20547
20548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20549 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20551
20552 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20553 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20554 Adjust for changed ldbl-128 files.
20555
20556 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20557 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20559
e5270c23
DM
205602012-04-17 David S. Miller <davem@davemloft.net>
20561
20562 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20563
fb5e92c9
AS
205642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20565
20566 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20567 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20568 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20569 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20571 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20572
76da7265
AZ
205732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20574
20575 [BZ #6794]
20576 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20577 * math/libm-test.inc: Add ilogb errno and exception tests.
20578 * math/w_ilogb.c: New file: ilogb wrapper.
20579 * math/w_ilogbf.c: New file: ilogbf wrapper.
20580 * math/w_ilogbl.c: New file: ilogbl wrapper.
20581 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20582 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20583 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20584 exception being thrown with 0.0 as argument.
20585 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20586 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20587 exception being thrown with 0.0 as argument.
20588 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20589 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20590 exception being thrown with 0.0 as argument.
20591 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20592 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20593 exception being thrown with 0.0 as argument.
20594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20595 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20597 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20600 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20601 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20602 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20603
0396e69d
PB
206042012-04-17 Petr Baudis <pasky@ucw.cz>
20605
20606 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20607 with altivec.
20608
750b5926
MP
206092012-04-16 Marek Polacek <polacek@redhat.com>
20610
20611 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20612
751728a1
MP
206132012-04-16 Marek Polacek <polacek@redhat.com>
20614
20615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20616 operands of fdivp instruction.
20617
34a27407
L
206182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20619
20620 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20621 * elf/tst-auditmod3b.c: Likewise.
20622 * elf/tst-auditmod4b.c: Likewise.
20623 * elf/tst-auditmod5b.c: Likewise.
20624 * elf/tst-auditmod6b.c: Likewise.
20625 * elf/tst-auditmod6c.c: Likewise.
20626 * elf/tst-auditmod7b.c: Likewise.
20627 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20628 * sysdeps/x86_64/preconfigure.in: Likewise.
20629 * sysdeps/x86_64/preconfigure: Regenerated.
20630
7e73e17d
L
206312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20632
20633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20634 __ILP32__.
20635
c7a6ab72
AB
206362012-04-13 Antoine Balestrat <merkil33@gmail.com>
20637
20638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20639 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20640
a9e8e0e0
CL
206412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20642
20643 [BZ #13973]
20644 * locale/iso-639.def: Fix gl language name. Spotted by
20645 Yaron Shahrabani.
20646
ec98af7d
RM
206472012-04-12 Roland McGrath <roland@hack.frob.com>
20648
20649 [BZ #2074]
20650 * libio/libio.h (__io_write_fn): Update comment.
20651
247c3ede
PB
206522012-04-12 Petr Baudis <pasky@ucw.cz>
20653
20654 [BZ #2074]
20655 * stdio.texi (Hook Functions): The user provided writer function
20656 is not allowed to return -1.
20657
55939d6d
DM
206582012-04-11 David S. Miller <davem@davemloft.net>
20659
20660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20661
90020f5a
MF
206622012-04-11 Mike Frysinger <vapier@gentoo.org>
20663
20664 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20665 Add a leading slash to rtkaio.
20666
288f9098
JM
206672012-04-11 Jim Meyering <meyering@redhat.com>
20668
90020f5a
MF
20669 [BZ #11959]
20670 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20671 It is not necessarily an error to ignore fwrite's return
20672 value. One can reliably use ferror to test for errors after
20673 the fact.
288f9098 20674
4be2b570
L
206752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20676
20677 * bits/types.h (__snseconds_t): New type.
20678 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20679
20680 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20682 (__SNSECONDS_T_TYPE): Likewise.
20683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20684 (__SNSECONDS_T_TYPE): Likewise.
20685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20686 (__SNSECONDS_T_TYPE): Likewise.
20687
288f9098 206882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20689
20690 [BZ #2636]
20691 * manual/time.texi (Processor Time): Return type of times is
20692 elapsed real time since an arbitrary point in the past.
20693 (CPU Time): Move CLK_TCK from here...
20694 (Processor Time): ...to here. Correct description.
20695 * manual/conf.texi (Constants for Sysconf): Correct description of
20696 _SC_CLK_TCK.
20697
d7dd4413
DM
206982012-04-10 David S. Miller <davem@davemloft.net>
20699
20700 [BZ #13967]
20701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20702 where the is a gap between DT_REL(A) and DT_JMPREL.
20703
b46068fc
L
207042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20705
20706 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20709
73d65cc3
SP
207102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20711
20712 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20713 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20714 (dl_main): Handle --inhibit-cache.
20715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20716 _dl_inhibit_cache.
20717 * elf/dl-load.c (_dl_map_object): Use it.
20718 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20719
bcc8d661
JM
207202012-04-09 Joseph Myers <joseph@codesourcery.com>
20721
8f9a2fae
JM
20722 [BZ #13872]
20723 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20724 (__ieee754_powl): Saturate large exponents rather than testing for
20725 overflow of y*log2(x).
20726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20727 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20728 exceptions.
20729
bcc8d661
JM
20730 [BZ #11521]
20731 * math/s_ctan.c: Include <float.h>.
20732 (__ctan): Avoid internal overflow or cancellation in calculating
20733 denominator.
20734 * math/s_ctanf.c: Likewise.
20735 * math/s_ctanl.c: Likewise.
20736 * math/s_ctanh.c: Likewise.
20737 * math/s_ctanhf.c: Likewise.
20738 * math/s_ctanhl.c: Likewise.
20739 * math/libm-test.inc (ctan_test): Add more tests.
20740 (ctanh_test): Likewise.
20741 * sysdeps/i386/fpu/libm-test-ulps: Update.
20742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20743
823fbbb4
AJ
207442012-04-09 Andreas Jaeger <aj@suse.de>
20745
03879793
AJ
20746 [BZ #6894]
20747 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20748 is an optional BSD extension.
20749
823fbbb4
AJ
20750 [BZ #10254]
20751 * manual/stdio.texi (Opening Streams): Document additional fopen
20752 parameters.
20753
8de131cb
RM
207542012-04-09 Roland McGrath <roland@hack.frob.com>
20755
20756 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20757 %eax without telling the compiler.
20758
c0ed9d7d
CD
207592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20760
20761 [BZ # 13963]
20762 * manual/install.texi: Use sourceware.org.
20763
c483f6b4
JM
207642012-04-09 Joseph Myers <joseph@codesourcery.com>
20765
d7dd9453
JM
20766 [BZ #13873]
20767 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20768 (__ieee754_pow): Generate overflow and underflow using huge*huge
20769 and tiny*tiny rather than just returning constant infinity or zero
20770 for large exponents.
20771 * math/libm-test.inc (pow_test): Require overflow exceptions for
20772 applicable cases of large exponents.
20773
c483f6b4
JM
20774 [BZ #706]
20775 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20776 (__ieee754_pow): Use iterative multiplication algorithm only for
20777 integer exponents with absolute value below 1024. Check for odd
20778 integer exponents when using algorithm for real exponents.
20779 * math/libm-test.inc (pow_test): Add more tests.
20780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20781
d2de7579
JM
207822012-04-08 Joseph Myers <joseph@codesourcery.com>
20783
20784 [BZ #13705]
20785 * math/libm-test.inc (exp_test): Do not allow overflow exception
20786 on underflow test.
20787
f77f1232
AJ
207882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20789
20790 [BZ #13705]
20791 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20792 instead of __kernel_standard_f.
20793
3884932b
MF
207942012-04-08 Mike Frysinger <vapier@gentoo.org>
20795
20796 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20797 * sysdeps/x86_64/memset_chk.S: Likewise.
20798
54472e9c
AJ
207992012-04-08 Andreas Jaeger <aj@suse.de>
20800
6ab0fbfc
AJ
20801 [BZ #10153]
20802 * manual/startup.texi (Environment Access): Describe return value
20803 for putenv and setenv.
20804
61efba8c
AJ
20805 [BZ #6895]
20806 * manual/filesys.texi (Directory Entries): Add description for
20807 DT_LNK.
20808
95c3f29a
AJ
20809 [BZ #6890]
20810 * manual/filesys.texi (Directory Entries): Clarify that it's file
20811 system not operating system in the description of DT_UNKNOWN.
20812
54472e9c
AJ
20813 [BZ #6578]
20814 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20815
624254b1
SC
208162012-04-08 Stephen Compall <s11@member.fsf.org>
20817
20818 [BZ #6649]
20819 * manual/llio.texi (Opening and Closing Files): Add cross
20820 reference to explain mode argument.
20821
1e4920e0
MF
208222012-04-07 Mike Frysinger <vapier@gentoo.org>
20823
20824 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20825 * sysdeps/x86_64/memset_chk.S: Likewise.
20826
5ed848f3
DM
208272012-04-07 David S. Miller <davem@davemloft.net>
20828
20829 * elf/elf.h (R_SPARC_WDISP10): Define.
20830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20831 R_SPARC_SIZE32.
20832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20833 R_SPARC_SIZE64 and R_SPARC_H34.
20834
96154cd8
CD
208352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20836
20837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20838 conditions and remove no longer applicable assertion.
20839
9904dc47
L
208402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20841
20842 * bits/byteswap.h: Include <features.h>.
20843 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20844 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20845
f8887d0a
L
208462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20847
20848 * bits/byteswap.h (__bswap_16): Removed.
20849 Include <bits/byteswap-16.h> to get __bswap_16.
20850 * sysdeps/i386/bits/byteswap.h: Likewise.
20851 * sysdeps/s390/bits/byteswap.h: Likewise.
20852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20853 * bits/byteswap-16.h: New file.
20854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20855 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20856 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20857 * string/Makefile (headers): Add bits/byteswap-16.h.
20858
62470f60
PP
208592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20860
20861 [BZ #13895]
20862 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20863 extra indirection.
20864 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20865 * nss/tst-nss-static.c: New.
20866
4dad7bab
RM
208672012-04-06 Robert Millan <rmh@gnu.org>
20868
20869 [BZ #6486]
20870 * manual/llio.texi (File Position Primitive): lseek
20871 refers to WHENCE when it really means OFFSET.
20872
e9142a17
AJ
208732012-04-06 Andreas Jaeger <aj@suse.de>
20874
2c040eff
AJ
20875 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20876 strncmp declarations.
20877
e9142a17
AJ
20878 * abilist/libc.abilist: Add __poll and __ppoll.
20879
ff9f1c5f
DM
208802012-04-05 David S. Miller <davem@davemloft.net>
20881
dcd2ae90
DM
20882 * scripts/check-local-headers.sh: Accept a host triplet in the
20883 path matched by the exclude regexp.
20884
993eb054
DM
20885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20886 definition.
20887 * sysdeps/powerpc/powerpc32/dl-machine.h
20888 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20889 * sysdeps/s390/s390-32/dl-machine.h
20890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20891 * sysdeps/sparc/sparc32/dl-machine.h
20892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20893 * sysdeps/sparc/sparc64/dl-machine.h
20894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20895
ff9f1c5f
DM
20896 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20897 lazy binding.
48e2e132 20898 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20899 undefined symbol errors.
20900
48e2e132 20901 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20902 DT_NEEDED entries.
20903
e80d6f94
MM
209042012-04-05 Michael Matz <matz@suse.de>
20905
20906 [BZ #13592]
20907 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20908
349fa79f
AJ
209092012-04-05 Andreas Jaeger <aj@suse.de>
20910
20911 [BZ #13908]
20912 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20913 comment.
20914
f402708f
KK
209152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20916
20917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20918 which ROUND is no valid rounding mode.
20919
2ecccfc9
KK
209202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20921
20922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20923 read again.
20924 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20925
8a53f50f
KK
209262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20927
20928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20929 an exception using FPU order intentionally.
20930
209312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20932
20933 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20934 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20935 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20936 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20937
d653abb7
SJ
209382012-04-05 Simon Josefsson <simon@josefsson.org>
20939
20940 [BZ #12340]
20941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20942 EINVAL when BUFLEN is too smal.
20943
c3b1bf7d
TS
209442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20945
20946 [BZ #13553]
20947 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20948 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20949
b1aa60f3
AJ
209502012-04-03 Andreas Jaeger <aj@suse.de>
20951
c3b1bf7d 20952 [BZ #13938]
67f60a26
AJ
20953 * manual/setjmp.texi (System V contexts): Fix sentence.
20954
b1aa60f3
AJ
20955 [BZ #13926]
20956 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20957 New macro for this case.
20958 [!__GNUC__] (__bswap_64): New inline function for this case.
20959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20960 * bits/byteswap.h: Likewise.
20961 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20962 ull, guard with __GLIBC_HAVE_LONG_LONG.
20963
20964 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20965 __GLIBC_HAVE_LONG_LONG.
20966
20967 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20968 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20969
39c59c35
TMQMF
209702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20971
20972 [BZ #13691]
20973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20974 inptr and inend, rather than using last_ch.
20975
135ffda8
DM
209762012-04-02 David S. Miller <davem@davemloft.net>
20977
20978 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20979 * stdio-common/printf-parse.h (read_int): Change return type to
20980 'int', return -1 on INT_MAX overflow.
20981 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20982 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20983 overflows INT_MAX. Check for overflow of in-format-string precision
20984 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20985 SIZE_MAX not INT_MAX for integer overflow test.
20986 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20987 skip the construct in the format string but do not record anything.
20988 * stdio-common/bug22.c: Adjust to test both width/prevision
20989 INT_MAX overflow as well as total length INT_MAX overflow. Check
20990 explicitly for proper errno values.
20991
228c019e
TS
209922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20993
302cadd3
TS
20994 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20995 CHAR_MAX.
20996 * string/test-strcmp.c [! WIDE]: Likewise.
20997 * time/tst-mktime2.c: Likewise for INT_MAX.
20998 * string/test-string.h: #include <sys/param.h> for MIN.
20999
228c019e
TS
21000 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21001 * sysdeps/i386/init-first.c (init): Likewise.
21002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21003 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21004 * sysdeps/sh/init-first.c (init): Likewise.
21005
cfa633f5
UD
210062012-04-01 Ulrich Drepper <drepper@gmail.com>
21007
21008 * po/ru.po: Update from translation team.
d1635ef8 21009 * po/vi.po: Likewise.
cfa633f5 21010
6cd0a5ea
SP
210112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21012
21013 * resolv/nss_dns/dns-host.c: Merge copyright years.
21014
4b43400f
LD
210152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21016
21017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21018 Optimize memcpy with prefetch if
21019 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21020 src, dst pointers have unequal 16 byte alignments.
21021
48c41d04
SP
210222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21023
21024 [BZ #13928]
21025 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21026 from a CNAME entry and return the minimum ttl for the query.
21027 (gaih_getanswer_slice): Likewise.
21028
b8dc394d
JL
210292012-03-30 Jeff Law <law@redhat.com>
21030
21031 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21032 due to long keys.
21033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21035
2f5a5ed0
JL
21036 * resolv/nss_dns/dns-host.c: Update copyright year.
21037
1d39e359
UD
210382012-03-30 Ulrich Drepper <drepper@gmail.com>
21039
c030f70c 21040 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21041 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21042
1d39e359
UD
21043 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21044 comments for sendmmsg.
21045
210462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21047
21048 [BZ #13691]
21049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21050 with only 1 character between 0x0041 and 0x01b0.
21051 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21052 * wcsmbs/tst-mbsnrtowcs.c: New file.
21053
20fde227
DM
210542012-03-29 David S. Miller <davem@davemloft.net>
21055
21056 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21057 small copies by hand.
21058
984a4237
JL
210592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21060
21061 [BZ #13761]
21062 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21063 _nss_compat_initgroups_dyn): Fall back to malloc/free
21064 for large group memberships.
21065
18c9d62b
DM
210662012-03-28 David S. Miller <davem@davemloft.net>
21067
88d85d4f
DM
21068 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21069 that branches into memcpy.
21070 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21073 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21075 bits.
21076 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21077 implementation too.
21078 * sysdeps/sparc/mempcpy.S: New file.
21079
e5aa83e1
DM
21080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21081 the IFUNC routine in the libc case.
21082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21083
88570753
DM
21084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21086 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21087 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21088 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21089 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21090 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21091 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21092
249d7567
DM
21093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21094 loop to 256 bytes instead of 64 bytes and fix test signedness.
21095
18c9d62b
DM
21096 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21097 * sysdeps/sparc/sparc32/Makefile: rather than here...
21098 * sysdeps/sparc/sparc64/Makefile: and here.
21099
05f3d1f6
UD
211002012-03-28 Ulrich Drepper <drepper@gmail.com>
21101
21102 * malloc/mallocbug.c: Avoid warnings about unused variables.
21103
86ae07a8
JL
211042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21105
21106 [BZ #13760]
21107 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21108 in the right place. Discard and retry query if response is
21109 larger than input buffer size.
21110
41bf21a1
JM
211112012-03-28 Joseph Myers <joseph@codesourcery.com>
21112
d6270972
JM
21113 [BZ #369]
21114 [BZ #2678]
21115 [BZ #3866]
21116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21117 x for large integer exponent.
21118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21120 sign of result as needed afterwards.
21121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21123 result for underflowing pow the same as for overflow.
21124 (__kernel_standard_l): Handle powl overflow and underflow here
21125 rather than calling __kernel_standard.
21126 * math/libm-test.inc (pow_test): Add more tests.
21127
414fca03 21128 [BZ #3868]
41bf21a1
JM
21129 [BZ #13879]
21130 [BZ #13910]
21131 [BZ #13911]
21132 [BZ #13912]
21133 [BZ #13913]
21134 [BZ #13915]
21135 [BZ #13916]
21136 [BZ #13917]
21137 [BZ #13918]
21138 [BZ #13919]
21139 [BZ #13920]
21140 [BZ #13921]
21141 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21142 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21143 (__kernel_standard_l): New function.
21144 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21145 __kernel_standard.
21146 * math/w_acosl.c (__acosl): Likewise.
21147 * math/w_asinl.c (__asinl): Likewise.
21148 * math/w_atan2l.c (__atan2l): Likewise.
21149 * math/w_atanhl.c (__atanhl): Likewise.
21150 * math/w_coshl.c (__coshl): Likewise.
21151 * math/w_exp10l.c (__exp10l): Likewise.
21152 * math/w_exp2l.c (__exp2l): Likewise.
21153 * math/w_fmodl.c (__fmodl): Likewise.
21154 * math/w_hypotl.c (__hypotl): Likewise.
21155 * math/w_j0l.c (__j0l, __y0l): Likewise.
21156 * math/w_j1l.c (__j1l, __y1l): Likewise.
21157 * math/w_jnl.c (__jnl, __ynl): Likewise.
21158 * math/w_lgammal.c (__lgammal): Likewise.
21159 * math/w_log10l.c (__log10l): Likewise.
21160 * math/w_log2l.c (__log2l): Likewise.
21161 * math/w_logl.c (__logl): Likewise.
21162 * math/w_powl.c (__powl): Likewise.
21163 * math/w_remainderl.c (__remainderl): Likewise.
21164 * math/w_scalbl.c (sysv_scalbl): Likewise.
21165 * math/w_sinhl.c (__sinhl): Likewise.
21166 * math/w_sqrtl.c (__sqrtl): Likewise.
21167 * math/w_tgammal.c (__tgammal): Likewise.
21168 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21169 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21170 * math/libm-test.inc (acos_test): Add more tests.
21171 (acosh_test): Likewise.
21172 (asin_test): Likewise.
21173 (atanh_test): Likewise.
21174 (exp_test): Likewise.
21175 (exp10_test): Likewise.
21176 (exp2_test): Likewise.
21177 (expm1_test): Likewise.
21178 (lgamma_test): Likewise.
21179 (log_test): Likewise.
21180 (log10_test): Likewise.
21181 (log1p_test): Likewise.
21182 (log2_test): Likewise.
21183 (pow_test): Do not allow some spurious overflow exceptions.
21184 (sqrt_test): Add more tests.
21185 (tgamma_test): Likewise.
21186 (y0_test): Likewise.
21187 (y1_test): Likewise.
21188 (yn_test): Likewise.
21189
dd62fda6
AB
211902012-03-27 Anton Blanchard <anton@samba.org>
21191
21192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21193 MAP_HUGETLB.
21194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21197
1e3cdfda
AJ
211982012-03-27 David S. Miller <davem@davemloft.net>
21199
b855ab85
DM
21200 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21201
1e3cdfda
AJ
21202 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21203 have-as-vis3 check.
21204
212052012-03-27 Andreas Jaeger <aj@suse.de>
21206
21207 * sysdeps/x86_64/elf/configure.in: Moved to ...
21208 * sysdeps/x86_64/configure.in: ... here.
21209 * sysdeps/x86_64/elf/start.S: Moved to ...
21210 * sysdeps/x86_64/start.S: ... here.
21211 * sysdeps/x86_64/elf/configure: Delete.
21212
21213 * sysdeps/x86_64/configure.in: Merge contents from
21214 sysdeps/i386/configure.in (without i686 check).
21215
21216 * sysdeps/i386/elf/Versions: Merge into ...
21217 * sysdeps/i386/Versions: ... this.
21218 * sysdeps/i386/elf/Versions: Delete file.
21219 * sysdeps/i386/elf/start.S: Moved to ...
21220 * sysdeps/i386/start.S: ...here.
21221 * sysdeps/i386/elf/configure.in: Merge into...
21222 * sysdeps/i386/configure.in: ...here.
21223 * sysdeps/i386/elf/configure.in: Delete file.
21224 * sysdeps/i386/elf/configure: Delete file.
21225
21226 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21227 * debug/backtracesyms.c: ... here.
21228 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21229 * debug/backtracesymsfd.c: ... here.
21230 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21231 * sysdeps/generic/ifunc-sel.h: ... here.
21232
21233 * sysdeps/unix/i386/start.c: Delete file.
21234 * sysdeps/unix/sparc/start.c: Delete file.
21235 * sysdeps/unix/start.c: Delete file.
21236
21237 * sysdeps/sh/elf/configure.in: Moved to ...
21238 * sysdeps/sh/configure.in: ... here.
21239 * sysdeps/sh/elf/start.S: Moved to ...
21240 * sysdeps/sh/start.S: ... here.
21241 * sysdeps/sh/elf/configure: Delete file.
21242
21243 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21244 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21245 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21246 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21247 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21248 * sysdeps/powerpc/powerpc64/start.S: here.
21249 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21250 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21251 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21252 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21253 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21254
21255 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21256 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21257 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21258 * sysdeps/powerpc/powerpc32/start.S: ... here.
21259 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21260 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21261 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21262
21263 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21264 * sysdeps/powerpc/ifunc-sel.h: ... here.
21265 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21266 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21267
21268 * sysdeps/sparc/elf/configure.in: Moved to ...
21269 * sysdeps/sparc/configure.in: ... here.
21270 * sysdeps/sparc/elf/configure: Delete file.
21271 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21272 * sysdeps/sparc/sparc32/start.S: ... here.
21273 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21274 * sysdeps/sparc/sparc64/start.S: ... here.
21275 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21276 * sysdeps/sparc/sparc32/Makefile: ... this.
21277 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21278 * sysdeps/sparc/sparc64/Makefile: ... this.
21279
21280 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21281 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21282 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21283 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21284 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21285 * sysdeps/s390/s390-32/setjmp.S: ... here.
21286 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21287 * sysdeps/s390/s390-32/configure.in: ... here.
21288 * sysdeps/s390/s390-32/elf/configure: Delete file.
21289 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21290 * sysdeps/s390/s390-32/start.S: ... here.
21291
21292 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21293 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21294 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21295 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21296 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21297 * sysdeps/s390/s390-64/setjmp.S: ... here.
21298 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21299 * sysdeps/s390/s390-64/configure.in: ... here
21300 * sysdeps/s390/s390-64/elf/configure: Delete file.
21301 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21302 * sysdeps/s390/s390-64/start.S: ... here.
21303 * sysdeps/s390/s390-64/elf/configure: Delete.
21304
21305 * configure.in: Remove support for elf directories in sysdeps.
21306
21307 * configure: Regenerated.
21308 * sysdeps/i386/configure: Regenerated.
21309 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21310 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21311 * sysdeps/s390/s390-32/configure: Regenerated.
21312 * sysdeps/s390/s390-64/configure: Regenerated.
21313 * sysdeps/sh/configure: Regenerated.
21314 * sysdeps/sparc/configure: Regenerated.
21315 * sysdeps/x86_64/configure: Regenerated.
21316
a3f61311
AS
213172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21318
c876e002
AS
21319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21320
a3f61311
AS
21321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21322 denormal result into account.
21323
ac4c54f0
RM
213242012-03-25 Roland McGrath <roland@hack.frob.com>
21325
21326 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21327 Reported by Allan McRae <allan@archlinux.org>.
21328
6a9b9c02
JL
213292012-03-23 Jeff Law <law@redhat.com>
21330
21331 * nss/getnssent.c (__nss_getent): Fix typo.
21332
4c42a0c1
DM
213332012-03-23 David S. Miller <davem@davemloft.net>
21334
21335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21336
1532c7ac
L
213372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21338
21339 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21340 to pad to uint64_t for each field.
21341 (dl_tls_index): Replace unsigned long with uint64_t.
21342
3ff42526
PP
213432012-03-23 Daniel Jacobowitz <dmj@google.com>
21344 Paul Pluzhnikov <ppluzhnikov@google.com>
21345
21346 [BZ #6528]
21347 * grp/Makefile (otherlibs): Don't set it.
21348 * inet/Makefile (otherlibs): Likewise.
21349 * login/Makefile (otherlibs): Likewise.
21350 * nscd/Makefile (otherlibs): Likewise.
21351 * posix/Makefile (otherlibs): Likewise.
21352 * pwd/Makefile (otherlibs): Likewise.
21353 * rt/Makefile (otherlibs): Likewise.
21354 * sunrpc/Makefile (otherlibs): Likewise.
21355 * nss/Makefile (otherlibs): Likewise.
21356 Add libnss_files to routines and static-only-routines.
21357 ($(objpfx)getent): Remove rule.
21358 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21359 static-only-routines.
21360
7c69cd14
JM
213612012-03-22 Joseph Myers <joseph@codesourcery.com>
21362
21363 [BZ #13892]
21364 * math/s_cexp.c: Include <float.h>.
21365 (__cexp): Handle exp result overflowing not necessarily
21366 overflowing both real and imaginary parts of result.
21367 * math/s_cexpf.c: Likewise.
21368 * math/s_cexpl.c: Likewise.
21369 * math/libm-test.inc (cexp_test): Add more tests.
21370 * sysdeps/i386/fpu/libm-test-ulps: Update.
21371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21372
81b035fe
L
213732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21374
21375 * include/link.h (ELFW): New macro.
21376 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21377 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21378
1da7940c
L
213792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21380
21381 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21382 with uint64_t.
21383
b749dbb9
L
213842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21385
21386 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21387 declaration.
21388 (struct La_x32_retval): Likewise.
21389
2ff87f3f
L
213902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 * sysdeps/x86_64/preconfigure.in: New file.
21393 * sysdeps/x86_64/preconfigure: New generated file.
21394
c0df8e69
JM
213952012-03-22 Joseph Myers <joseph@codesourcery.com>
21396
48e44791
JM
21397 [BZ #13824]
21398 * math/e_exp2l.c: Include <float.h>.
21399 (__ieee754_exp2l): Handle overflow and underflow cases
21400 separately. Only pass fractional part of argument to
21401 __ieee754_expl.
21402 * math/libm-test.inc (exp2_test): Add more tests.
21403
c0df8e69
JM
21404 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21405 negating x to take absolute value.
21406 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21407 Likewise.
21408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21410 Likewise.
21411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21412 computing low part if x was negated.
21413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21414
c8e43ba7
L
214152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21418 la_x32_gnu_pltexit.
21419 (pltexit): Cast int_retval to ptrdiff_t.
21420 * elf/tst-auditmod3b.c: Likewise.
21421 * elf/tst-auditmod4b.c: Likewise.
21422 * elf/tst-auditmod5b.c: Likewise.
21423 * elf/tst-auditmod6b.c: Likewise.
21424 * elf/tst-auditmod6c.c: Likewise.
21425 * elf/tst-auditmod7b.c: Likewise.
21426
21427 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21428 and x32_gnu_pltexit.
21429
21430 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21431 __ELF_NATIVE_CLASS.
21432 (La_x32_regs): New macro.
21433 (La_x32_retval): Likewise.
21434 (la_x32_gnu_pltenter): New function prototype.
21435 (la_x32_gnu_pltexit): Likewise.
21436
7998fa78
AS
214372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21438
dcb33988
AS
21439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21440 exponent.
21441
233fc563
AS
21442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21443
7998fa78
AS
21444 * configure.in (libc_cv_cc_nofma): Check for option to disable
21445 generation of FMA instructions.
21446 * configure: Regenerate.
21447 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21448 * sysdeps/ieee754/dbl-64/Makefile: New file.
21449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21450 Remove brandred-fma4.
21451 (CFLAGS-brandred-fma4.c): Remove.
21452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21454 define.
21455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21456 define.
21457
8e95c99a
L
214582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21459
21460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21461 LLONG_MAX != LONG_MAX.
21462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21463 (_fitoa_word): Likewise.
21464 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21465 LLONG_MAX != LONG_MAX.
21466 * stdio-common/_itowa.h: Include <_itoa.h>.
21467 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21468 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21469 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21470 only if not defined.
21471 (_ITOA_WORD_TYPE): Likewise.
21472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21473 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21474
6f4db457
DM
214752012-03-21 David S. Miller <davem@davemloft.net>
21476
21477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21478
7785fe5a
L
214792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21480
21481 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21482 of x86_64 when setting libc_cv_slibdir, libdir and
21483 libc_cv_localedir.
21484 * sysdeps/unix/sysv/linux/configure: Regenerated.
21485
4535cd55
JM
214862012-03-21 Joseph Myers <joseph@codesourcery.com>
21487
21488 * manual/lang.texi (Old Varargs): Remove section.
21489 (How Variadic): Update menu.
21490 (va_start): Do not mention varargs.h.
21491
17228132
TS
214922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21493 Joseph Myers <joseph@codesourcery.com>
21494
21495 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21496 link test.
21497 * configure: Regenerated.
21498
8149f976
TS
214992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21500
05f3d1f6
UD
21501 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21502 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21503 conformtest.pl
8149f976 21504
1a4ac776
JM
215052012-03-21 Joseph Myers <joseph@codesourcery.com>
21506
be22ce65
JM
21507 * NOTES: Remove.
21508 * Makefile (files-for-dist): Remove NOTES.
21509 (NOTES): Remove rule.
21510 * README: Don't refer to NOTES.
21511 * manual/creature.texi: Don't include macros.texi.
21512 * manual/intro.texi (creature.texi): Remove comment referring to
21513 NOTES.
21514
40b601fb
JM
21515 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21516 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21517 * configure: Regenerated.
21518 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21519 LIBC_TRY_CC_OPTION.
21520 (libc_cv_as_i686): Likewise.
21521 (libc_cv_cc_avx): Likewise.
21522 (libc_cv_cc_sse2avx): Likewise.
21523 (libc_cv_cc_fma4): Likewise.
21524 (libc_cv_cc_novzeroupper): Likewise.
21525 * sysdeps/i386/configure: Regenerated.
21526
1a4ac776
JM
21527 [BZ #13883]
21528 * sysdeps/i386/fpu/s_cexp.S: Remove.
21529 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21531 * math/libm-test.inc (cexp_test): Add more tests.
21532 * sysdeps/i386/fpu/libm-test-ulps: Update.
21533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21534
a458e7fe
AM
215352012-03-21 Allan McRae <allan@archlinux.org>
21536
21537 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21538
0cb7efc5
JM
215392012-03-21 Joseph Myers <joseph@codesourcery.com>
21540
21541 [BZ #13871]
21542 * math/w_exp2.c: Do not include <float.h>.
21543 (o_threshold, u_threshold): Remove.
21544 (__exp2): Calculate result before checking finiteness and calling
21545 __kernel_standard.
21546 * math/w_exp2f.c: Likewise.
21547 * math/w_exp2l.c: Likewise.
21548 * math/libm-test.inc (exp2_test): Require overflow exception for
21549 1e6 input.
2460d3aa
JM
21550
21551 [BZ #3866]
21552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21553 range of signed 64-bit integers before using fistpll. Remove
21554 checks for whether integers fit in mantissa bits.
21555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21556 the range of signed 32-bit integers before using fistpl. Remove
21557 checks for whether integers fit in mantissa bits.
21558 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21559 (__ieee754_powl): Test for y outside the range of signed 64-bit
21560 integers before using fistpll. Reduce 64-bit values to 63-bit
21561 ones as needed.
21562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21563 divide-by-zero is raised for zero to large negative powers.
21564 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21565 (__ieee754_powl): Test for y outside the range of signed 64-bit
21566 integers before using fistpll. Reduce 64-bit values to 63-bit
21567 ones as needed.
21568 * math/libm-test.inc (pow_test): Add more tests.
21569
eb96ffb0
L
215702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21571
21572 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21573 <stdio-common/_itoa.h>.
21574 * debug/segfault.c: Likewise.
21575 * elf/dl-cache.c: Likewise.
21576 * elf/dl-minimal.c: Likewise.
21577 * elf/dl-misc.c: Likewise.
21578 * elf/dl-sysdep.c: Likewise.
21579 * elf/dl-version.c: Likewise.
21580 * elf/rtld.c: Likewise.
21581 * hurd/hurdsock.c: Likewise.
21582 * hurd/lookup-retry.c: Likewise.
21583 * malloc/malloc.c: Likewise.
21584 * malloc/mtrace.c: Likewise.
21585 * nscd/nscd_getgr_r.c: Likewise.
21586 * nscd/nscd_getpw_r.c: Likewise.
21587 * nscd/nscd_getserv_r.c: Likewise.
21588 * posix/getopt_init.c: Likewise.
21589 * posix/wordexp.c: Likewise.
21590 * stdio-common/_itoa.c: Likewise.
21591 * stdio-common/printf_fphex.c: Likewise.
21592 * stdio-common/vfprintf.c: Likewise.
21593 * string/_strerror.c: Likewise.
21594 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21595 * sysdeps/i386/i686/hp-timing.h: Likewise.
21596 * sysdeps/mach/_strerror.c: Likewise.
21597 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21598 * sysdeps/mach/hurd/sethostid.c: Likewise.
21599 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21600 * sysdeps/mach/xpg-strerror.c: Likewise.
21601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21603 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21604 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21606 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21608 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21609 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21610 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21611 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21612 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21613 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21614 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21615 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21618 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21619 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21620 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21621 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21622
21623 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21624
21625 * stdio-common/_itoa.h: Moved to ...
21626 * sysdeps/generic/_itoa.h: Here.
21627
21628 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21629
21630 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21631 instead of "_itoa.h" and "_itowa.h".
21632 * stdio-common/vfprintf.: Likewise.
21633
d1af992d
L
216342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21637 <bits/wordsize.h>.
21638 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21639 (__signbit): Likwise.
21640 (llrintf): Likwise.
21641 (llrint): Likwise.
21642
114883e0
L
216432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21644
21645 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21646 __WORDSIZE != 64.
21647
c135cc1b
JM
216482012-03-20 Joseph Myers <joseph@codesourcery.com>
21649
21650 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21651 OVERFLOW_EXCEPTION_OK.
21652 * math/libm-test.inc ("Philosophy"): Update comment about
21653 exception testing.
21654 (OVERFLOW_EXCEPTION): Define.
21655 (OVERFLOW_EXCEPTION_OK): Likewise.
21656 (INVALID_EXCEPTION_OK): Renumber.
21657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21658 (IGNORE_ZERO_INF_SIGN): Likewise.
21659 (test_exceptions): Handle FE_OVERFLOW.
21660 (exp10_test): Expect overflow exceptions.
21661 (exp2_test): Likewise.
21662 (expm1_test): Likewise.
21663 (nextafter_test): Likewise.
21664 (pow_test): Likewise.
21665 (scalbn_test): Likewise.
21666 (scalbln_test): Likewise.
21667
95443d88
L
216682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21669
21670 * sysdeps/x86_64/bits/atomic.h
21671 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21672 64bit integer.
21673 (atomic_exchange_acq): Likewise.
21674 (__arch_exchange_and_add_body): Likewise.
21675 (__arch_add_body): Likewise.
21676 (atomic_add_negative): Likewise.
21677 (atomic_add_zero): Likewise.
21678
490df6c4
L
216792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21680
c2722551 21681 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21682 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21683
5e52b189
L
216842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21687 Check __x86_64__ instead of __WORDSIZE.
21688
a9879d4c
L
216892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21690
21691 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21692
5df98260
DM
216932012-03-19 David S. Miller <davem@davemloft.net>
21694
e1497744
DM
21695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21696
5df98260
DM
21697 * sysdeps/sparc/fpu/fenv_private.h: New file.
21698 * sysdeps/sparc/fpu/math_private.h: Use it.
21699 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21700 Remove.
21701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21702 (libc_feholdexcept_setroundl): Remove.
21703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21704 Remove.
21705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21707
b4c35121
L
217082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21709
21710 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21711 int64_t instead of long int.
21712 (INSERT_WORDS64): Likwise.
21713
56965fd7
L
217142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21715
21716 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21717 _Unwind_GetCFA return to _Unwind_Ptr first.
21718
83d1aec8
JM
217192012-03-19 Joseph Myers <joseph@codesourcery.com>
21720
1897ad44
JM
21721 [BZ #13629]
21722 * math/s_clog.c: Include <float.h>.
21723 (__clog): Scale large or subnormal inputs.
21724 * math/s_clogf.c: Likewise.
21725 * math/s_clogl.c: Likewise.
21726 * math/s_clog10.c: Include <float.h>.
21727 (M_LOG10_2): Define.
21728 (__clog10): Scale large or subnormal inputs.
21729 * math/s_clog10f.c: Likewise.
21730 * math/s_clog10l.c: Likewise.
21731 * math/libm-test.inc (clog_test): Add more tests.
21732 (clog10_test): Likewise.
21733 * sysdeps/i386/fpu/libm-test-ulps: Update.
21734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21735
7726d6a9
JM
21736 [BZ #11451]
21737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21738 x and y.
21739 * math/libm-test.inc (atan2_test): Add another test.
21740
83d1aec8
JM
21741 * Makerules (common-objdir-compile): Remove.
21742 * sysdeps/unix/Makefile (config-generated): Do not add
21743 $(unix-generated) to variable.
21744 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21745 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21746 Remove rule.
21747 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21748 Likewise.
21749 [generic bits/local_lim.h] (before-compile): Do not append to
21750 variable.
21751 [generic bits/local_lim.h] (common-generated): Likewise.
21752 [generic sys/param.h] (before-compile): Do not append to variable.
21753 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21754 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21757 include.
21758 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21759 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21760 [generic sys/param.h] ($(addprefix
21761 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21762 [generic sys/param.h] (common-generated): Do not append to
21763 variable.
21764 [generic sys/param.h] (sysdep_headers): Likewise.
21765 [generic bits/errno.h] (before-compile): Do not append to
21766 variable.
21767 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21768 rule.
21769 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21770 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21771 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21772 [generic bits/errno.h] (common-generated): Do not append to
21773 variable.
21774 [generic bits/ioctls.h] (before-compile): Do not append to
21775 variable.
21776 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21777 rule.
21778 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21779 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21781 rule.
21782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21783 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21784 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21785 [generic bits/ioctls.h] (common-generated): Do not append to
21786 variable.
21787 [generic sys/syscall.h] (syscall.h): Remove variable.
21788 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21789 rule.
21790 [generic sys/syscall.h] (before-compile): Do not append to
21791 variable.
21792 [generic sys/syscall.h] (common-generated): Likewise.
21793 * sysdeps/unix/errnos-tmpl.c: Remove file.
21794 * sysdeps/unix/errnos.awk: Likewise.
21795 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21796 * sysdeps/unix/ioctls.awk: Likewise.
21797 * sysdeps/unix/mk-local_lim.c: Likewise.
21798 * sysdeps/unix/snarf-ioctls: Likewise.
21799
4851a949
RH
218002012-03-19 Richard Henderson <rth@twiddle.net>
21801
bd37f2ee
RH
21802 * sysdeps/i386/fpu/fenv_private.h: New file.
21803 * sysdeps/i386/fpu/math_private.h: Use it.
21804 (math_opt_barrier, math_force_eval): Remove.
21805 (libc_feholdexcept_setround_53bit): Remove.
21806 (libc_feupdateenv_53bit): Remove.
21807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21808 (math_opt_barrier, math_force_eval): Remove.
21809 (libc_feholdexcept): Remove.
21810 (libc_feholdexcept_setround): Remove.
21811 (libc_fetestexcept, libc_fesetenv): Remove.
21812 (libc_feupdateenv_test): Remove.
21813 (libc_feupdateenv, libc_feholdsetround): Remove.
21814 (libc_feresetround): Remove.
21815
d0adc922
RH
21816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21817 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21818
0fe0f1f8
RH
21819 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21820 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21821 (libc_feupdateenv_testl): New.
21822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21823 (libc_feupdateenv_testf): New.
21824 (libc_feupdateenv): Use libc_feupdateenv_test.
21825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21827
eb92c487
RH
21828 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21829 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21830 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21831 (libc_feresetround_noex): New.
21832 (libc_feresetround_noexf): New.
21833 (libc_feresetround_noexl): New.
21834 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21835 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21836 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21838 SET_RESTORE_ROUND.
21839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21841 (__cos): Likewise.
21842 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21844 SET_RESTORE_ROUND_NOEX.
21845 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21846 SET_RESTORE_ROUND_NOEXF.
21847 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21848 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21849 (libc_feholdsetroundf): New.
21850 (libc_feresetround, libc_feresetroundf): New.
21851
7d2e8012
RH
21852 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21853 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21854 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21855
b4dabbb4
RH
21856 * sysdeps/generic/math_private.h: Include <fenv.h>.
21857 (default_libc_feholdexcept): New.
21858 (default_libc_feholdexcept_setround): New.
21859 (default_libc_fesetenv, default_libc_feupdateenv): New.
21860 (libc_feholdexcept): Only define if undefined.
21861 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21862 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21863 (libc_feholdexcept_setroundl): Likewise.
21864 (libc_feholdexcept_setround_53bit): Likewise.
21865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21866 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21867 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21868 (libc_feupdateenv_53bit): Likewise.
21869 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21870 (libc_feholdexcept): Convert from macro to inline function.
21871 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21872 (libc_fesetenv, libc_feupdateenv): Likewise.
21873
4851a949
RH
21874 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21875 not previously defined.
21876 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21877 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21878 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21880 * sysdeps/ieee754/flt-32/math_private.h: New file.
21881 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21882 math_private.h below SET_FLOAT_WORD.
21883 (__isnan, __isinf_ns, __finite): Remove.
21884 (__isnanf, __isinf_nsf, __finitef): Remove.
21885
e79d442e
AS
218862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21887
21888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21889
90b80344
DM
218902012-03-17 David S. Miller <davem@davemloft.net>
21891
21892 [BZ #6471]
21893 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21894 for 2.16.
21895
edc21804
DM
218962012-03-16 David S. Miller <davem@davemloft.net>
21897
77e927af
DM
21898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21899 warnings.
21900
374976dd
DM
21901 [BZ #6471]
21902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21903 properly.
21904 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21905 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21906 sysdep_routines when subdir is sysvipc.
21907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21908 __getshmlba helper.
21909
edc21804
DM
21910 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21911
473c3ef3
L
219122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21913
21914 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21915 [__LP64__].
21916
eb0f39b6
L
219172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21918
21919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21921 (__lround): Renamed to ...
21922 (__llround): This. Replace long int with long long int.
21923 Define lround functions as aliases of llround functions.
21924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21925
6b6cd74b
L
219262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21929 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21930 adresses to uintptr_t. Replace "long int" and "unsigned long
21931 int" with "greg_t" on va_arg.
21932
f1a77b01
L
219332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21934
21935 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21936 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21937
21938 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21939 Move e_machine check before EI_CLASS check. Handle x32
21940 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21941 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21942 SKIP_EM_IA_64 and include
21943 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21944
21945 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21946 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21947 (add_system_dir): New macro.
21948
21949 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21950 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21951
11b90b9f
JM
219522012-03-16 Joseph Myers <joseph@codesourcery.com>
21953
c36e1d23
JM
21954 [BZ #2551]
21955 [BZ #2552]
21956 [BZ #2553]
21957 [BZ #2554]
21958 [BZ #2562]
21959 [BZ #2563]
21960 [BZ #2565]
21961 [BZ #2566]
21962 [BZ #2576]
21963 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21964 (y0): Likewise.
21965 * math/w_j0f.c (j0f): Likewise.
21966 (y0f): Likewise.
21967 * math/w_j0l.c (__j0l): Likewise.
21968 (__y0l): Likewise.
21969 * math/w_j1.c (j1): Likewise.
21970 (y1): Likewise.
21971 * math/w_j1f.c (j1f): Likewise.
21972 (y1f): Likewise.
21973 * math/w_j1l.c (__j1l): Likewise.
21974 (__y1l): Likewise.
21975 * math/w_jn.c (jn): Likewise.
21976 (yn): Likewise.
21977 * math/w_jnf.c (jnf): Likewise.
21978 (ynf): Likewise.
21979 * math/w_jnl.c (__jnl): Likewise.
21980 (__ynl): Likewise.
21981 * math/libm-test.inc (j0_test): Add more tests.
21982 (j1_test): Likewise.
21983 (jn_test): Likewise. Add trailing semicolon to existing test.
21984 (y0_test): Likewise.
21985 (y1_test): Likewise.
21986 * sysdeps/i386/fpu/libm-test-ulps: Update.
21987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21988
11b90b9f
JM
21989 [BZ #13851]
21990 [BZ #13854]
21991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21992 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21993 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21995 (__tanl): Set errno for infinite argument.
21996 * sysdeps/i386/fpu/mptan.c: Remove.
21997 * sysdeps/i386/fpu/s_tan.S: Likewise.
21998 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21999 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22000 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22001 * math/libm-test.inc (tan_test): Add more tests and enable more
22002 tests for double and long double.
22003 * sysdeps/i386/fpu/libm-test-ulps: Update.
22004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005
6a1bd2a1
JK
220062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22007
22008 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22009 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22010
10a803e0
RM
220112012-03-16 Roland McGrath <roland@hack.frob.com>
22012
22013 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22014 * configure.in: Use it for both main tree and add-ons.
22015 * configure: Regenerated.
22016
f196c7f7
L
220172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22018
22019 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22020
8848d99d
JM
220212012-03-16 Joseph Myers <joseph@codesourcery.com>
22022
96cbe7f4
JM
22023 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22024 in comment.
22025
8848d99d
JM
22026 [BZ #13851]
22027 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22028 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22029 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22031 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22032 infinite argument.
22033 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22035 != 0 for prec == 2.
22036 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22037 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22038 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22040 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22041 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22042 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22043 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22044 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22045 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22046 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22047 * math/libm-test.inc (cos_test): Add more tests and enable more
22048 tests for long double.
22049 (sin_test): Likewise.
22050 (sincos_test): Likewise.
22051 * sysdeps/i386/fpu/libm-test-ulps: Update.
22052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22053
dd7f4703
DM
220542012-03-16 David S. Miller <davem@davemloft.net>
22055
22056 * sysdeps/sparc/fpu/math_private.h: New file.
22057
006f1daa
DM
220582012-03-15 David S. Miller <davem@davemloft.net>
22059
c0c83bc8
DM
22060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22061 file.
e6a62e18 22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22064 file.
e6a62e18
DM
22065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22071 sysdep routines.
22072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22073
88cb87d9
DM
22074 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22075 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22076
006f1daa 22077 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22079 sparc-ifunc.h
006f1daa 22080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22082 Likewise.
22083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22084 Likewise.
006f1daa
DM
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22089 Likewise.
006f1daa
DM
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22095 Likewise.
22096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22097 Likewise.
006f1daa
DM
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22122
11e0098e
AS
221232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22124
22125 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22126 scaling.
22127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22128
e85b09d0
AJ
221292012-03-15 Andreas Jaeger <aj@suse.de>
22130
22131 [BZ #13852]
22132 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22133 ieee754/flt-32 implementation for sin, cos and sincos.
22134 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22135 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22136 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22137 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22138 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22139 ieee754/flt-32 implementation for tan.
22140
22141 * math/libm-test.inc (cos_test): Enable some large input tests for
22142 float as well
22143 (sin_test): Likewise.
22144 (sincos_test): Likewise.
22145 (tan_test): Add tests for large input.
22146
22147 * sysdeps/i386/fpu/libm-test-ulps: Update.
22148
81c64153
AJ
221492012-03-15 Andreas Jaeger <aj@suse.de>
22150
22151 [BZ #13658]
22152 * math/libm-test.inc (cos_test): Add more test cases.
22153 (sin_test): Likewise.
22154 (sincos_test): Likewise.
22155
7bbfa5c6
AJ
221562012-03-15 Andreas Jaeger <aj@suse.de>
22157
22158 [BZ #13837]
22159 * math/libm-test.inc (cos_test): Add a test case for large input
22160 value.
22161 (sin_test): Likewise.
22162 (sincos_test): Likewise.
22163
221642012-03-15 Andreas Jaeger <aj@suse.de>,
22165 Joseph Myers <joseph@codesourcery.com>
22166
22167 [BZ #13658]
0671f479 22168 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22169 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22170 * sysdeps/i386/fpu/branred.c: Likewise.
22171 * sysdeps/i386/fpu/dosincos.c: Likewise.
22172 * sysdeps/i386/fpu/mpa.c: Likewise.
22173 * sysdeps/i386/fpu/s_cos.S: Likewise.
22174 * sysdeps/i386/fpu/s_sin.S: Likewise.
22175 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22176 * sysdeps/i386/fpu/sincos32.c: Likewise.
22177
22178 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22179 Define.
22180 (libc_feupdateenv_53bit): Define.
22181 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22182 Define.
22183 (libc_feupdateenv_53bit): Define.
22184
22185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22186 53 bit (without extend i386 double precision).
22187
22188 * math/libm-test.inc (sincos_test): Add tests for large input.
22189 (sin): Likewise.
22190 (cos): Likewise.
22191
22192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22193
9cad04ea
AS
221942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22195
22196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22197
f7062b9a
DM
221982012-03-15 David S. Miller <davem@davemloft.net>
22199
22200 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22201 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22202 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22216 file.
f7062b9a 22217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22219 file.
f7062b9a 22220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22222 file.
f7062b9a 22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22225 file.
f7062b9a
DM
22226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22228 fmin/fmax sysdep routines.
22229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22230
7bd951ff
DM
222312012-03-14 David S. Miller <davem@davemloft.net>
22232
559398ab
DM
22233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22262 routines.
22263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22264 file.
559398ab 22265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22267 file.
559398ab 22268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22270 file.
559398ab 22271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22273 file.
559398ab 22274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22276 file.
559398ab 22277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22279 file.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22281 file.
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22283 file.
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22285 file.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22287 New file.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22289 file.
22290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22291 file.
559398ab 22292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22294 file.
559398ab 22295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22297 file.
559398ab 22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22300 file.
559398ab 22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22303 VIS3 routines.
559398ab
DM
22304
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22306 New file.
22307
5a1c1e32
DM
22308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22309
eae47a36
DM
22310 * sysdeps/sparc/configure.in: New file.
22311 * sysdeps/sparc/configure: Generate.
22312 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22313 * configure: Regenerate.
22314 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22315 * config.make.in (have-as-vis3): New.
22316 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22317 available use -Av9d instead of -Av9a.
22318 * sysdeps/sparc/sparc64/Makefile: Likewise.
22319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22321 New file.
22322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22323 file.
22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22325 New file.
22326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22327 file.
eae47a36
DM
22328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22333
c0c83bc8
DM
22334 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22335 fzeros/fnegs to load 0x80000000 into a float register instead of
22336 using the stack.
7bd951ff
DM
22337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22338
bd951ccb
JM
223392012-03-14 Joseph Myers <joseph@codesourcery.com>
22340
22341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22342 bits/syscall.h.
22343 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22344 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22345 ($(inst_includedir)/bits/syscall.h): Remove rule.
22346 ($(objpfx)bits/syscall.d): Include instead of
22347 $(objpfx)syscall-list.d.
22348 (generated): Change syscall-list.h and syscall-list.d to
22349 bits/syscall.h and bits/syscall.d.
22350
bb4e6db2
RM
223512012-03-14 Roland McGrath <roland@hack.frob.com>
22352
22353 [BZ #13846]
22354 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22355
aa4a2ae1
JM
223562012-03-14 Joseph Myers <joseph@codesourcery.com>
22357
e456826d
JM
22358 [BZ #13841]
22359 * math/s_csqrt.c: Include <float.h>.
22360 (__csqrt): Scale large or subnormal inputs.
22361 * math/s_csqrtf.c: Likewise.
22362 * math/s_csqrtl.c: Likewise.
22363 * math/libm-test.inc (csqrt_test): Add more tests.
22364 * sysdeps/i386/fpu/libm-test-ulps: Update.
22365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22366
aa4a2ae1
JM
22367 [BZ #13840]
22368 * math/libm-test.inc (hypot_test): Add more tests.
22369
7c10fd35
DM
223702012-03-13 David S. Miller <davem@davemloft.net>
22371
22372 [BZ #13840]
22373 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22374 double-precision for the calculation instead of scaling.
22375
f453b98b
JM
223762012-03-13 Joseph Myers <joseph@codesourcery.com>
22377
22378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22379 manipulate bits before adding and subtracting TWO52[sx].
22380 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22382 Likewise.
22383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22384
09a3453f
DM
223852012-03-13 David S. Miller <davem@davemloft.net>
22386
8e59da90
DM
22387 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22388 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22390 rtld-global-offsets.h
22391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22392
2a8ab7f2
DM
22393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22394 large parameters.
22395
10f62770
DM
22396 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22397
5f0bdb18
DM
22398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22399 'err' in the ifdef scope in which it is actually used.
22400
09a3453f
DM
22401 * nss/nss_db/db-init.c: Include string.h
22402
b4b2eb5e
DM
224032012-03-12 David S. Miller <davem@davemloft.net>
22404
98bb2f1c
DM
22405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22406 masking out of the most significant byte of random value used.
22407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22408 Fix coding style in previous change.
22409
b4b2eb5e
DM
22410 * sysdeps/unix/sysv/linux/kernel-features.h
22411 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22412 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22413 expression.
22414 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22415 later.
22416
6e226b09
DM
224172012-03-11 David S. Miller <davem@davemloft.net>
22418
a1bcbd40
DM
22419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22420 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22422 for 'resultvar' otherwise things get truncated on 64-bit.
22423
cb9d6174
DM
22424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22425 Fix masking out of the most significant byte of random value used.
22426
6e226b09
DM
22427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22428
058c132d
AS
224292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22430
22431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22432
2d2cd515
DM
224332012-03-09 David S. Miller <davem@davemloft.net>
22434
22435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22436 variables with appropriate CPP guards.
22437 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22438 frame pointer, not the stack pointer. Correct layout comments. Fix test
22439 on resulting framesize and the management of the outregs buffer for pltexit.
22440 Preserve floating point return values across _dl_call_pltexit call.
22441 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22442 framesize and the management of the outregs buffer for pltexit.
22443 Preserve floating point return values across _dl_call_pltexit
22444 call.
22445 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22446 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22447 (print_exit): Fix format string for return register value.
22448
9a07f9d0
JM
224492012-03-10 Joseph Myers <joseph@codesourcery.com>
22450
22451 * sunrpc/Makefile (others): Add rpcgen.
22452 ($(objpfx)rpcgen): Remove special build rule and dependency on
22453 libc.
22454 * sunrpc/rpcgen.c: New file.
22455
547b5e30
PE
224562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22457
c524201a
PE
22458 [BZ #13673]
22459 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22460 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22461 * sysdeps/i386/crti.S: Likewise.
22462 * sysdeps/i386/crtn.S: Likewise.
22463 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22464 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22465 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22466 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22467 * sysdeps/sh/crti.S: Likewise.
22468 * sysdeps/sh/crtn.S: Likewise.
22469 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22470
7b6235f2
PE
22471 [BZ #13673]
22472 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22473 with URL.
22474 * locale/programs/locfile-kw.gperf: Likewise.
22475 * locale/programs/charmap-kw.h: Regenerated.
22476 * locale/programs/locfile-kw.h: Likewise.
22477
547b5e30
PE
22478 [BZ #13673]
22479 * intl/plural.y: Replace FSF snail mail address with URL.
22480 * intl/plural.c: Regenerated.
22481
5f0a5dae
RH
224822012-03-09 Richard Henderson <rth@twiddle.net>
22483
22484 * include/math_private.h: Remove file.
22485 * math/math_private.h: Move file ...
22486 * sysdeps/generic/math_private.h: ... here.
22487
b8c03620
RH
22488 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22489 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22491
4e234f5d 22492 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22493 and <math_private.h>.
22494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22499 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22534 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22545 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22582 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22585 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22588 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22606 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22607 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22617 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22621 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22632 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22634 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22637 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22638 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22642 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22643 * sysdeps/ieee754/k_standard.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22804 * sysdeps/ieee754/s_lib_version.c: Likewise.
22805 * sysdeps/ieee754/s_matherr.c: Likewise.
22806 * sysdeps/ieee754/s_signgam.c: Likewise.
22807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22810 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22813 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22814 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22815 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22816 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22817 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22818 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22821 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22828
1991fa03
JM
228292012-03-09 Joseph Myers <joseph@codesourcery.com>
22830
22831 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22832 * sunrpc/rpc_main.c: Likewise.
22833 * sunrpc/rpc_svcout.c: Likewise.
22834
60d6f5a6
DM
228352012-03-09 David S. Miller <davem@davemloft.net>
22836
22837 * include/math_private.h: New file.
22838
4962050e
JM
228392012-03-09 Joseph Myers <joseph@codesourcery.com>
22840
02a6f887
JM
22841 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22842 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22843 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22844 from <bits/socket_type.h>.
22845 (enum __socket_type): Don't define here.
22846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22848 bits/socket_type.h.
22849
c6e013c1
JM
22850 [BZ #13566]
22851 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22852 checking __USE_GNU.
22853
4962050e
JM
22854 * Makerules ($(inst_includedir)/%.h): New rule.
22855 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22856 (install-others): Remove variable setting.
22857 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22858
38842f45
RH
228592012-03-08 Richard Henderson <rth@twiddle.net>
22860
67bb6da6
RH
22861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22862 from macro to inline function; merge with the
22863 !__LIBC_INTERNAL_MATH_INLINES version.
22864 (__ieee754_sqrtf): Likewise.
22865
15194b4b
RH
22866 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22867 to inline function.
22868 (__rintf, __floor, __floorf): Likewise.
22869
64e21ede
RH
22870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22871 macro to inline function.
22872 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22873
38842f45
RH
22874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22875 not <math/math_private.h>.
22876
c64bf5fe
DM
228772012-03-08 David S. Miller <davem@davemloft.net>
22878
22879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22880 copyright year.
22881 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22882
82d86f28
TS
228832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22884
22885 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22886 normalization.
22887 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22888 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22889
aea5d727
UD
228902012-03-08 Ulrich Drepper <drepper@gmail.com>
22891
22892 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22893 be defined individually, they must be defined as a block. Define
22894 S for printing a string instead of hidint the different by using a
22895 macro for adding the 'l'.
22896 * stdio-common/tst-fphex-wide.c: Adjust.
22897
70bca0a3
MP
228982012-03-07 Marek Polacek <polacek@redhat.com>
22899
22900 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22901
65b81130
MP
229022012-03-08 Marek Polacek <polacek@redhat.com>
22903
22904 [BZ #13806]
22905 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22906 * stdio-common/tst-fphex.c: Define a few macros to make the
22907 test reusable. Use them.
22908 * stdio-common/tst-fphex-wide.c: New file.
22909
07037eeb
JM
229102012-03-08 Joseph Myers <joseph@codesourcery.com>
22911
a7a93d50
JM
22912 [BZ #6911]
22913 * manual/macros.texi (gnusystems): New macro.
22914 (nongnusystems): Likewise.
22915 (gnulinuxhurdsystems): Likewise.
22916 (gnuhurdsystems): Likewise..
22917 (gnulinuxsystems): Likewise.
22918 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22919 variants of the GNU system, not "GNU system".
22920 * manual/conf.texi: Likewise.
22921 * manual/errno.texi: Likewise. Update example of errno macro
22922 expansion.
22923 * manual/filesys.texi: Likewise.
22924 (getumask): Document as specific to GNU/Hurd.
22925 * manual/install.texi: Likewise. Reword some references to
22926 GNU/Linux.
22927 * manual/intro.texi: Likewise.
22928 * manual/io.texi: Likewise.
22929 (File Name Portability): Detail which constraints are inapplicable
22930 to all GNU systems and which are only inapplicable to GNU/Hurd.
22931 * manual/job.texi: Likewise.
22932 * manual/llio.texi: Likewise.
22933 (O_NOCTTY): Document as present on GNU/Linux.
22934 * manual/maint.texi: Likewise.
22935 * manual/memory.texi: Likewise.
22936 * manual/pattern.texi: Likewise.
22937 * manual/pipe.texi: Likewise.
22938 * manual/process.texi: Likewise.
22939 * manual/resource.texi: Likewise.
22940 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22941 child on GNU/Hurd.
22942 * manual/setjmp.texi: Likewise.
22943 * manual/signal.texi: Likewise.
22944 * manual/startup.texi: Likewise.
22945 * manual/stdio.texi: Likewise.
22946 * manual/terminal.texi: Likewise.
22947 (ONLCR): Document as POSIX.
22948 (OXTABS): Document availability on GNU/Linux as XTABS.
22949 (ONOEOT): Document availability separately from other bits.
22950 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22951 * manual/time.texi: Likewise.
22952 * manual/users.texi: Likewise.
22953 * INSTALL: Regenerated.
22954 * sysdeps/gnu/errlist.c: Regenerated.
22955
07037eeb
JM
22956 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22957 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22958 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22959 puts.
22960 * configure: Regenerated.
22961
d1d3431a
JM
229622012-03-07 Joseph Myers <joseph@codesourcery.com>
22963
af6a1e37
JM
22964 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22965 default includes instead of AC_HEADER_CHECK.
22966 * sysdeps/i386/configure: Regenerated.
22967
d1d3431a
JM
22968 [BZ #10716]
22969 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22970 * math/s_cacoshf.c (__cacoshf): Likewise.
22971 * math/s_cacoshl.c (__cacoshl): Likewise.
22972 * math/s_casinh.c (__casinh): Set signs of result from argument.
22973 * math/s_casinhf.c (__casinhf): Likewise.
22974 * math/s_casinhl.c (__casinhl): Likewise.
22975 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22976 (casinh_test): Add more tests.
22977 * sysdeps/i386/fpu/libm-test-ulps: Update.
22978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22979
482ff4da
UD
229802012-03-07 Ulrich Drepper <drepper@gmail.com>
22981
872fda05
UD
22982 * po/zh_TW.po: Update from translation team.
22983
a4300c7a
UD
22984 * login/Makefile (distribute): Remove variable.
22985 * catgets/Makefile: Likewise.
22986 * mach/Makefile: Likewise.
22987 * malloc/Makefile: Likewise.
22988 * misc/Makefile: Likewise.
22989 * iconv/Makefile: Likewise.
22990 * nscd/Makefile: Likewise.
22991 * hurd/Makefile: Likewise.
22992 * manual/Makefile: Likewise.
22993 * locale/Makefile: Likewise.
22994 * intl/Makefile: Likewise.
22995 * conform/Makefile: Likewise.
22996 * nss/Makefile: Likewise.
22997 * time/Makefile: Likewise.
22998 * soft-fp/Makefile: Likewise.
22999 * dirent/Makefile: Likewise.
23000 * gmon/Makefile: Likewise.
23001 * po/Makefile: Likewise.
23002 * rt/Makefile: Likewise.
23003 * socket/Makefile: Likewise.
23004 * math/Makefile: Likewise.
23005 * signal/Makefile: Likewise.
23006 * debug/Makefile: Likewise.
23007 * elf/Makefile: Likewise.
23008 * timezone/Makefile: Likewise.
23009 * stdlib/Makefile: Likewise.
23010 * iconvdata/Makefile: Likewise.
23011 * sunrpc/Makefile: Likewise.
23012 * io/Makefile: Likewise.
23013 * argp/Makefile: Likewise.
23014 * inet/Makefile: Likewise.
23015 * hesiod/Makefile: Likewise.
23016 * grp/Makefile: Likewise.
23017 * csu/Makefile: Likewise.
23018 * wctype/Makefile: Likewise.
23019 * crypt/Makefile: Likewise.
23020 * libio/Makefile: Likewise.
23021 * string/Makefile: Likewise.
23022 * nis/Makefile: Likewise.
23023 * resolv/Makefile: Likewise.
23024 * stdio-common/Makefile: Likewise.
23025 * wcsmbs/Makefile: Likewise.
23026 * dlfcn/Makefile: Likewise.
23027 * posix/Makefile: Likewise.
23028
3b7c4e74 23029 [BZ #6959]
482ff4da
UD
23030 * timezone/Makefile: Don't install timezone files, just the programs
23031 and scripts.
23032
f72ed77d
UD
230332012-03-06 Ulrich Drepper <drepper@gmail.com>
23034
a000466f
UD
23035 * nss/databases.def: Add missing gshadow entry.
23036
f72ed77d
UD
23037 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23038
a53b7a4e
MP
230392012-03-06 Marek Polacek <polacek@redhat.com>
23040
23041 [BZ #13726]
23042 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23043 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23044 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23045 * stdio-common/tst-long-dbl-fphex.c: New file.
23046
e9258400
DM
230472012-03-06 David S. Miller <davem@davemloft.net>
23048
23049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23050 (set_obp_int): New function.
23051 (get_obp_int): New function.
23052 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23054 Avoid unused variable warnings on 'val' and use builtin_expect.
23055 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23056 __builtin_expect.
e9258400
DM
23057 (INLINE_CLONE_SYSCALL): Likewise.
23058
3bd2c723
DM
230592012-03-05 David S. Miller <davem@davemloft.net>
23060
23061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23062
bbb78d03
AS
230632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23064
884c5db4
AS
23065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23066
bbb78d03
AS
23067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23068 only for |x| >= 40.
23069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23070
1c9f702a 230712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23072
23073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23074 Replace gettimeofday with __vdso_gettimeofday.
23075
7be16f82
RM
23076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23077 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23078 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23079
23080 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23081 time with __vdso_time.
23082
ed58a00f
JM
230832012-03-05 Joseph Myers <joseph@codesourcery.com>
23084
23085 * manual/lang.texi (size_t): Note types to which size_t may be
23086 equivalent with the GNU C Library, but do not describe when
23087 differences between them are significant.
23088
30ee4ced
AJ
230892012-03-05 Andreas Jaeger <aj@suse.de>
23090
23091 * sysdeps/i386/fpu/libm-test-ulps: Update.
23092
b7cd39e8
JM
230932012-03-05 Joseph Myers <joseph@codesourcery.com>
23094
23095 [BZ #3976]
23096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23097 (__ieee754_pow): Save and restore rounding mode and use
23098 round-to-nearest for main computations.
23099 * math/libm-test.inc (pow_test_tonearest): New function.
23100 (pow_test_towardzero): Likewise.
23101 (pow_test_downward): Likewise.
23102 (pow_test_upward): Likewise.
23103 (main): Call the new functions.
23104 * sysdeps/i386/fpu/libm-test-ulps: Update.
23105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23106
23107 [BZ #3976]
23108 * math/libm-test.inc (cosh_test_tonearest): New function.
23109 (cosh_test_towardzero): Likewise.
23110 (cosh_test_downward): Likewise.
23111 (cosh_test_upward): Likewise.
23112 (sinh_test_tonearest): Likewise.
23113 (sinh_test_towardzero): Likewise.
23114 (sinh_test_downward): Likewise.
23115 (sinh_test_upward): Likewise.
23116 (main): Call the new functions.
23117 * sysdeps/i386/fpu/libm-test-ulps: Update.
23118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23119
6c6a98c9
TV
231202012-03-05 Tom de Vries <tom@codesourcery.com>
23121
23122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23123 default stack guard is set in last bytes.
23124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23125
21bb2d2e 231262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23127
21bb2d2e 23128 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23129
21bb2d2e
AJ
23130 [BZ #13656]
23131 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23132 possibly allocate from heap instead of stack.
23133 * stdio-common/bug-vfprintf-nargs.c: New file.
23134 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23135
c6922934
AS
231362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23137
23138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23139
bc957d53
MP
231402012-03-03 Marek Polacek <polacek@redhat.com>
23141
23142 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23143 * math/math_private.h: Likewise.
23144 * stdlib/tst-strtod.c: Likewise.
23145 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23146 * sysdeps/x86_64/bits/atomic.h: Likewise.
23147
6358490d
DM
231482012-03-02 David S. Miller <davem@davemloft.net>
23149
23150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23154 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23155 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23156 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23157 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23158
01ae168d
RM
231592012-03-02 Roland McGrath <roland@hack.frob.com>
23160
d9a17c07
RM
23161 [BZ #13792]
23162 * manual/examples/README: New file, says the example source files
23163 can be used under GPL>=2.
23164 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23165 line containing just "*/".
23166 * manual/examples/add.c: Add copyright header (GPL>=2).
23167 * manual/examples/argp-ex1.c: Likewise.
23168 * manual/examples/argp-ex2.c: Likewise.
23169 * manual/examples/argp-ex3.c: Likewise.
23170 * manual/examples/argp-ex4.c: Likewise.
23171 * manual/examples/atexit.c: Likewise.
23172 * manual/examples/db.c: Likewise.
23173 * manual/examples/dir.c: Likewise.
23174 * manual/examples/dir2.c: Likewise.
23175 * manual/examples/execinfo.c: Likewise.
23176 * manual/examples/filecli.c: Likewise.
23177 * manual/examples/filesrv.c: Likewise.
23178 * manual/examples/fmtmsgexpl.c: Likewise.
23179 * manual/examples/genpass.c: Likewise.
23180 * manual/examples/inetcli.c: Likewise.
23181 * manual/examples/inetsrv.c: Likewise.
23182 * manual/examples/isockad.c: Likewise.
23183 * manual/examples/longopt.c: Likewise.
23184 * manual/examples/memopen.c: Likewise.
23185 * manual/examples/memstrm.c: Likewise.
23186 * manual/examples/mkfsock.c: Likewise.
23187 * manual/examples/mkisock.c: Likewise.
23188 * manual/examples/mygetpass.c: Likewise.
23189 * manual/examples/pipe.c: Likewise.
23190 * manual/examples/popen.c: Likewise.
23191 * manual/examples/rprintf.c: Likewise.
23192 * manual/examples/search.c: Likewise.
23193 * manual/examples/select.c: Likewise.
23194 * manual/examples/setjmp.c: Likewise.
23195 * manual/examples/sigh1.c: Likewise.
23196 * manual/examples/sigusr.c: Likewise.
23197 * manual/examples/stpcpy.c: Likewise.
23198 * manual/examples/strdupa.c: Likewise.
23199 * manual/examples/strftim.c: Likewise.
23200 * manual/examples/strncat.c: Likewise.
23201 * manual/examples/subopt.c: Likewise.
23202 * manual/examples/swapcontext.c: Likewise.
23203 * manual/examples/termios.c: Likewise.
23204 * manual/examples/testopt.c: Likewise.
23205 * manual/examples/testpass.c: Likewise.
23206 * manual/examples/timeval_subtract.c: Likewise.
23207
01ae168d
RM
23208 [BZ #13792]
23209 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23210 function to ...
23211 * manual/timeval_subtract.c.texi: ... here, new file.
23212
49efa33d
DM
232132012-03-02 David S. Miller <davem@davemloft.net>
23214
23215 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23216
28afd92d
JM
232172012-03-02 Joseph Myers <joseph@codesourcery.com>
23218
804360ed
JM
23219 [BZ #3976]
23220 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23221 (__sin): Save and restore rounding mode and use round-to-nearest
23222 for all computations.
23223 (__cos): Save and restore rounding mode and use round-to-nearest
23224 for all computations.
23225 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23226 <fenv.h>.
23227 (tan): Save and restore rounding mode and use round-to-nearest for
23228 all computations.
23229 * math/libm-test.inc (cos_test_tonearest): New function.
23230 (cos_test_towardzero): Likewise.
23231 (cos_test_downward): Likewise.
23232 (cos_test_upward): Likewise.
23233 (sin_test_tonearest): Likewise.
23234 (sin_test_towardzero): Likewise.
23235 (sin_test_downward): Likewise.
23236 (sin_test_upward): Likewise.
23237 (tan_test_tonearest): Likewise.
23238 (tan_test_towardzero): Likewise.
23239 (tan_test_downward): Likewise.
23240 (tan_test_upward): Likewise.
23241 (main): Call the new functions.
23242 * sysdeps/i386/fpu/libm-test-ulps: Update.
23243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23244
a6d06d7b
JM
23245 [BZ #10135]
23246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23247 small n, then large n, before computing and testing k+n.
23248 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23250 Likewise.
23251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23252 Likewise.
23253 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23254 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23261 * math/libm-test.inc (scalbn_test): Add more tests.
23262 (scalbln_test): Likewise.
23263
07e12bb3
JM
23264 * manual/filesys.texi (mode_t): Describe constraints on size and
23265 signedness, not exact equivalence to a particular type.
23266 (ino_t): Likewise.
23267 (ino64_t): Likewise.
23268 (dev_t): Likewise.
23269 (nlink_t): Likewise.
23270 (blkcnt_t): Likewise.
23271 (blkcnt64_t): Likewise.
23272 * manual/llio.texi (off_t): Likewise.
23273
28afd92d
JM
23274 [BZ #3976]
23275 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23276 (__ieee754_exp): Save and restore rounding mode and use
23277 round-to-nearest for all computations.
23278 * math/libm-test.inc (exp_test_tonearest): New function.
23279 (exp_test_towardzero): Likewise.
23280 (exp_test_downward): Likewise.
23281 (exp_test_upward): Likewise.
23282 (main): Call the new functions.
23283 * sysdeps/i386/fpu/libm-test-ulps: Update.
23284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23285
b1eeb65d
CD
232862012-03-01 Chris Demetriou <cgd@google.com>
23287
23288 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23289 have predictable order.
23290
53362a4b
DM
232912012-03-01 David S. Miller <davem@davemloft.net>
23292
3c969083
DM
23293 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23294
759707de
DM
23295 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23296 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23297 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23298 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23299
dfdb8ff2
DM
23300 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23301 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23304 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23305 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23306 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23307 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23308 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23309
ead89f96
DM
23310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23311
7f66bd07
DM
23312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23313 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23315
53362a4b
DM
23316 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23319 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23320 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23332 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23333 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23334 * sysdeps/sparc/elf/configure: Regenerated.
23335
7b1902cb
JM
233362012-03-01 Joseph Myers <joseph@codesourcery.com>
23337
bec039bc
JM
23338 * configure.in (AS, LD): Require binutils 2.20 or later.
23339 * configure: Regenerated.
23340 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23341 as required minimum version.
23342 * INSTALL: Regenerated.
23343
7b1902cb
JM
23344 [BZ #2541]
23345 [BZ #4108]
23346 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23347 before squaring exponent.
23348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23349 bottom long double and 27 bits of top long double before squaring
23350 exponent.
23351 * math/libm-test.inc (erfc_test): Add more tests.
23352 * sysdeps/i386/fpu/libm-test-ulps: Update.
23353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23355
f775c276
KT
233562012-03-01 Kai Tietz <ktietz@redhat.com>
23357
23358 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23359 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23360 containing bit-fields.
23361 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23362 * soft-fp/single.h (_FP_UNION_S): Likewise.
23363 * soft-fp/double.h (_FP_UNION_D): Likewise.
23364
5b8a4d4a
JM
233652012-02-29 Joseph Myers <joseph@codesourcery.com>
23366
0bab47b6
JM
23367 [BZ #13786]
23368 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23369 not include ../strcmp.S.
23370 [USE_AS_STRNCASECMP_L]: Likewise.
23371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23372 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23373 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23374 (__strncasecmp_l_ia32): Define as alias to
23375 __strncasecmp_l_nonascii.
23376
0fcad3e2
JM
23377 [BZ #5794]
23378 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23379 * sysdeps/i386/fpu/libm-test-ulps: Update.
23380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23381
5b8a4d4a
JM
23382 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23384
8fdceb2e
JL
233852012-02-29 Jeff Law <law@redhat.com>
23386
23387 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23388 out of bounds read.
23389
1f393a11
MP
233902012-02-29 Marek Polacek <polacek@redhat.com>
23391
23392 [BZ #13706]
23393 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23394 * elf/Makefile: Add rules to run tst-unused-dep.out.
23395
8847f037
DM
233962012-02-28 David S. Miller <davem@davemloft.net>
23397
23398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23404
169d7f11
JM
234052012-02-29 Joseph Myers <joseph@codesourcery.com>
23406
23407 * math/libm-test.inc (llround_test): Move one test from
23408 lround_test. Use TEST_f_L in moved test.
23409 (lround_test): Move misplaced test to llround_test. Add testcase
23410 from bug 2561.
23411
39adf059
UD
234122012-02-28 Ulrich Drepper <drepper@gmail.com>
23413
23414 * sysdeps/x86_64/fpu/e_expf.S: New file.
23415 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23416
71b5d1c5
SB
234172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23418
23419 [BZ #13637]
23420 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23421 of remain_len that may cause incomplete multi-byte character and
23422 false match.
23423 * posix/bug-regex33.c: New file.
23424 * posix/Makefile (tests): Add bug-regex33.
23425
1f77f049
JM
234262012-02-28 Joseph Myers <joseph@codesourcery.com>
23427
23428 * manual/macros.texi: New file.
23429 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23430 * manual/libc.texinfo: Include macros.texi.
23431 * manual/creatute.texi: Likewise.
23432 * manual/install.texi: Likewise.
23433 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23434 @glibcadj{} in references to the GNU C Library.
23435 * manual/charset.texi: Likewise.
23436 * manual/conf.texi: Likewise.
23437 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23438 when not using those macros.
23439 * manual/creature.texi: Likewise.
23440 * manual/crypt.texi: Likewise.
23441 * manual/errno.texi: Likewise.
23442 * manual/filesys.texi: Likewise.
23443 * manual/header.texi: Likewise.
23444 * manual/install.texi: Likewise.
23445 * manual/intro.texi: Likewise.
23446 * manual/io.texi: Likewise.
23447 * manual/job.texi: Likewise.
23448 * manual/lang.texi: Likewise.
23449 * manual/libc.texiinfo: Likewise.
23450 * manual/llio.texi: Likewise.
23451 * manual/locale.texi: Likewise.
23452 * manual/maint.texi: Likewise.
23453 * manual/math.texi: Likewise.
23454 * manual/memory.texi: Likewise.
23455 * manual/message.texi: Likewise.
23456 * manual/nss.texi: Likewise.
23457 * manual/pattern.texi: Likewise.
23458 * manual/process.texi: Likewise.
23459 * manual/resource.texi: Likewise.
23460 * manual/search.texi: Likewise.
23461 * manual/setjmp.texi: Likewise.
23462 * manual/signal.texi: Likewise.
23463 * manual/socket.texi: Likewise.
23464 * manual/startup.texi: Likewise.
23465 * manual/stdio.texi: Likewise.
23466 * manual/string.texi: Likewise.
23467 * manual/sysinfo.texi: Likewise.
23468 * manual/syslog.texi: Likewise.
23469 * manual/terminal.texi: Likewise.
23470 * manual/time.texi: Likewise.
23471 * manual/users.texi: Likewise.
23472 * INSTALL: Regenerated.
23473 * NOTES: Regenerated.
d40c5d54 23474 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23475
450bf206
AS
234762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23477
23478 * include/dirent.h: Include <dirstream.h> before
23479 <dirent/dirent.h>.
23480
741a235b
DM
234812012-02-28 David S. Miller <davem@davemloft.net>
23482
23483 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23484 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23487
d6b5aa58
DM
234882012-02-27 David S. Miller <davem@davemloft.net>
23489
1aff59a3
DM
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23492 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23493 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23494
d6b5aa58
DM
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23496 frame pointer instead of stack pointer relative arg slot.
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23500
433f48bf
CD
235012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23502
23503 [BZ #3992]
23504 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23505
d674b76d
DM
235062012-02-27 David S. Miller <davem@davemloft.net>
23507
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23512 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23513 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23514 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23516
0e7727f7
JM
235172012-02-27 Joseph Myers <joseph@codesourcery.com>
23518
23519 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23520 later. Allow versions 5-9.
43be4ca2 23521 * configure: Regenerated.
0e7727f7
JM
23522 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23523 required minimum version and 4.6 as recommended version. Do not
23524 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23525 * INSTALL: Regenerated.
0e7727f7 23526
a78bc654
DM
235272012-02-27 David S. Miller <davem@davemloft.net>
23528
428d5830
DM
23529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23535 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23536 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23537
a78bc654
DM
23538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23539 manipulate bits before adding and subtracting TWO112[sx].
23540 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23541
4579f81c
RM
235422012-02-27 Roland McGrath <roland@hack.frob.com>
23543
36c8acb4
RM
23544 [BZ #13775]
23545 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23546 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23547 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23548 being in POSIX, because they are in 1003.1-2008.
23549
84ad622b
RM
23550 * rt/tst-aio.c: Include <fcntl.h>.
23551 * rt/tst-aio7.c: Likewise.
23552 * rt/tst-aio64.c: Likewise.
23553
4579f81c
RM
23554 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23555
abd923db
JM
235562012-02-27 Joseph Myers <joseph@codesourcery.com>
23557
23558 * manual/install.texi (--with-headers): Describe headers as
23559 interface headers, not private headers.
23560 (Specific advice for GNU/Linux systems): Describe use of headers
23561 from "make headers_install", not private headers from older
23562 kernels.
43be4ca2 23563 * INSTALL: Regenerated.
abd923db
JM
23564 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23565 Change to 2.6.19.
23566 * sysdeps/unix/sysv/linux/configure: Regenerated.
23567
6664049b
JM
23568 * manual/llio.texi (fclean): Remove documentation.
23569
bb8b6697
JM
23570 * manual/Makefile (libc-texi-generated): New variable. Include
23571 version.texi.
23572 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23573 $(libc-texi-generated), not duplicated list of files.
23574 (version.texi, stamp-version): New rules.
23575 (realclean): Remove $(libc-texi-generated), not individual files
23576 from that list. Do not remove dir-add.texinfo.
23577 * manual/libc.texinfo: Comment out uses of edition numbers and
23578 references to printed manual. Remove last-updated dates.
23579 (EDITION): Comment out.
23580 (ISBN): Likewise.
23581 (VERSION, UPDATED): Remove.
23582 (version.texi): Include.
23583
12e5c3b9
AS
235842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23585
23586 * sysdeps/posix/spawni.c: Include <signal.h>.
23587 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23588 * sysdeps/pthread/aio_fsync.c: Likewise.
23589
4efeffc1 235902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23591
ba63ba08
UD
23592 * conform/Makefile (tests): Run only when not cross-compiling and
23593 when fast-check is not defined.
23594
d94a4670
UD
23595 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23596 * conform/data/limits.h-data: Fixes for POSIX2008.
23597 * conform/run-conformtest.sh: Run all tests.
23598 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23599 headers.
23600 * include/bits/dlfcn.h: Likewise.
23601 * include/langinfo.h: Likewise.
23602 * include/monetary.h: Likewise.
23603 * include/sys/poll.h: Likewise.
23604
23605 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23606 for __USE_GNU.
23607 * posix/spawn.h: Define __need_sigset_t.
23608 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23609 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23610 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23611 to get sigevent_t only.
23612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23613 only for __USE_GNU.
23614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23616 process_vm_writev only for __USE_GNU.
23617 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23618
23619 * conform/Makefile: For now ignore errors from run-conformtest.
23620 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23621 POSIX to avoid namespace pollution. Don't prepend headers.
23622 * conform/data/aio.h-data: Fixes for POSIX testing.
23623 * conform/data/fcntl.h-data: Likewise.
23624 * conform/data/glob.h-data: Likewise.
23625 * conform/data/grp.h-data: Likewise.
23626 * conform/data/pthread.h-data: Likewise.
23627 * conform/data/pwd.h-data: Likewise.
23628 * conform/data/signal.h-data: Likewise.
23629 * conform/data/spawn.h-data: Likewise.
23630 * conform/data/stdio.h-data: Likewise.
23631 * conform/data/stdlib.h-data: Likewise.
23632 * conform/data/stropts.h-data: Likewise.
23633 * conform/data/sys/mman.h-data: Likewise.
23634 * conform/data/sys/stat.h-data: Likewise.
23635 * conform/data/sys/types.h-data: Likewise.
23636 * conform/data/sys/wait.h-data: Likewise.
23637 * conform/data/time.h-data: Likewise.
23638 * conform/data/unistd.h-data: Likewise.
23639 * conform/data/utime.h-data: Likewise.
23640
23641 * io/sys/stat.h: fchmod was always in POSIX.
23642 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23643 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23644 * rt/aio.h: Define __need_timespec before including <time.h>.
23645 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23646 struct. Add forward declaration of pthread_attr_t and use it in
23647 sigevent.
23648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23650 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23651 always remove CLK_TCK definition.
23652
c20105c3
AS
236532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23654
23655 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23656
7a270350
UD
236572012-02-25 Ulrich Drepper <drepper@gmail.com>
23658
31341567
UD
23659 * conform/run-conformtest.sh: New file.
23660 * conform/Makefile: Run run-conformtest for tests.
23661 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23662 support.
23663
23664 * conform/data/uchar.h-data: New file.
23665 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23666 * conform/data/arpa/inet.h-data: Likewise.
23667 * conform/data/assert.h-data: Likewise.
23668 * conform/data/complex.h-data: Likewise.
23669 * conform/data/cpio.h-data: Likewise.
23670 * conform/data/ctype.h-data: Likewise.
23671 * conform/data/dirent.h-data: Likewise.
23672 * conform/data/dlfcn.h-data: Likewise.
23673 * conform/data/errno.h-data: Likewise.
23674 * conform/data/fcntl.h-data: Likewise.
23675 * conform/data/float.h-data: Likewise.
23676 * conform/data/fmtmsg.h-data: Likewise.
23677 * conform/data/fnmatch.h-data: Likewise.
23678 * conform/data/ftw.h-data: Likewise.
23679 * conform/data/glob.h-data: Likewise.
23680 * conform/data/grp.h-data: Likewise.
23681 * conform/data/iconv.h-data: Likewise.
23682 * conform/data/inttypes.h-data: Likewise.
23683 * conform/data/langinfo.h-data: Likewise.
23684 * conform/data/libgen.h-data: Likewise.
23685 * conform/data/limits.h-data: Likewise.
23686 * conform/data/locale.h-data: Likewise.
23687 * conform/data/math.h-data: Likewise.
23688 * conform/data/monetary.h-data: Likewise.
23689 * conform/data/mqueue.h-data: Likewise.
23690 * conform/data/ndbm.h-data: Likewise.
23691 * conform/data/net/if.h-data: Likewise.
23692 * conform/data/netdb.h-data: Likewise.
23693 * conform/data/netinet/in.h-data: Likewise.
23694 * conform/data/nl_types.h-data: Likewise.
23695 * conform/data/poll.h-data: Likewise.
23696 * conform/data/pthread.h-data: Likewise.
23697 * conform/data/pwd.h-data: Likewise.
23698 * conform/data/regex.h-data: Likewise.
23699 * conform/data/sched.h-data: Likewise.
23700 * conform/data/search.h-data: Likewise.
23701 * conform/data/semaphore.h-data: Likewise.
23702 * conform/data/setjmp.h-data: Likewise.
23703 * conform/data/signal.h-data: Likewise.
23704 * conform/data/spawn.h-data: Likewise.
23705 * conform/data/stdarg.h-data: Likewise.
23706 * conform/data/stdio.h-data: Likewise.
23707 * conform/data/stdlib.h-data: Likewise.
23708 * conform/data/string.h-data: Likewise.
23709 * conform/data/strings.h-data: Likewise.
23710 * conform/data/stropts.h-data: Likewise.
23711 * conform/data/sys/ipc.h-data: Likewise.
23712 * conform/data/sys/mman.h-data: Likewise.
23713 * conform/data/sys/msg.h-data: Likewise.
23714 * conform/data/sys/resource.h-data: Likewise.
23715 * conform/data/sys/select.h-data: Likewise.
23716 * conform/data/sys/sem.h-data: Likewise.
23717 * conform/data/sys/shm.h-data: Likewise.
23718 * conform/data/sys/socket.h-data: Likewise.
23719 * conform/data/sys/stat.h-data: Likewise.
23720 * conform/data/sys/statvfs.h-data: Likewise.
23721 * conform/data/sys/time.h-data: Likewise.
23722 * conform/data/sys/timeb.h-data: Likewise.
23723 * conform/data/sys/times.h-data: Likewise.
23724 * conform/data/sys/types.h-data: Likewise.
23725 * conform/data/sys/uio.h-data: Likewise.
23726 * conform/data/sys/un.h-data: Likewise.
23727 * conform/data/sys/utsname.h-data: Likewise.
23728 * conform/data/sys/wait.h-data: Likewise.
23729 * conform/data/syslog.h-data: Likewise.
23730 * conform/data/tar.h-data: Likewise.
23731 * conform/data/termios.h-data: Likewise.
23732 * conform/data/utime.h-data: Likewise.
23733 * conform/data/utmpx.h-data: Likewise.
23734 * conform/data/varargs.h-data: Likewise.
23735 * conform/data/wchar.h-data: Likewise.
23736 * conform/data/wctype.h-data: Likewise.
23737 * conform/data/wordexp.h-data: Likewise.
23738
23739 * include/stropts.h: New file.
23740 * include/uchar.h: New file.
23741 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23742 * include/assert.h: Likewise.
23743 * include/ctype.h: Likewise.
23744 * include/dirent.h: Likewise.
23745 * include/dlfcn.h: Likewise.
23746 * include/fcntl.h: Likewise.
23747 * include/fnmatch.h: Likewise.
23748 * include/glob.h: Likewise.
23749 * include/grp.h: Likewise.
23750 * include/libio.h: Likewise.
23751 * include/locale.h: Likewise.
23752 * include/math.h: Likewise.
23753 * include/net/if.h: Likewise.
23754 * include/netdb.h: Likewise.
23755 * include/netinet/in.h: Likewise.
23756 * include/pthread.h: Likewise.
23757 * include/pwd.h: Likewise.
23758 * include/regex.h: Likewise.
23759 * include/sched.h: Likewise.
23760 * include/search.h: Likewise.
23761 * include/setjmp.h: Likewise.
23762 * include/signal.h: Likewise.
23763 * include/stdio.h: Likewise.
23764 * include/stdlib.h: Likewise.
23765 * include/string.h: Likewise.
23766 * include/sys/cdefs.h: Likewise.
23767 * include/sys/mman.h: Likewise.
23768 * include/sys/msg.h: Likewise.
23769 * include/sys/resource.h: Likewise.
23770 * include/sys/select.h: Likewise.
23771 * include/sys/socket.h: Likewise.
23772 * include/sys/stat.h: Likewise.
23773 * include/sys/statvfs.h: Likewise.
23774 * include/sys/time.h: Likewise.
23775 * include/sys/times.h: Likewise.
23776 * include/sys/uio.h: Likewise.
23777 * include/sys/utsname.h: Likewise.
23778 * include/sys/wait.h: Likewise.
23779 * include/termios.h: Likewise.
23780 * include/time.h: Likewise.
23781 * include/ulimit.h: Likewise.
23782 * include/unistd.h: Likewise.
23783 * include/utime.h: Likewise.
23784 * include/wchar.h: Likewise.
23785 * include/wctype.h: Likewise.
23786 * include/wordexp.h: Likewise.
23787
23788 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23789
7a270350
UD
23790 * time/time.h: TIME_UTC must be a macro.
23791 Make timespec_get available for ISO C11 only as well.
23792
7724defc
UD
237932012-02-24 Ulrich Drepper <drepper@gmail.com>
23794
23795 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23796 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23797
6b1d1d46
JM
237982012-02-24 Joseph Myers <joseph@codesourcery.com>
23799
23800 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23801
0f8bbd69
JM
238022012-02-24 Joseph Myers <joseph@codesourcery.com>
23803
23804 * manual/texinfo.tex: Update to version 2012-01-19.16.
23805
66ab80bc
JM
238062012-02-24 Joseph Myers <joseph@codesourcery.com>
23807
23808 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23809
74981cc5
RM
238102012-02-24 Roland McGrath <roland@hack.frob.com>
23811
ee968201
RM
23812 [BZ #13738]
23813 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23814 * manual/fdl-1.3.texi: New file.
23815 * manual/fdl-1.1.texi: File removed.
23816
74981cc5
RM
23817 [BZ #13738]
23818 * manual/libc.texinfo (FDL_VERSION): New @set.
23819 Use it for mention of FDL in cover text.
23820 (Documentation License): Use it in @include file name.
23821
7bb764bc
JM
238222012-02-22 Joseph Myers <joseph@codesourcery.com>
23823 Roland McGrath <roland@hack.frob.com>
23824
23825 [BZ #5461]
23826 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23827 not LONG_LONG_MAX and LONG_LONG_MIN.
23828 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23829 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23830 name.
23831 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23832
6cbeae47
JM
238332012-02-22 Joseph Myers <joseph@codesourcery.com>
23834
23835 [BZ #2547]
23836 [BZ #11365]
23837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23838 manipulate bits before adding and subtracting TWO23[sx].
23839 * math/libm-test.inc (nearbyint_test): Add more tests.
23840
fe45ce09
JM
238412012-02-22 Joseph Myers <joseph@codesourcery.com>
23842
23843 [BZ #2548]
23844 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23845 bits before adding and subtracting TWO23[sx].
23846 * math/libm-test.inc (rint_test): Add more tests.
23847 (rint_test_tonearest): Likewise.
23848 (rint_test_towardzero): Likewise.
23849 (rint_test_downward): Likewise.
23850 (rint_test_upward: Likewise.
23851
ff3b3d82
JM
238522012-02-22 Joseph Myers <joseph@codesourcery.com>
23853
23854 [BZ #10110]
23855 * include/stdc-predef.h: New file. Extracted from features.h.
23856 * include/features.h: Include stdc-predef.h.
23857 * Makefile (headers): Add stdc-predef.h.
23858 * CONFORMANCE (Compiler limitations): Update.
23859
ef0aab35
JM
238602012-02-22 Joseph Myers <joseph@codesourcery.com>
23861
23862 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23863
58639409
DM
238642012-02-21 David S. Miller <davem@davemloft.net>
23865
23866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23868
c0e70b25
DM
238692012-02-20 David S. Miller <davem@davemloft.net>
23870
23871 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23872 using a normal save/restore sequence, rather than allocating a
23873 dummy stack frame just to store a frame pointer and restore.
23874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23875
fb06851d
JM
238762012-02-21 Joseph Myers <joseph@codesourcery.com>
23877
23878 * manual/install.texi: Fix stray word in line-wrapped comment.
23879
7a8b71c3
DM
238802012-02-20 David S. Miller <davem@davemloft.net>
23881
d510c123
DM
23882 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23883 both binutils and gcc support GOTDATA.
23884
0722d7c2
DM
23885 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23886 "rd %pc" in the PIC register setup sequences.
23887
3d2b3019
DM
23888 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23889 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23891 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23897 (SYSCALL_ERROR_HANDLER): Likewise.
23898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23901 (SYSCALL_ERROR_HANDLER): Likewise.
23902
c80098a9
DM
23903 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23904 (HAVE_GCC_GOTDATA): New.
23905 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23906 relocation support in both binutils and gcc.
23907 * sysdeps/sparc/elf/configure: Regenerate.
23908
3a2545a0
DM
23909 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23910 * sysdeps/sparc/sparc32/elf/configure: Delete.
23911 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23912 * sysdeps/sparc/sparc64/elf/configure: Delete.
23913 * sysdeps/sparc/elf/configure.in: New file.
23914 * sysdeps/sparc/elf/configure: Generate.
23915
7a8b71c3
DM
23916 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23917 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23919 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23920 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23921
f1e86fca
JM
239222012-02-21 Joseph Myers <joseph@codesourcery.com>
23923
23924 * manual/install.texi: Do not mention specific glibc version
23925 numbers.
23926 * manual/libc.texinfo (VERSION, UPDATED): Update.
23927 (@copying): Use @copyright{} and range of years.
23928
0e7dfaef
JM
239292012-02-21 Joseph Myers <joseph@codesourcery.com>
23930
23931 [BZ #13695]
23932 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23933 [crti.S not in sysdirs] (generated): Do not append.
23934 [crti.S not in sysdirs] (omit-deps): Likewise.
23935 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23936 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23937 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23938 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23939 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23940 Likewise.
23941 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23942 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23943 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23944 * csu/defs.awk: Remove file.
23945 * sysdeps/generic/initfini.c: Likewise.
23946 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23947 variable.
23948 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23949 Likewise.
23950
599af3ca
JM
239512012-02-20 Joseph Myers <joseph@codesourcery.com>
23952
23953 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23955 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23958 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23959 <bits/epoll.h>.
23960 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23961 (__EPOLL_PACKED): Define to empty if not defined by
23962 <bits/epoll.h>.
23963 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23965 bits/epoll.h.
23966
0e499750
JM
239672012-02-20 Joseph Myers <joseph@codesourcery.com>
23968
23969 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23970 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23971 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23973 <bits/timerfd.h>.
23974 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23976 bits/timerfd.h.
23977
5ad91f6e
JM
239782012-02-20 Joseph Myers <joseph@codesourcery.com>
23979
23980 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23981 in C locale.
23982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23986
06b99b02
AJ
239872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23988
23989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23991
7638c0fd
AS
239922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23993
23994 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23995 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23996 defined.
23997 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23998 Likewise.
23999 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24000 entry for 2.16.
24001
92221550
AJ
240022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24003
24004 * math/w_acos.c: Use non-signaling floating-point comparisons.
24005 * math/w_acosf.c: Likewise.
24006 * math/w_acosh.c: Likewise.
24007 * math/w_acoshf.c: Likewise.
24008 * math/w_acoshl.c: Likewise.
24009 * math/w_acosl.c: Likewise.
24010 * math/w_asin.c: Likewise.
24011 * math/w_asinf.c: Likewise.
24012 * math/w_asinl.c: Likewise.
24013 * math/w_atanh.c: Likewise.
24014 * math/w_atanhf.c: Likewise.
24015 * math/w_atanhl.c: Likewise.
24016 * math/w_exp2.c: Likewise.
24017 * math/w_exp2f.c: Likewise.
24018 * math/w_exp2l.c: Likewise.
24019 * math/w_j0.c: Likewise.
24020 * math/w_j0f.c: Likewise.
24021 * math/w_j0l.c: Likewise.
24022 * math/w_j1.c: Likewise.
24023 * math/w_j1f.c: Likewise.
24024 * math/w_j1l.c: Likewise.
24025 * math/w_jn.c: Likewise.
24026 * math/w_jnf.c: Likewise.
24027 * math/w_log.c: Likewise.
24028 * math/w_log10.c: Likewise.
24029 * math/w_log10f.c: Likewise.
24030 * math/w_log10l.c: Likewise.
24031 * math/w_log2.c: Likewise.
24032 * math/w_log2f.c: Likewise.
24033 * math/w_log2l.c: Likewise.
24034 * math/w_logf.c: Likewise.
24035 * math/w_logl.c: Likewise.
24036 * math/w_sqrt.c: Likewise.
24037 * math/w_sqrtf.c: Likewise.
24038 * math/w_sqrtl.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24044
ebaf36eb
JM
240452012-02-19 Joseph Myers <joseph@codesourcery.com>
24046
24047 [BZ #9739]
24048 * manual/string.texi (strnlen): Use correct parameter name in
24049 equivalent expression.
24050
71c254a6
JM
240512012-02-19 Joseph Myers <joseph@codesourcery.com>
24052
24053 [BZ #11174]
24054 * manual/users.texi (seteuid): Consistently use neweuid for
24055 argument name.
24056
16d2c631
JM
240572012-02-19 Joseph Myers <joseph@codesourcery.com>
24058
24059 [BZ #13704]
24060 * manual/nss.texi (Services in the NSS configuration): Correct
24061 list of services in example configuration file.
24062
cd837b09
NB
240632012-02-19 Nick Bowler <nbowler@draconx.ca>
24064
24065 [BZ #11322]
24066 * manual/arith.texi: Remove statements about negative zero
24067 behaving identically to zero.
24068
02c4bbad
JM
240692012-02-18 Joseph Myers <joseph@codesourcery.com>
24070
24071 [BZ #5993]
24072 * manual/install.texi: Do not document upgrading from libc5.
24073
366842e7
JM
240742012-02-18 Joseph Myers <joseph@codesourcery.com>
24075
24076 [BZ #4596]
24077 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24078
dd54084d
DM
240792012-02-18 David S. Miller <davem@davemloft.net>
24080
24081 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24082 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24083 %o7 across the call.
24084 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24085 instead.
24086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24087 SETUP_PIC_REG_LEAF.
24088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24089 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24090 * sysdeps/sparc/crtn.S: Likewise.
24091
2bcc53a3
UD
240922012-02-17 Ulrich Drepper <drepper@gmail.com>
24093
24094 * aout/Makefile: Remove.
24095
09c093b5
RK
240962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24097
24098 [BZ #13058]
24099 * manual/examples/argp-ex1.c (main): Format definition in GNU
24100 style.
24101 * manual/examples/argp-ex2.c (main): Likewise.
24102 * manual/examples/argp-ex3.c (main): Likewise.
24103 * manual/examples/argp-ex4.c (main): Likewise.
24104 * manual/examples/longopt.c (main): Use new-style prototype
24105 definition.
24106 * manual/examples/strncat.c (main): Specify return type and use
24107 (void) for arguments.
24108 * manual/examples/subopt.c (main): Use char **argv argument.
24109
2ee633a2
JM
241102012-02-17 Joseph Myers <joseph@codesourcery.com>
24111
24112 [BZ #5077]
24113 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24114 rounding modes.
24115
0520adde
FB
241162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24117
24118 [BZ #6907]
24119 * manual/string.texi (strchr): Change when strchrnul is
24120 recommended.
24121
3f4081cd
DGM
241222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24123
24124 [BZ #174]
24125 * manual/locale.texi (setlocale): Document LOCPATH.
24126
d1b10e78
JM
241272012-02-17 Joseph Myers <joseph@codesourcery.com>
24128
24129 [BZ #10210]
24130 * manual/process.texi (execle): Move @dots{} before last argument.
24131
79c6869c
PB
241322012-02-17 Paul Bolle <pebolle@tiscali.nl>
24133
24134 [BZ #12047]
24135 * manual/charset.texi (Generic Charset Conversion): Fix typo
24136 (LC_TYPE -> LC_CTYPE).
24137
cc6e48bc
NB
241382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24139
24140 [BZ #5805]
24141 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24142 (scalbnf): Likewise.
24143 (scalbnl): Likewise.
24144 (scalbln): Likewise.
24145 (scalblnf): Likewise.
24146 (scalblnl): Likewise.
24147 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24148 (vwarnx): Likewise.
24149 (verr): Likewise.
24150 (verrx): Likewise.
24151 * manual/filesys.texi (telldir): Use braces around return type.
24152 * manual/llio.texi (mmap): Add space after comma.
24153 (mmap64): Likewise.
24154 * manual/math.texi (jn): Use @var{} on parameter names.
24155 (jnf): Likewise.
24156 (jnl): Likewise.
24157 (yn): Likewise.
24158 (ynf): Likewise.
24159 (ynl): Likewise.
24160 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24161 line.
24162 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24163 "...".
24164 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24165 (sched_get_priority_max): Likewise.
24166 * manual/signal.texi (sigvec): Add space after comma.
24167 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24168 names.
24169 (if_indextoname): Likewise.
24170 (if_freenameindex): Likewise.
24171 (sendto): Use ',' instead of '.' in prototype.
24172 * manual/startup.texi (syscall): Use @dots{} instead of literal
24173 "...".
24174 * manual/stdio.texi (__fpending): Separate initial words of
24175 paragraph from @deftypefun line.
24176 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24177 "...".
24178 (vsyslog): Use @var{} on parameter names.
24179 * manual/terminal.texi (stty): Use @var{} on parameter names.
24180 * manual/users.texi (getutmp): Use @var{} on parameter names.
24181 (getutmpx): Likewise.
24182
5b23062f
JM
241832012-02-17 Joseph Myers <joseph@codesourcery.com>
24184
24185 [BZ #6884]
24186 * manual/stdio.texi (fopen): Fix typos in description of
24187 ",ccs=STRING".
24188
8dee4833
AJ
241892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24190
24191 [BZ #4026]
24192 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24193 get clock_id definition.
24194
9078ce93
TS
241952012-02-17 Thomas Schwinge <thomas@schwinge.name>
24196
24197 [BZ #4822]
24198 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24199 (madvise): Cast every argument to void on its own.
24200
3835c55f
JM
242012012-02-17 Joseph Myers <joseph@codesourcery.com>
24202
24203 [BZ #9902]
24204 * manual/startup.texi (Exit Status): Fix typo.
24205
35c47e37
JM
242062012-02-17 Joseph Myers <joseph@codesourcery.com>
24207
24208 [BZ #10140]
24209 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24210 * manual/examples/argp-ex2.c: Likewise.
24211 * manual/examples/argp-ex3.c: Likewise.
24212
e3b69ca7
RH
242132012-02-16 Richard Henderson <rth@redhat.com>
24214
24215 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24216 * sysdeps/s390/s390-32/initfini.c: Remove.
24217 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24218 * sysdeps/s390/s390-64/initfini.c: Remove.
24219
df83af67
KK
242202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24221
24222 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24223 compiler output for sysdeps/generic/initfini.c.
24224 * sysdeps/sh/elf/initfini.c: Remove file.
24225
f63f3380
DM
242262012-02-16 David S. Miller <davem@davemloft.net>
24227
fb59b3a4
DM
24228 [BZ #11494]
24229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24230
f63f3380
DM
24231 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24232 * sysdeps/sparc/crti.S: New file.
24233 * sysdeps/sparc/crtn.S: New file.
24234 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24235 * sysdeps/sparc/sparc64/Makefile: Likewise.
24236
df6a4a4a
MF
242372012-02-15 Mike Frysinger <vapier@gentoo.org>
24238
6dd8f3dc 24239 [BZ #3335]
df6a4a4a
MF
24240 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24241
1cac7236
RM
242422012-02-15 Roland McGrath <roland@hack.frob.com>
24243
d2c736f8
RM
24244 [BZ #4822]
24245 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24246
1cac7236
RM
24247 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24248 (write, read, close): Likewise.
24249 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24250
8e475601
JM
242512012-02-15 Joseph Myers <joseph@codesourcery.com>
24252
24253 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24254 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24255 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24256 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24257 <bits/signalfd.h>.
24258 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24260 bits/signalfd.h.
24261
ed656b40
MP
242622012-02-14 Marek Polacek <polacek@redhat.com>
24263
24264 * sysdeps/x86_64/crti.S: New file.
24265 * sysdeps/x86_64/crtn.S: New file.
24266 * sysdeps/x86_64/elf/initfini.c: Remove file.
24267
2a979d3a
JM
242682012-02-13 Joseph Myers <joseph@codesourcery.com>
24269
24270 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24271 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24273 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24274 <bits/inotify.h>.
24275 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24277 bits/inotify.h.
24278
2a418ac3
JM
242792012-02-13 Joseph Myers <joseph@codesourcery.com>
24280
24281 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24282 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24283 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24285 <bits/eventfd.h>.
24286 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24288 bits/eventfd.h.
24289
fb779be7
TS
242902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24291
e19e83c5
RM
24292 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24293 __feraiseexcept instead of feraiseexcept.
7c35ffed 24294
fb779be7
TS
24295 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24296 nanosleep invocations.
24297 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24298 strings, and add error checking for a nanosleep invocations.
24299
59ba27a6
PE
243002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24301
24302 Replace FSF snail mail address with URLs, as per GNU coding standards.
24303 Most of the snail mail addresses were wrong anyway, and omitting
24304 them makes the source code easier to maintain. Almost all of the
24305 changes are to license notices and to locale LC_IDENTIFICATION
24306 addresses, except for this one:
24307 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24308 not its snail mail address.
24309
57b957eb
RH
243102012-02-09 Richard Henderson <rth@twiddle.net>
24311
af850b1c
RH
24312 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24313 of kernel-features.h.
24314
57b957eb
RH
24315 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24316
6b73181a
MP
243172012-02-08 Marek Polacek <polacek@redhat.com>
24318
24319 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24320 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24321 * sysdeps/gnu/_G_config.h: Likewise.
24322 * sysdeps/generic/_G_config.h: Likewise.
24323
26ecc33a
AS
243242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24325
6c6dbc63
AS
24326 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24327 tests.
24328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24329
e216c012
AS
24330 * sysdeps/powerpc/powerpc32/crti.S: New file.
24331 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24332 * sysdeps/powerpc/powerpc64/crti.S: New file.
24333 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24334
26ecc33a
AS
24335 * Makeconfig (have-initfini): Don't set.
24336 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24337 * configure.in (nopic_initfini): Don't substitute.
24338 * config.h.in (HAVE_INITFINI): Don't #undef.
24339 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24340 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24341
3add8e13
JM
243422012-02-08 Joseph Myers <joseph@codesourcery.com>
24343
24344 Support crti.S and crtn.S provided directly by architectures.
24345 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24346 [crti.S in sysdirs] (omit-deps): Likewise.
24347 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24348 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24349 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24350 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24351 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24352 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24353 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24354 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24355 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24356 compiler output for sysdeps/generic/initfini.c.
24357 * sysdeps/i386/elf/Makefile: Remove file.
24358 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24359
a22f12b4
MP
243602012-02-07 Marek Polacek <polacek@redhat.com>
24361
24362 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24363 * sysdeps/gnu/_G_config.h: Likewise.
24364 * sysdeps/mach/hurd/_G_config.h: Likewise.
24365
148cf100
MP
243662012-02-07 Marek Polacek <polacek@redhat.com>
24367
24368 * math/Makefile (tests): Add tst-CMPLX2.
24369 * math/tst-CMPLX2.c: New file.
24370
cfdc0dd7
AS
243712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24372
84ba42c4
AS
24373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24374
cfdc0dd7
AS
24375 * math/libm-test.inc (jn_test): Add missing L suffix.
24376
622c86f4
MP
243772012-02-06 Marek Polacek <polacek@redhat.com>
24378
24379 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24380 * sysdeps/i386/fpu/e_powf.S: Likewise.
24381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24384 * sysdeps/i386/fpu/e_pow.S: Likewise.
24385 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24387 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24388 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24389 * sysdeps/i386/fpu/e_log2.S: Likewise.
24390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24392 * sysdeps/i386/fpu/e_powl.S: Likewise.
24393 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24396 * sysdeps/i386/fpu/e_logl.S: Likewise.
24397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24398 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24399 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24400 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24403 * sysdeps/i386/fpu/e_log.S: Likewise.
24404 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24406 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24407 * sysdeps/i386/fpu/e_logf.S: Likewise.
24408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24410 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24411 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24413 * sysdeps/i386/fpu/e_log10.S: Likewise.
24414 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24416 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24417 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24418 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24419 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24420 * sysdeps/i386/asm-syntax.h: Likewise.
24421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24424 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24425 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24430 * sysdeps/powerpc/sysdep.h: Likewise.
24431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24433
d4a54ac6
JM
244342012-02-06 Joseph Myers <joseph@codesourcery.com>
24435
24436 [BZ #411]
24437 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24438
314054ea
JM
244392012-02-06 Joseph Myers <joseph@codesourcery.com>
24440
24441 * sysdeps/i386/sysdep.h: Include <features.h>.
24442 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24443 version.
24444
d8e0ca50
JM
244452012-02-05 Joseph Myers <joseph@codesourcery.com>
24446
24447 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24448 Define.
24449 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24450 LOAD_PIC_REG_STR.
24451
b1da7dd9
JM
244522012-02-03 Joseph Myers <joseph@codesourcery.com>
24453
24454 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24455 (SETUP_PIC_REG): Use GET_PC_THUNK.
24456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24457 macro.
24458
9a1d9254
JM
244592012-02-03 Joseph Myers <joseph@codesourcery.com>
24460
24461 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24462 for non-PIC compilation.
24463 (SETUP_PIC_REG): Add .p2align directive.
24464 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24487 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24505
65dc3b75
JM
245062012-02-03 Joseph Myers <joseph@codesourcery.com>
24507
24508 * math/tst-CMPLX.c: Include <stdio.h>.
24509
d55bf177
JM
245102012-01-31 Joseph Myers <joseph@codesourcery.com>
24511
24512 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24513 float.
24514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24515 * sysdeps/sparc/bits/mathdef.h: Likewise.
24516
69db4f8f
MP
245172012-01-31 Marek Polacek <polacek@redhat.com>
24518
24519 * libio/libio.h: Don't define _PARAMS.
24520 * locale/programs/config.h: Don't define PARAMS.
24521 * stdlib/strtol_l.c: Likewise.
24522 (__strtol_l): Remove PARAMS from the prototype.
24523
41b81892
UD
245242012-01-31 Ulrich Drepper <drepper@gmail.com>
24525
3b49edc0
UD
24526 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24527 names. Just use the correct names. Remove unnecessary wrapper
24528 functions.
24529 * malloc/arena.c: Likewise.
24530 * malloc/hooks.c: Likewise.
24531
41b81892
UD
24532 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24533 ARENA_TEST says not to. Simplify test for creation of a new arena.
24534 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24535
27a25b6e
UD
245362012-01-30 Ulrich Drepper <drepper@gmail.com>
24537
24538 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24539 into tail calls.
24540 (update_get_addr): New function.
24541 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24542 GET_ADDR_MODULE parameter.
24543
c8a89e7d
JM
245442012-01-30 Joseph Myers <joseph@codesourcery.com>
24545
24546 * crypt/cert.c: Remove __STDC__ conditionals.
24547 * crypt/crypt-entry.c: Likewise.
24548 * crypt/crypt_util.c: Likewise.
24549 * libio/filedoalloc.c: Likewise.
24550 * libio/fileops.c: Likewise.
24551 * libio/genops.c: Likewise.
24552 * libio/iofclose.c: Likewise.
24553 * libio/iofdopen.c: Likewise.
24554 * libio/iofopen.c: Likewise.
24555 * libio/iofopen64.c: Likewise.
24556 * libio/iogetdelim.c: Likewise.
24557 * libio/iopopen.c: Likewise.
24558 * libio/obprintf.c: Likewise.
24559 * libio/oldfileops.c: Likewise.
24560 * libio/oldiofclose.c: Likewise.
24561 * libio/oldiofdopen.c: Likewise.
24562 * libio/oldiofopen.c: Likewise.
24563 * libio/oldiopopen.c: Likewise.
24564 * libio/wfiledoalloc.c: Likewise.
24565 * libio/wgenops.c: Likewise.
24566 * locale/programs/xmalloc.c: Likewise.
24567 * misc/syslog.c: Likewise.
24568 * stdio-common/xbug.c: Likewise.
24569 * string/memchr.c: Likewise.
24570 * string/memcmp.c: Likewise.
24571 * string/memrchr.c: Likewise.
24572 * string/rawmemchr.c: Likewise.
24573 * sysdeps/posix/getcwd.c: Likewise.
24574 * time/strftime_l.c: Likewise.
24575
3b100462
JM
245762012-01-30 Joseph Myers <joseph@codesourcery.com>
24577
24578 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24579 * config.make.in (config-cflags-sse2avx): Define.
24580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24581 Fix typo.
24582
607998af
CM
245832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24584
24585 * scripts/config.guess: Update from upstream config git repository.
24586 * scripts/config.sub: Likewise.
24587
3601428f
CM
245882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24589
3ac8b282
CM
24590 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24591 (EM_NUM): Update.
24592 (R_TILEPRO_*, R_TILEGX_*): New macros.
24593
e034841e
CM
24594 * scripts/firstversions.awk: Fix bug in version range handling.
24595
540d7568
CM
24596 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24597
3601428f
CM
24598 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24599
463de862
CM
24600 * include/sys/epoll.h: New file.
24601 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24602 libc_hidden_def.
24603
73139a76
UD
246042012-01-28 Ulrich Drepper <drepper@gmail.com>
24605
96bc5b45
UD
24606 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24607 Avoid unnecessary __WORDSIZE == 64 test.
24608 (fmaxf): Use VEX format if possible.
24609 (fmax): Likewise.
24610 (fminf): Likewise.
24611 (fmin): Likewise.
24612
56f6f6a2
UD
24613 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24614 * math/math_private.h: Remove libc_fegetround* and
24615 libc_fesetround*.
24616 * sysdeps/i386/configure.in: Check for -msse2avx.
24617 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24618 also if SSE2AVX is defined.
24619 Remove libc_fegetround* and libc_fesetround*.
24620 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24621 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24623 of HAS_YMM_USABLE.
24624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24629
73139a76
UD
24630 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24631
d73f93a4
AZ
246322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24633
24634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24635 size is not set.
24636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24637
6ee65ed6
UD
246382012-01-27 Ulrich Drepper <drepper@gmail.com>
24639
24640 [BZ #13618]
24641 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24642 relocation.
24643 * Makeconfig (libm): Define.
24644 * elf/Makefile: Add rules to build and run tst-relsort1.
24645 * elf/tst-relsort1.c: New file.
24646 * elf/tst-relsort1mod1.c: New file.
24647 * elf/tst-relsort1mod2.c: New file.
24648
8db21882
JM
246492012-01-27 Joseph Myers <joseph@codesourcery.com>
24650
24651 * math/s_ldexp.c: Remove __STDC__ conditionals.
24652 * math/s_ldexpf.c: Likewise.
24653 * math/s_ldexpl.c: Likewise.
24654 * math/s_nextafter.c: Likewise.
24655 * math/s_nexttowardf.c: Likewise.
24656 * math/s_significand.c: Likewise.
24657 * math/s_significandf.c: Likewise.
24658 * math/s_significandl.c: Likewise.
24659 * math/w_jnl.c: Likewise.
24660 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24661 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24662 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24663 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24664 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24666 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24675 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24682 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24694 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24700 * sysdeps/ieee754/k_standard.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24780 * sysdeps/ieee754/s_matherr.c: Likewise.
24781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24785
965a54a4
JM
247862012-01-26 Joseph Myers <joseph@codesourcery.com>
24787
24788 * crypt/md5.h: Remove __STDC__ conditionals.
24789 * libio/libioP.h: Likewise.
24790 * locale/programs/config.h: Likewise.
24791 * sysdeps/generic/sysdep.h: Likewise.
24792 * sysdeps/i386/asm-syntax.h: Likewise.
24793 * sysdeps/s390/asm-syntax.h: Likewise.
24794 * sysdeps/unix/sysdep.h: Likewise.
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24797
7071ad79
JM
247982012-01-26 Joseph Myers <joseph@codesourcery.com>
24799
24800 * libio/libio.h: Remove __STDC__ conditionals.
24801 * malloc/obstack.h: Likewise.
24802 * math/complex.h: Likewise.
24803 * math/math.h: Likewise.
24804 * sysdeps/generic/_G_config.h: Likewise.
24805 * sysdeps/gnu/_G_config.h: Likewise.
24806 * sysdeps/mach/hurd/_G_config.h: Likewise.
24807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24809 * sysdeps/sparc/bits/mathdef.h: Likewise.
24810
afc5ed09
UD
248112012-01-26 Ulrich Drepper <drepper@gmail.com>
24812
24813 [BZ #13583]
24814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24815 Clean up HAS_* macros.
afc5ed09 24816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24817 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24818 possible.
24819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24820 HAS_AVX.
24821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24826
bdb6de1d
JM
248272012-01-25 Joseph Myers <joseph@codesourcery.com>
24828
24829 * elf/tst-unique3.cc (gets): Remove declaration.
24830 * elf/tst-unique3lib.cc (gets): Likewise.
24831 * elf/tst-unique3lib2.cc (gets): Likewise.
24832 * elf/tst-unique4.cc (gets): Likewise.
24833
b15549e6
UD
248342012-01-24 Ulrich Drepper <drepper@gmail.com>
24835
24836 * include/stdio.h: Add C++ protection. Add gets declarations and
24837 definitions.
24838 * debug/tst-chk1.c: Don't declare gets here.
24839 * stdio-common/tst-gets.c: Likewise.
24840
a037381f
JM
248412012-01-24 Joseph Myers <joseph@codesourcery.com>
24842
24843 * posix/glob: Remove directory.
24844
f1d4aa75
JM
248452012-01-24 Joseph Myers <joseph@codesourcery.com>
24846
24847 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24848
81c0c964
PT
248492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24850
24851 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24852 of the non-standard EPFNOSUPPORT.
24853
0ea698ae
ST
248542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24855
24856 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24857 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24858 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24859
d220b117
UD
248602012-01-21 Ulrich Drepper <drepper@gmail.com>
24861
24862 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24863
3e1aa84e
UD
248642012-01-20 Ulrich Drepper <drepper@gmail.com>
24865
24866 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24867 transient errors.
24868 * nscd/grpcache.c (cache_addgr): Likewise.
24869 * nscd/hstcache.c (cache_addhst): Likewise.
24870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24871 * nscd/pwdcache.c (cache_addpw): Likewise.
24872 * nscd/servicescache.c (cache_addserv): Likewise.
24873
400aa020
UD
248742012-01-16 Ulrich Drepper <drepper@gmail.com>
24875
d77e7869
UD
24876 * malloc/malloc.c: Various cleanups.
24877 * malloc/hooks.c: Likewise.
24878
400aa020
UD
24879 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24880 * stdlib/bug-fmtmsg1.c: New file.
24881
24882 * stdlib/fmtmsg.c (init): Add missing unlock.
24883 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24884
e0a309cf
MP
248852012-01-12 Marek Polacek <polacek@redhat.com>
24886
24887 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24888 and _GNU_SOURCE.
24889
929d11c7
WS
248902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24891
24892 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24894 macro to ensure uniqueness of label name.
24895 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24896 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24897
41d0e869
UD
248982012-01-11 Ulrich Drepper <drepper@gmail.com>
24899
0cc5ed3b
UD
24900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24901
41d0e869
UD
24902 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24906
a47a831a
UD
249072012-01-10 Ulrich Drepper <drepper@gmail.com>
24908
daa891c0
UD
24909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24910
24911 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24914
e58ef0f2
UD
24915 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24916
a47a831a 24917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24921
24922 * math/bits/math-finite.h: Add ldexp support.
24923
a0bfc9c7
MP
249242012-01-10 Marek Polacek <polacek@redhat.com>
24925
24926 * locale/programs/localedef.h (show_archive_content): Add noreturn
24927 attribute.
24928
d6e97a1d
UD
249292012-01-09 Ulrich Drepper <drepper@gmail.com>
24930
24931 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24932
d5835c26
UD
249332012-01-08 Ulrich Drepper <drepper@gmail.com>
24934
e5f484c6
UD
24935 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24936
d5835c26
UD
24937 * io/Makefile (headers): Add bits/poll2.h.
24938
d1f741e9
WS
249392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24940
24941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24942 typo #include statement.
24943
ec09c1c4
UD
249442012-01-08 Ulrich Drepper <drepper@gmail.com>
24945
24946 * include/sys/cdefs.h: Define __attribute_alloc_size.
24947 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24948 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24949 * elf/pldd.c: Likewise.
24950 * iconv/iconv_charmap.c: Likewise.
24951 * iconv/iconvconfig.c: Likewise.
24952 * iconv/strtab.c: Likewise.
24953 * locale/programs/locale.c: Likewise.
24954 * locale/programs/localedef.h: Likewise.
24955 * locale/programs/simple-hash.c: Likewise.
24956 * nscd/nscd.h: Likewise.
24957 * nss/makedb.c: Likewise.
24958 * sysdeps/generic/ldconfig.h: Likewise.
24959 * locale/programs/localedef.c: Remove xmalloc prototype.
24960 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24961
20b38e03
PP
249622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24963
24964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24965 appropriate.
24966
a0da5fe1
UD
249672012-01-08 Ulrich Drepper <drepper@gmail.com>
24968
1d5a644a 24969 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24970 * math/tst-CMPLX.c: New file.
1d5a644a 24971
8784a6db
UD
24972 * math/complex.h (CMPLXL): Fix typo.
24973
d9a216c0
UD
24974 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24975 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24976 GLIBC_2.16.
24977 * debug/tst-chk1.c: Add poll and ppoll tests.
24978 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24979 * include/sys/poll.h: Add hidden proto for ppoll.
24980 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24981 * sysdeps/mach/hurd/ppoll.c: Likewise.
24982 * io/ppoll.c: Likewise.
24983 * debug/poll_chk.c: New file.
24984 * debug/ppoll_chk.c: New file.
24985 * include/bits/poll2.h: New file.
24986 * io/bits/poll2.h: New file.
24987
ac097f5c
UD
24988 [BZ #1350]
24989 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24990
2119dcfa
UD
24991 * configure.in: static is always set to yes. Remove.
24992 * config.make.in: Don't set build-static.
24993 * Makeconfig: Remove use of build-static.
24994 * dlfcn/Makefile: Likewise.
24995 * elf/Makefile: Likewise.
24996 * math/Makefile: Likewise.
24997 * misc/Makefile: Likewise.
24998 * nptl/Makefile: Likewise.
24999 * sysdeps/mach/hurd/Makefile: Likewise.
25000
121766a9
UD
25001 * configure.in: PWD_P is not used anymore.
25002 * config.make.in: Remove PWD_P entry.
25003
51a1d39c 25004 * configure.in: Remove last remnants of RANLIB.
8720d066 25005 No need to check for signed size_t anymore.
215f4bdc
UD
25006 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25007 and IA-64.
3857022a 25008 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25009 * aclocal.m4: Likewise.
25010
d3ed7225
UD
25011 * wcsmbs/mbrtoc16.c: Implement using towc function.
25012 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25013 * wcsmbs/wcsmbsload.c: Likewise.
25014 * iconv/gconv_simple.c: Likewise.
25015 * iconv/gconv_int.h: Likewise.
25016 * iconv/gconv_builtin.h: Likewise.
25017 * iconv/iconv_prog.c: Remove CHAR16 handling.
25018
25019 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25020
25021 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25022
a0da5fe1
UD
25023 * configure.in: Remove --with-elf and --enable-bounded options.
25024 Dont set base_machine for ia64. More non-ELF conditions removed.
25025 Remove testing and setting of leading underscore information.
25026 * config.make.in (build-bounded): Set to no.
25027 * config.h.in: Remove NO_UNDERSCORES entry.
25028 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25029 them.
25030 * csu/start.c: Remove !NO_UNDERSCORE code.
25031 * locale/localeinfo.h: Likewise.
25032 * sysdeps/generic/machine-gmon.h: Likewise.
25033 * sysdeps/generic/sysdep.h: Likewise.
25034 * sysdeps/i386/sysdep.h: Likewise.
25035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25036 * sysdeps/mach/sysdep.h: Likewise.
25037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25039 * sysdeps/sh/sysdep.h: Likewise.
25040 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25041 * sysdeps/unix/i386/sysdep.S: Likewise.
25042 * sysdeps/unix/sparc/start.c: Likewise.
25043 * sysdeps/unix/sparc/sysdep.S: Likewise.
25044 * sysdeps/unix/sparc/sysdep.h: Likewise.
25045 * sysdeps/unix/start.c: Likewise.
25046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25047 * sysdeps/x86_64/sysdep.h: Likewise.
25048
df78418a
UD
250492012-01-07 Ulrich Drepper <drepper@gmail.com>
25050
a784e502
UD
25051 [BZ #13553]
25052 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25053 for non-gcc.
25054 * argp/argp-fmtstream.h: Use const instead __const.
25055 * argp/argp.h: Likewise.
25056 * assert/assert.h: Likewise.
25057 * bits/fenv.h: Likewise.
25058 * bits/sched.h: Likewise.
25059 * bits/sigset.h: Likewise.
25060 * bits/sigthread.h: Likewise.
25061 * catgets/nl_types.h: Likewise.
25062 * conform/data/pthread.h-data: Likewise.
25063 * crypt/crypt-private.h: Likewise.
25064 * crypt/crypt.h: Likewise.
25065 * crypt/crypt_util.c: Likewise.
25066 * ctype/ctype.h: Likewise.
25067 * debug/execinfo.h: Likewise.
25068 * debug/mbsnrtowcs_chk.c: Likewise.
25069 * debug/mbsrtowcs_chk.c: Likewise.
25070 * debug/wcsnrtombs_chk.c: Likewise.
25071 * debug/wcsrtombs_chk.c: Likewise.
25072 * debug/wcstombs_chk.c: Likewise.
25073 * dirent/dirent.h: Likewise.
25074 * dlfcn/dlfcn.h: Likewise.
25075 * elf/neededtest4.c: Likewise.
25076 * grp/grp.h: Likewise.
25077 * gshadow/gshadow.h: Likewise.
25078 * iconv/gconv.h: Likewise.
25079 * iconv/gconv_int.h: Likewise.
25080 * iconv/gconv_simple.c: Likewise.
25081 * iconv/iconv.h: Likewise.
25082 * iconv/loop.c: Likewise.
25083 * iconv/skeleton.c: Likewise.
25084 * include/aio.h: Likewise.
25085 * include/aliases.h: Likewise.
25086 * include/argz.h: Likewise.
25087 * include/arpa/inet.h: Likewise.
25088 * include/assert.h: Likewise.
25089 * include/dirent.h: Likewise.
25090 * include/dlfcn.h: Likewise.
25091 * include/execinfo.h: Likewise.
25092 * include/fcntl.h: Likewise.
25093 * include/fenv.h: Likewise.
25094 * include/glob.h: Likewise.
25095 * include/grp.h: Likewise.
25096 * include/libintl.h: Likewise.
25097 * include/mntent.h: Likewise.
25098 * include/netdb.h: Likewise.
25099 * include/pwd.h: Likewise.
25100 * include/rpc/netdb.h: Likewise.
25101 * include/sched.h: Likewise.
25102 * include/search.h: Likewise.
25103 * include/shadow.h: Likewise.
25104 * include/signal.h: Likewise.
25105 * include/stdio.h: Likewise.
25106 * include/stdlib.h: Likewise.
25107 * include/string.h: Likewise.
25108 * include/sys/socket.h: Likewise.
25109 * include/sys/stat.h: Likewise.
25110 * include/sys/statfs.h: Likewise.
25111 * include/sys/statvfs.h: Likewise.
25112 * include/sys/syslog.h: Likewise.
25113 * include/sys/time.h: Likewise.
25114 * include/sys/uio.h: Likewise.
25115 * include/time.h: Likewise.
25116 * include/unistd.h: Likewise.
25117 * include/utmp.h: Likewise.
25118 * include/wchar.h: Likewise.
25119 * include/wctype.h: Likewise.
25120 * inet/aliases.h: Likewise.
25121 * inet/arpa/inet.h: Likewise.
25122 * inet/netinet/ether.h: Likewise.
25123 * inet/netinet/in.h: Likewise.
25124 * intl/libintl.h: Likewise.
25125 * io/bits/fcntl2.h: Likewise.
25126 * io/fcntl.h: Likewise.
25127 * io/ftw.h: Likewise.
25128 * io/sys/poll.h: Likewise.
25129 * io/sys/stat.h: Likewise.
25130 * io/sys/statfs.h: Likewise.
25131 * io/sys/statvfs.h: Likewise.
25132 * io/utime.h: Likewise.
25133 * libio/bits/stdio.h: Likewise.
25134 * libio/bits/stdio2.h: Likewise.
25135 * libio/libio.h: Likewise.
25136 * libio/libioP.h: Likewise.
25137 * libio/stdio.h: Likewise.
25138 * locale/lc-ctype.c: Likewise.
25139 * locale/locale.h: Likewise.
25140 * login/utmp.h: Likewise.
25141 * malloc/arena.c: Likewise.
25142 * malloc/malloc.c: Likewise.
25143 * malloc/malloc.h: Likewise.
25144 * malloc/mcheck.c: Likewise.
25145 * malloc/mtrace.c: Likewise.
25146 * math/bits/mathcalls.h: Likewise.
25147 * math/fenv.h: Likewise.
25148 * math/math_private.h: Likewise.
25149 * misc/bits/error.h: Likewise.
25150 * misc/bits/syslog.h: Likewise.
25151 * misc/err.h: Likewise.
25152 * misc/error.h: Likewise.
25153 * misc/fstab.h: Likewise.
25154 * misc/mntent.h: Likewise.
25155 * misc/regexp.h: Likewise.
25156 * misc/search.h: Likewise.
25157 * misc/sgtty.h: Likewise.
25158 * misc/sys/mman.h: Likewise.
25159 * misc/sys/syslog.h: Likewise.
25160 * misc/sys/uio.h: Likewise.
25161 * misc/sys/xattr.h: Likewise.
25162 * misc/ttyent.h: Likewise.
25163 * nis/rpcsvc/ypclnt.h: Likewise.
25164 * nss/nss.h: Likewise.
25165 * posix/bits/unistd.h: Likewise.
25166 * posix/fnmatch.h: Likewise.
25167 * posix/glob.h: Likewise.
25168 * posix/sched.h: Likewise.
25169 * posix/spawn.h: Likewise.
25170 * posix/sys/wait.h: Likewise.
25171 * posix/unistd.h: Likewise.
25172 * posix/wordexp.h: Likewise.
25173 * pwd/pwd.h: Likewise.
25174 * resolv/netdb.h: Likewise.
25175 * resource/sys/resource.h: Likewise.
25176 * rt/aio.h: Likewise.
25177 * rt/bits/mqueue2.h: Likewise.
25178 * rt/mqueue.h: Likewise.
25179 * shadow/shadow.h: Likewise.
25180 * signal/signal.h: Likewise.
25181 * socket/send.c: Likewise.
25182 * socket/sendto.c: Likewise.
25183 * socket/sys/socket.h: Likewise.
25184 * stdio-common/printf.h: Likewise.
25185 * stdlib/bits/stdlib.h: Likewise.
25186 * stdlib/fmtmsg.h: Likewise.
25187 * stdlib/monetary.h: Likewise.
25188 * stdlib/stdlib.h: Likewise.
25189 * stdlib/ucontext.h: Likewise.
25190 * streams/stropts.h: Likewise.
25191 * string/argz.h: Likewise.
25192 * string/bits/string2.h: Likewise.
25193 * string/string.h: Likewise.
25194 * string/strings.h: Likewise.
25195 * sunrpc/rpc/auth.h: Likewise.
25196 * sunrpc/rpc/auth_des.h: Likewise.
25197 * sunrpc/rpc/clnt.h: Likewise.
25198 * sunrpc/rpc/netdb.h: Likewise.
25199 * sunrpc/rpc/pmap_clnt.h: Likewise.
25200 * sunrpc/rpc/xdr.h: Likewise.
25201 * sysdeps/generic/inttypes.h: Likewise.
25202 * sysdeps/generic/net/if.h: Likewise.
25203 * sysdeps/generic/sys/swap.h: Likewise.
25204 * sysdeps/gnu/net/if.h: Likewise.
25205 * sysdeps/gnu/utmpx.h: Likewise.
25206 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25207 * sysdeps/i386/i486/bits/string.h: Likewise.
25208 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25209 * sysdeps/s390/bits/string.h: Likewise.
25210 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25211 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25212 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25213 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25214 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25215 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25216 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25217 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25218 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25220 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25222 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25224 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25231 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25232 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25233 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25235 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25238 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25240 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25241 * sysvipc/sys/ipc.h: Likewise.
25242 * sysvipc/sys/msg.h: Likewise.
25243 * sysvipc/sys/sem.h: Likewise.
25244 * sysvipc/sys/shm.h: Likewise.
25245 * termios/termios.h: Likewise.
25246 * time/sys/time.h: Likewise.
25247 * time/time.h: Likewise.
25248 * wcsmbs/bits/wchar2.h: Likewise.
25249 * wcsmbs/uchar.h: Likewise.
25250 * wcsmbs/wchar.h: Likewise.
25251 * wctype/wctype.h: Likewise.
25252
0269750c
UD
25253 [BZ #13551]
25254 * Makeconfig: Remove all but ELF support including AIX support.
25255 * Makerules: Likewise.
25256 * config.h.in: Likewise.
25257 * config.make.in: Likewise.
25258 * configure: Likewise.
25259 * configure.in: Likewise.
25260 * csu/Makefile: Likewise.
25261 * csu/version.c: Likewise.
25262 * debug/Makefile: Likewise.
25263 * dlfcn/Makefile: Likewise.
25264 * elf/Makefile: Likewise.
25265 * extra-lib.mk: Likewise.
25266 * iconv/Makefile: Likewise.
25267 * include/libc-symbols.h: Likewise.
25268 * include/shlib-compat.h: Likewise.
25269 * resolv/Makefile: Likewise.
25270 * resolv/res_libc.c: Likewise.
25271 * rt/Makefile: Likewise.
25272 * sysdeps/i386/asm-syntax.h: Likewise.
25273 * sysdeps/i386/sysdep.h: Likewise.
25274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25275 * sysdeps/mach/sysdep.h: Likewise.
25276 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25277 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25278 * sysdeps/s390/asm-syntax.h: Likewise.
25279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25281 * sysdeps/sh/sysdep.h: Likewise.
25282 * sysdeps/unix/sparc/sysdep.h: Likewise.
25283 * sysdeps/wordsize-32/divdi3.c: Likewise.
25284 * sysdeps/x86_64/sysdep.h: Likewise.
25285
00bbd29b
UD
25286 * argp/Versions: Remove _argp_unlock_xxx.
25287
25288 [BZ #13559]
25289 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25290 * abilist/libBrokenLocale.abilist: Likewise.
25291 * abilist/libanl.abilist: Likewise.
25292 * abilist/libc.abilist: Likewise.
25293 * abilist/libcrypt.abilist: Likewise.
25294 * abilist/libdl.abilist: Likewise.
25295 * abilist/libm.abilist: Likewise.
25296 * abilist/libnsl.abilist: Likewise.
25297 * abilist/libpthread.abilist: Likewise.
25298 * abilist/libresolv.abilist: Likewise.
25299 * abilist/librt.abilist: Likewise.
25300 * abilist/libthread_db.abilist: Likewise.
25301 * abilist/libutil.abilist: Likewise.
25302 * abilist/libnss_db.abilist: New file.
25303
25304 * scripts/abilist.awk: Add support for indirect functions.
25305
a2693a0e
UD
25306 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25307
3f05895f
UD
25308 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25309
ecb6fb48
UD
25310 * shlib-versions: Remove entries for ports architectures.
25311
664f8cb9
UD
25312 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25313 files in ports.
25314 * elf/stackguard-macros.h: Remove support for IA-64.
25315 * elf/tst-auditmod1.c: Likewise.
25316 * sysdeps/generic/ldsodefs.h: Likewise.
25317
7ae81d88
UD
25318 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25319 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25320 configure files.
25321
bdeba135
UD
25322 [BZ #13552]
25323 * configure.in: Remove --enable-omitfp support.
25324 * FAQ.in: Adjust.
25325 * config.make.in: Likewise.
25326 * Makeconfig: Likewise.
25327 * manual/install.texi: Likewise.
25328
d75a0a62
UD
25329 In case anyone cares, the IA-64 architecture could move to ports.
25330 * sysdeps/ia64/*: Removed.
25331 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25332 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25333
dcc9756b
UD
25334 [BZ #13555]
25335 * configure.in: Remove entries for unsupported architectures.
25336
d3761ebc 25337 [BZ #13533]
9954432e
UD
25338 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25339 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25340 routines.
25341 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25342 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25343 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25344 fall back to using wcrtomb.
25345 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25346 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25347 renaming.
25348 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25349 * wcsmbs/tst-c16c32-1.c: New file.
25350
25351 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25352 local variable.
25353
c3a87236
UD
25354 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25355
28926a1b
UD
25356 * elf/tst-unique3.cc: Add explicit declaration of gets.
25357 * elf/tst-unique3lib.cc: Likewise.
25358 * elf/tst-unique3lib2.cc: Likewise.
25359 * elf/tst-unique4.cc: Likewise.
25360
df78418a
UD
25361 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25362
8ecd6b2a
JM
253632012-01-06 Joseph Myers <joseph@codesourcery.com>
25364
25365 [BZ #13566]
25366 * assert/assert.h (static_assert): Don't define for C++.
25367 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25368 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25369
9f115170
UD
253702012-01-03 Ulrich Drepper <drepper@gmail.com>
25371
5e0d0300
UD
25372 * iconv/loop.c (single loop): Fix assertion in storing of
25373 remaining bytes.
25374
9f115170
UD
25375 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25376
81fb02b0
UD
253772012-01-01 Ulrich Drepper <drepper@gmail.com>
25378
25379 * posix/getconf.c: Update copyright year.
25380 * nss/getent.c: Likewise.
a316c1f6 25381 * nss/makedb.c: Likewise.
81fb02b0
UD
25382 * iconv/iconvconfig.c: Likewise.
25383 * iconv/iconv_prog.c: Likewise.
25384 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25385 * elf/pldd.c: Likewise.
25386 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25387 * catgets/gencat.c: Likewise.
25388 * csu/version.c: Likewise.
25389 * elf/ldd.bash.in: Likewise.
25390 * elf/sprof.c (print_version): Likewise.
25391 * locale/programs/locale.c: Likewise.
25392 * locale/programs/localedef.c: Likewise.
a316c1f6 25393 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25394 * nscd/nscd.c (print_version): Likewise.
25395 * debug/xtrace.sh: Likewise.
25396 * malloc/memusage.sh: Likewise.
25397 * malloc/mtrace.pl: Likewise.
25398 * debug/catchsegv.sh: Likewise.
25399
2ba92745
JJ
254002011-12-30 Jakub Jelinek <jakub@redhat.com>
25401
25402 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25403 pure attribute.
25404
dadebdae
UD
254052011-12-24 Ulrich Drepper <drepper@gmail.com>
25406
d3761ebc 25407 [BZ #13533]
db6af3eb
UD
25408 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25409 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25410 transformations.
25411 * iconv/gconv_int.h: Likewise.
25412 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25413 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25414 from libc for GLIBC_2.16.
25415 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25416 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25417 * wcsmbs/uchar.h: Really define mbstate_t.
25418 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25419 * wcsmbs/c16rtomb.c: New file.
25420 * wcsmbs/mbrtoc16.c: New file.
25421 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25422 for C/POSIX locale.
25423 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25424 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25425
dadebdae
UD
25426 * wcsmbs/wchar.h: Add missing __restrict.
25427
67371b56
UD
254282011-12-23 Ulrich Drepper <drepper@gmail.com>
25429
74033a25
UD
25430 [BZ #13532]
25431 * time/Makefile (routines): Add timespec_get.
25432 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25433 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25434 timespec for ISO C11.
25435 * time/timespec_get.c: New file.
25436 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25437 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25438
380d7e87
UD
25439 [BZ #13531]
25440 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25441 * stdlib/stdlib.h: Declare aligned_alloc.
25442 * Versions.def: Add GLIBC_2.16 for libc.
25443 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25444
4e9e7a35
UD
25445 [BZ 13527]
25446 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25447 ISO C11.
25448
380d7e87 25449 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25450 code.
25451
03a71829
UD
25452 [BZ #13528]
25453 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25454
839e283e
UD
25455 [BZ #13529]
25456 * assert/assert.h (static_assert): Define.
25457
ce5294e2 25458 * version.h: Update for 2.16 development version.
90fa7312 25459
8d44e150 25460 [BZ #13526]
d7809905
UD
25461 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25462 _ISOC11_SOURCE.
25463
c0da14cd
UD
25464 * version.h (RELEASE): Bump for 2.15 release.
25465 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25466
530a3249
MP
25467 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25468 Patch by Marek Polacek <mpolacek@redhat.com>.
25469
67371b56
UD
25470 * bits/byteswap.h: Protect long long constants with __extension__.
25471 * sysdeps/i386/bits/byteswap.h: Likewise.
25472 * sysdeps/ia64/bits/byteswap.h: Likewise.
25473 * sysdeps/s390/bits/byteswap.h: Likewise.
25474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25475
15db4de1
LD
254762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25477
25478 [BZ #13540]
bbe315ea
LD
25479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25480 destination buffer.
15db4de1
LD
25481 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25482
2b2596b1
MP
254832011-12-23 Marek Polacek <polacek@redhat.com>
25484
25485 * elf/dl-addr.c (determine_info): Add inline keyword.
25486 * elf/tst-auditmod4b.c (check_avx): Likewise.
25487 * elf/tst-auditmod6b.c (check_avx): Likewise.
25488 * elf/tst-auditmod6c.c (check_avx): Likewise.
25489 * elf/tst-auditmod7b.c (check_avx): Likewise.
25490
70c6c246
UD
254912011-12-23 Ulrich Drepper <drepper@gmail.com>
25492
25493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25494 !__SSE_MATH__.
25495
c044cf14
LD
254962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25497
15db4de1 25498 [BZ #13540]
c044cf14
LD
25499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25500 processing for last bytes.
25501
6b13d9d9
BH
255022011-08-06 Bruno Haible <bruno@clisp.org>
25503
d455f537
BH
25504 [BZ #13061]
25505 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25506 U+0385, not to U+1FEE.
25507
6b13d9d9
BH
25508 [BZ #13062]
25509 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25510 entry for U+00A5 U+0301.
25511
db910efd
UD
255122011-12-22 Ulrich Drepper <drepper@gmail.com>
25513
27deeafc
UD
25514 [BZ #13166]
25515 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25516 buffer for the output is too small.
25517
aed9d171
UD
25518 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25519 optimization.
25520
db910efd
UD
25521 [BZ #13185]
25522 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25523 SSE flags if possible.
25524
2bd779ae
LD
255252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25526
e7f9dac3 25527 [BZ #13540]
2bd779ae
LD
25528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25529 processing for last bytes.
25530
154bfc16
JM
255312011-12-22 Joseph Myers <joseph@codesourcery.com>
25532
25533 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25534 (syscall-list-default-options, syscall-list-default-condition)
25535 (syscall-list-includes): Define.
25536 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25537 list of ABIs and options and #if conditions for each ABI. Do not
25538 handle common syscalls between ABIs specially.
25539 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25540 Remove.
25541 (syscall-list-variants, syscall-list-32bit-options)
25542 (syscall-list-32bit-condition, syscall-list-64bit-options)
25543 (syscall-list-64bit-condition): Define.
25544 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25545 (syscall-list-variants, syscall-list-32bit-options)
25546 (syscall-list-32bit-condition, syscall-list-64bit-options)
25547 (syscall-list-64bit-condition): Define.
25548 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25549 Remove.
25550 (syscall-list-variants, syscall-list-32bit-options)
25551 (syscall-list-32bit-condition, syscall-list-64bit-options)
25552 (syscall-list-64bit-condition): Define.
25553 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25554 Remove.
25555 (syscall-list-variants, syscall-list-32bit-options)
25556 (syscall-list-32bit-condition, syscall-list-64bit-options)
25557 (syscall-list-64bit-condition): Define.
25558
21eaf3a5
UD
255592011-12-22 Ulrich Drepper <drepper@gmail.com>
25560
16c6f992
UD
25561 * locale/iso-639.def: Add brx entry.
25562
41043168
UD
25563 [BZ #13328]
25564 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25565 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25566
21eaf3a5
UD
25567 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25568 __feraiseexcept_renamed.
25569
e3a851a2
UD
255702011-12-21 Ulrich Drepper <drepper@gmail.com>
25571
4920765e
UD
25572 [BZ #13538]
25573 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25574 EPOLLET with unsigned values.
25575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25577
e3a851a2
UD
25578 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25579 to large cancellation.
25580 * math/s_cacoshf.c: Likewise.
25581 * math/s_cacoshl.c: Likewise.
25582
b27e24b8
RK
255832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25584
25585 [BZ #13305]
aebefeee 25586 [BZ #12786]
b27e24b8
RK
25587 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25588 * math/s_cacoshf.c: Likewise.
25589 * math/s_cacoshl.c: Likewise.
25590
ee190f67
UD
255912011-12-21 Ulrich Drepper <drepper@gmail.com>
25592
25593 [BZ #13439]
25594 * iconv/gconv.h: Define __GCONV_SWAP.
25595 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25596 * iconvdata/utf-16.c: Likewise.
25597 * iconvdata/utf-32.c: Likewise.
25598
707f25df
AS
255992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25600
25601 [BZ #13524]
25602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25603 numerator after shifting it by one limb.
25604
d2daaa1e
RÁE
256052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25606
25607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25608 under [__USE_EXTERN_INLINES].
25609
a4647e72
UD
256102011-12-17 Ulrich Drepper <drepper@gmail.com>
25611
25612 [BZ #13446]
25613 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25614
f0b264f1
AZ
256152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25616
25617 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25618 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25619 optimized code.
25620 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25622 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25623 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25624 for strncasecmp/strncasecmp_l compilation.
25625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25626 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25627
8ef4f244
MP
256282011-12-08 Marek Polacek <mpolacek@redhat.com>
25629
25630 [BZ #13484]
25631 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25632 of __asm__.
25633
97ac2654
UD
256342011-12-17 Ulrich Drepper <drepper@gmail.com>
25635
25636 [BZ #13506]
25637 * time/tzfile.c (__tzfile_read): Check values from file header.
25638
91d2a845
WS
256392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25640
25641 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25642 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25643 * powerpc/powerpc32/dl-start.S: Likewise.
25644 * powerpc/powerpc32/elf/start.S: Likewise.
25645 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25646 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25647 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25648 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25649 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25650 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25651 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25652 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25653 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25654 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25655 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25656 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25657 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25658 * powerpc/powerpc32/memset.S: Likewise.
25659 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25660 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25661 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25662 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25663 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25664 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25665 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25666 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25667 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25668 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25672
a1267ba1
AZ
256732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25674
25675 * math/libm-test.inc: Added more nearbyint tests.
25676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25680
ad8ac1bd
RL
256812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25682
25683 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25684 FD_CLOEXEC.
25685
1d3e4b61
UD
256862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25687
25688 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25689 Add wcscpy-ssse3 wcscpy-c.
25690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25691 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25692 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25693 * sysdeps/x86_64/wcschr.S: New file.
25694 * sysdeps/x86_64/wcsrchr.S: New file.
25695 * string/test-strcmp.c: Remove checking of wcscmp function for
25696 wrong alignments.
25697 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25698 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25699 wcsrchr-sse2 wcsrchr-c.
25700 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25701 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25702 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25703 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25704 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25705 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25706 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25707 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25709 * wcsmbc/wcschr.c (WCSCHR): New macro.
25710
5b330a2d
UD
257112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25712
25713 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25714 * wcsmbs/test-wcsrchr.c: New file.
25715 * string/test-strrchr.c: Add wcsrchr support.
25716 (WIDE): New macro.
25717 * wcsmbs/test-wcscpy.c: New file.
25718 * string/test-strcpy.c: Add wcscpy support.
25719 (WIDE): New macro.
26428b7c 25720
f039c043
UD
257212011-12-10 Ulrich Drepper <drepper@gmail.com>
25722
25723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25724 the inner loop.
25725
850fb039
AS
257262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25727
25728 [BZ #13472]
25729 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25730
4efbd5cb
UD
257312011-12-04 Ulrich Drepper <drepper@gmail.com>
25732
52ff5dd0 25733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25734 Minor optimizations.
52ff5dd0 25735
4efbd5cb
UD
25736 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25737 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25738 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25739
8a426e12
UD
257402011-12-03 Ulrich Drepper <drepper@gmail.com>
25741
aff2453d
UD
25742 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25743 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25744 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25745 for gcc to avoid warnings.
25746 * inet/Makefile (tests): Add tst-checks.
25747 * inet/tst-checks.c: New file.
25748
25749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25750 warning.
25751
25752 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25753 __wmemcmp_sse2.
25754
25755 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25756 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25757
8a426e12
UD
25758 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25759
9bea3473
UD
257602011-12-02 Ulrich Drepper <drepper@gmail.com>
25761
3a965496
UD
25762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25763 problem.
25764
9bea3473
UD
25765 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25766
f101631b
UD
257672011-11-29 Joseph Myers <joseph@codesourcery.com>
25768
25769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25770 conditional on GCC version.
25771 (__arch_compare_and_exchange_val_8_acq)
25772 (__arch_compare_and_exchange_val_16_acq)
25773 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25774 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25775 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25776
a98275aa
UD
257772011-12-02 Joseph Myers <joseph@codesourcery.com>
25778
25779 * sysdeps/sh/backtrace.c: New file.
25780
d4cc29a2
AS
257812011-12-02 Andreas Schwab <schwab@redhat.com>
25782
25783 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25784 parenthesis.
25785
6257af2d
AS
257862011-12-01 Andreas Schwab <schwab@redhat.com>
25787
25788 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25789 falling back to utime.
25790
b5f44c1a
AS
257912011-11-30 Andreas Schwab <schwab@redhat.com>
25792
25793 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25794 expectations for float.
25795
f3a6cc0a
AS
257962011-11-29 Andreas Schwab <schwab@redhat.com>
25797
25798 * locale/weight.h (findidx): Add parameter len.
25799 * locale/weightwc.h (findidx): Likewise.
25800 * posix/fnmatch_loop.c (FCT): Adjust caller.
25801 * posix/regcomp.c (build_equiv_class): Likewise.
25802 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25803 * posix/regexec.c (check_node_accept_bytes): Likewise.
25804 * string/strcoll_l.c (STRCOLL): Likewise.
25805 * string/strxfrm_l.c (STRXFRM): Likewise.
25806
9d65ea3a
UD
258072011-11-17 Ulrich Drepper <drepper@gmail.com>
25808
25809 * Makefile.in: Remove CVSOPT handling.
25810 * configure.in: Remove use of AC_REVISION.
25811 * iconvdata/Makefile (distribute): No need to filter out CVS.
25812 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25813 handling.
25814
5583a086
AS
258152011-11-16 Andreas Schwab <schwab@redhat.com>
25816
25817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25818 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25819 [USE_AS_STRNCASECMP_L]: Likewise.
25820 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25821 NO_TLS_DIRECT_SEG_REFS.
25822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25823 Fix argument offsets for non-PIC.
25824 [USE_AS_STRNCASECMP_L]: Likewise.
25825 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25826 NO_TLS_DIRECT_SEG_REFS.
25827
d62a8200
UD
258282011-11-15 Ulrich Drepper <drepper@gmail.com>
25829
9d65ea3a 25830 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25831 O_CLOEXEC.
25832 * locale/loadlocale.c (_nl_load_locale): Likewise.
25833
09f93bd3
AS
258342011-11-15 Andreas Schwab <schwab@redhat.com>
25835
446514f9
AS
25836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25837 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25839 (SYSCALL_GETTIME): Set errno on error.
25840
09f93bd3
AS
25841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25842 count references to noai6ai_cached.
25843
312be3f9
UD
258442011-11-15 Ulrich Drepper <drepper@gmail.com>
25845
25846 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25847
25848 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25849 FD_CLOEXEC for /proc/self/maps.
25850
25851 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25852 FD_CLOEXEC for /proc/meminfo.
25853
25854 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25855 gai.conf.
25856
25857 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25858 FD_CLOEXEC for given file.
25859
25860 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25861
25862 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25863 FD_CLOEXEC for /etc/hosts.
25864 (_gethtent): Likewise.
25865
25866 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25867
25868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25869 cancellation and set FD_CLOEXEC for /etc/netgroup.
25870
25871 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25872 reading /etc/publickey.
25873
25874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25875 allow cancellation when reading /etc/group.
25876
25877 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25878 cancellation.
25879 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25880
25881 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25882 when using data file.
25883
25884 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25885
25886 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25887 (write_nis_obj): Use "c" and "e" in fopen.
25888
25889 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25890
25891 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25892
25893 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25894
25895 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25896
25897 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25898 locale.alias.
25899
25900 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25901
25902 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25903
25904 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25905
25906 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25907 file parsing and set FD_CLOEXEC.
25908
82af0fa8
UD
259092011-11-14 Ulrich Drepper <drepper@gmail.com>
25910
25911 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25912
a5fb313c
AS
259132011-11-14 Andreas Schwab <schwab@redhat.com>
25914
25915 * malloc/arena.c (arena_get2): Don't call reused_arena when
25916 _int_new_arena failed.
25917
6abf3465
UD
259182011-11-14 Ulrich Drepper <drepper@gmail.com>
25919
25920 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25921 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25926 to compile strcasecmp and strncasecmp.
25927 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25928 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25929
25930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25931
76e3966e
UD
259322011-11-13 Ulrich Drepper <drepper@gmail.com>
25933
25934 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25935 locale-defines.sym to gen-as-const-headers.
25936 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25937 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25939 to compile strcasecmp and strncasecmp.
25940 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25941 strcasecmp_l and strncasecmp_l.
25942 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25943 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25944 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25945 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25946 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25947 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25948 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25949 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25950 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25951 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25952 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25953
ab26144e
UD
259542011-11-12 Ulrich Drepper <drepper@gmail.com>
25955
7edb22ef
UD
25956 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25957 result of SYSDEP_GETTIME_CPU to retval.
25958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25959 parameter list to macro. Remove trailing semicolon. Adjust users.
25960
9694fc44
UD
25961 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25962 variable.
25963
8ad89ef8
UD
25964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25965 mantissa words.
25966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25967
0c822ef9
UD
25968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25969 from unused variable.
25970
874e0564
UD
25971 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25972 DWARF definitions.
25973 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25974 for assembling.
25975
3a2edc79
UD
25976 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25977 over namespaces.
25978
f3c2577f
UD
25979 * sunrpc/rpc_prot.c (rejected): Fix case value.
25980
294ce126
UD
25981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25982 unsigned long long int to avoid warnings in shift.
25983
5e2b63c6
UD
25984 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25985 of use of trans.
25986 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25987 variable tmp.
25988
e7f4b08e
UD
25989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25992
ab26144e
UD
25993 * nis/nis_table.c (nis_list): Use variable of correct type for
25994 result of __follow_path call.
25995
8a6d5255
AZ
259962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25997
25998 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25999 of math functions ceil, trunc, floor, round, and sqrt, when
26000 avaliable on the platform.
26001 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26002 name clash.
26003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26006
aaddc98c
MP
260072011-10-30 Marek Polacek <mpolacek@redhat.com>
26008
26009 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26011
95b7042b
RM
260122011-11-11 Roland McGrath <roland@hack.frob.com>
26013
26014 * include/unistd.h: Fix __readlink return type.
26015 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26016
57769839
UD
260172011-11-11 Ulrich Drepper <drepper@gmail.com>
26018
26019 * stdlib/ucontext.h: Undo last change for makecontext.
26020
edc5984d
AS
260212011-11-11 Andreas Schwab <schwab@redhat.com>
26022
98591e58
AS
26023 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26024
edc5984d
AS
26025 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26026 * setjmp/setjmp.h: Mark functions as non-leaf.
26027 * setjmp/bits/setjmp2.h: Likewise.
26028 * stdlib/ucontext.h: Likewise.
26029
77cdc054
AS
260302011-11-10 Andreas Schwab <schwab@redhat.com>
26031
26032 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26033 (reused_arena): Don't check arena limit.
26034 (arena_get2): Atomically check arena limit.
26035
fe72eebd
UD
260362011-11-08 Ulrich Drepper <drepper@gmail.com>
26037
5f078c32
UD
26038 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26039 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26040
fe72eebd
UD
26041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26042 instructions.
26043
ae1bc2fa
AS
260442011-11-07 Andreas Schwab <schwab@redhat.com>
26045
7583a88d
AS
26046 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26047 handler when locking.
26048
ae1bc2fa
AS
26049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26050 Fix size of allocated buffer.
26051
10fb0bfa
AS
260522011-11-04 Andreas Schwab <schwab@redhat.com>
26053
998832a4
AS
26054 [BZ #10103]
26055 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26056 declarations for long double functions.
26057 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26058
10fb0bfa
AS
26059 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26060
3d7ba52b
AS
260612011-11-03 Andreas Schwab <schwab@redhat.com>
26062
a9ae54a1
AS
26063 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26064 installed.
26065
3d7ba52b
AS
26066 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26067 is disabled.
26068
bc8db248
ST
260692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26070
26071 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26072
45b96dd6
AS
260732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26074
647776f6
AS
26075 * include/alloca.h (stackinfo_alloca_round): Define.
26076 (extend_alloca): Use it.
26077 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26078 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26079 here.
26080
d91a8b93
AS
26081 * scripts/check-local-headers.sh: Ignore libaudit.h.
26082
45b96dd6
AS
26083 * nscd/Makefile (extra-objs): Make recursively expanded.
26084
432d41ce
UD
260852011-11-01 Ulrich Drepper <drepper@gmail.com>
26086
34372fc6
UD
26087 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26089
fadb59f8
UD
26090 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26091 * posix/tst-rfc3484-2.c: Likewise.
26092 * posix/tst-rfc3484-3.c: Likewise.
26093
78239589
UD
26094 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26095 process_vm_writev.
26096 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26097 process_vm_writev.
26098 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26099 process_vm_writev from libc using GLIBC_2.15 version.
26100
432d41ce
UD
26101 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26102
02f9c6cf
PP
261032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26104
26105 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26106 stack usage.
26107
3a2c0242
UD
261082011-10-31 Ulrich Drepper <drepper@gmail.com>
26109
f4ec4833
UD
26110 [BZ #13367]
26111 * nss/getent.c (initgroups_keys): Show error message in case no group
26112 names are given.
26113
3a2c0242
UD
26114 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26115 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26116 __bump_nl_timestamp.
26117 * nscd/connections (nscd_init): When host database is served open
26118 netlink socket and request notification about configuration changes.
26119 (main_loop_poll): Track netlink file descriptor and bump timestamp
26120 in case data becomes available.
26121 (main_loop_epoll): Likewise.
26122 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26123 (database_pers_head): Add extra_data fileds.
26124 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26126 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26127 Adjust caller.
26128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26129 in6ai data, call __free_in6ai.
26130 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26131 Add -DHAVE_NETLINK.
26132 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26133 interface information. Reuse previous data if netlink timestamp
26134 is not changed.
26135 (__bump_nl_timestamp): New function.
26136 (__free_in6ai): New function.
26137
636064eb
UD
261382011-10-30 Ulrich Drepper <drepper@gmail.com>
26139
26140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26141 close_not_cancel_no_status here.
26142 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26143
9beb2334
UD
261442011-10-29 Ulrich Drepper <drepper@gmail.com>
26145
6ef76f3b
UD
26146 [BZ #13276]
26147 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26148 return value.
26149
0ffc4f3e 26150 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26151 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26152 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26153
cb95113e
UD
261542011-07-03 Andreas Jaeger <aj@suse.de>
26155
26156 [BZ #10709]
26157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26158 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26159 * math/libm-test.inc (sin_test): Add test case.
26160
a1b560ff
UD
261612011-10-29 Ulrich Drepper <drepper@gmail.com>
26162
c9aaface
UD
26163 [BZ #13337]
26164 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26166
d272e7f1
UD
26167 * elf/chroot_canon.c (chroot_canon): Cleanups.
26168
1bc33071
UD
26169 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26170
1760874d
TJ
26171 [BZ #13335]
26172 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26174
51d91b18
UD
26175 * string/test-strchr.c: Make usable for strchrnul testing.
26176 * string/test-strchrnul.c: New file.
26177 * string/Makefile (strop-tests): Add strchrnul.
26178
a1b560ff 26179 * po/it.po: Update from translation team.
b611fb81 26180 * po/es.po: Likewise.
a1b560ff 26181
a5b81e1f
UD
261822011-10-28 Ulrich Drepper <drepper@gmail.com>
26183
fd52bc6d
UD
26184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26185 the three constants needed as parameters. Drop the others.
26186 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26187 __m128i_strloadu_tolower.
52e4b9eb
UD
26188 Create and initialize variable zero and use it in all the places
26189 where _mm_setzero_si128 was used.
fd52bc6d 26190
a5b81e1f
UD
26191 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26192 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26193 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26195 anymore.
26196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26199 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26201 __mpranred, __mptan.
26202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26206 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26207 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26211
b4343346
AS
262122011-10-28 Andreas Schwab <schwab@redhat.com>
26213
0c92d8a8
AS
26214 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26215 redefine if SHARED.
26216 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26217
b4343346
AS
26218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26219 wide char related routines to wcsmbs subdir.
26220
3871f58f
AS
262212011-10-27 Andreas Schwab <schwab@redhat.com>
26222
26223 [BZ #13344]
26224 * misc/sys/cdefs.h (__THROWNL): Define.
26225 * posix/unistd.h: Use __THREADNL instead of __THREAD
26226 for memory synchronization functions.
26227
94d44d9f
RM
262282011-10-26 Roland McGrath <roland@hack.frob.com>
26229
21b64b15 26230 [BZ #13349]
94d44d9f
RM
26231 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26232 doesn't exist.
26233 * manual/stdio.texi (Obstack Streams): Node removed.
26234
f6ce9294
AS
262352011-10-26 Andreas Schwab <schwab@redhat.com>
26236
80479147
AS
26237 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26240
f6ce9294
AS
26241 * math/math_private.h (math_force_eval): Allow non-addressable
26242 arguments.
26243 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26244
618280a1
UD
262452011-10-25 Ulrich Drepper <drepper@gmail.com>
26246
e0016b11
UD
26247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26248 file is not needed.
26249
26250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26257 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26258 Add AVX variants.
26259 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26260 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26261 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26262 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26264 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26265 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26269 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26270 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26276 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26278
26279 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26280 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26281
618280a1
UD
26282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26283 place. Use VEX encoding when compiling for AVX.
26284
37822576
AS
262852011-10-25 Andreas Schwab <schwab@redhat.com>
26286
1f1e1947
AS
26287 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26288 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26289
37822576
AS
26290 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26291
31ea014d
UD
262922011-10-25 Ulrich Drepper <drepper@gmail.com>
26293
d7826aa1 26294 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26295 useless if() expression.
d7826aa1
UD
26296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26298 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26308 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26311 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26315
31ea014d
UD
26316 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26317
16437fec
AS
263182011-10-25 Andreas Schwab <schwab@redhat.com>
26319
26320 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26321 condition.
26322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26323
31d3cc00
UD
263242011-10-25 Ulrich Drepper <drepper@gmail.com>
26325
26326 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26327 .text section. Avoid duplicate constants.
26328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26340 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26361 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26362 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26363 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26366 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26367 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26373
58985aa9
UD
263742011-10-24 Ulrich Drepper <drepper@gmail.com>
26375
202c9deb
UD
26376 * sysdeps/x86_64/dla.h: Move to ...
26377 * sysdeps/x86_64/fpu/dla.h: ...here.
26378 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26379 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26380
af968f62
UD
26381 * config.make.in: Add have-mfma4 entry.
26382 * configure.in: Substitute libc_cv_cc_fma4.
26383 * math/Makefile (dbl-only-routines): Add sincostab.
26384 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26385 Use __sincostab not sincos.
26386 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26387 name is a macro.
26388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26392 using __copysign.
26393 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26394 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26395 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26396 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26397 and __inv.
26398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26399 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26400 __copysign.
26401 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26402 define aliases when function name is a macro.
26403 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26404 sysdeps/ieee754/dbl-64/sincos.tbl.
26405 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26406 fma4-enabled routines.
26407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26411 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26412 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26417 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26419 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26437
58985aa9
UD
26438 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26439 rename.
26440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26448
a201fbcf
AS
264492011-10-24 Andreas Schwab <schwab@redhat.com>
26450
26451 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26452
fc2ee42a
LD
264532011-10-23 Ulrich Drepper <drepper@gmail.com>
26454
bb3129bd
UD
26455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26456
0275fff8
UD
26457 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26458 prediction.
26459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26460
2fa2ae85
UD
26461 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26462 Remove unused variable magic_bits.
26463 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26464
fc2ee42a
LD
26465 * string/strnlen.c: Define and use STRNLEN macro.
26466 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26467 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26469 * wcsmbs/wcslen.c: Define and use WCSLEN.
26470 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26471 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26472 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26473 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26475 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26477
ce7dd29f
LD
264782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26479
26480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26481 strnlen-sse2-no-bsf.
26482 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26485 Add strnlen support.
26486 (USE_AS_STRNLEN): New macro.
26487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26488 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26489 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26490 * sysdeps/x86_64/wcslen.S: New file.
26491
979c70a3
MZ
264922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26493
26494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26495 XMM-moves are used for copying on small sizes.
26496
2d09f82f
LD
264972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26498
26499 * wcsmbs/Makefile (strop-tests): Add wcschr.
26500 * wcsmbs/test-wcschr.c: New file.
26501 * string/test-strchr.c: Update.
26502 Add wcschr support.
26503 (WIDE): New macro.
26504
619fccca
LD
265052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26506
2d09f82f 26507 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26508 * wcsmbs/test-wcslen.c: New file.
26509 * string/test-strlen.c: Update.
26510 Add wcslen support.
26511 (WIDE): New macro.
26512
09f699ea
UD
265132011-10-23 Ulrich Drepper <drepper@gmail.com>
26514
26515 * po/it.po: Update from translation team.
26516
95584d3b
LD
265172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26518
26519 * sysdeps/x86_64/wcscmp.S: Update.
26520 Fix wrong comparison semantics.
26521 wcscmp shall use signed comparison not unsigned.
26522 Don't use substraction to avoid overflow bug.
26523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26524 * wcsmbc/wcscmp.c: Likewise.
26525 * string/test-strcmp.c: Likewise.
26526 Add new tests to check cases with negative values.
26527
c8b3296b
UD
265282011-10-23 Ulrich Drepper <drepper@gmail.com>
26529
26530 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26531 * sysdeps/x86_64/dla.h: ...here. New file.
26532 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26541
246ad57a
AS
265422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26543
26544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26545 __ynl_finite aliases.
26546
a1a87169
UD
265472011-10-22 Ulrich Drepper <drepper@gmail.com>
26548
0d355eb7
UD
26549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26550
a1a87169
UD
26551 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26552 define DLA_FMA.
26553 [DLA_FMA] (EMULV): Use DLA_FMA.
26554 [DLA_FMA] (MUL12): Use EMULV.
26555 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26556 that are not needed.
26557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26564
ee2aafe0
AS
265652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26566
26567 * math/s_nan.c: Undef __nan.
26568 * math/s_nanf.c: Undef __nanf.
26569 * math/s_nanl.c: Undef __nanl.
26570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26571 "math_private.h".
26572
bc62c2fb
UD
265732011-10-22 Ulrich Drepper <drepper@gmail.com>
26574
77425c63
UD
26575 * math/s_catan.c: Add branch predictions.
26576 * math/s_catanf.c: Likewise.
26577 * math/s_catanh.c: Likewise.
26578 * math/s_catanhf.c: Likewise.
26579 * math/s_catanhl.c: Likewise.
26580 * math/s_catanl.c: Likewise.
26581 * math/s_cexp.c: Likewise.
26582 * math/s_cexpf.c: Likewise.
26583 * math/s_cexpl.c: Likewise.
26584 * math/s_clog.c: Likewise.
26585 * math/s_clog10.c: Likewise.
26586 * math/s_clog10f.c: Likewise.
26587 * math/s_clog10l.c: Likewise.
26588 * math/s_clogf.c: Likewise.
26589 * math/s_clogl.c: Likewise.
26590 * math/s_csqrt.c: Likewise.
26591 * math/s_csqrtf.c: Likewise.
26592 * math/s_csqrtl.c: Likewise.
26593 * math/s_ctanf.c: Likewise.
26594 * math/s_ctanh.c: Likewise.
26595 * math/s_ctanhf.c: Likewise.
26596 * math/s_ctanhl.c: Likewise.
26597 * math/s_ctanl.c: Likewise.
26598
bc62c2fb
UD
26599 * math/math_private.h: Define __nan, __nanf, __nanl.
26600 * math/s_cacosh.c: Include <math_private.h>.
26601 * math/s_cacoshl.c: Likewise.
26602 * math/s_casinh.c: Likewise.
26603 * math/s_casinhf.c: Likewise.
26604 * math/s_casinhl.c: Likewise.
26605 * math/s_ccos.c: Rely entire on ccosh.
26606 * math/s_ccosf.c: Rely entire on ccoshf.
26607 * math/s_ccosl.c: Rely entirely on ccoshl.
26608 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26609 Remove tests for FE_INVALID.
26610 * math/s_ccoshf.c: Likewise.
26611 * math/s_ccoshl.c: Likewise.
26612 * math/s_csin.c: Likewise.
26613 * math/s_csinf.c: Likewise.
26614 * math/s_csinh.c Likewise.
26615 * math/s_csinhf.c: Likewise.
26616 * math/s_csinhl.c: Likewise.
26617 * math/s_csinl.c: Likewise.
26618 * math/s_ctan.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26620 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26622
8ec250a4
UD
266232011-10-21 Ulrich Drepper <drepper@gmail.com>
26624
c196fed8
UD
26625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26626 compilation problems.
26627
8ec250a4
UD
26628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26629 __builtin_expect.
26630
8d4f46c6
UD
266312011-10-20 Ulrich Drepper <drepper@gmail.com>
26632
ed72b654
UD
26633 * sysdeps/i386/configure.in: Test for -mfma4 option.
26634 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26635 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26636 COMMON_CPUID_INDEX_80000001.
26637 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26638 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26639 use it if FMA3 is not supported.
26640 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26641
8d4f46c6
UD
26642 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26644
d45c60c2
AS
266452011-10-20 Andreas Schwab <schwab@redhat.com>
26646
26647 [BZ #12892]
26648 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26649 it would create a cycle with a link time dependency.
26650
d9a4d2ab
UD
266512011-10-19 Ulrich Drepper <drepper@gmail.com>
26652
855d1560
UD
26653 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26654 instruction.
26655 * string/Makefile (strop-tests): Add rawmemchr.
26656 * string/test-rawmemchr.c: New file.
26657
d9a4d2ab
UD
26658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26660 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26661 when compiling str{,n}casecmp and when AVX is available. Hook up
26662 new optimized code in initializers.
26663
8f3b1ffe
AS
266642011-10-19 Andreas Schwab <schwab@redhat.com>
26665
26666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26667 __feraiseexcept instead of feraiseexcept.
26668
d38f1dba
UD
266692011-10-18 Ulrich Drepper <drepper@gmail.com>
26670
d9a8d0ab
UD
26671 * math/math_private.h: Define defaults for libc_fetestexcept and
26672 libc_feupdateenv.
26673 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26676 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26679 libc_fetestexcept and libc_feupdateenv.
26680
4855e3dd
UD
26681 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26682 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26683 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26684 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26685 libc_feholdexcept_setround.
26686
581d30e3
UD
26687 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26688 Add s_nearbyint-c and s_nearbyintf-c.
26689 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26690 nearbyintf inlines.
26691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26695
d38f1dba
UD
26696 * math/math_private.h: Define defaults for libc_fegetround,
26697 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26698 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26699 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26701 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26702 standard functions.
26703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26704 Remove comments and hacks for old compiler versions.
26705 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26706 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26707 libc_feholdexceptl.
26708
caa6c9d8
AS
267092011-10-18 Andreas Schwab <schwab@redhat.com>
26710
26711 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26712 (__feraiseexcept_renamed): Add __NTH.
26713 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26714 namespace violations.
26715
97c066e6
UD
267162011-10-17 Ulrich Drepper <drepper@gmail.com>
26717
99ce7b04
UD
26718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26719
1004d182
UD
26720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26721
228a984d
UD
26722 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26723 recently added interfaces.
26724 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26725
c8553a6a
UD
26726 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26727 about macro parameter expansion.
26728
ed22dcf6
UD
26729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26730 __NO_MATH_INLINES is defined. Cleanups.
26731
26732 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26733 and __floorf is target has SSE4.1.
26734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26738
b171c137
UD
26739 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26740 name.
26741 (floorf): Likewise.
26742
97c066e6
UD
26743 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26744
629f62ef
AS
267452011-10-17 Andreas Schwab <schwab@redhat.com>
26746
49a43d80
AS
26747 * misc/sys/cdefs.h: Fix last change.
26748
629f62ef
AS
26749 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26750 database lookup.
26751
e453f6cd
UD
267522011-10-16 Ulrich Drepper <drepper@gmail.com>
26753
aa78043a
UD
26754 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26755
ad0f5cad
UD
26756 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26765 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26766 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26768 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26770 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26771 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26772 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26775 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26778
26779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26780 ceil, ceilf, floor, floorf.
26781
26782 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26783 Perform IRELATIVE relocations last.
26784
e453f6cd
UD
26785 * elf/do-rel.h: Add another parameter nrelative, replacing the
26786 local variable with the same name. Change name of the function
26787 to end in Rel or Rela (uppercase).
26788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26789 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26790 elf_dynamic_do_##reloc function.
26791
fd5bdc09
UD
267922011-10-15 Ulrich Drepper <drepper@gmail.com>
26793
79b195b5
UD
26794 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26795 is sufficient, at least on modern CPUs.
26796
d4a28569
UD
26797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26798
b61099b5
UD
26799 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26801
bcf01e6d
UD
26802 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26803 __expl_finite.
26804 * math/bits/math-finite.h: Add entries for exp.
26805 * math/e_expl.c: Add __*_finite alias.
26806 * sysdeps/i386/fpu/e_exp.S: Likewise.
26807 * sysdeps/i386/fpu/e_expf.S: Likewise.
26808 * sysdeps/i386/fpu/e_expl.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26816
ba1a0d59
UD
26817 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26818 is sufficient, at least on modern CPUs.
26819
fd5bdc09
UD
26820 * ctype/ctype-info.c (__ctype_init): Define.
26821 * include/ctype.h (__ctype_init): Declare.
26822 (__ctype_b_loc): The variable is always initialized.
26823 (__ctype_toupper_loc): Likewise.
26824 (__ctype_tolower_loc): Likewise.
26825 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26826 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26827
7872cfb0
AS
268282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26829
b468825a
AS
26830 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26831
7872cfb0
AS
26832 * configure.in: Also look in $cxxmachine/include for C++ system
26833 headers.
26834
be13f7bf
LD
268352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26836
26837 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26838 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26839 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26840 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26842 (USE_AS_WMEMCMP): New macro.
26843 Fixing indents.
26844 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26845 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26846 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26847 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26849 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26850 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26852 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26853 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26855 (USE_AS_WMEMCMP): New macro.
26856 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26857 * sysdeps/string/test-memcmp.c: Update.
26858 Fix simple_wmemcmp.
26859 Add new tests.
26860 * wcsmbs/wmemcmp.c: Update.
26861 (WMEMCMP): New macro.
26862 Fix overflow bug.
26863
556a2007
AJ
268642011-10-12 Andreas Jaeger <aj@suse.de>
26865
26866 [BZ #13268]
26867 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26868
538faaa7
UD
268692011-10-15 Ulrich Drepper <drepper@gmail.com>
26870
ab6737ff
UD
26871 * libio/iofwide.c (do_length): Avoid warning.
26872
538faaa7
UD
26873 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26874
396a21b1
UD
268752011-10-14 Ulrich Drepper <drepper@gmail.com>
26876
cdf2901f
UD
26877 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26878
38ad40ce
UD
26879 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26880 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26881 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26882 * sysdeps/i386/i686/fpu/e_log.S: New file.
26883 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26884 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26885
396a21b1
UD
26886 * ctype/ctype.h: Add support for inlined isXXX functions when
26887 compiling C++ code.
26888
6b1f68c9
AS
268892011-10-14 Andreas Schwab <schwab@redhat.com>
26890
349290c0
AS
26891 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26892
6b1f68c9
AS
26893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26894
f2282d42
RM
268952011-10-13 Roland McGrath <roland@hack.frob.com>
26896
26897 [BZ #13291]
26898 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26899
5298ffa8
AS
269002011-10-13 Andreas Schwab <schwab@redhat.com>
26901
714fad23
AS
26902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26903 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26904 feraiseexcept.
26905
81dcc7fb
AS
26906 * sysdeps/x86_64/memrchr.S: Check for zero size.
26907
5298ffa8
AS
26908 * string/stratcliff.c: Add memrchr tests.
26909
951fbcec
LD
269102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26911
26912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26913 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26914 rawmemchr-sse2 rawmemchr-sse2-bsf.
26915 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26917 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26918 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26919 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26920 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26921 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26922 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26925 * string/memrchr.c (MEMRCHR): New macro.
26926
0ac5ae23
UD
269272011-10-12 Ulrich Drepper <drepper@gmail.com>
26928
26929 Add integration with gcc's -ffinite-math-only and optimize wrapper
26930 functions in libm.
26931 * Versions.def: Define GLIBC_2.15 version for libm.
26932 * math/Makefile (headers): Add bits/math-finite.h.
26933 * math/bits/math-finite.h: New file.
26934 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26935 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26936 * math/e_acoshl.c: Add __*_finite alias.
26937 * math/e_acosl.c: Likewise.
26938 * math/e_asinl.c: Likewise.
26939 * math/e_atan2l.c: Likewise.
26940 * math/e_atanhl.c: Likewise.
26941 * math/e_coshl.c: Likewise.
26942 * math/e_exp10.c: Likewise.
26943 * math/e_exp10f.c: Likewise.
26944 * math/e_exp10l.c: Likewise.
26945 * math/e_exp2l.c: Likewise.
26946 * math/e_fmodl.c: Likewise.
26947 * math/e_gammal_r.c: Likewise.
26948 * math/e_hypotl.c: Likewise.
26949 * math/e_j0l.c: Likewise.
26950 * math/e_j1l.c: Likewise.
26951 * math/e_jnl.c: Likewise.
26952 * math/e_lgammal_r.c: Likewise.
26953 * math/e_log10l.c: Likewise.
26954 * math/e_log2l.c: Likewise.
26955 * math/e_logl.c: Likewise.
26956 * math/e_powl.c: Likewise.
26957 * math/e_sinhl.c: Likewise.
26958 * math/e_sqrtl.c: Likewise.
26959 * math/e_scalb.c: Completely rewritten and optimized.
26960 * math/e_scalbf.c: Likewise.
26961 * math/e_scalbl.c: Likewise.
26962 * math/w_acos.c: Likewise.
26963 * math/w_acosf.c: Likewise.
26964 * math/w_acosl.c: Likewise.
26965 * math/w_acosh.c: Likewise.
26966 * math/w_acoshf.c: Likewise.
26967 * math/w_acoshl.c: Likewise.
26968 * math/w_asin.c: Likewise.
26969 * math/w_asinf.c: Likewise.
26970 * math/w_asinl.c: Likewise.
26971 * math/w_atan2.c: Likewise.
26972 * math/w_atan2f.c: Likewise.
26973 * math/w_atan2l.c: Likewise.
26974 * math/w_atanh.c: Likewise.
26975 * math/w_atanhf.c: Likewise.
26976 * math/w_atanhl.c: Likewise.
26977 * math/w_exp10.c: Likewise.
26978 * math/w_exp10f.c: Likewise.
26979 * math/w_exp10l.c: Likewise.
26980 * math/w_fmod.c: Likewise.
26981 * math/w_fmodf.c: Likewise.
26982 * math/w_fmodl.c: Likewise.
26983 * math/w_j0.c: Likewise.
26984 * math/w_j0f.c: Likewise.
26985 * math/w_j0l.c: Likewise.
26986 * math/w_j1.c: Likewise.
26987 * math/w_j1f.c: Likewise.
26988 * math/w_j1l.c: Likewise.
26989 * math/w_jn.c: Likewise.
26990 * math/w_jnf.c: Likewise.
26991 * math/w_log.c: Likewise.
26992 * math/w_logf.c: Likewise.
26993 * math/w_logl.c: Likewise.
26994 * math/w_log10.c: Likewise.
26995 * math/w_log10f.c: Likewise.
26996 * math/w_log10l.c: Likewise.
26997 * math/w_log2.c: Likewise.
26998 * math/w_log2f.c: Likewise.
26999 * math/w_log2l.c: Likewise.
27000 * math/w_pow.c: Likewise.
27001 * math/w_powf.c: Likewise.
27002 * math/w_powl.c: Likewise.
27003 * math/w_remainder.c: Likewise.
27004 * math/w_remainderf.c: Likewise.
27005 * math/w_remainderl.c: Likewise.
27006 * math/w_scalb.c: Likewise.
27007 * math/w_scalbf.c: Likewise.
27008 * math/w_scalbl.c: Likewise.
27009 * math/w_sqrt.c: Likewise.
27010 * math/w_sqrtf.c: Likewise.
27011 * math/w_sqrtl.c: Likewise.
27012 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27013 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27014 used.
27015 * math/math_private.h: Declare __kernel_standard_f.
27016 * math/w_cosh.c: Remove cruft and optimize a bit.
27017 * math/w_coshf.c: Likewise.
27018 * math/w_coshl.c: Likewise.
27019 * math/w_exp2.c: Likewise.
27020 * math/w_exp2f.c: Likewise.
27021 * math/w_exp2l.c: Likewise.
27022 * math/w_hypot.c: Likewise.
27023 * math/w_hypotf.c: Likewise.
27024 * math/w_hypotl.c: Likewise.
27025 * math/w_lgamma.c: Likewise.
27026 * math/w_lgamma_r.c: Likewise.
27027 * math/w_lgammaf.c: Likewise.
27028 * math/w_lgammaf_r.c: Likewise.
27029 * math/w_lgammal.c: Likewise.
27030 * math/w_lgammal_r.c: Likewise.
27031 * math/w_sinh.c: Likewise.
27032 * math/w_sinhf.c: Likewise.
27033 * math/w_sinhl.c: Likewise.
27034 * math/w_tgamma.c: Likewise.
27035 * math/w_tgammaf.c: Likewise.
27036 * math/w_tgammal.c: Likewise.
27037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27039 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27040 Minor optimizations. Pretty printing. Remove cruft.
27041 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27042 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27045 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27046 * sysdeps/i386/fpu/e_asin.S: Likewise.
27047 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27048 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27049 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27050 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27054 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27055 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27056 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27057 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27058 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27059 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27060 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27061 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27062 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27063 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27064 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27065 * sysdeps/i386/fpu/e_log.S: Likewise.
27066 * sysdeps/i386/fpu/e_log10.S: Likewise.
27067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27069 * sysdeps/i386/fpu/e_log2.S: Likewise.
27070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27072 * sysdeps/i386/fpu/e_logf.S: Likewise.
27073 * sysdeps/i386/fpu/e_logl.S: Likewise.
27074 * sysdeps/i386/fpu/e_pow.S: Likewise.
27075 * sysdeps/i386/fpu/e_powf.S: Likewise.
27076 * sysdeps/i386/fpu/e_powl.S: Likewise.
27077 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27078 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27079 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27082 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27083 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27084 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27085 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27092 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27136 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27141 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27142 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27143 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27144 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27171 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27174 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27183 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27184 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27185 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27186 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27187 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27188 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27189 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27194 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27196 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27197 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27198 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27199 (__isnanf): Likewise.
27200 (__isinf_ns): Likewise.
27201 (__isinf_nsf): Likewise.
27202 (__finite): Likewise.
27203 (__finitef): Likewise.
27204 (__ieee754_sqrt): Define as macro.
27205 (__ieee754_sqrtf): Define as macro.
27206 (__ieee754_sqrtl): Define as macro.
27207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27208 inlined copy.
27209 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27210 __FINITE_MATH_ONLY__ consistent.
27211 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27212
12cc2fcd
AS
272132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27214
a843a204
AS
27215 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27216 of rawmemchr.
27217
12cc2fcd
AS
27218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27219
c853acd5
UD
272202011-10-09 Ulrich Drepper <drepper@gmail.com>
27221
27222 * po/ja.po: Update from translation team.
27223
c658d255
RM
272242011-10-08 Roland McGrath <roland@hack.frob.com>
27225
110946e4
RM
27226 * locale/programs/locarchive.c (prepare_address_space): New function.
27227 (create_archive, enlarge_archive, open_archive): Use it.
27228
50604220
RM
27229 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27230 inside [SHARED], where it is used.
27231
c658d255
RM
27232 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27233
27234 * nss/getent.c (netgroup_keys): Remove unused variable.
27235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27236
6a621eb7
UD
272372011-10-08 Ulrich Drepper <drepper@gmail.com>
27238
7edb55ce
UD
27239 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27245 * math/Makefile (libm-calls): Add s_isinf_ns.
27246 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27247 * math/multc3.c: Likewise.
27248 * math/s_casin.c: Likewise.
27249 * math/s_casinf.c: Likewise.
27250 * math/s_casinl.c: Likewise.
27251 * math/s_ccos.c: Likewise.
27252 * math/s_ccosf.c: Likewise.
27253 * math/s_ccosl.c: Likewise.
27254 * math/s_ctan.c: Likewise.
27255 * math/s_ctanf.c: Likewise.
27256 * math/s_ctanh.c: Likewise.
27257 * math/s_ctanhf.c: Likewise.
27258 * math/s_ctanhl.c: Likewise.
27259 * math/s_ctanl.c: Likewise.
27260 * math/w_fmod.c: Likewise.
27261 * math/w_fmodf.c: Likewise.
27262 * math/w_fmodl.c: Likewise.
27263 * math/w_remainder.c: Likewise.
27264 * math/w_remainderf.c: Likewise.
27265 * math/w_remainderl.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27267 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27270 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27271 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27272 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27273 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27274
187da0ae
UD
27275 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27276 of the number.
27277 * stdio-common/printf_fphex.c: Likewise.
27278 * stdio-common/printf_size.c: Likewise.
27279
9277c064
UD
27280 * math/e_exp10.c: Include math_private.h using <...> not "...".
27281 * math/e_exp10f.c: Likewise.
27282 * math/e_exp10l.c: Likewise.
27283 * math/e_exp2l.c: Likewise.
27284 * math/e_j0l.c: Likewise.
27285 * math/e_j1l.c: Likewise.
27286 * math/e_jnl.c: Likewise.
27287 * math/e_lgammal_r.c: Likewise.
27288 * math/e_rem_pio2l.c: Likewise.
27289 * math/e_scalb.c: Likewise.
27290 * math/e_scalbf.c: Likewise.
27291 * math/e_scalbl.c: Likewise.
27292 * math/k_cosl.c: Likewise.
27293 * math/k_sinl.c: Likewise.
27294 * math/k_tanl.c: Likewise.
27295 * math/s_cacoshf.c: Likewise.
27296 * math/s_catan.c: Likewise.
27297 * math/s_catanf.c: Likewise.
27298 * math/s_catanh.c: Likewise.
27299 * math/s_catanhf.c: Likewise.
27300 * math/s_catanhl.c: Likewise.
27301 * math/s_catanl.c: Likewise.
27302 * math/s_ccosh.c: Likewise.
27303 * math/s_ccoshf.c: Likewise.
27304 * math/s_ccoshl.c: Likewise.
27305 * math/s_cexp.c: Likewise.
27306 * math/s_cexpf.c: Likewise.
27307 * math/s_cexpl.c: Likewise.
27308 * math/s_clog.c: Likewise.
27309 * math/s_clog10.c: Likewise.
27310 * math/s_clog10f.c: Likewise.
27311 * math/s_clog10l.c: Likewise.
27312 * math/s_clogf.c: Likewise.
27313 * math/s_clogl.c: Likewise.
27314 * math/s_csin.c: Likewise.
27315 * math/s_csinf.c: Likewise.
27316 * math/s_csinh.c: Likewise.
27317 * math/s_csinhf.c: Likewise.
27318 * math/s_csinhl.c: Likewise.
27319 * math/s_csinl.c: Likewise.
27320 * math/s_csqrt.c: Likewise.
27321 * math/s_csqrtf.c: Likewise.
27322 * math/s_csqrtl.c: Likewise.
27323 * math/s_ctan.c: Likewise.
27324 * math/s_ctanf.c: Likewise.
27325 * math/s_ctanh.c: Likewise.
27326 * math/s_ctanhf.c: Likewise.
27327 * math/s_ctanhl.c: Likewise.
27328 * math/s_ctanl.c: Likewise.
27329 * math/s_ldexp.c: Likewise.
27330 * math/s_ldexpf.c: Likewise.
27331 * math/s_ldexpl.c: Likewise.
27332 * math/s_significand.c: Likewise.
27333 * math/s_significandf.c: Likewise.
27334 * math/s_significandl.c: Likewise.
27335 * math/w_acos.c: Likewise.
27336 * math/w_acosf.c: Likewise.
27337 * math/w_acosh.c: Likewise.
27338 * math/w_acoshf.c: Likewise.
27339 * math/w_acoshl.c: Likewise.
27340 * math/w_acosl.c: Likewise.
27341 * math/w_asin.c: Likewise.
27342 * math/w_asinf.c: Likewise.
27343 * math/w_asinl.c: Likewise.
27344 * math/w_atan2.c: Likewise.
27345 * math/w_atan2f.c: Likewise.
27346 * math/w_atan2l.c: Likewise.
27347 * math/w_atanh.c: Likewise.
27348 * math/w_atanhf.c: Likewise.
27349 * math/w_atanhl.c: Likewise.
27350 * math/w_cosh.c: Likewise.
27351 * math/w_coshf.c: Likewise.
27352 * math/w_coshl.c: Likewise.
27353 * math/w_dremf.c: Likewise.
27354 * math/w_exp10.c: Likewise.
27355 * math/w_exp10f.c: Likewise.
27356 * math/w_exp10l.c: Likewise.
27357 * math/w_exp2.c: Likewise.
27358 * math/w_exp2f.c: Likewise.
27359 * math/w_fmod.c: Likewise.
27360 * math/w_fmodf.c: Likewise.
27361 * math/w_fmodl.c: Likewise.
27362 * math/w_hypot.c: Likewise.
27363 * math/w_hypotf.c: Likewise.
27364 * math/w_hypotl.c: Likewise.
27365 * math/w_j0.c: Likewise.
27366 * math/w_j0f.c: Likewise.
27367 * math/w_j0l.c: Likewise.
27368 * math/w_j1.c: Likewise.
27369 * math/w_j1f.c: Likewise.
27370 * math/w_j1l.c: Likewise.
27371 * math/w_jn.c: Likewise.
27372 * math/w_jnf.c: Likewise.
27373 * math/w_jnl.c: Likewise.
27374 * math/w_lgamma.c: Likewise.
27375 * math/w_lgamma_r.c: Likewise.
27376 * math/w_lgammaf.c: Likewise.
27377 * math/w_lgammaf_r.c: Likewise.
27378 * math/w_lgammal.c: Likewise.
27379 * math/w_lgammal_r.c: Likewise.
27380 * math/w_log.c: Likewise.
27381 * math/w_log10.c: Likewise.
27382 * math/w_log10f.c: Likewise.
27383 * math/w_log10l.c: Likewise.
27384 * math/w_log2.c: Likewise.
27385 * math/w_log2f.c: Likewise.
27386 * math/w_log2l.c: Likewise.
27387 * math/w_logf.c: Likewise.
27388 * math/w_logl.c: Likewise.
27389 * math/w_pow.c: Likewise.
27390 * math/w_powf.c: Likewise.
27391 * math/w_powl.c: Likewise.
27392 * math/w_remainder.c: Likewise.
27393 * math/w_remainderf.c: Likewise.
27394 * math/w_remainderl.c: Likewise.
27395 * math/w_scalb.c: Likewise.
27396 * math/w_scalbf.c: Likewise.
27397 * math/w_scalbl.c: Likewise.
27398 * math/w_sinh.c: Likewise.
27399 * math/w_sinhf.c: Likewise.
27400 * math/w_sinhl.c: Likewise.
27401 * math/w_sqrt.c: Likewise.
27402 * math/w_sqrtf.c: Likewise.
27403 * math/w_sqrtl.c: Likewise.
27404 * math/w_tgamma.c: Likewise.
27405 * math/w_tgammaf.c: Likewise.
27406 * math/w_tgammal.c: Likewise.
27407
6a621eb7
UD
27408 * po/ja.po: Update from translation team.
27409
bf582445
AJ
274102011-09-29 Andreas Jaeger <aj@suse.de>
27411
f9efbf3a
AJ
27412 [BZ #13179]
27413 * sunrpc/netname.c (netname2host): Fix logic.
27414
bf582445
AJ
27415 [BZ #6779]
27416 [BZ #6783]
27417 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27418 correctly.
27419 * math/w_remainder.c (__remainder): Likewise.
27420 * math/w_remainderf.c (__remainderf): Likewise.
27421 * math/libm-test.inc (remainder_test): Add test cases.
27422
48693bea
AK
274232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27424
27425 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27426 sdiv_qrnnd.
27427
42622229
LD
274282011-10-07 Ulrich Drepper <drepper@gmail.com>
27429
27430 * string/test-memcmp.c: Avoid unncessary #defines.
27431 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27432
093ecf92
LD
274332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27434
27435 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27436 Use new sse2 version for core i3 - i7 as it's faster
27437 than sse42 version.
27438 (bit_Prefer_PMINUB_for_stringop): New.
27439 * sysdeps/x86_64/rawmemchr.S: Update.
27440 Replace with faster SSE2 version.
27441 * sysdeps/x86_64/memrchr.S: New file.
27442 * sysdeps/x86_64/memchr.S: Update.
27443 Replace with faster SSE2 version.
27444
fde56e5c
MP
274452011-09-12 Marek Polacek <mpolacek@redhat.com>
27446
27447 * elf/dl-load.c (lose): Add cast to avoid warning.
27448
21fd49a9
UD
274492011-10-07 Ulrich Drepper <drepper@gmail.com>
27450
5a06e643
UD
27451 * po/ca.po: Update from translation team.
27452
684ae515
UD
27453 * inet/getnetgrent_r.c: Hook up nscd.
27454 * nscd/Makefile (routines): Add nscd_netgroup.
27455 (nscd-modules): Add netgroupcache.
27456 (CFLAGS-netgroupcache.c): Define.
27457 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27458 (cache_search): Add const to second parameter.
27459 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27460 INNETGR.
27461 (dbs): Add netgrdb entry.
27462 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27463 (verify_persistent_db): Handle netgrdb.
27464 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27465 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27466 GETFDNETGR.
27467 (netgroup_response_header): Define.
27468 (innetgroup_response_header): Define.
27469 (datahead): Add netgroup_response_header and innetgroup_response_header
27470 elements.
27471 * nscd/nscd.conf: Add entries for netgroup cache.
27472 * nscd/nscd.h (dbtype): Add netgrdb.
27473 (_PATH_NSCD_NETGROUP_DB): Define.
27474 (netgroup_iov_disabled): Declare.
27475 (xmalloc, xcalloc, xrealloc): Move declarations here.
27476 (cache_search): Adjust prototype.
27477 Add netgroup-related prototypes.
27478 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27479 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27480 (__nscd_innetgr): Declare.
27481 * nscd/selinux.c (perms): Use access_vector_t as element type and
27482 add netgroup-related initializers.
27483 * nscd/netgroupcache.c: New file.
27484 * nscd/nscd_netgroup.c: New file.
27485 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27486 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27487 For four parameters use innetgr.
27488 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27489 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27490 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27491 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27492
21fd49a9
UD
27493 * nscd/connections.c (register_traced_file): Don't register file
27494 for disabled databases.
27495
054c0457
UD
274962011-10-06 Ulrich Drepper <drepper@gmail.com>
27497
32b63198
UD
27498 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27499
054c0457
UD
27500 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27501 from tree and freeing node.
27502
64031225
JO
275032011-09-25 Jiri Olsa <jolsa@redhat.com>
27504
27505 * nss/nsswitch.c (__nss_database_lookup): Handle
27506 nss_parse_service_list out of memory case.
27507
0490345c
JO
275082011-09-15 Jiri Olsa <jolsa@redhat.com>
27509
27510 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27511 out of memory case.
27512
3a62d00d
AS
275132011-10-04 Andreas Schwab <schwab@redhat.com>
27514
27515 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27516 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27517 pass it down.
27518 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27519 elf_machine_rela, elf_machine_lazy_rel.
27520 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27521 (ELF_DYNAMIC_DO_REL): Likewise.
27522 (ELF_DYNAMIC_DO_RELA): Likewise.
27523 (ELF_DYNAMIC_RELOCATE): Likewise.
27524 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27525 to ELF_DYNAMIC_DO_REL.
27526 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27527 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27528 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27529 elf_machine_rela.
27530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27531 skip_ifunc, don't call ifunc function if non-zero.
27532 (elf_machine_rela): Likewise.
27533 (elf_machine_lazy_rel): Likewise.
27534 (elf_machine_lazy_rela): Likewise.
27535 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27536 (elf_machine_lazy_rel): Likewise.
27537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27538 Likewise.
27539 (elf_machine_lazy_rel): Likewise.
27540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27541 Likewise.
27542 (elf_machine_lazy_rel): Likewise.
27543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27544 (elf_machine_lazy_rel): Likewise.
27545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27546 (elf_machine_lazy_rel): Likewise.
27547 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27548 (elf_machine_lazy_rel): Likewise.
27549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27550 (elf_machine_lazy_rel): Likewise.
27551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27552 (elf_machine_lazy_rel): Likewise.
27553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27554 (elf_machine_lazy_rel): Likewise.
27555
68577918
UD
275562011-09-28 Ulrich Drepper <drepper@gmail.com>
27557
27558 * nss/nss_files/files-init.c (_nss_files_init): Use static
27559 initialization for all the *_traced_file variables.
27560
68822d74
AS
275612011-09-28 Andreas Schwab <schwab@redhat.com>
27562
27563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27564
2056100b
RM
275652011-09-27 Roland McGrath <roland@hack.frob.com>
27566
27567 [BZ #13226]
27568 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27569
32c76b63
AS
275702011-09-27 Andreas Schwab <schwab@redhat.com>
27571
27572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27573 Reread the line before reparsing it.
27574
bf972c9d
AS
275752011-09-26 Andreas Schwab <schwab@redhat.com>
27576
27577 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27578
e057a1b5
JM
275792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27580 Maxim Kuvyrkov <maxim@codesourcery.com>
27581 Joseph Myers <joseph@codesourcery.com>
27582
27583 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27584 if needed for __stack_chk_guard.
27585
bc7e1c36
RM
275862011-09-19 Roland McGrath <roland@hack.frob.com>
27587
ecb1482f
RM
27588 * sysdeps/posix/spawni.c (script_execute): Always define it.
27589 It will be optimized away if unused.
27590 (maybe_script_execute): New function.
27591 (__spawni): Call it.
27592
bc7e1c36
RM
27593 * Makerules: Don't include tls.make.
27594 (config-tls): Always set to thread.
27595 * tls.make.c: File removed.
27596
1c3b002b
MF
275972011-09-19 Mike Frysinger <vapier@gentoo.org>
27598
27599 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27600 * config.make.in (CPPFLAGS-config): New substituted variable.
27601
2840865d
UD
276022011-09-15 Ulrich Drepper <drepper@gmail.com>
27603
88738eb6
UD
27604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27605
cbf645a6 27606 [BZ #13192]
2840865d
UD
27607 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27608 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27609
b402e91a
RM
276102011-09-15 Roland McGrath <roland@hack.frob.com>
27611
27612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27613 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27615 (CALL_FAIL): Likewise.
27616 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27617 (CALL_FAIL): Macro removed.
27618 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27619
4c1a1f71
UD
276202011-09-15 Ulrich Drepper <drepper@gmail.com>
27621
27622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27623 for __FINITE_MATH_ONLY__ == 1.
27624
edc121be
AS
276252011-09-15 Andreas Schwab <schwab@redhat.com>
27626
27627 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27628 __ieee754_sqrt instead of sqrt.
27629 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27630 __ieee754_sqrtf instead of sqrtf.
27631 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27632 __floorf instead of floorf.
27633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27634 __floorf, __truncf instead of floorf, truncf.
27635
cd205654
UD
276362011-09-14 Ulrich Drepper <drepper@gmail.com>
27637
ee4d0315
UD
27638 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27639
cd205654
UD
27640 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27641 __extern_always_inline.
27642 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27643 32-bit.
27644
48b67d71
AS
276452011-09-14 Andreas Schwab <schwab@redhat.com>
27646
27647 * elf/rtld.c (dl_main): Also relocate in dependency order when
27648 doing symbol dependency testing.
27649
1ae12c75
AS
276502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27651
27652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27653 Always define `refsym'.
27654
995a80df
AS
276552011-09-13 Andreas Schwab <schwab@redhat.com>
27656
e529793b
AS
27657 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27658 (__FD_ELT): Renamed from __FDELT.
27659 * misc/bits/select2.h (__FD_ELT): Likewise.
27660 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27661 __FD_MASK instead of __FDELT, __FDMASK.
27662 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27663 Likewise.
27664 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27665 Likewise.
27666
52d4fef8
AS
27667 * elf/Makefile (gen-ldd): Fix pattern.
27668
995a80df
AS
27669 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27670 (init_tls): Likewise.
27671
8682f8b0
UD
276722011-09-12 Ulrich Drepper <drepper@gmail.com>
27673
27674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27675
de82006d
AS
276762011-09-12 Andreas Schwab <schwab@redhat.com>
27677
a7c8e6a1
AS
27678 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27679 `struct cmsghdr *' instead of `void *'.
27680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27681 Likewise.
27682
0f31fe77
AS
276832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27684
27685 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27686 if non-absolute.
27687 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27688 ldd_rewrite_script.
0f31fe77 27689
32b4c839
UD
276902011-09-11 Ulrich Drepper <drepper@gmail.com>
27691
83cd1420
UD
27692 * configure.in: Remove --with-tls option.
27693 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27694 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27695 out in case it is missing.
27696 * sysdeps/ia64/elf/configure.in: Likewise.
27697 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27698 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27699 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27700 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27701 * sysdeps/sh/elf/configure.in: Likewise.
27702 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27703 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27704 * sysdeps/x86_64/elf/configure.in: Likewise.
27705 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27706 * sysdeps/mach/hurd/tls.h: Likewise.
27707
633f745d
UD
27708 [BZ #13067]
27709 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27710
f318beb8
UD
27711 [BZ #13090]
27712 * configure.in: Fix use of AC_INIT.
27713
32b4c839
UD
27714 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27715
3ce1f295
UD
277162011-09-10 Ulrich Drepper <drepper@gmail.com>
27717
bb016596
UD
27718 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27719 __set_errno.
8e58439c
UD
27720 * malloc/hooks.c: Likewise.
27721
aebae053 27722 [BZ #11929]
02d46fc4
UD
27723 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27724 variables statically.
27725 (narenas): Initialize.
27726 (list_lock): Initialize.
bb016596
UD
27727 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27728 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27729 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27730 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27731 Add initializers to main_arena and mp_.
27732 (malloc_state): Remove pagesize member. Change all users to use
27733 GLRO(dl_pagesize).
27734
27735 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27736 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27737 is always initialized.
27738
22a89187
UD
27739 * malloc/malloc.c: Removed unused configurations and dead code.
27740 * malloc/arena.c: Likewise.
27741 * malloc/hooks.c: Likewise.
02d46fc4 27742 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27743
d063d164
UD
27744 * include/tls.h: Removed. USE___THREAD must always be defined.
27745 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27746 * elf/dl-libc.c: Likewise.
27747 * elf/dl-tsd.c: Likewise.
27748 * include/errno.h: Likewise.
27749 * include/netdb.h: Likewise.
27750 * include/resolv.h: Likewise.
27751 * inet/herrno-loc.c: Likewise.
27752 * inet/herrno.c: Likewise.
27753 * malloc/arena.c: Likewise.
27754 * malloc/hooks.c: Likewise.
27755 * malloc/malloc.c: Likewise.
27756 * resolv/res-state.c: Likewise.
27757 * resolv/res_libc.c: Likewise.
27758 * sysdeps/i386/dl-machine.h: Likewise.
27759 * sysdeps/ia64/dl-machine.h: Likewise.
27760 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27761 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27762 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27763 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27764 * sysdeps/sh/dl-machine.h: Likewise.
27765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27766 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27767 * sysdeps/unix/i386/sysdep.S: Likewise.
27768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27769 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27779 * sysdeps/x86_64/dl-machine.h: Likewise.
27780 * tls.make.c: Likewise.
27781
3ce1f295
UD
27782 * configure.in: Remove --with-__thread option. Make tests for
27783 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27784 tls_model attribute fail if no support is available. Remove
27785 USE_IN_LIBIO.
27786 * Makeconfig: Adjust for dropped configure option. All features are
27787 now mandatory.
27788 * Makerules: Likewise.
27789 * Versions.def: Likewise.
27790 * argp/argp-fmtstream.c: Likewise.
27791 * argp/argp-fmtstream.h: Likewise.
27792 * argp/argp-help.c: Likewise.
27793 * assert/assert.c: Likewise.
27794 * config.h.in: Likewise.
27795 * config.make.in: Likewise.
27796 * configure: Likewise.
27797 * configure.in: Likewise.
27798 * csu/Versions: Likewise.
27799 * csu/init.c: Likewise.
27800 * elf/tst-audit2.c: Likewise.
27801 * elf/tst-tls10.c: Likewise.
27802 * elf/tst-tls10.h: Likewise.
27803 * elf/tst-tls11.c: Likewise.
27804 * elf/tst-tls12.c: Likewise.
27805 * elf/tst-tls14.c: Likewise.
27806 * elf/tst-tlsmod11.c: Likewise.
27807 * elf/tst-tlsmod12.c: Likewise.
27808 * elf/tst-tlsmod13.c: Likewise.
27809 * elf/tst-tlsmod13a.c: Likewise.
27810 * elf/tst-tlsmod14a.c: Likewise.
27811 * elf/tst-tlsmod15b.c: Likewise.
27812 * elf/tst-tlsmod16a.c: Likewise.
27813 * elf/tst-tlsmod16b.c: Likewise.
27814 * elf/tst-tlsmod7.c: Likewise.
27815 * elf/tst-tlsmod8.c: Likewise.
27816 * elf/tst-tlsmod9.c: Likewise.
27817 * gmon/gmon.c: Likewise.
27818 * grp/fgetgrent_r.c: Likewise.
27819 * grp/putgrent.c: Likewise.
27820 * hurd/fopenport.c: Likewise.
27821 * include/libc-symbols.h: Likewise.
27822 * include/tls.h: Likewise.
27823 * intl/gettextP.h: Likewise.
27824 * intl/loadinfo.h: Likewise.
27825 * locale/global-locale.c: Likewise.
27826 * locale/localeinfo.h: Likewise.
27827 * mach/devstream.c: Likewise.
27828 * malloc/arena.c: Likewise.
27829 * malloc/set-freeres.c: Likewise.
27830 * misc/err.c: Likewise.
27831 * misc/getttyent.c: Likewise.
27832 * misc/mntent_r.c: Likewise.
27833 * posix/getopt.c: Likewise.
27834 * posix/wordexp.c: Likewise.
27835 * pwd/fgetpwent_r.c: Likewise.
27836 * resolv/Versions: Likewise.
27837 * resolv/res_hconf.c: Likewise.
27838 * shadow/fgetspent_r.c: Likewise.
27839 * shadow/putspent.c: Likewise.
27840 * stdio-common/printf_fphex.c: Likewise.
27841 * stdio-common/tmpfile.c: Likewise.
27842 * stdlib/abort.c: Likewise.
27843 * stdlib/fmtmsg.c: Likewise.
27844 * sunrpc/auth_unix.c: Likewise.
27845 * sunrpc/clnt_perr.c: Likewise.
27846 * sunrpc/clnt_tcp.c: Likewise.
27847 * sunrpc/clnt_udp.c: Likewise.
27848 * sunrpc/clnt_unix.c: Likewise.
27849 * sunrpc/openchild.c: Likewise.
27850 * sunrpc/svc_simple.c: Likewise.
27851 * sunrpc/svc_tcp.c: Likewise.
27852 * sunrpc/svc_udp.c: Likewise.
27853 * sunrpc/svc_unix.c: Likewise.
27854 * sunrpc/xdr.c: Likewise.
27855 * sunrpc/xdr_array.c: Likewise.
27856 * sunrpc/xdr_rec.c: Likewise.
27857 * sunrpc/xdr_ref.c: Likewise.
27858 * sunrpc/xdr_stdio.c: Likewise.
27859
1248c1c4
PB
278602011-09-09 Ulrich Drepper <drepper@gmail.com>
27861
27862 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27863
278642011-07-03 Andreas Jaeger <aj@suse.de>
27865
27866 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27867 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27868 regenerate with gen-libm-tests.pl.
27869
278702010-05-12 Petr Baudis <pasky@suse.cz>
27871
27872 [BZ #11589]
27873 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27874 around j0() zero points by switching to j1().
27875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27879
f22e1074
UD
278802011-09-09 Ulrich Drepper <drepper@gmail.com>
27881
f19009c1
UD
27882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27883 instead of 0.
27884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27885 instead of 0.
f19009c1
UD
27886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27887 Patch in part by Pavel Roskin <proski@gnu.org>.
27888
3f8cc204
UD
27889 [BZ #13138]
27890 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27891 realloc.
27892 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27893 Free memory block if necessary.
27894
f22e1074
UD
27895 [BZ #12847]
27896 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27897 be NULL. Don't lock in this case.
27898
0a2349f9
RM
278992011-09-09 Roland McGrath <roland@hack.frob.com>
27900
27901 * elf/elf.h (ELFOSABI_GNU): New macro.
27902 (ELFOSABI_LINUX): Define to that.
27903
f3cdd467
DZ
279042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27905
27906 * string/strncat.c (strncat): Undef the symbol in case it has been
27907 defined in bits/string.h.
27908
74718d13
UD
279092011-09-09 Ulrich Drepper <drepper@gmail.com>
27910
633e9e0f
UD
27911 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27912
0a2349f9 27913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27914 link map.
27915
f9924780
AJ
279162011-08-17 Andreas Jaeger <aj@suse.de>
27917
27918 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27919
7f5517aa
PP
279202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27921 Ian Lance Taylor <iant@google.com>
27922
27923 * math/libm-test.inc (lround_test): New testcase.
27924 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27925
762011fe
UD
279262011-09-08 Ulrich Drepper <drepper@gmail.com>
27927
92963737
UD
27928 * Makefile: Remove support for automatic cvs check-ins.
27929 * Makerules: Likewise.
27930 * config.make.in: Likewise.
27931 * configure.in: Likewise.
27932 * intl/Makefile: Likewise.
27933 * locale/Makefile: Likewise.
27934 * po/Makefile: Likewise.
27935 * posix/Makefile: Likewise.
27936 * sysdeps/gnu/Makefile: Likewise.
27937 * sysdeps/mach/hurd/Makefile: Likewise.
27938 * sysdeps/sparc/sparc32/Makefile: Likewise.
27939
b0727fd8
JS
27940 [BZ #13118]
27941 * posix/Makefile (bug-regex32-ENV): Define.
27942 Patch by John Stanley <jpsinthemix@verizon.net>.
27943
a0f33f99
UD
27944 * misc/Makefile (headers): Add bits/select2.h.
27945 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27946 * misc/bits/select2.h: New file.
27947 * include/bits/select2.h: New file.
27948 * debug/Makefile (routines): Add fdelt_chk.
27949 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27950 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27951 FD_ISSET.
27952 * debug/fdelt_chk.c: New file.
27953
762011fe
UD
27954 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27955 * wcsmbs/test-wmemcmp.c: Likewise.
27956 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27957 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27958
279592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27960
27961 * string/Makefile (strop-tests): Add memcmp.
27962 * string/test-wmemcmp.c: New file.
27963 * string/test-memcmp.c: Add wmemcmp support.
27964
7f513ec8
RM
279652011-09-08 Roland McGrath <roland@hack.frob.com>
27966
0442afb4
RM
27967 [BZ #13153]
27968 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27969 2011-07-19 change.
27970
7f513ec8
RM
27971 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27972 garbage value in a __mach_port_mod_refs call in the cases of the
27973 task-self and thread-self ports.
27974
a12b2239
ST
279752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27976
27977 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27978
610f9ab4
AS
279792011-09-08 Andreas Schwab <schwab@redhat.com>
27980
7f513ec8 27981 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27982
48882a1a
LD
279832011-09-07 Ulrich Drepper <drepper@gmail.com>
27984
b49865be
UD
27985 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27986
fdc86bc9
UD
27987 * elf/dl-libc.c (dlerror_run): Pass back error code from
27988 dl_catch_error.
27989
c966526a
UD
27990 [BZ #13123]
27991 * elf/dl-load.c (lose): Free l_origin if it is valid.
27992
48882a1a
LD
27993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27994 names.
27995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28000 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28001
77a2a8b4
AZ
280022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28003
28004 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28005 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28008 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28009 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28010 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28011 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28012 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28013 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28014
24f579d8
AM
280152011-08-15 Alan Modra <amodra@gmail.com>
28016
28017 [BZ #13092]
28018 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28019 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28020 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28021 ppc_mcount to static-only-routines.
28022 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28023 __mcount_internal.
28024 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28025 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28026
3d4837df
UD
280272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28028
28029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28030 for finite and infinity parameters.
28031
22700377
WS
280322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28033
28034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28035 and add nop instructions for throughput optimization.
28036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28037
5025581e
WS
280382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28039
28040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28041 aligned copy for power7 with vector-scalar instructions.
28042 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28043
08a300c9
L
280442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28045
28046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28047 AVX check.
28048
59178ef9
AS
280492011-09-07 Andreas Schwab <schwab@redhat.com>
28050
28051 [BZ #13144]
28052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28053 last change.
28054
e38ba7ab
UD
280552011-09-07 Ulrich Drepper <drepper@gmail.com>
28056
28057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28058 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28059 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28061 clock_gettime.
28062
d53a73ac
UD
280632011-09-06 Ulrich Drepper <drepper@gmail.com>
28064
fc8bffcc
UD
28065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28066 Forgot to demangle the pointer.
28067
ceaa0c5d
UD
28068 * sysdeps/i386/sysdep.h: Define atom_text_section.
28069 * sysdeps/x86_64/sysdep.h: Likewise.
28070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28071 section with atom_text_section.
28072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28076 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28077
a77d3c17
UD
28078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28080 already be defined. Change to take two parameters and don't assign
28081 result to variable. Adjust all users.
28082 Define INTERNAL_GETTIME if not already defined.
28083 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28084 call.
28085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28086 HAVE_CLOCK_GETTIME_VSYSCALL.
28087 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28088
d53a73ac
UD
28089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28090 gettimeofday vsyscall, just use time.
28091
a8f84144
AS
280922011-09-06 Andreas Schwab <schwab@redhat.com>
28093
28094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28095 <errno.h>.
28096
ef606249
UD
280972011-09-06 Ulrich Drepper <drepper@gmail.com>
28098
28099 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28100 syscall on x86-64.
28101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28102 syscall.
28103 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28105 syscall if possible.
28106
6585cb60
UD
281072011-09-05 Ulrich Drepper <drepper@gmail.com>
28108
28109 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28110 e_ident. Don't pass to find_mapsXX.
28111 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28112
a5f524e4
LD
281132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28114
28115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28116 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28117 * sysdeps/x86_64/multiarch/strchr.S: Update.
28118 Check bit_slow_BSF bit.
28119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28122
554881ef
UD
281232011-09-05 Ulrich Drepper <drepper@gmail.com>
28124
d96de963
UD
28125 [BZ #13134]
28126 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28127 before glibc 2.15.
28128 (tryshell): Define.
28129 (__spawni): Change last parameter to be flag. Test
28130 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28131 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28132 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28133 * posix/spawni.c: Likewise.
28134 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28135 * posix/spawnp.c: Likewise. Change normal version to use
28136 SPAWN_XFLAGS_USE_PATH.
28137 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28138 SPAWN_XFLAGS_TRY_SHELL.
28139
d48e5868
UD
28140 [BZ #13150]
28141 * posix/glob.h: Remove gcc 1.x support.
28142
554881ef
UD
28143 [BZ #13068]
28144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28145
693fb948
LD
281462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28147
28148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28149 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28150 strrchr-sse2-bsf
28151 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28152 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28157
1b48c537
UD
281582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28159
49d42c37
UD
28160 * sysdeps/x86_64/wcscmp.S: New file.
28161
1b48c537
UD
28162 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28163 wcscmp-c wcscmp-sse2
28164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28165 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28166 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28167 * wcsmbs/wcscmp.c: Allow renaming.
28168
15c95c5d
DM
281692011-09-05 David S. Miller <davem@davemloft.net>
28170
28171 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28172 stack slot, rather than the struct return pointer slot.
28173 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28174 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28177
2f0ad8f3
UD
281782011-09-05 Ulrich Drepper <drepper@gmail.com>
28179
d88ae418
UD
28180 * po/ja.po: Update from translation team.
28181
2f0ad8f3
UD
28182 [BZ #13144]
28183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28184 kernel in 64-bit binaries.
28185
5f4318d1
DM
281862011-09-01 David S. Miller <davem@davemloft.net>
28187
28188 * elf/elf.h (HWCAP_SPARC_*): Move to..
28189 * sysdeps/sparc/sysdep.h: this new file and add new values.
28190 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28191 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28192 _DL_HWCAP_COUNT to 24.
28193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28194 entries.
28195 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28196 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28197 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28199 instead of magic constants.
28200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28201
3ba57516
DM
282022011-08-31 David S. Miller <davem@davemloft.net>
28203
28204 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28206 Reimplement to do errno handling inline.
28207 (SYSCALL_ERROR_HANDLER): New macro.
28208 (__SYSCALL_STRING): Do not do errno handling in asm.
28209 (__CLONE_SYSCALL_STRING): Delete.
28210 (__INTERNAL_SYSCALL_STRING): Delete.
28211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28212 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28213 (PSEUDO): Reimplement to do errno handling inline.
28214 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28215 (SYSCALL_ERROR_HANDLER): New macro.
28216 (__SYSCALL_STRING): Do not do errno handling in asm.
28217 (__CLONE_SYSCALL_STRING): Delete.
28218 (__INTERNAL_SYSCALL_STRING): Delete.
28219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28220 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28221 i386.
28222 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28223 (inline_syscall*): Add 'err' argument.
28224 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28225 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28226 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28227 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28228
28229 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28231
2bc17433
AS
282322011-08-30 Andreas Schwab <schwab@redhat.com>
28233
28234 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28235
fbeb5f4d
JO
282362011-08-29 Jiri Olsa <jolsa@redhat.com>
28237
28238 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28239 directive.
28240
ad69cc26
DM
282412011-08-24 David S. Miller <davem@davemloft.net>
28242
28243 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28244
39dd69df
AS
282452011-08-24 Andreas Schwab <schwab@redhat.com>
28246
28247 * elf/Makefile: Add rules to build and run unload8 test.
28248 * elf/unload8.c: New file.
28249 * elf/unload8mod1.c: New file.
28250 * elf/unload8mod1x.c: New file.
28251 * elf/unload8mod2.c: New file.
28252 * elf/unload8mod3.c: New file.
28253
28254 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28255 it wasn't used.
28256
2c0b250a
DM
282572011-08-23 David S. Miller <davem@davemloft.net>
28258
28259 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28260 subtract stack bias.
28261 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28262 %sp not %fp in calculations.
28263 (_JMPBUF_UNWINDS_ADJ): Likewise.
28264
22044b48
DM
28265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28266 (aio_suspend): Call it to force an exception region around the
28267 AIO_MISC_WAIT() invocation.
28268
2cae4995
AS
282692011-08-23 Andreas Schwab <schwab@redhat.com>
28270
28271 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28272 backslash.
28273
873a772e
AJ
282742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28275
28276 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28277 protection macro.
28278 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28279 and <dl-machine.h>.
28280 (Elf64_FuncDesc): Remove.
28281
25ad0df1
DM
282822011-08-22 David S. Miller <davem@davemloft.net>
28283
28284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28285 sigaltstack check, add missing cfi directives.
28286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28287 missing cfi directives, and sigaltstack handling.
28288
e888bcbe
AS
282892011-08-16 Andreas Schwab <schwab@redhat.com>
28290
28291 [BZ #11724]
28292 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28293 object is seen twice.
28294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28295
28296 * elf/Makefile (distribute): Add tst-initorder2.c.
28297 (tests): Add tst-initorder2.
28298 (modules-names): Add tst-initorder2a tst-initorder2b
28299 tst-initorder2c tst-initorder2d. Add rules to build them.
28300 ($(objpfx)tst-initorder2.out): New rule.
28301 * elf/tst-initorder2.c: New file.
28302 * elf/tst-initorder2.exp: New file.
28303
87162f46
AS
283042011-08-22 Andreas Schwab <schwab@redhat.com>
28305
70538b7f
AS
28306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28307
f55ffe58
AS
28308 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28309 dependencies back to end of function.
28310
87162f46
AS
28311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28312 $(elfobjdir)/ld.so.
28313
91b392a4
UD
283142011-08-21 Ulrich Drepper <drepper@gmail.com>
28315
28316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28317 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28319 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28320 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28321 of __vdso_gettimeofday.
28322 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28323 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28324 attribute_hidden.
28325 (_libc_vdso_platform_setup): Remove initialization of
28326 __vdso_gettimeofday and __vdso_time.
28327
5c43483f
UD
283282011-08-20 Ulrich Drepper <drepper@gmail.com>
28329
775a77e7
UD
28330 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28331 and fgetc_unlocked.
28332 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28333 getc_unlocked.
89f447ed 28334
49c74ba9
UD
28335 * elf/dl-open.c (add_to_global): Report additions to the global scope
28336 for LD_DEBUG=scopes.
28337 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28338 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28339
5c43483f
UD
28340 [BZ #13114]
28341 * stdio-common/Makefile (tests): Add bug24.
28342 * stdio-common/bug24.c: New file.
28343
a101b025
AJ
283442011-08-19 Andreas Jaeger <aj@suse.de>
28345
28346 [BZ #13114]
28347 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28348 non-existant file when using close-on-exec mode.
28349
c88f1766
UD
283502011-08-20 Ulrich Drepper <drepper@gmail.com>
28351
0276a718
UD
28352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28353 the very first instruction.
28354
c88f1766
UD
28355 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28356 the CFI state in the end.
28357 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28358 inclusion of dl-trampoline.h.
28359 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28360
51ccffa0
AS
283612011-08-19 Andreas Schwab <schwab@redhat.com>
28362
94d7165f
AS
28363 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28364 expectations for long double.
28365
51ccffa0
AS
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28367 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28368
fd708658 283692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28370
28371 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28372 artificual limit depends upon the system page size.
28373
44f0a71e
UD
283742011-08-17 Ulrich Drepper <drepper@gmail.com>
28375
28376 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28377 * resolv/Makefile: Define CFLAGS-libresolv.
28378
8de79a24
AS
283792011-08-17 Andreas Schwab <schwab@redhat.com>
28380
28381 * nss/makedb.c (compute_tables): Make variables used in nested
28382 function static.
28383
27724598
UD
283842011-08-17 Ulrich Drepper <drepper@gmail.com>
28385
c5305d88
UD
28386 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28387 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28388 if buffer was too small.
28389
27724598
UD
28390 * elf/pldd.c (main): Attach to all threads in the process.
28391 Rewrite /proc handling to use *at functions.
28392
076fe015
UD
283932011-08-16 Ulrich Drepper <drepper@gmail.com>
28394
174baab3
UD
28395 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28396 specifies first scope to show.
28397 (dl_open_worker): Update callers. Move printing scope of new
28398 object to before the relocation.
44f0a71e 28399 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28400 * sysdeps/generic/ldsodefs.h: Update declaration.
28401
076fe015
UD
28402 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28403 string for the scope number.
28404
a60df2c3
UD
284052011-08-14 Ulrich Drepper <drepper@gmail.com>
28406
28407 * nscd/servicescache.c (cache_addserv): Make sure written is always
28408 initialized.
28409
5e4287d1
RM
284102011-08-14 Roland McGrath <roland@hack.frob.com>
28411
85ae0589
RM
28412 * sysdeps/i386/i486/bits/atomic.h
28413 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28414 statement expression, so as to suppress "set but not used" warning.
28415 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28416
69f63097
RM
28417 * string/strncat.c (STRNCAT): Use prototype definition.
28418
675456ef
RM
28419 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28420 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28421 -Iprograms here.
28422 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28423 (localedef-modules): Add localedef.
28424 (locale-modules): Add locale.
28425
5e4287d1
RM
28426 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28427 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28428 to avoid a warning.
28429
9c96ff23
DM
284302011-08-14 David S. Miller <davem@davemloft.net>
28431
28432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28433 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28434
f9ddf089
UD
284352011-08-13 Ulrich Drepper <drepper@gmail.com>
28436
44f0a71e 28437 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28438 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28439 * elf/rtld.c (dl_main): Set l_name of vDSO.
28440 Call _dl_show_scope when DL_DEBUG_SCOPES.
28441 (process_dl_debug): Recognize scopes flag and also set it for all.
28442 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28443 Declare _dl_show_scope.
28444
1dc27704
UD
28445 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28446 (do_dlopen): Pass caller_dlopen to dl_open.
28447 (__libc_dlopen_mode): Initialize caller_dlopen.
28448
f9ddf089
UD
28449 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28450 of libc. Make tolower call locale-independent. Optimize a bit by
28451 using isdigit instead of isalnum.
28452 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28453
9ac533d3
UD
284542011-08-12 Ulrich Drepper <drepper@gmail.com>
28455
28456 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28457 was a dependency or dynamically loaded.
28458
89edf2e9
UD
284592011-08-11 Ulrich Drepper <drepper@gmail.com>
28460
8e999d29
UD
28461 * intl/l10nflist.c: Allow architecture-specific pop function.
28462 * sysdeps/x86_64/l10nflist.c: New file.
28463
89edf2e9
UD
28464 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28465 classification.
28466
14d96785
AS
284672011-08-10 Andreas Schwab <schwab@redhat.com>
28468
28469 * include/dirent.h: Add libc_hidden_proto for scandirat and
28470 scandirat64. Don't declare __scandirat64.
28471 * dirent/scandirat.c: Add libc_hidden_def.
28472 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28473 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28474
6761ac04
DM
284752011-08-10 David S. Miller <davem@davemloft.net>
28476
28477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28478 enum.
28479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28482
c55fbd1e
UD
284832011-08-09 Ulrich Drepper <drepper@gmail.com>
28484
28485 * Versions.def [libc]: Add GLIBC_2.15.
28486 * dirent/Makefile (routines): Add scandirat and scandirat64.
28487 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28488 GLIBC_2.15.
28489 * dirent/dirent.h: Declare scandirat and scandirat64.
28490 * dirent/scandirat.c: New file.
28491 * dirent/scandirat64.c: New file.
28492 * sysdeps/wordsize-64/scandirat.c: New file.
28493 * sysdeps/wordsize-64/scandirat64.c: New file.
28494 * dirent/opendir.c: Define opendirat.
28495 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28496 using scandirat.
28497 * dirent/scandir64.c: Adjust for scandir.c change.
28498 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28499 __scandirat64, and __scandir_cancel_handler.
28500 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28501 additional parameter and use openat instead of open (outside of ld.so).
28502 Add new __opendir as wrapper around __opendirat.
28503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28504 here without requiring old scandirat implementation.
28505
879165f2
UD
285062011-08-08 Ulrich Drepper <drepper@gmail.com>
28507
28508 * dirent/scandir.c (cancel_handler): Renamed to
28509 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28510 defined. Adjust users.
28511 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28513
cb7e923b
UD
285142011-08-04 Ulrich Drepper <drepper@gmail.com>
28515
16292edd
UD
28516 * string/test-string.h (IMPL): Use __STRING to expand name and then
28517 stringify it.
28518
cb7e923b
UD
28519 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28520 of cleanups.
28521
cff82933
LD
285222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28523
28524 * string/Makefile: Update.
28525 (strop-tests): Append strncat.
28526 * string/test-wcscmp.c: New file.
28527 New comprehensive test for wcscmp.
28528 * string/test-strcmp.c: Update.
28529 (WIDE): New define.
28530
9be9bfcc
AS
285312011-07-22 Andreas Schwab <schwab@redhat.com>
28532
28533 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28534 line.
28535
2e96f1c7
AS
285362011-07-26 Andreas Schwab <schwab@redhat.com>
28537
28538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28539 encoding to ACE if AI_IDN.
28540
85188888
JJ
285412011-08-01 Jakub Jelinek <jakub@redhat.com>
28542
28543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28544 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28545
5fa16e9b
LD
285462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28547
28548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28549 Fix overflow bug in strncat.
28550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28551
28552 * string/test-strncat.c: Update.
28553 Add new tests for checking overflow bugs.
28554
285552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28556
28557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28558 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28559 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28560 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28562 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28563 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28564 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28565 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28566
28567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28568 (USE_AS_STRCAT): Define.
28569 Add strcat and strncat support.
28570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28571
8c1a459f
AS
285722011-07-25 Andreas Schwab <schwab@redhat.com>
28573
28574 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28575 __n bigger than INT_MAX+1.
28576 (__strncmp_g): Likewise.
28577
bba33c28
UD
285782011-07-23 Ulrich Drepper <drepper@gmail.com>
28579
798be72d
UD
28580 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28581 * libio/stido.h: Likewise.
28582
8accd4dc
UD
28583 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28584 (AF_NFC): Define.
28585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28586 (AF_NFC): Define.
28587
cbff0d96
UD
28588 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28593
9191c04a
UD
28594 [BZ #13021]
28595 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28596 installed.
28597
bba33c28
UD
28598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28599 typo.
28600 (_dl_x86_64_save_sse): Likewise.
28601
90f139dd
UD
286022011-07-22 Ulrich Drepper <drepper@gmail.com>
28603
1aae088a
UD
28604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28605 OSXSAVE.
28606 (_dl_x86_64_save_sse): Likewise.
28607
8e2045f5
UD
28608 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28609
90f139dd
UD
28610 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28611
1d002f25
AS
286122011-07-21 Andreas Schwab <schwab@redhat.com>
28613
28614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28615 change.
28616 (_dl_x86_64_save_sse): Use correct AVX check.
28617
21137f89
UD
286182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28619
28620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28621 bug in strncpy/strncat.
28622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28623
a65c0b7a
UD
286242011-07-21 Ulrich Drepper <drepper@gmail.com>
28625
28626 * string/tester.c (test_strcat): Add tests for different alignments
28627 of source and destination.
28628 (test_strncat): Likewise.
28629
6986b98a
UD
286302011-07-20 Ulrich Drepper <drepper@gmail.com>
28631
90bb2039
UD
28632 [BZ #12852]
28633 * posix/glob.c (glob): Check passed in values before using them in
28634 expressions to avoid some overflows.
28635 (glob_in_dir): Likewise.
28636
5644ef54
UD
28637 [BZ #13007]
28638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28639 check for AVX enablement so that we don't crash with old kernels and
28640 new hardware.
28641 * elf/tst-audit4.c: Add same checks here.
28642 * elf/tst-audit6.c: Likewise.
28643
28644 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28645
bfc9dc9b
AS
286462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28647
28648 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28649
702e64bb
UD
286502011-07-20 Ulrich Drepper <drepper@gmail.com>
28651
28652 * po/cs.po: Update from translation team.
28653 * po/bg.po: Likewise.
28654
295e904f
MP
286552011-07-12 Marek Polacek <mpolacek@redhat.com>
28656
28657 * misc/sys/cdefs.h: Add support for const attribute.
28658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28659 to gnu_dev_{major,minor,makedev} functions.
28660
3ff94596
MP
286612011-07-20 Marek Polacek <mpolacek@redhat.com>
28662
28663 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28664
28b59fca
AS
286652011-07-20 Andreas Schwab <schwab@redhat.com>
28666
28667 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28668 strlen results.
28669
19df733e
AK
286702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28671
28672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28673 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28674 register in order to avoid conflicts with the soft frame pointer
28675 being held in r11 when necessary.
28676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28677 (INTERNAL_VSYSCALL_NCS): Likewise.
28678
c8835729
MP
286792011-07-14 Marek Polacek <mpolacek@redhat.com>
28680
28681 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28682 * elf/dl-fini.c (_dl_fini): Adjust caller.
28683 * elf/dl-close.c (_dl_close_worker): Likewise.
28684 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28685
b902330c
MP
286862011-07-15 Marek Polacek <mpolacek@redhat.com>
28687
8991e135
MP
28688 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28689 "aux_cache->nlibs < 0".
28690
b902330c
MP
28691 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28692 in the reload-count case.
28693
99710781
LD
286942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28695
28696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28697 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28698 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28700 * sysdeps/x86_64/multiarch/strcat.S: New file.
28701 * sysdeps/x86_64/multiarch/strncat.S: New file.
28702 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28704 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28705 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28707 (USE_AS_STRCAT): Define.
28708 Add strcat and strncat support.
28709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28712 * string/strncat.c: Update.
28713 (USE_AS_STRNCAT): Define.
28714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28715 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28716 and i7.
28717 * sysdeps/x86_64/multiarch/init-arch.h
28718 (bit_Prefer_PMINUB_for_stringop): New.
28719 (index_Prefer_PMINUB_for_stringop): Likewise.
28720 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28721 bit_Prefer_PMINUB_for_stringop.
28722
7dc6bd90
UD
287232011-07-19 Ulrich Drepper <drepper@gmail.com>
28724
28725 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28726 buffer64.
28727 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28728 of casting of buffer.
28729 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28730 buffer32 and buffer64.
28731 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28732 writes instead of casting of buffer.
28733 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28734 buffer32.
28735 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28736 casting of buffer.
28737
e0e72284
AS
287382011-07-19 Andreas Schwab <schwab@redhat.com>
28739
28740 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28741
feb1eb0b
UD
287422011-07-19 Ulrich Drepper <drepper@gmail.com>
28743
28744 * nscd/nscd.c (termination_handler): Don't do anything for a database
28745 if it has not yet been initialized.
28746
298711ff
UD
287472011-07-18 Ulrich Drepper <drepper@gmail.com>
28748
28749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28750
287512011-07-15 Marek Polacek <mpolacek@redhat.com>
28752
28753 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28754
f9d68389
UD
287552011-07-18 Ulrich Drepper <drepper@gmail.com>
28756
28757 * po/nl.po: Update from translation team.
28758 * po/sv.po: Likewise.
28759
db290cf5
RM
287602011-07-16 Roland McGrath <roland@hack.frob.com>
28761
28762 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28763 now disallowed by GCC.
5c550700 28764
fd5e21c7
RM
28765 * configure.in (use-default-link): Default to yes if a test -shared
28766 link meets our qualifications.
28767 * configure: Regenerated.
28768
5c550700
RM
28769 * config.make.in (output-format): New variable.
28770 * configure.in: Check for ld --print-output-format support.
28771 * configure: Regenerated.
28772 * Makerules ($(common-objpfx)format.lds)
28773 [$(output-format) != unknown]: Just use $(output-format),
28774 instead of the linker-script munging.
28775
9fa2c032
RM
287762011-07-14 Roland McGrath <roland@hack.frob.com>
28777
a6928d51
RM
28778 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28779 of $(common-objpfx)shlib.lds.
28780 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28781
661607b3
RM
28782 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28783 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28784
9fa2c032
RM
28785 * configure.in (-z relro check): Adjust test code to add a large
28786 writable data section after it.
28787 * configure: Regenerated.
28788
defe9061
RM
287892011-07-11 Roland McGrath <roland@hack.frob.com>
28790
28791 * configure.in (-z relro check): Fix test code to make the variable
28792 truly const.
28793 * configure: Regenerated.
28794
319b9ad4
UD
287952011-07-11 Ulrich Drepper <drepper@gmail.com>
28796
28797 * nscd/nscd.h (struct traced_file): Define.
28798 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28799 elements. Add traced_files.
28800 (inotify_fd): Declare.
28801 (register_traced_file): Declare.
28802 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28803 (inotify_fd): Export.
28804 (resolv_conf_descr): Remove.
28805 (nscd_init): Move inotify descriptor creation to main.
28806 Don't register files for notification here.
28807 (register_traced_file): New function.
28808 (invalidate_cache): Don't use reset_res to determine whether to call
28809 res_init, go through the list of registered files.
28810 (main_loop_poll): The inotify descriptors are now stored in the
28811 structures for the traced files.
28812 (main_loop_epoll): Likewise
28813 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28814 to __nss_disable_nscd.
28815 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28816 for a database anymore. Check the records for all the registered
28817 files instead.
28818 * nss/Makefile (libnss_files-routines): Add files-init.
28819 (libnss_db-routines): Add db-init.
28820 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28821 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28822 * nss/nss_db/db-init.c: New file.
28823 * nss/nss_files/files-init.c: New file.
28824 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28825 __nss_lookup_function.
28826 (__nss_lookup_function): Call nss_load_library.
28827 (nss_load_all_libraries): New function.
28828 (__nss_disable_nscd): Take parameter with callback function for files
28829 to register. Set is_nscd. Load all the DSOs for the NSS modules
28830 used for the cached services.
28831 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28833 options for features to all the files in nscd.
28834
28835 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28836
23bee3e8
RM
288372011-07-10 Roland McGrath <roland@hack.frob.com>
28838
28839 * csu/elf-init.c (__libc_csu_init): Comment typo.
28840
46a5b7f0
UD
288412011-07-09 Ulrich Drepper <drepper@gmail.com>
28842
28843 * po/pl.po: Update from translation team.
28844 * po/ja.po: Likewise.
28845 * po/ru.po: Likewise.
28846 * po/ko.po: Likewise.
28847 * po/fr.po: Likewise.
28848
d30cf5bb
RM
288492011-07-09 Roland McGrath <roland@hack.frob.com>
28850
113ddea4
RM
28851 * configure.in (.ctors/.dtors header and trailer check):
28852 Use an empirical test on a built program.
28853 * configure: Regenerated.
28854
574920b4
RM
28855 * configure.in (-z relro check): Use an empirical test on a built DSO.
28856 Detect, but do not require, on ia64.
28857 * configure: Regenerated.
28858
d30cf5bb
RM
28859 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28860 Update tests that use readelf to use $READELF instead.
28861 * configure: Regenerated.
28862
8538fdb3
UD
288632011-07-08 Ulrich Drepper <drepper@gmail.com>
28864
28865 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28866 if the result is not used.
28867
04d08991
AJ
288682011-07-05 Andreas Jaeger <aj@suse.de>
28869
28870 [BZ#9696]
28871 * stdlib/tst-strtod.c: Add testcase.
28872
de283087
AD
288732011-07-07 Ulrich Drepper <drepper@gmail.com>
28874
4e5f31c8 28875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28876 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28877 The latter has a higher limit. Take additional parameter to pass to
28878 the new function.
28879 (__pathconf): Pass file to __statfs_link_max.
28880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28881 __statfs_link_max.
28882 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28883 __statfs_link_max.
28884
de283087
AD
28885 [BZ #12868]
28886 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28888 Handle Lustre.
28889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28890 (__statfs_filesize_max): Likewise.
28891 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28892
c75fa153
AJ
288932011-07-05 Andreas Jaeger <aj@suse.de>
28894
28895 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28896
1a544854
UD
288972011-07-06 Marek Polacek <mpolacek@redhat.com>
28898
28899 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28900 `status' variable.
28901 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28902 Likewise.
28903
6f0eec67
UD
289042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * Makefile (strop-tests): Add strncat.
28907 * string/test-strncat.c: New file.
28908
aae30307
UD
289092011-06-30 Marek Polacek <mpolacek@redhat.com>
28910
28911 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28912
c0cfb5eb
UD
289132011-06-21 Andreas Jaeger <aj@suse.de>
28914
28915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28916 Copy rule from iconvdata/Makefile.
28917
01636b21
UD
289182011-07-06 Ulrich Drepper <drepper@gmail.com>
28919
28920 [BZ #12922]
28921 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28922 but no long options are defined, just return 'W'.
28923
9895c8bc
UD
289242011-06-22 Marek Polacek <mpolacek@redhat.com>
28925
28926 [BZ #9696]
28927 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28928
5d4cf042
UD
289292011-07-06 Ulrich Drepper <drepper@gmail.com>
28930
28931 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28932 netgroups to read.
960e5535 28933 (innetgr): Likewise.
5d4cf042 28934
751eb97e
RM
289352011-07-05 Roland McGrath <roland@hack.frob.com>
28936
28937 * config.make.in (install_root): Default to $(DESTDIR).
28938
f15f1e45
UD
289392011-07-05 Ulrich Drepper <drepper@gmail.com>
28940
28941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28942
4e34ac6a
RM
289432011-07-02 Roland McGrath <roland@hack.frob.com>
28944
5e9b6af4
RM
28945 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28946
84f9ea0f
RM
28947 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28948 containing directory rather than embedding absolute directory names.
28949
ea5ee9f7
RM
28950 * scripts/check-local-headers.sh: Rewritten using awk.
28951 Match by word, not by line. Print error messages for matches.
28952 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28953
1b74661a
RM
28954 * Makerules [shlib-lds-flags empty]:
28955 ($(common-objpfx)libc_pic.opts): New target.
28956 ($(common-objpfx)libc_pic.os.clean): New target.
28957 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28958
28959 * config.make.in (OBJCOPY): New variable.
28960 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28961 * configure: Regenerated.
28962
f781ef40
RM
28963 * config.make.in (use-default-link): New variable.
28964 * configure.in (use_default_link): Grok --with-default-link to set it.
28965 * configure: Regenerated.
28966 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28967 (shlib-lds, shlib-lds-flags): Define to empty.
28968
2d4fa81e
RM
28969 * Makerules (shlib-lds): New variable.
28970 (shlib-lds-flags): New variable.
28971 (build-shlib, build-moduile, build-module-asneeded): Use it.
28972 ($(common-objpfx)libc.so): Use $(shlib-lds).
28973 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28975
31fffa6b
RM
28976 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28977 DT_FLAGS/DT_FLAGS_1 with zero flags.
28978
4e34ac6a
RM
28979 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28980 linker script munging.
28981
fcfc776b
UD
289822011-07-02 Ulrich Drepper <drepper@gmail.com>
28983
28984 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28985 as 128-bit value.
28986 * crypt/sha512.c (sha512_process_block): Perform total addition using
28987 128-bit if possible.
28988 (__sha512_finish_ctx): Likewise.
28989 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28990 as 64-bit value.
28991 * crypt/sha256.c (SWAP64): Define.
28992 (sha256_process_block): Perform total addition using 64-bit if
28993 possible.
28994 (__sha256_finish_ctx): Likewise.
28995
99231d9a
UD
289962011-07-01 Ulrich Drepper <drepper@gmail.com>
28997
28998 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29000 * nscd/hstcache.c (cache_addhst): Likewise.
29001 * nscd/grpcache.c (cache_addgr): Likewise.
29002 * nscd/aicache.c (addhstaiX): Likewise
29003 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29004
445b4a53
TK
290052011-07-01 Thorsten Kukuk <kukuk@suse.de>
29006
29007 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29009 * nscd/hstcache.c (cache_addhst): Likewise.
29010 * nscd/grpcache.c (cache_addgr): Likewise.
29011 * nscd/aicache.c (addhstaiX): Likewise
29012
6d4d8e8e
AS
290132011-07-01 Andreas Schwab <schwab@redhat.com>
29014
29015 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29016 domain only when needed.
29017
89f654c5
AS
290182011-06-30 Andreas Schwab <schwab@redhat.com>
29019
29020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29021 is always restored.
29022
cf3b23ff
UD
290232011-06-29 Ulrich Drepper <drepper@gmail.com>
29024
29025 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29026 are re-adding the entry.
29027 * nscd/servicescache.c (cache_addserv): Likewise.
29028
751626f9
AJ
290292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29030
29031 * sysdeps/generic/dl-irel.h: fix protection against multiple
29032 inclusions.
29033 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29034
9113ea1f
UD
290352011-06-28 Ulrich Drepper <drepper@gmail.com>
29036
5c0b8d90
UD
29037 [BZ #12935]
29038 * malloc/memusage.sh: Fix quoting in message.
29039 * debug/xtrace.sh: Likewise.
29040
9113ea1f
UD
29041 * configure.in: Remove support for --experimental-malloc option, make
29042 it the default.
29043 * config.make.in: Likewise.
29044 * malloc/Makefile: Likewise.
29045
a4172181
AS
290462011-06-27 Andreas Schwab <schwab@redhat.com>
29047
29048 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29049 two-byte characters.
29050
78a7eee7
RM
290512011-06-27 Roland McGrath <roland@hack.frob.com>
29052
62bede13
RM
29053 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29054 AC_CACHE_CHECK invocation.
29055 * configure: Regenerated.
29056
78a7eee7
RM
29057 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29058
5ce33a62
UD
290592011-06-27 Ulrich Drepper <drepper@gmail.com>
29060
034807a9
UD
29061 [BZ #12350]
29062 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29063 bit from old_res_options.
29064
4902da17
UD
29065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29066
5ce33a62
UD
29067 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29068 value type for setfct.
29069
c2344f56
L
290702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29073 __gettimeofday instead of gettimeofday.
29074
68468076
UD
290752011-06-26 Ulrich Drepper <drepper@gmail.com>
29076
29077 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29078
acb0d739
L
290792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29082
29083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29084 info.
29085
8912479f
L
290862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29087
29088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29089 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29090 strcpy-sse2-unaligned strncpy-sse2-unaligned
29091 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29092 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29093 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29094 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29095 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29098 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29099 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29100 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29101 (STRCPY): Support SSE2 and SSSE3 versions.
29102
d5495a11
UD
291032011-06-24 Ulrich Drepper <drepper@gmail.com>
29104
29105 [BZ #12874]
29106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29107 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29108 kernels which artificially limit size of requests.
29109
0b1cbaae
L
291102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29113 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29114 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29115 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29116 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29117 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29118 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29119 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29122 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29123 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29124 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29125 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29126 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29128 Enable unaligned load optimization for Intel Core i3, i5 and i7
29129 processors.
29130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29131 Define.
29132 (index_Fast_Unaligned_Load): Define.
29133 (HAS_FAST_UNALIGNED_LOAD): Define.
29134
07f494a0
MP
291352011-06-23 Marek Polacek <mpolacek@redhat.com>
29136
29137 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29138
fa3fc0fe
UD
291392011-06-22 Ulrich Drepper <drepper@gmail.com>
29140
29141 [BZ #12907]
29142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29143 until it is clear that the information is realy needed.
29144 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29145
e12df166
AS
291462011-06-22 Andreas Schwab <schwab@redhat.com>
29147
29148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29149
852eb34d
UD
291502011-06-22 Ulrich Drepper <drepper@gmail.com>
29151
84e2a551
UD
29152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29153 /sys/devices/system/cpu/online if it is usable.
29154
852eb34d
UD
29155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29156 reading the information from the /proc filesystem to once a second.
29157
6e502e19
UD
291582011-06-21 Andreas Jaeger <aj@suse.de>
29159
29160 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29161 NULL after inclusion of kernel headers.
29162
75d39ff2
UD
291632011-06-21 Ulrich Drepper <drepper@gmail.com>
29164
51f9aa6a
UD
29165 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29166 calls to internal_setent.
29167
c0244a9d
UD
29168 [BZ #12885]
29169 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29170 addresses using gethostbyname4_r ignore IPv4 addresses.
29171
c5e3c2ae
UD
29172 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29173 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29174
75d39ff2
UD
29175 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29176
42675c6f
DM
291772011-06-20 David S. Miller <davem@davemloft.net>
29178
29179 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29180 inclusions.
29181 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29182
29183 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29184 (elf_irel): Use it.
29185 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29186 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29187 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29188 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29189 * sysdeps/x86_64/dl-irel.h: Likewise.
29190
29191 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29192 * elf/dl-sym.c: Likewise.
29193
57912a71
UD
291942011-06-15 Ulrich Drepper <drepper@gmail.com>
29195
29196 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29197 need to dereference resplen2.
29198
ee22793d
AS
291992011-06-14 Andreas Schwab <schwab@redhat.com>
29200
29201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29202
a9e836b0
UD
292032011-06-15 Ulrich Drepper <drepper@gmail.com>
29204
77fb9117
UD
29205 * Makeconfig: Define vardbdir and inst_vardbdir.
29206 * nss/Makefile: Add rules to install db-Makefile.
29207
40c1b22c
UD
29208 * nss/nss_db/db-XXX.c: Cleanup.
29209
9f2da732
UD
29210 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29211 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29212 GLIBC_PRIVATE.
29213 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29214 * nss/makedb.c: Implement -g option to specify that value strings
29215 are generated and should not be added to table iterated over for
29216 get*ent calls.
29217 * nss/nss_db/db-initgroups.c: New file.
29218
82e9a1f7
UD
29219 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29220 interface.
29221
c41af17e
UD
29222 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29223 (internal_getgrouplist): Adjust to name change.
29224 Update use_initgroups_entry if this is not the first call.
29225 * nss/databases.def: Add initgroups entry.
29226
a9e836b0
UD
29227 * nss/makedb.c (compute_tables): Check result of multiple hash table
29228 sizes to minimize maximum chain length.
29229
2666d441
UD
292302011-06-14 Ulrich Drepper <drepper@gmail.com>
29231
29232 * Versions.def: Add entry for libnss_db.
29233 * shlib-versions: Likewise.
29234 * nss/Makefile: Add rules to build libnss_db.
29235 * nss/Versions: Add libnss_db information. Organize libnss_files
29236 entries better.
29237 * nss/db-Makefile: Add gshadow support. Change rules for the new
29238 makedb progra. Some minor improvements to generate smaller files.
29239 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29240 here from...
29241 * nss/makedb.c: ...here.
29242 Improve database format to be smaller and require less memory at
29243 runtime.
29244 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29245 db anymore.
29246 * nss/nss_db/db-netgrp.c: Likewise.
29247 * nss/nss_db/db-open.c: Likewise.
29248 * nss/nss_files/flies-XXX.x: Adjust comments.
29249 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29250 * nss/nss_files/files-grp.c: Likewise.
29251 * nss/nss_files/files-hosts.c: Likewise.
29252 * nss/nss_files/files-network.c: Likewise.
29253 * nss/nss_files/files-proto.c: Likewise.
29254 * nss/nss_files/files-pwd.c: Likewise.
29255 * nss/nss_files/files-rpc.c: Likewise.
29256 * nss/nss_files/files-service.c: Likewise.
29257 * nss/nss_files/files-sgrp.c: Likewise.
29258 * nss/nss_files/files-spwd.c: Likewise.
29259 * nss/nss_db/db-alias.c: Removed.
29260 * nss/nss_db/dummy-db.h: Removed.
29261
9ee76b5a
UD
292622011-06-02 Ulrich Drepper <drepper@gmail.com>
29263
29264 * nss/makedb.c: Rewritten to not use database library.
29265 * nss/Makefile: Update to build new makedb program.
29266
c71ca1f8
AJ
292672011-06-14 Andreas Jaeger <aj@suse.de>
29268
29269 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29270 memset declaration.
29271
3154bfb8
UD
292722011-06-10 Andreas Schwab <schwab@redhat.com>
29273
29274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29275 tmpbuf.
29276
b350afab
RM
292772011-06-10 Roland McGrath <roland@hack.frob.com>
29278
decd4e50
RM
29279 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29280 * elf/Makefile ($(objpfx)ld.so): Likewise.
29281
5615eaf2
RM
29282 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29283 Don't list ld.so twice in dependencies.
29284
29285 * posix/bug-regex31.c: Include <stdlib.h>.
29286
29287 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29288
29289 * nis/nss_compat/compat-spwd.c
29290 (getspent_next_nss_netgr): Remove unused variable.
29291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29292
29293 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29294 nonmembers" output to use the right array.
29295
29296 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29297
29298 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29299
29300 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29301 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29302 * catgets/gencat.c (read_input_file): Likewise.
29303 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29304
29305 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29306 variable definition inside #if's controlling its use.
29307
29308 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29309
29310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29311
29312 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29313
29314 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29315 unreachable code.
29316
29317 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29318
b68e08db
RM
29319 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29320 * configure: Regenerated.
29321
b350afab
RM
29322 * Makerules: Revert last change.
29323 * elf/Makefile: Likewise.
29324
28368601
RM
293252011-06-09 Roland McGrath <roland@hack.frob.com>
29326
29327 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29328 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29329 (reloc-link): Likewise.
29330
11988f8f
UD
293312011-06-09 Ulrich Drepper <drepper@gmail.com>
29332
29333 * elf/Makefile: Add rules to build pldd.
29334 * elf/pldd.c: New file.
29335 * elf/pldd-xx.c: New file.
29336
e80fab37
UD
293372011-06-07 Ulrich Drepper <drepper@gmail.com>
29338
29339 * version.h: Update for 2.15 development version.
29340
9b849836
DM
293412011-06-07 David S. Miller <davem@davemloft.net>
29342
29343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29344 ifuncs.
29345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29346 elf_machine_lazy_rel): Likewise.
29347 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29349 elf_machine_lazy_rel): Likewise.
29350 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29351 dl_hwcap via passed in argument.
29352 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29353 Likewise.
29354
5a31b283
AK
293552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29356
29357 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29358
069e52f8
RM
293592011-06-06 Roland McGrath <roland@hack.frob.com>
29360
29361 [BZ #12849]
29362 * manual/fdl-1.1.texi: New file, verbatim from:
29363 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29364 * manual/lgpl-2.1.texi: New file, verbatim from:
29365 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29366 * manual/Makefile (licenses): New variable, list those new file names.
29367 (texis): Use it.
29368 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29369
29370 * manual/fdl.texi: File removed.
29371 * manual/lesser.texi: File removed.
29372 * manual/libc.texinfo (Copying, Documentation License):
29373 Use new @include file names, put @appendix directive before @include.
29374
f16846a5
JJ
293752011-06-04 Jakub Jelinek <jakub@redhat.com>
29376
29377 [BZ #12841]
29378 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29379 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29380 (mq_open): Add __NTH.
29381
3d29045b
L
293822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29383
29384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29385 Assume Intel Core i3/i5/i7 processor if AVX is available.
29386
8c297311
UD
293872011-05-31 Ulrich Drepper <drepper@gmail.com>
29388
29389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29390 typo.
29391
c8fc0c91
UD
293922011-05-31 Andreas Schwab <schwab@redhat.com>
29393
29394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29395 memory. Use alloca_account. Fix memory leak when retrying.
29396
5b27a807
UD
293972011-05-31 Ulrich Drepper <drepper@gmail.com>
29398
356f8bc6
UD
29399 * version.h (RELEASE): Bump for 2.14 release.
29400 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29401
5b27a807
UD
29402 * config.make.in (RANLIB): Remove entry.
29403
01f16ab0
UD
294042011-05-30 Ulrich Drepper <drepper@gmail.com>
29405
41fce8bd
UD
29406 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29407 (libc.pot): Work around missing support for .ksh extension in xgettext.
29408
4769ae77
UD
29409 [BZ #12684]
29410 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29411 if both request failed.
29412 (send_dg): In case of server errors clear resplen or *resplen2.
29413
6b1e7d19
UD
29414 [BZ #12454]
29415 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29416 when there are multiple maps.
29417 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29418 (_dl_fini): Remove test here.
29419
01f16ab0
UD
29420 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29421
b1ebd700
UD
294222011-05-29 Ulrich Drepper <drepper@gmail.com>
29423
7ae22829
UD
29424 [BZ #12350]
29425 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29426 bit from old_res_options.
29427 (gaih_inet): Likewise.
29428
553149f6 29429 [BZ #11099]
18a84741 29430 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29431 as signed.
29432
652ffab1
UD
29433 * resolv/res_init.c (res_setoptions): Make the code more compact.
29434
16985fd0
UD
29435 [BZ #11558]
29436 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29437 set RES_USEVC.
29438
0464f746
UD
29439 [BZ #11634]
29440 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29441
7d17596c
UD
29442 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29443
cf6bbbd7
UD
29444 [BZ #11781]
29445 * malloc/malloc.h: Declare malloc hook variables as volatile.
29446
13f1ab36
UD
29447 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29448 in last patch.
29449
b1ebd700
UD
29450 [BZ #11799]
29451 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29452 raise in the comment.
80e2212d
UD
29453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29455 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29456
ce67228d
UD
294572011-05-28 Ulrich Drepper <drepper@gmail.com>
29458
8887a920
UD
29459 [BZ #12811]
29460 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29461 grow the buffers more if it already has to be sufficient.
29462 (build_wcs_upper_buffer): Likewise.
29463 * posix/regexec.c (check_matching): Likewise.
29464 (clean_state_log_if_needed): Likewise.
29465 (extend_buffers): Don't enlarge buffers beyond size of the input
29466 buffer.
29467 Patches mostly by Emil Wojak <emil@wojak.eu>.
29468 * posix/bug-regex32.c: New file.
29469 * posix/Makefile (tests): Add bug-regex32.
29470
4f031072
UD
29471 * locale/findlocale.c (_nl_find_locale): Return right away if
29472 _nl_explode_name failed.
29473 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29474
d0478f0c
UD
29475 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29476
de81b246
UD
29477 * debug/xtrace.sh: Unify messages.
29478 * malloc/memusage.sh: Likewise.
29479
c738465a
UD
29480 [BZ #12813]
29481 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29482 time symbol from vDSO. Substitute with vsyscall if not available.
29483 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29484 __vdso_time.
29485
f1f929d7
UD
29486 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29487 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29489 Add sendmmsg and internal_sendmmsg.
29490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29491 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29493
ce67228d
UD
29494 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29497
e57420c6
UD
294982011-05-27 Ulrich Drepper <drepper@gmail.com>
29499
a8509ca5
UD
29500 [BZ #12813]
29501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29502 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29503 available.
29504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29505 __vdso_getcpu.
29506
e57420c6
UD
29507 [BZ #12814]
29508 * iconvdata/Makefile (tests): Add bug-iconv9.
29509 * iconvdata/bug-iconv9.c: New file.
29510
4d07db15
AS
295112011-05-27 Andreas Schwab <schwab@redhat.com>
29512
29513 [BZ #12814]
29514 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29515
ea486f69
JJ
295162011-05-25 Jakub Jelinek <jakub@redhat.com>
29517
29518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29519 (struct user_regs_struct): Change intcs field back to cs.
29520
6f038433
UD
295212011-05-25 Ulrich Drepper <drepper@gmail.com>
29522
29523 * po/ja.po: Update from translation team.
29524
67f86a25
UD
295252011-05-23 Ulrich Drepper <drepper@gmail.com>
29526
29527 [BZ #12795]
29528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29530
def7fbd6
AS
295312011-05-20 Andreas Schwab <schwab@redhat.com>
29532
29533 * stdlib/longlong.h: Update from GCC.
29534
f50ef8f1
AS
295352011-05-23 Andreas Schwab <schwab@redhat.com>
29536
29537 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29538 parameter name.
29539 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29540 Add parameter name.
29541 (__sysconf): Pass it down.
29542
de7ce8f1
UD
295432011-05-22 Ulrich Drepper <drepper@gmail.com>
29544
f2962a71
UD
29545 [BZ #12671]
29546 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29547 some situations.
29548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29549 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29550 add in in __libc_use_alloca calls. Adjust callers.
29551 (glob): Use malloc in some situations.
29552
de7ce8f1
UD
29553 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29554 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29555 pltexit.
29556
aec84f53
UD
295572011-05-21 Ulrich Drepper <drepper@gmail.com>
29558
05bb4a68
UD
29559 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29560 and CLOCK_BOOTTIME_ALARM.
29561
7ea72f99
UD
29562 [BZ #12782]
29563 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29564 is returned.
29565
7e4afad5
UD
29566 * string/_strerror.c (__strerror_r): Print negative errors as signed
29567 numbers.
29568
8e211fec
UD
29569 [BZ #12777]
29570 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29571 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29572 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29573
f7d82dc9
UD
29574 * configure.in: Fix typo in redirection and correct removal of test
29575 files in two cases.
29576
cc9e536d
UD
29577 [BZ #12788]
29578 * locale/setlocale.c (new_composite_name): Fix test to check for
29579 identical name of all categories.
29580
aec84f53
UD
29581 [BZ #12792]
29582 * libio/filedoalloc.c (local_isatty): New function.
29583 (_IO_file_doallocate): Use local_isatty.
29584 * stdio-common/perror.c (perror): In case a new stream is used
29585 forward the stream error.
29586 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29587 error flag.
29588
78e64fdc
RT
295892011-05-20 Ulrich Drepper <drepper@gmail.com>
29590
34a9094f
UD
29591 [BZ #11869]
29592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29593 alloca.
29594 * include/alloca.h (extend_alloca_account): Define.
29595
78e64fdc
RT
29596 [BZ #11857]
29597 * posix/regex.h: Fix comments with documentation of user-accessible
29598 fields after compilation and describe correct free'ing of pattern
29599 after re_compile_pattern.
29600 Patch by Reuben Thomas <rrt@sc3d.org>.
29601
457bddfc
RA
296022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29603
29604 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29605 and -mno-altivec to prevent the compiler from using Altivec and/or
29606 VSX instructions when the corresponding registers are not available.
29607
a4527b51
AS
296082011-05-19 Andreas Schwab <schwab@redhat.com>
29609
29610 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29611
ed690b2f
UD
296122011-05-19 Ulrich Drepper <drepper@gmail.com>
29613
29614 * libio/freopen.c (freopen): Use __dup2, not dup2.
29615 * libio/freopen64.c (freopen64): Likewise.
29616
8db73634
L
296172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29618
29619 [BZ #12775]
29620 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29621 * math/Makefile (tests): Add test-powl.
29622 (CFLAGS-test-powl.c): Define.
29623 * math/test-powl.c: New file.
29624
0a197a9d
L
296252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29626
29627 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29628
ee30c380
UD
296292011-05-17 Ulrich Drepper <drepper@gmail.com>
29630
29631 [BZ #11837]
29632 * iconvdata/gb18030.c: Update to GB18020-2005.
29633
6ce75379
UD
296342011-05-16 Ulrich Drepper <drepper@gmail.com>
29635
a4b89fd8
AR
29636 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29637 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29638 Patch by Aharon Robbins <arnold@skeeve.com>.
29639
ea389b12
UD
29640 [BZ #11892]
29641 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29642 on the stack.
29643
68a3f91f
UD
29644 [BZ #11895]
29645 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29646 through underflows.
29647
15cc7dd1
UD
29648 [BZ #12766]
29649 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29650 point to strings before performing equality test for error_one_per_line
29651 mode.
29652
f3799213
UD
29653 [BZ #11697]
29654 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29655
d79a9c94
UD
29656 [BZ #11820]
29657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29658 (struct user_fpregs_struct): Avoid __uint*_t types.
29659
56e5eb46
UD
29660 [BZ #6420]
29661 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29662 symbol info. Use it instead of calling _dl_addr locally.
29663 (lock_and_info): New function.
29664 (tr_freehook): Call lock_and_info and pass symbol info as additional
29665 parameter to tr_where.
29666 (tr_mallochook): Likewise.
29667 (tr_reallochook): Likewise.
29668 (tr_memalignhook): Likewise.
29669
6ce75379
UD
29670 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29671 used and couldn't be at all thread-safe.
29672
f8a3b5bf
UD
296732011-05-15 Ulrich Drepper <drepper@gmail.com>
29674
94b7cc37
UD
29675 * libio/freopen.c (freopen): Don't close old file descriptor
29676 before the new one is opened. Instead dup the new file descriptor
29677 to the old one after the new stream is created.
29678 * libio/freopen64.c (freopen64): Likewise.
29679 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29680 * libio/fileops.c (_IO_new_file_close_it): Handle new
29681 _IO_FLAGS2_NOCLOSE flag.
29682 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29683 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29684 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29685 _IO_FLAGS2_NOCLOSE flag.
29686 * include/unistd.h: Add hidden_proto for dup3.
29687 Define __have_dup3.
29688 * io/dup3.c: Define hidden symbol.
29689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29690
bd25564e
UD
29691 [BZ #7101]
29692 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29693 when an incomplete long option is used.
29694 * posix/tst-getopt_long1.c: New file.
29695 * posix/Makefile (tests): Add tst-getopt_long1.
29696
c84cfef4
UD
29697 [BZ #10138]
29698 * scripts/config.guess: Update from autoconf-2.68.
29699 * scripts/config.sub: Likewise.
29700
3b85df27
UD
29701 [BZ #10157]
29702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29703 tests into ...
29704 (has_cpuclock): ...this. New function.
29705 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29706 macro here based on has_cpuclock code.
29707
15a856b1
UD
29708 [BZ #10149]
29709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29710 First byte (not low byte) is now always NUL.
29711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29712
05f399e6
UD
29713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29714 Use non-cancelable interfaces.
29715
10a52685 29716 [BZ #9809]
94ecc67d
UD
29717 * locale/iso-639.def: Add entry for Sorani.
29718
f8a3b5bf
UD
29719 [BZ #11901]
29720 * include/stdlib.h: Move include protection to the right place.
29721 Define abort_msg_s. Declare __abort_msg with it.
29722 * stdlib/abort.c (__abort_msg): Adjust type.
29723 * assert/assert.c (__assert_fail_base): New function. Majority
29724 of code from __assert_fail. Allocate memory for __abort_msg with
29725 mmap.
29726 (__assert_fail): Now call __assert_fail_base.
29727 * assert/assert-perr.c: Remove bulk of implementation. Use
29728 __assert_fail_base.
29729 * include/assert.hL Declare __assert_fail_base.
29730 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29731 mmap.
29732 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29733
1af4e298
UD
297342011-05-14 Ulrich Drepper <drepper@gmail.com>
29735
f8a3b5bf 29736 [BZ #11952]
d26dfc60
MG
29737 [BZ #12453]
29738 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29739 until all modules are registered in the DTV.
29740 * elf/Makefile: Add rules to build and run tst-tls19.
29741 * elf/tst-tls19.c: New file.
29742 * elf/tst-tls19mod1.c: New file.
29743 * elf/tst-tls19mod2.c: New file.
29744 * elf/tst-tls19mod3.c: New file.
29745 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29746
2fc54d6f
UD
29747 [BZ #12083]
29748 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29749 correctly.
29750
98d76b46
UD
29751 [BZ #12601]
29752 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29753 two-byte sequence errors.
29754 * iconvdata/Makefile (tests): Add bug-iconv8.
29755 * iconvdata/bug-iconv8.c: New file.
29756
da3c19ef
UD
29757 [BZ #12626]
29758 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29759 buf2 definition.
29760
ca408c15
UD
29761 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29762
d6f67f7d
UD
29763 [BZ #12432]
29764 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29765 (dummy_getcfa): New function.
29766 (init): Get _Unwind_GetCFA address, use dummy if not found.
29767 (backtrace_helper): In recursion check, also check whether CFA changes.
29768 (__backtrace): Completely initialize arg.
29769
1af4e298 29770 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29771 storing incomplete byte sequence in state object. Avoid testing for
29772 guaranteed too small input if we know there is enough data available.
1af4e298 29773
da62f81b
AS
297742011-05-11 Andreas Schwab <schwab@redhat.com>
29775
29776 * Makeconfig (+link-pie): Indent.
29777 * Rules (binaries-pie): Define if $(have-fpie) and
29778 $(build-shared).
29779 (binaries-shared): Also filter out $(binaries-pie).
29780 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29781 * nscd/Makefile (others-pie): Add nscd.
29782 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29783 ($(objpfx)nscd): Remove command override.
29784 * login/Makefile (others-pie): Add pt_chown.
29785 ($(objpfx)pt_chown): Remove command override.
29786 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29787 remove command overrides.
29788
fcabc0f8
UD
297892011-05-13 Ulrich Drepper <drepper@gmail.com>
29790
20030ae6
UD
29791 * libio/tst_putwc.c: Fix error messages.
29792
fcabc0f8
UD
29793 [BZ #12724]
29794 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29795 currently writing and seek to current position when not.
29796 * libio/Makefile (tests): Add bug-fclose1.
29797 * libio/bug-fclose1.c: New file.
29798
320a5dc0
PB
297992011-05-12 Ulrich Drepper <drepper@gmail.com>
29800
29801 [BZ #12511]
29802 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29803 don't set DF_1_NODELETE here.
29804 (do_lookup_x): When entering new entry test for copy relocation
29805 and if necessary set DF_1_NODELETE flag.
29806 * elf/tst-unique4.cc: New file.
29807 * elf/tst-unique4.h: New file.
29808 * elf/tst-unique4lib.cc: New file.
29809 * elf/Makefile: Add rules to build and run tst-unique4.
29810 Patch by Piotr Bury <pbury@goahead.com>.
29811
22836f52
UD
298122011-05-11 Ulrich Drepper <drepper@gmail.com>
29813
f574184a
UD
29814 [BZ #12052]
29815 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29816
e1fb097f
UD
29817 [BZ #12625]
29818 * misc/mntent_r.c (addmntent): Flush the stream after the output
29819
22836f52
UD
29820 [BZ #12393]
29821 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29822 (is_trusted_path_normalize): Skip initial colon. Append slash
29823 to empty buffer. Duplicate is_trusted_path code but allow
29824 constructed patch to be prefix.
29825 (is_dst): Allow $ORIGIN followed by /.
29826 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29827 Correct testing of result of is_trusted_path_normalize
29828 (decompose_rpath): Fix warning.
29829
7b3b0b2a
UD
298302011-05-10 Ulrich Drepper <drepper@gmail.com>
29831
29832 [BZ #11257]
29833 * grp/initgroups.c (internal_getgrouplist): When we found the service
29834 list through the initgroups entry in nsswitch.conf do not always
29835 continue on a successful lookup. Don't always use the
eac80ce2 29836 __nss_group_database value if it is set.
7b3b0b2a
UD
29837 * nss/nsswitch.conf (initgroups): Change action for successful db
29838 lookup to continue for compatibility.
29839
2a81eaa5
UD
298402011-05-09 Ulrich Drepper <drepper@gmail.com>
29841
be97a69e
UD
29842 [BZ #11532]
29843 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29844 and CP774 modules.
29845 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29846 and CP774 modules.
29847 * iconvdata/tst-tables.sh: Likewise.
29848 * iconvdata/cp770.c: New file.
29849 * iconvdata/cp771.c: New file.
29850 * iconvdata/cp772.c: New file.
29851 * iconvdata/cp773.c: New file.
29852 * iconvdata/cp774.c: New file.
29853 * iconvdata/testdata/CP770: New file.
29854 * iconvdata/testdata/CP770..UTF8: New file.
29855 * iconvdata/testdata/CP771: New file.
29856 * iconvdata/testdata/CP771..UTF8: New file.
29857 * iconvdata/testdata/CP772: New file.
29858 * iconvdata/testdata/CP772..UTF8: New file.
29859 * iconvdata/testdata/CP773: New file.
29860 * iconvdata/testdata/CP773..UTF8: New file.
29861 * iconvdata/testdata/CP774: New file.
29862 * iconvdata/testdata/CP774..UTF8: New file.
29863
29864 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29865 END CHARMAP line.
29866 * iconvdata/gen-8bit-gap.sh: Likewise.
29867 * iconvdata/gen-8bit.sh: Likewise.
29868
c1e9e399
UD
29869 * locale/iso-639.def: Add ary entry.
29870
24c55fb3 29871 [BZ #11258]
96b4b1b0
UD
29872 * locale/C-translit.h.in: Add U20A1 transliteration.
29873
bdc2f971
KB
29874 [BZ #12178]
29875 * locale/iso-639.def: Add wae entry.
29876 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29877
2952b117
UD
29878 [BZ #12545]
29879 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29880 for n.
29881
2a81eaa5
UD
29882 [BZ #12711]
29883 * locale/C-translit.h.in: Add entry for U20B9.
29884 Patch by pravin.d.s@gmail.com.
29885
28377d1b
UD
298862011-05-08 Ulrich Drepper <drepper@gmail.com>
29887
7fb90fb8
UD
29888 [BZ #12713]
29889 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29890 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29891 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29892 in rtld. Use *stat64.
7fb90fb8 29893 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29894 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29895 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29896 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29897 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29898 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29899 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29900 __fstatat64 macros.
7fb90fb8
UD
29901 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29902 * dirent/rewinddir.c: Add libc_hidden_def.
29903 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29904 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29905
28377d1b
UD
29906 * include/dirent.h (__alloc_dir): Add flags parameter.
29907 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29908 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29909 __alloc_dir.
29910 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29911 from fdopendir if O_CLOEXEC is already set.
29912
66bdbaa4
AM
299132011-03-15 Alan Modra <amodra@gmail.com>
29914
29915 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29916 l_tls_firstbyte_offset non-zero. Save padding offset in
29917 l_tls_firstbyte_offset for later use.
29918 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29919 freeing static tls block.
29920
95721191
JN
299212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29922
29923 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29924 where #ifdef was intended. The intent is to prevent ARG_MAX from
29925 being defined by the kernel headers.
29926
f87dfb1f
UD
299272011-05-07 Ulrich Drepper <drepper@gmail.com>
29928
29929 [BZ #12734]
29930 * resolv/resolv.h: Define RES_NOTLDQUERY.
29931 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29932 no-tld-query and set RES_NOTLDQUERY.
29933 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29934 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29935 modern BIND to search name as TLD unless forbidden.
29936
47c3cd7a
UD
299372011-05-07 Petr Baudis <pasky@suse.cz>
29938 Ulrich Drepper <drepper@gmail.com>
29939
29940 [BZ #12393]
29941 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29942 (is_trusted_path): ...to here.
c1e9ea35 29943 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29944 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29945 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29946
8a35c912
PP
299472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29948
29949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29950 __BEGIN/__END_DECLS.
29951
acd41f47
UD
299522011-05-06 Ulrich Drepper <drepper@gmail.com>
29953
29954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29955 NSS_STATUS_NOTFOUND if no record was found.
29956
597df647
AS
299572011-05-05 Andreas Schwab <schwab@redhat.com>
29958
29959 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29960 (headers-not-in-tirpc): Remove rpc/netdb.h
29961 * resolv/netdb.h: Revert last change.
29962
b9af1301
PP
299632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29964
29965 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29966 circular dependency between libgcc.a and libc.a.
29967
4e34d5f5
AS
299682011-05-05 Andreas Schwab <schwab@redhat.com>
29969
29970 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29971 * nis/Makefile: Don't install rpcsvc/*.
29972 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29973 instead of <rpc/types.h>.
29974 (MAXHOSTNAMELEN): Define.
29975
00ee369c
AS
299762011-05-03 Andreas Schwab <schwab@redhat.com>
29977
29978 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29979
0b592a30
MB
299802011-04-28 Maciej Babinski <mbabinski@google.com>
29981
29982 [BZ #12714]
29983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29984 gethostbyname4_r when IPv6 results are possible.
29985
6e04cbbe
UD
299862011-05-02 Ulrich Drepper <drepper@gmail.com>
29987
29988 [BZ #12723]
29989 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29990 _PC_PIPE_BUF handling.
29991
e4ecafe0
BH
299922011-04-30 Bruno Haible <bruno@clisp.org>
29993
29994 [BZ #12717]
29995 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29996 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29997 to 'int'.
29998 * inet/getnameinfo.c (getnameinfo): Likewise.
29999
125ee683
UD
300002011-04-29 Ulrich Drepper <drepper@gmail.com>
30001
30002 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30003 to groups setting in database lookup.
30004 * nss/nsswitch.conf: Add initgroups entry.
30005
b722481a
EB
300062011-04-22 Ulrich Drepper <drepper@gmail.com>
30007
30008 [BZ #12685]
30009 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30010 mode string.
30011 Patch by Eric Blake <eblake@redhat.com>.
30012
4df46dbd
L
300132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30014
30015 * sunrpc/Makefile (need-export-routines): Add svc_run.
30016 (routines): Remove svc_run.
30017 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30018 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30019 * sunrpc/svc_run.c (svc_run): Likewise.
30020 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30021
e84142d2
UD
300222011-04-21 Ulrich Drepper <drepper@gmail.com>
30023
30024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30025 problem in reallocation in last patch.
30026
877175d8
UD
300272011-04-20 Ulrich Drepper <drepper@gmail.com>
30028
30029 * sunrpc/Makefile: Move inclusion of Rules.
30030
ab8eed78
UD
300312011-04-19 Ulrich Drepper <drepper@gmail.com>
30032
30033 * nss/nss_files/files-initgroups.c: New file.
30034 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30035 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30036 _nss_files_initgroups_dyn.
30037
e3d8f584
RS
300382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30039
30040 * elf/elf.h (R_ARM_IRELATIVE): Define.
30041
af190f45
UD
300422011-04-19 Ulrich Drepper <drepper@gmail.com>
30043
30044 * po/ru.po: Update from translation team.
30045
53cf59ef
UD
300462011-04-17 Ulrich Drepper <drepper@gmail.com>
30047
30048 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30049 dependencies.
30050
4c559bcd
MF
300512011-02-06 Mike Frysinger <vapier@gentoo.org>
30052
30053 [BZ #12653]
30054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30055 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30059
4420675c
AS
300602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30061
30062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30063 differing bytes.
30064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30067
75ea32ab
UD
300682011-04-17 Ulrich Drepper <drepper@gmail.com>
30069
30070 [BZ #12420]
30071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30072 storing it.
30073 * stdlib/bug-getcontext.c: New file.
30074 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30075
27390476
AK
300762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30077
30078 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30079 instructions into .machine "z9-109".
30080 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30081 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30082
10442705
AK
300832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30084
30085 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30086 between environment variables and auxiliary vector.
30087
7b57bfe5
UD
300882011-04-16 Ulrich Drepper <drepper@gmail.com>
30089
30090 * Makefile: Add rules to build linkobj/libc.so.
30091 * include/libc-symbols.h: Define libc_hidden_nolink.
30092 * include/rpc/auth.h: Mark functions which are to be hidden.
30093 * include/rpc/auth_des.h: Likewise.
30094 * include/rpc/auth_unix.h: Likewise.
30095 * include/rpc/clnt.h: Likewise.
30096 * include/rpc/des_crypt.h: Likewise.
30097 * include/rpc/key_prot.h: Likewise.
30098 * include/rpc/pmap_clnt.h: Likewise.
30099 * include/rpc/pmap_prot.h: Likewise.
30100 * include/rpc/pmap_rmt.h: Likewise.
30101 * include/rpc/rpc_msg.h: Likewise.
30102 * include/rpc/svc.h: Likewise.
30103 * include/rpc/svc_auth.h: Likewise.
30104 * include/rpc/xdr.h: Likewise.
30105 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30106 * nss/Makefile: Likewise.
30107 * sunrpc/Makefile: Don't install headers. Build library with normal
30108 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30109 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30110 for the compat linking library. Remove use of INTDEF/INTUSE.
30111 * sunrpc/auth_none.c: Likewise.
30112 * sunrpc/auth_unix.c: Likewise.
30113 * sunrpc/authdes_prot.c: Likewise.
30114 * sunrpc/authuxprot.c: Likewise.
30115 * sunrpc/clnt_gen.c: Likewise.
30116 * sunrpc/clnt_perr.c: Likewise.
30117 * sunrpc/clnt_raw.c: Likewise.
30118 * sunrpc/clnt_simp.c: Likewise.
30119 * sunrpc/clnt_tcp.c: Likewise.
30120 * sunrpc/clnt_udp.c: Likewise.
30121 * sunrpc/clnt_unix.c: Likewise.
30122 * sunrpc/des_crypt.c: Likewise.
30123 * sunrpc/des_soft.c: Likewise.
30124 * sunrpc/get_myaddr.c: Likewise.
30125 * sunrpc/key_call.c: Likewise.
30126 * sunrpc/key_prot.c: Likewise.
30127 * sunrpc/netname.c: Likewise.
30128 * sunrpc/pm_getmaps.c: Likewise.
30129 * sunrpc/pm_getport.c: Likewise.
30130 * sunrpc/pmap_clnt.c: Likewise.
30131 * sunrpc/pmap_prot.c: Likewise.
30132 * sunrpc/pmap_prot2.c: Likewise.
30133 * sunrpc/pmap_rmt.c: Likewise.
30134 * sunrpc/publickey.c: Likewise.
30135 * sunrpc/rpc_cmsg.c: Likewise.
30136 * sunrpc/rpc_common.c: Likewise.
30137 * sunrpc/rpc_dtable.c: Likewise.
30138 * sunrpc/rpc_prot.c: Likewise.
30139 * sunrpc/rpc_thread.c: Likewise.
30140 * sunrpc/rtime.c: Likewise.
30141 * sunrpc/svc.c: Likewise.
30142 * sunrpc/svc_auth.c: Likewise.
30143 * sunrpc/svc_authux.c: Likewise.
30144 * sunrpc/svc_raw.c: Likewise.
30145 * sunrpc/svc_run.c: Likewise.
30146 * sunrpc/svc_simple.c: Likewise.
30147 * sunrpc/svc_tcp.c: Likewise.
30148 * sunrpc/svc_udp.c: Likewise.
30149 * sunrpc/svc_unix.c: Likewise.
30150 * sunrpc/svcauth_des.c: Likewise.
30151 * sunrpc/xcrypt.c: Likewise.
30152 * sunrpc/xdr.c: Likewise.
30153 * sunrpc/xdr_array.c: Likewise.
30154 * sunrpc/xdr_float.c: Likewise.
30155 * sunrpc/xdr_intXX_t.c: Likewise.
30156 * sunrpc/xdr_mem.c: Likewise.
30157 * sunrpc/xdr_rec.c: Likewise.
30158 * sunrpc/xdr_ref.c: Likewise.
30159 * sunrpc/xdr_sizeof.c: Likewise.
30160 * sunrpc/xdr_stdio.c: Likewise.
30161
e6c61494
UD
301622011-04-10 Ulrich Drepper <drepper@gmail.com>
30163
30164 [BZ #12650]
30165 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30166 * sysdeps/ia64/dl-tls.h: Likewise.
30167 * sysdeps/powerpc/dl-tls.h: Likewise.
30168 * sysdeps/s390/dl-tls.h: Likewise.
30169 * sysdeps/sh/dl-tls.h: Likewise.
30170 * sysdeps/sparc/dl-tls.h: Likewise.
30171 * sysdeps/x86_64/dl-tls.h: Likewise.
30172 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30173
34fe483e
AS
301742011-03-14 Andreas Schwab <schwab@redhat.com>
30175
30176 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30177 rpath element also skip the following colon.
30178 (expand_dynamic_string_token): Add is_path parameter and pass
30179 down to DL_DST_REQUIRED and _dl_dst_substitute.
30180 (decompose_rpath): Call expand_dynamic_string_token with
30181 non-zero is_path. Ignore empty rpaths.
30182 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30183 with zero is_path.
30184
f12a32e6
AS
301852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30186
30187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30188 Make cancelable.
30189
38a7d692
UD
301902011-04-09 Ulrich Drepper <drepper@gmail.com>
30191
30192 [BZ #12655]
30193 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30194 Patch by Filipe David Manana <fdmanana@apache.org>.
30195
e451d22b
AS
301962011-04-07 Andreas Schwab <schwab@redhat.com>
30197
30198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30199 Maintain aligned stack.
30200 (CHECK_RSP): Remove unused macro.
30201
dedc7c7b
UD
302022011-04-03 Ulrich Drepper <drepper@gmail.com>
30203
30204 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30206
94521213
UD
302072011-04-02 Ulrich Drepper <drepper@gmail.com>
30208
30209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30210
8cb700c0 30211 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30212
0354e355
L
302132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30214
30215 [BZ #12518]
30216 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30217 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30218 * sysdeps/x86_64/memmove.c: New file.
30219 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30220 (memcpy): Renamed to ...
30221 (__new_memcpy): This.
30222 (memcpy): Provide GLIBC_2_14 memcpy.
30223 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30224 (memcpy): Provide GLIBC_2_2_5 memcpy.
30225
8593482f
UD
302262011-04-01 Ulrich Drepper <drepper@gmail.com>
30227
30228 [BZ #12631]
30229 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30230
81a5726b
AS
302312011-03-30 Andreas Schwab <schwab@redhat.com>
30232
30233 * misc/syncfs.c: New file.
30234 * misc/Makefile (routines): Add syncfs.
30235 * posix/unistd.h: Declare syncfs.
30236 * sysdeps/unix/syscalls.list: Add syncfs.
30237
00e5419f
AS
302382011-04-01 Andreas Schwab <schwab@redhat.com>
30239
30240 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30241 open_by_handle_at.
30242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30247 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30249
748876bf
UD
302502011-04-01 Ulrich Drepper <drepper@gmail.com>
30251
658e451d
UD
30252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30259
748876bf
UD
30260 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30261 sync_file_range.c with -fexceptions.
30262 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30263 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30264 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30265 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30269 sync_file_range as cancellation point
30270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30271 now a wrapper around __call_sync_file_range with cancellation handling.
30272 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30273 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30274 function name to __call_sync_file_range.
30275 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30276 Add call_sync_file_range.
748876bf 30277
6e63d5e1
AS
302782011-04-01 Andreas Schwab <schwab@redhat.com>
30279
30280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30281 bits/timex.h.
6e63d5e1 30282
46998f74
UD
302832011-04-01 Ulrich Drepper <drepper@gmail.com>
30284
4c1423ed
UD
30285 * iconv/iconv.h: Fix typo in comment.
30286 * io/fcntl.h: Likewise.
30287 * libio/stdio.h: Likewise.
30288 * posix/spawn.h: Likewise.
30289 * posix/unistd.h: Likewise.
30290 * stdlib/stdlib.h: Likewise.
30291 * time/time.h: Likewise.
30292 * wcsmbs/wchar.h: Likewise.
30293
158648c0
UD
30294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30295 open_by_handle): Add.
30296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30297 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30298 Augment a few comments.
30299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30304 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30305 open_by_handle.
30306
46998f74
UD
30307 * io/fcntl.h (AT_EMPTY_PATH): Define.
30308
83fe108b
UD
303092011-03-30 Ulrich Drepper <drepper@gmail.com>
30310
30311 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30312 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30313 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30314 to...
30315 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30316 * Versions.def: Add GLIBC_2.14.
30317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30318 Export.
83fe108b 30319
bb242059
UD
303202011-03-22 Ulrich Drepper <drepper@gmail.com>
30321
30322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30323 round counter.
30324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30325
c97a1282
L
303262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30327
30328 [BZ #12597]
30329 * string/test-strncmp.c (do_page_test): New function.
30330 (check2): Likewise.
30331 (test_main): Call check2.
30332 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30333
2a115601
UD
303342011-03-20 Ulrich Drepper <drepper@gmail.com>
30335
30336 [BZ #12587]
30337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30338 Handle cache information in CPU leaf 4.
30339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30340
8126d904
UD
303412011-03-18 Ulrich Drepper <drepper@gmail.com>
30342
042c49c6 30343 [BZ #12583]
8126d904
UD
30344 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30345 character representation.
30346 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30347
ccfe366e
RA
303482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30349
30350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30351 END(__isnan) to END(__isnanf) to match function entry point/label
30352 EALIGN(__isnanf,...).
30353
c6e13027
JJ
303542011-03-10 Jakub Jelinek <jakub@redhat.com>
30355
30356 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30357
33f85a3f
UD
303582011-03-10 Ulrich Drepper <drepper@gmail.com>
30359
028478fa
UD
30360 [BZ #12510]
30361 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30362 copy from the symbol referenced in the relocation to initialize the
30363 used variable.
30364 Patch by Piotr Bury <pbury@goahead.com>.
30365 * elf/Makefile: Add rules to build and tst-unique3.
30366 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30367 * elf/tst-unique3.cc: New file.
30368 * elf/tst-unique3.h: New file.
30369 * elf/tst-unique3lib.cc: New file.
30370 * elf/tst-unique3lib2.cc: New file.
30371
33f85a3f
UD
30372 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30373
03592fc7
MF
303742011-03-10 Mike Frysinger <vapier@gentoo.org>
30375
30376 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30377 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30378 to _start.
03592fc7 30379
6a5ee102
UD
303802011-03-06 Ulrich Drepper <drepper@gmail.com>
30381
30382 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30383 to-be-loaded object along a path to loader is ld.so.
30384
7e4ba49c
HJ
303852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30386 Ulrich Drepper <drepper@gmail.com>
30387
30388 * sysdeps/x86_64/memset.S: After aligning destination, code
30389 branches to different locations depending on the value of
30390 misalignment, when multiarch is enabled. Fix this.
30391
303922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30393
30394 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30395 Set _x86_64_preferred_memory_instruction for AMD processsors.
30396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30397 Set bit_Prefer_SSE_for_memop for AMD processors.
30398
13a804de
UD
303992011-03-04 Ulrich Drepper <drepper@gmail.com>
30400
30401 * libio/fmemopen.c (fmemopen): Optimize a bit.
30402
9d25c392
AS
304032011-03-03 Andreas Schwab <schwab@redhat.com>
30404
30405 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30406
a5543c6a
RM
304072011-03-03 Roland McGrath <roland@redhat.com>
30408
30409 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30410
012d35f7
DM
304112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30412
7e4ba49c 30413 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30414 __bzero_ultra1 instead of __memset_ultra1.
30415
4bff6e01
AS
304162011-02-23 Andreas Schwab <schwab@redhat.com>
30417 Ulrich Drepper <drepper@gmail.com>
30418
30419 [BZ #12509]
30420 * include/link.h (struct link_map): Add l_orig_initfini.
30421 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30422 returning unsuccessfully.
30423 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30424 close of a file loaded at startup, restore the original l_initfini
30425 list.
30426 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30427 list, store the pointer.
30428 * elf/Makefile ($(objpfx)noload-mem): New rule.
30429 (noload-ENV): Define.
30430 (tests): Add $(objpfx)noload-mem.
30431 * elf/noload.c: Include <memcheck.h>.
30432 (main): Call mtrace. Close all opened handles.
30433
f2092faf
AS
304342011-02-17 Andreas Schwab <schwab@redhat.com>
30435
30436 [BZ #12454]
30437 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30438 dependencies are missing.
30439
6c8a2e88
ST
304402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30441
f2092faf 30442 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30443 Hurd needs munmap.
30444 * sysdeps/mach/hurd/ifreq.h: New file.
30445
84a42118
PB
304462011-01-27 Petr Baudis <pasky@suse.cz>
30447 Ulrich Drepper <drepper@gmail.com>
30448
071f805e 30449 [BZ 12445]#
84a42118
PB
30450 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30451 to extend_alloca().
30452 * stdio-common/bug23.c: New file.
30453 * stdio-common/Makefile (tests): Add bug23.
30454
e23fe25b
AS
304552010-09-28 Andreas Schwab <schwab@redhat.com>
30456 Ulrich Drepper <drepper@gmail.com>
30457
30458 [BZ #12489]
30459 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30460 before performing relro protection. At old place add assertion
30461 to make sure nothing changed.
30462
d3f02e10
NS
304632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30464 Glauber de Oliveira Costa <glommer@gmail.com>
30465
30466 * elf/elf.h: Add new ARM TLS relocs.
30467
d55fd7a5
RA
304682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30469
30470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30471 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30472 cast from r3.
30473 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30474 'tests' variable.
30475 * sysdeps/wordsize-64/tst-writev.c: New file.
30476
2206397e
RA
304772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30478
30479 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30480 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30481 insns in _dl_start to prevent a TOC reference before relocs are
30482 resolved.
30483
e9433893
UD
304842011-02-15 Ulrich Drepper <drepper@gmail.com>
30485
30486 [BZ #12469]
30487 * Makeconfig: Remove RANLIB definition.
30488 * Makerules: Don't use RANLIB.
30489 * aclocal.m4: Remove ranlib test.
30490 * configure.in: No need to check for ranlib.
30491 * elf/rtld-Rules: Don't use RANLIB.
30492
f75286c6
ST
304932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30494
8e31c82d
ST
30495 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30496 protection macro.
30497 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30498 inclusion protection macro.
30499
f75286c6
ST
30500 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30501 SIGRTMIN and SIGRTMAX and print information in that case only when
30502 SIGRTMIN is defined.
30503
c1d0e639
JJ
305042011-02-11 Jakub Jelinek <jakub@redhat.com>
30505
30506 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30507 arginfo fn returning -1.
30508
30509 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30510 and thousands string is zero terminated.
30511
edf9294e
AS
305122011-02-03 Andreas Schwab <schwab@redhat.com>
30513
30514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30515 sysdeps/unix/sysv/linux/bits/socket.h.
30516
2b7e92df
ST
305172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30518
edf9294e
AS
30519 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30520 (__CPU_COUNT): Remove old macros.
30521 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30522 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30523 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30524 (__sched_cpualloc, __sched_cpufree): Add declarations.
30525
a4c7ea7b
UD
305262011-02-05 Ulrich Drepper <drepper@gmail.com>
30527
30528 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30529 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30530 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30531 (readdhstai): Return value of addhstaiX call.
30532 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30533 (addgrbyX): Return value returned by cache_addgr.
30534 (readdgrbyname): Return value returned by addgrbyX.
30535 (readdgrbygid): Likewise.
30536 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30537 (addpwbyX): Return value returned by cache_addpw.
30538 (readdpwbyname): Return value returned by addhstbyX.
30539 (readdpwbyuid): Likewise.
30540 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30541 (addservbyX): Return value returned by cache_addserv.
30542 (readdservbyname): Return value returned by addservbyX:
30543 (readdservbyport): Likewise.
30544 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30545 (addhstbyX): Return value returned by cache_addhst.
30546 (readdhstbyname): Return value returned by addhstbyX.
30547 (readdhstbyaddr): Likewise.
30548 (readdhstbynamev6): Likewise.
30549 (readdhstbyaddrv6): Likewise.
30550 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30551 (readdinitgroups): Return value returned by addinitgroupsX.
30552 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30553 (prune_cache): Keep track of timeout value of re-added entries.
30554 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30555 * nscd/nscd.h: Adjust prototypes of readd* functions.
30556
a0bf67cc
RM
305572011-02-04 Roland McGrath <roland@redhat.com>
30558
30559 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30560 (nis_stats): Likewise.
30561 * nis/nis_modify.c (nis_modify): Likewise.
30562 * nis/nis_remove.c (nis_remove): Likewise.
30563 * nis/nis_add.c (nis_add): Likewise.
30564
30565 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30566
30567 * posix/fnmatch_loop.c: Add some consts.
30568
30569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30570
435b95eb
L
305712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30572
30573 [BZ #12460]
30574 * config.make.in (config-cflags-novzeroupper): Define.
30575 * configure.in: Substitute libc_cv_cc_novzeroupper.
30576 * elf/Makefile (AVX-CFLAGS): Define.
30577 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30578 (CFLAGS-tst-auditmod4a.c): Likewise.
30579 (CFLAGS-tst-auditmod4b.c): Likewise.
30580 (CFLAGS-tst-auditmod6b.c): Likewise.
30581 (CFLAGS-tst-auditmod6c.c): Likewise.
30582 (CFLAGS-tst-auditmod7b.c): Likewise.
30583 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30584
8517b15e
UD
305852011-02-02 Ulrich Drepper <drepper@gmail.com>
30586
30587 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30588 function to the callback.
30589 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30590
10a656fe
AS
305912011-02-02 Andreas Schwab <schwab@redhat.com>
30592
30593 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30594 of errno.
30595
968dad0a
UD
305962011-01-19 Ulrich Drepper <drepper@gmail.com>
30597
9f94d2ea 30598 [BZ #11724]
968dad0a
UD
30599 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30600 of constructors.
30601 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30602 of destructors.
30603 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30604
30605 [BZ #11724]
30606 * elf/Makefile: Add rules to build and run new test.
30607 * elf/tst-initorder.c: New file.
30608 * elf/tst-initorder.exp: New file.
30609 * elf/tst-initordera1.c: New file.
30610 * elf/tst-initordera2.c: New file.
30611 * elf/tst-initordera3.c: New file.
30612 * elf/tst-initordera4.c: New file.
30613 * elf/tst-initorderb1.c: New file.
30614 * elf/tst-initorderb2.c: New file.
30615 * elf/tst-order-a1.c: New file.
30616 * elf/tst-order-a2.c: New file.
30617 * elf/tst-order-a3.c: New file.
30618 * elf/tst-order-a4.c: New file.
30619 * elf/tst-order-b1.c: New file.
30620 * elf/tst-order-b2.c: New file.
30621 * elf/tst-order-main.c: New file.
30622 New test case by George Gensure <werkt0@gmail.com>.
30623
86e92359
UD
306242010-10-01 Andreas Schwab <schwab@redhat.com>
30625
30626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30627 decoding ACE if AI_CANONIDN.
30628
5d5732b0
UD
306292011-01-18 Ulrich Drepper <drepper@gmail.com>
30630
30631 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30632
a77e8cbc
UD
306332011-01-17 Ulrich Drepper <drepper@gmail.com>
30634
6392473f
UD
30635 * version.h (RELEASE): Bump for 2.13 release.
30636 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30637
620a0529
UD
30638 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30639
18ba70a5
UD
30640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30641 MADV_NOHUGEPAGE.
32465c3e
UD
30642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30648
c0dafcf1
UD
30649 * posix/getconf.c: Update copyright year.
30650 * catgets/gencat.c: Likewise.
30651 * csu/version.c: Likewise.
30652 * debug/catchsegv.sh: Likewise.
30653 * debug/xtrace.sh: Likewise.
30654 * elf/ldconfig.c: Likewise.
30655 * elf/ldd.bash.in: Likewise.
30656 * elf/sprof.c (print_version): Likewise.
30657 * iconv/iconv_prog.c: Likewise.
30658 * iconv/iconvconfig.c: Likewise.
30659 * locale/programs/locale.c: Likewise.
30660 * locale/programs/localedef.c: Likewise.
30661 * malloc/memusage.sh: Likewise.
30662 * malloc/mtrace.pl: Likewise.
30663 * nscd/nscd.c (print_version): Likewise.
30664 * nss/getent.c: Likewise.
30665
a77e8cbc
UD
30666 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30667 PF_CAIF, and PF_ALG.
30668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30669
77e8bddf
AS
306702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30671
1f20b93a
AS
30672 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30673 (modules-names): Use them.
30674 (ifunc-test-modules, ifunc-pie-tests): Define.
30675 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30676 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30677 (test-extras): Likewise.
30678 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30679 $(compile-command.c).
30680 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30681 (all-built-dso): Define.
30682 (check-textrel.out, check-execstack.out): Depend on it.
30683
77e8bddf
AS
30684 * configure.in: Don't override --enable-multi-arch.
30685
bc425b33
UD
306862011-01-15 Ulrich Drepper <drepper@gmail.com>
30687
30688 [BZ #6812]
30689 * nscd/hstcache.c (tryagain): Define.
30690 (cache_addhst): Return tryagain not notfound for temporary errors.
30691 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30692 failed.
30693
794c3ad3
UD
306942011-01-14 Ulrich Drepper <drepper@gmail.com>
30695
70181fdd
UD
30696 [BZ #10563]
30697 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30698 to make the syscall.
30699 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30700
794c3ad3
UD
30701 [BZ #12378]
30702 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30703 and fall back to matching as normal character if the string ends before
30704 the matching ']' is found. This is what POSIX requires.
30705 * posix/testfnm.c: Adjust test result.
30706 * posix/globtest.sh: Adjust test result. Add new test.
30707 * posix/tst-fnmatch.input: Likewise.
30708 * posix/tst-fnmatch2.c: Add new test.
30709
68dc9497
AS
307102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30711
30712 * elf/Makefile (check-execstack): Revert last change. Depend on
30713 check-execstack.h.
30714 (check-execstack.h): New target.
30715 (generated): Add check-execstack.h.
30716 * elf/check-execstack.c: Include "check-execstack.h".
30717 (main): Revert last change.
30718 (handle_file): Return zero if GNU_STACK is absent and
30719 DEFAULT_STACK_PERMS doesn't include PF_X.
30720
451f001b
UD
307212011-01-13 Ulrich Drepper <drepper@gmail.com>
30722
cfa28e56
UD
30723 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30724 in child fails because the descriptor is already closed.
8cf8ce17
UD
30725 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30726 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30728
1086d70d
UD
30729 [BZ #12397]
30730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30731 syscall.
30732
451f001b
UD
30733 [BZ #10484]
30734 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30735 temporary buffer used to handle multi lookups locally.
a85b5cb4 30736 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30737
08769175
UD
307382011-01-12 Ulrich Drepper <drepper@gmail.com>
30739
30740 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30741 loader is ld.so.
30742
5e49c52e
UD
307432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30744
30745 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30746 alignment for SSE2.
30747
60522a5f
UD
307482011-01-12 Ulrich Drepper <drepper@gmail.com>
30749
30750 [BZ #12394]
30751 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30752 characters. When rounding increased number of integer digits recompute
30753 number of groups.
30754 * stdio-common/tst-grouping.c: New file.
30755 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30756
f257bbd7
UD
307572011-01-09 Ulrich Drepper <drepper@gmail.com>
30758
30759 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30760 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30761
30762 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30763 void.
30764 * bits/select.h: Likewise.
30765
fa9c15cb
UD
307662011-01-08 Ulrich Drepper <drepper@gmail.com>
30767
30768 * po/ja.po: Update from translation team.
30769
16c2895f
DM
307702011-01-04 David S. Miller <davem@sunset.davemloft.net>
30771
30772 [BZ #11155]
30773 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30774 implementation just like for lxstat, fxstatat, et al.
30775
2543fef2
JM
307762010-12-27 Jim Meyering <meyering@redhat.com>
30777
30778 [BZ #12348]
30779 * posix/regexec.c (build_trtable): Return failure indication upon
30780 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30781
98727dbe
UD
307822010-12-25 Ulrich Drepper <drepper@gmail.com>
30783
5bd6dc5c
UD
30784 [BZ #12201]
30785 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30786 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30789
97983464
UD
30790 [BZ #12207]
30791 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30792
98727dbe
UD
30793 [BZ #12204]
30794 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30795 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30796
4a531bb0
L
307972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30798
30799 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30800 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30801 script has SORT_BY_INIT_PRIORITY.
30802 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30803 NO_CTORS_DTORS_SECTIONS is defined.
30804 * elf/soinit.c: Likewise.
30805 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30806 NO_CTORS_DTORS_SECTIONS is defined.
30807 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30808 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30809 * sysdeps/sh/init-first.c: Likewise.
30810 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30811
07eb4b71
UD
308122010-12-24 Ulrich Drepper <drepper@gmail.com>
30813
30814 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30815 always use the slow path.
30816
30950a5f
RA
308172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30818
30819 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30820 similar rule which adds the sysdep directories to the header search in
30821 order to pick up the correct platform stackinfo.h.
30822 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30823 perform test if it is, otherwise return successfully without testing.
30824 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30825 DEFAULT_STACK_PERMS define in stackinfo.h.
30826 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30827 defined in stackinfo.h.
30828 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30829 DEFAULT_STACK_PERMS defined in stackinfo.h.
30830 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30831 * sysdeps/ia64/stackinfo.h: Likewise.
30832 * sysdeps/s390/stackinfo.h: Likewise.
30833 * sysdeps/sh/stackinfo.h: Likewise.
30834 * sysdeps/sparc/stackinfo.h: Likewise.
30835 * sysdeps/x86_64/stackinfo.h: Likewise.
30836 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30837 PF_X for powerpc64. Retain PF_X for powerpc32.
30838
db753e2c
UD
308392010-12-19 Ulrich Drepper <drepper@gmail.com>
30840
14b697f7
UD
30841 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30842 accurately.
db753e2c
UD
30843 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30844 GETDENTS_64BIT_ALIGNED.
30845
28300719
UD
308462010-12-14 Ulrich Drepper <dreper@gmail.com>
30847
14b697f7 30848 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30849
4f197237
AS
308502010-12-10 Andreas Schwab <schwab@redhat.com>
30851
dbb0472f
AS
30852 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30853 _GNU_SOURCE.
30854
4f197237
AS
30855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30856 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30857 Remove __restrict.
30858 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30859 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30860
fb88ac72
UD
308612010-12-09 Ulrich Drepper <drepper@gmail.com>
30862
30863 [BZ #11655]
30864 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30865 are initialized.
30866
42acbb92
JJ
308672010-12-09 Jakub Jelinek <jakub@redhat.com>
30868
30869 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30870
c038d98d
UD
308712010-12-03 Ulrich Drepper <drepper@gmail.com>
30872
30873 * po/it.po: Update from translation team.
30874
3a4a2499
L
308752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30876
30877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30878 unused codes.
30879
1e24cf6e
UD
308802010-11-30 Ulrich Drepper <drepper@gmail.com>
30881
30882 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30883
a7690819
AS
308842010-11-24 Andreas Schwab <schwab@redhat.com>
30885
30886 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30887 specially.
30888 (gaih_getanswer_slice): Likewise.
30889
3bf8d1b1
JJ
308902010-10-20 Jakub Jelinek <jakub@redhat.com>
30891
30892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30893
6db52fbb
PB
308942010-05-31 Petr Baudis <pasky@suse.cz>
30895
30896 [BZ #11149]
30897 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30898 silently even in the chroot mode.
30899
eaca7569
UD
309002010-11-22 Ulrich Drepper <drepper@gmail.com>
30901
30902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30903 last patch a bit. Pretty printing
30904
3056dcdb
UD
309052010-05-31 Petr Baudis <pasky@suse.cz>
30906
30907 [BZ #10085]
30908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30909 initialization of skip_initgroups_dyn.
30910
cf7c9078
UD
309112010-11-19 Ulrich Drepper <drepper@gmail.com>
30912
30913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30915
a1fb5e3e
UD
309162010-11-16 Ulrich Drepper <drepper@gmail.com>
30917
30918 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30919
3540d66b
AS
309202010-11-11 Andreas Schwab <schwab@redhat.com>
30921
30922 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30923 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30924 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30925 ($(objpfx)tst-fnmatch-mem): New rule.
30926 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30927 * posix/tst-fnmatch.c (main): Call mtrace.
30928
13b69574
L
309292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30932 Support Intel processor model 6 and model 0x2c.
30933
da93d214
LM
309342010-11-10 Luis Machado <luisgpm@br.ibm.com>
30935
30936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30937 signed comparison.
30938
8ca52c6e
L
309392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 [BZ #12205]
30942 * string/test-strncasecmp.c (check_result): New function.
30943 (do_one_test): Use it.
30944 (check1): New function.
30945 (test_main): Use it.
30946 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30947 Support strcasecmp and strncasecmp.
30948
69da074d
UD
309492010-11-08 Ulrich Drepper <drepper@gmail.com>
30950
30951 [BZ #12194]
30952 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30954
ff02d528
L
309552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30956
30957 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30958 IFUNC support.
30959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30960 memset-x86-64.
30961 * sysdeps/x86_64/multiarch/bzero.S: New file.
30962 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30963 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30964 * sysdeps/x86_64/multiarch/memset.S: New file.
30965 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30967 Set bit_Prefer_SSE_for_memop for Intel processors.
30968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30969 Define.
30970 (index_Prefer_SSE_for_memop): Define.
30971 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30972
344d0b54
LM
309732010-11-04 Luis Machado <luisgpm@br.ibm.com>
30974
30975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30977
c0dde15b
UD
309782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30979
30980 [BZ #12191]
30981 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30982 (__x86_64_raw_data_cache_size_half): Likewise.
30983 (__x86_64_raw_shared_cache_size): Likewise.
30984 (__x86_64_raw_shared_cache_size_half): Likewise.
30985
30986 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30987 (__x86_64_raw_data_cache_size_half): Likewise.
30988 (__x86_64_raw_shared_cache_size): Likewise.
30989 (__x86_64_raw_shared_cache_size_half): Likewise.
30990 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30991 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30992 and __x86_64_raw_shared_cache_size_half. Round
30993 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30994 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30995 to multiple of 256 bytes.
30996
0e516e0e
MS
309972010-11-03 Ulrich Drepper <drepper@gmail.com>
30998
30999 [BZ #12167]
31000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31001 of inacessible symlinks. Verify result of symlink before returning it.
31002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31003 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31004
0e012e87
ER
310052010-10-28 Erich Ritz <erichritz@gmail.com>
31006
31007 * math/math.h (isinf): Fix typo in comment.
31008
de0ff7bc
UD
310092010-11-01 Ulrich Drepper <drepper@gmail.com>
31010
31011 * po/da.po: Update from translation team.
31012
fa41c84d
UD
310132010-10-26 Ulrich Drepper <drepper@gmail.com>
31014
31015 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31016 is added to the list.
31017
f0967738
AK
310182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31019 Ulrich Drepper <drepper@gmail.com>
31020
31021 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31022 the global list here. Move code to...
31023 (_dl_add_to_namespace_list): ...here. New function.
31024 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31025 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31026 * elf/dl-load.c (lose): Don't remove the element from the list.
31027 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31028 (_dl_map_object): Likewise.
31029
310302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31031
31032 [BZ #12159]
31033 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31034 into all bytes of SSE register.
31035 Patch by Richard Li <richardpku@gmail.com>.
31036
f0967738 310372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31038
31039 [BZ #12140]
31040 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31041 perturbing.
31042
d0b9e94f
MB
310432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31044
31045 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31046 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31050 submachine.
31051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31052
8e9f92e9
AS
310532010-10-22 Andreas Schwab <schwab@redhat.com>
31054
31055 * include/dlfcn.h (__RTLD_SECURE): Define.
31056 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31057 mode & __RTLD_SECURE instead.
31058 (open_path): Rename preloaded parameter to secure.
31059 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31060 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31061 * elf/dl-deps.c (openaux): Likewise.
31062 * elf/rtld.c (struct map_args): Remove is_preloaded.
31063 (map_doit): Don't use it.
31064 (dl_main): Likewise.
31065 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31066 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31067
bc96fbda
AS
310682010-09-09 Andreas Schwab <schwab@redhat.com>
31069
31070 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31071 (sysd-rules-targets): Remove duplicates.
31072 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31073 rtld-%.$o dependency.
31074
22cd1c9b
AS
310752010-10-18 Andreas Schwab <schwab@redhat.com>
31076
31077 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31078 _dl_map_object do it.
31079
18edac48
UD
310802010-10-19 Ulrich Drepper <drepper@gmail.com>
31081
31082 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31083 fast fma builtins, define the macros in the C99 standard.
31084 (FP_FAST_FMAF): Likewise.
31085 (FP_FAST_FMAL): Likewise.
31086 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31087
31088 * bits/mathdef.h: Update copyright year.
31089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31090
d2050124
MM
310912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31092
31093 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31094 builtins, define the macros in the C99 standard.
31095 (FP_FAST_FMAF): Likewise.
31096 (FP_FAST_FMAL): Likewise.
31097 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31098 multiply/add.
31099 (FP_FAST_FMAF): Likewise.
31100
475facd1
JJ
311012010-10-15 Jakub Jelinek <jakub@redhat.com>
31102
31103 [BZ #3268]
31104 * math/libm-test.inc (fma_test): Some new testcases.
31105 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31107 y and infinite z. Do multiplication by C already in long double.
31108 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31110 y and infinite z. Do bitwise or of inexact bit into u.d.
31111 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31112 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31113 * sysdeps/i386/fpu/s_fma.S: Removed.
31114 * sysdeps/i386/fpu/s_fmal.S: Removed.
31115
7c08a05c
JJ
311162010-10-16 Jakub Jelinek <jakub@redhat.com>
31117
31118 [BZ #3268]
31119 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31121 computation is not scheduled after fetestexcept. Fix value
31122 of minimum denormal long double.
31123
f3f7372d
JJ
311242010-10-14 Jakub Jelinek <jakub@redhat.com>
31125
31126 [BZ #3268]
31127 * math/libm-test.inc (fma_test): Add some more tests.
31128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31129 correctly.
31130
14d43591
AS
311312010-10-15 Andreas Schwab <schwab@redhat.com>
31132
31133 * scripts/data/localplt-s390-linux-gnu.data: New file.
31134 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31135
5e908464
JJ
311362010-10-13 Jakub Jelinek <jakub@redhat.com>
31137
31138 [BZ #3268]
31139 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31140 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31141 instead of dbl-64.
31142 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31143 inlines.
31144 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31146 if one of x and y is very large and the other is subnormal.
31147 * sysdeps/s390/fpu/s_fmaf.c: New file.
31148 * sysdeps/s390/fpu/s_fma.c: New file.
31149 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31150 * sysdeps/powerpc/fpu/s_fma.S: New file.
31151 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31153 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31154
311552010-10-12 Jakub Jelinek <jakub@redhat.com>
31156
31157 [BZ #3268]
31158 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31159 fma tests.
31160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31161 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31162 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31163 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31164 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31165 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31166 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31167
b833d51f
UD
311682010-10-12 Ulrich Drepper <drepper@redhat.com>
31169
31170 [BZ #12078]
31171 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31172 * posix/bug-regex31.input: Add test case.
31173
1751705d
UD
311742010-10-11 Ulrich Drepper <drepper@gmail.com>
31175
e9b9cbf5
UD
31176 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31177 * posix/bug-regex31.input: New file.
31178
31179 [BZ #12078]
31180 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31181 (parse_sub_exp): Fix last change, use postorder.
31182
ef06edbe
UD
31183 * posix/bug-regex31.c: New file.
31184 * posix/Makefile: Add rules to build and run bug-regex31.
31185
a129c80d
UD
31186 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31187
31188 [BZ #12078]
31189 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31190
b76b818e
UD
31191 [BZ #12108]
31192 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31193 to have entries in sys_siglist.
31194
1751705d
UD
31195 [BZ #12093]
31196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31197 be NULL.
31198
9ff8d36f
JJ
311992010-10-07 Jakub Jelinek <jakub@redhat.com>
31200
31201 [BZ #3268]
31202 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31203 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31205 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31207 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31208 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31209 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31210 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31211 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31212 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31213 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31214 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31215 * math/ftestexcept.c (fetestexcept): Likewise.
31216 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31217 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31218 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31220 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31221 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31223
af325969
UD
312242010-10-11 Ulrich Drepper <drepper@gmail.com>
31225
c579b202 31226 [BZ #12107]
af325969
UD
31227 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31228 newline.
31229
67a67b95
UD
312302010-10-06 Ulrich Drepper <drepper@gmail.com>
31231
31232 * string/bug-strstr1.c: New file.
31233 * string/Makefile: Add rules to build and run bug-strstr1.
31234
5fb308bc
EB
312352010-10-05 Eric Blake <eblake@redhat.com>
31236
31237 [BZ #12092]
31238 * string/str-two-way.h (two_way_long_needle): Always clear memory
31239 when skipping input due to the shift table.
31240
45db99c7
UD
312412010-10-03 Ulrich Drepper <drepper@gmail.com>
31242
3b111893
UD
31243 [BZ #12005]
31244 * malloc/mcheck.c: Handle large requests.
31245
45db99c7
UD
31246 [BZ #12077]
31247 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31248 for strncmp and strncasecmp.
31249 * string/stratcliff.c: Add tests for strcmp and strncmp.
31250 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31251
cf7a1eb8
NI
312522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31253
31254 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31255 __set_fpscr.
31256
6484ba5e
AJ
312572010-09-30 Andreas Jaeger <aj@suse.de>
31258
31259 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31260 (CGROUP_SUPER_MAGIC): Define.
31261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31262 Handle btrfs and cgroup file systems.
31263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31264 Likewise.
31265
91c42559
LM
312662010-09-27 Luis Machado <luisgpm@br.ibm.com>
31267
31268 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31269 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31270
87a97932
AK
312712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31272
31273 [BZ #12067]
31274 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31275 trying to locate the ELF header.
31276
c21cc9bc
AS
312772010-09-27 Andreas Schwab <schwab@redhat.com>
31278
31279 [BZ #11611]
31280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31281 Mask out sign-bit copies when constructing f_fsid.
31282
315970f6
PB
312832010-09-24 Petr Baudis <pasky@suse.cz>
31284
31285 * debug/stack_chk_fail_local.c: Add missing licence exception.
31286 * debug/warning-nop.c: Likewise.
31287
1ac7a2c7
JM
312882010-09-15 Joseph Myers <joseph@codesourcery.com>
31289
31290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31291 implementing getdents64 using getdents syscall, set d_type if
31292 __ASSUME_GETDENTS32_D_TYPE.
31293
56801c50
AS
312942010-09-16 Andreas Schwab <schwab@redhat.com>
31295
31296 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31297 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31298
dda51327
UD
312992010-09-21 Ulrich Drepper <drepper@redhat.com>
31300
31301 [BZ #12037]
31302 * posix/unistd.h: Undo change of feature selection for ftruncate from
31303 2010-01-11.
31304
8ffcee4a
UD
313052010-09-20 Ulrich Drepper <drepper@redhat.com>
31306
a545ecd9 31307 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31308 detection.
31309
e24f0a8b
AS
313102010-09-20 Andreas Schwab <schwab@redhat.com>
31311
31312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31313 fanotify_mark.
31314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31315
7291c56f
AS
313162010-09-14 Andreas Schwab <schwab@redhat.com>
31317
31318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31319 variables after CHECK_SP call.
31320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31321
bc5fb037
AS
313222010-09-13 Andreas Schwab <schwab@redhat.com>
31323 Ulrich Drepper <drepper@redhat.com>
31324
31325 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31326 re-relocationg ld.so.
31327 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31328 _dl_init_paths call.
31329 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31330 here anymore.
31331
e66e7419
UD
313322010-09-14 Ulrich Drepper <drepper@redhat.com>
31333
31334 * resolv/res_init.c (__res_vinit): Count the default server we added.
31335
c044aa75
CLT
313362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31337 Ulrich Drepper <drepper@redhat.com>
31338
31339 [BZ #11968]
31340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31341 (____longjmp_chk): Use %ebx for saving value across system call.
31342 Add unwind info.
31343
32cf4069
AS
313442010-09-06 Andreas Schwab <schwab@redhat.com>
31345
31346 * manual/Makefile: Don't mix pattern rules with normal rules.
31347
817328ee
AS
313482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31349
31350 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31351 operation.
31352 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31353 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31354 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31357 Likewise.
31358
29fddf61
UD
313592010-09-04 Ulrich Drepper <drepper@redhat.com>
31360
31361 [BZ #11979]
31362 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31363 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31364
0959ffc9
UD
313652010-09-02 Ulrich Drepper <drepper@redhat.com>
31366
31367 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31368 * sysdeps/x86_64/addmul_1.S: Likewise.
31369 * sysdeps/x86_64/lshift.S: Likewise.
31370 * sysdeps/x86_64/mul_1.S: Likewise.
31371 * sysdeps/x86_64/rshift.S: Likewise.
31372 * sysdeps/x86_64/sub_n.S: Likewise.
31373 * sysdeps/x86_64/submul_1.S: Likewise.
31374
ece29840
ST
313752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31376
0959ffc9
UD
31377 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31378 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31379 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31380 * bits/sched.h [__need_schedparam]
ece29840 31381 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31382 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31383 (__defined_schedparam): Define to 1.
ece29840
ST
31384 (__sched_param): New structure, identical to sched_param.
31385 (__need_schedparam): Undefine.
31386
e53a31fe
MF
313872010-08-31 Mike Frysinger <vapier@gentoo.org>
31388
fdc0c10d
MF
31389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31390 (epoll_create1): Declare.
31391
e53a31fe
MF
31392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31393
a726d796
AS
313942010-08-31 Andreas Schwab <schwab@redhat.com>
31395
31396 [BZ #7066]
31397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31398 shifting retval into place.
31399
2f3e3dc7
UD
314002010-09-01 Ulrich Drepper <drepper@redhat.com>
31401
f2933da9
UD
31402 * nis/rpcsvc/nis.h: Update copyright notice.
31403 * nis/rpcsvc/nis.x: Likewise.
31404 * nis/rpcsvc/nis_callback.h: Likewise.
31405 * nis/rpcsvc/nis_callback.x: Likewise.
31406 * nis/rpcsvc/nis_object.x: Likewise.
31407 * nis/rpcsvc/nis_tags.h: Likewise.
31408 * nis/rpcsvc/yp.h: Likewise.
31409 * nis/rpcsvc/yp.x: Likewise.
31410 * nis/rpcsvc/ypupd.h: Likewise.
31411 * nis/yp_xdr.c: Likewise.
31412 * nis/ypupdate_xdr.c: Likewise.
31413
2f3e3dc7
UD
31414 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31415 mainly the body of pmap_getport. Add parameters to specify timeouts.
31416 (pmap_getport): Use __libc_rpc_getport.
31417 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31418 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31419 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31420
f3dcc2f9
AS
314212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31422
31423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31424 fanotify_mark.
31425
6d34eb5b
RM
314262010-08-27 Roland McGrath <roland@redhat.com>
31427
31428 * sysdeps/i386/i686/multiarch/Makefile
31429 (CFLAGS-varshift.c): New variable.
31430
9ea3de11
UD
314312010-08-27 Ulrich Drepper <drepper@redhat.com>
31432
c96d23fc
UD
31433 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31434 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31435
9ea3de11
UD
31436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31437
31438 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31439
623aac7f
L
314402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31441
31442 * sysdeps/x86_64/strlen.S: Unroll the loop.
31443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31444 strlen-sse2 strlen-sse2-bsf.
31445 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31446 __strlen_no_bsf if bit_Slow_BSF is set.
31447 (__strlen_sse42): Removed.
31448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31449 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31450
8b2b7715
RM
314512010-08-25 Roland McGrath <roland@redhat.com>
31452
31453 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31454 * sysdeps/x86_64/multiarch/varshift.c: New file.
31455 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31456 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31457 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31458 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31459
e73015f2
L
314602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31461
31462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31463 strlen-sse2 strlen-sse2-bsf.
31464 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31465 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31466 (__strlen_sse2): Removed.
31467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31470 bit_Slow_BSF for Atom.
31471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31472 (index_Slow_BSF): Define.
31473 (HAS_SLOW_BSF): Define.
31474
df24a73e
UD
314752010-08-25 Ulrich Drepper <drepper@redhat.com>
31476
31477 [BZ #10851]
31478 * resolv/res_init.c (__res_vinit): When no server address at all
31479 is given default to loopback.
31480
f2ac4868
RM
314812010-08-24 Roland McGrath <roland@redhat.com>
31482
09055553
RM
31483 * configure.in: Remove config-name.h generation.
31484 * configure: Regenerated.
31485 * config-name.in: File removed.
31486 * scripts/config-uname.sh: New file.
31487 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31488 ($(objdir)config-name.h): New target.
31489
f2ac4868
RM
31490 * sunrpc/rpc_parse.h: Avoid nested comment.
31491
73f27d5e
RH
314922010-08-24 Richard Henderson <rth@redhat.com>
31493 Ulrich Drepper <drepper@redhat.com>
31494 H.J. Lu <hongjiu.lu@intel.com>
31495
31496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31498 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31499 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31500 _mm_alignr_epi8 with _mm_loadu_si128.
31501 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31502 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31503 (__m128i_shift_right): Removed.
31504 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31505 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31506 * sysdeps/x86_64/multiarch/varshift.h: New file.
31507 * sysdeps/x86_64/multiarch/varshift.S: New file.
31508
84b9230c
MF
315092010-08-21 Mike Frysinger <vapier@gentoo.org>
31510
31511 * configure.in: Move assembler checks to before sysdep dir checking.
31512
9bbd0ddc
PB
315132010-08-20 Petr Baudis <pasky@suse.cz>
31514
31515 * LICENSES: Sync the sunrpc license.
31516
9da4bb31
UD
315172010-08-19 Ulrich Drepper <drepper@redhat.com>
31518
a7ab6ec8
UD
31519 * sunrpc/auth_des.c: Update copyright notice once again.
31520 * sunrpc/auth_none.c: Likewise.
31521 * sunrpc/auth_unix.c: Likewise.
31522 * sunrpc/authdes_prot.c: Likewise.
31523 * sunrpc/authuxprot.c: Likewise.
31524 * sunrpc/bindrsvprt.c: Likewise.
31525 * sunrpc/clnt_gen.c: Likewise.
31526 * sunrpc/clnt_perr.c: Likewise.
31527 * sunrpc/clnt_raw.c: Likewise.
31528 * sunrpc/clnt_simp.c: Likewise.
31529 * sunrpc/clnt_tcp.c: Likewise.
31530 * sunrpc/clnt_udp.c: Likewise.
31531 * sunrpc/clnt_unix.c: Likewise.
31532 * sunrpc/des_crypt.c: Likewise.
31533 * sunrpc/des_soft.c: Likewise.
31534 * sunrpc/get_myaddr.c: Likewise.
31535 * sunrpc/getrpcport.c: Likewise.
31536 * sunrpc/key_call.c: Likewise.
31537 * sunrpc/key_prot.c: Likewise.
31538 * sunrpc/openchild.c: Likewise.
31539 * sunrpc/pm_getmaps.c: Likewise.
31540 * sunrpc/pm_getport.c: Likewise.
31541 * sunrpc/pmap_clnt.c: Likewise.
31542 * sunrpc/pmap_prot.c: Likewise.
31543 * sunrpc/pmap_prot2.c: Likewise.
31544 * sunrpc/pmap_rmt.c: Likewise.
31545 * sunrpc/rpc/auth.h: Likewise.
31546 * sunrpc/rpc/auth_unix.h: Likewise.
31547 * sunrpc/rpc/clnt.h: Likewise.
31548 * sunrpc/rpc/des_crypt.h: Likewise.
31549 * sunrpc/rpc/key_prot.h: Likewise.
31550 * sunrpc/rpc/netdb.h: Likewise.
31551 * sunrpc/rpc/pmap_clnt.h: Likewise.
31552 * sunrpc/rpc/pmap_prot.h: Likewise.
31553 * sunrpc/rpc/pmap_rmt.h: Likewise.
31554 * sunrpc/rpc/rpc.h: Likewise.
31555 * sunrpc/rpc/rpc_des.h: Likewise.
31556 * sunrpc/rpc/rpc_msg.h: Likewise.
31557 * sunrpc/rpc/svc.h: Likewise.
31558 * sunrpc/rpc/svc_auth.h: Likewise.
31559 * sunrpc/rpc/types.h: Likewise.
31560 * sunrpc/rpc/xdr.h: Likewise.
31561 * sunrpc/rpc_clntout.c: Likewise.
31562 * sunrpc/rpc_cmsg.c: Likewise.
31563 * sunrpc/rpc_common.c: Likewise.
31564 * sunrpc/rpc_cout.c: Likewise.
31565 * sunrpc/rpc_dtable.c: Likewise.
31566 * sunrpc/rpc_hout.c: Likewise.
31567 * sunrpc/rpc_main.c: Likewise.
31568 * sunrpc/rpc_parse.c: Likewise.
31569 * sunrpc/rpc_parse.h: Likewise.
31570 * sunrpc/rpc_prot.c: Likewise.
31571 * sunrpc/rpc_sample.c: Likewise.
31572 * sunrpc/rpc_scan.c: Likewise.
31573 * sunrpc/rpc_scan.h: Likewise.
31574 * sunrpc/rpc_svcout.c: Likewise.
31575 * sunrpc/rpc_tblout.c: Likewise.
31576 * sunrpc/rpc_util.c: Likewise.
31577 * sunrpc/rpc_util.h: Likewise.
31578 * sunrpc/rpcinfo.c: Likewise.
31579 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31580 * sunrpc/rpcsvc/key_prot.x: Likewise.
31581 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31582 * sunrpc/rpcsvc/mount.x: Likewise.
31583 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31584 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31585 * sunrpc/rpcsvc/rex.x: Likewise.
31586 * sunrpc/rpcsvc/rstat.x: Likewise.
31587 * sunrpc/rpcsvc/rusers.x: Likewise.
31588 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31589 * sunrpc/rpcsvc/spray.x: Likewise.
31590 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31591 * sunrpc/rtime.c: Likewise.
31592 * sunrpc/svc.c: Likewise.
31593 * sunrpc/svc_auth.c: Likewise.
31594 * sunrpc/svc_authux.c: Likewise.
31595 * sunrpc/svc_raw.c: Likewise.
31596 * sunrpc/svc_run.c: Likewise.
31597 * sunrpc/svc_simple.c: Likewise.
31598 * sunrpc/svc_tcp.c: Likewise.
31599 * sunrpc/svc_udp.c: Likewise.
31600 * sunrpc/svc_unix.c: Likewise.
31601 * sunrpc/svcauth_des.c: Likewise.
31602 * sunrpc/xcrypt.c: Likewise.
31603 * sunrpc/xdr.c: Likewise.
31604 * sunrpc/xdr_array.c: Likewise.
31605 * sunrpc/xdr_float.c: Likewise.
31606 * sunrpc/xdr_mem.c: Likewise.
31607 * sunrpc/xdr_rec.c: Likewise.
31608 * sunrpc/xdr_ref.c: Likewise.
31609 * sunrpc/xdr_sizeof.c: Likewise.
31610 * sunrpc/xdr_stdio.c: Likewise.
31611
9da4bb31
UD
31612 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31613 handling.
31614
bdaa77bc
AS
316152010-08-19 Andreas Schwab <schwab@redhat.com>
31616
31617 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31618
fe2f79db
LM
316192010-08-19 Luis Machado <luisgpm@br.ibm.com>
31620
31621 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31624 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31626 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31628 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31631 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31633 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31635
b9b42ee0
AB
316362010-07-26 Anton Blanchard <anton@samba.org>
31637
31638 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31639 * malloc/arena.c (heap_trim): Likewise.
31640
1c06ba31
UD
316412010-08-16 Ulrich Drepper <drepper@redhat.com>
31642
31643 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31644 here. Not...
31645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31646 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31647
f8392f40
L
316482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31649
31650 * sysdeps/i386/elf/Makefile: New file.
31651
3162f12e
AS
316522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31653
31654 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31655 from fanotify_init.
31656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31658
28c90b2c
UD
316592010-08-15 Ulrich Drepper <drepper@redhat.com>
31660
31661 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31662 of strncasecmp_l.
1feccb6c 31663 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31664
ca6bb004
UD
316652010-08-14 Ulrich Drepper <drepper@redhat.com>
31666
e9f82e0d
UD
31667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31668 strncase_l-nonascii.
31669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31670 Add strncase_l-ssse3.
31671 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31672 * sysdeps/x86_64/strcmp.S: Likewise.
31673 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31674 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31675 * sysdeps/x86_64/strncase.S: New file.
31676 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31677 * sysdeps/x86_64/strncase_l.S: New file.
31678 * string/Makefile (strop-tests): Add strncasecmp.
31679 * string/test-strncasecmp.c: New file.
31680
31681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31682 warning.
31683
ca6bb004
UD
31684 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31686
052fa7b3
AS
316872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31688
31689 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31690
962dba78
UD
316912010-08-12 Ulrich Drepper <drepper@redhat.com>
31692
31693 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31696
bebff237
AM
316972010-05-01 Alan Modra <amodra@gmail.com>
31698
31699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31700 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31701 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31702 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31703 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31704 tidying. Don't tail-call __sigjmp_save for static lib.
31705 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31706 save location.
31707 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31708 (CALL_MCOUNT): Add eh info, and nop after bl.
31709 (TAIL_CALL_SYSCALL_ERROR): New macro.
31710 (PSEUDO_RET): Use it.
31711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31712 Correct save location of integer regs and cr.
31713 (_dl_profile_resolve): Correct cr save location. Delete nops
31714 after bl when SHARED. Reduce cfi size a little by better
31715 placement of cfi directives.
31716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31717 make a stack frame. Instead use parm save area as a temp.
31718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31719 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31721 Don't make a stack frame for parent, use parm save area.
31722 Increase child stack frame to 112 bytes. Don't save unused reg,
31723 and adjust reg usage. Set up cfi on error recovery and
31724 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31726 (__makecontext): Add dummy nop after jump to exit.
31727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31728 Use correct parm save area and cr save, reduce stack frame.
31729 Correct cfi for possible PSEUDO_RET frame setup.
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31731 Branch to local label emitted by PSEUDO_RET rather than
31732 __syscall_error.
31733
02637374
AS
317342010-08-12 Andreas Schwab <schwab@redhat.com>
31735
31736 [BZ #11904]
31737 * locale/programs/locale.c (print_assignment): New function.
31738 (show_locale_vars): Use it.
31739
c3e2f19b
UD
317402010-08-11 Ulrich Drepper <drepper@redhat.com>
31741
3cdaa6ad
UD
31742 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31743 field.
31744 (struct statfs64): Likewise.
31745 (_STATFS_F_FLAGS): Define.
31746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31748 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31749 (ST_VALID): Define locally.
31750 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31751 __statvfs_getflags, use the provided value.
31752 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31753 __ASSUME_STATFS_F_FLAGS.
31754
754f7da3
UD
31755 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31756
10b3bedc
UD
31757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31758 Add sys/fanotify.h.
31759 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31760 fanotify_mask for GLIBC_2.13.
31761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31762 fanotify_init and fanotify_mark.
31763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31764 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31765
c08fb0d7
UD
31766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31767 Add prlimit.
31768 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31769 prlimit64 for GLIBC_2.13.
31770 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31771 prlimit64.
31772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31773 syscall.
31774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31776 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31779 add prlimit alias.
31780 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31781
15bac72b
UD
31782 [BZ #11903]
31783 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31784 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31785
c3e2f19b
UD
31786 * nss/Makefile: Add rules to build and run tst-nss-test1.
31787 * shlib-versions: Add entry for libnss_test1.
31788 * nss/nss_test1.c: New file.
31789 * nss/tst-nss-test1.c: New file.
31790
31791 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31792 (__nss_configure_lookup): Set appropriate entry in
31793 __nss_configure_lookup to true.
31794 * nss/nsswitch.h: Define enum with indeces of databases in
31795 databases and __nss_database_custom arrays. Declare
31796 __nss_database_custom.
31797 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31798 to avoid using nscd when custom rules are installed.
31799 * nss/getXXbyYY_r.c: Likewise.
31800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31801
31802 * nss/nss_files/files-parse.c: Whitespace fixes.
31803
f15ce4d8
UD
318042010-08-09 Ulrich Drepper <drepper@redhat.com>
31805
31806 [BZ #11883]
31807 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31808 * posix/fnmatch_loop.c: Likewise.
31809
d22e4cc9
AK
318102010-07-17 Andi Kleen <ak@linux.intel.com>
31811
31812 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31813 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31814 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31815 * Versions.def [GLIBC_2.13]: Add.
31816
805bc17d
UD
318172010-08-06 Ulrich Drepper <drepper@redhat.com>
31818
31819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31820 Also fail if tpwd after pwuid call is NULL.
31821
5a42321d
ST
318222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31823
31824 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31825 when converting to ms.
31826
fd3ebeda
ST
318272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31828
31829 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31830 EOPNOTSUPP errors with ENOTTY.
31831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31832 EOPNOTSUPP errors with ENOTTY.
31833
73507d3a
UD
318342010-07-31 Ulrich Drepper <drepper@redhat.com>
31835
31836 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31837 Add strcasecmp_l-ssse3.
31838 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31839 strcasecmp.
31840 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31843
fe36dd02
UD
318442010-07-30 Ulrich Drepper <drepper@redhat.com>
31845
66f6765a
UD
31846 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31847
42e08a54
UD
31848 * string/Makefile (strop-tests): Add strcasecmp.
31849 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31850 strcasecmp_l-nonascii.
31851 (gen-as-const-headers): Add locale-defines.sym.
31852 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31853 * sysdeps/x86_64/strcasecmp.S: New file.
31854 * sysdeps/x86_64/strcasecmp_l.S: New file.
31855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31856 * sysdeps/x86_64/locale-defines.sym: New file.
31857 * string/test-strcasecmp.c: New file.
31858
fe36dd02
UD
31859 * string/test-strcasestr.c: Test both ends of the range of characters.
31860 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31861
48cbc0d6
RM
318622010-07-29 Roland McGrath <roland@redhat.com>
31863
76e6d6bc 31864 [BZ #11856]
48cbc0d6
RM
31865 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31866
880113d9
UD
318672010-07-27 Ulrich Drepper <drepper@redhat.com>
31868
31869 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31870 for ld.so.
31871
deb9cabb
AS
318722010-07-27 Andreas Schwab <schwab@redhat.com>
31873
31874 * manual/memory.texi (Malloc Tunable Parameters): Document
31875 M_PERTURB.
31876
1c7570ff
RM
318772010-07-26 Roland McGrath <roland@redhat.com>
31878
31879 [BZ #11840]
31880 * configure.in (-fgnu89-inline check): Set and substitute
31881 gnu89_inline, not libc_cv_gnu89_inline.
31882 * configure: Regenerated.
31883 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31884
24fb0f88
UD
318852010-07-26 Ulrich Drepper <drepper@redhat.com>
31886
31887 * string/test-strnlen.c: New file.
31888 * string/Makefile (strop-tests): Add strnlen.
31889 * string/tester.c (test_strnlen): Add a few more test cases.
31890 * string/tst-strlen.c: Better error reporting.
31891
31892 * sysdeps/x86_64/strnlen.S: New file.
31893
8e96b93a
UD
318942010-07-24 Ulrich Drepper <drepper@redhat.com>
31895
31896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31897 lower-latency instructions.
31898
dbc676d4
UD
318992010-07-23 Ulrich Drepper <drepper@redhat.com>
31900
31901 * string/test-strcasestr.c: New file.
31902 * string/test-strstr.c: New file.
31903 * string/Makefile (strop-tests): Add strstr and strcasestr.
31904 * string/str-two-way.h: Don't undefine MAX.
31905 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31906
f6a31e0e
AS
319072010-07-21 Andreas Schwab <schwab@redhat.com>
31908
31909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31910 strcasestr-nonascii.
31911 (CFLAGS-strcasestr-nonascii.c): Define.
31912 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31914 Remove unused attribute.
31915
5dbc3b6c
RM
319162010-07-20 Roland McGrath <roland@redhat.com>
31917
31918 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31919 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31920 ld.so.cache was broken. With it, there is no way to disable dsocaps
31921 like LD_HWCAP_MASK can disable hwcaps.
31922
23d101d8
EPM
319232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31924
31925 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31926
cc9f2e47
UD
319272010-07-16 Ulrich Drepper <drepper@redhat.com>
31928
31929 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31930 call in strcasestr.
31931 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31932 __strcasestr_sse42_nonascii.
31933 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31934 strcasestr-nonascii.c.
31935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31936
77c1b069
LM
319372010-06-15 Luis Machado <luisgpm@br.ibm.com>
31938
31939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31943
440566c3
UD
319442010-07-09 Ulrich Drepper <drepper@redhat.com>
31945
31946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31947 fcntl.
31948
5be9d05d
AS
319492010-07-06 Andreas Schwab <schwab@redhat.com>
31950
c30b7ee2 31951 [BZ #11577]
5be9d05d
AS
31952 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31953 dl_signal_cerror.
31954
8a492a67
UD
319552010-07-06 Ulrich Drepper <drepper@redhat.com>
31956
31957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31958 _PC_PIPE_BUF using F_GETPIPE_SZ.
31959
713df3d5
RM
319602010-07-05 Roland McGrath <roland@redhat.com>
31961
31962 * manual/arith.texi (Rounding Functions): Fix rint description
31963 implicit in round description.
31964
702e8f14
UD
319652010-07-02 Ulrich Drepper <drepper@redhat.com>
31966
31967 * elf/Makefile: Fix linking for a few tests to make recent linker
31968 happy.
31969
52ed8be9
AS
319702010-06-30 Andreas Schwab <schwab@redhat.com>
31971
31972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31973 $(common-objpfx)libc_nonshared.a.
31974
f47c9a11
LM
319752010-06-21 Luis Machado <luisgpm@br.ibm.com>
31976
31977 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31978 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31979 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31980 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31981 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31983 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31984 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31999 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32000 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32001 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32002 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32003 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32004 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32005 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32006 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32007 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32008 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32009 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32010 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32025
6fb8cbcb
L
320262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32029 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32030 * string/memmove.c (memmove): Renamed to ...
32031 (MEMMOVE): ...this. Default to memmove.
32032 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32033 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32034 (END_CHK): Define.
32035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32036 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32037 mempcpy-ssse3-back memmove-ssse3-back.
32038 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32041 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32042 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32043 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32044 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32045 * sysdeps/x86_64/multiarch/memmove.c: New file.
32046 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32047 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32048 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32049 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32052 Define.
32053 (index_Fast_Copy_Backward): Define.
32054 (HAS_ARCH_FEATURE): Define.
32055 (HAS_FAST_REP_STRING): Define.
32056 (HAS_FAST_COPY_BACKWARD): Define.
32057
4e733bac 320582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32059
32060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32061 Restore proper fallback handling.
32062
63c4ed22
UD
320632010-06-19 Ulrich Drepper <drepper@redhat.com>
32064
ac2b484c
UD
32065 [BZ #11701]
32066 * posix/group_member.c (__group_member): Correct checking loop.
32067
63c4ed22
UD
32068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32069 OOM in getpwuid_r correctly. Return error number when the caller
32070 should return, otherwise -1.
32071 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32072 call returning > 0 value.
32073 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32074
765ade4b
AS
320752010-06-07 Andreas Schwab <schwab@redhat.com>
32076
32077 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32078 libc_nonshared.a from targets in modules-names.
32079
80da2e09
KS
320802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32081
32082 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32083 requires it.
32084
158db122
LM
320852010-06-10 Luis Machado <luisgpm@br.ibm.com>
32086
32087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32091
caa78cf8
AS
320922010-06-02 Andreas Schwab <schwab@redhat.com>
32093
32094 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32095
b2ef2c01
UD
320962010-06-14 Ulrich Drepper <drepper@redhat.com>
32097
32098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32099 and F_GETPIPE_SZ.
32100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32106
fbd643b6
RM
321072010-06-14 Roland McGrath <roland@redhat.com>
32108
32109 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32110
f32f2869
JJ
321112010-06-07 Jakub Jelinek <jakub@redhat.com>
32112
32113 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32114 __REDIRECT followed by __THROW.
32115 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32116 * posix/getopt.h (getopt): Likewise.
32117
2a50c078
EPM
321182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32119
32120 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32121 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32122 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32123 in AT_FLAGS.
32124 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32125 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32126
eb5ad2eb
LM
321272010-05-28 Luis Machado <luisgpm@br.ibm.com>
32128
32129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32130
3c88fe1e
L
321312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32132
32133 [BZ #11640]
32134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32135 Properly check family and model.
32136
d2f73151
TY
321372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32138
32139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32140
ebd2e13d
LM
321412010-05-24 Luis Machado <luisgpm@br.ibm.com>
32142
32143 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32144
b32b8b45
UD
321452010-05-21 Ulrich Drepper <drepper@redhat.com>
32146
32147 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32148 symbol reference.
32149
9acbe24d
AS
321502010-05-19 Andreas Schwab <schwab@redhat.com>
32151
32152 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32153 symbol reference.
32154
f0ccf6ea
AS
321552010-05-21 Andreas Schwab <schwab@redhat.com>
32156
3d04ff3a
AS
32157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32158 and internal_recvmmsg.
32159 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32162 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32163
f0ccf6ea
AS
32164 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32165 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32166 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32167
5b08ac57
AS
321682010-05-20 Andreas Schwab <schwab@redhat.com>
32169
32170 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32171
4828935d
LM
321722010-05-17 Luis Machado <luisgpm@br.ibm.com>
32173
32174 POWER7 optimizations.
32175 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32176 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32177
373d545e
UD
321782010-05-19 Ulrich Drepper <drepper@redhat.com>
32179
32180 * version.h: Update for 2.13 development version.
32181
21a2b1ae
AS
321822010-05-12 Andrew Stubbs <ams@codesourcery.com>
32183
32184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32185 exceptions. Return 0.
32186
3f7dcb2b
RM
321872010-05-07 Roland McGrath <roland@redhat.com>
32188
32189 * elf/ldconfig.c (main): Add a const.
32190
5f24d53a 321912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32192
a160f8d8
UD
32193 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32194 (args_options): Add no-idn option.
32195 (ahosts_keys_int): Add idn_flags to ai_flags.
32196 (parse_option): Handle 'i' option to clear idn_flags.
32197
5f24d53a
UD
32198 * malloc/malloc.c (_int_free): Possible race in the most recently
32199 added check. Only act on the data if no current modification
32200 happened.
265bb1ce
UD
32201
32202See ChangeLog.17 for earlier changes.