]> sourceware.org Git - glibc.git/blame - ChangeLog
Increase nptl test case buffer size so we really block on current Linux kernels.
[glibc.git] / ChangeLog
CommitLineData
a8fc7a03
AK
12013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2
3 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4
e4608715
CD
52013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6 Andreas Schwab <schwab@suse.de>
7 Roland McGrath <roland@hack.frob.com>
8 Joseph Myers <joseph@codesourcery.com>
9 Carlos O'Donell <carlos@redhat.com>
10
11 [BZ #15755]
12 * config.h.in: Define HAVE_PT_CHOWN.
13 * config.make.in (build-pt-chown): New variable.
14 * configure.in (--enable-pt_chown): New configure option.
15 * configure: Regenerate.
16 * login/Makefile: Include Makeconfig. Build pt_chown only if
17 build-pt-chown is enabled.
18 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19 pt_chown to fix pty ownership.
20 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21 CLOSE_ALL_FDS.
22 * manual/install.texi (Configuring and compiling): Mention
23 --enable-pt_chown. Add @findex for grantpt.
24 * INSTALL: Regenerate.
25
da2d62df
DM
262013-07-20 David S. Miller <davem@davemloft.net>
27
28 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29 difference between 32-bit and 64-bit.
30
d7e06450
CD
312013-07-15 Carlos O'Donell <carlos@redhat.com>
32
33 [BZ #15711]
34 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
35 Avoid system header dependency with -ffreestanding.
36 ($(objpfx)bits/syscall%d): Likewise.
37
f959cfd7
DM
382013-07-13 David S. Miller <davem@davemloft.net>
39
40 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41 underflows from atanl/atan2l due to bug 15319.
42 (casinh_test_data): Likewise.
43
c61f8513
DM
442013-07-07 David S. Miller <davem@davemloft.net>
45
46 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47
72c90ed0
JA
482013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
49
50 * sysdeps/i386/fpu/libm-test-ulps: Update.
51 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52
52dfbe13
SP
532013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54
55 * configure.in (--enable-lock-elision): Fix message text.
56 * INSTALL: Regenerate.
57 * configure: Regenerate.
58
3f169543
AZ
592013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60
61 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62
521c6785
AJ
632013-07-03 Andreas Jaeger <aj@suse.de>
64
65 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
66 define.
67 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
68 (ptrace_peeksiginfo_args): Add.
69 (__ptrace_peeksiginfo_flags): Add.
70 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73
d2cc15cb
AM
742013-07-03 Allan McRae <allan@archlinux.org>
75
76 * sysdeps/i386/fpu/libm-test-ulps: Update.
77
3aaeeca7
DM
782013-07-02 David S. Miller <davem@davemloft.net>
79
80 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81
5314ed1a
MT
822013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
83
84 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85
67338156
JM
862013-07-02 Joseph Myers <joseph@codesourcery.com>
87
88 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90
1717da59
AK
912013-07-02 Andi Kleen <ak@linux.intel.com>
92
93 * config.h.in (ENABLE_LOCK_ELISION): Add.
94 * configure.in (--enable-lock-elision): Add option.
95 * manual/install.texi: Document --enable lock elision.
96 * configure: Regenerate
97 * INSTALL: Regenerate.
98
1c81621c
L
992013-07-02 H.J. Lu <hongjiu.lu@intel.com>
100
101 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
102 SSE4.2 strcasecmp for libc.a.
103 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
104
77f01ab5
JM
1052013-07-02 Joseph Myers <joseph@codesourcery.com>
106
107 [BZ #13304]
108 * soft-fp/op-common.h (_FP_FMA): New macro.
109 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
110 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
111 (_FP_MUL_MEAT_1_imm): ... here.
112 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
113 (_FP_MUL_MEAT_1_wide): ... here.
114 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
115 (_FP_MUL_MEAT_1_hard): ... here.
116 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
117 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
118 (_FP_MUL_MEAT_2_wide): ... here.
119 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
120 (_FP_MUL_MEAT_2_wide_3mul): ... here.
121 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
122 (_FP_MUL_MEAT_2_gmp): ... here.
123 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
124 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
125 (_FP_MUL_MEAT_4_wide): ... here.
126 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
127 (_FP_MUL_MEAT_4_gmp): ... here.
128 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
129 (_FP_WFRACBITS_DW_S): Likewise.
130 (_FP_WFRACXBITS_DW_S): Likewise.
131 (_FP_HIGHBIT_DW_S): Likewise.
132 (FP_FMA_S): Likewise.
133 (_FP_FRAC_HIGH_DW_S): Likewise.
134 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
135 (_FP_WFRACBITS_DW_D): Likewise.
136 (_FP_WFRACXBITS_DW_D): Likewise.
137 (_FP_HIGHBIT_DW_D): Likewise.
138 (FP_FMA_D): Likewise.
139 (_FP_FRAC_HIGH_DW_D): Likewise.
140 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
141 (_FP_WFRACBITS_DW_E): Likewise.
142 (_FP_WFRACXBITS_DW_E): Likewise.
143 (_FP_HIGHBIT_DW_E): Likewise.
144 (FP_FMA_E): Likewise.
145 (_FP_FRAC_HIGH_DW_E): Likewise.
146 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
147 (_FP_WFRACBITS_DW_Q): Likewise.
148 (_FP_WFRACXBITS_DW_Q): Likewise.
149 (_FP_HIGHBIT_DW_Q): Likewise.
150 (FP_FMA_Q): Likewise.
151 (_FP_FRAC_HIGH_DW_Q): Likewise.
152 * soft-fp/fmasf4.c: New file.
153 * soft-fp/fmadf4.c: Likewise.
154 * soft-fp/fmatf4.c: Likewise.
155
6308fd9a
LD
1562013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
157
158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
159 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
160 Silvermont.
161 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
162 macro.
163 (index_Slow_SSE4_2): Likewise.
164 (index_Prefer_PMINUB_for_stringop): Likewise.
165 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
166 bit_Slow_SSE4_2 is set.
167 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
169
89cd9569
RA
1702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
171
172 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
173 rtld_global._dl_hwcap2.
174 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
175 POWER8.
176 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
177 POWER8 feature descriptions defined in _dl_hwcap2.
178 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
179 string handling for POWER8 feature bits.
180 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
181 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
182 _dl_powerpc_cap_flags.
183 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
184 * sysdeps/powerpc/rtld-global-offsets.sym
185 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
186 _dl_hwcap2 in the rtld_global_ro structure.
187
1ae8bfe0
RA
1882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
189
190 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
191 hardware capabilities in support of AT_HWCAP2.
192 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
193 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
194 GLRO(dl_hwcap2).
195 (_dl_show_auxv): Add support for calling _dl_procinfo to display
196 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
197 explicitly the unknown a_type display mechanism is used.
198 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
199 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
200 struct member.
201 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
202 to macro prototype for AT_HWCAP2 support.
203 * sysdeps/i386/dl-procinfo.h: Likewise.
204 * sysdeps/s390/dl-procinfo.h: Likewise.
205 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
206 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
207 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
208 return -1 for unknown a_type display fallback.
209 * sysdeps/sparc/dl-procinfo.h: Likewise.
210 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
211 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
212
8fbec010
JM
2132013-06-28 Joseph Myers <joseph@codesourcery.com>
214
215 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
216 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
217
0432680e
PY
2182013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
219
220 [BZ #12492]
221 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
222 mprotect making __stack_prot writable.
223
ce61a2ad
NF
2242013-06-28 Nathan Froyd <froydnj@codesourcery.com>
225 Joseph Myers <joseph@codesourcery.com>
226
227 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
228 as being properly aligned.
229
f91f1c0f
MR
2302013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
231
3d0f5d0c
MR
232 * dlfcn/modstatic5.c: New file.
233 * dlfcn/tststatic5.c: New file.
234 * dlfcn/Makefile (tests): Add tststatic5.
235 (tests-static): Likewise.
236 (modules-names): Add modstatic5.
237 (tststatic5-ENV): New variable.
238 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
239
f91f1c0f
MR
240 [BZ #15022]
241 * elf/dl-support.c (_dl_main_map): New variable.
242 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
243 (_dl_nns, _dl_load_adds): Set to 1.
244 (_dl_initial_searchlist): Refer to _dl_main_map.
245 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
246 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
247 call to _dl_get_origin.
248 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
249 around call_map.
250 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
251 * dlfcn/modstatic3.c: New file.
252 * dlfcn/tststatic3.c: New file.
253 * dlfcn/tststatic4.c: New file.
254 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
255 (tests-static): Likewise.
256 (modules-names): Add modstatic3.
257 (tststatic3-ENV, tststatic4-ENV): New variables.
258 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
259 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
260
cbe7d24b
JM
2612013-06-26 Joseph Myers <joseph@codesourcery.com>
262
263 * configure.in (CC): Require GCC version 4.4 or later.
264 * configure: Regenerated.
265 * manual/install.texi (Tools for Compilation): Update GCC version
266 requirement.
267 * INSTALL: Regenerated.
268
11b8a0e1
LD
2692013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
270
271 [BZ #15674]
bb5bb87c
L
272 * string/test-memcmp.c (check2): New.
273 (main): Call check2.
274
11b8a0e1
LD
275 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
276
b0037103
MR
2772013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
278
279 [BZ #15022]
280 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
281 over to...
282 (dl_open_worker) [!SHARED]: ... here.
283
c18c701d
RA
2842013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
285
286 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
287
1d17fa5f
RH
2882013-06-25 Richard Henderson <rth@redhat.com>
289
290 * locale/programs/locarchive.c: Include <libc-internal.h>
291
8fcb833a
JM
2922013-06-25 Joseph Myers <joseph@codesourcery.com>
293
294 * manual/texinfo.tex: Update to version 2013-06-21.17, with
295 trailing whitespace removed.
296
17db6e8d
MF
2972013-06-24 Mike Frysinger <vapier@gentoo.org>
298
299 [BZ #10283]
17db6e8d
MF
300 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
301 * locale/programs/locarchive.c: Include libc-mmap.h.
302 (prepare_address_space): Take two new outputs (the mmap base and len).
303 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
304 values.
305 (create_archive): Declare new mmap base and len values for
306 prepare_address_space, and store the result in ah.
307 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
308 (enlarge_archive): If ah->mmap_base is not NULL, use that and
309 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
310 Declare new mmap base and len values for
311 prepare_address_space, and store the result in new_ah.
312 (open_archive): Declare new mmap base and len values for
313 prepare_address_space, and store the result in ah.
314 (close_archive): If ah->mmap_base is not NULL, use that and
315 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
316 * sysdeps/generic/libc-mmap.h: New file.
317
d605071e
MF
3182013-06-24 Mike Frysinger <vapier@gentoo.org>
319
320 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
321 (ALIGN_UP): Likewise.
322 (PTR_ALIGN_DOWN): Likewise.
323 (PTR_ALIGN_UP): Likewise.
324
2f063a6e
RA
3252013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
328 entry mapped to PPC_PLATFORM_POWER8.
329 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
330 POWER8.
331 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
332 (_dl_string_platform): Add case for exporting platform position for
333 POWER8.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
335 search path to sysdeps/powerpc/powerpc32/power8 directory.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
337 search path to sysdeps/powerpc/powerpc64/power8 directory.
338 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
339 power7 directories.
340 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
341 power7 directories.
342
a31ee4b3
SP
3432013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
344
a74ca98f
SP
345 * INSTALL: Regenerate.
346
a31ee4b3
SP
347 * nscd/connections.c (nscd_init): Fix comment.
348
695c378f
JM
3492013-06-22 Joseph Myers <joseph@codesourcery.com>
350
d8412221
JM
351 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
352
695c378f
JM
353 [BZ #15667]
354 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
355 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
356
d1d54715
MR
3572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
358
359 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
360 DL_DST_REQ_STATIC.
361 (DL_DST_REQ_STATIC): Remove macro.
362
8fdda7af
JM
3632013-06-21 Joseph Myers <joseph@codesourcery.com>
364
365 [BZ #7006]
366 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
367 with a shift of 0 bits.
368
f3bc5e5a
MR
3692013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
370
371 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
372 $(tststatic-ENV).
373
be09e8c9
KK
3742013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
375
376 [BZ #15655]
377 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
378
85c2e611
AZ
3792013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380
381 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
382 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
383 accepts -fno-tree-loop-distribute-patterns.
384 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
385 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
386 recursive call.
387 * string/memset.c (memset): Likewise.
388 * string/test-memmove.c (simple_memmove): Disable loop transformation
389 to library calls.
390 * string/test-memset.c (simple_memset): Likewise.
391 * benchtests/bench-memmove.c (simple_memmove): Likewise.
392 * benchtests/bench-memset.c (simple_memset): Likewise.
393 * configure: Regenerated.
394
c91e0825
JM
3952013-06-20 Joseph Myers <joseph@codesourcery.com>
396
b8c792af
JM
397 * math/test-misc.c (main): Ignore fesetround failure when failures
398 of subsequent rounding tests would be ignored.
399
c91e0825
JM
400 [BZ #15654]
401 * math/fedisblxcpt.c (fedisableexcept): Return 0.
402 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
403 * math/fegetenv.c (__fegetenv): Return 0.
404 * math/fegetexcept.c (fegetexcept): Return 0.
405 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
406 FE_TONEAREST.
407 * math/feholdexcpt.c (feholdexcept): Return 0.
408 * math/fesetenv.c (__fesetenv): Return 0.
409 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
410 argument FE_TONEAREST.
411 * math/feupdateenv.c (__feupdateenv): Return 0.
412 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
413
bfcacbde
RM
4142013-06-18 Roland McGrath <roland@hack.frob.com>
415
416 * elf/rtld-Rules (rtld-compile-command.S): New variable.
417 (rtld-compile-command.s, rtld-compile-command.c): New variables.
418 ($(objpfx)rtld-%.os rules): Use them.
419
e55a9b25
AZ
4202013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421
422 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
423 fields.
424
346d65b3
RM
4252013-06-17 Roland McGrath <roland@hack.frob.com>
426
12086fb4
RM
427 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
428 length of target pattern, then descending length of dependency pattern.
429 * configure.in (AWK): Require gawk 3.1.2 or newer.
430 * manual/install.texi (Tools for Compilation): Say that we do.
431 * configure: Regenerated.
432
346d65b3
RM
433 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
434 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
435 * scripts/sysd-rules.awk: ... this new script.
436 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
437 than a glob-style pattern.
438
1a846317
JM
4392013-06-17 Joseph Myers <joseph@codesourcery.com>
440
441 * math/test-misc.c (main): Do not treat incorrectly rounded
442 conversions as failure unless ROUNDING_TESTS passes.
443
8fc75e6f
JM
4442013-06-15 Joseph Myers <joseph@codesourcery.com>
445
3711a167
JM
446 [BZ #15631]
447 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
448 restore exception state around main square root computation, then
449 check for inexactness explicitly.
450
8fc75e6f
JM
451 * math/libm-test.inc (fma_test_data): Add another test.
452
61dd6208
SP
4532013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
454
adf23d2c
SP
455 * manual/threads.texi (Non-POSIX Extensions): New document
456 node. Document pthread_getattr_default_np and
457 pthread_setattr_default_np.
458
61dd6208
SP
459 * Versions.def (libpthread): Add GLIBC_2.18.
460 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
462 Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
464 Likewise.
465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
466 Likewise.
467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
468 Likewise.
469 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
470 Likewise.
471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
472 Likewise.
473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
474 Likewise.
475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
476 Likewise.
477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
478 Likewise.
479
d086fc7b
LD
4802013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
481
482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
483 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
484
747ef469
SP
4852013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
486 H.J. Lu <hjl.tools@gmail.com>
487
488 [BZ #15627]
489 * sysdeps/x86_64/rtld-memset.c: Remove file.
490 * sysdeps/x86_64/rtld-memset.S: New file.
491
1b2feed2
JM
4922013-06-14 Joseph Myers <joseph@codesourcery.com>
493
494 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
495 (test_in_one_mode): Take arguments for whether the rounding mode
496 is supported for each floating-point type.
497 (do_test): Pass new arguments to test_in_one_mode using
498 ROUNDING_TESTS.
499
a58ad3f8
RM
5002013-06-13 Roland McGrath <roland@hack.frob.com>
501
502 * posix/tst-waitid.c (do_test): Distinguish different instances of
503 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
504 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
505 before entering the kernel for waitpid.
506
c204ab28
SP
5072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
508
509 * NEWS: Fix note on clock function precision. Text by Roland
510 McGrath.
511
f4a29fba
RM
5122013-06-13 Roland McGrath <roland@hack.frob.com>
513
514 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
515 it into place only when and if the sanity check passes.
516
1f24b9ad
JM
5172013-06-13 Joseph Myers <joseph@codesourcery.com>
518
519 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
520 output for whether conversion result is exact. Take argument
521 indicating whether type is IBM long double.
522 (round_for_all): Change need_exact field to ibm_ld.
523 * stdlib/tst-strtod-round.c (struct exactness): New type.
524 (struct test): Change bool ld_ok field to struct exactness exact.
525 (TEST): Update all definitions for change to field.
526 (tests): Regenerate array contents.
527 (test_in_one_mode): Take pointer to new field instead of old ld_ok
528 field value. Check for IBM long double here.
529 (do_test): Update calls to test_in_one_mode.
530
58206c68
SP
5312013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
532
533 [BZ #12515]
534 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
535 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
536
2d6f4c5b 5372013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
538
539 [BZ #15605]
540 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
541 generated by the compiler on loop optimizations.
542 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
543 general definitions.
544
94f2c076
JM
5452013-06-12 Joseph Myers <joseph@codesourcery.com>
546
547 * math/bug-nextafter.c: Include <math-tests.h>.
548 (main): Only test for exceptions if EXCEPTION_TESTS is true for
549 the relevant type.
550 * math/bug-nexttoward.c: Include <math-tests.h>.
551 (main): Only test for exceptions if EXCEPTION_TESTS is true for
552 the relevant type.
553 * math/test-misc.c: Include <math-tests.h>.
554 (main): Only test for exceptions if EXCEPTION_TESTS is true for
555 the relevant type.
556
e0e50a0a
AJ
5572013-06-12 Andreas Jaeger <aj@suse.de>
558
559 * po/ia.po: Update Interlingua translation from translation
560 project.
561
25061094
SP
5622013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
563
564 * include/fenv.h: Include stdbool.h.
565 (struct rm_ctx): New structure.
566 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
567 Define macro.
568 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
569 (SET_RESTORE_ROUNDF): Likewise.
570 (SET_RESTORE_ROUNDL): Likewise.
571 (SET_RESTORE_ROUND_NOEX): Likewise.
572 (SET_RESTORE_ROUND_NOEXF): Likewise.
573 (SET_RESTORE_ROUND_NOEXL): Likewise.
574 (SET_RESTORE_ROUND_53BIT): Likewise.
575 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
576 (libc_feresetround_noexf_ctx): Likewise.
577 (libc_feresetround_noexl_ctx): Likewise.
578 (libc_feholdsetround_53bit_ctx): Likewise.
579 (libc_feresetround_53bit_ctx): Likewise.
580 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
581 (libc_feholdexcept_setround_sse_ctx): New function.
582 (libc_fesetenv_sse_ctx): Likewise.
583 (libc_feupdateenv_sse_ctx): Likewise.
584 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
585 (libc_feholdexcept_setround_387_ctx): Likewise.
586 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
587 (libc_feholdsetround_387_prec_ctx): Likewise.
588 (libc_feholdsetround_387_ctx): Likewise.
589 (libc_feholdsetround_387_53bit_ctx): Likewise.
590 (libc_feholdsetround_sse_ctx): Likewise.
591 (libc_feresetround_sse_ctx): Likewise.
592 (libc_feresetround_387_ctx): Likewise.
593 (libc_feupdateenv_387_ctx): Likewise.
594 (libc_feholdexcept_setroundf_ctx): Define macro.
595 (libc_fesetenvf_ctx): Likewise.
596 (libc_feupdateenvf_ctx): Likewise.
597 (libc_feholdsetroundf_ctx): Likewise.
598 (libc_feresetroundf_ctx): Likewise.
599 (libc_feholdexcept_setround_ctx): Likewise.
600 (libc_fesetenv_ctx): Likewise.
601 (libc_feupdateenv_ctx): Likewise.
602 (libc_feholdsetround_ctx): Likewise.
603 (libc_feresetround_ctx): Likewise.
604 (libc_feholdexcept_setroundl_ctx): Likewise.
605 (libc_feupdateenvl_ctx): Likewise.
606 (libc_feholdsetroundl_ctx): Likewise.
607 (libc_feresetroundl_ctx): Likewise.
608 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
609 (libc_feresetround_53bit_ctx): Likewise.
610
59b30555
SP
6112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 * locale/iso-639.def: Convert to UTF-8.
614
f1d73d30
JM
6152013-06-11 Joseph Myers <joseph@codesourcery.com>
616
617 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
618 (EXCEPTION_TESTS_double): Likewise.
619 (EXCEPTION_TESTS_long_double): Likewise.
620 (EXCEPTION_TESTS): Likewise.
621 * math/libm-test.inc (test_exceptions): Only test exceptions if
622 EXCEPTION_TESTS (FLOAT).
623
94aca5e7
SP
6242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
625
626 * benchtests/Makefile (string-bench): Add strcpy_chk and
627 stpcpy_chk.
628 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
629 * benchtests/bench-stpcpy_chk.c: New file.
630 * benchtests/bench-strcpy_chk-ifunc.c: New file.
631 * benchtests/bench-strcpy_chk.c: New file.
632 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
633 code.
634 (do_test): Likewise.
635
fac0c5f2
RA
6362013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
637
638 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
639 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
640 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
641 with tabs where appropriate.
642 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
643 dl-procinfo.h.
644 [PPC_PLATFORM_PPC440]: Likewise.
645 [PPC_PLATFORM_PPC464]: Likewise.
646 [PPC_PLATFORM_PPC476]: Likewise.
647 (_dl_string_platform): Add support for detecting ppc405, ppc440,
648 ppc464, and ppc476 platform strings merging from ports/
649 dl-procinfo.h.
650
f22bc486
AS
6512013-06-11 Andreas Schwab <schwab@suse.de>
652
653 [BZ #14991]
654 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
655 (from_ucs4_idx): Regenerate.
656 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
657 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
658 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
659 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
660 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
661 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
662 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
663 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
664 from FROM_LOOP and TO_LOOP specific macros.
665 (BODY): Handle combining characters.
666 * iconvdata/BIG5HKSCS.irreversible: Update.
667 * iconvdata/BIG5HKSCS.precomposed: New file.
668 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
669 characters.
670 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
671
c1f75dc3
SP
6722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
673
4eacded2
SP
674 * include/sys/time.h: Fix indentation and add copyright header.
675
fec799f8
SP
676 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
677 (do_test): Likewise.
678 * string/test-memchr.c (do_one_test): Likewise.
679 (do_test): Likewise.
680 * string/test-memcmp.c (do_one_test): Likewise.
681 (do_test): Likewise.
682 * string/test-memcpy.c (do_one_test): Likewise.
683 (do_test): Likewise.
684 * string/test-memmem.c (do_one_test): Likewise.
685 (do_test): Likewise.
686 (do_random_tests): Likewise.
687 * string/test-memmove.c (do_one_test): Likewise.
688 (do_test): Likewise.
689 * string/test-memset.c (do_one_test): Likewise.
690 (do_test): Likewise.
691 * string/test-rawmemchr.c (do_one_test): Likewise.
692 (do_test): Likewise.
693 * string/test-strcasecmp.c (do_one_test): Likewise.
694 (do_test): Likewise.
695 * string/test-strcasestr.c (do_one_test): Likewise.
696 (do_test): Likewise.
697 * string/test-strcat.c (do_one_test): Likewise.
698 (do_test): Likewise.
699 * string/test-strchr.c (do_one_test): Likewise.
700 (do_test): Likewise.
701 * string/test-strcmp.c (do_one_test): Likewise.
702 (do_test): Likewise.
703 * string/test-strcpy.c (do_one_test): Likewise.
704 (do_test): Likewise.
705 * string/test-string.h: Likewise.
706 (test_init): Likewise.
707 * string/test-strlen.c (do_one_test): Likewise.
708 (do_test): Likewise.
709 * string/test-strncasecmp.c (do_one_test): Likewise.
710 (do_test): Likewise.
711 * string/test-strncat.c (do_one_test): Likewise.
712 (do_test): Likewise.
713 * string/test-strncmp.c (do_one_test): Likewise.
714 (do_test_limit): Likewise.
715 (do_test): Likewise.
716 * string/test-strncpy.c (do_one_test): Likewise.
717 (do_test): Likewise.
718 * string/test-strnlen.c (do_one_test): Likewise.
719 (do_test): Likewise.
720 * string/test-strpbrk.c (do_one_test): Likewise.
721 (do_test): Likewise.
722 * string/test-strrchr.c (do_one_test): Likewise.
723 (do_test): Likewise.
724 * string/test-strspn.c (do_one_test): Likewise.
725 (do_test): Likewise.
726 * string/test-strstr.c (do_one_test): Likewise.
727 (do_test): Likewise.
728
97020474
SP
729 * benchtests/Makefile (string-bench): Add string benchmarks.
730 * benchtests/bench-bcopy-ifunc.c: New file.
731 * benchtests/bench-bcopy.c: New file.
732 * benchtests/bench-bzero-ifunc.c: New file.
733 * benchtests/bench-bzero.c: New file.
734 * benchtests/bench-memccpy-ifunc.c: New file.
735 * benchtests/bench-memccpy.c: New file.
736 * benchtests/bench-memchr-ifunc.c: New file.
737 * benchtests/bench-memchr.c: New file.
738 * benchtests/bench-memcmp-ifunc.c: New file.
739 * benchtests/bench-memcmp.c: New file.
740 * benchtests/bench-memmem-ifunc.c: New file.
741 * benchtests/bench-memmem.c: New file.
742 * benchtests/bench-memmove-ifunc.c: New file.
743 * benchtests/bench-memmove.c: New file.
744 * benchtests/bench-mempcpy-ifunc.c: New file.
745 * benchtests/bench-mempcpy.c: New file.
746 * benchtests/bench-memset-ifunc.c: New file.
747 * benchtests/bench-memset.c: New file.
748 * benchtests/bench-rawmemchr-ifunc.c: New file.
749 * benchtests/bench-rawmemchr.c: New file.
750 * benchtests/bench-stpcpy-ifunc.c: New file.
751 * benchtests/bench-stpcpy.c: New file.
752 * benchtests/bench-stpncpy-ifunc.c: New file.
753 * benchtests/bench-stpncpy.c: New file.
754 * benchtests/bench-strcasecmp-ifunc.c: New file.
755 * benchtests/bench-strcasecmp.c: New file.
756 * benchtests/bench-strcasestr-ifunc.c: New file.
757 * benchtests/bench-strcasestr.c: New file.
758 * benchtests/bench-strcat-ifunc.c: New file.
759 * benchtests/bench-strcat.c: New file.
760 * benchtests/bench-strchr-ifunc.c: New file.
761 * benchtests/bench-strchr.c: New file.
762 * benchtests/bench-strchrnul-ifunc.c: New file.
763 * benchtests/bench-strchrnul.c: New file.
764 * benchtests/bench-strcmp-ifunc.c: New file.
765 * benchtests/bench-strcmp.c: New file.
766 * benchtests/bench-strcpy-ifunc.c: New file.
767 * benchtests/bench-strcpy.c: New file.
768 * benchtests/bench-strcspn-ifunc.c: New file.
769 * benchtests/bench-strcspn.c: New file.
770 * benchtests/bench-strlen-ifunc.c: New file.
771 * benchtests/bench-strlen.c: New file.
772 * benchtests/bench-strncasecmp-ifunc.c: New file.
773 * benchtests/bench-strncasecmp.c: New file.
774 * benchtests/bench-strncat-ifunc.c: New file.
775 * benchtests/bench-strncat.c: New file.
776 * benchtests/bench-strncmp-ifunc.c: New file.
777 * benchtests/bench-strncmp.c: New file.
778 * benchtests/bench-strncpy-ifunc.c: New file.
779 * benchtests/bench-strncpy.c: New file.
780 * benchtests/bench-strnlen-ifunc.c: New file.
781 * benchtests/bench-strnlen.c: New file.
782 * benchtests/bench-strpbrk-ifunc.c: New file.
783 * benchtests/bench-strpbrk.c: New file.
784 * benchtests/bench-strrchr-ifunc.c: New file.
785 * benchtests/bench-strrchr.c: New file.
786 * benchtests/bench-strspn-ifunc.c: New file.
787 * benchtests/bench-strspn.c: New file.
788 * benchtests/bench-strstr-ifunc.c: New file.
789 * benchtests/bench-strstr.c: New file.
790
c1f75dc3
SP
791 * benchtests/Makefile: Disable parallel execution of targets.
792 (string-bench): Add memcpy.
793 (benchset): New variable to store a list of benchmark sets.
794 (bench-func): Renamed from bench.
795 (bench-set): New target.
796 (bench): Depend on bench-func and bench-set.
797 * benchtests/README: Add section on benchmark sets.
798 * benchtests/bench-memcpy-ifunc.c: New file.
799 * benchtests/bench-memcpy.c: New file.
800 * benchtests/bench-string.h: New file.
801
50fd745b
AS
8022013-06-11 Andreas Schwab <schwab@suse.de>
803
804 [BZ #15577]
805 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
806 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
807 values in the triple.
808 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
809 terminator in the group key.
810
3ee7e9fe
AJ
8112013-06-11 Andreas Jaeger <aj@suse.de>
812
813 * po/zh_TW.po: Update Chinese (traditional) translation from
814 translation project.
815
89fb6835
SP
8162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
817
818 * include/time.h (__clock_gettime): Add libc_hidden_proto.
819 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
820 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
821 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
822 (clock_getcpuclockid): Likewise.
823 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
824 Add weak_alias and libc_hidden_def.
825 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
826 * rt/clock_gettime.c (clock_gettime): Rename to
827 __clock_gettime. Add weak_alias and libc_hidden_def.
828 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
829 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
830 __clock_nanosleep. Add weak_alias and libc_hidden_def.
831 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
832 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
833 Likewise.
834 * rt/clock_settime.c (clock_settime): Rename to
835 __clock_settime. Add weak_alias and libc_hidden_def.
836 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
837
0efa6f8b
JM
8382013-06-10 Joseph Myers <joseph@codesourcery.com>
839
b8c61b4b
JM
840 * mach/err_boot.sub: Remove trailing whitespace.
841 * mach/err_ipc.sub: Likewise.
842 * mach/err_mach.sub: Likewise.
843
0efa6f8b
JM
844 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
845 (ROUNDING_TESTS_double): Likewise.
846 (ROUNDING_TESTS_long_double): Likewise.
847 (ROUNDING_TESTS): Likewise.
848 * math/libm-test.inc: Include <math-tests.h>.
849 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
850 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
851 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
852 (IF_ROUND_INIT_FE_UPWARD): Likewise.
853
50b818bf
SP
8542013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
855
856 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
857 of assigning.
858
60d2f8f3
JM
8592013-06-08 Joseph Myers <joseph@codesourcery.com>
860
4902d2c3
JM
861 * sysdeps/gnu/errlist.awk: Do not generate space at end of
862 otherwise empty TRANS lines.
863 * sysdeps/gnu/errlist.c: Regenerated.
864
60d2f8f3
JM
865 * catgets/gencat.c (error_print): Use (void) in function
866 definition.
867 * crypt/crypt_util.c (__init_des): Likewise.
868 * crypt/speeds.c (Stop): Likewise.
869 (main): Likewise.
870 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
871 * inet/ruserpass.c (token): Likewise.
872 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
873 * intl/localealias.c (extend_alias_table): Likewise.
874 * intl/plural-exp.c (init_germanic_plural): Likewise.
875 * libio/fcloseall.c (__fcloseall): Likewise.
876 * libio/genops.c (_IO_flush_all): Likewise.
877 (_IO_flush_all_linebuffered): Likewise.
878 (_IO_cleanup): Likewise.
879 (_IO_iter_begin): Likewise.
880 (_IO_iter_end): Likewise.
881 (_IO_list_lock): Likewise.
882 (_IO_list_unlock): Likewise.
883 (_IO_list_resetlock): Likewise.
884 * libio/getchar.c (getchar): Likewise.
885 * libio/getchar_u.c (getchar_unlocked): Likewise.
886 * libio/getwchar.c (getwchar): Likewise.
887 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
888 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
889 * login/getpt.c (__getpt): Likewise.
890 * login/tst-utmp.c (main): Likewise.
891 * malloc/hooks.c (__malloc_check_init): Likewise.
892 * malloc/malloc.c (__malloc_stats): Likewise.
893 * malloc/mtrace.c (tr_break): Likewise.
894 (mtrace): Likewise.
895 (muntrace): Likewise.
896 * misc/fstab.c (endfsent): Likewise.
897 * misc/getclktck.c (__getclktck): Likewise.
898 * misc/getdtsz.c (__getdtablesize): Likewise.
899 * misc/gethostid.c (gethostid): Likewise.
900 * misc/getpagesize.c (__getpagesize): Likewise.
901 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
902 (__get_nprocs): Likewise.
903 (__get_phys_pages): Likewise.
904 (__get_avphys_pages): Likewise.
905 * misc/getttyent.c (getttyent): Likewise.
906 (setttyent): Likewise.
907 (endttyent): Likewise.
908 * misc/getusershell.c (getusershell): Likewise.
909 (endusershell): Likewise.
910 (setusershell): Likewise.
911 (initshells): Likewise.
912 * misc/hsearch.c (__hdestroy): Likewise.
913 * misc/sync.c (sync): Likewise.
914 * misc/syslog.c (closelog_internal): Likewise.
915 (closelog): Likewise.
916 * misc/ttyslot.c (ttyslot): Likewise.
917 * misc/vhangup.c (vhangup): Likewise.
918 * posix/fork.c (__fork): Likewise.
919 * posix/getegid.c (__getegid): Likewise.
920 * posix/geteuid.c (__geteuid): Likewise.
921 * posix/getgid.c (__getgid): Likewise.
922 * posix/getpid.c (__getpid): Likewise.
923 * posix/getppid.c (__getppid): Likewise.
924 * posix/getuid.c (__getuid): Likewise.
925 * posix/pause.c (pause): Likewise.
926 * posix/setpgrp.c (setpgrp): Likewise.
927 * posix/setsid.c (__setsid): Likewise.
928 * posix/test-vfork.c (noop): Likewise.
929 * resolv/gethnamaddr.c (_endhtent): Likewise.
930 (_gethtent): Likewise.
931 (ht_endhostent): Likewise.
932 (gethostent): Likewise.
933 (dns_service): Likewise.
934 * stdlib/drand48.c (drand48): Likewise.
935 * stdlib/lrand48.c (lrand48): Likewise.
936 * stdlib/mrand48.c (mrand48): Likewise.
937 * stdlib/rand.c (rand): Likewise.
938 * stdlib/random.c (__random): Likewise.
939 * stdlib/setenv.c (clearenv): Likewise.
940 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
941 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
942 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
943 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
944 (__get_nprocs): Likewise.
945 (__get_phys_pages): Likewise.
946 (__get_avphys_pages): Likewise.
947 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
948 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
949 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
950 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
951 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
952 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
953 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
954 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
955 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
956 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
957 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
958 * sysdeps/mach/hurd/sync.c (sync): Likewise.
959 * sysdeps/posix/clock.c (clock): Likewise.
960 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
961 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
962 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
963 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
964 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
965 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
966 (__get_nprocs_conf): Likewise.
967 (__get_phys_pages): Likewise.
968 (__get_avphys_pages): Likewise.
969 * time/clock.c (clock): Likewise.
970 * time/tzset.c (__tzname_max): Likewise.
971
2e09a79a
JM
9722013-06-07 Joseph Myers <joseph@codesourcery.com>
973
974 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
975 (__bswap_32): Do not use "register".
976 * crypt/crypt.c (_ufc_doit_r): Likewise.
977 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
978 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
979 * gmon/gmon.c (__monstartup): Likewise.
980 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
981 * hurd/hurdmalloc.c (more_memory): Likewise.
982 (malloc): Likewise.
983 (free): Likewise.
984 (realloc): Likewise.
985 (malloc_fork_prepare): Likewise.
986 (malloc_fork_parent): Likewise.
987 (malloc_fork_child): Likewise.
988 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
989 (_svcauth_des): Likewise.
990 * inet/inet_lnaof.c (inet_lnaof): Likewise.
991 * inet/inet_net.c (inet_network): Likewise.
992 * inet/inet_netof.c (inet_netof): Likewise.
993 * inet/rcmd.c (__validuser2_sa): Likewise.
994 * io/fts.c (fts_open): Likewise.
995 (fts_load): Likewise.
996 (fts_close): Likewise.
997 (fts_read): Likewise.
998 (fts_children): Likewise.
999 (fts_build): Likewise.
1000 (fts_stat): Likewise.
1001 (fts_sort): Likewise.
1002 (fts_alloc): Likewise.
1003 (fts_lfree): Likewise.
1004 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1005 (_IO_file_xsgetn): Likewise.
1006 (_IO_file_xsgetn_mmap): Likewise.
1007 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1008 (_IO_cookie_write): Likewise.
1009 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1010 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1011 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1012 * malloc/obstack.c (_obstack_begin): Likewise.
1013 (_obstack_begin_1): Likewise.
1014 (_obstack_newchunk): Likewise.
1015 (_obstack_allocated_p): Likewise.
1016 (obstack_free): Likewise.
1017 (_obstack_memory_used): Likewise.
1018 * misc/getttyent.c (getttynam): Likewise.
1019 (getttyent): Likewise.
1020 (skip): Likewise.
1021 (value): Likewise.
1022 * misc/getusershell.c (initshells): Likewise.
1023 * misc/syslog.c (__vsyslog_chk): Likewise.
1024 * misc/ttyslot.c (ttyslot): Likewise.
1025 * nis/nis_hash.c (__nis_hash): Likewise.
1026 * posix/fnmatch_loop.c (FCT): Likewise.
1027 * posix/getconf.c (print_all): Likewise.
1028 (main): Likewise.
1029 * posix/getopt.c (exchange): Likewise.
1030 * posix/glob.c (globfree): Likewise.
1031 (prefix_array): Likewise.
1032 (__glob_pattern_type): Likewise.
1033 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1034 (NS_GET32): Likewise.
1035 (NS_PUT16): Likewise.
1036 (NS_PUT32): Likewise.
1037 * resolv/gethnamaddr.c (getanswer): Likewise.
1038 (gethostbyname2): Likewise.
1039 (gethostbyaddr): Likewise.
1040 (_gethtent): Likewise.
1041 (_gethtbyname2): Likewise.
1042 (_gethtbyaddr): Likewise.
1043 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1044 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1045 * resolv/res_init.c (__res_vinit): Likewise.
1046 (net_mask): Likewise.
1047 * resolv/res_mkquery.c (outchar): Likewise.
1048 (PRINT): Likewise.
1049 * stdio-common/printf_fp.c (outchar): Likewise.
1050 (PRINT): Likewise.
1051 * stdio-common/printf_fphex.c (outchar): Likewise.
1052 (PRINT): Likewise.
1053 * stdio-common/printf_size.c (outchar): Likewise.
1054 (PRINT): Likewise.
1055 * stdio-common/test_rdwr.c (main): Likewise.
1056 * stdio-common/tfformat.c (matches): Likewise.
1057 * stdio-common/vfprintf.c (outchar): Likewise.
1058 (printf_unknown): Likewise.
1059 (buffered_vfprintf): Likewise.
1060 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1061 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1062 (ReadFile): Likewise.
1063 * stdlib/qsort.c (SWAP): Likewise.
1064 (_quicksort): Likewise.
1065 * stdlib/setenv.c (__add_to_environ): Likewise.
1066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1067 * stdlib/strtol_l.c (__strtol_l): Likewise.
1068 * stdlib/tst-strtod.c (main): Likewise.
1069 * stdlib/tst-strtol.c (main): Likewise.
1070 * stdlib/tst-strtoll.c (main): Likewise.
1071 * string/bits/string2.h (__strcmp_cc): Likewise.
1072 (__strcmp_cg): Likewise.
1073 (__strcspn_c1): Likewise.
1074 (__strcspn_c2): Likewise.
1075 (__strcspn_c3): Likewise.
1076 (__strspn_c1): Likewise.
1077 (__strspn_c2): Likewise.
1078 (__strspn_c3): Likewise.
1079 (__strsep_1c): Likewise.
1080 (__strsep_2c): Likewise.
1081 (__strsep_3c): Likewise.
1082 * string/memccpy.c (__memccpy): Likewise.
1083 * string/stpcpy.c (__stpcpy): Likewise.
1084 * string/strcmp.c (strcmp): Likewise.
1085 * string/strrchr.c (strrchr): Likewise.
1086 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1087 Likewise.
1088 * sysdeps/mach/hurd/getcwd.c
1089 (_hurd_canonicalize_directory_name_internal): Likewise.
1090 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1091 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1092 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1093 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1094 Likewise, in both definitions.
1095 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1096 definitions.
1097 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1098 64] (__bswap_64): Likewise.
1099 * time/test_time.c (main): Likewise.
1100 * time/tzfile.c (__tzfile_read): Likewise.
1101 (__tzfile_compute): Likewise.
1102 * time/tzset.c (__tzset_parse_tz): Likewise.
1103 (tzset_internal): Likewise.
1104 (compute_change): Likewise.
1105 * wcsmbs/wcscat.c (__wcscat): Likewise.
1106 * wcsmbs/wcschr.c (wcschr): Likewise.
1107 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1108 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1109 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1110 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1111 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1112 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1113 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1114 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1115 * wcsmbs/wmemset.c (wmemset): Likewise.
1116
9e54314b
JM
11172013-06-06 Joseph Myers <joseph@codesourcery.com>
1118
1119 * scripts/config.guess: Update to version 2013-05-16.
1120 * scripts/config.sub: Update to version 2013-04-24.
1121 * scripts/install-sh: Update to version 2011-11-20.07.
1122 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1123 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1124
350635a5
OB
11252013-06-06 Ondřej Bílka <neleai@seznam.cz>
1126
1127 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1128 * elf/sln.c: Likewise.
1129 * hurd/hurd/ioctl.h: Likewise.
1130 * hurd/hurdmalloc.c: Likewise.
1131 * hurd/xattr.c: Likewise.
1132 * include/shlib-compat.h: Likewise.
1133 * inet/ruserpass.c: Likewise.
1134 * libio/iofgets_u.c: Likewise.
1135 * libio/iofgetws_u.c: Likewise.
1136 * locale/programs/ld-identification.c: Likewise.
1137 * locale/programs/ld-time.c: Likewise.
1138 * mach/msg-destroy.c: Likewise.
1139 * nss/nss_files/files-netgrp.c: Likewise.
1140 * resolv/res_data.c: Likewise.
1141 * soft-fp/op-1.h: Likewise.
1142 * soft-fp/op-2.h: Likewise.
1143 * soft-fp/op-4.h: Likewise.
1144 * soft-fp/op-common.h: Likewise.
1145 * stdio-common/printf_fphex.c: Likewise.
1146 * stdlib/strtod_l.c: Likewise.
1147 * sunrpc/rpc/clnt.h: Likewise.
1148 * sysdeps/generic/framestate.c: Likewise.
1149 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1150 * sysdeps/i386/bsd-setjmp.S: Likewise.
1151 * sysdeps/i386/__longjmp.S: Likewise.
1152 * sysdeps/i386/setjmp.S: Likewise.
1153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1156 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1158 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1162 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1163 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1166 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1167 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1169 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1170 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1171 * sysdeps/ieee754/support.c: Likewise.
1172 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1173 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1174 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1175 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1176 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1177 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1178 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1179 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1180 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1181 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1182 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1183 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1184 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1185 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1186 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1187 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1190
44a988af
OB
11912013-06-05 Ondřej Bílka <neleai@seznam.cz>
1192
25506f09 1193 * posix/transbug.c: Remove executable mode.
44a988af 1194
9c84384c
JM
11952013-06-05 Joseph Myers <joseph@codesourcery.com>
1196
1197 * crypt/speeds.c: Remove trailing whitespace.
1198 * dlfcn/default.c: Likewise.
1199 * elf/ifuncdep2.c: Likewise.
1200 * elf/ifuncmain1.c: Likewise.
1201 * elf/ifuncmain1vis.c: Likewise.
1202 * elf/testobj.h: Likewise.
1203 * elf/tst-stackguard1.c: Likewise.
1204 * gmon/sys/gmon.h: Likewise.
1205 * hurd/hurdmsg.c: Likewise.
1206 * hurd/new-fd.c: Likewise.
1207 * hurd/ports-get.c: Likewise.
1208 * iconvdata/ibm1008_420.c: Likewise.
1209 * inet/tst-getni1.c: Likewise.
1210 * inet/tst-getni2.c: Likewise.
1211 * libio/ioungetc.c: Likewise.
1212 * libio/wfiledoalloc.c: Likewise.
1213 * manual/libm-err-tab.pl: Likewise.
1214 * math/w_dremf.c: Likewise.
1215 * misc/ftruncate.c: Likewise.
1216 * posix/bug-glob2.c: Likewise.
1217 * posix/tst-pcre.c: Likewise.
1218 * posix/wait4.c: Likewise.
1219 * resolv/README: Likewise.
1220 * resolv/res_debug.h: Likewise.
1221 * resolv/tst-inet_ntop.c: Likewise.
1222 * setjmp/bug269-setjmp.c: Likewise.
1223 * soft-fp/extended.h: Likewise.
1224 * soft-fp/op-1.h: Likewise.
1225 * soft-fp/op-2.h: Likewise.
1226 * soft-fp/op-4.h: Likewise.
1227 * soft-fp/op-8.h: Likewise.
1228 * soft-fp/testit.c: Likewise.
1229 * stdio-common/bug16.c: Likewise.
1230 * stdlib/random.c: Likewise.
1231 * sunrpc/rpcsvc/rquota.x: Likewise.
1232 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1233 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1235 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1236 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1237 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1238 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1239 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1240 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1241 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1242 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1243 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1244 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1248 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1261 * sysdeps/ieee754/s_lib_version.c: Likewise.
1262 * sysdeps/mach/hurd/check_fds.c: Likewise.
1263 * sysdeps/mach/hurd/getsockname.c: Likewise.
1264 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1265 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1266 * sysdeps/powerpc/bits/link.h: Likewise.
1267 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1268 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1269 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1270 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1271 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1272 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1273 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1274 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1275 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1276 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1277 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1278 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1279 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1280 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1282 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1285 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1289 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1300 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1301 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1304 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1305 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1306 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1307 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1308 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1323 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1325 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1326 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1327 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1329 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1330 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1331 * sysdeps/powerpc/sysdep.h: Likewise.
1332 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1333 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1334 * sysdeps/sh/dl-trampoline.S: Likewise.
1335 * sysdeps/sh/memset.S: Likewise.
1336 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1337 * sysdeps/sh/strlen.S: Likewise.
1338 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1339 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1340 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1341 * sysdeps/sparc/sparc32/rem.S: Likewise.
1342 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1343 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1344 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1345 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1346 * sysdeps/sparc/sparc32/urem.S: Likewise.
1347 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1348 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1349 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1350 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1351 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1352 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1353 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1354 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1355 * sysdeps/unix/bsd/times.c: Likewise.
1356 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1357 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1364 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1365 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1366 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1367 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1368 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1369 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1370 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1371 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1372 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1373 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1374 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1375 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1376 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1377 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1378 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1379 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1380 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1381 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1382 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1383 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1384 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1385 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1386 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1387 * sysdeps/x86_64/strcspn.S: Likewise.
1388
869378a5
RA
13892013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1390
1391 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1392 generated file. Regenerate properly from gen-translit.pl.
1393 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1394 locale/C-translit.h.
1395
840e2943
AS
13962013-06-05 Andreas Schwab <schwab@suse.de>
1397
1398 [BZ #15100]
1399 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1400 week as 6 instead of -1.
1401 * time/tst-strptime.c (day_tests): Add test case.
1402
4c60cb0c
SP
14032013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1404
1405 * sysdeps/generic/math_private.h
1406 (libc_feholdexcept_setround_53bit): Replace with
1407 libc_feholdsetround_53bit.
1408 (libc_feupdateenv_53bit): Replace with
1409 libc_feresetround_53bit.
1410 (SET_RESTORE_ROUND_53BIT): Adjust.
1411
d180203e
SP
14122013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
96df079a
SP
1414 * string/test-strchrnul.c: Add copyright header.
1415
d180203e
SP
1416 * posix/tst-getaddrinfo4.c: Increase test timeout.
1417
8b0ccb2d
CD
14182013-06-03 Carlos O'Donell <carlos@redhat.com>
1419
1420 [BZ #15536]
1421 * math/libm-test.inc (MAX_EXP): Remove
1422 (MIN_EXP): Define.
1423 (ulp): Use MIN_EXP - MANT_DIG.
1424 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1425
3b3c4d40
CD
14262013-05-31 Carlos O'Donell <carlos@redhat.com>
1427
1428 * po/be.po: Revert last change.
1429 * po/zh_CN.po: Likewise.
1430 * po/header.pot: Likewise.
1431
fab7ce3f
JM
14322013-05-31 Joseph Myers <joseph@codesourcery.com>
1433
1434 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1435 link-libc-deps to empty as target-specific variable.
1436 * Makerules (link-libc-args): New variable.
1437 (libc-for-link): Likewise.
1438 (link-libc-deps): Likewise.
1439 (lib%.so): Depend on $(link-libc-deps). Link with
1440 $(link-libc-args).
1441 (build-module): Link with $(link-libc-args).
1442 (build-module-asneeded): Likewise.
1443 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1444 list of objects.
1445 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1446 target-specific variable.
1447 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1448 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1449 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1450 libc.
1451 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1452 libc and ld.so.
1453 ($(objpfx)libpcprofile.so): Likewise.
1454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1455 libc_nonshared.a.
1456 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1457 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1458 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1459 $(link-libc-deps).
1460 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1461 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1462 * login/Makefile ($(objpfx)libutil.so): Likewise.
1463 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1464 * math/Makefile ($(objpfx)libm.so): Likewise.
1465 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1466 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1467 variable instead of depending directly on libc.
1468 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1469 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1470 $(link-libc-deps).
1471 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1472 libc.
1473 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1474 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1475 ($(objpfx)libanl.so): Likewise.
1476 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1477 ld.so.
1478 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1479 $(link-libc-deps).
1480 * sysdeps/i386/fpu/Makefile: Remove file.
1481 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1482 ($(objpfx)libm.so): Remove dependency on ld.so.
1483
eca5920c
PF
14842013-05-30 Patsy Franklin <pfrankli@redhat.com>
1485
1486 [BZ # 15553]
1487 * nis/yp_xdr.c (XDRMAXNAME): Define.
1488 (XDRMAXRECORD): Define.
1489 (xdr_domainname): Use XDRMAXNAME.
1490 (xdr_mapname): Likewise.
1491 (xdr_peername): Likewise.
1492 (xdr_keydat): Use XDRMAXRECORD.
1493 (xdr_valdat): Likewise.
1494
14952013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1496
1497 [BZ #14256]
1498 * manual/errno.texi (ESTALE): Update to account for more than
1499 just NFS file systems.
1500 * sysdeps/gnu/errlist.c: Regenerated.
1501
b9375348
SP
15022013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1503
1504 [BZ #15465]
1505 * elf/Makefile (tests): Add tst-null-argv.
1506 (modules-names): Add tst-null-argv-lib.
1507 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1508 (tst-null-argv-ENV): Set environment for tst-null-argv.
1509 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1510 (RTLD_PROGNAME): New macro.
1511 * elf/tst-null-argv.c: New test case.
1512 * elf/tst-null-argv-lib.c: Library for test case.
1513 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1514 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1515 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1516 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1517 * elf/dl-init.c (call_init): Likewise.
1518 (_dl_init): Likewise.
1519 * elf/dl-load.c (print_search_path): Likewise.
1520 (_dl_map_object): Likewise.
1521 * elf/dl-lookup.c (do_lookup_x): Likewise.
1522 (add_dependency): Likewise.
1523 (_dl_lookup_symbol_x): Likewise.
1524 (_dl_debug_bindings): Likewise.
1525 * elf/dl-open.c (_dl_show_scope): Likewise.
1526 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1527 * elf/dl-version.c (match_symbol): Likewise.
1528 (_dl_check_map_versions): Likewise.
1529 * elf/rtld.c (dl_main): Likewise.
1530 (print_unresolved): Use RTLD_PROGNAME.
1531 (print_missing_version): Likewise.
1532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1533 (elf_machine_rela): Likewise.
1534 * sysdeps/powerpc/powerpc32/dl-machine.c
1535 (__process_machine_rela): Likewise.
1536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1537 Likewise.
1538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1539 Likewise.
1540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1541 Likewise.
1542 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1544 Likewise.
1545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1546 Likewise.
1547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1548
8a9f20c8
CD
15492013-05-28 Carlos O'Donell <carlos@redhat.com>
1550
1551 * po/be.po: Add descriptive title.
1552 * po/zh_CN.po: Likewise.
1553 * po/header.pot: Likewise.
1554
0e60d68e
MF
15552013-05-28 Mike Frysinger <vapier@gentoo.org>
1556
1557 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1558 error message.
1559 (enlarge_archive): Likewise.
1560
56b672e9
BN
15612013-05-28 Ben North <ben@redfrontdoor.org>
1562
1563 * manual/arith.texi (frexp): It is the magnitude of the return
1564 value which lies in [0.5, 1), not the return value itself.
1565
5e056687
AZ
15662013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567
1568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1569
2b66ef5d
TS
15702013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1571
528c2405
TS
1572 * stdio-common/bug26.c (main): Correct fscanf template.
1573
07b4c13d
TS
1574 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1575 declare _dl_skip_args.
1576
ec9dd97c
TS
1577 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1578 Don't declare.
1579
2b66ef5d
TS
1580 * manual/platform.texi: Add missing @end deftypefun.
1581
4f8dfe27
JM
15822013-05-24 Joseph Myers <joseph@codesourcery.com>
1583
0323d086
JM
1584 [BZ #15529]
1585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1586 bit of mantissa of 2^16382.
1587 * math/libm-test.inc (hypot_test_data): Add more tests.
1588
dd4259b9
JM
1589 * math/libm-test.inc: Add drem and pow10 to list of tested
1590 functions.
1591 (pow10_test): New function.
1592 (drem_test): Likewise.
1593 (drem_test_tonearest): Likewise.
1594 (drem_test_towardzero): Likewise.
1595 (drem_test_downward): Likewise.
1596 (drem_test_upward): Likewise.
1597 (main): Call the new functions.
1598
4f8dfe27
JM
1599 * math/libm-test.inc (finite_test_data): Remove.
1600 (finite_test): Run tests from isfinite_test_data.
1601 (gamma_test_data): Remove.
1602 (gamma_test): Run tests from lgamma_test_data.
1603 * sysdeps/i386/fpu/libm-test-ulps: Update.
1604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1605
d116b7c4
AZ
16062013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607
1608 * manual/platform.texi: Add PowerPC PPR function set documentation.
1609 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1610 implementation.
1611
e96e3767
CD
16122013-05-24 Carlos O'Donell <carlos@redhat.com>
1613
1614 * math/libm-test.inc (MAX_EXP): Define.
1615 (ULPDIFF): Define.
1616 (ulp): New function.
1617 (check_float_internal): Use ULPDIFF.
1618 (cpow_test): Disable failing test.
1619 (check_ulp): Test ulp() implemetnation.
1620 (main): Call check_ulp before starting tests.
1621
b679a606
JM
16222013-05-24 Joseph Myers <joseph@codesourcery.com>
1623
e8bdba36
JM
1624 * math/gen-libm-test.pl (generate_testfile): Do not handle
1625 START_DATA and END_DATA.
1626 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1627 END_DATA.
1628 (acos_tonearest_test_data): Likewise.
1629 (acos_towardzero_test_data): Likewise.
1630 (acos_downward_test_data): Likewise.
1631 (acos_upward_test_data): Likewise.
1632 (acosh_test_data): Likewise.
1633 (asin_test_data): Likewise.
1634 (asin_tonearest_test_data): Likewise.
1635 (asin_towardzero_test_data): Likewise.
1636 (asin_downward_test_data): Likewise.
1637 (asin_upward_test_data): Likewise.
1638 (asinh_test_data): Likewise.
1639 (atan_test_data): Likewise.
1640 (atanh_test_data): Likewise.
1641 (atan2_test_data): Likewise.
1642 (cabs_test_data): Likewise.
1643 (cacos_test_data): Likewise.
1644 (cacosh_test_data): Likewise.
1645 (carg_test_data): Likewise.
1646 (casin_test_data): Likewise.
1647 (casinh_test_data): Likewise.
1648 (catan_test_data): Likewise.
1649 (catanh_test_data): Likewise.
1650 (cbrt_test_data): Likewise.
1651 (ccos_test_data): Likewise.
1652 (ccosh_test_data): Likewise.
1653 (ceil_test_data): Likewise.
1654 (cexp_test_data): Likewise.
1655 (cimag_test_data): Likewise.
1656 (clog_test_data): Likewise.
1657 (clog10_test_data): Likewise.
1658 (conj_test_data): Likewise.
1659 (copysign_test_data): Likewise.
1660 (cos_test_data): Likewise.
1661 (cos_tonearest_test_data): Likewise.
1662 (cos_towardzero_test_data): Likewise.
1663 (cos_downward_test_data): Likewise.
1664 (cos_upward_test_data): Likewise.
1665 (cosh_test_data): Likewise.
1666 (cosh_tonearest_test_data): Likewise.
1667 (cosh_towardzero_test_data): Likewise.
1668 (cosh_downward_test_data): Likewise.
1669 (cosh_upward_test_data): Likewise.
1670 (cpow_test_data): Likewise.
1671 (cproj_test_data): Likewise.
1672 (creal_test_data): Likewise.
1673 (csin_test_data): Likewise.
1674 (csinh_test_data): Likewise.
1675 (csqrt_test_data): Likewise.
1676 (ctan_test_data): Likewise.
1677 (ctan_tonearest_test_data): Likewise.
1678 (ctan_towardzero_test_data): Likewise.
1679 (ctan_downward_test_data): Likewise.
1680 (ctan_upward_test_data): Likewise.
1681 (ctanh_test_data): Likewise.
1682 (ctanh_tonearest_test_data): Likewise.
1683 (ctanh_towardzero_test_data): Likewise.
1684 (ctanh_downward_test_data): Likewise.
1685 (ctanh_upward_test_data): Likewise.
1686 (erf_test_data): Likewise.
1687 (erfc_test_data): Likewise.
1688 (exp_test_data): Likewise.
1689 (exp_tonearest_test_data): Likewise.
1690 (exp_towardzero_test_data): Likewise.
1691 (exp_downward_test_data): Likewise.
1692 (exp_upward_test_data): Likewise.
1693 (exp10_test_data): Likewise.
1694 (exp2_test_data): Likewise.
1695 (expm1_test_data): Likewise.
1696 (fabs_test_data): Likewise.
1697 (fdim_test_data): Likewise.
1698 (finite_test_data): Likewise.
1699 (floor_test_data): Likewise.
1700 (fma_test_data): Likewise.
1701 (fma_towardzero_test_data): Likewise.
1702 (fma_downward_test_data): Likewise.
1703 (fma_upward_test_data): Likewise.
1704 (fmax_test_data): Likewise.
1705 (fmin_test_data): Likewise.
1706 (fmod_test_data): Likewise.
1707 (fpclassify_test_data): Likewise.
1708 (frexp_test_data): Likewise.
1709 (gamma_test_data): Likewise.
1710 (hypot_test_data): Likewise.
1711 (ilogb_test_data): Likewise.
1712 (isfinite_test_data): Likewise.
1713 (isgreater_test_data): Likewise.
1714 (isgreaterequal_test_data): Likewise.
1715 (isinf_test_data): Likewise.
1716 (isless_test_data): Likewise.
1717 (islessequal_test_data): Likewise.
1718 (islessgreater_test_data): Likewise.
1719 (isnan_test_data): Likewise.
1720 (isnormal_test_data): Likewise.
1721 (issignaling_test_data): Likewise.
1722 (isunordered_test_data): Likewise.
1723 (j0_test_data): Likewise.
1724 (j1_test_data): Likewise.
1725 (jn_test_data): Likewise.
1726 (ldexp_test_data): Likewise.
1727 (lgamma_test_data): Likewise.
1728 (lrint_test_data): Likewise.
1729 (lrint_tonearest_test_data): Likewise.
1730 (lrint_towardzero_test_data): Likewise.
1731 (lrint_downward_test_data): Likewise.
1732 (lrint_upward_test_data): Likewise.
1733 (llrint_test_data): Likewise.
1734 (llrint_tonearest_test_data): Likewise.
1735 (llrint_towardzero_test_data): Likewise.
1736 (llrint_downward_test_data): Likewise.
1737 (llrint_upward_test_data): Likewise.
1738 (log_test_data): Likewise.
1739 (log10_test_data): Likewise.
1740 (log1p_test_data): Likewise.
1741 (log2_test_data): Likewise.
1742 (logb_test_data): Likewise.
1743 (logb_downward_test_data): Likewise.
1744 (lround_test_data): Likewise.
1745 (llround_test_data): Likewise.
1746 (modf_test_data): Likewise.
1747 (nearbyint_test_data): Likewise.
1748 (nextafter_test_data): Likewise.
1749 (nexttoward_test_data): Likewise.
1750 (pow_test_data): Likewise.
1751 (pow_tonearest_test_data): Likewise.
1752 (pow_towardzero_test_data): Likewise.
1753 (pow_downward_test_data): Likewise.
1754 (pow_upward_test_data): Likewise.
1755 (remainder_test_data): Likewise.
1756 (remainder_tonearest_test_data): Likewise.
1757 (remainder_towardzero_test_data): Likewise.
1758 (remainder_downward_test_data): Likewise.
1759 (remainder_upward_test_data): Likewise.
1760 (remquo_test_data): Likewise.
1761 (rint_test_data): Likewise.
1762 (rint_tonearest_test_data): Likewise.
1763 (rint_towardzero_test_data): Likewise.
1764 (rint_downward_test_data): Likewise.
1765 (rint_upward_test_data): Likewise.
1766 (round_test_data): Likewise.
1767 (scalb_test_data): Likewise.
1768 (scalbn_test_data): Likewise.
1769 (scalbln_test_data): Likewise.
1770 (signbit_test_data): Likewise.
1771 (sin_test_data): Likewise.
1772 (sin_tonearest_test_data): Likewise.
1773 (sin_towardzero_test_data): Likewise.
1774 (sin_downward_test_data): Likewise.
1775 (sin_upward_test_data): Likewise.
1776 (sincos_test_data): Likewise.
1777 (sinh_test_data): Likewise.
1778 (sinh_tonearest_test_data): Likewise.
1779 (sinh_towardzero_test_data): Likewise.
1780 (sinh_downward_test_data): Likewise.
1781 (sinh_upward_test_data): Likewise.
1782 (sqrt_test_data): Likewise.
1783 (tan_test_data): Likewise.
1784 (tan_tonearest_test_data): Likewise.
1785 (tan_towardzero_test_data): Likewise.
1786 (tan_downward_test_data): Likewise.
1787 (tan_upward_test_data): Likewise.
1788 (tanh_test_data): Likewise.
1789 (tgamma_test_data): Likewise.
1790 (trunc_test_data): Likewise.
1791 (y0_test_data): Likewise.
1792 (y1_test_data): Likewise.
1793 (yn_test_data): Likewise.
1794 (significand_test_data): Likewise.
1795
b679a606
JM
1796 * math/gen-libm-test.pl (@functions): Remove variable.
1797 (generate_testfile): Don't handle START and END lines.
1798 * math/libm-test.inc (START): New macro.
1799 (END): Likewise.
1800 (END_COMPLEX): Likewise.
1801 (acos_test): Use END macro without arguments.
1802 (acos_test_tonearest): Likewise.
1803 (acos_test_towardzero): Likewise.
1804 (acos_test_downward): Likewise.
1805 (acos_test_upward): Likewise.
1806 (acosh_test): Likewise.
1807 (asin_test): Likewise.
1808 (asin_test_tonearest): Likewise.
1809 (asin_test_towardzero): Likewise.
1810 (asin_test_downward): Likewise.
1811 (asin_test_upward): Likewise.
1812 (asinh_test): Likewise.
1813 (atan_test): Likewise.
1814 (atanh_test): Likewise.
1815 (atan2_test): Likewise.
1816 (cabs_test): Likewise.
1817 (cacos_test): Use END_COMPLEX macro without arguments.
1818 (cacosh_test): Likewise.
1819 (carg_test): Use END macro without arguments.
1820 (casin_test): Use END_COMPLEX macro without arguments.
1821 (casinh_test): Likewise.
1822 (catan_test): Likewise.
1823 (catanh_test): Likewise.
1824 (cbrt_test): Use END macro without arguments.
1825 (ccos_test): Use END_COMPLEX macro without arguments.
1826 (ccosh_test): Likewise.
1827 (ceil_test): Use END macro without arguments.
1828 (cexp_test): Use END_COMPLEX macro without arguments.
1829 (cimag_test): Use END macro without arguments.
1830 (clog_test): Use END_COMPLEX macro without arguments.
1831 (clog10_test): Likewise.
1832 (conj_test): Likewise.
1833 (copysign_test): Use END macro without arguments.
1834 (cos_test): Likewise.
1835 (cos_test_tonearest): Likewise.
1836 (cos_test_towardzero): Likewise.
1837 (cos_test_downward): Likewise.
1838 (cos_test_upward): Likewise.
1839 (cosh_test): Likewise.
1840 (cosh_test_tonearest): Likewise.
1841 (cosh_test_towardzero): Likewise.
1842 (cosh_test_downward): Likewise.
1843 (cosh_test_upward): Likewise.
1844 (cpow_test): Use END_COMPLEX macro without arguments.
1845 (cproj_test): Likewise.
1846 (creal_test): Use END macro without arguments.
1847 (csin_test): Use END_COMPLEX macro without arguments.
1848 (csinh_test): Likewise.
1849 (csqrt_test): Likewise.
1850 (ctan_test): Likewise.
1851 (ctan_test_tonearest): Likewise.
1852 (ctan_test_towardzero): Likewise.
1853 (ctan_test_downward): Likewise.
1854 (ctan_test_upward): Likewise.
1855 (ctanh_test): Likewise.
1856 (ctanh_test_tonearest): Likewise.
1857 (ctanh_test_towardzero): Likewise.
1858 (ctanh_test_downward): Likewise.
1859 (ctanh_test_upward): Likewise.
1860 (erf_test): Use END macro without arguments.
1861 (erfc_test): Likewise.
1862 (exp_test): Likewise.
1863 (exp_test_tonearest): Likewise.
1864 (exp_test_towardzero): Likewise.
1865 (exp_test_downward): Likewise.
1866 (exp_test_upward): Likewise.
1867 (exp10_test): Likewise.
1868 (exp2_test): Likewise.
1869 (expm1_test): Likewise.
1870 (fabs_test): Likewise.
1871 (fdim_test): Likewise.
1872 (finite_test): Likewise.
1873 (floor_test): Likewise.
1874 (fma_test): Likewise.
1875 (fma_test_towardzero): Likewise.
1876 (fma_test_downward): Likewise.
1877 (fma_test_upward): Likewise.
1878 (fmax_test): Likewise.
1879 (fmin_test): Likewise.
1880 (fmod_test): Likewise.
1881 (fpclassify_test): Likewise.
1882 (frexp_test): Likewise.
1883 (gamma_test): Likewise.
1884 (hypot_test): Likewise.
1885 (ilogb_test): Likewise.
1886 (isfinite_test): Likewise.
1887 (isgreater_test): Likewise.
1888 (isgreaterequal_test): Likewise.
1889 (isinf_test): Likewise.
1890 (isless_test): Likewise.
1891 (islessequal_test): Likewise.
1892 (islessgreater_test): Likewise.
1893 (isnan_test): Likewise.
1894 (isnormal_test): Likewise.
1895 (issignaling_test): Likewise.
1896 (isunordered_test): Likewise.
1897 (j0_test): Likewise.
1898 (j1_test): Likewise.
1899 (jn_test): Likewise.
1900 (ldexp_test): Likewise.
1901 (lgamma_test): Likewise.
1902 (lrint_test): Likewise.
1903 (lrint_test_tonearest): Likewise.
1904 (lrint_test_towardzero): Likewise.
1905 (lrint_test_downward): Likewise.
1906 (lrint_test_upward): Likewise.
1907 (llrint_test): Likewise.
1908 (llrint_test_tonearest): Likewise.
1909 (llrint_test_towardzero): Likewise.
1910 (llrint_test_downward): Likewise.
1911 (llrint_test_upward): Likewise.
1912 (log_test): Likewise.
1913 (log10_test): Likewise.
1914 (log1p_test): Likewise.
1915 (log2_test): Likewise.
1916 (logb_test): Likewise.
1917 (logb_test_downward): Likewise.
1918 (lround_test): Likewise.
1919 (llround_test): Likewise.
1920 (modf_test): Likewise.
1921 (nearbyint_test): Likewise.
1922 (nextafter_test): Likewise.
1923 (nexttoward_test): Likewise.
1924 (pow_test): Likewise.
1925 (pow_test_tonearest): Likewise.
1926 (pow_test_towardzero): Likewise.
1927 (pow_test_downward): Likewise.
1928 (pow_test_upward): Likewise.
1929 (remainder_test): Likewise.
1930 (remainder_test_tonearest): Likewise.
1931 (remainder_test_towardzero): Likewise.
1932 (remainder_test_downward): Likewise.
1933 (remainder_test_upward): Likewise.
1934 (remquo_test): Likewise.
1935 (rint_test): Likewise.
1936 (rint_test_tonearest): Likewise.
1937 (rint_test_towardzero): Likewise.
1938 (rint_test_downward): Likewise.
1939 (rint_test_upward): Likewise.
1940 (round_test): Likewise.
1941 (scalb_test): Likewise.
1942 (scalbn_test): Likewise.
1943 (scalbln_test): Likewise.
1944 (signbit_test): Likewise.
1945 (sin_test): Likewise.
1946 (sin_test_tonearest): Likewise.
1947 (sin_test_towardzero): Likewise.
1948 (sin_test_downward): Likewise.
1949 (sin_test_upward): Likewise.
1950 (sincos_test): Likewise.
1951 (sinh_test): Likewise.
1952 (sinh_test_tonearest): Likewise.
1953 (sinh_test_towardzero): Likewise.
1954 (sinh_test_downward): Likewise.
1955 (sinh_test_upward): Likewise.
1956 (sqrt_test): Likewise.
1957 (tan_test): Likewise.
1958 (tan_test_tonearest): Likewise.
1959 (tan_test_towardzero): Likewise.
1960 (tan_test_downward): Likewise.
1961 (tan_test_upward): Likewise.
1962 (tanh_test): Likewise.
1963 (tgamma_test): Likewise.
1964 (trunc_test): Likewise.
1965 (y0_test): Likewise.
1966 (y1_test): Likewise.
1967 (yn_test): Likewise.
1968 (significand_test): Likewise.
1969
bae143d2
OB
19702013-05-24 Ondřej Bílka <neleai@seznam.cz>
1971
1972 [BZ #15381]
1973 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1974
9323d39b
EM
19752013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1976
d4ea44a0 1977 [BZ #14894]
9323d39b
EM
1978 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1979 __ppc_mdoio and __ppc_mdoom.
1980 * manual/platform.texi: Document new functions __ppc_yield,
1981 __ppc_mdoio and __ppc_mdoom.
1982
13e23af7
CD
19832013-05-22 Carlos O'Donell <carlos@redhat.com>
1984
1985 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1986 (main): Mention "tls" pseudo-hwcap is legacy.
1987 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1988
351fe550
JM
19892013-05-22 Joseph Myers <joseph@codesourcery.com>
1990
1991 * math/gen-libm-test.pl (parse_args): Output only string of
1992 arguments as text for test name, not full call or descriptions of
1993 tests for extra outputs.
1994 (generate_testfile): Do not pass function name to parse_args.
1995 Generate this_func variable from START.
1996 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1997 field to arg_str.
1998 (struct test_ff_f_data): Likewise.
1999 (test_ff_f_data_nexttoward): Likewise.
2000 (struct test_fi_f_data): Likewise.
2001 (struct test_fl_f_data): Likewise.
2002 (struct test_if_f_data): Likewise.
2003 (struct test_fff_f_data): Likewise.
2004 (struct test_c_f_data): Likewise.
2005 (struct test_f_f1_data): Likewise. Remove field extra_name.
2006 (struct test_fF_f1_data): Likewise.
2007 (struct test_ffI_f1_data): Likewise.
2008 (struct test_c_c_data): Rename test_name field to arg_str.
2009 (struct test_cc_c_data): Likewise.
2010 (struct test_f_i_data): Likewise.
2011 (struct test_ff_i_data): Likewise.
2012 (struct test_f_l_data): Likewise.
2013 (struct test_f_L_data): Likewise.
2014 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2015 and extra2_name.
2016 (COMMON_TEST_SETUP): New macro.
2017 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2018 (COMMON_TEST_CLEANUP): Likewise.
2019 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2020 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2021 macros.
2022 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2023 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2024 macros.
2025 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2026 (RUN_TEST_fff_f): Take argument string. Call new setup and
2027 cleanup macros.
2028 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2029 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2030 macros.
2031 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2032 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2033 macros.
2034 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2035 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2036 cleanup macros.
2037 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2038 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2039 cleanup macros.
2040 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2041 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2042 cleanup macros.
2043 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2044 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2045 macros.
2046 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2047 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2048 macros.
2049 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2050 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2051 macros.
2052 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2053 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2054 cleanup macros.
2055 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2056 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2057 cleanup macros.
2058 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2059 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2060 macros.
2061 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2062 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2063 cleanup macros.
2064 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2065 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2066 macros.
2067 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2068 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2069 macros.
2070 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2071 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2072 cleanup macros.
2073 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2074
85118d4d
EBM
20752013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2076
2077 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2078 to _sifields.sigfault.
2079 (si_addr_lsb): Define new macro.
2080 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2083
7a44c18f
CD
20842013-05-03 Carlos O'Donell <carlos at redhat.com>
2085
2086 [BZ #15441]
2087 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2088 returns -1.
2089 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2090 null return -1.
2091 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2092 loading the domain.
2093
b50a7181
JM
20942013-05-22 Joseph Myers <joseph@codesourcery.com>
2095
2096 * math/gen-libm-test.pl (parse_args): Do not include expected
2097 result in test name.
2098 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2099 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2100 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2101 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2102 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104
051063c8
SP
21052013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2106
3ce9e010
SP
2107 * benchtests/Makefile: Sort function entries.
2108
051063c8
SP
2109 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2110 tanh, asinh, acosh, atanh.
2111 * benchtests/acos-inputs: New file.
2112 * benchtests/acosh-inputs: New file.
2113 * benchtests/asin-inputs: New file.
2114 * benchtests/asinh-inputs: New file.
2115 * benchtests/atanh-inputs: New file.
2116 * benchtests/cosh-inputs: New file.
2117 * benchtests/log-inputs: New file.
2118 * benchtests/sinh-inputs: New file.
2119 * benchtests/tanh-inputs: New file.
2120
47c22455
DL
21212013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2122
2123 [BZ #15339]
2124 * posix/tst-getaddrinfo4.c: New test.
2125 * posix/Makefile (tests): Add it.
2126
3d04f5db
SP
21272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2128
2129 [BZ #15339]
2130 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2131 when no services were used.
2132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2133 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2134
d5dd6189
AS
21352013-05-21 Andreas Schwab <schwab@suse.de>
2136
2137 [BZ #15014]
2138 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2139 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2140 successful.
2141 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2142 redundant variable declarations and reallocation of buffer when
2143 parsing as IPv6 address. Always set NSS status when called from
2144 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2145 buffer too small. Correct computation of needed size.
2146 * nss/Makefile (tests): Add test-digits-dots.
2147 * nss/test-digits-dots.c: New test.
2148
fef94eab
SP
21492013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
2151 * benchtests/Makefile: Remove instructions for adding
2152 benchmark tests.
2153 * benchtests/README: New file to explain how to execute and
2154 enhance the benchmark tests.
2155
e39adf43
AS
21562013-05-21 Andreas Schwab <schwab@suse.de>
2157
2158 [BZ #15493]
2159 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2160 * setjmp/tst-sigsetjmp.c: New test.
2161
b2b671b6
OB
21622013-05-20 Ondřej Bílka <neleai@seznam.cz>
2163
2164 * sysdeps/x86_64/memset.S (memset): New implementation.
2165 (__bzero): Likewise.
2166 (__memset_tail): New function.
2167
2d48b41c
OB
21682013-05-20 Ondřej Bílka <neleai@seznam.cz>
2169
2170 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2171 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2172 __memcpy_sse2_unaligned ifunc selection.
2173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2174 Add memcpy-sse2-unaligned.S.
2175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2176 Add: __memcpy_sse2_unaligned.
2177
f16cc3eb
JM
21782013-05-19 Joseph Myers <joseph@codesourcery.com>
2179
3e694268
JM
2180 [BZ #15490]
2181 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2182 math_force_eval before restoring floating-point envrionment.
2183 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2184 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2185 Likewise.
2186 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2187 <math_private.h>.
2188 (__nearbyintl): Use math_force_eval before restoring
2189 floating-point environment.
2190 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2191
db62a907
JM
2192 * math/gen-libm-test.pl (special_functions): Remove.
2193 (parse_args): Don't handle TEST_extra. Handle functions with no
2194 return value.
2195 * math/libm-test.inc (struct test_sincos_data): Replace with
2196 struct test_fFF_11_data.
2197 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2198 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2199 (sincos_test_data): Change element type to struct
2200 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2201 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2202 RUN_TEST_LOOP_sincos.
2203 * math/README.libm-test: Don't mention special handling of
2204 individual functions.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2206 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2207 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2208 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2209 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2211
f16cc3eb
JM
2212 * math/gen-libm-test.pl (get_variable): Remove function.
2213 (parse_args): Don't show pointer parameters to call in test
2214 names. Use "extra output N" in test names for extra outputs
2215 rather than naming variables.
2216
3779b5b6
JM
22172013-05-18 Joseph Myers <joseph@codesourcery.com>
2218
2ee094ff
JM
2219 [BZ #15488]
2220 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2221 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2222 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2223 double tests.
2224 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2225 disable.
2226 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2227 check_long_double.
2228
3779b5b6
JM
2229 * math/gen-libm-test.pl (@tests): Remove variable.
2230 ($count): Likewise.
2231 (new_test): Remove function.
2232 (show_exceptions): New function.
2233 (special_functions): Use show_exceptions instead of new_test.
2234 (parse_args): Likewise.
2235 (generate_testfile): Pass only function name in generated call to
2236 print_max_error or print_complex_max_error.
2237 (get_ulps): Do not handle complex tests specially.
2238 (output_test): Rename to ...
2239 (get_all_ulps_for_test): ... this. Return a string rather than
2240 printing to a file. Require ulps to be present.
2241 (output_ulps): Generate arrays rather than #defines.
2242 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2243 (struct ulp_data): New type.
2244 (BUILD_COMPLEX_ULP): Remove macro.
2245 (compare_ulp_data): New function.
2246 (find_ulps): Likewise.
2247 (find_test_ulps): Likewise.
2248 (find_function_ulps): Likewise.
2249 (find_complex_function_ulps): Likewise.
2250 (print_max_error): Determine allowed ulps using
2251 find_function_ulps.
2252 (print_complex_max_error): Determine allowed ulps using
2253 find_complex_function_ulps.
2254 (check_float_internal): Determine max ulps using find_test_ulps.
2255 (check_float): Do not take max_ulp parameter. Update call to
2256 check_float_internal.
2257 (check_complex): Likewise.
2258 (check_int): Do not take max_ulp parameter.
2259 (check_long): Likewise.
2260 (check_bool): Likewise.
2261 (check_longlong): Likewise.
2262 (struct test_f_f_data): Remove max_ulp field.
2263 (struct test_ff_f_data): Likewise.
2264 (struct test_ff_f_data_nexttoward): Likewise.
2265 (struct test_fi_f_data): Likewise.
2266 (struct test_fl_f_data): Likewise.
2267 (struct test_if_f_data): Likewise.
2268 (struct test_fff_f_data): Likewise.
2269 (struct test_c_f_data): Likewise.
2270 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2271 (struct test_fF_f1_data): Likewise.
2272 (struct test_ffI_f1_data): Likewise.
2273 (struct test_c_c_data): Remove max_ulp field.
2274 (struct test_cc_c_data): Likewise.
2275 (struct test_f_i_data): Likewise.
2276 (struct test_ff_i_data): Likewise.
2277 (struct test_f_l_data): Likewise.
2278 (struct test_f_L_data): Likewise.
2279 (struct test_sincos_data): Likewise.
2280 (RUN_TEST_f_f): Do not handle ulps.
2281 (RUN_TEST_LOOP_f_f): Likewise.
2282 (RUN_TEST_2_f): Likewise.
2283 (RUN_TEST_LOOP_2_f): Likewise.
2284 (RUN_TEST_fff_f): Likewise.
2285 (RUN_TEST_LOOP_fff_f): Likewise.
2286 (RUN_TEST_c_f): Likewise.
2287 (RUN_TEST_LOOP_c_f): Likewise.
2288 (RUN_TEST_f_f1): Likewise.
2289 (RUN_TEST_LOOP_f_f1): Likewise.
2290 (RUN_TEST_fF_f1): Likewise.
2291 (RUN_TEST_LOOP_fF_f1): Likewise.
2292 (RUN_TEST_fI_f1): Likewise.
2293 (RUN_TEST_LOOP_fI_f1): Likewise.
2294 (RUN_TEST_ffI_f1): Likewise.
2295 (RUN_TEST_LOOP_ffI_f1): Likewise.
2296 (RUN_TEST_c_c): Likewise.
2297 (RUN_TEST_LOOP_c_c): Likewise.
2298 (RUN_TEST_cc_c): Likewise.
2299 (RUN_TEST_LOOP_cc_c): Likewise.
2300 (RUN_TEST_f_i): Likewise.
2301 (RUN_TEST_LOOP_f_i): Likewise.
2302 (RUN_TEST_f_i_tg): Likewise.
2303 (RUN_TEST_LOOP_f_i_tg): Likewise.
2304 (RUN_TEST_ff_i_tg): Likewise.
2305 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2306 (RUN_TEST_f_b): Likewise.
2307 (RUN_TEST_LOOP_f_b): Likewise.
2308 (RUN_TEST_f_b_tg): Likewise.
2309 (RUN_TEST_LOOP_f_b_tg): Likewise.
2310 (RUN_TEST_f_l): Likewise.
2311 (RUN_TEST_LOOP_f_l): Likewise.
2312 (RUN_TEST_f_L): Likewise.
2313 (RUN_TEST_LOOP_f_L): Likewise.
2314 (RUN_TEST_sincos): Likewise.
2315 (RUN_TEST_LOOP_sincos): Likewise.
2316
8269107f
JM
23172013-05-17 Joseph Myers <joseph@codesourcery.com>
2318
bb38759d
JM
2319 [BZ #15480]
2320 [BZ #15485]
2321 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2322 main case of finite arguments, set rounding mode to FE_TONEAREST
2323 and discard exceptions.
2324 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2325 exceptions.
2326 (remainder_tonearest_test_data): New variable.
2327 (remainder_test_tonearest): New function.
2328 (remainder_towardzero_test_data): New variable.
2329 (remainder_test_towardzero): New function.
2330 (remainder_downward_test_data): New variable.
2331 (remainder_test_downward): New function.
2332 (remainder_upward_test_data): New variable.
2333 (remainder_test_upward): New function.
2334 (main): Call the new test functions.
2335
a00bdcf0
JM
2336 * math/libm-test.inc (struct test_f_f1_data): Remove field
2337 extra_init.
2338 (struct test_fF_f1_data): Likewise.
2339 (struct test_ffI_f1_data): Likewise.
2340 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2341 based on value of EXTRA_EXPECTED.
2342 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2343 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2344 EXTRA_VAR based on value of EXTRA_EXPECTED.
2345 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2346 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2347 EXTRA_VAR based on value of EXTRA_EXPECTED.
2348 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2349 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2350 EXTRA_VAR based on value of EXTRA_EXPECTED.
2351 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2352 * math/gen-libm-test.pl (parse_args): Don't output initializers
2353 for extra output values.
2354
de407f79
JM
2355 * math/libm-test.inc (check_int): Expect result to be exactly
2356 equal to expected value and do not handle ulps.
2357 (check_long): Likewise.
2358 (check_longlong): Likewise.
2359
8269107f
JM
2360 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2361 exceptions.
2362 (cimag_test_data): Likewise.
2363 (conj_test_data): Likewise.
2364 (copysign_test_data): Likewise.
2365 (cproj_test_data): Likewise.
2366 (creal_test_data): Likewise.
2367 (fabs_test_data): Likewise.
2368 (fdim_test_data): Likewise.
2369 (finite_test_data): Likewise.
2370 (floor_test_data): Likewise.
2371 (fmax_test_data): Likewise.
2372 (fmin_test_data): Likewise.
2373 (fmod_test_data): Likewise.
2374 (fpclassify_test_data): Likewise.
2375 (frexp_test_data): Likewise.
2376 (ilogb_test_data): Likewise.
2377 (isfinite_test_data): Likewise.
2378 (isgreater_test_data): Likewise.
2379 (isgreaterequal_test_data): Likewise.
2380 (isinf_test_data): Likewise.
2381 (isless_test_data): Likewise.
2382 (islessequal_test_data): Likewise.
2383 (islessgreater_test_data): Likewise.
2384 (isnan_test_data): Likewise.
2385 (isnormal_test_data): Likewise.
2386 (issignaling_test_data): Likewise.
2387 (isunordered_test_data): Likewise.
2388 (ldexp_test_data): Likewise.
2389 (lrint_test_data): Likewise.
2390 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2391 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2392 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2393 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2394 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2395 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2396 test input.
2397 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2398 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2399 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2400 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2401 that test input.
2402 (lrint_downward_test_data): Test for "inexact" exceptions.
2403 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2404 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2405 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2406 test input.
2407 (lrint_upward_test_data): Test for "inexact" exceptions.
2408 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2409 test input.
2410 (llrint_test_data): Test for "inexact" exceptions.
2411 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2412 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2413 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2414 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2415 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2416 (llrint_downward_test_data): Test for "inexact" exceptions.
2417 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2418 (llrint_upward_test_data): Test for "inexact" exceptions.
2419 (logb_test_data): Likewise.
2420 (logb_downward_test_data): Likewise.
2421 (nextafter_test_data): Likewise.
2422 (nexttoward_test_data): Likewise.
2423 (remainder_test_data): Likewise.
2424 (remquo_test_data): Likewise.
2425 (scalbn_test_data): Likewise.
2426 (scalbln_test_data): Likewise.
2427 (signbit_test_data): Likewise.
2428 (sqrt_test_data): Likewise.
2429 (significand_test_data): Likewise.
2430
48a18de1
SP
24312013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2432
2433 [BZ #15424]
2434 * benchtests/bench-modf.c (struct args): Mark arg0 as
2435 volatile.
2436 * scripts/bench.pl: Mark members of struct args as volatile.
2437
13d3b41a
AZ
24382013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439
68191c1d 2440 [BZ # 15497]
13d3b41a
AZ
2441 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2442 negative infinity on POWER6 or lower.
2443 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2444
2848b105
MR
24452013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2446
2447 [BZ #15442]
2448 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2449 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2450 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2451 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2452 (_FP_SETQNAN): New macro.
2453 (_FP_SETQNAN_SEMIRAW): Likewise.
2454 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2455 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2456 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2457 (FP_EXTEND): Use _FP_FRAC_SNANP.
2458 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2459 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2460 into account.
2461 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2462 New macro.
2463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2464 Likewise.
2465
323e5cb7
JM
24662013-05-16 Joseph Myers <joseph@codesourcery.com>
2467
c58b274f
JM
2468 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2469 with DIVIDE_BY_ZERO_EXCEPTION.
2470 (gamma_test_data): Likewise.
2471 (lgamma_test_data): Likewise.
2472 (log_test_data): Likewise.
2473 (log10_test_data): Likewise.
2474 (log2_test_data): Likewise.
2475 (tgamma_test_data): Likewise.
2476
0ab34904
JM
2477 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2478 (acos_test_tonearest): Likewise.
2479 (acos_test_towardzero): Likewise.
2480 (acos_test_downward): Likewise.
2481 (acos_test_upward): Likewise.
2482 (acosh_test): Likewise.
2483 (asin_test): Likewise.
2484 (asin_test_tonearest): Likewise.
2485 (asin_test_towardzero): Likewise.
2486 (asin_test_downward): Likewise.
2487 (asin_test_upward): Likewise.
2488 (asinh_test): Likewise.
2489 (atan_test): Likewise.
2490 (atanh_test): Likewise.
2491 (atan2_test): Likewise.
2492 (cabs_test): Likewise.
2493 (cacos_test): Likewise.
2494 (cacosh_test): Likewise.
2495 (casin_test): Likewise.
2496 (casinh_test): Likewise.
2497 (catan_test): Likewise.
2498 (catanh_test): Likewise.
2499 (cbrt_test): Likewise.
2500 (ccos_test): Likewise.
2501 (ccosh_test): Likewise.
2502 (cexp_test): Likewise.
2503 (clog_test): Likewise.
2504 (clog10_test): Likewise.
2505 (cos_test): Likewise.
2506 (cos_test_tonearest): Likewise.
2507 (cos_test_towardzero): Likewise.
2508 (cos_test_downward): Likewise.
2509 (cos_test_upward): Likewise.
2510 (cosh_test): Likewise.
2511 (cosh_test_tonearest): Likewise.
2512 (cosh_test_towardzero): Likewise.
2513 (cosh_test_downward): Likewise.
2514 (cosh_test_upward): Likewise.
2515 (cpow_test): Likewise.
2516 (csin_test): Likewise.
2517 (csinh_test): Likewise.
2518 (csqrt_test): Likewise.
2519 (ctan_test): Likewise.
2520 (ctan_test_tonearest): Likewise.
2521 (ctan_test_towardzero): Likewise.
2522 (ctan_test_downward): Likewise.
2523 (ctan_test_upward): Likewise.
2524 (ctanh_test): Likewise.
2525 (ctanh_test_tonearest): Likewise.
2526 (ctanh_test_towardzero): Likewise.
2527 (ctanh_test_downward): Likewise.
2528 (ctanh_test_upward): Likewise.
2529 (erf_test): Likewise.
2530 (erfc_test): Likewise.
2531 (exp_test): Likewise.
2532 (exp_test_tonearest): Likewise.
2533 (exp_test_towardzero): Likewise.
2534 (exp_test_downward): Likewise.
2535 (exp_test_upward): Likewise.
2536 (exp10_test): Likewise.
2537 (exp2_test): Likewise.
2538 (expm1_test): Likewise.
2539 (fmod_test): Likewise.
2540 (gamma_test): Likewise.
2541 (hypot_test): Likewise.
2542 (j0_test): Likewise.
2543 (j1_test): Likewise.
2544 (jn_test): Likewise.
2545 (lgamma_test): Likewise.
2546 (log_test): Likewise.
2547 (log10_test): Likewise.
2548 (log1p_test): Likewise.
2549 (log2_test): Likewise.
2550 (logb_test_downward): Likewise.
2551 (pow_test): Likewise.
2552 (pow_test_tonearest): Likewise.
2553 (pow_test_towardzero): Likewise.
2554 (pow_test_downward): Likewise.
2555 (pow_test_upward): Likewise.
2556 (remainder_test): Likewise.
2557 (remquo_test): Likewise.
2558 (sin_test): Likewise.
2559 (sin_test_tonearest): Likewise.
2560 (sin_test_towardzero): Likewise.
2561 (sin_test_downward): Likewise.
2562 (sin_test_upward): Likewise.
2563 (sincos_test): Likewise.
2564 (sinh_test): Likewise.
2565 (sinh_test_tonearest): Likewise.
2566 (sinh_test_towardzero): Likewise.
2567 (sinh_test_downward): Likewise.
2568 (sinh_test_upward): Likewise.
2569 (sqrt_test): Likewise.
2570 (tan_test): Likewise.
2571 (tan_test_tonearest): Likewise.
2572 (tan_test_towardzero): Likewise.
2573 (tan_test_downward): Likewise.
2574 (tan_test_upward): Likewise.
2575 (tanh_test): Likewise.
2576 (tgamma_test): Likewise.
2577 (y0_test): Likewise.
2578 (y1_test): Likewise.
2579 (yn_test): Likewise.
2580
323e5cb7
JM
2581 * math/gen-libm-test.pl (adjust_arg): Remove function.
2582 (special_function): Remove argument $in_func. Only handle
2583 generating output for tables of tests, not inside functions.
2584 (parse_args): Likewise.
2585 (generate_testfile): Remove variable $in_func. Update call to
2586 parse_args.
2587 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2588 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2589 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2590 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2591 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2592 (MAX_VALUE_INIT): Rename macro to max_value.
2593 (MIN_VALUE_INIT): Rename macro to min_value.
2594 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2595 (plus_zero): Remove variable.
2596 (minus_zero): Likewise.
2597 (plus_infty): Likewise.
2598 (minus_infty): Likewise.
2599 (qnan_value): Likewise.
2600 (max_value): Likewise.
2601 (min_value): Likewise.
2602 (min_subnorm_value): Likewise.
2603
e054f494
RA
26042013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2605
2606 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2607 uint64_t or uint32_t usage.
2608 * crypt/sha256-block.c: Likewise.
2609 * crypt/sha256-crypt.c: Likewise.
2610 * crypt/sha256.c: Likewise.
2611 * crypt/sha512-block.c: Likewise.
2612 * crypt/sha512-crypt.c: Likewise.
2613 * crypt/sha512.c: Likewise.
2614 * debug/backtrace-tst.c: Likewise.
2615 * debug/pcprofiledump.c: Likewise.
2616 * elf/cache.c: Likewise.
2617 * elf/dl-cache.c: Likewise.
2618 * elf/dl-misc.c: Likewise.
2619 * elf/dl-profile.c: Likewise.
2620 * elf/dl-support.c: Likewise.
2621 * elf/ldconfig.c: Likewise.
2622 * elf/sprof.c: Likewise.
2623 * iconv/dummy-repertoire.c: Likewise.
2624 * iconv/iconv_charmap.c: Likewise.
2625 * iconv/skeleton.c: Likewise.
2626 * iconvdata/8bit-generic.c: Likewise.
2627 * iconvdata/cp737.h: Likewise.
2628 * iconvdata/cp775.h: Likewise.
2629 * iconvdata/ibm1008.h: Likewise.
2630 * iconvdata/ibm1025.h: Likewise.
2631 * iconvdata/ibm1046.h: Likewise.
2632 * iconvdata/ibm1097.h: Likewise.
2633 * iconvdata/ibm1112.h: Likewise.
2634 * iconvdata/ibm1122.h: Likewise.
2635 * iconvdata/ibm1123.h: Likewise.
2636 * iconvdata/ibm1124.h: Likewise.
2637 * iconvdata/ibm1129.h: Likewise.
2638 * iconvdata/ibm1130.h: Likewise.
2639 * iconvdata/ibm1132.h: Likewise.
2640 * iconvdata/ibm1133.h: Likewise.
2641 * iconvdata/ibm1137.h: Likewise.
2642 * iconvdata/ibm1140.h: Likewise.
2643 * iconvdata/ibm1141.h: Likewise.
2644 * iconvdata/ibm1142.h: Likewise.
2645 * iconvdata/ibm1143.h: Likewise.
2646 * iconvdata/ibm1144.h: Likewise.
2647 * iconvdata/ibm1145.h: Likewise.
2648 * iconvdata/ibm1146.h: Likewise.
2649 * iconvdata/ibm1147.h: Likewise.
2650 * iconvdata/ibm1148.h: Likewise.
2651 * iconvdata/ibm1149.h: Likewise.
2652 * iconvdata/ibm1153.h: Likewise.
2653 * iconvdata/ibm1154.h: Likewise.
2654 * iconvdata/ibm1155.h: Likewise.
2655 * iconvdata/ibm1156.h: Likewise.
2656 * iconvdata/ibm1157.h: Likewise.
2657 * iconvdata/ibm1158.h: Likewise.
2658 * iconvdata/ibm1160.h: Likewise.
2659 * iconvdata/ibm1161.h: Likewise.
2660 * iconvdata/ibm1162.h: Likewise.
2661 * iconvdata/ibm1163.h: Likewise.
2662 * iconvdata/ibm1164.h: Likewise.
2663 * iconvdata/ibm1166.h: Likewise.
2664 * iconvdata/ibm1167.h: Likewise.
2665 * iconvdata/ibm12712.h: Likewise.
2666 * iconvdata/ibm1390.h: Likewise.
2667 * iconvdata/ibm1399.h: Likewise.
2668 * iconvdata/ibm16804.h: Likewise.
2669 * iconvdata/ibm4517.h: Likewise.
2670 * iconvdata/ibm4899.h: Likewise.
2671 * iconvdata/ibm4909.h: Likewise.
2672 * iconvdata/ibm4971.h: Likewise.
2673 * iconvdata/ibm5347.h: Likewise.
2674 * iconvdata/ibm803.h: Likewise.
2675 * iconvdata/ibm856.h: Likewise.
2676 * iconvdata/ibm901.h: Likewise.
2677 * iconvdata/ibm902.h: Likewise.
2678 * iconvdata/ibm9030.h: Likewise.
2679 * iconvdata/ibm9066.h: Likewise.
2680 * iconvdata/ibm921.h: Likewise.
2681 * iconvdata/ibm922.h: Likewise.
2682 * iconvdata/ibm9448.h: Likewise.
2683 * iconvdata/isiri-3342.h: Likewise.
2684 * iconvdata/jis0201.h: Likewise.
2685 * include/link.h: Likewise.
2686 * include/netdb.h: Likewise.
2687 * inet/check_native.c: Likewise.
2688 * inet/check_pf.c: Likewise.
2689 * inet/getipv4sourcefilter.c: Likewise.
2690 * inet/getnameinfo.c: Likewise.
2691 * inet/getsourcefilter.c: Likewise.
2692 * inet/htonl.c: Likewise.
2693 * inet/setipv4sourcefilter.c: Likewise.
2694 * inet/setsourcefilter.c: Likewise.
2695 * inet/test-inet6_opt.c: Likewise.
2696 * inet/tst-network.c: Likewise.
2697 * locale/C-collate.c: Likewise.
2698 * locale/C-ctype.c: Likewise.
2699 * locale/C-time.c: Likewise.
2700 * locale/C-translit.h: Likewise.
2701 * locale/loadarchive.c: Likewise.
2702 * locale/programs/3level.h: Likewise.
2703 * locale/programs/charmap.c: Likewise.
2704 * locale/programs/charmap.h: Likewise.
2705 * locale/programs/ld-address.c: Likewise.
2706 * locale/programs/ld-collate.c: Likewise.
2707 * locale/programs/ld-ctype.c: Likewise.
2708 * locale/programs/ld-identification.c: Likewise.
2709 * locale/programs/ld-measurement.c: Likewise.
2710 * locale/programs/ld-messages.c: Likewise.
2711 * locale/programs/ld-monetary.c: Likewise.
2712 * locale/programs/ld-name.c: Likewise.
2713 * locale/programs/ld-numeric.c: Likewise.
2714 * locale/programs/ld-paper.c: Likewise.
2715 * locale/programs/ld-telephone.c: Likewise.
2716 * locale/programs/ld-time.c: Likewise.
2717 * locale/programs/linereader.c: Likewise.
2718 * locale/programs/locale.c: Likewise.
2719 * locale/programs/locarchive.c: Likewise.
2720 * locale/programs/locfile.h: Likewise.
2721 * locale/programs/repertoire.c: Likewise.
2722 * locale/programs/simple-hash.c: Likewise.
2723 * locale/programs/simple-hash.h: Likewise.
2724 * malloc/memusage.c: Likewise.
2725 * malloc/memusagestat.c: Likewise.
2726 * nis/nis_defaults.c: Likewise.
2727 * nis/nis_hash.c: Likewise.
2728 * nis/nis_print.c: Likewise.
2729 * nis/nis_xdr.c: Likewise.
2730 * nscd/connections.c: Likewise.
2731 * nscd/hstcache.c: Likewise.
2732 * nscd/nscd_gethst_r.c: Likewise.
2733 * nscd/nscd_getserv_r.c: Likewise.
2734 * nscd/nscd_helper.c: Likewise.
2735 * nscd/servicescache.c: Likewise.
2736 * nss/makedb.c: Likewise.
2737 * nss/nss_db/db-XXX.c: Likewise.
2738 * nss/nss_db/db-initgroups.c: Likewise.
2739 * nss/nss_db/db-netgrp.c: Likewise.
2740 * nss/nss_files/files-network.c: Likewise.
2741 * nss/nss_files/files-parse.c: Likewise.
2742 * posix/bug-regex5.c: Likewise.
2743 * posix/fnmatch_loop.c: Likewise.
2744 * posix/regcomp.c: Likewise.
2745 * posix/regexec.c: Likewise.
2746 * posix/tst-rfc3484-2.c: Likewise.
2747 * posix/tst-rfc3484-3.c: Likewise.
2748 * posix/tst-rfc3484.c: Likewise.
2749 * resolv/nss_dns/dns-canon.c: Likewise.
2750 * resolv/nss_dns/dns-network.c: Likewise.
2751 * resolv/res_init.c: Likewise.
2752 * resolv/res_mkquery.c: Likewise.
2753 * resolv/tst-aton.c: Likewise.
2754 * stdlib/cxa_atexit.c: Likewise.
2755 * stdlib/cxa_finalize.c: Likewise.
2756 * stdlib/gen-fpioconst.c: Likewise.
2757 * stdlib/strtol_l.c: Likewise.
2758 * string/tst-endian.c: Likewise.
2759 * sunrpc/auth_des.c: Likewise.
2760 * sunrpc/clnt_udp.c: Likewise.
2761 * sunrpc/rtime.c: Likewise.
2762 * sunrpc/svcauth_des.c: Likewise.
2763 * sunrpc/xdr.c: Likewise.
2764 * sunrpc/xdr_intXX_t.c: Likewise.
2765 * sunrpc/xdr_rec.c: Likewise.
2766 * sysdeps/generic/ldconfig.h: Likewise.
2767 * sysdeps/generic/ldsodefs.h: Likewise.
2768 * sysdeps/generic/memusage.h: Likewise.
2769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2772 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2779 * sysdeps/posix/getaddrinfo.c: Likewise.
2780 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2781 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2782 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2784 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2785 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2786 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2787 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2788 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2789 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2790 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2791 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2792 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2793 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2795 * sysdeps/x86_64/dl-tls.h: Likewise.
2796 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2797 * time/alt_digit.c: Likewise.
2798 * time/era.c: Likewise.
2799 * wcsmbs/tst-c16c32-1.c: Likewise.
2800
8c75f674
JM
28012013-05-16 Joseph Myers <joseph@codesourcery.com>
2802
2803 * math/libm-test.inc (struct test_sincos_data): New type.
2804 (RUN_TEST_LOOP_sincos): New macro.
2805 (sincos_test_data): New variable.
2806 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2807
e6e49e59
RH
28082013-05-16 Richard Henderson <rth@redhat.com>
2809
2810 * math/atest-exp2.c (LIMB64): New macro.
2811 (CONSTSZ): New macro.
2812 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2813 (hexdig): Move ...
2814 (print_mpn_fp): ... to function scope.
2815 (read_mpn_hex): Remove.
2816 (get_log2): Remove.
2817 (exp2_mpn): Use mp_log2.
2818 (main): Use mp_exp1.
2819
15c7c18d
JM
28202013-05-16 Joseph Myers <joseph@codesourcery.com>
2821
105a07df
JM
2822 * math/libm-test.inc: Remove comment about not testing "inexact"
2823 exceptions.
2824 (INEXACT_EXCEPTION): New macro.
2825 (NO_INEXACT_EXCEPTION): Likewise.
2826 (INVALID_EXCEPTION_OK): Update value.
2827 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2828 (OVERFLOW_EXCEPTION_OK): Likewise.
2829 (UNDERFLOW_EXCEPTION_OK): Likewise.
2830 (IGNORE_ZERO_INF_SIGN): Likewise.
2831 (ERRNO_UNCHANGED): Likewise.
2832 (ERRNO_EDOM): Likewise.
2833 (ERRNO_ERANGE): Likewise.
2834 (test_exceptions): Handle testing "inexact" exceptions.
2835 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2836 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2837 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2838 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2839 INEXACT_EXCEPTION.
2840 (rint_towardzero_test_data): Likewise.
2841 (rint_downward_test_data): Likewise.
2842 (rint_upward_test_data): Likewise.
2843
e9eee333
JM
2844 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2845 with OVERFLOW_EXCEPTION.
2846 (exp10_test_data): Likewise.
2847 (exp2_test_data): Likewise.
2848 (expm1_test_data): Likewise.
2849 (lgamma_test_data): Likewise.
2850 (pow_test_data): Likewise.
2851 (tgamma_test_data): Likewise.
2852 (yn_test_data): Remove duplicate test of overflow.
2853
1c38ff73
JM
2854 * math/libm-test.inc (struct test_cc_c_data): New type.
2855 (RUN_TEST_LOOP_cc_c): New macro.
2856 (cpow_test_data): New variable.
2857 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2858
15c7c18d
JM
2859 * math/libm-test.inc (struct test_f_L_data): New type.
2860 (RUN_TEST_LOOP_f_L): New macro.
2861 (llrint_test_data): New variable.
2862 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2863 (llrint_tonearest_test_data): New variable.
2864 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2865 (llrint_towardzero_test_data): New variable.
2866 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2867 (llrint_downward_test_data): New variable.
2868 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2869 (llrint_upward_test_data): New variable.
2870 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2871 (llround_test_data): New variable.
2872 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2873
f137ff13
PC
28742013-05-13 Peter Collingbourne <pcc@google.com>
2875
2876 * math/atest-exp2.c (get_log2): Remove const attribute.
2877
3608cb24
JM
28782013-05-15 Joseph Myers <joseph@codesourcery.com>
2879
2880 * math/libm-test.inc (struct test_f_l_data): New type.
2881 (RUN_TEST_LOOP_f_l): New macro.
2882 (lrint_test_data): New variable.
2883 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2884 (lrint_tonearest_test_data): New variable.
2885 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2886 (lrint_towardzero_test_data): New variable.
2887 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2888 (lrint_downward_test_data): New variable.
2889 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2890 (lrint_upward_test_data): New variable.
2891 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2892 (lround_test_data): New variable.
2893 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2894
39b1f617
PC
28952013-05-15 Peter Collingbourne <pcc@google.com>
2896
1deff3dc
PC
2897 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2898 (EXTRACT_WORDS64) Use where appropriate.
2899 (INSERT_WORDS64) Likewise.
2900
791f3ba0
PC
2901 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2902 constraints with x constraints.
2903 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2904
39b1f617
PC
2905 * malloc/obstack.c (_obstack_compat): Add initializer.
2906
12fba011
EM
29072013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2908
2909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2910 si_trapno and add si_addr_lsb to _sifields.sigfault.
2911 (si_trapno): Remove macro.
2912 (si_addr_lsb): Define new macro.
2913 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2914
d369f531
JM
29152013-05-15 Joseph Myers <joseph@codesourcery.com>
2916
b861c6c4
JM
2917 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2918 instead of TEST_f_l.
2919 (llrint_test_tonearest): Likewise.
2920 (llrint_test_towardzero): Likewise.
2921 (llrint_test_downward): Likewise.
2922 (llrint_test_upward): Likewise.
2923 (llround_test): Likewise.
2924
7abeee12
JM
2925 * math/libm-test.inc (struct test_f_i_data): Add comment.
2926 (RUN_TEST_LOOP_f_b): New macro.
2927 (RUN_TEST_LOOP_f_b_tg): Likewise.
2928 (finite_test_data): New variable.
2929 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2930 (isfinite_test_data): New variable.
2931 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2932 (isinf_test_data): New variable.
2933 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2934 (isnan_test_data): New variable.
2935 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2936 (isnormal_test_data): New variable.
2937 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2938 (issignaling_test_data): New variable.
2939 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2940 (signbit_test_data): New variable.
2941 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2942
cbe8c4d3
JM
2943 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2944 with INVALID_EXCEPTION.
2945 (acosh_test_data): Likewise.
2946 (asin_test_data): Likewise.
2947 (atanh_test_data): Likewise.
2948 (fmod_test_data): Likewise.
2949 (log_test_data): Likewise.
2950 (log10_test_data): Likewise.
2951 (log2_test_data): Likewise.
2952 (pow_test_data): Likewise.
2953 (sqrt_test_data): Likewise.
2954 (y0_test_data): Likewise.
2955 (y1_test_data): Likewise.
2956 (yn_test_data): Likewise.
2957
5575c0e5
JM
2958 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2959 function contents.
2960
d369f531
JM
2961 * math/libm-test.inc (struct test_ff_i_data): New type.
2962 (RUN_TEST_LOOP_ff_i_tg): New macro.
2963 (isgreater_test_data): New variable.
2964 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2965 (isgreaterequal_test_data): New variable.
2966 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2967 (isless_test_data): New variable.
2968 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2969 (islessequal_test_data): New variable.
2970 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2971 (islessgreater_test_data): New variable.
2972 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2973 (isunordered_test_data): New variable.
2974 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2975
781fd748
DM
29762013-05-14 David S. Miller <davem@davemloft.net>
2977
2978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2979
87aa21df
JM
29802013-05-14 Joseph Myers <joseph@codesourcery.com>
2981
5e908270
JM
2982 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2983
f71172e5
JM
2984 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2985 extra_test to int.
2986 (struct test_f_i_data): Change type of max_ulp to int.
2987
8cfa635a
JM
2988 * math/libm-test.inc (test_ffI_f1_data): New type.
2989 (RUN_TEST_LOOP_ffI_f1): New macro.
2990 (remquo_test_data): New variable.
2991 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2992
2bcb36b2
JM
2993 * setjmp/tst-setjmp-fp.c: New file.
2994 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2995 (link-libm): New variable.
2996 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2997
acbd839a
JM
2998 * math/libm-test.inc (struct test_f_i_data): New type.
2999 (RUN_TEST_LOOP_f_i): New macro.
3000 (RUN_TEST_LOOP_f_i_tg): Likewise.
3001 (fpclassify_test_data): New variable.
3002 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3003 (ilogb_test_data): New variable.
3004 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3005
e414d745
JM
3006 * math/libm-test.inc (scalbln_test): Correct function name in END
3007 call.
3008
d9c2a0fd
JM
3009 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3010 (RUN_TEST_LOOP_fI_f1): New macro.
3011 (frexp_test_data): New variable.
3012 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3013
9dc9095d
JM
3014 * math/libm-test.inc (struct test_fF_f1_data): New type.
3015 (RUN_TEST_LOOP_fF_f1): New macro.
3016 (modf_test_data): New variable.
3017 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3018
87aa21df
JM
3019 * math/libm-test.inc (struct test_f_f1_data): New type.
3020 (RUN_TEST_LOOP_f_f1): New macro.
3021 (gamma_test_data): New variable.
3022 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3023 (lgamma_test_data): New variable.
3024 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3025
141af660
CD
30262013-05-13 Carlos O'Donell <carlos@redhat.com>
3027
3028 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3029 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3030 (main): Comment "tls" pseudo-hwcap.
3031
6d33265c
JM
30322013-05-13 Joseph Myers <joseph@codesourcery.com>
3033
68fc074c
JM
3034 * math/libm-test.inc (struct test_fl_f_data): New type.
3035 (RUN_TEST_LOOP_fl_f): New variable.
3036 (scalbln_test_data): New variable.
3037 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3038
243216e1
JM
3039 * math/libm-test.inc (struct test_fi_f_data): New type.
3040 (RUN_TEST_LOOP_fi_f): New macro.
3041 (ldexp_test_data): New variable.
3042 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3043 (scalbn_test_data): New variable.
3044 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3045
6a1992e2
JM
3046 * math/libm-test.inc (struct test_c_f_data): New type.
3047 (RUN_TEST_LOOP_c_f): New macro.
3048 (cabs_test_data): New variable.
3049 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3050 (carg_test_data): New variable.
3051 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3052 (cimag_test_data): New variable.
3053 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3054 (creal_test_data): New variable.
3055 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3056
0e400df5
JM
3057 * math/libm-test.inc (struct test_if_f_data): New type.
3058 (RUN_TEST_LOOP_if_f): New macro.
3059 (jn_test_data): New variable.
3060 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3061 (yn_test_data): New variable.
3062 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3063
6d33265c
JM
3064 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3065
f98ece5f
AZ
30662013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3067
3068 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3069 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3070
0f7d347b
SP
30712013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3072
43fe811b
SP
3073 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3074 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3075 (bench-deps): Add bench-timing.h.
3076 * benchtests-bench-skeleton.c: Include bench-timing.h.
3077 (main): Use TIMING_* macros instead of clock_gettime.
3078 * benchtests/bench-timing.h: New file.
3079
0f7d347b
SP
3080 [BZ #14582]
3081 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3082 Renamed from _LIB_VERSION.
3083 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3084
601a3a5f
JM
30852013-05-12 Joseph Myers <joseph@codesourcery.com>
3086
4f184d30
JM
3087 * math/libm-test.inc (struct test_fff_f_data): New type.
3088 (RUN_TEST_LOOP_fff_f): New macro.
3089 (fma_test_data): New variable.
3090 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3091 (fma_towardzero_test_data): New variable.
3092 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3093 (fma_downward_test_data): New variable.
3094 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3095 (fma_upward_test_data): New variable.
3096 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3097
08198877
JM
3098 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3099 (struct test_c_c_data): New type.
3100 (RUN_TEST_LOOP_c_c): New macro.
3101 (cacos_test_data): New variable.
3102 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3103 (cacosh_test_data): New variable.
3104 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3105 (casin_test_data): New variable.
3106 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3107 (casinh_test_data): New variable.
3108 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3109 (catan_test_data): New variable.
3110 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3111 (catanh_test_data): New variable.
3112 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3113 (ccos_test_data): New variable.
3114 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3115 (ccosh_test_data): New variable.
3116 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3117 (cexp_test_data): New variable.
3118 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3119 (clog_test_data): New variable.
3120 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3121 (clog10_test_data): New variable.
3122 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3123 (conj_test_data): New variable.
3124 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3125 (cproj_test_data): New variable.
3126 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3127 (csin_test_data): New variable.
3128 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3129 (csinh_test_data): New variable.
3130 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3131 (csqrt_test_data): New variable.
3132 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3133 (ctan_test_data): New variable.
3134 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3135 (ctan_tonearest_test_data): New variable.
3136 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3137 (ctan_towardzero_test_data): New variable.
3138 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3139 (ctan_downward_test_data): New variable.
3140 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3141 (ctan_upward_test_data): New variable.
3142 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3143 (ctanh_test_data): New variable.
3144 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3145 (ctanh_tonearest_test_data): New variable.
3146 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3147 (ctanh_towardzero_test_data): New variable.
3148 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3149 (ctanh_downward_test_data): New variable.
3150 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3151 (ctanh_upward_test_data): New variable.
3152 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3153 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3154 of BUILD_COMPLEX.
3155
601a3a5f
JM
3156 * math/libm-test.inc (struct test_ff_f_data): New type.
3157 (struct test_ff_f_data_nexttoward): Likewise.
3158 (RUN_TEST_LOOP_2_f): New macro.
3159 (RUN_TEST_LOOP_ff_f): Likewise.
3160 (atan2_test_data): New variable.
3161 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3162 (copysign_test_data): New variable.
3163 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3164 (fdim_test_data): New variable.
3165 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3166 (fmax_test_data): New variable.
3167 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3168 (fmin_test_data): New variable.
3169 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3170 (fmod_test_data): New variable.
3171 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3172 (hypot_test_data): New variable.
3173 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3174 (nextafter_test_data): New variable.
3175 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3176 (nexttoward_test_data): New variable.
3177 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3178 (pow_test_data): New variable.
3179 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3180 (pow_tonearest_test_data): New variable.
3181 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3182 (pow_towardzero_test_data): New variable.
3183 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3184 (pow_downward_test_data): New variable.
3185 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3186 (pow_upward_test_data): New variable.
3187 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3188 (remainder_test_data): New variable.
3189 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3190 (scalb_test_data): New variable.
3191 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193
74c57478
JM
31942013-05-11 Joseph Myers <joseph@codesourcery.com>
3195
8329e4da
JM
3196 * math/libm-test.inc (fma_test): Use max_value instead of local
3197 variable fltmax.
3198 (nextafter_test): Likewise.
3199
74c57478
JM
3200 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3201 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3202 (acos_downward_test_data): New variable.
3203 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3204 (acos_upward_test_data): New variable.
3205 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3206 (acosh_test_data): New variable.
3207 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3208 (asin_test_data): New variable.
3209 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3210 (asin_tonearest_test_data): New variable.
3211 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3212 (asin_towardzero_test_data): New variable.
3213 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3214 (asin_downward_test_data): New variable.
3215 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3216 (asin_upward_test_data): New variable.
3217 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3218 (asinh_test_data): New variable.
3219 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3220 (atan_test_data): New variable.
3221 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3222 (atanh_test_data): New variable.
3223 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3224 (cbrt_test_data): New variable.
3225 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3226 (ceil_test_data): New variable.
3227 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3228 (cos_test_data): New variable.
3229 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3230 (cos_tonearest_test_data): New variable.
3231 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3232 (cos_towardzero_test_data): New variable.
3233 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3234 (cos_downward_test_data): New variable.
3235 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3236 (cos_upward_test_data): New variable.
3237 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3238 (cosh_test_data): New variable.
3239 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3240 (cosh_tonearest_test_data): New variable.
3241 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3242 (cosh_towardzero_test_data): New variable.
3243 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3244 (cosh_downward_test_data): New variable.
3245 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3246 (cosh_upward_test_data): New variable.
3247 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3248 (erf_test_data): New variable.
3249 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3250 (erfc_test_data): New variable.
3251 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3252 (exp_test_data): New variable.
3253 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3254 (exp_tonearest_test_data): New variable.
3255 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3256 (exp_towardzero_test_data): New variable.
3257 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3258 (exp_downward_test_data): New variable.
3259 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3260 (exp_upward_test_data): New variable.
3261 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3262 (exp10_test_data): New variable.
3263 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3264 (exp2_test_data): New variable.
3265 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3266 (expm1_test_data): New variable.
3267 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3268 (fabs_test_data): New variable.
3269 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3270 (floor_test_data): New variable.
3271 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3272 (j0_test_data): New variable.
3273 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3274 (j1_test_data): New variable.
3275 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3276 (log_test_data): New variable.
3277 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3278 (log10_test_data): New variable.
3279 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3280 (log1p_test_data): New variable.
3281 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3282 (log2_test_data): New variable.
3283 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3284 (logb_test_data): New variable.
3285 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3286 (logb_downward_test_data): New variable.
3287 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3288 (nearbyint_test_data): New variable.
3289 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3290 (rint_test_data): New variable.
3291 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3292 (rint_tonearest_test_data): New variable.
3293 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3294 (rint_towardzero_test_data): New variable.
3295 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3296 (rint_downward_test_data): New variable.
3297 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3298 (rint_upward_test_data): New variable.
3299 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3300 (round_test_data): New variable.
3301 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3302 (sin_test_data): New variable.
3303 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3304 (sin_tonearest_test_data): New variable.
3305 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3306 (sin_towardzero_test_data): New variable.
3307 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3308 (sin_downward_test_data): New variable.
3309 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3310 (sin_upward_test_data): New variable.
3311 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3312 (sinh_test_data): New variable.
3313 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3314 (sinh_tonearest_test_data): New variable.
3315 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3316 (sinh_towardzero_test_data): New variable.
3317 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3318 (sinh_downward_test_data): New variable.
3319 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3320 (sinh_upward_test_data): New variable.
3321 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3322 (sqrt_test_data): New variable.
3323 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3324 (tan_test_data): New variable.
3325 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3326 (tan_tonearest_test_data): New variable.
3327 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3328 (tan_towardzero_test_data): New variable.
3329 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3330 (tan_downward_test_data): New variable.
3331 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3332 (tan_upward_test_data): New variable.
3333 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3334 (tanh_test_data): New variable.
3335 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3336 (tgamma_test_data): New variable.
3337 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3338 (trunc_test_data): New variable.
3339 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3340 (y0_test_data): New variable.
3341 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3342 (y1_test_data): New variable.
3343 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3344 (significand_test_data): New variable.
3345 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3346
7187d844
CG
33472013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3348
3349 [BZ #12387]
3350 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3351
f63fae73
PT
33522013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3353
3354 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3355
8a67a4b3
AJ
33562013-05-10 Andreas Jaeger <aj@suse.de>
3357
3358 [BZ #15448]
3359 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3360 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3361
51df539d
JM
33622013-05-10 Joseph Myers <joseph@codesourcery.com>
3363
3364 * math/gen-libm-test.pl (adjust_arg): New function.
3365 (special_functions): Handle generating output in both functions
3366 and arrays.
3367 (parse_args): Likewise.
3368 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3369 $in_func argument to parse_args.
3370 * math/libm-test.inc (struct test_f_f_data): New type.
3371 (IF_ROUND_INIT_): New macro.
3372 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3373 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3374 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3375 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3376 (ROUND_RESTORE_): Likewise.
3377 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3378 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3379 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3380 (ROUND_RESTORE_FE_UPWARD): Likewise.
3381 (RUN_TEST_LOOP_f_f): New macro.
3382 (acos_test_data): New variable.
3383 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3384 (acos_tonearest_test_data): New variable.
3385 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3386
5c637fe5
SP
33872013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3388
3389 * benchtests/bench-skeleton.c (startup): Fix coding style.
3390
ab2b9461
JM
33912013-05-10 Joseph Myers <joseph@codesourcery.com>
3392
3393 [BZ #6809]
3394 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3395 negative infinity argument.
3396 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3397 negative infinity argument.
3398 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3399 negative infinity argument.
3400 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3401 domain errors.
3402
4c0fe6fe
FW
34032013-05-10 Florian Weimer <fweimer@redhat.com>
3404
3405 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3406 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3407 * iconv/iconv_prog.c (main): Likewise.
3408 * locale/programs/charmap-dir.c (charmap_readdir)
3409 (fopen_uncompressed): Likewise.
3410 * locale/programs/locfile.c (siblings_uncached)
3411 (write_locale_data): Use lstat64 instead of lstat.
3412 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3413 stat.
3414
a3375d29
AJ
34152013-05-10 Andreas Jaeger <aj@suse.de>
3416
3417 [BZ #15395]
3418 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3419 localization.
3420 Include <locale.h>.
3421
36129722
CD
34222013-05-09 Carlos O'Donell <carlos@redhat.com>
3423
3424 * elf/dl-close.c (_dl_close_worker): Add comments.
3425
faa7f811
JM
34262013-05-09 Joseph Myers <joseph@codesourcery.com>
3427
ed41ffef
JM
3428 [BZ #15359]
3429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3430 high part of pi/2.
3431 (__ieee754_rem_pio2l): Update comments.
3432
d0213cd0
JM
3433 [BZ #15429]
3434 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3435 high part of pi/2.
3436 (__ieee754_rem_pio2l): Update comments.
3437
0d3e777a
JM
3438 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3439 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3440
24f56066
JM
3441 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3442 M_PI_4l.
3443
faa7f811
JM
3444 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3445 (M_PI_34_LOG10El): Likewise.
3446 (M_PI2_LOG10El): Likewise.
3447 (M_PI4_LOG10El): Likewise.
3448 (M_PI_LOG10El): Likewise.
3449
e9a5e0fd
AZ
34502013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451
3452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3453
d8cd06db
JM
34542013-05-08 Joseph Myers <joseph@codesourcery.com>
3455
a0d9f9d7
JM
3456 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3457 (MINUS_ZERO_INIT): Likewise.
3458 (PLUS_INFTY_INIT): Likewise.
3459 (MINUS_INFTY_INIT): Likewise.
3460 (QNAN_VALUE_INIT): Likewise.
3461 (MAX_VALUE_INIT): Likewise.
3462 (MIN_VALUE_INIT): Likewise.
3463 (MIN_SUBNORM_VALUE_INIT): Likewise.
3464 (plus_zero): Initialize with PLUS_ZERO_INIT.
3465 (minus_zero): Initialize with MINUS_ZERO_INIT.
3466 (plus_infty): Initialize with PLUS_INFTY_INIT.
3467 (minus_infty): Initialize with MINUS_INFTY_INIT.
3468 (qnan_value): Initialize with QNAN_VALUE_INIT.
3469 (max_value): Initialize with MAX_VALUE_INIT.
3470 (min_value): Initialize with MIN_VALUE_INIT.
3471 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3472
ae08db3b
JM
3473 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3474 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3475 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3476 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3477
f44bf14a
JM
3478 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3479 (RUN_TEST_2_f): Likewise.
3480 (RUN_TEST_ff_f): Likewise.
3481 (RUN_TEST_fi_f): Likewise.
3482 (RUN_TEST_fl_f): Likewise.
3483 (RUN_TEST_fff_f): Likewise.
3484 (RUN_TEST_c_f): Likewise.
3485 (RUN_TEST_f_f1): Likewise.
3486 (RUN_TEST_fF_f1): Likewise.
3487 (RUN_TEST_fI_f1): Likewise.
3488 (RUN_TEST_ffI_f1): Likewise.
3489 (RUN_TEST_c_c): Likewise.
3490 (RUN_TEST_cc_c): Likewise.
3491 (RUN_TEST_f_i): Likewise.
3492 (RUN_TEST_f_i_tg): Likewise.
3493 (RUN_TEST_ff_i_tg): Likewise.
3494 (RUN_TEST_f_b): Likewise.
3495 (RUN_TEST_f_b_tg): Likewise.
3496 (RUN_TEST_f_l): Likewise.
3497 (RUN_TEST_f_L): Likewise.
3498 (RUN_TEST_sincos): Likewise.
3499 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3500 whether to show exceptions. Do not include ");\n" in return
3501 value.
3502 (special_functions): Output call to RUN_TEST_sincos instead of
3503 check_float calls. Update calls to new_test.
3504 (parse_args): Output call to single RUN_TEST_* macro instead of
3505 check_* calls and other assignments. Update calls to new_test.
3506
d8cd06db
JM
3507 [BZ #2546]
3508 [BZ #2560]
3509 [BZ #5159]
3510 [BZ #15426]
3511 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3512 input to result for tgamma overflow.
3513 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3514 (gamma_coeff): New variable.
3515 (NCOEFF): New macro.
3516 (gamma_positive): New function.
3517 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3518 underflow here. Use gamma_positive instead of exp (lgamma) for
3519 other arguments.
3520 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3521 (gamma_coeff): New variable.
3522 (NCOEFF): New macro.
3523 (gammaf_positive): New function.
3524 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3525 underflow here. Use gamma_positive instead of exp (lgamma) for
3526 other arguments.
3527 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3528 (gamma_coeff): New variable.
3529 (NCOEFF): New macro.
3530 (gammal_positive): New function.
3531 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3532 underflow here. Use gamma_positive instead of exp (lgamma) for
3533 other arguments.
3534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3535 (gamma_coeff): New variable.
3536 (NCOEFF): New macro.
3537 (gammal_positive): New function.
3538 (__ieee754_gammal_r): Handle positive infinity, overflow and
3539 underflow here. Handle NaN the same as positive infinity. Remove
3540 check x < 0xffffffff for negative integers. Use gamma_positive
3541 instead of exp (lgamma) for other arguments.
3542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3543 (gamma_coeff): New variable.
3544 (NCOEFF): New macro.
3545 (gammal_positive): New function.
3546 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3547 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3551 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3552 * sysdeps/generic/math_private.h (__gamma_productf): New
3553 prototype.
3554 (__gamma_product): Likewise.
3555 (__gamma_productl): Likewise.
3556 * math/Makefile (libm-calls): Add gamma_product.
3557 * math/libm-test.inc (tgamma_test): Add more tests.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3560
bb7cf681
OB
35612013-05-08 Ondřej Bílka <neleai@seznam.cz>
3562
3563 * benchtests/bench-skeleton.c (main): Preheat CPU.
3564
ba853947
AJ
35652013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3566
3567 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3568
8347c74c
RM
35692013-05-07 Roland McGrath <roland@hack.frob.com>
3570
3571 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3572 and _dl_skip_args_internal.
3573
e8dd4791
CD
35742013-05-07 Carlos O'Donell <carlos@redhat.com>
3575
3576 * manual/message.texi (Message Translation): Talk about users.
3577 Message to key mapping impacts design.
3578
c7405830
RM
35792013-05-06 Roland McGrath <roland@hack.frob.com>
3580
a9173057
RM
3581 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3582
976e2f03
RM
3583 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3584
9723ffc5
RM
3585 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3586 * sysdeps/wordsize-64/glob64.c: ... here.
3587
962e6658
RM
3588 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3589 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3590 New macros.
3591
ee586a6d
RM
3592 * debug/getlogin_r_chk.c: Moved to ...
3593 * login/getlogin_r_chk.c: ... here.
3594 * debug/Makefile (routines): Move getlogin_r_chk to ...
3595 * login/Makefile (routines): ... here.
3596 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3597 * login/Versions (libc: GLIBC_2.4): ... here.
3598
355f9165
RM
3599 * io/poll.c (__poll): Renamed from poll.
3600 Add libc_hidden_def.
3601 (poll): Define as weak alias.
3602
bd9ffde6
RM
3603 * debug/ptsname_r_chk.c: Moved to ...
3604 * login/ptsname_r_chk.c: ... here.
3605 * debug/Makefile (routines): Move ptsname_r_chk to ...
3606 * login/Makefile (routines): ... here.
3607 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3608 * login/Versions (libc: GLIBC_2.4): ... here.
3609
8fb16a04
RM
3610 * posix/getlogin.c: Moved to ...
3611 * login/getlogin.c: ... here.
3612 * posix/getlogin_r.c: Moved to ...
3613 * login/getlogin_r.c: ... here.
3614 * posix/getlogin_r.c: Moved to ...
3615 * login/getlogin_r.c: ... here.
3616 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3617 * login/Makefile (routines): ... here.
3618 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3619 * login/Versions (libc: GLIBC_2.0): ... here.
3620
b99b892f
RM
3621 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3622 (setrlimit): Define as weak alias.
3623
c7405830
RM
3624 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3625 Call __ names for open, ftruncate, and close.
3626 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3627 (truncate): Define as weak alias.
3628
5bf96de5
JM
36292013-05-06 Joseph Myers <joseph@codesourcery.com>
3630
9ea3513c
JM
3631 * math/gen-libm-test.pl (parse_args): Initialize x before each
3632 test of frexp, modf and remquo.
3633
5bf96de5
JM
3634 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3635 test signgam value.
3636
16e616a7
AZ
36372013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638
3639 [BZ #15418]
3640 [BZ #15419]
3641 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3642 internal tests.
3643 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3644
d5e82754
RM
36452013-05-06 Roland McGrath <roland@hack.frob.com>
3646
3647 * elf/dl-writev.h: New file.
3648 * elf/dl-misc.c: Include it.
3649 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3650 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3651
a7548d41
JM
36522013-05-04 Joseph Myers <joseph@codesourcery.com>
3653
b7dab1e4
JM
3654 * math/libm-test.inc (noXFails): Remove variable.
3655 (noXPasses): Likewise.
3656 (BUILD_COMPLEX_INT): Remove macro.
3657 (print_screen): Remove xfail argument.
3658 (print_screen_max_error): Likewise.
3659 (update_stats): Likewise.
3660 (print_max_error): Likewise. Update calls to other affected
3661 functions.
3662 (print_complex_max_error): Likewise.
3663 (test_single_exception): Update calls to print_screen.
3664 (test_single_errno): Likewise.
3665 (check_float_internal): Remove xfail argument. Update calls to
3666 other affected functions.
3667 (check_float): Likewise.
3668 (check_complex): Likewise.
3669 (check_int): Likewise.
3670 (check_long): Likewise.
3671 (check_bool): Likewise.
3672 (check_longlong): Likewise.
3673 (main): Don't print noXFails and noXPasses.
3674 * math/gen-libm-test.pl (top level): Don't mention expected
3675 failure handling in comment.
3676 (new_test): Don't handle expected failures.
3677 (parse_args): Don't mention expected failure handling in comment.
3678 (generate_testfile): Don't handle expected failures.
3679 (parse_ulps): Likewise.
3680 (print_ulps_file): Likewise.
3681 (get_failure): Remove function.
3682 (output_test): Don't handle expected failures.
3683 * make/README.libm-test: Don't mention expected failure handling.
3684
a7548d41
JM
3685 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3686 (minus_zero): Likewise.
3687 (plus_infty): Likewise.
3688 (minus_infty): Likewise.
3689 (qnan_value): Likewise.
3690 (max_value): Likewise.
3691 (min_value): Likewise.
3692 (min_subnorm_value): Likewise.
3693 (initialize): Do not initialize those variables dynamically.
3694
60bfd54c
RM
36952013-05-03 Roland McGrath <roland@hack.frob.com>
3696
cc0e6ed8
RM
3697 * io/open.c (__open_2): Moved to ...
3698 * io/open_2.c: ... this new file.
3699 * io/open64.c (__open64_2): Moved to ...
3700 * io/open64_2.c: ... this new file.
3701 * io/openat.c (__openat_2): Moved to ...
3702 * io/openat_2.c: ... this new file.
3703 * io/openat64.c (__openat64_2): Moved to ...
3704 * io/openat64_2.c: ... this new file.
3705 * io/Makefile (routines): Add them.
3706 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3707 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3708 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3709 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3710 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3711 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3712 (__openat64): Add hidden_ver.
3713 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3714 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3715
60bfd54c
RM
3716 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3717 Separately conditionalize setting of GLRO(dl_sysinfo) so
3718 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3719 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3720
83e7640f
AZ
37212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3722
3723 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3724 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3725 definition.
3726 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3727 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3728 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3729 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3730 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3731
d5dc2af3
JM
37322013-05-03 Joseph Myers <joseph@codesourcery.com>
3733
c31a5b1e
JM
3734 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3735 test signgam value.
3736
d5dc2af3
JM
3737 * math/libm-test.inc (hypot_test): Do not use
3738 IGNORE_ZERO_INF_SIGN.
3739
164fd39d
AJ
37402013-05-03 Andreas Jaeger <aj@suse.de>
3741
3742 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3743 Linux 3.9.
3744 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3745 (PF_MAX): Adjust for VSOCK change.
3746
8237f48c
AZ
37472013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3748
3749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3750
9df02941
CD
37512013-05-02 Carlos O'Donell <carlos@redhat.com>
3752
3753 [BZ #15264]
3754 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3755 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3756 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3757
d422395e
DM
37582013-05-02 David S. Miller <davem@davemloft.net>
3759
3760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3761
a07c5731
OB
37622013-05-01 Ondřej Bílka <neleai@seznam.cz>
3763
3764 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3765
1324e37f
RM
37662013-05-01 Roland McGrath <roland@hack.frob.com>
3767
3768 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3769
0695940b
RS
37702013-05-01 Richard Smith <richard@metafoo.co.uk>
3771
bb5f27ad 3772 [BZ #14952]
0695940b
RS
3773 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3774 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3775 Use __attribute__ ((__gnu_inline__)).
3776 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3777 Don't use __attribute__ ((__gnu_inline__)).
3778
10de07f5
JM
37792013-05-01 Joseph Myers <joseph@codesourcery.com>
3780
3781 [BZ #15423]
3782 * math/s_catan.c (__catan): Handle small real or imaginary part of
3783 input specially to avoid spurious underflow.
3784 * math/s_catanf.c (__catanf): Likewise.
3785 * math/s_catanh.c (__catanh): Likewise.
3786 * math/s_catanhf.c (__catanhf): Likewise.
3787 * math/s_catanhl.c (__catanhl): Likewise.
3788 * math/s_catanl.c (__catanl): Likewise.
3789 * math/libm-test.inc (catan_test): Add more tests.
3790 (catanh_test): Likewise.
3791 * sysdeps/i386/fpu/libm-test-ulps: Update.
3792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3793
cb4d5414
AZ
37942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3795
3796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3797
caf84319
JM
37982013-04-30 Joseph Myers <joseph@codesourcery.com>
3799
3800 [BZ #15416]
3801 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3802 accurately for denominator in atan2.
3803 * math/s_catanf.c (__catanf): Likewise.
3804 * math/s_catanh.c (__catanh): Likewise.
3805 * math/s_catanhf.c (__catanhf): Likewise.
3806 * math/s_catanhl.c (__catanhl): Likewise.
3807 * math/s_catanl.c (__catanl): Likewise.
3808 * math/libm-test.inc (catan_test): Add more tests.
3809 (catanh_test): Likewise.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update.
3811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812
d569c6ee
SP
38132013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
6dbe713d
SP
3815 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3816
f0ee064b
SP
3817 * benchtests/Makefile (bench): Remove slow benchmarks.
3818 * benchtests/atan-inputs: Add slow benchmark inputs.
3819 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3820 (BENCH_FUNC): Accept variant offset.
3821 (VARIANT): Define.
3822 * benchtests/bench-skeleton.c (main): Run benchmark for each
3823 variant.
3824 * benchtests/cos-inputs: Add slow benchmark inputs.
3825 * benchtests/exp-inputs: Likewise.
3826 * benchtests/pow-inputs: Likewise.
3827 * benchtests/sin-inputs: Likewise.
3828 * benchtests/slowatan-inputs: Remove.
3829 * benchtests/slowatan.c: Remove.
3830 * benchtests/slowcos-inputs: Remove.
3831 * benchtests/slowcos.c: Remove.
3832 * benchtests/slowexp-inputs: Remove.
3833 * benchtests/slowexp.c: Remove.
3834 * benchtests/slowpow-inputs: Remove.
3835 * benchtests/slowpow.c: Remove.
3836 * benchtests/slowsin-inputs: Remove.
3837 * benchtests/slowsin.c: Remove.
3838 * benchtests/slowtan-inputs: Remove.
3839 * benchtests/slowtan.c: Remove.
3840 * benchtests/tan-inputs: Add slow benchmark inputs.
3841 * scripts/bench.pl: Parse comments and directives.
3842
d569c6ee
SP
3843 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3844 in CPPFLAGS.
3845 ($(objpfx)bench-%.c): Remove *-ITER.
3846 * benchtests/bench-modf.c: Remove definition of ITER.
3847 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3848 (main): Loop for DURATION seconds instead of fixed number of
3849 iterations.
3850 * scripts/bench.pl: Don't expect iterations in parameters.
3851
a6a242fe
RM
38522013-04-29 Roland McGrath <roland@hack.frob.com>
3853
3854 * io/fchdir.c (__fchdir): Renamed from fchdir.
3855 (fchdir): Define as weak alias.
3856
f2da7793
JM
38572013-04-29 Joseph Myers <joseph@codesourcery.com>
3858
3859 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3860 (ERRNO_EDOM): Likewise.
3861 (ERRNO_ERANGE): Likewise.
3862 (noErrnoTests): New variable.
3863 (init_max_error): Set errno to 0.
3864 (test_single_errno): New function.
3865 (test_errno): Likewise.
3866 (check_float_internal): Call test_errno. Set errno to 0.
3867 (check_complex): Refer to errno tests in comment.
3868 (check_int): Call test_errno. Set errno to 0.
3869 (check_long): Likewise.
3870 (check_bool): Likewise.
3871 (check_longlong): Likewise.
3872 (cos_test): Use ERRNO_* flags for errno tests instead of
3873 check_int.
3874 (expm1_test): Likewise.
3875 (fmod_test): Likewise.
3876 (ilogb_test): Likewise.
3877 (lgamma_test): Likewise.
3878 (pow_test): Likewise.
3879 (remainder_test): Likewise.
3880 (sin_test): Likewise.
3881 (tan_test): Likewise.
3882 (yn_test): Likewise.
3883 (initialize): Set errno to 0.
3884 (main): Print number of errno tests.
3885 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3886
b1a36ceb
AJ
38872013-04-29 Andreas Jaeger <aj@suse.de>
3888
c3ed8088
AJ
3889 [BZ #15084]
3890 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3891 and RES_USEVC.
3892
f1a24198
AJ
3893 [BZ #15085]
3894 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3895 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3896 unimplemented.
3897
9ce3b2cb
AJ
3898 [BZ #15380]
3899 * stdlib/random.c (__initstate): Return NULL if
3900 __initstate fails.
3901
f1a24198 3902 [BZ #15086]
b1a36ceb
AJ
3903 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3904 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3905 RES_SNGLKUPREOP.
3906
7e7b6f36
AZ
39072013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908
3909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3910
4d14f449
JM
39112013-04-29 Joseph Myers <joseph@codesourcery.com>
3912
3913 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3914 of individual tests.
3915 (casin_test): Likewise.
3916 (casinh_test): Likewise.
3917
5b4217d7
JM
39182013-04-27 Joseph Myers <joseph@codesourcery.com>
3919
3920 [BZ #15409]
3921 * math/s_catan.c (__catan): Handle arguments with large real or
3922 imaginary part separately without squaring.
3923 * math/s_catanf.c (__catanf): Likewise.
3924 * math/s_catanh.c (__catanh): Likewise.
3925 * math/s_catanhf.c (__catanhf): Likewise.
3926 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3927 and redefine.
3928 (__catanhl): Handle arguments with large real or imaginary part
3929 separately without squaring.
3930 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3931 and redefine.
3932 (__catanl): Handle arguments with large real or imaginary part
3933 separately without squaring.
3934 * math/libm-test.inc (catan_test): Add more tests.
3935 (catanh_test): Likewise.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3938
4220c3ef
AJ
39392013-04-27 Andreas Jaeger <aj@suse.de>
3940
3941 [BZ #15007]
3942 * stdlib/stdlib.h: Update guards for qecvt.
3943 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3944 <stdlib.h>.
3945
4721b2d1
AM
39462013-04-27 Allan McRae <allan@archlinux.org>
3947
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3949
f0302940
JM
39502013-04-26 Joseph Myers <joseph@codesourcery.com>
3951
9457fd95
JM
3952 [BZ #15406]
3953 * math/s_catan.c: Include <float.h>.
3954 (__catan): Ensure underflow exception occurs for underflowed
3955 result.
3956 * math/s_catanf.c: Include <float.h>.
3957 (__catanf): Ensure underflow exception occurs for underflowed
3958 result.
3959 * math/s_catanh.c: Include <float.h>.
3960 (__catanh): Ensure underflow exception occurs for underflowed
3961 result.
3962 * math/s_catanhf.c: Include <float.h>.
3963 (__catanhf): Ensure underflow exception occurs for underflowed
3964 result.
3965 * math/s_catanhl.c: Include <float.h>.
3966 (__catanhl): Ensure underflow exception occurs for underflowed
3967 result.
3968 * math/s_catanl.c: Include <float.h>.
3969 (__catanl): Ensure underflow exception occurs for underflowed
3970 result.
3971 * math/libm-test.inc (catan_test): Add more tests.
3972 (catanh_test): Likewise.
3973
f0302940
JM
3974 [BZ #15405]
3975 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3976 underflowed result.
3977 * math/s_ccoshf.c (__ccoshf): Likewise.
3978 * math/s_ccoshl.c (__ccoshl): Likewise.
3979 * math/s_csin.c (__csin): Likewise.
3980 * math/s_csinf.c (__csinf): Likewise.
3981 * math/s_csinh.c (__csinh): Likewise.
3982 * math/s_csinhf.c (__csinhf): Likewise.
3983 * math/s_csinhl.c (__csinhl): Likewise.
3984 * math/s_csinl.c (__csinl): Likewise.
3985 * math/libm-test.inc (ccos_test): Add more tests.
3986 (ccosh_test): Likewise.
3987 (csin_test): Likewise.
3988 (csinh_test): Likewise.
3989
aa630f59
AZ
39902013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991
3992 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3993 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3994 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3995 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3996 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3997 powerpc/power5+/fpu folders.
3998 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3999
4000
1b835983
MT
40012013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4002
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4004
73709b26
JM
40052013-04-25 Joseph Myers <joseph@codesourcery.com>
4006
4007 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4008 additions to variable.
4009 [$(config-machine) = x86_64] (modules-names): Likewise.
4010 ($(objpfx)tst-audit3): Remove dependency.
4011 ($(objpfx)tst-audit3.out): Likewise.
4012 ($(objpfx)tst-audit4): Likewise.
4013 ($(objpfx)tst-audit4.out): Likewise.
4014 ($(objpfx)tst-audit5): Likewise.
4015 ($(objpfx)tst-audit5.out): Likewise.
4016 ($(objpfx)tst-audit6): Likewise.
4017 ($(objpfx)tst-audit6.out): Likewise.
4018 ($(objpfx)tst-audit7): Likewise.
4019 ($(objpfx)tst-audit7.out): Likewise.
4020 (tst-audit3-ENV): Remove variable.
4021 (tst-audit4-ENV): Likewise.
4022 (tst-audit5-ENV): Likewise.
4023 (tst-audit6-ENV): Likewise.
4024 (tst-audit7-ENV): Likewise.
4025 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4026 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4027 addition to variable.
4028 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4029 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4030 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4031 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4032 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4033 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4034 tst-audit3, tst-audit4 and tst-audit5.
4035 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4036 tst-audit6 and tst-audit7.
4037 [$(subdir) = elf] (modules-names): Add audit modules for those
4038 tests.
4039 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4040 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4041 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4042 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4043 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4044 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4045 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4046 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4047 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4048 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4049 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4050 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4051 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4052 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4053 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4054 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4055 Likewise.
4056 [$(subdir) = elf && $(config-cflags-avx) = yes]
4057 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4058 [$(subdir) = elf && $(config-cflags-avx) = yes]
4059 (CFLAGS-tst-auditmod4a.c): Likewise.
4060 [$(subdir) = elf && $(config-cflags-avx) = yes]
4061 (CFLAGS-tst-auditmod4b.c): Likewise.
4062 [$(subdir) = elf && $(config-cflags-avx) = yes]
4063 (CFLAGS-tst-auditmod6b.c): Likewise.
4064 [$(subdir) = elf && $(config-cflags-avx) = yes]
4065 (CFLAGS-tst-auditmod6c.c): Likewise.
4066 [$(subdir) = elf && $(config-cflags-avx) = yes]
4067 (CFLAGS-tst-auditmod7b.c): Likewise.
4068 * elf/tst-audit3.c: Move to ...
4069 * sysdeps/x86_64/tst-audit3.c: ... here.
4070 * elf/tst-audit4.c: Move to ...
4071 * sysdeps/x86_64/tst-audit4.c: ... here.
4072 * elf/tst-audit5.c: Move to ...
4073 * sysdeps/x86_64/tst-audit5.c: ... here.
4074 * elf/tst-audit6.c: Move to ...
4075 * sysdeps/x86_64/tst-audit6.c: ... here.
4076 * elf/tst-audit7.c: Move to ...
4077 * sysdeps/x86_64/tst-audit7.c: ... here.
4078 * elf/tst-auditmod3a.c: Move to ...
4079 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4080 * elf/tst-auditmod3b.c: Move to ...
4081 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4082 * elf/tst-auditmod4a.c: Move to ...
4083 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4084 * elf/tst-auditmod4b.c: Move to ...
4085 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4086 * elf/tst-auditmod5a.c: Move to ...
4087 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4088 * elf/tst-auditmod5b.c: Move to ...
4089 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4090 * elf/tst-auditmod6a.c: Move to ...
4091 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4092 * elf/tst-auditmod6b.c: Move to ...
4093 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4094 * elf/tst-auditmod6c.c: Move to ...
4095 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4096 * elf/tst-auditmod7a.c: Move to ...
4097 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4098 * elf/tst-auditmod7b.c: Move to ...
4099 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4100
1ef74943
PP
41012013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4102
4103 [BZ #15366]
4104 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4105 define unconditionally.
4106 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4107 define unconditionally.
4108 (INT8_C, INT16_C, etc.): Likewise.
4109
93fd48c5
MR
41102013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4111
ae9552cf
MR
4112 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4113 __ehdr_start with hidden visibility.
4114
93fd48c5
MR
4115 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4116
418601aa
CD
41172013-04-24 Carlos O'Donell <carlos@redhat.com>
4118
4119 * math/libm-test.inc (cos_test): Use accurate hex constants.
4120 (sincost_test): Likewise.
4121
2f38fbfe
JM
41222013-04-24 Joseph Myers <joseph@codesourcery.com>
4123
5e221800
JM
4124 * math/libm-test.inc (catan_test): Add more tests.
4125 (catanh_test): Likewise.
4126
77f143fd
JM
4127 * math/s_catanf.c (__catanf): Use suffixed floating-point
4128 constants.
4129 * math/s_catanhf.c (__catanhf): Likewise.
4130 * math/s_catanhl.c (__catanhl): Likewise.
4131 * math/s_catanl.c (__catanl): Likewise.
4132
2f38fbfe
JM
4133 [BZ #15394]
4134 * math/s_catan.c (__catan): Calculate imaginary part of result
4135 with log1p not log unless computing log of number close to 0.
4136 * math/s_catanf.c (__catanf): Likewise.
4137 * math/s_catanl.c (__catanl): Likewise.
4138 * math/s_catanh.c (__catanh): Calculate real part of result with
4139 log1p not log unless computing log of number close to 0.
4140 * math/s_catanhf.c (__catanhf): Likewise.
4141 * math/s_catanhl.c (__catanhl): Likewise.
4142 * math/libm-test.inc (catan_test): Add more tests.
4143 (catanh_test): Likewise.
4144 * sysdeps/i386/fpu/libm-test-ulps: Update.
4145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4146
45d69176
SP
41472013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4148
4149 * benchtests/Makefile: Mention files in which fast and slow
4150 paths of math functions are implemented.
4151
87f51853
RM
41522013-04-23 Roland McGrath <roland@hack.frob.com>
4153
4154 * sysdeps/posix/timespec_get.c: New file.
4155
3c026539
AZ
41562013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4157
4158 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4159 POWER.
4160 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4161 for POWER.
4162 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4163 powerpc/power5/fpu folders.
4164 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4165 * benchtests/Makefile: Add modf testcase.
4166 * benchtests/bench-modf.c: New file: Benchmark test for mo
4167
ff491d14
SP
41682013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
4170 [BZ #14888]
4171 * time/Makefile (tests): Add tst-strptime-whitespace.
4172 * time/strptime_l.c (get_number): Use ISSPACE.
4173 (__strptime_internal): Likewise.
4174 * time/tst-strptime-whitespace.c: New test case.
4175
7ed3f4e8
AS
41762013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4177
4178 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4179 member.
4180 (_nss_files_init): Set it here.
4181
5c95f7b6
HC
41822013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4183
4184 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4185 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4186 unsigned.
4187
d34c9158
JBG
41882013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4189
4190 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4191
2169712d
SP
41922013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4193
4194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4195 size just once.
4196
29c5de99
DM
41972013-04-21 David S. Miller <davem@davemloft.net>
4198
4199 * po/ru.po: Update Russion translation from translation project.
4200
ccdad15d
AC
42012013-04-17 Adam Conrad <adconrad@0c3.net>
4202
4203 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4204 and setfsgid.
4205
0f122b8d
CD
42062013-04-17 Carlos O'Donell <carlos@redhat.com>
4207
5c5b07da 4208 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4209 * configure: Regenerate.
5c5b07da 4210 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4211 Add example to error message.
4212 * sysdeps/i386/configure: Regenerate.
4213
037714dd
SP
42142013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4215
4216 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4217 slowtan.
4218 * benchtests/cos-inputs: New file.
4219 * benchtests/slowcos-inputs: New file.
4220 * benchtests/slowcos.c: New file.
4221 * benchtests/slowtan-inputs: New file.
4222 * benchtests/slowtan.c: New file.
4223 * benchtests/tan-inputs: New file.
4224
e913141d
RM
42252013-04-16 Roland McGrath <roland@hack.frob.com>
4226
4227 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4228 considered kosher.
4229
a2964074
SP
42302013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4231
4856bcd2
SP
4232 * benchtests/Makefile: Include cppflags-iterator.mk to add
4233 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4234
a2964074
SP
4235 * Makefile.in (bench-clean): New target.
4236 * benchtests/Makefile (bench-clean): Likewise.
4237
9fbf9aca
DH
42382013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4239
4240 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4241
207d1e2a
TS
42422013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4243
4244 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4245
306dfba9
AS
42462013-04-15 Andreas Schwab <schwab@suse.de>
4247
4248 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4250 * nscd/pwdcache.c (cache_addpw): Likewise.
4251 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4252 more than recsize.
4253
206a6699
SP
42542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4255
4256 * benchtests/Makefile (bench): Write all output to
4257 bench-out.tmp together.
4258
0582f6b3
AS
42592013-04-15 Andreas Schwab <schwab@suse.de>
4260
4261 * nscd/nscd.c (main): Don't fork again after closing files.
4262
acb4325f
SP
42632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4264
5cb26d0a
SP
4265 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4266
acb4325f
SP
4267 * benchtests/Rules (bench-deps): Collect dependencies into a
4268 single variable. Add Makefile to dependencies.
4269 ($(objpfx)bench-%.c): Depend on bench-deps.
4270
47792506
RM
42712013-04-12 Roland McGrath <roland@hack.frob.com>
4272 Xavier Roche <roche+kml2@exalead.com>
4273
4274 [BZ #15361]
4275 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4276 just that it's a file descriptor.
4277 * manual/llio.texi (Synchronizing AIO Operations): Update description
4278 for EBADF error from aio_fsync.
4279
8fc1bee5
SP
42802013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4281
4282 * Rules (bench): Move target definition...
4283 * benchtests/Makefile: ... here.
4284
aba5e333
CD
42852013-04-11 Carlos O'Donell <carlos@redhat.com>
4286
4287 * math/libm-test.inc (cos_test): Fix PI/2 test.
4288 (sincos_test): Likewise.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4290 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4291
273cdee8
AS
42922013-04-11 Andreas Schwab <schwab@suse.de>
4293
6ecec3b6
AS
4294 [BZ #13988]
4295 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4296 accept exponent character only when digits were seen.
4297 * stdio-common/Makefile (tests): Add bug26.
4298 * stdio-common/bug26.c: New file.
4299
273cdee8
AS
4300 [BZ #14293]
4301 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4302 non-freeable.
4303
8da491f5
SP
43042013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
01dc6df9
SP
4306 * Makeconfig (rtld-prefix): Define built linker prefix.
4307 * Rules (run-bench): Use it.
4308 * math/Makefile (run-regen-ulps): Likewise.
4309
8da491f5
SP
4310 * Rules (bench): Remove eval.
4311
abe7f530
SP
43122013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4313 Roland McGrath <roland@hack.frob.com>
4314 Ondrej Bilka <neleai@seznam.cz>
4315
4316 [BZ #15346]
4317 * time/getdate.c: Include ctype.h and alloca.h.
4318 (__getdate_r): Trim leading and trailing spaces of input.
4319 * time/tst-getdate.c (tests): Add tests with leading and
4320 trailing spaces.
4321
61c23e62
RM
43222013-04-08 Roland McGrath <roland@hack.frob.com>
4323
4324 [BZ #14280]
4325 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4326 when computing value.
4327
7208a313
CD
43282013-04-06 Carlos O'Donell <carlos@redhat.com>
4329
085b2d41
CD
4330 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4331 Use testrun.sh to run libm tests.
4332
7208a313
CD
4333 [BZ #15309]
4334 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4335
872c0acd
MM
43362013-04-06 Marko Myllynen <myllynen@redhat.com>
4337
4338 [BZ #15264]
4339 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4340
26510bdd
CD
43412013-04-06 Carlos O'Donell <carlos@redhat.com>
4342
4343 * Makefile.in (regen-ulps): New target.
4344 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4345 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4346 [ifneq (no,$(PERL)] (regen-ulps): New target.
4347 [ifeq (no,$(PERL)] (regen-ulps): New target.
4348 * math/libm-test.inc (ulps_file_name): Define.
4349 (output_dir): New variable.
4350 (options): Add "output-dir" option.
4351 (parse_opt): Handle 'o' case.
4352 (main): If output_dir is non-NULL use it as a prefix
4353 otherwise use "".
4354 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4355
a01f19c8
CD
43562013-04-06 Carlos O'Donell <carlos@redhat.com>
4357
4358 [BZ #10060, #10062]
4359 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4360 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4361 fail configure if __sync_val_compare_and_swap is not inlined.
4362 * sysdeps/i386/configure: Regenerate.
4363 * configure.in: Build for i686 when configured for i386.
4364 * configure: Regenerate.
4365 * README: Remove i386 reference.
4366
b7a329a5
CD
43672013-04-06 Carlos O'Donell <carlos@redhat.com>
4368
4369 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4371
bf0f50df
TS
43722013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4373
ee091edf
TS
4374 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4375 (lmsnanval): New variables.
4376 (F): Add conversion tests.
4377 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4378 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4379
a8b792d6
TS
4380 * stdio-common/tstdiomisc.c (F): Properly collect individual
4381 tests' results.
4382
a1cbf437
TS
4383 [BZ #14686, #15336]
4384 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4385 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4386 Instead, use input NaN values or generate a qNaN by arithmetic
4387 operation. Also fix bugs to comply with the standard.
4388 * math/libm-test.inc (remainder_test): Add more tests.
4389
8b43a0c9
TS
4390 [BZ #15335, #15342]
4391 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4393 input NaN values or generate a qNaN by arithmetic operation.
4394
d91da4ce
TS
4395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4396 unreachable code.
4397
bf0f50df
TS
4398 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4399 definitions.
4400
05e166c8
JM
44012013-04-03 Joseph Myers <joseph@codesourcery.com>
4402
4403 [BZ #14478]
4404 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4405 underflowed result.
4406 * math/s_cexpf.c (__cexpf): Likewise.
4407 * math/s_cexpl.c (__cexpl): Likewise.
4408 * math/libm-test.inc (cexp_test): Add more tests.
4409
1cef1b19
AS
44102013-04-03 Andreas Schwab <schwab@suse.de>
4411
4412 [BZ #15330]
4413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4414 order arrays from heap if bigger than alloca cutoff.
4415
74d87055
TS
44162013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4417
4418 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4419 (SNAN_TESTS_double): Refer to GCC PR56831.
4420 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4421 GCC PR56828.
4422
d755bba4
SP
44232013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4424
90d5d5bb
SP
4425 * Rules (bench): Move bench.out after the run is complete.
4426
73e0cd5d
SP
4427 * Rules (bench): Echo currently running benchmark.
4428
64aabd4b
SP
4429 * benchtests/Makefile (bench): Add atan and slowatan.
4430 * benchtests/atan-inputs: New file.
4431 * benchtests/slowatan-inputs: New file.
4432 * benchtests/slowatan.c: New file.
4433
c871eccd
SP
4434 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4436 its value.
4437
d755bba4
SP
4438 [BZ #15305]
4439 * sysdeps/unix/sysv/linux/kernel-features.h
4440 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4441 __ASSUME_XFS_RESTRICTED_CHOWN.
4442 * sysdeps/unix/sysv/linux/pathconf.c
4443 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4444 Save and restore errno.
4445
52ce4860
JM
44462013-04-02 Joseph Myers <joseph@codesourcery.com>
4447
4448 [BZ #15327]
4449 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4450 arguments using __kernel_casinh.
4451 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4452 arguments using __kernel_casinhf.
4453 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4454 arguments using __kernel_casinhl.
4455 * math/libm-test.inc (cacosh_test): Add more tests.
4456 * sysdeps/i386/fpu/libm-test-ulps: Update.
4457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4458
81f311c2
SP
44592013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4460
e7906a47
SP
4461 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4463
92e3664b
SP
4464 * bench/Makefile (bench): Add sin and slowsin.
4465 * benchtests/sin-inputs: New file.
4466 * benchtests/slowsin-inputs: New file.
4467 * benchtests/slowsin.c: New file.
4468
81f311c2
SP
4469 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4470 (bench): Add slowexp and slowpow.
4471 (exp-ITER): Increase iterations.
4472 (pow-ITER): Likewise.
4473 * benchtests/exp-inputs: Change input.
4474 * benchtests/pow-inputs: Likewise.
4475 * benchtests/slowexp-inputs: New file.
4476 * benchtests/slowexp.c: New file.
4477 * benchtests/slowpow-inputs: New file.
4478 * benchtests/slowpow.c: New file.
4479
ab0f1aa9
AZ
44802013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4481
4482 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4483 instructions.
4484 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4485 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4486 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4487 * benchtests/Makefile: Add rint benchtest.
4488 * benchtests/rint-inputs: Input for rint benchtest.
4489
57267616
TS
44902013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4491
4492 * Versions.def (libm): Add GLIBC_2.18.
4493 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4494 hidden libm prototypes.
4495 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4496 * math/Makefile (libm-calls): Add s_issignaling.
4497 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4498 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4499 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4500 declaration.
4501 * math/math.h [__USE_GNU] (issignaling): New macro.
4502 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4503 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4508 * manual/arith.texi (issignaling): New section.
4509 * manual/libm-err-tab.pl (@all_functions): Update comment.
4510 * math/gen-libm-test.pl (parse_args): Apply special handling for
4511 issignaling.
4512 * math/libm-test.inc (print_float, issignaling_test): New
4513 functions.
4514 (check_float_internal): Add issignaling checks.
4515 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4516 default definition.
4517 * sysdeps/powerpc/math-tests.h: New file.
4518 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4519 tests.
4520 * math/test-snan.c (TEST_FUNC): Likewise.
4521
6142896d
DM
45222013-03-30 David S. Miller <davem@davemloft.net>
4523
4524 * po/de.po: Update from translation team.
4525
ccc8cadf
JM
45262013-03-30 Joseph Myers <joseph@codesourcery.com>
4527
4528 [BZ #10357]
4529 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4530 imaginary part less than 1.0 and real part less than 0.5
4531 specially.
4532 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4533 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4534 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4535 (cacos_test): Add more tests.
4536 (casin_test): Likewise.
4537 (casinh_test): Likewise.
4538 * sysdeps/i386/fpu/libm-test-ulps: Update.
4539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4540
0f6a8d4b
SP
45412013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4542
0d1029de
SP
4543 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4544 ONE with its value.
4545
c2d94018
SP
4546 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4547 (__pow_mp): Replace ONE and MONE with their values.
4548 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4549 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4551 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4552 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4553 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4554
27ec37f1
SP
4555 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4556
a64d7e0e
SP
4557 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4558 (__pow_mp): Replace ZERO and MZERO with their values.
4559 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4561 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4563 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4564 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4565 (__sqr): Likewise.
4566
d26dd3eb
SP
4567 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4568
0f6a8d4b
SP
4569 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4570
e57b0c61
RM
45712013-03-28 Roland McGrath <roland@hack.frob.com>
4572
4573 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4574 Declare with __attribute__ ((weak)).
4575 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4576 Call __call_tls_dtors only if it's not NULL.
4577
356b3480
RM
45782013-03-28 Roland McGrath <roland@hack.frob.com>
4579
288f7d79
RM
4580 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4581 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4582 magic __ehdr_start linker symbol if it's defined.
4583 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4584 them up here if it was already done.
4585
dc0a0263
RM
4586 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4587 (_dl_aux_init): Use const in cast when setting it.
4588 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4589 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4590 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4591
3d3436ae
RM
4592 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4593 Declare them here.
4594 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4595 * csu/libc-tls.c: Nor here.
4596 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4597
356b3480
RM
4598 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4599 (__libc_message): Never call vsyslog.
4600
b0f1246a
AM
46012013-03-28 Alan Modra <amodra@gmail.com>
4602
4603 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4604 Define as empty.
4605 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4606 Likewise.
4607
fbbe2b9a
AZ
46082013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4609
4610 [BZ #15214]
4611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4612 underflow.
4613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4614
1728ab37
SP
46152013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4616
7a86be6e
SP
4617 [BZ #15304]
4618 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4619 Don't add gid passed as argument.
4620
1728ab37
SP
4621 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4622
3a7182a1
JM
46232013-03-27 Joseph Myers <joseph@codesourcery.com>
4624
4625 [BZ #15307]
4626 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4627 imaginary part between 1.0 and 1.5 and real part less than 0.5
4628 specially.
4629 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4630 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4631 * math/libm-test.inc (cacos_test): Add more tests.
4632 (casin_test): Likewise.
4633 (casinh_test): Likewise.
4634 * sysdeps/i386/fpu/libm-test-ulps: Update.
4635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4636
6f2e90e7
SP
46372013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4638
5739f705
SP
4639 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4640 constants.
4641 (norm): Likewise.
4642 (denorm): Likewise.
4643 (__dbl_mp): Likewise.
4644 (add_magnitudes): Likewise.
4645 (sub_magnitudes): Likewise.
4646 (__add): Likewise.
4647 (__sub): Likewise.
4648 (__mul): Likewise.
4649 (__sqr): Likewise.
4650 (__inv): Likewise.
4651 (__dvd): Likewise.
4652
e375e83d
SP
4653 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4654 commented code.
4655 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4656 (__dubcos): Likewise.
4657 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4658 (__ieee754_acos): Likewise.
4659 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4661 (__exp1): Likewise.
4662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4664 (log1): Likewise.
4665 (my_log2): Likewise.
4666 (checkint): Likewise.
4667 * sysdeps/ieee754/dbl-64/e_remainder.c
4668 (__ieee754_remainder): Likewise.
4669 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4670 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4671 (bsloww): Likewise.
4672 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4673
6f2e90e7
SP
4674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4676 MANTISSA_STORE_T to store computations on mantissa. Use
4677 macros for rounding and division.
4678 (denorm): Likewise.
4679 (__dbl_mp): Likewise.
4680 (add_magnitudes): Likewise.
4681 (sub_magnitudes): Likewise.
4682 (__mul): Likewise.
4683 (__sqr): Likewise.
4684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4685 powers of two in terms of TWOPOW macro.
4686 (mp_no): Make type of mantissa as MANTISSA_T.
4687 [!RADIXI]: Define RADIXI.
4688 [!TWO52]: Define TWO52.
4689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4690
fce14d4e
AZ
46912013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692
4693 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4694 llroundl symbol when building for PPC32.
4695
9ad027fb
MW
46962013-03-24 Mark H Weaver <mhw@netris.org>
4697
4698 * manual/arith.texi (Normalization Functions): Fix prototypes for
4699 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4700
e42a38dd
AZ
47012013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4702
4703 [BZ #13889]
4704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4705 high value to check if expl overflow.
4706 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4707 to check for underflow and overflow.
4708 * math/libm-test.inc: Add exp test.
4709
2e0fb521
DL
47102013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4711
4712 [BZ #11120]
4713 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4714 with NOT_IN_libc.
4715
b5784d95
AZ
47162013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717
4718 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4719 symbol.
4720
5aa4a1a1
TS
47212013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4722
bdef0be7
TS
4723 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4724 wrap blocks consisting of several statements.
4725
5aa4a1a1
TS
4726 * sysdeps/generic/math-tests.h: New file.
4727 * sysdeps/i386/fpu/math-tests.h: Likewise.
4728 * math/test-snan.c: Include it.
4729 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4730
98c48fe5
JM
47312013-03-21 Joseph Myers <joseph@codesourcery.com>
4732
4733 [BZ #15285]
4734 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4735 (__ieee754_j0l): Do not improve calculations using cos of twice
4736 input for inputs above LDBL_MAX / 2.0L.
4737 (__ieee754_y0l): Likewise.
4738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4739 (__ieee754_j1l): Do not improve calculations using cos of twice
4740 input for inputs above LDBL_MAX / 2.0L.
4741 (__ieee754_y1l): Likewise.
4742 * math/libm-test.inc (j0_test): Add another test.
4743 (j1_test): Likewise.
4744 (y0_test): Likewise.
4745 (y1_test): Likewise.
4746 * sysdeps/i386/fpu/libm-test-ulps: Update.
4747
3775a8bc
SP
47482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4749
4750 * Rules ($(objpfx)bench-%.c): Include code from a C source
4751 file.
4752
0a1b2ae6
JM
47532013-03-21 Joseph Myers <joseph@codesourcery.com>
4754
4755 [BZ #15287]
4756 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4757 imaginary part 1.0 and real part less than 0.5 specially.
4758 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4759 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4760 * math/libm-test.inc (cacos_test): Add more tests.
4761 (casin_test): Likewise.
4762 (casinh_test): Likewise.
4763 * sysdeps/i386/fpu/libm-test-ulps: Update.
4764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765
b33d4ce4
SP
47662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4767
4768 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4769 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4770
bef0b507
JM
47712013-03-20 Joseph Myers <joseph@codesourcery.com>
4772
4773 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4774 * config.make.in (config-cflags-sse4): Remove variable.
4775 (config-cflags-avx): Likewise.
4776 (config-cflags-sse2avx): Likewise.
4777 (config-cflags-novzeroupper): Likewise.
4778 (config-asflags-i686): Likewise.
4779 (have-mfma4): Likewise.
4780 (have-as-vis3): Likewise.
4781 (MIG): Likewise.
4782 * configure.in (MIG): Do not AC_SUBST.
4783 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4784 (libc_cv_cc_sse4): Do not AC_SUBST.
4785 (libc_cv_cc_avx): Likewise.
4786 (libc_cv_cc_sse2avx): Likewise.
4787 (libc_cv_cc_novzeroupper): Likewise.
4788 (libc_cv_cc_fma4): Likewise.
4789 (libc_cv_as_i686): Likewise.
4790 (libc_cv_sparc_as_vis3): Likewise.
4791 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4792 LIBC_CONFIG_VAR.
4793 (config-asflags-i686): Likewise.
4794 (config-cflags-avx): Likewise.
4795 (config-cflags-sse2avx): Likewise.
4796 (have-mfma4): Likewise.
4797 (config-cflags-novzeroupper): Likewise.
4798 * sysdeps/mach/configure.in (MIG): Likewise.
4799 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4800 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4801 LIBC_CONFIG_VAR.
4802 (config-cflags-avx): Likewise.
4803 (config-cflags-sse2avx): Likewise.
4804 (have-mfma4): Likewise.
4805 (config-cflags-novzeroupper): Likewise.
4806 * configure: Regenerated.
4807 * sysdeps/i386/configure: Likewise.
4808 * sysdeps/mach/configure: Likewise.
4809 * sysdeps/sparc/configure: Likewise.
4810 * sysdeps/x86_64/configure: Likewise.
4811
912cc4b3
RM
48122013-03-20 Roland McGrath <roland@hack.frob.com>
4813
4814 [BZ #14812]
4815 * locale/programs/localedef.c (options): Put N_ translation marker
4816 on argument names, not just descriptions.
4817
04eed2b0
MS
48182013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4819
4820 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4821
a065ceff
OB
48222013-03-20 Ondřej Bílka <neleai@seznam.cz>
4823
9bb2a810 4824 [BZ #14176]
a065ceff
OB
4825 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4826
a600e5ce
RM
48272013-03-19 Roland McGrath <roland@hack.frob.com>
4828
4829 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4830 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4831 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4832 [!BEFORE_ABORT] (before_abort): New function.
4833 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4834 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4835 (writev_for_fatal): New function.
4836 (WRITEV_FOR_FATAL): New macro; call that.
4837 (backtrace_and_maps): New function.
4838 (BEFORE_ABORT): New macro; call that.
4839 (struct str_list): Type removed.
4840 (__libc_message, __libc_fatal): Functions removed.
4841 Include <sysdeps/posix/libc_fatal.c> instead.
4842
6b18bea6
JM
48432013-03-19 Joseph Myers <joseph@codesourcery.com>
4844
4845 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4846 constants.
4847 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4848 double constants.
4849
aaa8cb4b
AS
48502013-03-19 Andreas Schwab <schwab@suse.de>
4851
44673770
AS
4852 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4853 * sysdeps/gnu/configure: Regenerate.
4854
aaa8cb4b
AS
4855 * configure.in: Substitute libc_cv_rtlddir.
4856 * configure: Regenerate.
4857 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4858 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4859 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4860 * elf/Makefile (install-others, CFLAGS-interp.c)
4861 (ldso_install, common-ldd-rewrite): Likewise.
4862 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4863 $(inst_slibdir)/$(rtld-installed-name).
4864 * scripts/rellns-sh: Add -p option.
4865 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4866 for source.
4867
d3cfc668
SP
48682013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4869
4870 * manual/nptl.texi: Renamed to ...
4871 * manual/threads.texi: ... this.
4872 * manual/Makefile (chapters): Update.
4873
0e2b9cdd
RM
48742013-03-18 Roland McGrath <roland@hack.frob.com>
4875
4876 [BZ #14812]
4877 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4878 on argument names, not just descriptions.
0e2b9cdd
RM
4879 * malloc/memusagestat.c (options): Likewise.
4880 * nss/getent.c (options): Likewise.
63270c24
RM
4881
48822013-03-18 Benno Schulenberg <bensberg@justemail.net>
4883
4884 [BZ #14812]
4885 * iconv/iconv_prog.c (options): Put N_ translation marker
4886 on argument names, not just descriptions.
4887 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4888
b2e1393c
OB
48892013-03-18 Ondrej Bilka <neleai@seznam.cz>
4890
4891 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4892 implementation which is faster on all x86_64 architectures.
4893 Tested on AMD, Intel Nehalem, SNB, IVB.
4894 * sysdeps/x86_64/strnlen.S: Likewise.
4895
4896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4897 Remove all multiarch strlen and strnlen versions.
4898 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4899 Remove strlen and strnlen related parts.
4900
4901 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4902 Inline strlen part.
4903 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4904
4905 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4906 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4907 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4908 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4909 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4910 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4911
ec4ff04d
CD
49122013-03-17 Carlos O'Donell <carlos@redhat.com>
4913
4914 * manual/memory.texi (Malloc Tunable Parameters):
4915 Sort parameters alphabetically. Add comments for missing entries.
4916
cd18e90a
DM
49172013-03-17 David S. Miller <davem@davemloft.net>
4918
4919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4920
2a185d32
JM
49212013-03-16 Joseph Myers <joseph@codesourcery.com>
4922
d2f9799e
JM
4923 [BZ #15283]
4924 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4925 for arguments at most half maximum finite value.
4926 * math/libm-test.inc (j0_test): Add more tests.
4927 (j1_test): Likewise.
4928 (y0_test): Likewise.
4929 (y1_test): Likewise.
4930 * sysdeps/i386/fpu/libm-test-ulps: Update.
4931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4932
2a185d32
JM
4933 [BZ #14155]
4934 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4935 1 / x and functions P and Q for arguments above 0x1p256L.
4936 (__ieee754_y0l): Likewise.
4937 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4938 (__ieee754_y1l): Likewise.
4939 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4940 (j1_test): Likewise.
4941 (y0_test): Likewise.
4942 (y1_test): Likewise.
4943
6cbec759
TS
49442013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4945
4946 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4947 variable.
4948
bc16e260
RM
49492013-03-15 Roland McGrath <roland@hack.frob.com>
4950
aefc9b8c
RM
4951 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4952 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4953 zero since it's initialized to EXEC_PAGESIZE.
4954
bc16e260
RM
4955 * sysdeps/unix/sysv/linux/ldsodefs.h
4956 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4957 * sysdeps/generic/ldsodefs.h: ... here.
4958
a57da955
TS
49592013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4960
af00a34d
TS
4961 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4962
495ded2c
TS
4963 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4964 math/test-snan.c.
4965 * math/test-snan.c: Renamed from
4966 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4967 * math/Makefile (tests): Add test-snan.
4968 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4969 test-powerpc-snan.
4970
777b0332
TS
4971 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4972 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4973 functions.
4974 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4975 __builtin_nan family of functions.
4976 * math/libm-test.inc (initialize): Initialize qnan_value with
4977 __builtin_nan family of functions.
4978 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4979 Remove variables.
4980 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4981 Remove functions.
4982 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4983 storage class. Initialize qNaN_var and sNaN_var with
4984 __builtin_nan and __builtin_nans families of functions,
4985 respectively.
4986
64d063b8
TS
4987 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4988 (sqrt_test): Remove duplicate test with qNaN input.
4989 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4990 (round_test, signbit_test, significand_test): Note missing +/-Inf
4991 as well as qNaN tests.
4992
67e971f1
TS
4993 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4994 qNaN_var. Fix a few strings, too.
4995 * math/libm-test.inc (nan_value): Rename to qnan_value.
4996 * math/gen-libm-test.pl (%beautify): Adjust to that.
4997 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4998 * math/test-misc.c (main): Likewise.
4999 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5000 to __qnan_bytes, and __qnan_union, respectively.
5001 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5002 Likewise.
5003 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5004 and lqnanval, respectively.
5005 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5006 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5008 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5009
64487e12
TS
5010 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5011 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5012 doubles.
5013
e015e27b
TS
5014 * math/test-misc.c (main): Fix copy'n'pastos.
5015 * misc/tst-efgcvt.c (special): Likewise.
5016
a57da955
TS
5017 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5018 Remove declarations.
5019
1e380345
SP
50202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5021
5022 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5023 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5024 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5025 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5026
ef26eece
AZ
50272013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5028
5029 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5030 macro to return vdso values correctly in IFUNC implementations.
5031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5032 Optimization by using IFUNC.
5033
8cfdb7e0
SP
50342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 Richard Henderson <rth@redhat.com>
5036 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5037
5038 * Makefile.in (bench): New target.
5039 * NEWS: Mention the benchmark framework.
5040 * Rules (bench): Likewise.
5041 (binaries-bench): Generate binaries for functions to
5042 benchmark.
5043 * benchtests/Makefile: New makefile for benchmark tests.
5044 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5045 programs.
5046 * benchtests/exp-inputs: New input file for EXP function.
5047 * benchtests/pow-inputs: New input file for POW function.
5048 * scripts/bench.pl: New script to generate source files for
5049 benchmark programs.
5050
bcda9880
SP
50512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5052
d22ca8cd
SP
5053 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5054 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5055 computations on mantissa. Use macros for rounding and
5056 division.
5057 (denorm): Likewise.
5058 (__dbl_mp): Likewise.
5059 (add_magnitudes): Likewise.
5060 (sub_magnitudes): Likewise.
5061 (__mul): Likewise.
5062 (__sqr): Likewise.
5063 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5064 powers of two in terms of TWOPOW macro.
5065 (mp_no): Make type of mantissa as MANTISSA_T.
5066 [!RADIXI]: Define RADIXI.
5067 [!TWO52]: Define TWO52.
5068 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5069
bcda9880
SP
5070 * manual/nptl.texi (cindex): Modify threads to pthreads.
5071
06d5adfb
JM
50722013-03-15 Joseph Myers <joseph@codesourcery.com>
5073
5074 * sysdeps/x86_64/preconfigure: Regenerated.
5075
41c7328e
JM
50762013-03-14 Joseph Myers <joseph@codesourcery.com>
5077
5078 [BZ #14155]
5079 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5080 0x1p28 and above.
5081 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5082 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5083 0x1p28 and above.
5084 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5085 * math/libm-test.inc (j0_test): Do not allow one spurious
5086 underflow exception.
5087 (y1_test): Likewise.
5088
e25cfa60
SP
50892013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
0409959c
SP
5091 * manual/Makefile (chapters): Add nptl.
5092 * manual/debug.texi (Debugging Support): Add link to Threads
5093 chapter.
5094 * manual/nptl.texi: New file.
5095
e25cfa60
SP
5096 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5097
58a1335e
PB
50982013-03-14 Petr Baudis <pasky@ucw.cz>
5099
5100 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5101 for non-NULL pointer before the memory validity test. Pointed
5102 out by Holger Brunck <holger.brunck@keymile.com>.
5103
9dc7c64f
AS
51042013-03-13 Andreas Schwab <schwab@suse.de>
5105
5106 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5107 instead of .os.
5108
54206aa6
JM
51092013-03-13 Joseph Myers <joseph@codesourcery.com>
5110
5111 * timezone/zic.c: Update from tzcode 2013b.
5112
e98cdb38
CD
51132013-03-12 Carlos O'Donell <carlos@redhat.com>
5114
5115 * manual/install.texi (Configuring and compiling):
5116 Mention i686 and i586.
5117 * INSTALL: Regenerate.
5118
9967e003
RM
51192013-03-12 Roland McGrath <roland@hack.frob.com>
5120
5121 * sysdeps/init_array/elf-init.c: New file.
5122 * csu/elf-init.c
5123 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5124 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5125
5126 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5127 __gmon_start__ as global, but as static with a .preinit_array pointer.
5128 * sysdeps/init_array/gmon-start.c: New file. Use that.
5129 * sysdeps/init_array/crti.S: New file, empty except for comments.
5130 * sysdeps/init_array/crtn.S: Likewise.
5131
e6b5a293 51322013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5133
5134 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5135 definining bcopy.
80f844c9
OB
5136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5137 Remove Prefer_SSE_for_memop.
5138 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5139 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5140 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5142 memset-x86-64.
80f844c9 5143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5144 Remove bzero, memset ifunc support.
80f844c9
OB
5145 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5146 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5147 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5148 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5149
fb6b0fcb
AS
51502013-03-11 Andreas Schwab <schwab@suse.de>
5151
5152 [BZ #15234]
5153 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5154 by SHLIB_COMPAT.
5155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5156 (GLIBC_2.16): Remove pthread_atfork.
5157
3e6bd4b1
PP
51582013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5159
5160 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5161 (ptestcases.h): Likewise.
5162
222d7f00
RM
51632013-03-08 Roland McGrath <roland@hack.frob.com>
5164
5165 * Makeconfig ($(common-objpfx)config.status): Depend on
5166 sysdeps/*/preconfigure{,.in} too.
5167
1ba4f030
JM
51682013-03-08 Joseph Myers <joseph@codesourcery.com>
5169
a222d91a
JM
5170 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5171 (__free_hook): Use void * instead of __malloc_ptr_t.
5172 (__malloc_hook): Likewise.
5173 (__realloc_hook): Likewise.
5174 (__memalign_hook): Likewise.
5175 (__after_morecore_hook): Likewise.
5176 * malloc/arena.c (save_malloc_hook): Likewise.
5177 (save_free_hook): Likewise.
5178 * malloc/hooks.c (malloc_hook_ini): Likewise.
5179 (realloc_hook_ini): Likewise.
5180 (memalign_hook_ini): Likewise.
5181 * malloc/malloc.c (malloc_hook_ini): Likewise.
5182 (realloc_hook_ini): Likewise.
5183 (memalign_hook_ini): Likewise.
5184 (__free_hook): Likewise.
5185 (__malloc_hook): Likewise.
5186 (__realloc_hook): Likewise.
5187 (__memalign_hook): Likewise.
5188 (__libc_malloc): Likewise.
5189 (__libc_free): Likewise.
5190 (__libc_realloc): Likewise.
5191 (__libc_memalign): Likewise.
5192 (__libc_valloc): Likewise.
5193 (__libc_pvalloc): Likewise.
5194 (__libc_calloc): Likewise.
5195 (__posix_memalign): Likewise.
5196 * malloc/morecore.c (__sbrk): Likewise.
5197 (__default_morecore): Likewise.
5198
5cc45e10
JM
5199 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5200
dd54b864
JM
5201 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5202 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5203 __malloc_ptrdiff_t.
5204
1ba4f030
JM
5205 * malloc/malloc.h (__malloc_size_t): Remove macro.
5206 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5207 __malloc_size_t.
5208 (old_memalign_hook): Likewise.
5209 (old_realloc_hook): Likewise.
5210 (struct hdr): Likewise.
5211 (flood): Likewise.
5212 (mallochook): Likewise.
5213 (memalignhook): Likewise.
5214 (reallochook): Likewise.
5215 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5216 (tr_old_realloc_hook): Likewise.
5217 (tr_old_memalign_hook): Likewise.
5218 (tr_mallochook): Likewise.
5219 (tr_reallochook): Likewise.
5220 (tr_memalignhook): Likewise.
5221
edf66e57
AZ
52222013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5223
5224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5225 default_ldbl_pack and using as default implementation.
5226 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5227 implementation.
5228 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5229 redundant definition.
5230 (ldbl_insert_mantissa): Likewise.
5231 (ldbl_canonicalize): Likewise.
5232 (ldbl_nearbyint): Likewise.
5233 (ldbl_pack): Rename to ldbl_pack_ppc.
5234 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5235 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5236 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5237
6d9145d8
SP
52382013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
5240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5241 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5243 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5245 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5246 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5247 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5248
4dd4e157
AJ
52492013-03-07 Andreas Jaeger <aj@suse.de>
5250
5251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5252 bits/mman-linux.h.
5253
adbb8027
SP
52542013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5255
ce544b5b
SP
5256 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5257 Include mpa.h and declare __MPEXP.
5258 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5259 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5260 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5261 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5263 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5264 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5265
4cc149fd
SP
5266 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5267 (__slowpow): Use long double EXPL and LOGL functions to
5268 compute POW.
5269 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5270 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5272 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5273 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5275
e6ebd4a7
SP
5276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5277 intermediate variable to calculate exponent.
5278 (__sqr): Likewise.
5279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5280 Likewise.
5281 (__sqr): Likewise.
5282
82a9811d
SP
5283 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5284 [!NO__SQR]: Define __sqr.
5285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5286 and NO__SQR. Remove all code except __mul and __sqr. Include
5287 sysdeps/ieee754/dbl-64/mpa.c.
5288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5289
adbb8027
SP
5290 [BZ #12723]
5291 * posix/Makefile (tests): Add tst-pathconf.
5292 * posix/tst-pathconf.c: New test case.
5293 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5294 _PC_PIPE_BUF.
5295 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5296
39120df9
PF
52972013-03-06 Patsy Franklin <pfrankli@redhat.com>
5298
5299 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5300
67525cb8
AJ
53012013-03-06 Andreas Jaeger <aj@suse.de>
5302
664a9ce4
AJ
5303 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5304 definition via __MAP_ANONYMOUS.
5305
8e39047d
AJ
5306 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5307 it's not part of Linux headers.
5308
67525cb8
AJ
5309 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5310 (MAP_HUGE_MASK): Define.
5311
5312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5313 Define.
5314 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5316 Define.
5317 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5318 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5319 Define.
5320 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5322 Define.
5323 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5324
5325 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5326 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5327 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5328 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5329 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5331
5332 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5333 Handle f2fs.
5334
5335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5336 Handle f2fs and efivarfs.
5337
5338 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5339 f2fs.
5340
5341 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5342 (EFIVARFS_MAGIC): Add.
5343 (F2FS_LINK_MAX): Add.
5344
e1b42695
PP
53452013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5346
5347 * stdio-common/vfprintf.c: Replace __builtin_expect with
5348 __glibc_unlikely.
5349
2d67d91a
JM
53502013-03-06 Joseph Myers <joseph@codesourcery.com>
5351
5352 [BZ #13550]
5353 * sysdeps/generic/bp-sym.h: Remove file.
5354 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5355 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5356 <bp-sym.h> and <bp-asm.h>.
5357 (__longjmp): Don't use BP_SYM.
5358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5359 and <bp-asm.h>.
5360 (memcpy): Don't use BP_SYM.
5361 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5362 <bp-sym.h> and <bp-asm.h>.
5363 (memcpy): Don't use BP_SYM.
5364 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5365 <bp-asm.h>.
5366 (memcpy): Don't use BP_SYM.
5367 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5368 <bp-asm.h>.
5369 (memset): Don't use BP_SYM.
5370 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5371 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5372 (__bzero): Don't use BP_SYM.
5373 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5374 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5375 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5376 <bp-sym.h> and <bp-asm.h>.
5377 (memcmp): Don't use BP_SYM. Remove comment about bounded
5378 pointers.
5379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5380 <bp-sym.h> and <bp-asm.h>.
5381 (memcpy): Don't use BP_SYM.
5382 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5383 <bp-sym.h> and <bp-asm.h>.
5384 (memset): Don't use BP_SYM.
5385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5387 (__bzero): Don't use BP_SYM.
5388 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5389 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5390 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5391 <bp-sym.h> and <bp-asm.h>.
5392 (strncmp): Don't use BP_SYM. Remove comment about bounded
5393 pointers.
5394 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5395 <bp-sym.h> and <bp-asm.h>.
5396 (memcpy): Don't use BP_SYM.
5397 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5398 <bp-sym.h> and <bp-asm.h>.
5399 (memset): Don't use BP_SYM.
5400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5402 (__bzero): Don't use BP_SYM.
5403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5406 <bp-sym.h> and <bp-asm.h>.
5407 (__memchr): Don't use BP_SYM.
5408 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5409 <bp-sym.h> and <bp-asm.h>.
5410 (memcmp): Don't use BP_SYM. Remove comment about bounded
5411 pointers.
5412 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5413 <bp-sym.h> and <bp-asm.h>.
5414 (memcpy): Don't use BP_SYM.
5415 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5416 <bp-sym.h> and <bp-asm.h>.
5417 (__mempcpy): Don't use BP_SYM.
5418 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5419 <bp-sym.h> and <bp-asm.h>.
5420 (__memrchr): Don't use BP_SYM.
5421 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5422 <bp-sym.h> and <bp-asm.h>.
5423 (memset): Don't use BP_SYM.
5424 (__bzero): Likewise.
5425 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5426 <bp-sym.h> and <bp-asm.h>.
5427 (__rawmemchr): Don't use BP_SYM.
5428 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5429 <bp-sym.h> and <bp-asm.h>.
5430 (__STRCMP): Don't use BP_SYM.
5431 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5432 <bp-sym.h> and <bp-asm.h>.
5433 (strchr): Don't use BP_SYM.
5434 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5435 <bp-sym.h> and <bp-asm.h>.
5436 (__strchrnul): Don't use BP_SYM.
5437 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5438 <bp-sym.h> and <bp-asm.h>.
5439 (strlen): Don't use BP_SYM.
5440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5441 <bp-sym.h> and <bp-asm.h>.
5442 (strncmp): Don't use BP_SYM. Remove comment about bounded
5443 pointers.
5444 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5445 <bp-sym.h> and <bp-asm.h>.
5446 (__strnlen): Don't use BP_SYM.
5447 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5448 <bp-sym.h> and <bp-asm.h>.
5449 (__GI__setjmp): Don't use BP_SYM.
5450 (_setjmp): Likewise.
5451 (__sigsetjmp): Likewise.
5452 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5453 (L(start_addresses)): Don't use BP_SYM.
5454 (_start): Likewise.
5455 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5456 <bp-asm.h>.
5457 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5458 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5459 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5460 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5461 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5462 <bp-asm.h>.
5463 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5464 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5465 about bounded pointers.
5466 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5467 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5468 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5469 <bp-asm.h>.
5470 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5471 about bounded pointers. Remove GKM FIXME comments.
5472 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5473 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5474 <bp-asm.h>.
5475 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5476 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5477 Remove GKM FIXME comments.
5478 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5479 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5480 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5481 <bp-asm.h>.
5482 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5483 about bounded pointers. Remove GKM FIXME comment.
5484 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5485 and <bp-asm.h>.
5486 (strncmp): Don't use BP_SYM. Remove comment about bounded
5487 pointers.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5489 <bp-sym.h> and <bp-asm.h>.
5490 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5492 <bp-sym.h> and <bp-asm.h>.
5493 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5494 comment.
5495
cdcf361f
PP
54962013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5497
5498 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5499 call free(NULL).
5500
3c4a2b15
DM
55012013-03-05 David S. Miller <davem@davemloft.net>
5502
5503 * po/es.po: Update from translation team.
5504
cdcf361f 55052013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5506
5507 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5508 <bits/mman-linux.h>.
5509 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5510 is fine.
5511 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5512 <bits/mman-linux.h> to end of file.
5513 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5514 is fine.
5515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5516 <bits/mman-linux.h> to end of file.
5517 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5518 is fine.
5519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5520 <bits/mman-linux.h> to end of file.
5521
5522 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5523 (MCL_CURRENT, MCL_FUTURE): Define here.
5524
5f67c04f
AK
55252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5526
8a4473cc 5527 [BZ #15232]
5f67c04f
AK
5528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5529 attribute_hidden.
5530 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5531
c3e94a95
AK
55322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5533
5534 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5535 fourth parameter needed for rt_sigprocmask syscall.
5536 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5537 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5538 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5539 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5540 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5542
cfb6382a
JM
55432013-03-04 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #13550]
5546 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5547 comment about bounded pointers.
5548 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5549 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5550
539d8e01
AJ
55512013-03-04 Andreas Jaeger <aj@suse.de>
5552
5553 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5554 common definitions.
5555
5556 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5557 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5558 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5562
2e167a70 55632013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5564
5565 [BZ #15055]
5566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5567 __ieee754_sqrl instead of __sqrl.
5568
68508633
JM
55692013-03-01 Joseph Myers <joseph@codesourcery.com>
5570
5571 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5572 * sysdeps/powerpc/fpu_control.h: ... here.
5573 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5574 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5575 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5576 * sysdeps/powerpc/bits/mathinline.h: ... here.
5577
7775448e
RM
55782013-03-01 Roland McGrath <roland@hack.frob.com>
5579
5580 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5581 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5582 to just [NEED_DL_SYSINFO_DSO].
5583 * elf/dl-support.c: Likewise.
5584 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5585 * elf/rtld.c (dl_main): Likewise.
5586 * elf/setup-vdso.h (setup_vdso): Likewise.
5587 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5588 * sysdeps/unix/sysv/linux/dl-sysdep.c
5589 (_dl_discover_osversion): Likewise.
5590
4e9b5995
CD
55912013-03-01 Carlos O'Donell <carlos@redhat.com>
5592
5593 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5594 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5595
e23872c8
SP
55962013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5597
e5c74c63
SP
5598 * NEWS: Mention libm performance improvements and non-x86 PI
5599 futex support.
5600
e23872c8
SP
5601 * csu/libc-start.c (__pthread_initialize_minimal): Change
5602 function arguments.
5603 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5604
b5510883
JM
56052013-02-28 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #13550]
5608 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5609 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5610 <bp-sym.h> and <bp-asm.h>.
5611 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5612 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5613 and <bp-asm.h>.
5614 (memcpy): Don't use BP_SYM.
5615 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5616 <bp-asm.h>.
5617 (__mpn_add_n): Don't use BP_SYM.
5618 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5619 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5620 and <bp-asm.h>.
5621 (__mpn_addmul_1): Don't use BP_SYM.
5622 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5623 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5624 <bp-sym.h>.
5625 (_setjmp): Don't use BP_SYM.
5626 (__novmx_setjmp): Likewise.
5627 (__GI__setjmp): Likewise.
5628 (__vmx_setjmp): Likewise.
5629 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5630 <bp-sym.h>.
5631 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5632 (__bzero): Don't use BP_SYM.
5633 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5634 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5635 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5636 <bp-sym.h> and <bp-asm.h>.
5637 (memcpy): Don't use BP_SYM.
5638 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5639 <bp-sym.h> and <bp-asm.h>.
5640 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5641 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5642 <bp-sym.h> and <bp-asm.h>.
5643 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5644 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5645 <bp-asm.h>.
5646 (__mpn_lshift): Don't use BP_SYM.
5647 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5648 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5649 <bp-asm.h>.
5650 (memset): Don't use BP_SYM.
5651 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5652 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5653 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5654 <bp-asm.h>.
5655 (__mpn_mul_1): Don't use BP_SYM.
5656 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5658 <bp-sym.h> and <bp-asm.h>.
5659 (memcmp): Don't use BP_SYM.
5660 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5661 <bp-sym.h> and <bp-asm.h>.
5662 (memcpy): Don't use BP_SYM.
5663 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5664 <bp-sym.h> and <bp-asm.h>.
5665 (memset): Don't use BP_SYM.
5666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5667 <bp-sym.h> and <bp-asm.h>.
5668 (strncmp): Don't use BP_SYM.
5669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5670 <bp-sym.h> and <bp-asm.h>.
5671 (memcpy): Don't use BP_SYM.
5672 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5673 <bp-sym.h> and <bp-asm.h>.
5674 (memset): Don't use BP_SYM.
5675 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5676 <bp-sym.h> and <bp-asm.h>.
5677 (__memchr): Don't use BP_SYM.
5678 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5679 <bp-sym.h> and <bp-asm.h>.
5680 (memcmp): Don't use BP_SYM.
5681 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5682 <bp-sym.h> and <bp-asm.h>.
5683 (memcpy): Don't use BP_SYM.
5684 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5685 <bp-sym.h> and <bp-asm.h>.
5686 (__mempcpy): Don't use BP_SYM.
5687 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5688 <bp-sym.h> and <bp-asm.h>.
5689 (__memrchr): Don't use BP_SYM.
5690 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5691 <bp-sym.h> and <bp-asm.h>.
5692 (memset): Don't use BP_SYM.
5693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5694 <bp-sym.h> and <bp-asm.h>.
5695 (__rawmemchr): Don't use BP_SYM.
5696 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5697 <bp-sym.h> and <bp-asm.h>.
5698 (__STRCMP): Don't use BP_SYM.
5699 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5700 <bp-sym.h> and <bp-asm.h>.
5701 (strchr): Don't use BP_SYM.
5702 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5703 <bp-sym.h> and <bp-asm.h>.
5704 (__strchrnul): Don't use BP_SYM.
5705 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5706 <bp-sym.h> and <bp-asm.h>.
5707 (strlen): Don't use BP_SYM.
5708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5709 <bp-sym.h> and <bp-asm.h>.
5710 (strncmp): Don't use BP_SYM.
5711 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5712 <bp-sym.h> and <bp-asm.h>.
5713 (__strnlen): Don't use BP_SYM.
5714 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5715 <bp-asm.h>.
5716 (__mpn_rshift): Don't use BP_SYM.
5717 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5718 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5719 <bp-sym.h> and <bp-asm.h>.
5720 (__sigsetjmp): Don't use BP_SYM.
5721 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5722 (L(start_addresses)): Don't use BP_SYM.
5723 (_start): Likewise.
5724 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5725 <bp-asm.h>.
5726 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5727 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5728 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5729 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5730 <bp-asm.h>.
5731 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5732 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5733 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5734 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5735 <bp-asm.h>.
5736 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5737 comments.
5738 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5739 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5740 <bp-asm.h>.
5741 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5742 FIXME comments.
5743 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5744 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5745 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5746 <bp-asm.h>.
5747 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5748 comment.
5749 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5750 and <bp-asm.h>.
5751 (strncmp): Don't use BP_SYM,
5752 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5753 <bp-asm.h>.
5754 (__mpn_sub_n): Don't use BP_SYM.
5755 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5756 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5757 and <bp-asm.h>.
5758 (__mpn_submul_1): Don't use BP_SYM.
5759 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5761 <bp-sym.h> and <bp-asm.h>.
5762 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5764 <bp-sym.h> and <bp-asm.h>.
5765 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5766 comment.
5767
8d19fe64
SP
57682013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5769
5770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5771 Use ZK to minimize writes to Z.
5772 (sub_magnitudes): Simplify code a bit.
5773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5774 Use ZK to minimize writes to Z.
5775 (sub_magnitudes): Simplify code a bit.
5776
85bd816a
RM
57772013-02-27 Roland McGrath <roland@hack.frob.com>
5778
5779 * csu/gmon-start.c: Add special exception to license text.
5780
b5977bf2
RH
57812013-02-27 Richard Henderson <rth@redhat.com>
5782
5783 * scripts/config.guess: Update from config.git.
5784 * scripts/config.sub: Likewise.
5785
11d6e2f2
SP
57862013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5787
09c14ed2
SP
5788 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5789
a688864e
SP
5790 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5791
6295157a
SP
5792 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5793
b8de2202
SP
5794 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5795
11d6e2f2
SP
5796 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5797
7e80ddb8
RM
57982013-02-26 Roland McGrath <roland@hack.frob.com>
5799
5800 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5801 [$(build-shared = yes].
7e80ddb8 5802
7da6d9ed
SP
58032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5804
45f05884
SP
5805 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5806 (__mul): Reduce iterations for calculating mantissa.
5807
2236d359
SP
5808 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5809 MPTWO.
5810 (__mpranred): Likewise.
5811
7da6d9ed
SP
5812 [BZ #15160]
5813 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5814 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5815
b7688c42
PE
58162013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5817
5818 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5819 Define __attribute__.
5820
53a5c423
SP
58212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5822
5823 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5824 unused.
5825 * posix/regex_internal.h (__attribute): Remove.
5826 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5827 (re_string_context_at): Likewise.
5828 (bitset_not): Use __attribute__ and mark function as possibly
5829 unused.
5830 (bitset_merge): Likewise.
5831 (bitset_mask): Likewise.
5832 (re_string_char_size_at): Likewise.
5833 (re_string_wchar_at): Likewise.
5834 (re_string_elem_size_at): Likewise.
5835
60f5a8b5
SP
58362013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5837
2a983a2e
SP
5838 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5839 code.
5840 (cc32): Likewise.
5841
e69804d1
SP
5842 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5843 (__acr): Likewise.
5844 (__cpy): Likewise.
5845 (norm): Likewise.
5846 (denorm): Likewise.
5847 (__dbl_mp): Likewise.
5848 (add_magnitudes): Likewise.
5849 (sub_magnitudes): Likewise.
5850 (__mul): Likewise.
5851 (__inv): Likewise.
5852
2f22a1e8
SP
5853 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5854 style.
5855
8930ddc7
SP
5856 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5857 style.
5858
dc60cb11
SP
5859 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5860 code.
5861
60f5a8b5
SP
5862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5863 up changes with default code.
5864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5865 Likewise.
5866
b4d1fd33
AM
58672013-02-24 Allan McRae <allan@archlinux.org>
5868
faf6f8bc
AM
5869 * manual/socket.texi (The Internet Namespace): Order menu items
5870 to match that in the file.
5871
b4d1fd33
AM
5872 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5873 node listing of the info page menu.
5874
2366713d
JM
58752013-02-21 Joseph Myers <joseph@codesourcery.com>
5876
5877 [BZ #13550]
5878 * sysdeps/i386/bp-asm.h: Remove file.
5879 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5880 (PARMS): Do not use macros from bp-asm.h.
5881 (S1): Likewise.
5882 (S2): Likewise.
5883 (SIZE): Likewise.
5884 (__mpn_add_n): Do not use BP_SYM
5885 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5886 "bp-asm.h".
5887 (PARMS): Do not use macros from bp-asm.h.
5888 (S1): Likewise.
5889 (SIZE): Likewise.
5890 (__mpn_addmul_1): Do not use BP_SYM
5891 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5892 "bp-asm.h".
5893 (PARMS): Do not use macros from bp-asm.h.
5894 (SIGMSK): Likewise.
5895 (_setjmp): Likewise. Do not use BP_SYM.
5896 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5897 "bp-asm.h".
5898 (PARMS): Do not use macros from bp-asm.h.
5899 (SIGMSK): Likewise.
5900 (setjmp): Likewise. Do not use BP_SYM.
5901 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5902 "bp-asm.h".
5903 (PARMS): Do not use macros from bp-asm.h.
5904 (__frexp): Do not use BP_SYM.
5905 (frexp): Likewise.
5906 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5907 "bp-asm.h".
5908 (PARMS): Do not use macros from bp-asm.h.
5909 (__frexpf): Do not use BP_SYM.
5910 (frexpf): Likewise.
5911 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5912 "bp-asm.h".
5913 (PARMS): Do not use macros from bp-asm.h.
5914 (__frexpl): Do not use BP_SYM.
5915 (frexpl): Likewise.
5916 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5917 "bp-asm.h".
5918 (PARMS): Do not use macros from bp-asm.h.
5919 (__remquo): Do not use BP_SYM.
5920 (remquo): Likewise.
5921 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5922 "bp-asm.h".
5923 (PARMS): Do not use macros from bp-asm.h.
5924 (__remquof): Do not use BP_SYM.
5925 (remquof): Likewise.
5926 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5927 "bp-asm.h".
5928 (PARMS): Do not use macros from bp-asm.h.
5929 (__remquol): Do not use BP_SYM.
5930 (remquol): Likewise.
5931 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5932 "bp-asm.h".
5933 (PARMS): Do not use macros from bp-asm.h.
5934 (DEST): Likewise.
5935 (SRC): Likewise.
5936 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5937 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5938 "bp-asm.h".
5939 (PARMS): Do not use macros from bp-asm.h.
5940 (strlen): Do not use BP_SYM.
5941 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5942 "bp-asm.h".
5943 (PARMS): Do not use macros from bp-asm.h.
5944 (S1): Likewise.
5945 (S2): Likewise.
5946 (SIZE): Likewise.
5947 (__mpn_add_n): Do not use BP_SYM.
5948 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5949 "bp-asm.h".
5950 (PARMS): Do not use macros from bp-asm.h.
5951 (S1): Likewise.
5952 (SIZE): Likewise.
5953 (__mpn_addmul_1): Do not use BP_SYM.
5954 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5955 weak_alias.
5956 (bzero): Likewise.
5957 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5958 "bp-asm.h".
5959 (PARMS): Do not use macros from bp-asm.h.
5960 (S): Likewise.
5961 (SIZE): Likewise.
5962 (__mpn_lshift): Do not use BP_SYM.
5963 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5964 "bp-asm.h".
5965 (PARMS): Do not use macros from bp-asm.h.
5966 (DEST): Likewise.
5967 (SRC): Likewise.
5968 (LEN): Likewise.
5969 (memcpy): Likewise. Do not use BP_SYM.
5970 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5971 libc_hidden_def and weak_alias.
5972 (mempcpy): Do not use BP_SYM in weak_alias.
5973 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5974 "bp-asm.h".
5975 (PARMS): Do not use macros from bp-asm.h.
5976 (DEST): Likewise.
5977 (LEN): Likewise.
5978 [!BZERO_P] (CHR): Likewise.
5979 (memset): Likewise. Do not use BP_SYM.
5980 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5981 "bp-asm.h".
5982 (PARMS): Do not use macros from bp-asm.h.
5983 (S1): Likewise.
5984 (SIZE): Likewise.
5985 (__mpn_mul_1): Do not use BP_SYM.
5986 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5987 "bp-asm.h".
5988 (PARMS): Do not use macros from bp-asm.h.
5989 (S): Likewise.
5990 (SIZE): Likewise.
5991 (__mpn_rshift): Do not use BP_SYM.
5992 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5993 "bp-asm.h".
5994 (PARMS): Do not use macros from bp-asm.h.
5995 (STR): Likewise.
5996 (CHR): Likewise.
5997 (strchr): Likewise. Do not use BP_SYM.
5998 (index): Do not use BP_SYM in weak_alias.
5999 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6000 "bp-asm.h".
6001 (PARMS): Do not use macros from bp-asm.h.
6002 (DEST): Likewise.
6003 (SRC): Likewise.
6004 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6005 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6006 "bp-asm.h".
6007 (PARMS): Do not use macros from bp-asm.h.
6008 (strlen): Do not use BP_SYM.
6009 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6010 "bp-asm.h".
6011 (PARMS): Do not use macros from bp-asm.h.
6012 (S1): Likewise.
6013 (S2): Likewise.
6014 (SIZE): Likewise.
6015 (__mpn_sub_n): Do not use BP_SYM.
6016 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6017 "bp-asm.h".
6018 (PARMS): Do not use macros from bp-asm.h.
6019 (S1): Likewise.
6020 (SIZE): Likewise.
6021 (__mpn_submul_1): Do not use BP_SYM.
6022 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6023 "bp-asm.h".
6024 (PARMS): Do not use macros from bp-asm.h.
6025 (S1): Likewise.
6026 (S2): Likewise.
6027 (SIZE): Likewise.
6028 (__mpn_add_n): Do not use BP_SYM.
6029 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6030 weak_alias.
6031 (bzero): Likewise.
6032 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6033 "bp-asm.h".
6034 (PARMS): Do not use macros from bp-asm.h.
6035 (BLK2): Likewise.
6036 (LEN): Likewise.
6037 (memcmp): Do not use BP_SYM.
6038 (bcmp): Do not use BP_SYM in weak_alias.
6039 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6040 "bp-asm.h".
6041 (PARMS): Do not use macros from bp-asm.h.
6042 (DEST): Likewise.
6043 (SRC): Likewise.
6044 (LEN): Likewise.
6045 (memcpy): Likewise. Do not use BP_SYM.
6046 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6047 "bp-asm.h".
6048 (PARMS): Do not use macros from bp-asm.h.
6049 (DEST): Likewise.
6050 (SRC): Likewise.
6051 (LEN): Likewise.
6052 (memmove): Likewise. Do not use BP_SYM.
6053 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6054 "bp-asm.h".
6055 (PARMS): Do not use macros from bp-asm.h.
6056 (DEST): Likewise.
6057 (SRC): Likewise.
6058 (LEN): Likewise.
6059 (__mempcpy): Likewise. Do not use BP_SYM.
6060 (mempcpy): Do not use BP_SYM in weak_alias.
6061 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6062 "bp-asm.h".
6063 (PARMS): Do not use macros from bp-asm.h.
6064 (DEST): Likewise.
6065 (LEN): Likewise.
6066 [!BZERO_P] (CHR): Likewise.
6067 (memset): Likewise. Do not use BP_SYM.
6068 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6069 "bp-asm.h".
6070 (PARMS): Do not use macros from bp-asm.h.
6071 (STR2): Likewise.
6072 (strcmp): Do not use BP_SYM.
6073 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6074 "bp-asm.h".
6075 (PARMS): Do not use macros from bp-asm.h.
6076 (STR): Likewise.
6077 (DELIM): Likewise.
6078 [USE_AS_STRTOK_R] (SAVE): Likewise.
6079 (FUNCTION): Likewise. Do not use BP_SYM.
6080 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6081 aliases.
6082 (strtok_r): Likewise.
6083 (__GI___strtok_r): Likewise.
6084 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6085 (PARMS): Do not use macros from bp-asm.h.
6086 (S): Likewise.
6087 (SIZE): Likewise.
6088 (__mpn_lshift): Do not use BP_SYM.
6089 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6090 (PARMS): Do not use macros from bp-asm.h.
6091 (STR): Likewise.
6092 (CHR): Likewise.
6093 (__memchr): Do not use BP_SYM.
6094 (memchr): Do not use BP_SYM in weak_alias.
6095 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6096 (PARMS): Do not use macros from bp-asm.h.
6097 (BLK2): Likewise.
6098 (LEN): Likewise.
6099 (memcmp): Do not use BP_SYM.
6100 (bcmp): Do not use BP_SYM in weak_alias.
6101 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6102 (PARMS): Do not use macros from bp-asm.h.
6103 (S1): Likewise.
6104 (SIZE): Likewise.
6105 (__mpn_mul_1): Do not use BP_SYM.
6106 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6107 "bp-asm.h".
6108 (PARMS): Do not use macros from bp-asm.h.
6109 (STR): Likewise.
6110 (CHR): Likewise.
6111 (__rawmemchr): Do not use BP_SYM.
6112 (rawmemchr): Do not use BP_SYM in weak_alias.
6113 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (S): Likewise.
6116 (SIZE): Likewise.
6117 (__mpn_rshift): Do not use BP_SYM.
6118 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6119 (PARMS): Do not use macros from bp-asm.h.
6120 (SIGMSK): Likewise.
6121 (__sigsetjmp): Likewise. Do not use BP_SYM.
6122 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6123 (_start): Do not use BP_SYM.
6124 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6125 (PARMS): Do not use macros from bp-asm.h.
6126 (DEST): Likewise.
6127 (SRC): Likewise.
6128 (__stpcpy): Likewise. Do not use BP_SYM.
6129 (stpcpy): Do not use BP_SYM in weak_alias.
6130 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6131 "bp-asm.h".
6132 (PARMS): Do not use macros from bp-asm.h.
6133 (DEST): Likewise.
6134 (SRC): Likewise.
6135 (LEN): Likewise.
6136 (__stpncpy): Likewise. Do not use BP_SYM.
6137 (stpncpy): Do not use BP_SYM in weak_alias.
6138 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6139 (PARMS): Do not use macros from bp-asm.h.
6140 (STR): Likewise.
6141 (CHR): Likewise.
6142 (strchr): Likewise. Do not use BP_SYM.
6143 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6144 "bp-asm.h".
6145 (PARMS): Do not use macros from bp-asm.h.
6146 (STR): Likewise.
6147 (CHR): Likewise.
6148 (__strchrnul): Likewise. Do not use BP_SYM.
6149 (strchrnul): Do not use BP_SYM in weak_alias.
6150 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (STOP): Likewise.
6154 (strcspn): Do not use BP_SYM.
6155 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6156 "bp-asm.h".
6157 (PARMS): Do not use macros from bp-asm.h.
6158 (STR): Likewise.
6159 (STOP): Likewise.
6160 (strpbrk): Likewise. Do not use BP_SYM.
6161 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (STR): Likewise.
6165 (CHR): Likewise.
6166 (strrchr): Likewise. Do not use BP_SYM.
6167 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (SKIP): Likewise.
6170 (strspn): Do not use BP_SYM.
6171 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6172 (PARMS): Do not use macros from bp-asm.h.
6173 (STR): Likewise.
6174 (DELIM): Likewise.
6175 (SAVE): Likewise.
6176 (FUNCTION): Likewise. Do not use BP_SYM.
6177 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6178 aliases.
6179 (strtok_r): Likewise.
6180 (__GI___strtok_r): Likewise.
6181 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6182 (PARMS): Do not use macros from bp-asm.h.
6183 (S1): Likewise.
6184 (S2): Likewise.
6185 (SIZE): Likewise.
6186 (__mpn_sub_n): Do not use BP_SYM.
6187 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6188 "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (S1): Likewise.
6191 (SIZE): Likewise.
6192 (__mpn_submul_1): Do not use BP_SYM.
6193 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6194 <bp-sym.h>.
6195 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6196 and <bp-asm.h>.
6197 (PARMS): Do not use macros from bp-asm.h.
6198 (FLAGS): Likewise.
6199 (PTID): Likewise.
6200 (TLS): Likewise.
6201 (CTID): Likewise.
6202 (__clone): Do not use BP_SYM.
6203 (clone): Do not use BP_SYM in weak_alias.
6204 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6205 and <bp-asm.h>.
6206 (PARMS): Do not use macros from bp-asm.h.
6207 (LEN): Likewise.
6208 (__mmap64): Do not use BP_SYM.
6209 (mmap64): Do not use BP_SYM in weak_alias.
6210 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6211 <bp-sym.h> and <bp-asm.h>.
6212 (PARMS): Do not use macros from bp-asm.h.
6213 (__posix_fadvise64_l64): Do not use BP_SYM.
6214 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6215 (PARMS): Do not use macros from bp-asm.h.
6216 (NSOPS): Likewise.
6217 (semtimedop): Do not use BP_SYM.
6218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6219 and <bp-asm.h>.
6220
582a3cff
AM
62212013-02-21 Allan McRae <allan@archlinux.org>
6222
6223 * manual/message.texi (Charset conversion in gettext):
6224 Move @end statement to beginning of line.
6225
bab8a695
SP
62262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6227
80945231
SP
6228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6229 static.
6230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6231 Likewise.
6232
bab8a695
SP
6233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6234 (denorm): Likewise.
6235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6237
e21d7aa7
AK
62382013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6239
6240 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6241 tail-call to the resolved function if pltexit isn't needed.
6242
4c7a4263
SP
62432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6244
6245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6246 or Y being zero as being unlikely.
6247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6248 Likewise.
6249
41f49342
CD
62502013-02-20 Carlos O'Donell <carlos@redhat.com>
6251
6252 * manual/nss.texi (System Databases and Name Service Switch):
6253 Remove frobnicate @pxref.
6254
50022a93
TS
62552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6256
6257 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6258 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6259
08cbd996
PM
62602013-02-20 Petr Machata <pmachata@redhat.com>
6261
6262 * elf/elf.h (R_ARM_TARGET1): New macro.
6263 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6264 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6265 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6266 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6267 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6268 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6269 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6270 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6271 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6272 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6273 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6274 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6275 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6276 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6277 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6278 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6279 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6280 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6281 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6282 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6283 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6284 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6285 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6286 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6287 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6288 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6289 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6290 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6291 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6292 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6293 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6294 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6295 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6296 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6297 (R_ARM_THM_GOT_BREL12): Likewise.
6298 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6299 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6300 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6301 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6302 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6303 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6304 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6305 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6306 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6307
c7b275d6
TS
63082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6309
6310 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6311 __attribute_used__ to __attribute__ ((unused)).
6312
20cd7fb3
SP
63132013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6314
6315 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6316 powerpc mpa.c.
6317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6318 comment formatting.
6319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6320
92945b52
JM
63212013-02-19 Joseph Myers <joseph@codesourcery.com>
6322
6323 [BZ #13550]
6324 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6325 Remove macro.
6326 (ENTER): Remove both macro definitions.
6327 (LEAVE): Likewise.
6328 (CHECK_BOUNDS_LOW): Likewise.
6329 (CHECK_BOUNDS_HIGH): Likewise.
6330 (CHECK_BOUNDS_BOTH): Likewise.
6331 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6332 (RETURN_BOUNDED_POINTER): Likewise.
6333 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6334 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6335 (POP_ERRNO_LOCATION_RETURN): Likewise.
6336 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6337 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6338 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6339 macros.
6340 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6341 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6342 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6343 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6344 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6345 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6346 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6347 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6348 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6349 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6350 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6351 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6352 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6353 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6354 removed macros.
6355 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6356 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6357 macros.
6358 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6359 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6360 * sysdeps/i386/i586/memset.S (memset): Likewise.
6361 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6362 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6363 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6364 macros.
6365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6366 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6367 Change uses of L(2) to L(out).
6368 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6369 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6370 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6371 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6372 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6373 removed macros.
6374 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6375 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6376 macros.
6377 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6378 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6379 (RETURN): Do not use macro LEAVE.
6380 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6381 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6382 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6383 * sysdeps/i386/i686/memset.S (memset): Likewise.
6384 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6385 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6386 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6387 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6388 Likewise.
6389 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6390 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6391 L(1_2) and L(1_3) into L(1).
6392 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6393 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6394 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6395 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6396 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6397 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6398 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6399 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6400 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6401 macros.
6402 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6403 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6404 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6405 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6406 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6407 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6408 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6409 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6410 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6411 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6412 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6413 * sysdeps/i386/strspn.S (strspn): Likewise.
6414 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6415 conditional code.
6416 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6417 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6418 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6419 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6420 L(1_3) into L(1_1).
6421 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6422 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6423 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6424 macros.
6425 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6426
2389741a
JJ
64272013-02-19 Jakub Jelinek <jakub@redhat.com>
6428
6429 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6430 macro.
6431
2016b3cd
SP
64322013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6433
e4f22324
SP
6434 * math/atest-exp.c (exp_mpn): Remove ROUND.
6435 * math/atest-exp2.c (exp_mpn): Likewise.
6436 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6437
2016b3cd
SP
6438 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6439 * stdlib/tst-tls-atexit-lib.c: Likewise.
6440 * stdlib/tst-tls-atexit.c: Likewise.
6441
4be9b544
MF
64422013-02-18 Mike Frysinger <vapier@gentoo.org>
6443
6444 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6445 and __attribute_alloc_size__.
6446
2f62b9ee
MF
64472013-02-18 Mike Frysinger <vapier@gentoo.org>
6448
6449 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6450 __attribute_alloc_size__.
6451 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6452 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6453
6ff444c4
MF
64542013-02-18 Mike Frysinger <vapier@gentoo.org>
6455
6456 * include/programs/xmalloc.h: New file.
6457 * catgets/gencat.c: Include it.
6458 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6459 * elf/pldd.c: Likewise.
6460 * iconv/iconv_charmap.c: Likewise.
6461 * iconv/iconvconfig.c: Likewise.
6462 * iconv/strtab.c: Likewise.
6463 * locale/programs/locale.c: Likewise.
6464 * locale/programs/localedef.h: Likewise.
6465 * locale/programs/simple-hash.c: Likewise.
6466 * nscd/nscd.h: Likewise.
6467 * nss/makedb.c: Likewise.
6468 * sysdeps/generic/ldconfig.h: Likewise.
6469
be179c8a
SP
64702013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6471
ba384f6e
SP
6472 * Versions.def: Add GLIBC_2.18.
6473 * include/link.h (struct link_map): New member l_tls_dtor_count.
6474 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6475 (__call_tls_dtors): Likewise.
6476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6477 __cxa_thread_atexit_impl.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6479 Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6481 Likewise.
6482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6483 Likewise.
6484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6485 Likewise.
6486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6488 Likewise.
6489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6490 Likewise.
6491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6493 Likewise.
6494 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6495 (tests): Add test case tst-tls-atexit.
6496 (modules-names): Add shared library for tst-tls-atexit.
6497 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6498 (GLIBC_PRIVATE): Add __call_tls_dtors.
6499 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6500 for libstdc++.
6501 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6502 * stdlib/tst-tls-atexit.c: New test case.
6503 * stdlib/tst-tls-atexit-lib.c: New test case.
6504
ffaa74cf 6505 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6506
be179c8a
SP
6507 * elf/Versions (ld): Add _dl_find_dso_for_object.
6508 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6509 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6510 (dl_open_worker): Use _dl_find_dso_for_object.
6511 * elf/dl-sym.c (do_sym): Likewise.
6512 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6513
f78b5caa
AK
65142013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6515
6516 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6517 Syntactic changes only.
6518 (_dl_runtime_profile): Do a tail-call to the resolved function.
6519
29691210
JM
65202013-02-17 Joseph Myers <joseph@codesourcery.com>
6521
6522 [BZ #13550]
6523 * sysdeps/x86_64/bp-asm.h: Remove file.
6524 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6525 <bp-sym.h> and <bp-asm.h>.
6526 (__clone): Do not use BP_SYM.
6527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6528 <bp-sym.h> and <bp-asm.h>.
6529 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6530 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6531 "bp-asm.h".
6532 (_setjmp): Do not use BP_SYM.
6533 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6534 "bp-asm.h".
6535 (setjmp): Do not use BP_SYM.
6536 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6537 libc_hidden_def.
6538 (mempcpy): Do not use BP_SYM in weak_alias.
6539 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6540 "bp-asm.h".
6541 (strchr): Do not use BP_SYM.
6542 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6543 "bp-asm.h".
6544 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6545 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6546 (_start): Do not use BP_SYM.
6547 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6548 "bp-asm.h".
6549 (strcat): Do not use BP_SYM.
6550 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6551 "bp-asm.h".
6552 (STRCMP): Do not use BP_SYM.
6553 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6554 "bp-asm.h".
6555 (STRCPY): Do not use BP_SYM.
6556 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6557 "bp-asm.h".
6558 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6559 "bp-asm.h".
6560 (FUNCTION): Do not use BP_SYM.
6561 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6562 weak_alias.
6563 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6564
f238fd19
AJ
65652013-02-17 Andreas Jaeger <aj@suse.de>
6566
6567 * time/Versions: Sort entries.
6568 * string/Versions: Likewise.
6569 * resolv/Versions: Likewise.
6570 * posix/Versions: Likewise.
6571 * iconv/Versions: Likewise.
6572 * elf/Versions: Likewise.
6573 * wcsmbs/Versions: Likewise.
6574
bd07f23c 65752013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6576
22af19f9
SP
6577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6578 loop termination condition.
6579
4709fe76
SP
6580 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6581 variable to calculate EZ.
6582 (__sqr): Likewise.
2d0e0f29
SP
6583
6584 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6585 the lower precision input.
6586
daaa7713
JM
65872013-02-15 Joseph Myers <joseph@codesourcery.com>
6588
6589 [BZ #13550]
6590 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6591 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6592 (run-via-rtld-prefix): Do not handle %-bp tests.
6593 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6594 (all-object-suffixes): Remove .ob.
6595 (bppfx): Remove variable.
6596 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6597 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6598 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6599 [$(build-bounded) = yes] (libtype.ob): Likewise.
6600 * Makerules (elide-routines.ob): Remove variable.
6601 (do-tests-clean): Do not handle *-bp.out.
6602 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6603 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6604 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6605 (tests): Do not include $(tests-bp.out).
6606 (xtests): Do not include $(xtests-bp.out).
6607 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6608 [$(build-bounded) = yes] ($(addprefix
6609 $(objpfx),$(binaries-bounded))): Remove rule.
6610 ($(objpfx)%-bp.out): Remove rule.
6611 * config.make.in (build-bounded): Remove variable.
6612 * crypt/Makefile [$(build-bounded) = yes]
6613 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6614 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6615 append to variable.
6616 [$(build-bounded) = yes] (install-lib): Likewise.
6617 [$(build-bounded) = yes] (generated): Likewise.
6618 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6619 Remove rule.
6620 * intl/Makefile [$(build-bounded) = yes]
6621 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6622 * math/Makefile [$(build-bounded) = yes]
6623 ($(tests:%=$(objpfx)%-bp): Likewise.
6624 * misc/Makefile [$(build-bounded) = yes]
6625 ($(objpfx)tst-tsearch-bp): Likewise.
6626 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6627 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6628 Remove dependency.
6629 * string/Makefile (o-objects.ob): Remove variable.
6630 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6631 (CFLAGS-.ob): Remove variable.
6632 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6633 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6634 both definitions of variable.
6635 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6636 (ASFLAGS-.ob): Remove variable.
6637
e97ed6dd
JM
66382013-02-14 Joseph Myers <joseph@codesourcery.com>
6639
2bdd4ca6
JM
6640 [BZ #13550]
6641 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6642 Remove __BOUNDED_POINTERS__ from condition.
6643 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6644 * string/bits/string2.h [!__NO_STRING_INLINES &&
6645 !__BOUNDED_POINTERS__]: Likewise.
6646 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6647 Likewise.
6648 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6649 Remove conditional code.
6650 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6651 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6652 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6653 condition.
6654
e97ed6dd
JM
6655 [BZ #13550]
6656 * csu/libc-start.c: Do not include <bp-sym.h>.
6657 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6658 * elf/dl-open.c: Do not include <bp-sym.h>.
6659 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6660 * math/fegetenv.c: Do not include <bp-sym.h>.
6661 (fegetenv): Do not use BP_SYM in versioned symbols.
6662 * nptl/sysdeps/pthread/bits/libc-lockP.h
6663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6664 <bp-sym.h>.
6665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6666 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6668 (__pthread_mutex_destroy): Likewise.
6669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6670 (__pthread_mutex_lock): Likewise.
6671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6672 (__pthread_mutex_trylock): Likewise.
6673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6674 (__pthread_mutex_unlock): Likewise.
6675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6676 (__pthread_mutexattr_init): Likewise.
6677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6678 (__pthread_mutexattr_destroy): Likewise.
6679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6680 (__pthread_mutexattr_settype): Likewise.
6681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6682 (__pthread_rwlock_init): Likewise.
6683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6684 (__pthread_rwlock_destroy): Likewise.
6685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6686 (__pthread_rwlock_rdlock): Likewise.
6687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6688 (__pthread_rwlock_tryrdlock): Likewise.
6689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6690 (__pthread_rwlock_wrlock): Likewise.
6691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6692 (__pthread_rwlock_trywrlock): Likewise.
6693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6694 (__pthread_rwlock_unlock): Likewise.
6695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6696 (__pthread_key_create): Likewise.
6697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6698 (__pthread_setspecific): Likewise.
6699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6700 (__pthread_getspecific): Likewise.
6701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6702 Likewise.
6703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6704 (_pthread_cleanup_push_defer): Likewise.
6705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6706 (_pthread_cleanup_pop_restore): Likewise.
6707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6708 (pthread_setcancelstate): Likewise.
6709 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6710 <bp-sym.h>.
6711 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6712 (memchr): Do not use BP_SYM in weak_alias.
6713 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6714 (fegetenv): Do not use BP_SYM in versioned symbols.
6715 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6716 (fesetenv): Do not use BP_SYM in versioned symbols.
6717 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6718 (feupdateenv): Do not use BP_SYM in versioned symbols.
6719 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6720 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6721 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6722 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6723 (open64): Do not use BP_SYM in weak_alias.
6724 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6725 (fegetenv): Do not use BP_SYM in versioned symbols.
6726 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6727 (fesetenv): Do not use BP_SYM in versioned symbols.
6728 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6729 (feupdateenv): Do not use BP_SYM in versioned symbols.
6730 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6731 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6732 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6733 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6734 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6735 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6736 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6737 <bp-sym.h>.
6738 (__libc_start_main): Do not use BP_SYM.
6739
d6752ccd
SP
67402013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6741
cb57ce60
SP
6742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6743 redundant return line.
6744 (norm): Likewise.
6745 (denorm): Likewise.
6746 (dbl_mp): Likewise.
6747 (sub_magnitudes): Likewise.
6748 (__add): Likewise.
6749 (__sub): Likewise.
6750 (__mul): Likewise.
6751 (__inv): Likewise.
6752 (__dvd): Likewise.
6753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6754 (norm): Likewise.
6755 (denorm): Likewise.
6756 (dbl_mp): Likewise.
6757 (sub_magnitudes): Likewise.
6758 (__add): Likewise.
6759 (__sub): Likewise.
6760 (__mul): Likewise.
6761 (__inv): Likewise.
6762 (__dvd): Likewise.
6763
f414520d
SP
6764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6765 instead of __mul.
6766 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6767 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6768 (cc32): Likewise.
6769
d6752ccd
SP
6770 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6771 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6773 of __mul for squares.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6775 function
6776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6777 Likewise.
6778 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6779 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6780
70d9946a
JM
67812013-02-13 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #13550]
6784 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6785 code.
6786 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6787 prototype or function definition. Rename ubp_* variables and
6788 parameters. Remove argv definitions conditional on
6789 [__BOUNDED_POINTERS__].
6790 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6791 * elf/dl-runtime.c (_dl_fixup): Likewise.
6792 * include/set-hooks.h (RUN_HOOK): Likewise.
6793 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6794 definition.
6795 * string/strcpy.c (strcpy): Do not use __unbounded.
6796 * sysdeps/generic/frame.h (struct layout): Likewise.
6797 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6798 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6799 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6800 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6801 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6802 (__backtrace): Likewise.
6803 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6804 use __ptrvalue.
6805 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6806 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6807 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6810 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6811 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6812 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6813 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6814 Do not use __unbounded.
6815 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6816 Rename __unboundedrlimits parameter to rlimits in prototype.
6817 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6818 Do not use __unbounded.
6819 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6820 not use __ptrvalue.
6821 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6822 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6823 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6824 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6825 __ptrvalue or __unbounded.
6826 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6827 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6828 use __unbounded.
6829 (__new_msgctl): Do not use __ptrvalue.
6830 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6831 __unbounded.
6832 (__libc_msgrcv): Do not use __ptrvalue.
6833 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6834 startup_info): Do not use __unbounded.
6835 (__libc_start_main): Likewise. Rename ubp_* variables and
6836 parameters. Remove argv definitions conditional on
6837 [__BOUNDED_POINTERS__].
6838 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6839 __ptrvalue.
6840 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6841 use __unbounded.
6842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6843 or __ptrvalue.
6844 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6845 use __unbounded.
6846 (__new_shmctl): Do not use __ptrvalue.
6847 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6848 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6849 Likewise.
6850 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6852 (__libc_sigaction): Likewise.
6853 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6854 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6855 Likewise.
6856 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6857
cc7834d6
OB
68582013-02-13 Ondřej Bílka <neleai@seznam.cz>
6859
ffb1ec7b 6860 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6861
6862 * string/mempcpy.c: Implement by calling memcpy.
6863
bdf02814
SP
68642013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6865
c2af38aa
SP
6866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6867
4e92d59e
SP
6868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6869 evaluation.
6870
909279a5
SP
6871 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6872 values in the mantissa.
6873
bdf02814
SP
6874 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6875 minimize writes to Z.
6876 (sub_magnitudes): Simplify code a bit.
6877
cd525923
RM
68782013-02-12 Roland McGrath <roland@hack.frob.com>
6879
6880 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6881 from the message. The linker prefixes all warnings with that already.
6882
7e2f0d2d
AS
68832013-02-12 Andreas Schwab <schwab@suse.de>
6884
a445af0b
AS
6885 [BZ #15078]
6886 * posix/regexec.c (extend_buffers): Add parameter min_len.
6887 (check_matching): Pass minimum needed length.
6888 (clean_state_log_if_needed): Likewise.
6889 (get_subexp): Likewise.
6890 * posix/Makefile (tests): Add bug-regex34.
6891 (bug-regex34-ENV): Define.
6892 * posix/bug-regex34.c: New file.
6893
7e2f0d2d
AS
6894 [BZ #11561]
6895 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6896 elements compare against the byte sequence of it, not its name.
6897 * posix/Makefile (tests): Add bug-regex35.
6898 (bug-regex35-ENV): Define.
6899 * posix/bug-regex35.c: New file.
6900
a175b684
TV
69012013-02-11 Tom de Vries <tom@codesourcery.com>
6902
6903 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6904 comment.
6905 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6906 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6907 (CHECK_EOL): Add undef.
6908
310998fe 69092013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6910
6911 * bits/stdlib-bsearch.h: New file.
6912 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6913 * stdlib/stdlib.h: Likewise.
41eda41d 6914
8ded91fb
RM
69152013-02-11 Roland McGrath <roland@hack.frob.com>
6916
6917 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6918 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6919 declaration.
6920 * manual/search.texi (Array Search Function): Add missing const in
6921 lfind prototype.
6922 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6923 declaration to use rlim_t.
6924 (Basic Scheduling Functions): Remove erroneous const from
6925 sched_getparam prototype. Remove erroneous * from
6926 sched_get_priority_max and sched_get_priority_min prototypes.
6927 (Resource Usage): Fix summary @comment on vtimes to refer to
6928 sys/vtimes.h rather than vtimes.h.
6929 Add missing *s in vtimes prototype.
6930 (Limits on Resources): Fix ulimit prototype to return long int.
6931 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6932 prototypes to use long int rather than double.
6933 (BSD Random): Fix initstate and setstate to use char *, not void *.
6934 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6935 prototype to make second argument 'struct aiocb64 *const[]'.
6936 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6937 (Status of AIO Operations): Remove erroneous const in aio_return and
6938 aio_return64 prototypes.
6939 (Synchronizing I/O): Fix sync prototype to return void.
6940 * manual/startup.texi (Suboptions): Remove an erroneous const in
6941 getsubopt prototype.
6942 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6943 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6944 use size_t rather than int.
6945 (Scanning All Users): Likewise for getpwent_r.
6946 (Setting Groups): Add missing const to setgroups prototype.
6947 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6948 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6949 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6950 'const void *' rather than 'const char *'.
6951 (Host Address Functions): Likewise for inet_ntop.
6952 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6953 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6954 ssize_t for return value.
6955 (Sending Data): Likewise for send, sendto, sendmsg.
6956 (Socket Option Functions): Add a missing const in setsockopt prototype.
6957 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6958 use wchar_t for the argument.
6959 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6960 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6961 take no arguments.
6962 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6963 double/float/long double for second argument.
6964 Fix return types of significand, significandf, significandl.
6965 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6966 argument in fchmod prototype.
6967 (File Owner): Use uid_t and gid_t in fchown prototype.
6968 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6969 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6970 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6971 use 'const struct dirent **' as argument types to CMP function pointer
6972 argument.
6973 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6974 (File Times): Fix summary magic @comment for struct utimbuf and utime
6975 to refer to utime.h, not time.h.
6976 * manual/string.texi (Argz Functions): Add missing const in
6977 argz_extract and argz_next prototypes.
6978 (Finding Tokens in a String): Likewise for basename.
6979 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6980 (Copying and Concatenation): Fix typo in wmemmove prototype.
6981 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6982 (Signal Stack): Remove erroneous const in sigstack prototype.
6983 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6984 prototype.
6985 (Simple Calendar Time): Likewise for stime.
6986 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6987 prototype.
6988 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6989 say sys/sysctl.h instead.
6990 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6991 and vsyslog prototypes.
6992
fe77fe6d
TV
69932013-02-11 Tom de Vries <tom@codesourcery.com>
6994
6995 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6996 Remove.
6997
3a09b620
RM
69982013-02-11 Roland McGrath <roland@hack.frob.com>
6999
7000 * misc/sys/mman.h: Fix typo in mremap comment.
7001
550a0b89
RM
70022013-02-08 Roland McGrath <roland@hack.frob.com>
7003
7004 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7005 the '\0' terminator.
7006
a2da1673
JM
70072013-02-08 Joseph Myers <joseph@codesourcery.com>
7008
7009 [BZ #13550]
7010 * debug/segfault.c: Don't include <bp-checks.h>.
7011 * sysdeps/generic/bp-checks.h: Remove file.
7012 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7013 (__GETDENTS): Don't use CHECK_N.
7014 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7015 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7016 (__getgroups): Don't use CHECK_N.
7017 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7018 (setgroups): Don't use CHECK_N.
7019 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7020 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7021 (__libc_msgrcv): Don't use CHECK_N.
7022 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7023 (__libc_msgsnd): Don't use CHECK_N.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7025 <bp-checks.h>.
7026 (__libc_pread): Don't use CHECK_N.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7028 include <bp-checks.h>.
7029 (__libc_pread64): Don't use CHECK_N.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7031 include <bp-checks.h>.
7032 (__libc_pwrite): Don't use CHECK_N.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7034 include <bp-checks.h>.
7035 (__libc_pwrite64): Don't use CHECK_N.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7037 <bp-checks.h>.
7038 (__libc_pread): Don't use CHECK_N.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7040 include <bp-checks.h>.
7041 (__libc_pread64): Don't use CHECK_N.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7043 include <bp-checks.h>.
7044 (__libc_pwrite): Don't use CHECK_N.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7046 include <bp-checks.h>.
7047 (__libc_pwrite64): Don't use CHECK_N.
7048 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7049 (do_pread): Don't use CHECK_N.
7050 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7051 (do_pread64): Don't use CHECK_N.
7052 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7053 (do_pwrite): Don't use CHECK_N.
7054 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7055 (do_pwrite64): Don't use CHECK_N.
7056 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7057 (__libc_readv): Don't use CHECK_N.
7058 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7059 (semop): Don't use CHECK_N.
7060 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7061 <bp-checks.h>.
7062 (semtimedop): Don't use CHECK_N.
7063 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7064 (__libc_pread): Don't use CHECK_N.
7065 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7066 <bp-checks.h>.
7067 (__libc_pread64): Don't use CHECK_N.
7068 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7069 <bp-checks.h>.
7070 (__libc_pwrite): Don't use CHECK_N.
7071 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7072 <bp-checks.h>.
7073 (__libc_pwrite64): Don't use CHECK_N.
7074 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7075 <bp-checks.h>.
7076 (__libc_msgrcv): Don't use CHECK_N.
7077 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7078 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7079 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7080 (__libc_writev): Don't use CHECK_N.
7081
b84660a8
RM
70822013-02-08 Roland McGrath <roland@hack.frob.com>
7083
7f3e75f8
RM
7084 * string/strcpy.c: Removed unused variable.
7085
b84660a8
RM
7086 * Makeconfig (+sysdep-includes): Define with := rather than =.
7087 Use an existing include/ subdir of each sysdeps dir before it.
7088
471514d3
CD
70892013-02-08 Carlos O'Donell <carlos@redhat.com>
7090
7091 * nscd/connection.c (register_traced_file): Comment function.
7092 [HAVE_INOTIFY] (union __inev): Define.
7093 [HAVE_INOTIFY] (inotify_check_files): New function.
7094 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7095 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7096 clear_db_cache.
7097 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7098
b2d3c3be
CD
70992013-02-08 Carlos O'Donell <carlos@redhat.com>
7100
7101 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7102 loaded if not already and that a failure is permanent.
7103
b39949d2
CD
71042013-02-08 Carlos O'Donell <carlos@redhat.com>
7105
ddacd1db 7106 [BZ #15006]
b39949d2
CD
7107 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7108 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7109
b2c9eff4
JM
71102013-02-08 Joseph Myers <joseph@codesourcery.com>
7111
f3aae3f3
JM
7112 [BZ #13550]
7113 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7114 (CHECK_1_NULL_OK): Likewise.
7115 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7116 (__fxstat): Do not use CHECK_1.
7117 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7118 <bp-checks.h>.
7119 (___fxstat64): Do not use CHECK_1.
7120 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7121 <bp-checks.h>.
7122 (__fxstatat): Do not use CHECK_1.
7123 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7124 <bp-checks.h>.
7125 (__fxstatat64): Do not use CHECK_1.
7126 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7127 <bp-checks.h>.
7128 (__fxstat): Do not use CHECK_1.
7129 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7130 <bp-checks.h>.
7131 (__fxstatat): Do not use CHECK_1.
7132 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7133 <bp-checks.h>.
7134 (__getresgid): Do not use CHECK_1.
7135 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7136 <bp-checks.h>.
7137 (__getresuid): Do not use CHECK_1.
7138 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7139 <bp-checks.h>.
7140 (__lxstat): Do not use CHECK_1.
7141 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7142 <bp-checks.h>.
7143 (__old_msgctl): Do not use CHECK_1.
7144 (__new_msgctl): Likewise.
7145 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7146 <bp-checks.h>.
7147 (__new_setrlimit): Do not use CHECK_1.
7148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7149 <bp-checks.h>.
7150 (__old_shmctl): Do not use CHECK_1.
7151 (__new_shmctl): Likewise.
7152 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7153 <bp-checks.h>.
7154 (__xstat): Do not use CHECK_1.
7155 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7156 (__lxstat): Do not use CHECK_1.
7157 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7158 <bp-checks.h>.
7159 (___lxstat64): Do not use CHECK_1.
7160 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7161 (__old_msgctl): Do not use CHECK_1.
7162 (__new_msgctl): Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7164 <bp-checks.h>.
7165 (__gettimeofday): Do not use CHECK_1.
7166 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7167 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7168 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7169 <bp-checks.h>.
7170 (__gettimeofday): Do not use CHECK_1.
7171 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7172 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7173 (__new_shmctl): Do not use CHECK_1.
7174 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7175 <bp-checks.h>.
7176 (do_sigtimedwait): Do not use CHECK_1.
7177 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7178 <bp-checks.h>.
7179 (do_sigwaitinfo): Do not use CHECK_1.
7180 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7181 <bp-checks.h>.
7182 (msgctl): Do not use CHECK_1.
7183 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7184 <bp-checks.h>.
7185 (shmctl): Do not use CHECK_1.
7186 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7187 (ustat): Do not use CHECK_1.
7188 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7189 <bp-checks.h>.
7190 (__fxstat): Do not use CHECK_1.
7191 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7192 <bp-checks.h>.
7193 (__fxstatat): Do not use CHECK_1.
7194 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7195 <bp-checks.h>.
7196 (__lxstat): Do not use CHECK_1.
7197 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7198 <bp-checks.h>.
7199 (__xstat): Do not use CHECK_1.
7200 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7201 (__xstat): Do not use CHECK_1.
7202 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7203 (___xstat64): Do not use CHECK_1.
7204
b2c9eff4
JM
7205 [BZ #13550]
7206 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7207 definitions.
7208 (CHECK_BOUNDS_HIGH): Likewise.
7209 * string/strcpy.c: Do not include <bp-checks.h>.
7210 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7211
f1d70dad
RM
72122013-02-07 Roland McGrath <roland@hack.frob.com>
7213
7214 * nscd/nscd-client.h (__nscd_drop_map_ref):
7215 Add __attribute__ ((unused)).
7216 * nis/nss-nisplus.h (niserr2nss): Likewise.
7217
7218 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7219 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7220
7221 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7222 Remove inline keyword.
7223 * include/rounding-mode.h (round_away): Likewise.
7224 * libio/wfileops.c (adjust_wide_data): Likewise.
7225 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7226 (__m128i_strloadu_tolower): Likewise.
7227 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7228 (__m128i_strloadu_tolower): Likewise.
7229 * time/mktime.c (ydhms_diff): Likewise.
7230 * locale/elem-hash.h (elem_hash): Likewise.
7231 * locale/setlocale.c (setdata): Likewise.
7232 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7233 (re_string_wchar_at): Likewise.
7234 (bitset_not, bitset_merge, bitset_mask): Likewise.
7235 [!(__GNUC__ > 3)] (inline): Remove macro.
7236 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7237 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7238 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7239 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7240 * string/memcmp.c (memcmp_bytes): Likewise.
7241 * locale/programs/locarchive.c (compute_hashval): Likewise.
7242 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7243 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7244 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7245 * nss/getent.c (print_rpc, print_protocols): Likewise.
7246 (print_passwd, print_group, print_aliases): Likewise.
7247 * nis/nss-nisplus.h (niserr2nss): Likewise.
7248 * nscd/connections.c (restart_p): Likewise.
7249 Change return type to bool.
7250
eab55bfb
RM
72512013-02-05 Roland McGrath <roland@hack.frob.com>
7252
7bd642f5
RM
7253 * Makeconfig (all-Depend-files): Add existing
7254 $(sorted-subdirs:=/Depend) files.
7255 (all-subdirs): Remove nss.
7256 * sysdeps/unix/inet/Subdirs: Add it here instead.
7257 * hesiod/Depend: New file.
7258
573c29b2
RM
7259 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7260 instead of calling alloca.
7261
b2e25af0
RM
7262 * io/lseek.c (__lseek): Rename to __libc_lseek.
7263 Define __lseek as an alias.
7264
eab55bfb
RM
7265 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7266
9a0d1941
CD
72672013-02-04 Carlos O'Donell <carlos@redhat.com>
7268
7269 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7270 else clause and remove check for non-standard endianness.
7271
b83bbec4
DM
72722013-02-04 David S. Miller <davem@davemloft.net>
7273
7274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7275
6277fdab
JM
72762013-02-04 Joseph Myers <joseph@codesourcery.com>
7277
7278 [BZ #13550]
7279 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7280 (__ubp_memchr): Remove prototype.
7281 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7282 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7283 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7284 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7285 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7286 Remove alias.
7287 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7288 (__ubp_memchr): Likewise.
7289 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7290 (__ubp_memchr): Likewise.
7291 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7292 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7293 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7294 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7295 CHECK_STRING.
7296 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7297 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7298 (__getcwd): Do not use CHECK_STRING.
7299 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7300 <bp-checks.h>.
7301 (__real_chown): Do not use CHECK_STRING.
7302 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7303 <bp-checks.h>.
7304 (fchownat): Do not use CHECK_STRING.
7305 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7306 CHECK_STRING.
7307 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7308 <bp-checks.h>.
7309 (__lchown): Do not use CHECK_STRING.
7310 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7311 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7312 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7313 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7315 include <bp-checks.h>.
7316 (truncate64): Do not use CHECK_STRING.
7317 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7318 <bp-checks.h>.
7319 (__real_chown): Do not use CHECK_STRING.
7320 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7321 <bp-checks.h>.
7322 (__lchown): Do not use CHECK_STRING.
7323 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7324 <bp-checks.h>.
7325 (__chown): Do not use CHECK_STRING.
7326 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7327 <bp-checks.h>.
7328 (truncate64): Do not use CHECK_STRING.
7329 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7330 Likewise.
7331 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7332 (__xmknod): Do not use CHECK_STRING.
7333 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7334 <bp-checks.h>.
7335 (__xmknodat): Do not use CHECK_STRING.
7336 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7337 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7338
903ae060
AS
73392013-02-04 Andreas Schwab <schwab@suse.de>
7340
7341 [BZ #14142]
7342 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7343 * include/netdb.h: Likewise for h_errno.
7344 * elf/tst-stackguard1.c: Include <tls.h>.
7345
542f9466
JK
73462013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7347
7348 * elf/link.h (struct link_map): Extend the l_addr comment.
7349 * include/link.h (struct link_map): Likewise.
7350
e782a927
JM
73512013-02-01 Joseph Myers <joseph@codesourcery.com>
7352
7353 [BZ #13550]
7354 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7355 (BOUNDED_1): Remove macro.
7356 * debug/backtrace.c: Don't include <bp-checks.h>.
7357 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7358 (__backtrace): Likewise.
7359 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7360 <bp-checks.h>.
7361 (__backtrace): Don't use BOUNDED_1.
7362 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7363 <bp-checks.h>.
7364 (__backtrace): Don't use BOUNDED_1.
7365 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7366 (__backtrace): Don't use BOUNDED_1.
7367 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7368 (shmat): Don't use BOUNDED_N.
7369
8cf28c5e
JM
73702013-01-31 Joseph Myers <joseph@codesourcery.com>
7371
3a7ac8a0
JM
7372 [BZ #13550]
7373 * sysdeps/generic/bp-start.h: Remove file.
7374 * csu/libc-start.c: Don't include <bp-start.h>.
7375 (LIBC_START_MAIN): Set up __environ directly instead of using
7376 INIT_ARGV_and_ENVIRON.
7377 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7378 <bp-start.h>.
7379
f3499f95
JM
7380 [BZ #13550]
7381 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7382 definitions.
7383 (CHECK_FCNTL): Likewise.
7384 (CHECK_N_PAGES): Likewise.
7385
32a45bea
JM
7386 [BZ #13550]
7387 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7388 definitions.
7389 (CHECK_SIGSET_NULL_OK): Likewise.
7390 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7391 <bp-checks.h>.
7392 (sigpending): Don't use CHECK_SIGSET.
7393 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7394 <bp-checks.h>.
7395 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7396 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7397 <bp-checks.h>.
7398 (do_sigsuspend): Don't use CHECK_SIGSET.
7399 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7400 use CHECK_SIGSET.
7401 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7402 (do_sigwait): Don't use CHECK_SIGSET.
7403 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7404 use CHECK_SIGSET.
7405 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7406 include <bp-checks.h>.
7407 (sigpending): Don't use CHECK_SIGSET.
7408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7409 include <bp-checks.h>.
7410 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7411 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7412 <bp-checks.h>.
7413 (sigpending): Don't use CHECK_SIGSET.
7414 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7415 <bp-checks.h>.
7416 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7417
2e8a5c8c
JM
7418 [BZ #13550]
7419 * sysdeps/generic/bp-semctl.h: Remove file.
7420 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7421 <bp-checks.h> and <bp-semctl.h>.
7422 (__old_semctl): Don't use CHECK_SEMCTL.
7423 (__new_semctl): Likewise.
7424 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7425 and <bp-semctl.h>.
7426 (__old_semctl): Don't use CHECK_SEMCTL.
7427 (__new_semctl): Likewise.
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7429 <bp-checks.h> and <bp-semctl.h>.
7430 (__old_semctl): Don't use CHECK_SEMCTL.
7431 (__new_semctl): Likewise.
7432 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7433 <bp-checks.h> and <bp-semctl.h>.
7434 (semctl): Don't use CHECK_SEMCTL.
7435
c2d54929
JM
7436 [BZ #13550]
7437 * Makerules (elide-bp-thunks): Remove variable.
7438 (elide-routines.oS): Don't use $(elide-bp-thunks).
7439 (elide-routines.os): Likewise.
7440 (elide-routines.o): Likewise.
7441 (elide-routines.op): Likewise.
7442 (elide-routines.og): Likewise.
7443 (objects): Don't use $(bp-thunks).
7444 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7445 include.
7446 (common-generated): Do not add s-proto-bp.d.
7447 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7448 (int): Likewise.
7449 (typ): Likewise.
7450 Do not generate makefile rules for bounded-pointer thunks.
7451 * sysdeps/generic/bp-thunks.h: Remove file.
7452 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7453 * sysdeps/unix/s-proto-bp.S: Likewise.
7454
8cf28c5e
JM
7455 [BZ #15062]
7456 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7457 parts of result separately when argument is not close to line from
7458 -i to i and one part of argument is small.
7459 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7460 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7461 * math/libm-test.inc (cacos_test): Add more tests.
7462 (casin_test): Likewise.
7463 (casinh_test): Likewise.
7464 * sysdeps/i386/fpu/libm-test-ulps: Update.
7465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7466
c4e33b8d
DM
74672013-01-31 David S. Miller <davem@davemloft.net>
7468
7469 * po/de.po: Update from translation team.
7470
3b60b421
MK
74712013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7472
7473 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7474
bb931195
TS
74752013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7476
b5a5da23
TS
7477 * configure.in (_AC_PROG_CC_C89): New definition.
7478 * configure: Regenerate.
7479
bb931195
TS
7480 * configure.in (AC_PROG_CPP): New definition.
7481 * configure: Regenerate.
7482
8c53a12c
JM
74832013-01-23 Joseph Myers <joseph@codesourcery.com>
7484
7485 * debug/tst-backtrace.h: New file.
7486 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7487 (ret): Remove variable.
7488 (x): Likewise.
7489 (FAIL): Remove macro.
7490 (NO_INLINE): Likewise.
7491 (fn1): Use match function instead of strstr.
7492 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7493 (ret): Remove variable.
7494 (x): Likewise.
7495 (FAIL): Remove macro.
7496 (NO_INLINE): Likewise.
7497 (fn): Use match function instead of strstr.
7498 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7499 (ret): Remove variable.
7500 (x): Likewise.
7501 (FAIL): Remove macro.
7502 (NO_INLINE): Likewise.
7503 (handle_signal): Use match function instead of strstr.
7504 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7505 (ret): Remove variable.
7506 (x): Likewise.
7507 (FAIL): Remove macro.
7508 (NO_INLINE): Likewise.
7509 (handle_signal): Use match function instead of strstr.
7510
4858fa2a
RM
75112013-01-23 Roland McGrath <roland@hack.frob.com>
7512
7513 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7514
bae8e7f5
DM
75152013-01-23 David S. Miller <davem@davemloft.net>
7516
7517 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7518 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7519 argument of CAS if possible.
7520 * sysdeps/sparc/sparc64/bits/atomic.h
7521 (__arch_compare_and_exchange_val_32_acq): Likewise.
7522 (__arch_compare_and_exchange_val_64_acq): Likewise.
7523
9cbbc4ae
PT
75242013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7525
7526 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7527 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7528 Include <limits.h>.
67b3f58c 7529 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7530
5655a0b5
AC
75312013-01-23 Adam Conrad <adconrad@0c3.net>
7532
7533 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7534 (LDFLAGS-tst-array5): Likewise.
7535
052aff95
JM
75362013-01-23 Joseph Myers <joseph@codesourcery.com>
7537
7538 [BZ #15036]
7539 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7540 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7541 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7542 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7543
7c1e01aa
DM
75442013-01-21 David S. Miller <davem@davemloft.net>
7545
7546 * sysdeps/sparc/backtrace.c: New file.
7547 * sysdeps/sparc/sparc32/backtrace.h: New file.
7548 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7549 * sysdeps/sparc/sparc64/backtrace.h: New file.
7550 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7551 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7552 -funwind-tables.
7553
ab087e0a
AS
75542013-01-21 Andreas Schwab <schwab@suse.de>
7555
7556 [BZ #15020]
7557 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7558 closed its stdout.
7559
ed689c2f
AS
75602013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7561
7562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7563 "mpa2.h".
7564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7565
31d470ac
JM
75662013-01-18 Joseph Myers <joseph@codesourcery.com>
7567 Mark Mitchell <mark@codesourcery.com>
7568 Tom de Vries <tom@codesourcery.com>
7569 Paul Pluzhnikov <ppluzhnikov@google.com>
7570
7571 * debug/tst-backtrace2.c: New file.
7572 * debug/tst-backtrace3.c: Likewise.
7573 * debug/tst-backtrace4.c: Likewise.
7574 * debug/tst-backtrace5.c: Likewise.
7575 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7576 (CFLAGS-tst-backtrace3.c): Likewise.
7577 (CFLAGS-tst-backtrace4.c): Likewise.
7578 (CFLAGS-tst-backtrace5.c): Likewise.
7579 (LDFLAGS-tst-backtrace2): Likewise.
7580 (LDFLAGS-tst-backtrace3): Likewise.
7581 (LDFLAGS-tst-backtrace4): Likewise.
7582 (LDFLAGS-tst-backtrace5): Likewise.
7583 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7584 tst-backtrace4 and tst-backtrace5.
7585
90567f30 75862013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7587 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7588
7589 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7590 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7591 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7592 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7594 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7595 "+r" and remove output regs list as redundant. Add explicit inline
7596 asm to specify register of return val to work around compiler codegen
7597 bug. Remove (int) cast on return value. Add return type parameter to
7598 use in macro so that this macro does not truncate return value for
7599 64-bit values.
7600 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7601 pass to INTERNAL_VSYSCALL_NCS.
7602 (INLINE_VSYSCALL): Add 'long int' as return type to
7603 INTERNAL_VSYSCALL_NCS macro invocation.
7604 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7605 INTERNAL_VSYSCALL_NCS macro invocation.
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7607
d3b9ea61
SP
76082013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7609
0b57daeb
SP
7610 [BZ #14496]
7611 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7612 Fix application of SIMD FP exception mask.
7613
caa99d06
SP
7614 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7615 mp_no from a power of two.
7616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7617 __mpexp_twomm1. Use __pow_mp.
7618
d3b9ea61
SP
7619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7620 multiplication.
7621
1dbaee3c
DM
76222013-01-17 David S. Miller <davem@davemloft.net>
7623
7624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7625
728d7b43
JM
76262013-01-17 Joseph Myers <joseph@codesourcery.com>
7627
7628 [BZ #15023]
7629 * include/complex.h: Condition contents on [!_COMPLEX_H].
7630 (__kernel_casinhf): New prototype.
7631 (__kernel_casinh): Likewise.
7632 (__kernel_casinhl): Likewise.
7633 * math/Makefile (libm_calls): Add k_casinh.
7634 * math/k_casinh.c: New file.
7635 * math/k_casinhf.c: Likewise.
7636 * math/k_casinhl.c: Likewise.
7637 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7638 finite nonzero arguments.
7639 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7640 finite nonzero arguments.
7641 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7642 finite nonzero arguments.
7643 * math/s_casinh.c: Do not include <float.h>.
7644 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7645 * math/s_casinhf.c: Do not include <float.h>.
7646 (__casinhf): Move code for finite nonzero arguments to
7647 k_casinhf.c.
7648 * math/s_casinhl.c: Do not include <float.h>.
7649 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7650 redefine.
7651 (__casinhl): Move code for finite nonzero arguments to
7652 k_casinhl.c.
7653 * math/libm-test.inc (cacos_test): Add more tests.
7654 * sysdeps/i386/fpu/libm-test-ulps: Update.
7655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656
2a26ef3a
PT
76572013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7658
7659 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7660 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7661 [!HAVE_MREMAP]: Remove [defined linux] case.
7662 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7663
a897655d
SP
76642013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7665
7666 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7667
881ebe89 76682013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7669
7670 * elf/elf.h (R_386_SIZE32): New relocation.
7671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7672 R_386_SIZE32.
7673 (elf_machine_rela): Likewise.
7674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7675 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7676
59981e9b
JM
76772013-01-17 Joseph Myers <joseph@codesourcery.com>
7678
7679 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7680 (FP_FAST_FMA): Do not define.
7681 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7682 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7683 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7684 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7685 !_SOFT_FLOAT]: Likewise.
7686 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7687 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7688 value.
7689 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7690 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7691 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7692 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7693 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7694 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7695 file.
7696
cfa8054f
AS
76972013-01-16 Andreas Schwab <schwab@suse.de>
7698
7699 [BZ #14327]
7700 * include/stdlib.h (__mktemp): Add declaration.
7701 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7702 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7703
dd930cc5
SP
77042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7705
881ebe89
SP
7706 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7707 definitions.
7708 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7709 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7710 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7711 definitions here.
7712 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7713 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7714 definitions.
7715 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7716 and ONE.
7717 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7718 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7719 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7720 definitions.
7721 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7722 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7723 definitions.
7724 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7725
dd930cc5
SP
7726 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7727
c19a9f89
DM
77282013-01-15 David S. Miller <davem@davemloft.net>
7729
1aa61767
DM
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7731 trunc{,f} to libm-sysdep_routes.
7732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7734 file.
7735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7737 file.
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7739 file.
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7743 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7744 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7745 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7746 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7748
c42d5e98
DM
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7750 nearbyint{,f} to libm-sysdep_routes.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7753 New file.
7754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7755 file.
7756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7757 New file.
7758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7759 file.
7760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7763 file.
7764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7766 file.
7767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7768 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7769 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7770
c19a9f89
DM
7771 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7772 libc_feholdexcept and libc_fesetenv.
7773
357679d2
MF
77742013-01-15 Mike Frysinger <vapier@gentoo.org>
7775
7776 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7777
65a82e3d
DM
77782013-01-14 David S. Miller <davem@davemloft.net>
7779
8b954ab9
DM
7780 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7781 (SPARC_ASM_VIS2_IFUNC): Likewise.
7782 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7784 use of 'siam' instruction.
7785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7786 Likewise.
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7788 Likewise.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7790 Likewise.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7796 file.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7798 file.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7800 file.
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7802 file.
7803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7808 new VIS2 routines.
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7812 Likewise.
7813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7818 routines to libm-sysdep_routines.
7819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7820
65a82e3d
DM
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7822 fdim/fdimf to libm-sysdep_routines.
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7824 file.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7827 file.
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7831 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7832 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7833 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7835
e34ab705
SP
78362013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7837
2a91b573
SP
7838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7839 to optimize copies.
7840
1066a534
SP
7841 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7844
e34ab705
SP
7845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7846 local variable MPTWO.
7847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7848 Likewise.
7849
aba5e596
MF
78502013-01-13 Mike Frysinger <vapier@gentoo.org>
7851
7852 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7853 GLOB_NOESCAPE.
7854
e557e9e5
MF
78552013-01-13 Mike Frysinger <vapier@gentoo.org>
7856
7857 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7858
0428cec9
MF
78592013-01-13 Mike Frysinger <vapier@gentoo.org>
7860
7861 * manual/pattern.texi (glob_t): Document gl_flags.
7862 (glob64_t): Likewise.
7863
8794a964
DM
78642013-01-11 David S. Miller <davem@davemloft.net>
7865
66438c3f
RM
7866 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7867 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7868 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7869 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7870 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7871 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7872 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7873 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7874 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7875 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7876 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7877 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7878 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7879
4ae4244d
DM
7880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7881 sparc V9 rather than using V8 code.
7882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7884
8794a964
DM
7885 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7886 Move to...
7887 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7888 Here.
7889
6270516e
RM
78902013-01-11 Roland McGrath <roland@hack.frob.com>
7891
7892 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7893 not in the main loop.
7894 * configure: Regenerated.
7895
6a57d931
JM
78962013-01-11 Joseph Myers <joseph@codesourcery.com>
7897
7898 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7899 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7900 to just #else.
7901 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7902 [!__GLIBC_HAVE_LONG_LONG] case.
7903 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7904 condition to just #else.
7905 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7906 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7907 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7908 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7909 unconditional.
7910 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7911 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7912 #elif condition to just #else.
7913 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7914 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7915 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7916 #elif condition to just #else.
7917
0e8529e9
SE
79182013-01-11 Steve Ellcey <sellcey@mips.com>
7919
7920 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7921 (EF_MIPS_ARCH_64): Fix value.
7922 (EF_MIPS_ARCH_32R2): New.
7923 (EF_MIPS_ARCH_64R2): New.
7924
740b3dbe
L
79252013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7926
7927 * Makeconfig (+link-pie-before-libc): New.
7928 (+link-pie-after-libc): Likewise.
7929 (+link-pie-tests): Likewise.
7930 (+link-pie): Rewritten.
7931 (link-before-libc): Remove $(config-LDFLAGS).
7932 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7933 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7934 (config-LDFLAGS): Renamed to ...
7935 (rtld-LDFLAGS): This.
7936 (rtld-tests-LDFLAGS): New macro.
7937 (link-libc-rpath-link): Likewise.
7938 (link-libc-tests-rpath-link): Likewise.
7939 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7940 (link-libc): Prepand $(link-libc-rpath-link).
7941 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7942 (test-program-prefix): New macro.
7943 (test-via-rtld-prefix): Likewise.
7944 (test-program-cmd): Likewise.
7945 (host-test-program-cmd): Likewise.
7946 * Makefile ($(common-objpfx)testrun.sh): Replace
7947 $(run-program-prefix) with $(test-program-prefix).
7948 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7949 $(rtld-LDFLAGS).
7950 ($(common-objpfx)shlib.lds): Likewise.
7951 (build-module-helper): Likewise.
7952 ($(common-objpfx)format.lds): Likewise.
7953 * Rules (binaries-pie-tests): New.
7954 (binaries-pie-notests): Likewise.
7955 (binaries-pie): Rewritten.
7956 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7957 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7958 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7959 (make-test-out): Replace $(host-built-program-cmd) with
7960 $(host-test-program-cmd).
7961 * config.make.in (build-hardcoded-path-in-tests): New variable.
7962 * configure.in (--enable-hardcoded-path-in-tests): New configure
7963 option.
7964 (hardcoded_path_in_tests): New AC_SUBST.
7965 * configure: Regenerated.
7966 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7967 $(built-program-cmd) with $(test-program-cmd).
7968 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7969 (test_program_cmd): This.
7970 * elf/Makefile ($(objpfx)order.out): Run test with
7971 $(test-program-prefix).
7972 ($(objpfx)order2.out): Likewise.
7973 ($(objpfx)tst-initorder.out): Likewise.
7974 ($(objpfx)tst-initorder2.out): Likewise.
7975 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7976 $(test-program-cmd).
7977 ($(objpfx)tst-array1-static.out): Likewise.
7978 ($(objpfx)tst-array2.out): Likewise.
7979 ($(objpfx)tst-array3.out): Likewise.
7980 ($(objpfx)tst-array4.out): Likewise.
7981 ($(objpfx)tst-array5.out): Likewise.
7982 ($(objpfx)tst-array5-static.out): Likewise.
7983 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7984 $(test-program-cmd).
7985 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7986 $(run-program-prefix) with $(test-program-prefix).
7987 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7988 (test_program_prefix): This.
7989 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7990 $(run-program-prefix) with $(test-program-prefix).
7991 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7992 (test_program_prefix): This.
7993 * iconvdata/tst-tables.sh: Likewise.
7994 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7995 $(run-program-prefix) with $(test-program-prefix).
7996 ($(objpfx)tst-translit.out): Likewise.
7997 ($(objpfx)tst-gettext2.out): Likewise.
7998 ($(objpfx)tst-gettext4.out): Likewise.
7999 ($(objpfx)tst-gettext6.out): Likewise.
8000 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8001 (test_program_prefix): This.
8002 * intl/tst-gettext2.sh: Likewise.
8003 * intl/tst-gettext4.sh Likewise.
8004 * intl/tst-gettext6.sh: Likewise.
8005 * intl/tst-translit.sh: Likewise.
8006 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8007 with $(test-program-cmd).
8008 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8009 $(run-program-prefix) with $(test-program-prefix).
8010 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8011 (test_program_prefix): This.
8012 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8013 $(run-program-prefix) with $(test-program-prefix).
8014 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8015 (test_program_prefix): This.
8016 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8017 * posix/Makefile ($(objpfx)globtest.out): Replace
8018 $(run-via-rtld-prefix) and $(test-wrapper) with
8019 $(test-program-prefix) and $(test-via-rtld-prefix).
8020 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8021 $(test-program-prefix).
8022 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8023 $(host-test-program-cmd).
8024 (tst-spawn-ARGS): Likewise.
8025 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8026 $(test-program-prefix).
8027 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8028 (test_via_rtld_prefix): This.
8029 (test_wrapper): Renamed to ...
8030 (test_program_prefix): This.
8031 (run_program_prefix): Replaced by test_program_prefix.
8032 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8033 (test_program_prefix): This.
8034 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8035 with $(host-test-program-cmd).
8036 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8037 $(run-program-prefix) with $(test-program-prefix).
8038 ($(objpfx)tst-printf.out): Likewise.
8039 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8040 $(test-program-cmd).
8041 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8042 (test_program_prefix): This.
8043 * stdio-common/tst-unbputc.sh: Likewise.
8044 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8045 $(run-program-prefix) with $(test-program-prefix).
8046 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8047 (test_program_prefix): This.
8048 * string/Makefile ($(objpfx)tst-svc.out): Replace
8049 $(built-program-cmd) with $(test-program-cmd).
8050
c6fe55cf
AJ
80512013-01-11 Andreas Jaeger <aj@suse.de>
8052
8053 [BZ #15003]
8054 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8055 value. Sync with Linux 3.7.
8056
9e6919c8
DM
80572013-01-10 David S. Miller <davem@davemloft.net>
8058
8059 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8060 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8061 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8062
1c9f1a02
RM
80632013-01-10 Roland McGrath <roland@hack.frob.com>
8064
8065 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8066 never set.
8067 * configure: Regenerated.
8068
b9de2dde
DM
80692013-01-10 David S. Miller <davem@davemloft.net>
8070
8071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8072 sparc V9 rather than using V8 code.
8073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8075
e7f68ef4
RM
80762013-01-10 Roland McGrath <roland@hack.frob.com>
8077
8078 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8079 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8080 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8081 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8082 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8083 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8084 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8085 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8086 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8087 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8088 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8089 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8090 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8091 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8092 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8093 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8094 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8095 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8096 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8097 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8098 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8099 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8100 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8101 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8102 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8103 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8104 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8105
5a47cc9c
DM
81062013-01-10 David S. Miller <davem@davemloft.net>
8107
8108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8109
4cf8f209
L
81102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8111
8112 * posix/Makefile (tests-static): New variable.
8113 (tests): Add $(tests-static).
8114 (tst-exec-static-ARGS): New variable.
8115 (tst-spawn-static-ARGS): Likewise.
8116 * posix/tst-exec-static.c: New file.
8117 * posix/tst-spawn-static.c: Likewise.
8118 * posix/tst-exec.c: Support run directly.
8119 * posix/tst-spawn.c: Likewise.
8120
fed0faa1
JM
81212013-01-10 Joseph Myers <joseph@codesourcery.com>
8122
828beb13
JM
8123 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8124 long.
8125 * math/bits/mathcalls.h (llrint): Likewise.
8126 (llround): Likewise.
8127 * stdlib/stdlib.h (struct drand48_data): Likewise.
8128 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8129 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8130 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8131 Likewise.
8132 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8133 Likewise.
8134 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8135 (elf_greg_t): Likewise.
8136 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8137 (__jmp_buf): Likewise.
8138 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8139 definitions.
8140 (llrint): Likewise, for all definitions.
8141 (llrintl): Likewise.
8142
fed0faa1
JM
8143 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8144 Remove [__GNUC__] condition.
8145 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8146 condition to just [__USE_ISOC99].
8147 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8148
1a20cb20
L
81492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 [BZ #14200]
8152 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8153 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8154 defined.
8155 (_POSIX_V6_ILP32_OFF32): Likewise.
8156 (_XBS5_ILP32_OFF32): Likewise.
8157 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8158 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8159
751b85f7
SP
81602013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
7490eb81
SP
8162 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8163
751b85f7
SP
8164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8165 doubles __mpexp_twomm1. Adjust usage.
8166 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8167 Remove.
8168
988197f0
AS
81692013-01-10 Andreas Schwab <schwab@suse.de>
8170
8171 [BZ #14964]
8172 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8173 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8174
e83d7298
DM
81752013-01-09 David S. Miller <davem@davemloft.net>
8176
034ed64b 8177 [BZ #15003]
e83d7298
DM
8178 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8179 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8180 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8181 TCP_FASTOPEN): Define.
8182 (tcp_repair_opt): New structure.
8183 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8184 enum values.
8185 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8186 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8187 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8188 (tcp_cookie_transactions): New structure.
8189
d5e0b9bd
AB
81902013-01-09 Anton Blanchard <anton@samba.org>
8191
8192 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8193 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8196
0c07e3ea
JM
81972013-01-09 Joseph Myers <joseph@codesourcery.com>
8198
8199 * include/features.h (__USE_ANSI): Remove.
8200
232f7002
RM
82012013-01-09 Roland McGrath <roland@hack.frob.com>
8202
ad98e30c
RM
8203 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8204
232f7002
RM
8205 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8206
950c99ca
SP
82072013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8208
b5792741
SP
8209 * sysdeps/s390/fpu/libm-test-ulps: Update.
8210
47cf2278
SP
8211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8212
950c99ca
SP
8213 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8214 (__acr): Likewise.
8215 (__cpy): Likewise.
8216 (norm): Likewise.
8217 (denorm): Likewise.
8218 (__mp_dbl): Likewise.
8219 (__dbl_mp): Likewise.
8220 (add_magnitudes): Likewise.
8221 (sub_magnitudes): Likewise.
8222 (__add): Likewise.
8223 (__sub): Likewise.
8224 (__mul): Likewise.
8225 (__inv): Likewise.
8226 (__dvd): Likewise.
8227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8228 (__acr): Likewise.
8229 (__cpy): Likewise.
8230 (norm): Likewise.
8231 (denorm): Likewise.
8232 (__mp_dbl): Likewise.
8233 (__dbl_mp): Likewise.
8234 (add_magnitudes): Likewise.
8235 (sub_magnitudes): Likewise.
8236 (__add): Likewise.
8237 (__sub): Likewise.
8238 (__mul): Likewise.
8239 (__inv): Likewise.
8240 (__dvd): Likewise.
8241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8242 (__acr): Likewise.
8243 (__cpy): Likewise.
8244 (norm): Likewise.
8245 (denorm): Likewise.
8246 (__mp_dbl): Likewise.
8247 (__dbl_mp): Likewise.
8248 (add_magnitudes): Likewise.
8249 (sub_magnitudes): Likewise.
8250 (__add): Likewise.
8251 (__sub): Likewise.
8252 (__mul): Likewise.
8253 (__inv): Likewise.
8254 (__dvd): Likewise.
8255
eede9df9
JM
82562013-01-08 Joseph Myers <joseph@codesourcery.com>
8257
8258 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8259 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8260 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8261 2 && __USE_EXTERN_INLINES]: Likewise.
8262
c40ea3d9
AJ
82632013-01-08 Andreas Jaeger <aj@suse.de>
8264
8265 [BZ# 14985]
8266 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8267 Remove.
8268 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8269 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8270
2ccdea26
AB
82712013-01-07 Anton Blanchard <anton@samba.org>
8272
8273 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8274 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8275 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8276 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8277 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8278 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8279 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8280 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8284 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8285 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8289 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8291 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8294 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8296 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8297 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8298 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8299 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8300 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8302 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8303 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8306 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8307 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8308 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8310 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8311 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8312 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8313 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8314 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8315 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8316
a9708fed
JM
83172013-01-07 Joseph Myers <joseph@codesourcery.com>
8318
375607b9
JM
8319 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8320 (__MALLOC_PMT): Likewise.
8321 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8322 [__GNUC__], only on [_LIBC].
8323 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8324 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8325 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8326 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8327 forward declaration.
8328 (realloc_hook_ini): Likewise.
8329 (memalign_hook_ini): Likewise.
8330 (__libc_memalign): Do not use __MALLOC_PMT in variable
8331 declaration.
8332 (__libc_valloc): Likewise.
8333 (__libc_pvalloc): Likewise.
8334 (__libc_calloc): Likewise.
8335 (__posix_memalign): Likewise.
8336
a9708fed
JM
8337 [BZ #14996]
8338 * math/s_casinh.c: Include <float.h>.
8339 (__casinh): Do not do computation with squaring and square root
8340 for large arguments.
8341 * math/s_casinhf.c: Include <float.h>.
8342 (__casinhf): Do not do computation with squaring and square root
8343 for large arguments.
8344 * math/s_casinhl.c: Include <float.h>.
8345 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8346 (__casinhl): Do not do computation with squaring and square root
8347 for large arguments.
8348 * math/libm-test.inc (casin_test): Add more tests.
8349 (casinh_test): Likewise.
8350 * sysdeps/i386/fpu/libm-test-ulps: Update.
8351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8352
afec409a
L
83532013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8354
8355 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8356 (__x86_64_raw_data_cache_size): Likewise.
8357 (__x86_64_data_cache_size_half): Likewise.
8358 (__x86_64_raw_data_cache_size_half): Likewise.
8359 (__x86_64_shared_cache_size): Likewise.
8360 (__x86_64_raw_shared_cache_size): Likewise.
8361 (__x86_64_shared_cache_size_half): Likewise.
8362 (__x86_64_raw_shared_cache_size_half): Likewise.
8363 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8364 to ...
8365 (__x86_data_cache_size): This.
8366 (__x86_64_raw_data_cache_size): Renamed to ...
8367 (__x86_raw_data_cache_size): This.
8368 (__x86_64_data_cache_size_half): Renamed to ...
8369 (__x86_data_cache_size_half): This.
8370 (__x86_64_raw_data_cache_size_half): Renamed to ...
8371 (__x86_raw_data_cache_size_half): This.
8372 (__x86_64_shared_cache_size): Renamed to ...
8373 (__x86_shared_cache_size): This.
8374 (__x86_64_raw_shared_cache_size): Renamed to ...
8375 (__x86_raw_shared_cache_size): This.
8376 (__x86_64_shared_cache_size_half): Renamed to ...
8377 (__x86_shared_cache_size_half): This.
8378 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8379 (__x86_raw_shared_cache_size_half): This.
8380 * sysdeps/x86_64/memcpy.S: Updated.
8381 * sysdeps/x86_64/memset.S: Likewise.
8382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8384 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8385
0b3986d0
DM
83862013-01-04 David S. Miller <davem@davemloft.net>
8387
8388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8389
e47686e9
AS
83902013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8391
d643bac1
AS
8392 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8393 1 to avoid redefinition warning.
8394 (__USE_GNU): Don't define.
8395 (init_signaling_nan): Protoize.
8396
e47686e9
AS
8397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8398
b18decba
SP
83992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8400
fffb407f
SP
8401 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8403 (__cpymn): Likewise.
8404 (norm): Remove commented code.
8405 (denorm): Likewise.
8406 (__mp_dbl): Likewise.
8407 (__inv): Likewise.
8408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8409 (__cpymn): Likewise.
8410 (norm): Remove commented code.
8411 (denorm): Likewise.
8412 (__mp_dbl): Likewise.
8413 (__inv): Likewise.
8414
b18decba
SP
8415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8416 mp_no value for 1.0 and 2.0.
8417 (norm): Use RADIXI instead of radixi.d.
8418 (denorm): Likewise.
8419 (__mul): Use 0.0 instead of zero.d.
8420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8421 mp_no value for 1.0 and 2.0.
8422 (norm): Use RADIXI instead of radixi.d.
8423 (denorm): Likewise.
8424 (__mul): Use 0.0 instead of zero.d.
8425
cdc1c96f
JM
84262013-01-04 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #14994]
8429 * math/s_casinh.c (__casinh): Reduce finite argument to first
8430 quadrant then set signs of results at the end.
8431 * math/s_casinhf.c (__casinhf): Likewise.
8432 * math/s_casinhl.c (__casinhl): Likewise.
8433 * math/libm-test.inc (casin_test): Add more tests.
8434 (casinh_test): Likewise.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8437
302913e1
SP
84382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8439
6420d207
SP
8440 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8441
a9e48ab4
SP
8442 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8443
b7837264
SP
8444 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8445 declarations.
8446 (denorm): Likewise.
8447 (__mp_dbl): Likewise.
8448 (__inv): Likewise.
8449
f8af25d2
SP
8450 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8451 and adjust the header comment.
8452
302913e1
SP
8453 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8454 variable name from declaration.
8455
5d7dd1ca
L
84562013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8459 Initialize COMMON_CPUID_INDEX_7 element.
8460 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8461 (CPUID_RTM): Likewise.
8462 (HAS_RTM): Likewise.
8463 (COMMON_CPUID_INDEX_7): New enum.
8464
2f5f40f4
AS
84652013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8466
8467 [BZ #14981]
8468 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8469 size is zero, record memory as freed.
8470
4056f4a0
AJ
84712013-01-03 Andreas Jaeger <aj@suse.de>
8472
8473 * po/ia.po: Add new Interlingua translation.
8474
ab15736f 84752012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8476
8477 * locale/programs/localedef.c: Fix description of '--posix' flag.
8478
568035b7
JM
84792013-01-02 Joseph Myers <joseph@codesourcery.com>
8480
e6898b8d
JM
8481 * NEWS: Update dates in second copyright notice.
8482 * README: Update copyright dates in example.
8483 * manual/libc.texinfo: Update copyright dates.
8484 * scripts/test-installation.pl: Update copyright date in --version
8485 output.
8486
0e2f9562
JM
8487 * hurd/ctty-input.c: Fix copyright notice formatting.
8488 * hurd/ctty-output.c: Likewise.
8489 * hurd/dtable.c: Likewise.
8490 * hurd/hurd-raise.c: Likewise.
8491 * hurd/hurdprio.c: Likewise.
8492 * hurd/msgportdemux.c: Likewise.
8493 * misc/sys/file.h: Likewise.
8494 * misc/sys/ioctl.h: Likewise.
8495 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8496 * sysdeps/mach/hurd/chdir.c: Likewise.
8497 * sysdeps/mach/hurd/fchdir.c: Likewise.
8498 * sysdeps/mach/hurd/rename.c: Likewise.
8499 * sysdeps/mach/hurd/rmdir.c: Likewise.
8500 * sysdeps/mach/hurd/seekdir.c: Likewise.
8501 * sysdeps/mach/hurd/setsid.c: Likewise.
8502 * sysdeps/posix/wait3.c: Likewise.
8503
568035b7
JM
8504 * All files with FSF copyright notices: Update copyright dates
8505 using scripts/update-copyrights.
8506 * intl/plural.c: Regenerated.
8507 * locale/programs/charmap-kw.h: Likewise.
8508 * locale/programs/locfile-kw.h: Likewise.
8509
da08f647
SP
85102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8511
0f5477af
SP
8512 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8513 four values.
8514
44e0d4c2
SP
8515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8516 calculation loop and add branch prediction.
8517
4d55b4e5
SP
8518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8519 check access beyond bounds of m1np.
8520
da08f647
SP
8521 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8522 MPTWO.
8523 (__inv): Remove local variable MPTWO to use the global
8524 constant.
8525 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8526 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8527 variable MPTWO.
8528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8529 MP3HALFS static const.
8530
8e051029
DM
85312013-01-01 David S. Miller <davem@davemloft.net>
8532
8533 * po/ca.po: Update from translation team.
8534
f4cf5f2d
JM
85352013-01-01 Joseph Myers <joseph@codesourcery.com>
8536
8537 * scripts/update-copyrights: New file.
8538 * Makeconfig: Reformat copyright notice.
8539 * ctype/ctype.h: Likewise.
8540 * debug/swprintf_chk.c: Likewise.
8541 * elf/dl-cache.c: Likewise.
8542 * elf/dl-debug.c: Likewise.
8543 * elf/dl-object.c: Likewise.
8544 * grp/initgroups.c: Likewise.
8545 * hurd/Makefile: Likewise.
8546 * hurd/hurd/signal.h: Likewise.
8547 * hurd/hurdfault.c: Likewise.
8548 * hurd/hurdioctl.c: Likewise.
8549 * hurd/hurdlookup.c: Likewise.
8550 * hurd/intr-msg.c: Likewise.
8551 * iconv/gconv_open.c: Likewise.
8552 * libio/swprintf.c: Likewise.
8553 * locale/lc-ctype.c: Likewise.
8554 * locale/nl_langinfo.c: Likewise.
8555 * mach/Machrules: Likewise.
8556 * mach/Makefile: Likewise.
8557 * malloc/obstack.h: Likewise.
8558 * manual/Makefile: Likewise.
8559 * manual/tsort.awk: Likewise.
8560 * misc/bits/stab.def: Likewise.
8561 * nis/nis_print_group_entry.c: Likewise.
8562 * nis/nis_table.c: Likewise.
8563 * nis/nss_compat/compat-pwd.c: Likewise.
8564 * nis/nss_compat/compat-spwd.c: Likewise.
8565 * po/Makefile: Likewise.
8566 * posix/fnmatch.c: Likewise.
8567 * posix/regex.h: Likewise.
8568 * resolv/Makefile: Likewise.
8569 * resolv/nss_dns/dns-network.c: Likewise.
8570 * resolv/res_hconf.c: Likewise.
8571 * scripts/gen-sorted.awk: Likewise.
8572 * soft-fp/soft-fp.h: Likewise.
8573 * stdio-common/printf.h: Likewise.
8574 * stdlib/monetary.h: Likewise.
8575 * stdlib/random.c: Likewise.
8576 * stdlib/random_r.c: Likewise.
8577 * sysdeps/generic/Makefile: Likewise.
8578 * sysdeps/gnu/Makefile: Likewise.
8579 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8607 * sysdeps/mach/hurd/errnos.awk: Likewise.
8608 * sysdeps/mach/hurd/fork.c: Likewise.
8609 * sysdeps/mach/hurd/getcwd.c: Likewise.
8610 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8611 * sysdeps/mach/hurd/mmap.c: Likewise.
8612 * sysdeps/mach/hurd/utimes.c: Likewise.
8613 * sysdeps/mach/hurd/xmknod.c: Likewise.
8614 * sysdeps/posix/profil.c: Likewise.
8615 * sysdeps/posix/readdir_r.c: Likewise.
8616 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8617 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8618 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8619 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8625 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8627 * sysdeps/pthread/lio_listio.c: Likewise.
8628 * sysdeps/sparc/dl-procinfo.h: Likewise.
8629 * sysdeps/unix/i386/sysdep.S: Likewise.
8630 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8631 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8632 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8633 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8635 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8636 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8637 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8638 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8639 * sysdeps/wordsize-32/divdi3.c: Likewise.
8640 * time/sys/time.h: Likewise.
8641 * wcsmbs/Makefile: Likewise.
8642
0549fbba
DM
86432013-01-01 David S. Miller <davem@davemloft.net>
8644
a141f1a7
DM
8645 * po/fr.po: Update from translation team.
8646
0549fbba
DM
8647 * catgets/gencat.c: Update copyright year.
8648 * csu/version.c: Likewise.
8649 * debug/catchsegv.sh: Likewise.
8650 * debug/pcprofiledump.c: Likewise.
8651 * debug/xtrace.sh: Likewise.
8652 * elf/ldconfig.c: Likewise.
8653 * elf/ldd.bash.in: Likewise.
8654 * elf/pldd.c: Likewise.
8655 * elf/sotruss.ksh: Likewise.
8656 * elf/sprof.c: Likewise.
8657 * iconv/iconv_prog.c: Likewise.
8658 * iconv/iconvconfig.c: Likewise.
8659 * locale/programs/locale.c: Likewise.
8660 * locale/programs/localedef.c: Likewise.
8661 * login/programs/pt_chown.c: Likewise.
8662 * malloc/memusage.sh: Likewise.
8663 * malloc/memusagestat.c: Likewise.
8664 * malloc/mtrace.pl: Likewise.
8665 * nscd/nscd.c: Likewise.
8666 * nss/getent.c: Likewise.
8667 * nss/makedb.c: Likewise.
8668 * posix/getconf.c: Likewise.
8669
18ea052c
SP
86702012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8671
8672 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8673 numbers.
8674
9c89fca6
MF
86752012-12-30 Mike Frysinger <vapier@gentoo.org>
8676
8677 * math/bits/mathcalls.h (modf): Use __nonnull.
8678
085ec079
SP
86792012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8680
8681 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8682 (split): Use macro CN instead of the bare value.
8683 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8684 could be used.
8685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8686 instead of the bare value.
8687 (power1): Likewise.
8688
6d9f97e1
SP
86892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8690
d63f73be
SP
8691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8692 __ATAN_TWOM.
8693 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8694
6d9f97e1
SP
8695 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8696 their values.
8697 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8699 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8700 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8701
4c4febf5
AJ
87022012-12-28 Andreas Jaeger <aj@suse.de>
8703
af5843ef
AJ
8704 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8705 values are from Linux 3.7.
8706
4c4febf5
AJ
8707 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8708 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8709
99136f82
SP
87102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8711
2f216c3c 8712 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8713 TRUE case.
8714
99136f82
SP
8715 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8716 (norm): Likewise.
8717 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8718 variables with preprocessor constants.
8719 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8720 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8721 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8722
7fffbdff
BH
87232012-12-27 Bruno Haible <bruno@clisp.org>
8724
8725 [BZ #14317]
8726 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8727 only if needed.
8728
b76eb5f0
SP
87292012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8730
31a7fe5c
SP
8731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8732 and use variable directly.
8733 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8734
b76eb5f0
SP
8735 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8736 MPONE.
8737 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8739 variable MPONE.
8740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8742 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8743 include directive. Remove local variable MPONE.
8744 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8745 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8747
2c8bfe7d
DM
87482012-12-25 David S. Miller <davem@davemloft.net>
8749
8750 * version.h (RELEASE): Set to "development".
8751 (VERSION): Set to "2.17.90".
8752 * NEWS: Add 2.18 section.
8753
147d03b0
DM
87542012-12-21 David S. Miller <davem@davemloft.net>
8755
8756 * po/hr.po: Update from translation team.
8757
a8ebb2b9
AK
87582012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8759
8760 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8761
95b4f1b6
SE
87622012-12-19 Steve Ellcey <sellcey@mips.com>
8763
b2d94007 8764 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8765
cedb2a90
MS
87662012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8767
8768 * manual/contrib.texi (Contributors): Spelling correction.
8769
bbf527d6
DM
87702012-12-15 David S. Miller <davem@davemloft.net>
8771
8772 * po/ru.po: Update from translation team.
8773
bc38c906
DM
87742012-12-13 David S. Miller <davem@davemloft.net>
8775
85429b1a
DM
8776 * NEWS: Mention IFUNC testsuite enhancements.
8777
d283e353
DM
8778 * po/pl.po: Update from translation team.
8779 * po/bg.po: Likewise.
8780
bc38c906
DM
8781 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8782 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8783
a181b0d7
DM
87842012-12-11 David S. Miller <davem@davemloft.net>
8785
4641d57e
DM
8786 * po/sv.po: Update from translation team.
8787
f7bc6495
DM
8788 * po/vi.po: Update from translation team.
8789
6fc9048f
DM
8790 * po/cs.po: Update from translation team.
8791
a181b0d7
DM
8792 * po/de.po: Update from translation team.
8793 * po/eo.po: Likewise.
8794 * po/nl.po: Likewise.
8795
f70bfe80
SP
87962012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8797
3c8b4190
SP
8798 [BZ #14246]
8799 * manual/argp.texi (Argp Helper Functions): Move node to follow
8800 Argp Parsing State.
8801
f70bfe80
SP
8802 [BZ #14872]
8803 * manual/conf.texi (Limits on File System Capacity): Mention if
8804 terminating null is included in the max size.
8805
188f0adf
AJ
88062012-12-10 Andreas Jaeger <aj@suse.de>
8807
8808 * po/cs.po: Update from translation team.
8809
56e7d3ad
SP
88102012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8811
8812 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8813 void pointer and cast to uintptr_t.
8814 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8815 path.
8816 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8817 * sysdeps/s390/s390-64/memset.S: Likewise.
8818
76f2d2ea 88192012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8820
8821 [BZ #14833]
8822 * menual/message.texi (Message Translation): Fix typos.
8823 (Helper programs for gettext): Likewise.
8824
67cbf9a2
AS
88252012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8826
8827 [BZ #14898]
8828 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8829 Change to -1.
8830
682d0e9a
DM
88312012-12-07 David S. Miller <davem@davemloft.net>
8832
8833 * po/libc.pot: Update.
8834
573cd484
RH
88352012-12-07 Richard Henderson <rth@redhat.com>
8836
7e9da188 8837 [BZ #10114]
573cd484
RH
8838 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8839 normal/normal case to before the switch.
8840 (_FP_DIV): Likewise.
8841
e933a943
MF
88422012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8843 Mike Frysinger <vapier@gentoo.org>
8844
8845 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8846 check for __NR_fadvise64_64.
8847
82123268
CM
88482012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8849
8850 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8851 0, not just to plain "0" as a statement.
8852 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8853 with cw.
8854
d9814526
JM
88552012-12-06 Joseph Myers <joseph@codesourcery.com>
8856
8857 * NEWS: Use sourceware.org in Bugzilla URL.
8858
7728c574
SP
88592012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8860
f16946dd
SP
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8862 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8863
5704bbcb
SP
8864 * stdio-common/tst-put-error.c (do_test): Add newline to the
8865 padded test to ensure flush.
8866
17aa0516
JL
88672012-12-05 Jeff Law <law@redhat.com>
8868
8869 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8870
363313b5
JM
88712012-12-05 Joseph Myers <joseph@codesourcery.com>
8872
effbd42a
JM
8873 * README: Don't refer to ports add-on as distributed separately.
8874 Mention AArch64 in list of systems supported in the ports add-on.
8875
87600365
JM
8876 * LICENSES: Add more non-FSF copyright and license notices.
8877
a0d7066a
JM
8878 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8879 ((unused)).
8880
66ca5a5b
JM
8881 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8882
363313b5
JM
8883 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8884 10000 as width of padded output.
8885
b37984ad
JM
88862012-12-04 Joseph Myers <joseph@codesourcery.com>
8887
9003570a
JM
8888 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8889
b37984ad
JM
8890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8891 variable LX with __attribute__ ((unused)).
8892 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8893 Likewise.
8894 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8897 with __attribute__ ((unused)).
8898
c8df52ec
DM
88992012-12-04 David S. Miller <davem@abraco.davemloft.net>
8900
8901 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8902
b3b099af
JM
89032012-12-04 Joseph Myers <joseph@codesourcery.com>
8904
c33aa6e3
JM
8905 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8906 (CFLAGS-nldbl-acos.c): New variable.
8907 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8908 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8909 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8910 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8911 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8912 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8913 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8914 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8915 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8916 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8917 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8918 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8919 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8920 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8921 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8922 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8923 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8924 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8925 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8926 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8927 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8928 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8929 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8930 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8931 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8932 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8933 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8934 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8935 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8936 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8937 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8938 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8939 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8940 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8941 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8942 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8943 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8944 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8945 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8946 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8947 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8948 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8949 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8950 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8951 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8953 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8954 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8955 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8956 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8957 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8958 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8959 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8960 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8961 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8962 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8963 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8964 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8965 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8966 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8967 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8972 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8973 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8974 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8975 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8976 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8977 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8978 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8979 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9004
20f0018d
JM
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9006 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9007
b3b099af
JM
9008 [BZ #14914]
9009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9010 whole low double instead of just low 47 bits when splitting values
9011 into two parts.
9012
029264d1
AM
90132012-12-03 Allan McRae <allan@archlinux.org>
9014
9015 * manual/stdio.texi (Predefined Printf Handlers): Remove
9016 @hsep and @vsep usage.
9017
c9d6789e
MF
90182012-12-03 Mike Frysinger <vapier@gentoo.org>
9019
9020 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9021 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9022
4b7634a5
JL
90232012-12-03 Jeff Law <law@redhat.com>
9024
9025 * time/sys/time.h (settimeofday): Do not mark TV argument
9026 as __nonnull.
9027
eb6cbd24
MF
90282012-12-01 Mike Frysinger <vapier@gentoo.org>
9029
9030 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9031 when currently writing and seek to current position when not.
9032 * libio/Makefile (tests): Remove bug-fclose1.
9033 * libio/bug-fclose1.c: Delete.
9034
f638872a
JM
90352012-12-01 Joseph Myers <joseph@codesourcery.com>
9036
9037 * manual/arith.texi (feenableexcept): Fix typo.
9038 (fedisableexcept): Likewise.
9039
48085d14
RM
90402012-11-30 Roland McGrath <roland@hack.frob.com>
9041
9042 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9043 second, differently-typed declaration, rather than a cast.
9044
1a538b9f
SP
90452012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9048 * include/rpc/svc.h: ... here.
9049
d07f2ff1 90502012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9051
9052 [BZ #13013]
9053 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9054 depending n and resplen2 to catch cases where answer
9055 equals answerp2.
9056
c93ec1f0
CD
90572012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9058
9059 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9060 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9061
37db69de
MF
90622012-11-29 Mike Frysinger <vapier@gentoo.org>
9063
9064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9065
e10c4e4f
RM
90662012-11-29 Roland McGrath <roland@hack.frob.com>
9067
9068 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9069
2af1b328
JL
90702012-11-28 Jeff Law <law@redhat.com>
9071
9072 [BZ #13761]
9073 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9074 dataset_temporary. Track alloca usage into alloca_used.
9075 If dataset is large allocate and release it via malloc/free.
9076
111db5b1
FW
90772012-06-04 Florian Weimer <fweimer@redhat.com>
9078
f06cc227 9079 [BZ #14197]
111db5b1
FW
9080 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9081
dd694abd
DM
90822012-11-28 David S. Miller <davem@davemloft.net>
9083
9084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9085
9984dd01
JM
90862012-11-28 Joseph Myers <joseph@codesourcery.com>
9087
9088 [BZ #14803]
9089 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9090 of pi/2 rounded to nearest to 64 bits.
9091 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9092 nearest to 64 bits.
9093 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9094 bits.
9095
14bc93a9
JL
90962012-11-28 Jeff Law <law@redhat.com>
9097 Martin Osvald <mosvald@redhat.com>
9098
9099 [BZ #14889]
9100 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9101 * sunrpc/svc.c: Include time.h.
9102 (__svc_accept_failed): New function.
9103 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9104 any reason other than EINTR, call __svc_accept_failed.
9105 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9106 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9107
e3c6aa3a
AS
91082012-11-28 Andreas Schwab <schwab@suse.de>
9109
9110 * scripts/abilist.awk: Also handle indirect functions in .opd
9111 section.
9112
1bead169
JM
91132012-11-28 Joseph Myers <joseph@codesourcery.com>
9114
9115 [BZ #13881]
9116 * sysdeps/x86/fpu/powl_helper.c: New file.
9117 * sysdeps/x86/fpu/Makefile: Likewise.
9118 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9119 (p3): New object.
9120 (__ieee754_powl): Use __powl_helper for finite arguments except
9121 integer exponents below 8.
9122 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9123 (p3): New object.
9124 (__ieee754_powl): Use __powl_helper for finite arguments except
9125 integer exponents below 8.
9126 * math/libm-test.inc (pow_test): Add more tests and enable some
9127 previously disabled tests.
9128 * sysdeps/i386/fpu/libm-test-ulps: Update.
9129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9130
0817d63d
SP
91312012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9132 Carlos O'Donell <carlos_odonell@mentor.com>
9133
9134 * nss/makedb.c (is_prime): Assert that input is odd and greater
9135 than 4. Note that fact in a comment too.
9136 (next_prime): Add 4 to input.
9137
de2fd463
SP
91382012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9139
9140 [BZ #11741]
9141 * libio/Makefile (tests): Add test case tst-fwrite-error.
9142 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9143 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9144 * libio/tst-fwrite-error.c: New test case.
9145
c515fb51
L
91462012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9147
9148 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9149 before casting to void *.
9150 * include/libc-internal.h (__pointer_type): New macro.
9151 (__integer_if_pointer_type_sub): Likewise.
9152 (__integer_if_pointer_type): Likewise.
9153 (cast_to_integer): Likewise.
9154 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9155 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9156 before casting to atomic64_t.
9157 (atomic_exchange_acq): Likewise.
9158 (__arch_exchange_and_add_body): Likewise.
9159 (__arch_add_body): Likewise.
9160 (atomic_add_negative): Likewise.
9161 (atomic_add_zero): Likewise.
9162
4cf77aa9
JM
91632012-11-26 Joseph Myers <joseph@codesourcery.com>
9164
9165 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9166 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9167 (add_fdes): Likewise.
9168 (linear_search_fdes): Likewise.
9169 (binary_search_unencoded_fdes): Likewise.
9170
d260b3b4
AS
91712012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9174
67060746
AC
91752012-11-24 Adam Conrad <adconrad@0c3.net>
9176
9177 * configure.in: Autodetect C++ header directories.
9178 * configure: Regenerated.
9179
800938a1
MF
91802012-11-23 Mike Frysinger <vapier@gentoo.org>
9181
9182 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9183
4e6e34e6
AS
91842012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9185
9186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9187
7c7feb47
JM
91882012-11-22 Joseph Myers <joseph@codesourcery.com>
9189
7184dcdf
JM
9190 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9191 LDBL_MANT_DIG == 106]: Disable some tests.
9192 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9193 Likewise.
9194 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9195 Likewise.
9196
0a42601f
JM
9197 [BZ #14871]
9198 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9199 input for small inputs. Return +/- pi/2 for large inputs.
9200 * math/libm-test.inc (atan_test): Add more tests.
9201
79c9b9fe
JM
9202 * sysdeps/generic/unwind-dw2-fde-glibc.c
9203 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9204 __attribute__ ((unused)).
9205
c60d3bf2
JM
9206 [BZ #14645]
9207 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9208 x * y if x and y are nonzero and z is zero.
9209
ef1e0867
JM
9210 [BZ #14811]
9211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9212 nonzero exponents with absolute value below 0x1p-117 to +/-
9213 0x1p-117.
9214
1468ded3
JM
9215 [BZ #14869]
9216 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9217 up arguments below 2**-450, not just those below 2**-500.
9218 * math/libm-test.inc (hypot_test): Add another test.
9219
8e27e3cc
JM
9220 [BZ #14868]
9221 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9222 Return a+b for ratio over 2**120, not 2**60.
9223 * math/libm-test.inc (hypot_test): Add another test.
9224
c9c0279b
JM
9225 * math/libm-test.inc (clog_test): Use
9226 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9227 (clog10_test): Likewise.
9228
7c7feb47
JM
9229 [BZ #6778]
9230 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9231
fff1530e
AS
92322012-11-22 Andreas Schwab <schwab@suse.de>
9233
9234 * sysdeps/i386/fpu/libm-test-ulps: Update.
9235
94558d30
PT
92362012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9237
9238 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9239 printf output with newline.
9240
7e1be741
L
92412012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9242
6bfea974
L
9243 [BZ #14865]
9244 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9245 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9246 -z nodlopen, -z initfirst and -z execstack support.
9247 * configure: Regenerated.
9248
7e1be741
L
9249 * elf/elf.h (DF_1_NODIRECT): New macro.
9250 (DF_1_IGNMULDEF): Likewise.
9251 (DF_1_NOKSYMS): Likewise.
9252 (DF_1_NOHDR): Likewise.
9253 (DF_1_EDITED): Likewise.
9254 (DF_1_NORELOC): Likewise.
9255 (DF_1_SYMINTPOSE): Likewise.
9256 (DF_1_GLOBAUDIT): Likewise.
9257 (DF_1_SINGLETON): Likewise.
9258 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9259 DT_1_SUPPORTED_MASK bits.
9260 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9261
105ce2ce
CD
92622012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9263
9264 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9265
123be9de
TS
92662012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9267
d072f3f7
TS
9268 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9269 macro.
9270
123be9de
TS
9271 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9272 (sendmmsg): Move declarations...
9273 * socket/sys/socket.h: ... here.
9274 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9275 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9276 include it from...
9277 * socket/recvmmsg.c: ... this new file.
9278 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9279 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9280 definition of __sendmmsg hidden.
9281 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9282 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9283 Move ENOSYS stub into and include it from...
9284 * socket/sendmmsg.c: ... this new file.
9285 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9286 (sysdep_routines): Move recvmmsg and sendmmsg...
9287 * socket/Makefile (routines): ... here.
9288 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9289 (GLIBC_PRIVATE): Add __sendmmsg.
9290 * include/sys/socket.h (__sendmmsg): Add declarations.
9291 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9292 sendmmsg.
9293
cf9a5d18
JM
92942012-11-20 Joseph Myers <joseph@codesourcery.com>
9295
9296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9297 variable I1 with __attribute__ ((unused)).
9298 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9299
ecd4caf9
JM
93002012-11-19 Joseph Myers <joseph@codesourcery.com>
9301
be14d48f
JM
9302 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9303 DUMMY variables with __attribute__ ((unused)).
9304
ecd4caf9
JM
9305 * bits/byteswap.h: Include <bits/types.h>.
9306 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9307
986cab95
PT
93082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9309
9310 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9311 string_t. Do not manually set errno.
9312 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9313 length with __strnlen. Make sure to both set errno and return it on
9314 failure.
9315
6d33cc9d
DM
93162012-11-19 David S. Miller <davem@davemloft.net>
9317
9318 With help from Joseph Myers.
9319 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9320 very large arguments properly.
9321 * math/libm-test.inc (atan_test): New tests.
9322 (atan2_test): New tests.
9323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9325
ee663277
JM
93262012-11-19 Joseph Myers <joseph@codesourcery.com>
9327
877f2d8e
JM
9328 [BZ #14856]
9329 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9330 Define to 3.
9331
116fc08a
JM
9332 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9333 [POSIX] (EADDRNOTAVAIL): Likewise.
9334 [POSIX] (EAFNOSUPPORT): Likewise.
9335 [POSIX] (EALREADY): Likewise.
9336 [POSIX] (ECONNABORTED): Likewise.
9337 [POSIX] (ECONNREFUSED): Likewise.
9338 [POSIX] (ECONNRESET): Likewise.
9339 [POSIX] (EDESTADDRREQ): Likewise.
9340 [POSIX] (EDQUOT): Likewise.
9341 [POSIX] (EHOSTUNREACH): Likewise.
9342 [POSIX] (EIDRM): Likewise.
9343 [POSIX] (EISCONN): Likewise.
9344 [POSIX] (ELOOP): Likewise.
9345 [POSIX] (EMULTIHOP): Likewise.
9346 [POSIX] (ENETDOWN): Likewise.
9347 [POSIX] (ENETUNREACH): Likewise.
9348 [POSIX] (ENOBUFS): Likewise.
9349 [POSIX] (ENODATA): Likewise.
9350 [POSIX] (ENOLINK): Likewise.
9351 [POSIX] (ENOMSG): Likewise.
9352 [POSIX] (ENOPROTOOPT): Likewise.
9353 [POSIX] (ENOSR): Likewise.
9354 [POSIX] (ENOSTR): Likewise.
9355 [POSIX] (ENOTCONN): Likewise.
9356 [POSIX] (ENOTSOCK): Likewise.
9357 [POSIX] (EOPNOTSUPP): Likewise.
9358 [POSIX] (EOVERFLOW): Likewise.
9359 [POSIX] (EPROTO): Likewise.
9360 [POSIX] (EPROTONOSUPPORT): Likewise.
9361 [POSIX] (EPROTOTYPE): Likewise.
9362 [POSIX] (ESTALE): Likewise.
9363 [POSIX] (ETIME): Likewise.
9364 [POSIX] (ETXTBSY): Likewise.
9365 [POSIX] (EWOULDBLOCK): Likewise.
9366 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9367 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9368 [POSIX] (SEEK_CUR): Likewise.
9369 [POSIX] (SEEK_END): Likewise.
9370 [POSIX || UNIX98] (mode_t): Do not require.
9371 [POSIX] (off_t): Likewise.
9372 [POSIX] (pid_t): Likewise.
9373 [POSIX] (sys/stat.h): Do not allow header.
9374 [POSIX] (unistd.h): Likewise.
9375 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9376 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9377 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9378 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9379 require.
9380 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9381 sigevent): Specify elements.
9382 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9383 entry.
9384 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9385 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9386
a483863f
JM
9387 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9388 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9389 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9390 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9391 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9392 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9393 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9394 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9395 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9396 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9397 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9398 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9399 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9400 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9401 Likewise.
9402 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9403 Likewise.
9404 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9405 Likewise.
9406 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9407 Likewise.
9408 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9409 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9410 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9411 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9412 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9413 Specify lower bound on value.
9414 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9415 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9416 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9417 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9418 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9419 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9420 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9421 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9422 value.
9423 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9424 as optional.
9425 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9426 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9427 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9428 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9429 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9430 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9431 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9432 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9433 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9434 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9435 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9436 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9437 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9438 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9439 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9440 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9441 entry.
9442 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9443 optional.
9444 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9445 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9446 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9447 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9448 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9449 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9450 Likewise.
9451 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9452 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9453 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9454 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9455 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9456 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9457 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9458 as optional.
9459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9462 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9463 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9464 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9465 specify as optional.
9466 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9469 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9470 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9471 [XPG3] (NL_LANGMAX): Likewise.
9472 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9473 [POSIX || XPG3] (NL_NMAX): Likewise.
9474 [POSIX || XPG3] (NL_SETMAX): Likewise.
9475 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9476 [XPG3] (NZERO): Likewise.
9477 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9478 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9479 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9480 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9481 (REG_ERANGE): Expect.
9482 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9483 optional-constant.
9484 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9485 Use (void) in prototype.
9486 [POSIX] (*_t): Allow.
9487 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9488 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9489 (WRDE_BADVAL): Expect.
9490
5ba924e3
JM
9491 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9492 expect.
9493 [XPG3 || XPG4] (O_RSYNC): Likewise.
9494 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9495 Likewise.
9496 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9497 [XPG3 || XPG4] (sigqueue): Likewise.
9498 [XPG3 || XPG4] (sigtimedwait): Likewise.
9499 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9500 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9501 [XPG3 || XPG4] (vsnprintf): Likewise.
9502 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9503 Likewise.
9504 [XPG3 || XPG4] (blksize_t): Likewise.
9505 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9506 Likewise.
9507 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9508 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9509 [XPG3 || XPG4] (struct itimerspec): Likewise.
9510 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9511 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9512 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9513 [XPG3 || XPG4] (clockid_t): Likewise.
9514 [XPG3 || XPG4] (timer_t): Likewise.
9515 [XPG3 || XPG4] (clock_getres): Likewise.
9516 [XPG3 || XPG4] (clock_gettime): Likewise.
9517 [XPG3 || XPG4] (clock_settime): Likewise.
9518 [XPG3 || XPG4] (nanosleep): Likewise.
9519 [XPG3 || XPG4] (timer_create): Likewise.
9520 [XPG3 || XPG4] (timer_delete): Likewise.
9521 [XPG3 || XPG4] (timer_gettime): Likewise.
9522 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9523 [XPG3 || XPG4] (timer_settime): Likewise.
9524 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9525 [XPG3 || XPG4] (getlogin_r): Likewise.
9526 [XPG3 || XPG4] (pread): Likewise.
9527 [XPG3 || XPG4] (pthread_atfork): Likewise.
9528 [XPG3 || XPG4] (pwrite): Likewise.
9529
ee663277
JM
9530 [BZ #14835]
9531 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9532 <bits/siginfo.h>.
9533
942caa16
PT
95342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9535
e19af380
PT
9536 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9537 finalizing MALLSTREAM.
9538
942caa16
PT
9539 * sysdeps/mach/hurd/syncfs.c: New file.
9540
cfde9b46
SP
95412012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9542
9543 [BZ #14719]
9544 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9545 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9546 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9547 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9548 (_nss_dns_gethostbyname4_r): Likewise.
9549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9550 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9551
f6da27e5
PH
95522012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9553
9554 [BZ #13763]
9555 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9556
6665d4a2
SM
95572012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9558
1f51ee92
SM
9559 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9560 * elf/cache.c (print_entry): Print ",AArch64" for
9561 FLAG_AARCH64_LIB64
9562
6665d4a2
SM
9563 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9564 * elf/cache.c (print_entry): Print ",hard-float" for
9565 FLAG_ARM_LIBHF.
9566
05b227bd
DM
95672012-11-18 David S. Miller <davem@davemloft.net>
9568
9569 With help from Joseph Myers.
9570 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9571 cutoff to 2**-13.
9572 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9573 cutoff to 2**-25.
9574 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9575 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9576 small.
9577 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9578 * math/libm-test.inc (y0_test): New tests.
9579 (y1_test): New tests.
9580 * sysdeps/i386/fpu/libm-test-ulps: Update.
9581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9583
786b0b67
AS
95842012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9585
9586 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9587 64-bit targets.
9588 * configure: Regenerated.
9589
8e18b86d
DM
95902012-11-17 David S. Miller <davem@davemloft.net>
9591
9592 [BZ #14811]
9593 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9594 nonzero exponents with absolute value below 0x1p-128 to +/-
9595 0x1p-128.
9596
531f1ae0
JM
95972012-11-17 Joseph Myers <joseph@codesourcery.com>
9598
12df29e2
JM
9599 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9600
150dc1a0
JM
9601 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9602
531f1ae0
JM
9603 * posix/getconf-speclist.c: New file.
9604 * posix/posix-envs.def: Likewise.
9605 * posix/confstr.c (START_ENV_GROUP): New macro.
9606 (END_ENV_GROUP): Likewise.
9607 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9608 (KNOWN_PRESENT_ENV_STRING): Likewise.
9609 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9610 (UNKNOWN_ENVIRONMENT): Likewise.
9611 (confstr): Include posix-envs.def instead of handling
9612 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9613 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9614 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9615 (END_ENV_GROUP): Likewise.
9616 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9617 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9618 (UNKNOWN_ENVIRONMENT): Likewise.
9619 (__sysconf): Include posix-envs.def instead of handling associated
9620 cases directly here.
9621 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9622 preprocessing getconf-speclist.c rather than running getconf or
9623 generating empty file.
9624
a93f9cbc
PT
96252012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9626
9627 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9628
d64d9f87
AL
96292012-11-16 Andrej Lajovic <natrij@gmail.com>
9630
9631 [BZ #14672]
9632 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9633
447885eb
DM
96342012-11-16 David S. Miller <davem@davemloft.net>
9635
9636 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9637 smaller than LDBL_EPSILON/2.0L, just return xm1.
9638
bcbf9830
L
96392012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9640
9641 * elf/tst-array1.c (init): Set constructor priority to 1000.
9642 (fini): Set destructor priority to 1000.
9643 * elf/tst-array2dep.c: Likewise.
9644
2b766585
SP
96452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9646
9647 [BZ #11741]
9648 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9649 (_IO_new_file_xsputn): Also return EOF if none of the input
9650 data was written when overflow failed.
9651 * libio/iopadn.c (_IO_padn): Likewise.
9652 * libio/iowpadn.c (_IO_wpadn): Likewise.
9653 * stdio-common/tst-put-error.c: Add copyright notice.
9654 (do_test): Add case for printing padded string.
9655 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9656 _IO_padn returned error.
9657 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9658 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9659 return EOF.
9660
b1848fde
SP
96612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9662
9663 * libio/libioP.h: Add comment note that the references to C++
9664 bits are now obsolete.
9665
2fd89785
MS
96662012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9667
9668 * math/libm-test.inc (check_complex): Use asprintf.
9669
e3ea5409
JM
96702012-11-14 Joseph Myers <joseph@codesourcery.com>
9671
9672 * debug/pcprofiledump.c (print_version): Update copyright year.
9673 * malloc/memusagestat.c (print_version): Likewise.
9674
2e64d265
L
96752012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 [BZ #14831]
9678 * elf/Makefile (tests): Add tst-audit8.
9679 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9680 ($(objpfx)tst-audit8.out): New target.
9681 (tst-audit8-ENV): New variable.
9682 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9683 audit if l_reloc_result is NULL.
9684 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9685 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9686 * elf/tst-audit8.c: New file.
9687
c485e4d2
MS
96882012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9689
9690 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9691 * misc/Makefile (CFLAGS-select.c): Define.
9692 * posix/Makefile (CFLAGS-pause.c): Define.
9693
3a0d900a
DM
96942012-11-13 David S. Miller <davem@davemloft.net>
9695
9696 * crypt/Makefile: Move test targets after toplevel Rules
9697 inclusion. Grab any necessary sysdep routines when linking.
9698 * crypt/md5.c (md5_process_block): Remove define, we will always
9699 name it __md5_process_block.
9700 (md5_finish_ctx): Update md5_process_block call.
9701 (md5_stream): Likewise.
9702 (md5_process_bytes): Likewise.
9703 (md5_process_block): Rename to __md5_process_block and move to ...
9704 * crypt/md5-block.c: ... here.
9705 * crypt/sha256.c (sha256_process_block): Move to ...
9706 * crypt/sha256-block.c: ... here.
9707 * crypt/sha512.c (sha512_process_block): Move to ...
9708 * crypt/sha512-block.c: ... here.
9709 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9710 path.
9711 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9712 * sysdeps/sparc/sparc64/multiarch/Makefile
9713 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9714 crypt subdir.
9715 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9717 multiarch changes.
9718 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9719 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9720 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9721 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9722 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9723 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9724 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9725 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9726 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9727 file.
9728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9729 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9730 file.
9731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9732
8ca89318
JM
97332012-11-13 Joseph Myers <joseph@codesourcery.com>
9734
e27d476a
JM
9735 * timezone/tzselect.ksh: Update from tzcode git revision
9736 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9737 * timezone/zdump.c: Likewise.
9738 * timezone/zic.c: Likewise.
9739 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9740 in TZVERSION setting, not $(PKGVERSION).
9741 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9742 REPORT_BUGS_TO settings.
9743
8ca89318
JM
9744 [BZ #14838]
9745 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9746 macro.
9747
47594329
MS
97482012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9749
9750 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9751 detection to immediately after _FP_ROUND().
9752 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9753 bits are 0.
9754
640ac3f1
DM
97552012-11-11 David S. Miller <davem@davemloft.net>
9756
9757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9758 inttypes.h
9759 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9760 __close rather than their public counterparts.
9761
3d2577bb
JM
97622012-11-10 Joseph Myers <joseph@codesourcery.com>
9763
9764 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9765 file.
9766 [UNIX98] (sem_timedwait): Do not expect.
9767 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9768 [XPG4 || UNIX98] (sockatmark): Do not expect.
9769 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9770 (clock_getcpuclockid): Do not expect.
9771 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9772 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9773 Do not expect.
9774 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9775 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9776 [UNIX98] (vwscanf): Likewise.
9777 [UNIX98] (vswscanf): Likewise.
9778
fb1ae1ee
JM
97792012-11-09 Joseph Myers <joseph@codesourcery.com>
9780
9ec6f8bd
JM
9781 * timezone/version.h: Remove file.
9782 * timezone/README: Do not refer to version.h.
9783 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9784 $(objpfx)version.h.
9785 ($(objpfx)zdump.o): Likewise.
c3f81911 9786 ($(objpfx)version.h): New target.
9ec6f8bd 9787
0aa8f8a1
JM
9788 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9789 2012i.
9790 * timezone/README: Don't mention modification to tzselect.ksh.
9791 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9792 work on unmodified tzselect.ksh. Substitute version numbers in
9793 tzselect.ksh.
9794
4e87147f
JM
9795 * Makefile (format-me): Remove.
9796 (INSTALL): Adjust indentation. Use commands directly instead of
9797 using $(format-me).
9798
8b748aed
JM
9799 * aclocal.m4 (ACX_PKGVERSION): New macro.
9800 (ACX_BUGURL): Likewise.
9801 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9802 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9803 (REPORT_BUGS_TO): Likewise.
9804 * configure: Regenerated.
9805 * config.h.in (PKGVERSION): New macro.
9806 (REPORT_BUGS_TO): Likewise.
9807 * config.make.in (PKGVERSION): New variable.
9808 (PKGVERSION_TEXI): Likewise.
9809 (REPORT_BUGS_TO): Likewise.
9810 (REPORT_BUGS_TEXI): Likewise.
9811 * Makefile (format-me): Use -I$(common-objpfx)manual.
9812 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9813 ($(common-objpfx)manual/%): New target.
9814 (manual/%): Remove target.
9815 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9816 (print_version): Use PKGVERSION.
9817 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9818 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9819 and REPORT_BUGS_TO.
9820 ($(objpfx)xtrace): Likewise.
9821 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9822 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9823 (print_version): Use PKGVERSION.
9824 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9825 (do_version): Use PKGVERSION.
9826 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9827 REPORT_BUGS_TO.
9828 (common-ldd-rewrite): Likewise.
9829 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9830 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9831 (print_version): Use PKGVERSION.
9832 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9833 * elf/pldd.c (argp_program_bug_address): Remove variable.
9834 (more_help): New function.
9835 (argp): Use more_help.
9836 (print_version): Use PKGVERSION.
9837 * elf/sln.c (main): Use PKGVERSION.
9838 (usage): Use REPORT_BUGS_TO.
9839 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9840 (top level): Use PKGVERSION.
9841 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9842 (print_version): Use PKGVERSION.
9843 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9844 (print_version): Use PKGVERSION.
9845 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9846 (print_version): Use PKGVERSION.
9847 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9848 (print_version): Use PKGVERSION.
9849 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9850 (print_version): Use PKGVERSION.
9851 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9852 (print_version): Use PKGVERSION.
9853 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9854 and BUGURL.
9855 ($(objpfx)memusage): Likewise.
9856 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9857 (do_version): Use PKGVERSION.
9858 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9859 (print_version): Use PKGVERSION.
9860 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9861 ($PKGVERSION): New variable.
9862 ($REPORT_BUGS_TO): Likewise.
9863 (usage): Use $REPORT_BUGS_TO.
9864 (top level): Use $PKGVERSION.
9865 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9866 ($(objpfx)pkgvers.texi): New rule.
9867 ($(objpfx)stamp-pkgvers): Likewise.
9868 * manual/install.texi: Include pkgvers.texi.
9869 (--with-pkgversion): Document new configure option.
9870 (--with-bugurl): Likewise.
9871 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9872 than necessarily for this particular distribution. Use
9873 REPORT_BUGS_TO for where to report bugs.
9874 * INSTALL: Regenerated.
9875 * manual/libc.texinfo: Include pkgvers.texi.
9876 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9877 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9878 (print_version): Use PKGVERSION.
9879 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9880 (print_version): Use PKGVERSION.
9881 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9882 (print_version): Use PKGVERSION.
9883 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9884 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9885 macro.
9886 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9887 (print_version): Use PKGVERSION.
9888 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9889 (print_version): Use PKGVERSION.
9890 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9891 and PKGVERSION.
9892
92e4b6a9
JM
9893 * timezone/checktab.awk: Update from tzcode 2012i.
9894 * timezone/ialloc.c: Likewise.
9895 * timezone/private.h: Likewise.
9896 * timezone/scheck.c: Likewise.
9897 * timezone/tzfile.h: Likewise.
9898 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9899 (TZVERSION): Hardcode tzcode version number.
9900 * timezone/zdump.c: Update from tzcode 2012i.
9901 * timezone/zic.c: Likewise.
9902 * timezone/version.h: New file.
9903 * timezone/README: Describe version.h. Update upstream location.
9904
9bde902c
JM
9905 [BZ #14824]
9906 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9907 (mktemp): Enable declaration.
9908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9912 Likewise.
9913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9914 Likewise.
9915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9916 Likewise.
9917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9918 Likewise.
9919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9920 Likewise.
9921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9922 Likewise.
9923
fb1ae1ee
JM
9924 [BZ #14821]
9925 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9926 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9927 for copies of such integer values.
9928 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9929 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9930
2c1adbcb
AJ
99312012-11-09 Andreas Jaeger <aj@suse.de>
9932
9933 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9934 definitions and declarations that are provided by
9935 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9936
d0f8457e
AK
99372012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9938
3a235abb 9939 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9940 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9941 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9942 definition.
9943
57241e26
MS
99442012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9945
9946 * elf/elf.h: Update comment before AArch64 relocations.
9947
60e8270d
DM
99482012-11-07 David S. Miller <davem@davemloft.net>
9949
9950 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9951 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9952 (__start_context): Declare.
9953 (__makecontext_ret): Delete.
9954 (__makecontext): Hook up __start_context instead of
9955 __makecontext_ret.
9956 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9957 (sysdep_routines): Add __start_context when in stdlib.
9958
0fbb0fbc
JM
99592012-11-07 Joseph Myers <joseph@codesourcery.com>
9960
9961 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9962 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9963 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9964 hardcoded "nm".
9965 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9966 (READELF): New variable. Use it instead of hardcoded "readelf".
9967
eb48db7e
L
99682012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9969
9970 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9971 * sysdeps/x86/Makefile: Here.
9972 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9973 * sysdeps/x86/tst-xmmymm.sh: This.
9974
05bcf62a
JM
99752012-11-07 Joseph Myers <joseph@codesourcery.com>
9976
c4b6cf53
JM
9977 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9978 expectations.
9979 [UNIX98] (pthread_barrier_t): Do not expect.
9980 [UNIX98] (pthread_barrierattr_t): Likewise.
9981 [UNIX98] (pthread_spinlock_t): Likewise.
9982 [UNIX98] (pthread_barrier_destroy): Likewise.
9983 [UNIX98] (pthread_barrier_init): Likewise.
9984 [UNIX98] (pthread_barrier_wait): Likewise.
9985 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9986 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9987 [UNIX98] (pthread_barrierattr_init): Likewise.
9988 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9989 [UNIX98] (pthread_getcpuclockid): Likewise.
9990 [UNIX98] (pthread_mutex_timedlock): Likewise.
9991 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9992 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9993 [UNIX98] (pthread_sigmask): Likewise.
9994 [UNIX98] (pthread_spin_destroy): Likewise.
9995 [UNIX98] (pthread_spin_init): Likewise.
9996 [UNIX98] (pthread_spin_lock): Likewise.
9997 [UNIX98] (pthread_spin_trylock): Likewise.
9998 [UNIX98] (pthread_spin_unlock): Likewise.
9999 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10000 Do not expect.
10001 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10002 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10003 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10004 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10005 [XPG3 || XPG4] (pthread_key_t): Likewise.
10006 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10007 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10008 [XPG3 || XPG4] (pthread_once_t): Likewise.
10009 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10010 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10011 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10012 [XPG3 || XPG4] (pthread_t): Likewise.
10013
cbe6e120
JM
10014 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10015 not expect.
10016 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10017
1b126443
JM
10018 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10019 Change function return type to int.
10020
b961a573
JM
10021 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10022 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10023 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10024 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10025 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10026 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10027 [!POSIX] (posix_madvise): Likewise.
10028 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10029 && !UNIX98].
10030 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10031 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10032 (mode_t): Likewise.
10033 (posix_mem_offset): Likewise.
10034 (posix_typed_mem_get_info): Likewise.
10035 (posix_typed_mem_open): Likewise.
10036
9e188909
JM
10037 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10038 Change condition to [XOPEN2K8].
10039
05bcf62a
JM
10040 * conform/conformtest.pl: Preprocess allow-header data with -x c
10041 instead of from stdin.
10042 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10043 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10044 [C99-based standards] (cerfc): Likewise.
10045 [C99-based standards] (cexp2): Likewise.
10046 [C99-based standards] (cexpm1): Likewise.
10047 [C99-based standards] (clog10): Likewise.
10048 [C99-based standards] (clog1p): Likewise.
10049 [C99-based standards] (clog2): Likewise.
10050 [C99-based standards] (clgamma): Likewise.
10051 [C99-based standards] (ctgamma): Likewise.
10052 [C99-based standards] (cerff): Likewise.
10053 [C99-based standards] (cerfcf): Likewise.
10054 [C99-based standards] (cexp2f): Likewise.
10055 [C99-based standards] (cexpm1f): Likewise.
10056 [C99-based standards] (clog10f): Likewise.
10057 [C99-based standards] (clog1pf): Likewise.
10058 [C99-based standards] (clog2f): Likewise.
10059 [C99-based standards] (clgammaf): Likewise.
10060 [C99-based standards] (ctgammaf): Likewise.
10061 [C99-based standards] (cerfl): Likewise.
10062 [C99-based standards] (cerfcl): Likewise.
10063 [C99-based standards] (cexp2l): Likewise.
10064 [C99-based standards] (cexpm1l): Likewise.
10065 [C99-based standards] (clog10l): Likewise.
10066 [C99-based standards] (clog1pl): Likewise.
10067 [C99-based standards] (clog2l): Likewise.
10068 [C99-based standards] (clgammal): Likewise.
10069 [C99-based standards] (ctgammal): Likewise.
10070 * conform/data/inttypes.h-data [C99-based standards]: Include
10071 stdint.h-data. Remove all expectations for stdint.h contents.
10072 [C99-based standards] (PRI*): Do not allow.
10073 [C99-based standards] (SCN*): Likewise.
10074 [C99-based standards] (*_t): Likewise.
10075 [C99-based-standards] (PRId8): Expect macro.
10076 [C99-based-standards] (PRIi8): Likewise.
10077 [C99-based-standards] (PRIo8): Likewise.
10078 [C99-based-standards] (PRIu8): Likewise.
10079 [C99-based-standards] (PRIx8): Likewise.
10080 [C99-based-standards] (PRIX8): Likewise.
10081 [C99-based-standards] (SCNd8): Likewise.
10082 [C99-based-standards] (SCNi8): Likewise.
10083 [C99-based-standards] (SCNo8): Likewise.
10084 [C99-based-standards] (SCNu8): Likewise.
10085 [C99-based-standards] (SCNx8): Likewise.
10086 [C99-based-standards] (PRIdLEAST8): Likewise.
10087 [C99-based-standards] (PRIiLEAST8): Likewise.
10088 [C99-based-standards] (PRIoLEAST8): Likewise.
10089 [C99-based-standards] (PRIuLEAST8): Likewise.
10090 [C99-based-standards] (PRIxLEAST8): Likewise.
10091 [C99-based-standards] (PRIXLEAST8): Likewise.
10092 [C99-based-standards] (SCNdLEAST8): Likewise.
10093 [C99-based-standards] (SCNiLEAST8): Likewise.
10094 [C99-based-standards] (SCNoLEAST8): Likewise.
10095 [C99-based-standards] (SCNuLEAST8): Likewise.
10096 [C99-based-standards] (SCNxLEAST8): Likewise.
10097 [C99-based-standards] (PRIdFAST8): Likewise.
10098 [C99-based-standards] (PRIiFAST8): Likewise.
10099 [C99-based-standards] (PRIoFAST8): Likewise.
10100 [C99-based-standards] (PRIuFAST8): Likewise.
10101 [C99-based-standards] (PRIxFAST8): Likewise.
10102 [C99-based-standards] (PRIXFAST8): Likewise.
10103 [C99-based-standards] (SCNdFAST8): Likewise.
10104 [C99-based-standards] (SCNiFAST8): Likewise.
10105 [C99-based-standards] (SCNoFAST8): Likewise.
10106 [C99-based-standards] (SCNuFAST8): Likewise.
10107 [C99-based-standards] (SCNxFAST8): Likewise.
10108 [C99-based-standards] (PRId16): Likewise.
10109 [C99-based-standards] (PRIi16): Likewise.
10110 [C99-based-standards] (PRIo16): Likewise.
10111 [C99-based-standards] (PRIu16): Likewise.
10112 [C99-based-standards] (PRIx16): Likewise.
10113 [C99-based-standards] (PRIX16): Likewise.
10114 [C99-based-standards] (SCNd16): Likewise.
10115 [C99-based-standards] (SCNi16): Likewise.
10116 [C99-based-standards] (SCNo16): Likewise.
10117 [C99-based-standards] (SCNu16): Likewise.
10118 [C99-based-standards] (SCNx16): Likewise.
10119 [C99-based-standards] (PRIdLEAST16): Likewise.
10120 [C99-based-standards] (PRIiLEAST16): Likewise.
10121 [C99-based-standards] (PRIoLEAST16): Likewise.
10122 [C99-based-standards] (PRIuLEAST16): Likewise.
10123 [C99-based-standards] (PRIxLEAST16): Likewise.
10124 [C99-based-standards] (PRIXLEAST16): Likewise.
10125 [C99-based-standards] (SCNdLEAST16): Likewise.
10126 [C99-based-standards] (SCNiLEAST16): Likewise.
10127 [C99-based-standards] (SCNoLEAST16): Likewise.
10128 [C99-based-standards] (SCNuLEAST16): Likewise.
10129 [C99-based-standards] (SCNxLEAST16): Likewise.
10130 [C99-based-standards] (PRIdFAST16): Likewise.
10131 [C99-based-standards] (PRIiFAST16): Likewise.
10132 [C99-based-standards] (PRIoFAST16): Likewise.
10133 [C99-based-standards] (PRIuFAST16): Likewise.
10134 [C99-based-standards] (PRIxFAST16): Likewise.
10135 [C99-based-standards] (PRIXFAST16): Likewise.
10136 [C99-based-standards] (SCNdFAST16): Likewise.
10137 [C99-based-standards] (SCNiFAST16): Likewise.
10138 [C99-based-standards] (SCNoFAST16): Likewise.
10139 [C99-based-standards] (SCNuFAST16): Likewise.
10140 [C99-based-standards] (SCNxFAST16): Likewise.
10141 [C99-based-standards] (PRId32): Likewise.
10142 [C99-based-standards] (PRIi32): Likewise.
10143 [C99-based-standards] (PRIo32): Likewise.
10144 [C99-based-standards] (PRIu32): Likewise.
10145 [C99-based-standards] (PRIx32): Likewise.
10146 [C99-based-standards] (PRIX32): Likewise.
10147 [C99-based-standards] (SCNd32): Likewise.
10148 [C99-based-standards] (SCNi32): Likewise.
10149 [C99-based-standards] (SCNo32): Likewise.
10150 [C99-based-standards] (SCNu32): Likewise.
10151 [C99-based-standards] (SCNx32): Likewise.
10152 [C99-based-standards] (PRIdLEAST32): Likewise.
10153 [C99-based-standards] (PRIiLEAST32): Likewise.
10154 [C99-based-standards] (PRIoLEAST32): Likewise.
10155 [C99-based-standards] (PRIuLEAST32): Likewise.
10156 [C99-based-standards] (PRIxLEAST32): Likewise.
10157 [C99-based-standards] (PRIXLEAST32): Likewise.
10158 [C99-based-standards] (SCNdLEAST32): Likewise.
10159 [C99-based-standards] (SCNiLEAST32): Likewise.
10160 [C99-based-standards] (SCNoLEAST32): Likewise.
10161 [C99-based-standards] (SCNuLEAST32): Likewise.
10162 [C99-based-standards] (SCNxLEAST32): Likewise.
10163 [C99-based-standards] (PRIdFAST32): Likewise.
10164 [C99-based-standards] (PRIiFAST32): Likewise.
10165 [C99-based-standards] (PRIoFAST32): Likewise.
10166 [C99-based-standards] (PRIuFAST32): Likewise.
10167 [C99-based-standards] (PRIxFAST32): Likewise.
10168 [C99-based-standards] (PRIXFAST32): Likewise.
10169 [C99-based-standards] (SCNdFAST32): Likewise.
10170 [C99-based-standards] (SCNiFAST32): Likewise.
10171 [C99-based-standards] (SCNoFAST32): Likewise.
10172 [C99-based-standards] (SCNuFAST32): Likewise.
10173 [C99-based-standards] (SCNxFAST32): Likewise.
10174 [C99-based-standards] (PRId64): Likewise.
10175 [C99-based-standards] (PRIi64): Likewise.
10176 [C99-based-standards] (PRIo64): Likewise.
10177 [C99-based-standards] (PRIu64): Likewise.
10178 [C99-based-standards] (PRIx64): Likewise.
10179 [C99-based-standards] (PRIX64): Likewise.
10180 [C99-based-standards] (SCNd64): Likewise.
10181 [C99-based-standards] (SCNi64): Likewise.
10182 [C99-based-standards] (SCNo64): Likewise.
10183 [C99-based-standards] (SCNu64): Likewise.
10184 [C99-based-standards] (SCNx64): Likewise.
10185 [C99-based-standards] (PRIdLEAST64): Likewise.
10186 [C99-based-standards] (PRIiLEAST64): Likewise.
10187 [C99-based-standards] (PRIoLEAST64): Likewise.
10188 [C99-based-standards] (PRIuLEAST64): Likewise.
10189 [C99-based-standards] (PRIxLEAST64): Likewise.
10190 [C99-based-standards] (PRIXLEAST64): Likewise.
10191 [C99-based-standards] (SCNdLEAST64): Likewise.
10192 [C99-based-standards] (SCNiLEAST64): Likewise.
10193 [C99-based-standards] (SCNoLEAST64): Likewise.
10194 [C99-based-standards] (SCNuLEAST64): Likewise.
10195 [C99-based-standards] (SCNxLEAST64): Likewise.
10196 [C99-based-standards] (PRIdFAST64): Likewise.
10197 [C99-based-standards] (PRIiFAST64): Likewise.
10198 [C99-based-standards] (PRIoFAST64): Likewise.
10199 [C99-based-standards] (PRIuFAST64): Likewise.
10200 [C99-based-standards] (PRIxFAST64): Likewise.
10201 [C99-based-standards] (PRIXFAST64): Likewise.
10202 [C99-based-standards] (SCNdFAST64): Likewise.
10203 [C99-based-standards] (SCNiFAST64): Likewise.
10204 [C99-based-standards] (SCNoFAST64): Likewise.
10205 [C99-based-standards] (SCNuFAST64): Likewise.
10206 [C99-based-standards] (SCNxFAST64): Likewise.
10207 [C99-based-standards] (PRIdMAX): Likewise.
10208 [C99-based-standards] (PRIiMAX): Likewise.
10209 [C99-based-standards] (PRIoMAX): Likewise.
10210 [C99-based-standards] (PRIuMAX): Likewise.
10211 [C99-based-standards] (PRIxMAX): Likewise.
10212 [C99-based-standards] (PRIXMAX): Likewise.
10213 [C99-based-standards] (SCNdMAX): Likewise.
10214 [C99-based-standards] (SCNiMAX): Likewise.
10215 [C99-based-standards] (SCNoMAX): Likewise.
10216 [C99-based-standards] (SCNuMAX): Likewise.
10217 [C99-based-standards] (SCNxMAX): Likewise.
10218 [C99-based-standards] (PRIdPTR): Likewise.
10219 [C99-based-standards] (PRIiPTR): Likewise.
10220 [C99-based-standards] (PRIoPTR): Likewise.
10221 [C99-based-standards] (PRIuPTR): Likewise.
10222 [C99-based-standards] (PRIxPTR): Likewise.
10223 [C99-based-standards] (PRIXPTR): Likewise.
10224 [C99-based-standards] (SCNdPTR): Likewise.
10225 [C99-based-standards] (SCNiPTR): Likewise.
10226 [C99-based-standards] (SCNoPTR): Likewise.
10227 [C99-based-standards] (SCNuPTR): Likewise.
10228 [C99-based-standards] (SCNxPTR): Likewise.
10229 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10230 allow.
10231 * conform/data/stdint.h-data: Update comments to clarify
10232 requirements.
10233 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10234 type.
10235 [C99-based standards] (INT8_MAX): Likewise.
10236 [C99-based standards] (INT16_MIN): Likewise.
10237 [C99-based standards] (INT16_MAX): Likewise.
10238 [C99-based standards] (INT32_MIN): Likewise.
10239 [C99-based standards] (INT32_MAX): Likewise.
10240 [C99-based standards] (INT64_MIN): Likewise.
10241 [C99-based standards] (INT64_MAX): Likewise.
10242 [C99-based standards] (UINT8_MAX): Likewise.
10243 [C99-based standards] (UINT16_MAX): Likewise.
10244 [C99-based standards] (UINT32_MAX): Likewise.
10245 [C99-based standards] (UINT64_MAX): Likewise.
10246 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10247 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10248 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10249 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10250 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10251 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10252 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10253 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10254 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10255 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10256 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10257 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10258 [C99-based standards] (INT_FAST8_MIN): Likewise.
10259 [C99-based standards] (INT_FAST8_MAX): Likewise.
10260 [C99-based standards] (INT_FAST16_MIN): Likewise.
10261 [C99-based standards] (INT_FAST16_MAX): Likewise.
10262 [C99-based standards] (INT_FAST32_MIN): Likewise.
10263 [C99-based standards] (INT_FAST32_MAX): Likewise.
10264 [C99-based standards] (INT_FAST64_MIN): Likewise.
10265 [C99-based standards] (INT_FAST64_MAX): Likewise.
10266 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10267 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10268 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10269 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10270 [C99-based standards] (INTPTR_MIN): Likewise.
10271 [C99-based standards] (INTPTR_MAX): Likewise.
10272 [C99-based standards] (UINTPTR_MAX): Likewise.
10273 [C99-based standards] (INTMAX_MIN): Likewise.
10274 [C99-based standards] (INTMAX_MAX): Likewise.
10275 [C99-based standards] (UINTMAX_MAX): Likewise.
10276 [C99-based standards] (PTRDIFF_MIN): Likewise.
10277 [C99-based standards] (PTRDIFF_MAX): Likewise.
10278 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10279 [C99-based standards] (SIZE_MAX): Likewise.
10280 [C99-based standards] (WCHAR_MAX): Likewise.
10281 [C99-based standards] (WINT_MAX): Likewise.
10282 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10283 constraint on value.
10284 [C99-based standards] (WCHAR_MIN): Likewise.
10285 [C99-based standards] (WINT_MIN): Likewise.
10286 [C99-based standards] (*_t): Allow.
10287 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10288 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10289 Include math.h-data and complex.h-data. Remove all expectations
10290 of math.h and complex.h contents.
10291 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10292 at end of line.
10293 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10294 (struct tm): Expect tag.
10295 [C99-based-standards] (wcstof): Expect function.
10296 [C99-based-standards] (wcstold): Likewise.
10297 [C99-based-standards] (wcstoll): Likewise.
10298 [C99-based-standards] (wcstoull): Likewise.
10299 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10300 macro-int-constant. Specify type.
10301 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10302 constraint on value.
10303 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10304 Specify type.
10305 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10306 Specify value.
10307 [ISO C standards]: Do not allow headers.
10308 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10309 wcs[abcdefghijklmnopqrstuvwxyz]*.
10310 [ISO C standards] (*_t): Do not allow.
10311 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10312 Expect function.
10313 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10314 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10315 Specify type.
10316 [ISO C standards]: Do not allow headers.
10317 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10318 is[abcdefghijklmnopqrstuvwxyz]*.
10319 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10320 to[abcdefghijklmnopqrstuvwxyz]*.
10321 [ISO C standards] (*_t): Do not allow.
10322 * conform/data/stdalign.h-data: New file.
10323 * conform/data/stdbool.h-data: Likewise.
10324 * conform/data/stdnoreturn.h-data: Likewise.
10325
7514feb8
RM
103262012-11-07 Roland McGrath <roland@hack.frob.com>
10327
10328 [BZ #14815]
10329 * manual/filesys.texi (Directory Entries): Typo fix.
10330 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10331
19b2ecfc
MS
103322012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10333
10334 * elf/elf.h (EM_AARCH64): New macro.
10335 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10336 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10337 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10338 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10339 (R_AARCH64_TLSDESC): Likewise.
10340 (NT_ARM_TLS): Likewise.
10341 (NT_ARM_HW_BREAK): Likewise.
10342 (NT_ARM_HW_WATCH): Likewise.
10343
60e235ee
JM
103442012-11-07 Joseph Myers <joseph@codesourcery.com>
10345
10346 [BZ #14811]
10347 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10348 (__ieee754_powl): Saturate nonzero exponents with absolute value
10349 below 0x1p-79 to +/- 0x1p-79.
10350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10351 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10352 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10353 nonzero exponents with absolute value below 0x1p-32 to +/-
10354 0x1p-32.
10355 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10356 (__ieee754_powl): Saturate nonzero exponents with absolute value
10357 below 0x1p-79 to +/- 0x1p-79.
10358 * math/libm-test.inc (pow_test): Add more tests.
10359
0ab234b7
AK
103602012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10361
10362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10363 _dl_s390_cap_flags with kernel. Increase string length.
10364 (_dl_s390_platforms): Add z196 and zEC12.
10365
45832f74
JM
103662012-11-07 Joseph Myers <joseph@codesourcery.com>
10367
10368 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10369 Change XOPEN21K to XOPEN2K.
10370
19218757
MK
103712012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10372
10373 * string/memmove.c: Use memcpy when possible.
10374
c5f45721
AJ
103752012-11-06 Andreas Jaeger <aj@suse.de>
10376
10377 * po/eo.po: Update from translation team.
10378
82477c28
JM
103792012-11-06 Joseph Myers <joseph@codesourcery.com>
10380
10381 [BZ #14793]
10382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10383 exponent and small x and y exponents, scale x or y up. Increase
10384 by 2 the exponent used in scaling up.
10385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10387 * math/libm-test.inc (fma_test): Add more tests.
10388 (fma_test_towardzero): Likewise.
10389 (fma_test_downward): Likewise.
10390 (fma_test_upward): Likewise.
10391
99252c8c
JM
103922012-11-05 Joseph Myers <joseph@codesourcery.com>
10393
acfa885f
JM
10394 [BZ #14805]
10395 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10396 fenv_t *.
10397
99252c8c
JM
10398 [BZ #14801]
10399 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10400 namespace for names of struct fields.
10401 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10402 fenv_t fields.
10403 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10404 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10405
d6d98dea
ST
104062012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10407
10408 [BZ #3665]
10409 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10410
e10bb107
TS
104112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10412
10413 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10414 PTR_DEMANGLE.
10415
10416 [BZ #5246]
10417 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10418 PTR_DEMANGLE.
10419
a0c2940d
JM
104202012-11-04 Joseph Myers <joseph@codesourcery.com>
10421
10422 [BZ #14797]
10423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10424 definitely overflow as x * y not x * y + z.
10425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10427 * math/libm-test.inc (fma_test): Add more tests.
10428 (fma_test_towardzero): Likewise.
10429 (fma_test_downward): Likewise.
10430 (fma_test_upward): Likewise.
10431
b830319d
TS
104322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10433
10434 [BZ #157]
10435
10436 * include/stub-tag.h: Remove file.
10437 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10438 '#include' of it.
10439 * manual/maint.texi (Porting): Don't reference it.
10440 * Makerules ($(objpfx)stubs): Likewise.
10441 * dirent/closedir.c: Don't include <stub-tag.h>.
10442 * dirent/dirfd.c: Likewise.
10443 * dirent/fdopendir.c: Likewise.
10444 * dirent/getdents.c: Likewise.
10445 * dirent/getdents64.c: Likewise.
10446 * dirent/opendir.c: Likewise.
10447 * dirent/readdir.c: Likewise.
10448 * dirent/readdir64.c: Likewise.
10449 * dirent/readdir64_r.c: Likewise.
10450 * dirent/readdir_r.c: Likewise.
10451 * dirent/rewinddir.c: Likewise.
10452 * dirent/seekdir.c: Likewise.
10453 * dirent/telldir.c: Likewise.
10454 * gmon/profil.c: Likewise.
10455 * grp/setgroups.c: Likewise.
10456 * inet/if_index.c: Likewise.
10457 * io/access.c: Likewise.
10458 * io/chdir.c: Likewise.
10459 * io/chmod.c: Likewise.
10460 * io/chown.c: Likewise.
10461 * io/close.c: Likewise.
10462 * io/dup.c: Likewise.
10463 * io/dup2.c: Likewise.
10464 * io/dup3.c: Likewise.
10465 * io/euidaccess.c: Likewise.
10466 * io/faccessat.c: Likewise.
10467 * io/fchdir.c: Likewise.
10468 * io/fchmod.c: Likewise.
10469 * io/fchmodat.c: Likewise.
10470 * io/fchown.c: Likewise.
10471 * io/fchownat.c: Likewise.
10472 * io/fcntl.c: Likewise.
10473 * io/flock.c: Likewise.
10474 * io/fstatfs.c: Likewise.
10475 * io/fstatfs64.c: Likewise.
10476 * io/fstatvfs.c: Likewise.
10477 * io/fstatvfs64.c: Likewise.
10478 * io/futimens.c: Likewise.
10479 * io/fxstat.c: Likewise.
10480 * io/fxstat64.c: Likewise.
10481 * io/fxstatat.c: Likewise.
10482 * io/fxstatat64.c: Likewise.
10483 * io/getcwd.c: Likewise.
10484 * io/isatty.c: Likewise.
10485 * io/lchmod.c: Likewise.
10486 * io/lchown.c: Likewise.
10487 * io/link.c: Likewise.
10488 * io/linkat.c: Likewise.
10489 * io/lseek.c: Likewise.
10490 * io/lseek64.c: Likewise.
10491 * io/lxstat64.c: Likewise.
10492 * io/mkdir.c: Likewise.
10493 * io/mkdirat.c: Likewise.
10494 * io/mkfifo.c: Likewise.
10495 * io/mkfifoat.c: Likewise.
10496 * io/open.c: Likewise.
10497 * io/open64.c: Likewise.
10498 * io/openat.c: Likewise.
10499 * io/openat64.c: Likewise.
10500 * io/pipe.c: Likewise.
10501 * io/pipe2.c: Likewise.
10502 * io/poll.c: Likewise.
10503 * io/posix_fadvise.c: Likewise.
10504 * io/posix_fadvise64.c: Likewise.
10505 * io/posix_fallocate.c: Likewise.
10506 * io/posix_fallocate64.c: Likewise.
10507 * io/read.c: Likewise.
10508 * io/readlink.c: Likewise.
10509 * io/readlinkat.c: Likewise.
10510 * io/rmdir.c: Likewise.
10511 * io/sendfile.c: Likewise.
10512 * io/sendfile64.c: Likewise.
10513 * io/statfs.c: Likewise.
10514 * io/statfs64.c: Likewise.
10515 * io/statvfs.c: Likewise.
10516 * io/statvfs64.c: Likewise.
10517 * io/symlink.c: Likewise.
10518 * io/symlinkat.c: Likewise.
10519 * io/ttyname.c: Likewise.
10520 * io/ttyname_r.c: Likewise.
10521 * io/umask.c: Likewise.
10522 * io/unlink.c: Likewise.
10523 * io/unlinkat.c: Likewise.
10524 * io/utime.c: Likewise.
10525 * io/utimensat.c: Likewise.
10526 * io/write.c: Likewise.
10527 * io/xmknod.c: Likewise.
10528 * io/xmknodat.c: Likewise.
10529 * io/xstat.c: Likewise.
10530 * io/xstat64.c: Likewise.
10531 * login/getpt.c: Likewise.
10532 * login/grantpt.c: Likewise.
10533 * login/unlockpt.c: Likewise.
10534 * math/e_acoshl.c: Likewise.
10535 * math/e_acosl.c: Likewise.
10536 * math/e_asinl.c: Likewise.
10537 * math/e_atan2l.c: Likewise.
10538 * math/e_atanhl.c: Likewise.
10539 * math/e_coshl.c: Likewise.
10540 * math/e_expl.c: Likewise.
10541 * math/e_fmodl.c: Likewise.
10542 * math/e_gammal_r.c: Likewise.
10543 * math/e_hypotl.c: Likewise.
10544 * math/e_j0l.c: Likewise.
10545 * math/e_j1l.c: Likewise.
10546 * math/e_jnl.c: Likewise.
10547 * math/e_lgammal_r.c: Likewise.
10548 * math/e_log10l.c: Likewise.
10549 * math/e_log2l.c: Likewise.
10550 * math/e_logl.c: Likewise.
10551 * math/e_powl.c: Likewise.
10552 * math/e_rem_pio2l.c: Likewise.
10553 * math/e_sinhl.c: Likewise.
10554 * math/e_sqrtl.c: Likewise.
10555 * math/fclrexcpt.c: Likewise.
10556 * math/fedisblxcpt.c: Likewise.
10557 * math/feenablxcpt.c: Likewise.
10558 * math/fegetenv.c: Likewise.
10559 * math/fegetexcept.c: Likewise.
10560 * math/fegetround.c: Likewise.
10561 * math/feholdexcpt.c: Likewise.
10562 * math/fesetenv.c: Likewise.
10563 * math/fesetround.c: Likewise.
10564 * math/feupdateenv.c: Likewise.
10565 * math/fgetexcptflg.c: Likewise.
10566 * math/fraiseexcpt.c: Likewise.
10567 * math/fsetexcptflg.c: Likewise.
10568 * math/ftestexcept.c: Likewise.
10569 * math/k_cosl.c: Likewise.
10570 * math/k_rem_pio2l.c: Likewise.
10571 * math/k_sinl.c: Likewise.
10572 * math/k_tanl.c: Likewise.
10573 * math/s_asinhl.c: Likewise.
10574 * math/s_atanl.c: Likewise.
10575 * math/s_cbrtl.c: Likewise.
10576 * math/s_erfl.c: Likewise.
10577 * math/s_expm1l.c: Likewise.
10578 * math/s_log1pl.c: Likewise.
10579 * math/s_tanhl.c: Likewise.
10580 * misc/acct.c: Likewise.
10581 * misc/brk.c: Likewise.
10582 * misc/chflags.c: Likewise.
10583 * misc/chroot.c: Likewise.
10584 * misc/fchflags.c: Likewise.
10585 * misc/fgetxattr.c: Likewise.
10586 * misc/flistxattr.c: Likewise.
10587 * misc/fremovexattr.c: Likewise.
10588 * misc/fsetxattr.c: Likewise.
10589 * misc/fsync.c: Likewise.
10590 * misc/ftruncate.c: Likewise.
10591 * misc/futimes.c: Likewise.
10592 * misc/futimesat.c: Likewise.
10593 * misc/getdomain.c: Likewise.
10594 * misc/getdtsz.c: Likewise.
10595 * misc/gethostid.c: Likewise.
10596 * misc/gethostname.c: Likewise.
10597 * misc/getloadavg.c: Likewise.
10598 * misc/getpagesize.c: Likewise.
10599 * misc/getsysstats.c: Likewise.
10600 * misc/getxattr.c: Likewise.
10601 * misc/gtty.c: Likewise.
10602 * misc/ioctl.c: Likewise.
10603 * misc/lgetxattr.c: Likewise.
10604 * misc/listxattr.c: Likewise.
10605 * misc/llistxattr.c: Likewise.
10606 * misc/lremovexattr.c: Likewise.
10607 * misc/lsetxattr.c: Likewise.
10608 * misc/lutimes.c: Likewise.
10609 * misc/madvise.c: Likewise.
10610 * misc/mincore.c: Likewise.
10611 * misc/mlock.c: Likewise.
10612 * misc/mlockall.c: Likewise.
10613 * misc/mmap.c: Likewise.
10614 * misc/mprotect.c: Likewise.
10615 * misc/msync.c: Likewise.
10616 * misc/munlock.c: Likewise.
10617 * misc/munlockall.c: Likewise.
10618 * misc/munmap.c: Likewise.
10619 * misc/preadv.c: Likewise.
10620 * misc/preadv64.c: Likewise.
10621 * misc/ptrace.c: Likewise.
10622 * misc/pwritev.c: Likewise.
10623 * misc/pwritev64.c: Likewise.
10624 * misc/readv.c: Likewise.
10625 * misc/reboot.c: Likewise.
10626 * misc/remap_file_pages.c: Likewise.
10627 * misc/removexattr.c: Likewise.
10628 * misc/revoke.c: Likewise.
10629 * misc/select.c: Likewise.
10630 * misc/setdomain.c: Likewise.
10631 * misc/setegid.c: Likewise.
10632 * misc/seteuid.c: Likewise.
10633 * misc/sethostid.c: Likewise.
10634 * misc/sethostname.c: Likewise.
10635 * misc/setregid.c: Likewise.
10636 * misc/setreuid.c: Likewise.
10637 * misc/setxattr.c: Likewise.
10638 * misc/sstk.c: Likewise.
10639 * misc/stty.c: Likewise.
10640 * misc/swapoff.c: Likewise.
10641 * misc/swapon.c: Likewise.
10642 * misc/sync.c: Likewise.
10643 * misc/syncfs.c: Likewise.
10644 * misc/syscall.c: Likewise.
10645 * misc/truncate.c: Likewise.
10646 * misc/ualarm.c: Likewise.
10647 * misc/usleep.c: Likewise.
10648 * misc/ustat.c: Likewise.
10649 * misc/utimes.c: Likewise.
10650 * misc/vhangup.c: Likewise.
10651 * misc/writev.c: Likewise.
10652 * posix/_exit.c: Likewise.
10653 * posix/alarm.c: Likewise.
10654 * posix/execve.c: Likewise.
10655 * posix/fexecve.c: Likewise.
10656 * posix/fork.c: Likewise.
10657 * posix/fpathconf.c: Likewise.
10658 * posix/getaddrinfo.c: Likewise.
10659 * posix/getegid.c: Likewise.
10660 * posix/geteuid.c: Likewise.
10661 * posix/getgid.c: Likewise.
10662 * posix/getgroups.c: Likewise.
10663 * posix/getlogin.c: Likewise.
10664 * posix/getlogin_r.c: Likewise.
10665 * posix/getpgid.c: Likewise.
10666 * posix/getpid.c: Likewise.
10667 * posix/getppid.c: Likewise.
10668 * posix/getresgid.c: Likewise.
10669 * posix/getresuid.c: Likewise.
10670 * posix/getsid.c: Likewise.
10671 * posix/getuid.c: Likewise.
10672 * posix/glob64.c: Likewise.
10673 * posix/nanosleep.c: Likewise.
10674 * posix/pathconf.c: Likewise.
10675 * posix/pause.c: Likewise.
10676 * posix/posix_madvise.c: Likewise.
10677 * posix/pread.c: Likewise.
10678 * posix/pread64.c: Likewise.
10679 * posix/pwrite.c: Likewise.
10680 * posix/pwrite64.c: Likewise.
10681 * posix/sched_getaffinity.c: Likewise.
10682 * posix/sched_getp.c: Likewise.
10683 * posix/sched_gets.c: Likewise.
10684 * posix/sched_primax.c: Likewise.
10685 * posix/sched_primin.c: Likewise.
10686 * posix/sched_rr_gi.c: Likewise.
10687 * posix/sched_setaffinity.c: Likewise.
10688 * posix/sched_setp.c: Likewise.
10689 * posix/sched_sets.c: Likewise.
10690 * posix/sched_yield.c: Likewise.
10691 * posix/setgid.c: Likewise.
10692 * posix/setlogin.c: Likewise.
10693 * posix/setpgid.c: Likewise.
10694 * posix/setresgid.c: Likewise.
10695 * posix/setresuid.c: Likewise.
10696 * posix/setsid.c: Likewise.
10697 * posix/setuid.c: Likewise.
10698 * posix/sleep.c: Likewise.
10699 * posix/spawni.c: Likewise.
10700 * posix/sysconf.c: Likewise.
10701 * posix/times.c: Likewise.
10702 * posix/wait.c: Likewise.
10703 * posix/wait3.c: Likewise.
10704 * posix/wait4.c: Likewise.
10705 * posix/waitpid.c: Likewise.
10706 * resolv/gai_sigqueue.c: Likewise.
10707 * resource/getpriority.c: Likewise.
10708 * resource/getrlimit.c: Likewise.
10709 * resource/getrusage.c: Likewise.
10710 * resource/nice.c: Likewise.
10711 * resource/setpriority.c: Likewise.
10712 * resource/setrlimit.c: Likewise.
10713 * resource/ulimit.c: Likewise.
10714 * rt/aio_cancel.c: Likewise.
10715 * rt/aio_fsync.c: Likewise.
10716 * rt/aio_read.c: Likewise.
10717 * rt/aio_sigqueue.c: Likewise.
10718 * rt/aio_suspend.c: Likewise.
10719 * rt/aio_write.c: Likewise.
10720 * rt/clock_getres.c: Likewise.
10721 * rt/clock_gettime.c: Likewise.
10722 * rt/clock_nanosleep.c: Likewise.
10723 * rt/clock_settime.c: Likewise.
10724 * rt/lio_listio.c: Likewise.
10725 * rt/mq_close.c: Likewise.
10726 * rt/mq_getattr.c: Likewise.
10727 * rt/mq_notify.c: Likewise.
10728 * rt/mq_open.c: Likewise.
10729 * rt/mq_receive.c: Likewise.
10730 * rt/mq_send.c: Likewise.
10731 * rt/mq_setattr.c: Likewise.
10732 * rt/mq_timedreceive.c: Likewise.
10733 * rt/mq_timedsend.c: Likewise.
10734 * rt/mq_unlink.c: Likewise.
10735 * rt/shm_open.c: Likewise.
10736 * rt/shm_unlink.c: Likewise.
10737 * rt/timer_create.c: Likewise.
10738 * rt/timer_delete.c: Likewise.
10739 * rt/timer_getoverr.c: Likewise.
10740 * rt/timer_gettime.c: Likewise.
10741 * rt/timer_settime.c: Likewise.
10742 * setjmp/__longjmp.c: Likewise.
10743 * setjmp/setjmp.c: Likewise.
10744 * signal/kill.c: Likewise.
10745 * signal/killpg.c: Likewise.
10746 * signal/raise.c: Likewise.
10747 * signal/sigaction.c: Likewise.
10748 * signal/sigaltstack.c: Likewise.
10749 * signal/sigblock.c: Likewise.
10750 * signal/sigignore.c: Likewise.
10751 * signal/sigintr.c: Likewise.
10752 * signal/signal.c: Likewise.
10753 * signal/sigpause.c: Likewise.
10754 * signal/sigpending.c: Likewise.
10755 * signal/sigqueue.c: Likewise.
10756 * signal/sigreturn.c: Likewise.
10757 * signal/sigset.c: Likewise.
10758 * signal/sigsetmask.c: Likewise.
10759 * signal/sigstack.c: Likewise.
10760 * signal/sigsuspend.c: Likewise.
10761 * signal/sigtimedwait.c: Likewise.
10762 * signal/sigvec.c: Likewise.
10763 * signal/sigwait.c: Likewise.
10764 * signal/sigwaitinfo.c: Likewise.
10765 * signal/sysv_signal.c: Likewise.
10766 * socket/accept.c: Likewise.
10767 * socket/accept4.c: Likewise.
10768 * socket/bind.c: Likewise.
10769 * socket/connect.c: Likewise.
10770 * socket/getpeername.c: Likewise.
10771 * socket/getsockname.c: Likewise.
10772 * socket/getsockopt.c: Likewise.
10773 * socket/isfdtype.c: Likewise.
10774 * socket/listen.c: Likewise.
10775 * socket/recv.c: Likewise.
10776 * socket/recvfrom.c: Likewise.
10777 * socket/recvmsg.c: Likewise.
10778 * socket/send.c: Likewise.
10779 * socket/sendmsg.c: Likewise.
10780 * socket/sendto.c: Likewise.
10781 * socket/setsockopt.c: Likewise.
10782 * socket/shutdown.c: Likewise.
10783 * socket/sockatmark.c: Likewise.
10784 * socket/socket.c: Likewise.
10785 * socket/socketpair.c: Likewise.
10786 * stdio-common/ctermid.c: Likewise.
10787 * stdio-common/cuserid.c: Likewise.
10788 * stdio-common/remove.c: Likewise.
10789 * stdio-common/rename.c: Likewise.
10790 * stdio-common/renameat.c: Likewise.
10791 * stdio-common/tempname.c: Likewise.
10792 * stdlib/getcontext.c: Likewise.
10793 * stdlib/makecontext.c: Likewise.
10794 * stdlib/setcontext.c: Likewise.
10795 * stdlib/swapcontext.c: Likewise.
10796 * stdlib/system.c: Likewise.
10797 * streams/fattach.c: Likewise.
10798 * streams/fdetach.c: Likewise.
10799 * streams/getmsg.c: Likewise.
10800 * streams/getpmsg.c: Likewise.
10801 * streams/putmsg.c: Likewise.
10802 * streams/putpmsg.c: Likewise.
10803 * sysdeps/unix/bsd/getpt.c: Likewise.
10804 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10805 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10806 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10808 Likewise.
10809 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10810 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10811 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10812 * sysvipc/msgctl.c: Likewise.
10813 * sysvipc/msgget.c: Likewise.
10814 * sysvipc/msgrcv.c: Likewise.
10815 * sysvipc/msgsnd.c: Likewise.
10816 * sysvipc/semctl.c: Likewise.
10817 * sysvipc/semget.c: Likewise.
10818 * sysvipc/semop.c: Likewise.
10819 * sysvipc/semtimedop.c: Likewise.
10820 * sysvipc/shmat.c: Likewise.
10821 * sysvipc/shmctl.c: Likewise.
10822 * sysvipc/shmdt.c: Likewise.
10823 * sysvipc/shmget.c: Likewise.
10824 * termios/tcdrain.c: Likewise.
10825 * termios/tcflow.c: Likewise.
10826 * termios/tcflush.c: Likewise.
10827 * termios/tcgetattr.c: Likewise.
10828 * termios/tcgetpgrp.c: Likewise.
10829 * termios/tcsendbrk.c: Likewise.
10830 * termios/tcsetattr.c: Likewise.
10831 * termios/tcsetpgrp.c: Likewise.
10832 * time/adjtime.c: Likewise.
10833 * time/clock.c: Likewise.
10834 * time/getitimer.c: Likewise.
10835 * time/gettimeofday.c: Likewise.
10836 * time/setitimer.c: Likewise.
10837 * time/settimeofday.c: Likewise.
10838 * time/stime.c: Likewise.
10839 * time/time.c: Likewise.
10840
108412012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10842
a20492cf
PT
10843 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10844 /usr/old/bin.
10845
72e182e3
PT
10846 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10847 instead of spaces.
10848 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10849
fbeafede
JM
108502012-11-03 Joseph Myers <joseph@codesourcery.com>
10851
5b5b04d6
JM
10852 [BZ #14796]
10853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10854 FE_TONEAREST before applying Dekker multiplication and Knuth
10855 addition. Clear inexact exceptions and check for exact zero
10856 results afterwards.
10857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10858 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10860 * math/libm-test.inc (fma_test): Add more tests.
10861 (fma_test_towardzero): Likewise.
10862 (fma_test_downward): Likewise.
10863 (fma_test_upward): Likewise.
10864 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10865 function.
10866 (libc_fesetround): New macro.
10867 (libc_fesetroundf): Likewise.
10868 (libc_fesetroundl): Likewise.
10869 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10870 function.
10871 (libc_fesetround_387): Likewise.
10872 (libc_fesetroundf): New macro.
10873 (libc_fesetround): Likewise.
10874 (libc_fesetroundl): Likewise.
10875 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10876 function.
10877 (libc_fesetroundf): New macro.
10878 (libc_fesetround): Likewise.
10879 (libc_fesetroundl): Likewise.
10880 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10881 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10882 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10883 libm_hidden_ver.
10884 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10885 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10886 libm_hidden_def.
10887 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10888 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10889 libm_hidden_ver.
10890 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10891 libm_hidden_def.
10892
fbeafede
JM
10893 [BZ #3439]
10894 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10895 integer constant usable in #if and use that to give value to enum
10896 constant.
10897 (FE_DIVBYZERO): Likewise.
10898 (FE_UNDERFLOW): Likewise.
10899 (FE_OVERFLOW): Likewise.
10900 (FE_INVALID): Likewise.
10901 (FE_INVALID_SNAN): Likewise.
10902 (FE_INVALID_ISI): Likewise.
10903 (FE_INVALID_IDI): Likewise.
10904 (FE_INVALID_ZDZ): Likewise.
10905 (FE_INVALID_IMZ): Likewise.
10906 (FE_INVALID_COMPARE): Likewise.
10907 (FE_INVALID_SOFTWARE): Likewise.
10908 (FE_INVALID_SQRT): Likewise.
10909 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10910 (FE_TONEAREST): Likewise.
10911 (FE_TOWARDZERO): Likewise.
10912 (FE_UPWARD): Likewise.
10913 (FE_DOWNWARD): Likewise.
10914 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10915 (FE_DIVBYZERO): Likewise.
10916 (FE_OVERFLOW): Likewise.
10917 (FE_UNDERFLOW): Likewise.
10918 (FE_INEXACT): Likewise.
10919 (FE_TONEAREST): Likewise.
10920 (FE_DOWNWARD): Likewise.
10921 (FE_UPWARD): Likewise.
10922 (FE_TOWARDZERO): Likewise.
10923 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10924 (FE_UNDERFLOW): Likewise.
10925 (FE_OVERFLOW): Likewise.
10926 (FE_DIVBYZERO): Likewise.
10927 (FE_INVALID): Likewise.
10928 (FE_TONEAREST): Likewise.
10929 (FE_TOWARDZERO): Likewise.
10930 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10931 (FE_OVERFLOW): Likewise.
10932 (FE_UNDERFLOW): Likewise.
10933 (FE_DIVBYZERO): Likewise.
10934 (FE_INEXACT): Likewise.
10935 (FE_TONEAREST): Likewise.
10936 (FE_TOWARDZERO): Likewise.
10937 (FE_UPWARD): Likewise.
10938 (FE_DOWNWARD): Likewise.
10939 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10940 (FE_DIVBYZERO): Likewise.
10941 (FE_OVERFLOW): Likewise.
10942 (FE_UNDERFLOW): Likewise.
10943 (FE_INEXACT): Likewise.
10944 (FE_TONEAREST): Likewise.
10945 (FE_DOWNWARD): Likewise.
10946 (FE_UPWARD): Likewise.
10947 (FE_TOWARDZERO): Likewise.
10948
105ca950
CM
109492012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10950
10951 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10952
a542b389
AS
109532012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10954
10955 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10956 commands. Quote $PWD.
10957 (blacklist_exports): Don't use remove_newlines. Replace "declare
10958 -x" by "export".
10959 (remove_newlines): Remove.
10960
f62c8abc
L
109612012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10964 * stdlib/stdlib.h (atof): Moved to ...
10965 * include/bits/stdlib-float.h: Here. New file.
10966 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10967 * stdlib/bits/stdlib-float.h: New file.
10968 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10969 -mno-sse -mno-mmx.
10970 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10971 <xmmintrin.h>.
10972
0155d5b2
JM
109732012-11-02 Joseph Myers <joseph@codesourcery.com>
10974
a68d0680
JM
10975 * conform/conformtest.pl (@headers): Add fenv.h.
10976 * conform/data/fenv.h-data: New file.
10977 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10978 include of <math/fenv.h>.
10979
caf7f573
JM
10980 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10981 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10982 && !UNIX98]. Enables tests for XOPEN2K8.
10983 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10984 POSIX2008]: Likewise.
10985
6c073ad6
JM
10986 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10987 (struct rusage): Do not expect type or its members.
10988
0155d5b2
JM
10989 [BZ #3439]
10990 * math/math.h (FP_NAN): Define macro to integer constant usable in
10991 #if and use that to give value to enum constant.
10992 (FP_INFINITE): Likewise.
10993 (FP_ZERO): Likewise.
10994 (FP_SUBNORMAL): Likewise.
10995 (FP_NORMAL): Likewise.
10996
b5dcacb4
AS
109972012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10998
10999 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11000 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11001 arguments.
11002
f7934be8
RM
110032012-11-02 Roland McGrath <roland@hack.frob.com>
11004
11005 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11006 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11007 autoconf-time if not.
11008 * configure.in: Remove AC_PREREQ.
11009
d7d08bde
TMQMF
110102012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11011
11012 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11013 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11014 of the internal implementation.
11015
dcdae19a
JM
110162012-11-02 Joseph Myers <joseph@codesourcery.com>
11017
11018 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11019 except include of <misc/sys/syslog.h>.
11020
d6cffd3e
AS
110212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11022
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11024 function returns with a NULL context exit with zero.
11025
b3563932
TMQMF
110262012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11027
11028 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11029
b288a93d
L
110302012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11033 (run_program_cmd): This.
11034 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11035 (tst_langinfo): New variable. Use it.
11036
a2421a68
SAS
110372012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11038
11039 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11040 floating point opcodes.
11041
6f796e1b
TS
110422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11043
7402596b
TS
11044 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11045 variable.
11046
d0d4f868
TS
11047 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11048
6f796e1b
TS
11049 * sysdeps/mach/hurd/powerpc: Remove directory.
11050 * sysdeps/mach/powerpc: Likewise.
11051
4da224a2
AS
110522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11053
11054 * scripts/check-local-headers.sh: Ignore c++ headers.
11055
341dd673
TS
110562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11057
11058 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11059 __libc_cleanup_region_start argument.
11060
473611b2
JM
110612012-11-01 Joseph Myers <joseph@codesourcery.com>
11062
11063 [BZ #14784]
11064 [BZ #14785]
11065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11066 x * y using scaling, not as x * y + z.
11067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11069 * math/libm-test.inc (fma_test): Add more tests.
11070 (fma_test_towardzero): Likewise.
11071 (fma_test_downward): Likewise.
11072 (fma_test_upward): Likewise.
11073
4078da3d
TS
110742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11075
11076 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11077
903252aa
JM
110782012-10-31 Joseph Myers <joseph@codesourcery.com>
11079
11080 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11081 New variable.
11082
cbc818d0
TS
110832012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11084
11085 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11086
5a03cb1e
AS
110872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11088
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11090 Fix sort order.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11092 Likewise.
11093
90aff2ff
TMQMF
110942012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11095
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11097 Fix the order of the list for glibc 2.17.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11099 Likewise.
11100
1818fcb7
AS
111012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11102
11103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11104
ef82f4da
JM
111052012-10-31 Joseph Myers <joseph@codesourcery.com>
11106
16a0e2ec
JM
11107 [BZ #14610]
11108 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11109 for low part of x being zero before using __atanl (y).
11110 * math/libm-test.inc (atan2_test): Add another test.
11111
0eb69512
JM
11112 * manual/install.texi (Configuring and compiling): Document
11113 general use of test-wrapper and test-wrapper-env.
11114 * INSTALL: Regenerated.
11115
ef82f4da
JM
11116 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11117 (__fma): Do not extract and scale down low bits on after-rounding
11118 systems when result rounded to normal precision would have normal
11119 exponent.
11120 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11121 (__fmal): Do not extract and scale down low bits on after-rounding
11122 systems when result rounded to normal precision would have normal
11123 exponent.
11124 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11125 (__fmal): Do not extract and scale down low bits on after-rounding
11126 systems when result rounded to normal precision would have normal
11127 exponent.
11128 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11129 macro.
11130 (fma_test): Add more tests.
11131 (fma_test_towardzero): Likewise.
11132 (fma_test_downward): Likewise.
11133 (fma_test_upward): Likewise.
11134
954ef0d9
L
111352012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11136
11137 * sysdeps/i386/tininess.h: Renamed to ...
11138 * sysdeps/x86/tininess.h: This.
11139 * sysdeps/x86_64/tininess.h: Removed.
11140
df61ffb2
JM
111412012-10-30 Joseph Myers <joseph@codesourcery.com>
11142
11143 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11144 input. Use $(build-program-cmd).
11145 ($(objpfx)tst-array1-static.out): Likewise.
11146 ($(objpfx)tst-array2.out): Likewise.
11147 ($(objpfx)tst-array3.out): Likewise.
11148 ($(objpfx)tst-array4.out): Likewise.
11149 ($(objpfx)tst-array5.out): Likewise.
11150 ($(objpfx)tst-array5-static.out): Likewise.
11151
01767843
CM
111522012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11153
47cc1490
CM
11154 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11155 if defined.
11156
01767843
CM
11157 * nss/nsswitch.h (nss_interface_function): Provide new
11158 macro for use with NSS functions.
11159 * grp/initgroups.c: Use new macro.
11160 * nss/getXXbyYY.c: Likewise.
11161 * nss/getXXbyYY_r.c: Likewise.
11162 * nss/getXXent.c: Likewise.
11163 * nss/getXXent_r.c: Likewise.
11164 * sysdeps/posix/getaddrinfo.c: Likewise.
11165
8321aa97
AJ
111662012-10-30 Andreas Jaeger <aj@suse.de>
11167
11168 * po/ru.po: Update Russion translation from translation project.
11169
2a27fd6d
JM
111702012-10-30 Joseph Myers <joseph@codesourcery.com>
11171
8627a232
JM
11172 [BZ #14152]
11173 [BZ #14783]
11174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11175 result and shift together with sticky bit instead of replicating
11176 round-to-nearest rounding.
11177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11179 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11180 missing underflow exceptions.
11181 (fma_test_towardzero): Add more tests.
11182 (fma_test_downward): Likewise.
11183 (fma_test_upward): Likewise.
11184
2a27fd6d
JM
11185 [BZ #14047]
11186 * sysdeps/generic/tininess.h: New file.
11187 * sysdeps/i386/tininess.h: Likewise.
11188 * sysdeps/sh/tininess.h: Likewise.
11189 * sysdeps/x86_64/tininess.h: Likewise.
11190 * stdlib/tst-strtod-underflow.c: Likewise.
11191 * stdlib/tst-tininess.c: Likewise.
11192 * stdlib/strtod_l.c: Include <tininess.h>.
11193 (round_and_return): Do not set errno for exact underflow cases.
11194 Force an underflow exception when setting errno for underflow.
11195 Determine underflow based on rounding to normal precision if
11196 TININESS_AFTER_ROUNDING.
11197 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11198 ERANGE for exact underflow cases.
11199 * stdlib/Makefile (tests): Add tst-tininess and
11200 tst-strtod-underflow.
11201 ($(objpfx)tst-tininess): Use $(link-libm).
11202 ($(objpfx)tst-strtod-underflow): Likewise.
11203
e7170363
AJ
112042012-10-30 Andreas Jaeger <aj@suse.de>
11205
e5088dc6
AJ
11206 [BZ#14767]
11207 * elf/Makefile (tests): Remove conditional for have-initfini-array
11208 since this is now always required and the variable does not exist
11209 anymore.
11210 (tests-static): Likewise.
11211 (modules-names): Likewise.
11212
e7170363 11213 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11214
11215 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11216 merged with constructor/destructor.
11217 (init_array): Likewise.
11218 * elf/tst-array2dep.c (fini_array): Likewise.
11219 (init_array): Likewise.
11220
60457d8a
MF
112212012-10-29 Mike Frysinger <vapier@gentoo.org>
11222
11223 * manual/message.texi: Delete @cartouche tags.
11224
8bece752
PT
112252012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11226
94ce799f
PT
11227 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11228 EOPNOTSUPP.
11229 * sysdeps/mach/hurd/fsync.c: Likewise.
11230
8bece752
PT
11231 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11232 [_POSIX_REALTIME_SIGNALS]: Change condition to
11233 [_POSIX_REALTIME_SIGNALS > 0].
11234
86ebe6b1
AJ
112352012-10-27 Andreas Jaeger <aj@suse.de>
11236
11237 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11238 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11240 [__WORDSIZE != 64]: Likewise.
11241
54399c08
L
112422012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11243
11244 * iconvdata/tst-table.sh: Remove ${SHELL}.
11245 * iconvdata/tst-tables.sh: Likewise.
11246
e2211bed
DM
112472012-10-25 David S. Miller <davem@davemloft.net>
11248
11249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11250 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11251 of strtoull.
11252
f303f97c
DM
11253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11254 ifunc-impl-list.c
11255 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11256 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11257 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11258 file.
11259
1e9d84cd
RM
112602012-10-25 Roland McGrath <roland@hack.frob.com>
11261
11262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11263 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11264 __getdirentries.
11265
df381762
JM
112662012-10-25 Joseph Myers <joseph@codesourcery.com>
11267 Jim Blandy <jimb@codesourcery.com>
11268
11269 * scripts/cross-test-ssh.sh: New file.
11270 * manual/install.texi (Configuring and compiling): Document use of
11271 cross-test-ssh.sh.
11272 * INSTALL: Regenerated.
11273
bff64913
PT
112742012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11275
11276 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11277 EOPNOTSUPP.
11278
25fe8932
JM
112792012-10-25 Joseph Myers <joseph@codesourcery.com>
11280
11281 * Makeconfig (run-program-prefix): Fix comment.
11282
cc1290d0
JM
112832012-10-24 Joseph Myers <joseph@codesourcery.com>
11284 Jim Blandy <jimb@codesourcery.com>
11285
11286 * Makeconfig (test-wrapper): New variable,
11287 (test-wrapper-env): Likewise.
11288 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11289 (run-built-tests): Define to yes.
11290 (run-program-prefix): Use $(test-wrapper).
11291 (built-program-cmd): Likewise.
11292 * Rules (make-test-out): Use $(test-wrapper-env) and
11293 $(host-built-program-cmd).
11294 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11295 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11296 tst-pathopt.sh.
11297 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11298 $(test-wrapper-env) to tst-rtld-load-self.sh.
11299 ($(objpfx)order2.out): Use $(test-wrapper).
11300 ($(objpfx)tst-initorder.out): Likewise.
11301 ($(objpfx)tst-initorder2.out): Likewise.
11302 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11303 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11304 (test_wrapper_env): New variable. Use it to run ld.so.
11305 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11306 Use it to run ld.so.
11307 (test_wrapper_env): Likewise.
11308 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11309 $(test-wrapper) to run-iconv-test.sh.
11310 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11311 (ICONV): Use $test_wrapper.
11312 * posix/Makefile ($(objpfx)globtest.out): Pass
11313 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11314 globtest.sh, not $(run-program-prefix).
11315 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11316 (test_wrapper): Likewise.
11317 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11318 set together with run_via_rtld_prefix.
11319 (run_program_prefix): Define in terms of test_wrapper and
11320 run_via_rtld_prefix.
11321
6e6249d0
RM
113222012-10-24 Roland McGrath <roland@hack.frob.com>
11323
11324 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11325 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11326 Targets removed.
11327
11328 [BZ #14743]
11329 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11330 Declare __clock_getres, __clock_gettime, __clock_settime,
11331 __clock_nanosleep, and __clock_getcpuclockid.
11332 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11333 Remove librt_hidden_def (clock_gettime).
11334 * sysdeps/unix/clock_gettime.c: Likewise.
11335 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11336 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11337 * rt/clock_getres.c: Define __clock_getres as an alias.
11338 * sysdeps/posix/clock_getres.c: Likewise.
11339 * rt/clock_settime.c: Define __clock_settime as an alias.
11340 * sysdeps/unix/clock_settime.c: Likewise.
11341 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11342 * sysdeps/unix/clock_nanosleep.c: Likewise.
11343 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11344 * rt/clock-compat.c: New file.
11345 * rt/Makefile (librt-routines): Add clock-compat and move
11346 $(clock-routines) to ...
11347 (routines): ... here, new variable.
11348 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11349 Don't add get_clockfreq here.
11350 * rt/Versions (libc: GLIBC_2.17): New version set.
11351 Add clock_* symbols here.
11352 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11354 (GLIBC_2.17): Add clock_* symbols.
11355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11359 Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11361 Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11366 * NEWS: Mention the move.
11367
11368 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11369 Use __open, __read, __close rather than their public counterparts.
11370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11371 (__get_clockfreq_via_cpuinfo): Likewise.
11372 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11373 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11374
11375 * config.h.in (HAVE_IFUNC): New #undef.
11376 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11377 was successful.
11378 * configure: Regenerated.
11379
0cae3f4b
MF
113802012-10-24 Mike Frysinger <vapier@gentoo.org>
11381
11382 * configure.in: Move READELF check to start of file.
11383 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11384 libc_cv_asm_gnu_indirect_function in the process.
11385 * configure: Regenerated.
11386
8175a253
MF
113872012-10-24 Mike Frysinger <vapier@gentoo.org>
11388
11389 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11390 send the output to /dev/null.
11391 (libc_cv_cc_with_libunwind): Likewise.
11392 (libc_cv_as_noexecstack): Likewise.
11393 * configure: Regenerate.
11394
0708a7d1
JM
113952012-10-24 Joseph Myers <joseph@codesourcery.com>
11396
10b40d85
JM
11397 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11398
0708a7d1
JM
11399 * posix/globtest.sh (TMPDIR): Do not set.
11400 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11401 (testout): Likewise.
11402
9fddec1a
AJ
114032012-10-24 Andreas Jaeger <aj@suse.de>
11404
3a8db22f
AJ
11405 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11406 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11407 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11408 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11409 posix_fadvise64, posix_fallocate64.
11410
9fddec1a
AJ
11411 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11412 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11413 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11414 Likewise.
11415 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11416 Likewise.
11417 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11418
11419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11420 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11421 <bits/fcntl-linux.h>.
11422 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11423
11424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11425 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11426 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11427 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11428 [__WORDSIZE != 64]: Likewise.
11429
ebfd1bbd
JM
114302012-10-23 Joseph Myers <joseph@codesourcery.com>
11431
03ac099f
JM
11432 * Makeconfig (run-built-tests): New variable.
11433 * Rules [$(cross-compiling) = yes]: Change condition to
11434 [$(run-built-tests) = no].
11435 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11436 to [$(run-built-tests) = yes].
11437 * elf/Makefile [$(cross-compiling) = no]: Likewise
11438 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11439 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11440 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11441 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11442 * io/Makefile [$(cross-compiling) = no]: Likewise.
11443 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11444 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11445 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11446 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11447 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11448 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11449 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11450 * string/Makefile [$(cross-compiling) = no]: Likewise.
11451
ebfd1bbd
JM
11452 * posix/Makefile ($(objpfx)globtest.out): Pass
11453 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11454 $(rtld-installed-name).
11455 * posix/globtest.sh (elf_objpfx): Remove variable.
11456 (rtld_installed_name): Likewise.
11457 (library_path): Likewise.
11458 (run_program_prefix): New variable. Use for running globtest
11459 binary.
11460
166bca24
JB
114612012-10-23 Jim Blandy <jimb@codesourcery.com>
11462 Joseph Myers <joseph@codesourcery.com>
11463
11464 * Makeconfig (host-built-program-cmd): New variable.
11465 * elf/Makefile (tst-stackguard1-ARGS): Use
11466 $(host-built-program-cmd).
11467 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11468 (tst-spawn-ARGS): Likewise.
11469 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11470
88866099
JM
114712012-10-23 Joseph Myers <joseph@codesourcery.com>
11472 Jim Blandy <jimb@codesourcery.com>
11473
11474 * Makeconfig (run-via-rtld-prefix): New variable.
11475 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11476 (built-program-cmd): Likewise.
11477
b4b4c296
AJ
114782012-10-22 Andreas Jaeger <aj@suse.de>
11479
11480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11481 __O_RSYNC if it exists, otherwise to O_SYNC.
11482
6fb54a22
JB
114832012-10-22 Jim Blandy <jimb@codesourcery.com>
11484 Joseph Myers <joseph@codesourcery.com>
11485
11486 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11487 /dev/null.
11488 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11489 from /dev/null
11490 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11491 /dev/null.
11492
481b90b9
AJ
114932012-10-22 Andreas Jaeger <aj@suse.de>
11494
2a0e2669
AJ
11495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11496 Define always.
11497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11498
76e38f9a
AJ
11499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11500 bits/fcntl-linux.h.
11501
7cd37b43
AJ
11502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11503 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11504
481b90b9
AJ
11505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11506 to __O_LARGEFILE.
11507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11508 to __O_LARGEFILE.
11509
aba75984
JB
115102012-10-21 Jim Blandy <jimb@codesourcery.com>
11511 Joseph Myers <joseph@codesourcery.com>
11512
11513 * config.make.in (NM): New variable.
11514
88d4247f
AJ
115152012-10-21 Andreas Jaeger <aj@suse.de>
11516
11517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11518 definitions and declarations that are provided by
11519 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11520
f2eed205
L
115212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11522
11523 [BZ #14683]
11524 * elf/Makefile (tests-static): Add tst-leaks1-static.
11525 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11526 ($(objpfx)tst-leaks1-static): New rule.
11527 ($(objpfx)tst-leaks1-static-mem): Likewise.
11528 (tst-leaks1-static-ENV): New macro.
11529 * elf/dl-open.c (dl_open_worker): Check the main application
11530 only if SHARED is defined.
11531 * elf/tst-leaks1-static.c: New file.
11532
335e6931
AJ
115332012-10-20 Andreas Jaeger <aj@suse.de>
11534
11535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11536 generic values for Linux.
11537 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11538 and declarations that are provided by <bits/fcntl-linux.h> and
11539 include <bits/fcntl-linux.h>.
11540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11542
ac5c94d3
RM
115432012-10-20 Roland McGrath <roland@hack.frob.com>
11544
11545 * io/fcntl.h: Move include of <bits/types.h> to the top and
11546 include it unconditionally.
11547
de54b33a
L
115482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11549
228cfb01
L
11550 * wcsmbs/Makefile (tests-ifunc): New variable.
11551 (tests): Add $(tests-ifunc).
11552 * wcsmbs/test-wcschr-ifunc.c: New file.
11553 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11554 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11555 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11556 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11557 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11558
69f07e5f
L
11559 * string/Makefile (tests-ifunc): New variable.
11560 (tests): Add $(tests-ifunc).
11561 * string/test-memccpy.c (TEST_NAME): New macro.
11562 * string/test-memchr.c (TEST_NAME): Likewise.
11563 * string/test-memcmp.c (TEST_NAME): Likewise.
11564 * string/test-memcpy.c (TEST_NAME): Likewise.
11565 * string/test-memmem.c (TEST_NAME): Likewise.
11566 * string/test-memmove.c (TEST_NAME): Likewise.
11567 * string/test-memset.c (TEST_NAME): Likewise.
11568 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11569 * string/test-stpcpy.c (TEST_NAME): Likewise.
11570 * string/test-stpncpy.c (TEST_NAME): Likewise.
11571 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11572 * string/test-strcasestr.c (TEST_NAME): Likewise.
11573 * string/test-strcat.c (TEST_NAME): Likewise.
11574 * string/test-strchr.c (TEST_NAME): Likewise.
11575 * string/test-strcmp.c(TEST_NAME): Likewise.
11576 * string/test-strcpy.c (TEST_NAME): Likewise.
11577 * string/test-strcspn.c (TEST_NAME): Likewise.
11578 * string/test-strlen.c (TEST_NAME): Likewise.
11579 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11580 * string/test-strncmp.c (TEST_NAME): Likewise.
11581 * string/test-strncpy.c (TEST_NAME): Likewise.
11582 * string/test-strnlen.c (TEST_NAME): Likewise.
11583 * string/test-strpbrk.c (TEST_NAME): Likewise.
11584 * string/test-strrchr.c (TEST_NAME): Likewise.
11585 * string/test-strspn.c (TEST_NAME): Likewise.
11586 * string/test-strstr.c (TEST_NAME): Likewise.
11587 * string/test-bcopy-ifunc.c: New file.
11588 * string/test-bzero-ifunc.c: Likewise.
11589 * string/test-memccpy-ifunc.c: Likewise.
11590 * string/test-memchr-ifunc.c: Likewise.
11591 * string/test-memcmp-ifunc.c: Likewise.
11592 * string/test-memcpy-ifunc.c: Likewise.
11593 * string/test-memmem-ifunc.c: Likewise.
11594 * string/test-memmove-ifunc.c: Likewise.
11595 * string/test-mempcpy-ifunc.c: Likewise.
11596 * string/test-memset-ifunc.c: Likewise.
11597 * string/test-rawmemchr-ifunc.c: Likewise.
11598 * string/test-stpcpy-ifunc.c: Likewise.
11599 * string/test-stpncpy-ifunc.c: Likewise.
11600 * string/test-strcasecmp-ifunc.c: Likewise.
11601 * string/test-strcasestr-ifunc.c: Likewise.
11602 * string/test-strcat-ifunc.c: Likewise.
11603 * string/test-strchr-ifunc.c: Likewise.
11604 * string/test-strchrnul-ifunc.c: Likewise.
11605 * string/test-strcmp-ifunc.c: Likewise.
11606 * string/test-strcpy-ifunc.c: Likewise.
11607 * string/test-strcspn-ifunc.c: Likewise.
11608 * string/test-strlen-ifunc.c: Likewise.
11609 * string/test-strncasecmp-ifunc.c: Likewise.
11610 * string/test-strncat-ifunc.c: Likewise.
11611 * string/test-strncmp-ifunc.c: Likewise.
11612 * string/test-strncpy-ifunc.c: Likewise.
11613 * string/test-strnlen-ifunc.c: Likewise.
11614 * string/test-strpbrk-ifunc.c: Likewise.
11615 * string/test-strrchr-ifunc.c: Likewise.
11616 * string/test-strspn-ifunc.c: Likewise.
11617 * string/test-strstr-ifunc.c: Likewise.
11618
de54b33a
L
11619 * debug/Makefile (tests-ifunc): New variable.
11620 (tests): Add $(tests-ifunc).
11621 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11622 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11623 * debug/test-stpcpy_chk-ifunc.c: New file.
11624 * debug/test-strcpy_chk-ifunc.c: Likewise.
11625
88481c16
SP
116262012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11627
11628 [BZ #13601]
11629 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11630 header is not read in.
11631
135948bd
JM
116322012-10-19 Joseph Myers <joseph@codesourcery.com>
11633
89f1c388
JM
11634 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11635 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11636 directly. Pass built executable to script as
11637 $(built-program-cmd).
11638 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11639 $testprogram without using LD_LIBRARY_PATH and $ldso.
11640
e40a0d21
JM
11641 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11642 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11643 $(rtld-installed-name).
11644 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11645 (rtld_installed_name): Likewise.
11646 (library_path): Likewise.
11647 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11648 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11649 $(run-program-prefix) to tst-tables.sh.
11650 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11651 it to run tst-table-from and tst-table-to.
11652 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11653 Pass it to tst-table.sh.
11654 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11655 $(run-program-prefix) to tst-gettext.sh.
11656 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11657 tst-translit.sh.
11658 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11659 tst-gettext2.sh.
11660 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11661 to run tst-gettext.
11662 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11663 to run tst-gettext2.
11664 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11665 to run tst-translit.
11666 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11667 $(run-program-prefix) to tst-mtrace.sh.
11668 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11669 to run tst-mtrace.
11670 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11671 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11672 $(rtld-installed-name).
11673 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11674 (rtld_installed_name): Likewise.
11675 (run_program_prefix): New variable. Use it to run wordexp-test.
11676
728e272a
JM
11677 * Makeconfig (ARCH): Remove all definitions.
11678 (machine): Likewise.
11679 [ARCH]: Remove conditional code.
11680 [!objdir]: Give error.
11681 [!objdir] (objpfx): Remove.
11682 [!objdir] (common-objpfx): Likewise.
11683 [!objdir] (common-objdir): Likewise.
11684 * configure.in (config_makefile): Remove. Hardcode Makefile in
11685 AC_CONFIG_FILES call.
11686 * configure: Regenerated.
11687
d528cdcf
JM
11688 [BZ #13888]
11689 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11690 or TMPDIR.
11691 (testout): Likewise.
11692
135948bd
JM
11693 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11694 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11695 $(rtld-installed-name).
11696 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11697 (rtld_installed_name): Likwise.
11698 (runit): Remove function.
11699 (run_getconf): New variable, Use it for running getconf binary.
11700
38c78296
L
117012012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11702
11703 [BZ #14716]
11704 * string/test-memmem.c (check_result): New function.
11705 (do_one_test): Use it.
11706 (check1): New function.
11707 (test_main): Use it.
11708
d077f65f
MT
117092012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11710
11711 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11712
ced52c71
JM
117132012-10-18 Joseph Myers <joseph@codesourcery.com>
11714
11715 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11716 (_G_LSEEK64): Likewise.
11717 (_G_MMAP64): Likewise.
11718 (_G_FSTAT64): Likewise.
11719 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11720 (_G_LSEEK64): Likewise.
11721 (_G_MMAP64): Likewise.
11722 (_G_FSTAT64): Likewise.
11723 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11724 unconditional. Call __mmap64 directly.
11725 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11726 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11727 __lseek64 directly.
11728 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11729 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11730 __mmap64 directly.
11731 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11732 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11733 __lseek64 directly.
11734 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11735 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11736 __lseek64 directly.
11737 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11738 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11739 __lseek64 directly.
11740 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11741 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11742 __fxstat64 directly.
11743 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11744 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11745 unconditional.
11746 (freopen64) [!_G_OPEN64]: Remove conditional code.
11747 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11748 unconditional.
11749 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11750 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11751 unconditional.
11752 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11753 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11754 unconditional.
11755 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11756 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11757 unconditional.
11758 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11759 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11760 unconditional.
11761 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11762 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11763 unconditional.
11764 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11765 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11766 unconditional.
11767 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11768
b741de23
SP
117692012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11770
11771 [BZ #12140]
11772 * manual/memory.texi (Malloc Tunable Parameters): Add note
11773 about free list pointers overwriting some perturb bytes.
11774 Wording suggested by Roland McGrath.
11775
f9b9d9c9
JM
117762012-10-17 Joseph Myers <joseph@codesourcery.com>
11777
11778 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11779 (lgamma_test): Likewise.
11780 (tgamma_test): Likewise.
11781
172a631a
FW
117822012-10-16 Florian Weimer <fweimer@redhat.com>
11783
11784 [BZ #14700]
11785 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11786 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11787
e9f37252
MK
117882012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11789
11790 * NEWS: Mention BZ #14716.
11791 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11792 when removing AVAILABLE1_USES_J macro.
11793
d394eb74
L
117942012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11797 (__bswap_64): __uint64_t for unsigned 64-bit int.
11798
ca38dc17
AS
117992012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11800
11801 * include/string.h (memmem): Declare libc hidden alias.
11802 * string/memmem.c (memmem): Define libc hidden alias.
11803 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11804 __read, __close instead of open, read, close.
11805
9a387d1f
L
118062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11807
ac49ecaf
L
11808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11809 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11810 global and hidden.
11811 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11812 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11813 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11814 Likewise.
11815 (__rawmemchr_sse2): Likewise.
11816 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11817 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11818 (__strchr_sse2): Likewise.
11819 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11820 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11821 (__strcasecmp_sse2): Likewise.
11822 (__strncasecmp_sse2): Likewise.
11823 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11824 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11825 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11826 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11827 (__strrchr_sse2): Likewise.
11828 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11829 ifunc-impl-list.c.
11830 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11831 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11832 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11833 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11834 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11835 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11836 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11837 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11838 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11839 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11840 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11842 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11843 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11844 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11845 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11846 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11847 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11848 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11849 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11850 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11851 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11852 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11853 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11854 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11855 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11856 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11857 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11858 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11859 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11860
b090e8ea
L
11861 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11862 global and hidden.
11863 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11864 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11865 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11866 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11867 Likewise.
11868 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11869 Likewise.
11870 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11871 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11872 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11873 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11874 ifunc-impl-list.c.
11875 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11876 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11877 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11878 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11879 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11880 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11881 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11882 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11883 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11884 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11885 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11886 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11887 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11888 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11889 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11890 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11891 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11892 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11893 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11894 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11895 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11896 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11897 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11898 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11899 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11900 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11901 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11902 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11903 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11904 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11905 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11906 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11907 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11908 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11909 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11910 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11911 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11912 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11913 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11914 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11915 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11916
11dd4af6
L
11917 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11918 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11919 * include/ifunc-impl-list.h: New file.
11920 * misc/ifunc-impl-list.c: Likewise.
11921 * misc/Makefile (routines): Add ifunc-impl-list.
11922 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11923 * string/test-string.h: Include <ifunc-impl-list.h>.
11924 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11925 impl_array): New variables.
11926 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11927 are defined.
11928 (test_init): Call __libc_ifunc_impl_list to initialize
11929 func_list if TEST_IFUNC and TEST_NAME are defined.
11930
9a387d1f
L
11931 * string/Makefile (strop-tests): Add bcopy and bzero.
11932 * string/test-bcopy.c: New file.
11933 * string/test-bzero.c: Likewise.
11934 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11935 defined.
11936 * string/test-memset.c: Support bzero test if TEST_BZERO is
11937 defined.
11938 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11939 __libc_memmove.
11940 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11941 __libc_memset.
11942 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11943 of memset.
11944
472371b9
JM
119452012-10-10 Joseph Myers <joseph@codesourcery.com>
11946
1e4a9536
JM
11947 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11948 * configure: Regenerated.
11949
d173d12e
JM
11950 * Makeconfig (+link-static-before-libc): Don't include
11951 $(link-static-libc).
11952
472371b9
JM
11953 * libio/libio.h (_IO_pos_t): Remove.
11954
89a3ad0b
AO
119552012-10-10 Alexandre Oliva <aoliva@redhat.com>
11956
11957 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11958 McGrath.
11959
e7451425
AO
119602012-10-10 Alexandre Oliva <aoliva@redhat.com>
11961
11962 * crypt/crypt-entry.c: Include fips-private.h.
11963 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11964 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11965 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11966 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11967
4ba74a35
AO
119682012-10-10 Alexandre Oliva <aoliva@redhat.com>
11969
11970 * crypt/crypt-private.h: Include stdbool.h.
11971 (_ufc_setup_salt_r): Return bool.
11972 * crypt/crypt-entry.c: Include errno.h.
11973 (__crypt_r): Return NULL with EINVAL for bad salt.
11974 * crypt/crypt_util.c (bad_for_salt): New.
11975 (_ufc_setup_salt_r): Check that salt is long enough and within
11976 the specified alphabet.
11977 * crypt/badsalttest.c: New file.
11978 * crypt/Makefile (tests): Add it.
11979 ($(objpfx)badsalttest): New.
11980
f96f1242
MK
119812012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11982
11983 * NEWS: Add entry for BZ #14602.
11984
0e8e0c1c
JM
119852012-10-09 Joseph Myers <joseph@codesourcery.com>
11986
11987 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11988 type-generic.
11989 * math/libm-test.inc: Update comment listing what functions and
11990 macros are tested.
11991 (isgreater_test): New function.
11992 (isgreaterequal_test): Likewise.
11993 (isless_test): Likewise.
11994 (islessequal_test): Likewise.
11995 (islessgreater_test): Likewise.
11996 (isunordered_test): Likewise.
11997 (main): Call the new functions.
11998
273edc5e
RM
119992012-10-09 Roland McGrath <roland@hack.frob.com>
12000
b8493de0
RM
12001 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12002 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12003 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12004 * sysdeps/i386/configure: Regenerated.
12005 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12006 * sysdeps/mach/configure: Regenerated.
12007 * sysdeps/mach/hurd/configure: Regenerated.
12008 * sysdeps/powerpc/configure: Regenerated.
12009 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12010 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12011 * sysdeps/s390/s390-32/configure: Regenerated.
12012 * sysdeps/s390/s390-64/configure: Regenerated.
12013 * sysdeps/sh/configure: Regenerated.
12014 * sysdeps/sparc/configure: Regenerated.
12015 * sysdeps/unix/sysv/linux/configure: Regenerated.
12016 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12017 * sysdeps/x86_64/configure: Regenerated.
12018
273edc5e
RM
12019 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12020 defined. Don't check if MAP is NULL.
12021
c8450f70
JM
120222012-10-09 Joseph Myers <joseph@codesourcery.com>
12023
12024 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12025 (_G_stat64): Likewise.
12026 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12027 (_G_stat64): Likewise.
12028 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12029 instead of struct _G_stat64.
12030 * libio/fileops.c (mmap_remap_check): Likewise.
12031 (decide_maybe_mmap): Likewise.
12032 (_IO_new_file_seekoff): Likewise.
12033 (_IO_file_stat): Likewise.
12034 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12035 _G_off64_t.
12036 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12037 instead of struct _G_stat64.
12038 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12039
57e605ba
MK
120402012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12041
12042 [BZ #14602]
12043 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12044 Replace with ...
12045 (CHECK_EOL): New macro.
12046 (two_way_short_needle): Check beginning of haystack for EOL. Use
12047 CHECK_EOL.
12048 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12049 Replace with CHECK_EOL.
12050 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12051 Replace with CHECK_EOL.
12052
ef1bb361
JM
120532012-10-08 Joseph Myers <joseph@codesourcery.com>
12054
12055 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12056 type-generic.
12057 * math/libm-test.inc: Update comment listing what functions and
12058 macros are tested.
12059 (finite_test): New function.
12060 (isinf_test): Likewise.
12061 (isnan_test): Likewise.
12062 (fpclassify_test): Test subnormal input.
12063 (isfinite_test): Likewise.
12064 (isnormal_test): Likewise.
12065 (main): Call the new functions.
12066
55f11534
JN
120672012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12068
12069 [BZ #14660]
12070 * Makerules (%.dynsym): Force C locale when running
12071 $(OBJDUMP) --dynamic-syms.
12072
1ab29350
AS
120732012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12074
12075 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12076 <stdint.h>.
12077
f1ecb7ef
DM
120782012-10-06 David S. Miller <davem@davemloft.net>
12079
12080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12081 upper 32-bits of the length value in %o2 since we use branch-on-register
12082 tests which consider the entire 64-bit register.
12083
5d41d91a
L
120842012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 * string/test-strstr.c (check2): Add a test for page boundary.
12087
3baddb72
DM
120882012-10-05 David S. Miller <davem@davemloft.net>
12089
12090 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12091 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12092 file.
12093 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12094 sysdep_routines.
12095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12096 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12097 and bzero when HWCAP_SPARC_CRYPTO is present.
12098
9cee5585
L
120992012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12100
d7e0dab9
L
12101 [BZ #14602]
12102 * string/test-strstr.c (check2): New function.
12103 (test_main): Call check2.
12104
03759f47
L
12105 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12106 and bug-strchr1.
12107 * string/bug-strcasestr1.c (do_test): Moved to ...
12108 * string/test-strcasestr.c (check1): Here. New function.
12109 (do_one_test): Break out result checking code into ...
12110 (check_result): This. New function.
12111 (do_one_test): Call check_result.
12112 (test_main): Call check1.
12113 * string/bug-strchr1.c (do_test): Moved to ...
12114 * string/test-strchr.c (check1): Here. New function.
12115 (do_one_test): Break out result checking code into ...
12116 (check_result): This. New function.
12117 (do_one_test): Call check_result.
12118 (test_main): Call check1.
12119 * string/bug-strstr1.c (main): Moved to ...
046f153e 12120 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12121 (do_one_test): Break out result checking code into ...
12122 (check_result): This. New function.
12123 (do_one_test): Call check_result.
12124 (test_main): Call check1.
12125 * string/bug-strcasestr1.c: Removed.
12126 * string/bug-strchr1.c: Likewise.
12127 * string/bug-strstr1.c: Likewise.
12128
53cea63e
L
12129 * elf/Makefile (dl-routines): Add hwcaps.
12130 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12131 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12132 (_dl_important_hwcaps): Moved to ...
12133 * elf/dl-hwcaps.c: Here. New file.
12134 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12135
9cee5585 12136 [BZ #14557]
bb859b06
L
12137 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12138 if IS_IN_rtld isn't defined.
12139
9cee5585
L
12140 * elf/dl-support.c (_dl_sysinfo_map): New.
12141 Include "get-dynamic-info.h" and "setup-vdso.h".
12142 (_dl_non_dynamic_init): Call setup_vdso.
12143 * elf/dynamic-link.h: Don't include <assert.h>.
12144 (elf_get_dynamic_info): Moved to ...
12145 * elf/get-dynamic-info.h: Here. New file.
12146 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12147 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12148 * elf/setup-vdso.h: Here. New file.
12149 * elf/rtld.c: Include "setup-vdso.h".
12150 (dl_main): Call setup_vdso.
12151
23c31b76
JM
121522012-10-05 Joseph Myers <joseph@codesourcery.com>
12153
28234b07
JM
12154 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12155 creal in comment listing functions tested. List finite, isinf,
12156 isnan, isless, islessequal, isgreater, isgreaterequal,
12157 islessgreater, isunordered, lgamma_r and pow10 as functions and
12158 macros not tested. Mention which functions not tested are aliases
12159 for other functions. Fix typo. Note that signs of NaNs are not
12160 tested.
12161
23c31b76
JM
12162 * scripts/config.guess: Update from config.git.
12163 * scripts/config.sub: Likewise.
12164
9043e228
RM
121652012-10-04 Roland McGrath <roland@hack.frob.com>
12166
12167 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12168 * misc/madvise.c (madvise): Renamed to __madvise.
12169 Make madvise a weak alias.
12170 * include/sys/mman.h: Declare __madvise.
12171 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12172 * sysdeps/unix/syscalls.list
12173 (madvise): Make __madvise the strong name, and madvise a weak alias.
12174 * sysdeps/unix/sysv/linux/syscalls.list
12175 (madvise, mmap): Remove redundant entries.
12176 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12177 * malloc/malloc.c (mtrim): Likewise.
12178 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12179
f57f8055
RM
121802012-10-03 Roland McGrath <roland@hack.frob.com>
12181
12182 * sysdeps/mach/hurd/dl-cache.c: File removed.
12183 * config.h.in (USE_LDCONFIG): New #undef.
12184 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12185 * configure: Regenerated.
12186 * elf/Makefile (dl-routines): Add dl-cache only under
12187 [$(use-ldconfig) = yes].
12188 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12189 cache on [USE_LDCONFIG].
12190 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12191 [USE_LDCONFIG].
12192 * elf/rtld.c (dl_main): Likewise.
12193
5bb0c10a
PT
121942012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12195
12196 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12197 _SC_LEVEL4_CACHE_LINESIZE.
12198
010188c6
RM
121992012-10-03 Roland McGrath <roland@hack.frob.com>
12200
12201 * sysdeps/unix/bsd/confstr.h: File removed.
12202
b6c5ec07
AO
122032012-10-02 Alexandre Oliva <aoliva@redhat.com>
12204
12205 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12206 sys/sdt-config.h.
12207
408223d4
RM
122082012-10-02 Roland McGrath <roland@hack.frob.com>
12209
12210 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12211 Make 'mapoff' field ElfW(Off) rather than off_t.
12212
bb9510dc
DL
122132012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12214
fc997c6e
DL
12215 * nscd/Makefile: Remove nscd-cflags and all its users.
12216 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12217 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12218
bb9510dc
DL
12219 [BZ #10631]
12220 * malloc.c (malloc_printerr): Clarify error message.
12221
05699367
L
122222012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12223
12224 [BZ #14648]
12225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12226 Set bit_FMA_Usable if FMA is supported.
12227 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12228 macro.
12229 (bit_FMA4_Usable): Updated.
12230 (index_FMA_Usable): New macro.
12231 (CPUID_FMA): Likewise
12232 (HAS_FMA): Defined with bit_FMA_Usable.
12233
51367701
RM
122342012-10-01 Roland McGrath <roland@hack.frob.com>
12235
12236 * bits/types.h (__swblk_t): Type removed.
12237 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12238 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12240 (__SWBLK_T_TYPE): Likewise.
12241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12242 (__SWBLK_T_TYPE): Likewise.
12243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12244 (__SWBLK_T_TYPE): Likewise.
12245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12246 (__SWBLK_T_TYPE): Likewise.
12247
4d57bf63 122482012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12249 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12250
12251 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12252 (xdr_mapname): Use YPMAXMAP as maxsize.
12253 (xdr_peername): Use YPMAXPEER as maxsize.
12254 (xdr_keydat): Use YPAXRECORD as maxsize.
12255 (xdr_valdat): Use YPMAXRECORD as maxsize.
12256
93c65d43
RM
122572012-10-01 Roland McGrath <roland@hack.frob.com>
12258
497a03d6
RM
12259 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12260
93c65d43
RM
12261 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12262 * csu/init-first.c: ... here.
12263 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12264 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12265 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12267 * sysdeps/i386/init-first.c: File removed.
12268 * sysdeps/sh/init-first.c: File removed.
12269
bec749fd
JM
122702012-10-01 Joseph Myers <joseph@codesourcery.com>
12271
12272 [BZ #14645]
12273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12274 if x * y might underflow to zero and z is zero.
12275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12277 * math/libm-test.inc (min_subnorm_value): New variable.
12278 (fma_test): Add more tests.
12279 (fma_test_towardzero): Likewise.
12280 (fma_test_downward): Likewise
12281 (fma_test_upward): Likewise.
12282 (initialize): Set min_subnorm_value.
12283
8ec5b013
JM
122842012-09-29 Joseph Myers <joseph@codesourcery.com>
12285
12286 [BZ #14638]
12287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12288 0 + 0.
12289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12290 mode for addition resulting in exact zero.
12291 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12293 exact 0 + 0.
12294 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12296 * math/libm-test.inc (fma_test): Add more tests.
12297 (fma_test_towardzero): New function.
12298 (fma_test_downward): Likewise.
12299 (fma_test_upward): Likewise.
12300 (main): Call the new functions.
12301
b1fa802e
DM
123022012-09-28 David S. Miller <davem@davemloft.net>
12303
12304 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12305
d3b9fd9e
RM
123062012-09-28 Roland McGrath <roland@hack.frob.com>
12307
ea4d37b3
RM
12308 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12309 instead of SIGALRM.
12310
ac51c949
RM
12311 * sysdeps/gnu/_G_config.h: Moved to ...
12312 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12313 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12314 * sysdeps/generic/_G_config.h: ... here.
12315
28c195f7
RM
12316 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12317
848917f9
RM
12318 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12319
6bacf05b
RM
12320 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12321 Conditionalize target on [libnss_test1.so-version].
12322
91363dbb
RM
12323 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12324
cc87f7d8
RM
12325 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12326 (elfobjdir): Move out of conditionals.
12327
b1c608fe
RM
12328 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12329 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12330 (__nss_lookup_function): Conditionalize label remove_from_tree on
12331 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12332
1d9a6d96
DM
123332012-09-28 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12336 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12337 file.
12338 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12339 sysdep_routines.
12340 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12342 when HWCAP_SPARC_CRYPTO is present.
12343
72581615
PT
123442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12345
12346 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12347
715a900c
JL
123482012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12349
12350 [BZ #6530]
12351 * stdio-common/vfprintf.c (process_string_arg): Revert
12352 2000-07-22 change.
12353
123542011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12355
12356 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12357 for testcase.
12358 * stdio-common/tst-sprintf.c: Include <locale.h>
12359 (main): Test sprintf's handling of incomplete multibyte
12360 characters.
12361
9bac1d86
L
123622012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12363
12364 * elf/dl-runtime.c (VERSYMIDX): Removed.
12365 * elf/dl-version.c (VERSYMIDX): Likewise.
12366 * elf/do-rel.h (VERSYMIDX): Likewise.
12367 (VALIDX): Likewise.
12368 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12369 * elf/rtld.c (VALIDX): Likewise.
12370 (ADDRIDX): Likewise.
9bac1d86
L
12371 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12372 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12373 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12374 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12375 (VALIDX): Likewise.
12376 (ADDRIDX): Likewise.
9bac1d86 12377
b31606c0
PT
123782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12379
12380 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12381
11541177
JL
123822012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12383
12384 [BZ #11438]
12385 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12386 to global scope.
12387 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12388 addresses are in the same scope as 192.0.2/24.
12389 * posix/gai.conf: Document new scope table defaults.
12390
adb26fae
SP
123912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12392
12393 [BZ #5298]
12394 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12395 for ftell. Compute offsets from write pointers instead.
12396 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12397
4573c6b0
SP
123982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12399
12400 [BZ #14543]
12401 * libio/Makefile (tests): New test case tst-fseek.
12402 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12403 combination works in wide mode.
12404 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12405 state when the external buffer state changes.
12406
aa9bbfe6
DM
124072012-09-27 David S. Miller <davem@davemloft.net>
12408
12409 [BZ #14376]
12410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12411 pass reloc->r_addend in as the 'high' argument to
12412 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12413
784421e7
DM
12414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12415
c39bc8b8
PT
124162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12417
12418 * rt/tst-aio2.c: Include <pthread.h>.
12419 * rt/tst-aio3.c: Likewise.
12420
1ccc2399
SE
124212012-09-27 Steve Ellcey <sellcey@mips.com>
12422
12423 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12424
31ed4153
L
124252012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12426
25f5f885
L
12427 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12428 contents on [SHARED].
31ed4153 12429
b7bfe116
MP
124302012-09-26 Marek Polacek <polacek@redhat.com>
12431
12432 [BZ #14530]
12433 [BZ #13741]
12434 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12435 for C++ and GCC <4.3 as well as for non GCC compilers.
12436
43c4edba
MT
124372012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12438
12439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12440
6a1bf82f
RM
124412012-09-25 Roland McGrath <roland@hack.frob.com>
12442
12443 * Makefile.in (all, install): Declare with .PHONY.
12444 Reported by Michael Hope <michael.hope@linaro.org>.
12445
8ad11b9a
TMQMF
124462012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12447
12448 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12449 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12450 system header.
12451 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12452 Likewise.
12453 (sydep_routines): Add the new and the internal functions.
12454 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12455 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12457 (GLIBC_2.17): Add the new function.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12459 (GLIBC_2.17): Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12461 (GLIBC_2.17): Likewise.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12463 (GLIBC_2.17): Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12465
7e2fca8d
AM
124662012-09-25 Alan Modra <amodra@gmail.com>
12467
12468 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12469 Add release barrier before setting once_control to say
12470 initialisation is done. Add hints on lwarx. Use macro in
12471 place of isync.
12472 (clear_once_control): Add release barrier.
12473
b87c4b24
JM
124742012-09-25 Joseph Myers <joseph@codesourcery.com>
12475
d032e0d2
JM
12476 [BZ #13629]
12477 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12478 specially.
12479 * math/s_clog10.c (__clog10): Likewise.
12480 * math/s_clog10f.c (__clog10f): Likewise.
12481 * math/s_clog10l.c (__clog10l): Likewise.
12482 * math/s_clogf.c (__clogf): Likewise.
12483 * math/s_clogl.c (__clogl): Likewise.
12484 * math/Makefile (libm-calls): Add x2y2m1.
12485 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12486 (__x2y2m1): Likewise.
12487 (__x2y2m1l): Likewise.
12488 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12489 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12491 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12494 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12495 * sysdeps/i386/fpu/libm-test-ulps: Update.
12496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12497
b87c4b24
JM
12498 [BZ #14621]
12499 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12500 int as type of variable DEPTH.
12501 (glob): Use size_t instead of int as type of variables NEWCOUNT
12502 and OLD_PATHC.
12503
6d3bf199
LD
125042012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12505
22bf5c17
LD
12506 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12507 Add s_sincosf-sse2.
12508 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12509 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12510 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12511 macros for using routine as __sincosf_ia32.
12512 Use macro for function declaration and weak_alias.
12513 * sysdeps/i386/fpu/libm-test-ulps: Update.
12514
12515 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12517
12518 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12519 subnormal argument.
12520 * math/s_cexpf.c (__cexpf): Likewise.
12521 * math/s_csinf.c (__csinf): Likewise.
12522 * math/s_csinhf.c (__csinhf): Likewise.
12523 * math/s_ctanf.c (__ctanf): Likewise.
12524 * math/s_ctanhf.c (__ctanhf): Likewise.
12525 * math/s_ccosh.c (__ccoshf): Likewise.
12526 * math/s_cexp.c (__cexpl): Likewise.
12527 * math/s_csin.c (__csin): Likewise.
12528 * math/s_csinh.c (__csinh): Likewise.
12529 * math/s_ctan.c (__ctan): Likewise.
12530 * math/s_ctanh.c (ctanh): Likewise.
12531 * math/s_ccoshl.c (__ccoshl): Likewise.
12532 * math/s_cexpl.c (__cexpl): Likewise.
12533 * math/s_csinl.c (__csinl): Likewise.
12534 * math/s_csinhl.c (__csinhl): Likewise.
12535 * math/s_ctanl.c (__ctanl): Likewise.
12536 * math/s_ctanhl.c (__ctanhl): Likewise.
12537
203e5603
JM
125382012-09-25 Joseph Myers <joseph@codesourcery.com>
12539
12540 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12541 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12542 (_IO_off_t): Define to __off_t, not _G_off_t.
12543 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12544 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12545 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12546 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12547 type of __dummy and __dummy2 fields.
12548 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12549 (_G_ssize_t): Likewise.
12550 (_G_off_t): Likewise.
12551 (_G_pid_t): Likewise.
12552 (_G_uid_t): Likewise.
12553 (_G_wchar_t): Likewise.
12554 (_G_wint_t): Likewise.
12555 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12556 (_G_ssize_t): Likewise.
12557 (_G_off_t): Likewise.
12558 (_G_pid_t): Likewise.
12559 (_G_uid_t): Likewise.
12560 (_G_wchar_t): Likewise.
12561 (_G_wint_t): Likewise.
12562 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12563 (_G_ssize_t): Likewise.
12564 (_G_off_t): Likewise.
12565 (_G_pid_t): Likewise.
12566 (_G_uid_t): Likewise.
12567 (_G_wchar_t): Likewise.
12568 (_G_wint_t): Likewise.
12569
9fab36eb
SP
125702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12571
12572 * malloc/arena.c: Include malloc-sysdep.h.
12573 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12574 is sufficient to shrink the heap or an unmap is needed.
12575 * sysdeps/generic/malloc-sysdep.h: New file. Define
12576 new function check_may_shrink_heap.
12577 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12578 new function check_may_shrink_heap.
12579
2b4f00d1
SP
125802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12581
12582 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12583 comments.
12584
9a9028b1
DL
125852012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12586
57c69bef
DL
12587 * catgets/test-gencat.sh: Add "set -e".
12588 * elf/tst-pathopt.sh: Likewise.
12589 * grp/tst_fgetgrent.sh: Likewise.
12590 * iconvdata/run-iconv-test.sh: Likewise.
12591 * intl/tst-gettext.sh: Likewise.
12592 * intl/tst-gettext2.sh: Likewise.
12593 * intl/tst-gettext4.sh: Likewise.
12594 * intl/tst-gettext6.sh: Likewise.
12595 * intl/tst-translit.sh: Likewise.
12596 * io/ftwtest-sh: Likewise.
12597 * libio/test-freopen.sh: Likewise.
12598 * malloc/tst-mtrace.sh: Likewise.
12599 * posix/globtest.sh: Likewise.
12600 * posix/tst-getconf.sh: Likewise.
12601 * posix/wordexp-tst.sh: Likewise.
12602 * stdio-common/tst-printf.sh: Likewise.
12603 * stdio-common/tst-unbputc.sh: Likewise.
12604 * stdlib/tst-fmtmsg.sh: Likewise.
12605 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12606 * catgets/Makefile: Do not specify -e option when running
12607 testsuite shell scripts.
12608 * elf/Makefile: Likewise.
12609 * grp/Makefile: Likewise.
12610 * iconvdata/Makefile: Likewise.
12611 * intl/Makefile: Likewise.
12612 * io/Makefile: Likewise.
12613 * libio/Makefile: Likewise.
12614 * malloc/Makefile: Likewise.
12615 * posix/Makefile: Likewise.
12616 * stdio-common/Makefile: Likewise.
12617 * stdlib/Makefile: Likewise.
12618 * sysdeps/x86_64/Makefile: Likewise.
12619
9a9028b1
DL
12620 * io/ftwtest-sh: Add copyright header.
12621 * posix/globtest.sh: Likewise.
12622 * posix/tst-getconf.sh: Likewise.
12623 * posix/wordexp-tst.sh: Likewise.
12624 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12625
ced6f16e
L
126262012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12627
94b32c39
L
12628 [BZ #13679]
12629 * Makeconfig (+link): Defined as $(+link-static) if
12630 $(build-shared) isn't yes.
12631 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12632 isn't yes.
12633 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12634
189e935b
L
12635 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12636
ced6f16e
L
12637 [BZ #14562]
12638 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12639 new chunk size with MALLOC_ALIGN_MASK.
12640
a9f8e53a
JM
126412012-09-24 Joseph Myers <joseph@codesourcery.com>
12642
12643 [BZ #5044]
12644 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12645 <rounding-mode.h>.
12646 (__printf_fphex): Determine rounding using get_rounding_mode and
12647 round_away.
12648 * stdio-common/tst-printf-round.c (struct hex_test): New
12649 structure.
12650 (hex_tests): New variable.
12651 (test_hex_in_one_mode): New function.
12652 (do_test): Also run tests for hex float output.
12653
43153109
JM
126542012-09-21 Joseph Myers <joseph@codesourcery.com>
12655
12656 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12657 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12658 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12659 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12660 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12661 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12662 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12663 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12664
8a26625d
JM
126652012-09-20 Joseph Myers <joseph@codesourcery.com>
12666
12667 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12668 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12669 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12670 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12671
f3fd569c
DL
126722012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12673
12674 [BZ #14579]
12675 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12676 mode only.
12677 * elf/tst-rtld-load-self.sh: New test.
12678 * elf/Makefile: Run it.
12679
63bbedd4
JM
126802012-09-18 Joseph Myers <joseph@codesourcery.com>
12681
12682 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12683 (tst-writev-ENV): Remove.
12684 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12685
626f8b6a
CM
126862012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12687
12688 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12689
b7aaa4d6
JM
126902012-09-17 Joseph Myers <joseph@codesourcery.com>
12691
12692 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12693 unconditional.
12694 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12695 Likewise.
12696 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12697 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12698 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12699 Likewise.
12700
65513990
L
127012012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 [BZ #14587]
12704 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12705 * config.make.in (have-cpp-asm-debuginfo): Removed.
12706 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12707 * configure: Regenerated.
12708
784761be
JM
127092012-09-14 Joseph Myers <joseph@codesourcery.com>
12710
12711 [BZ #5044]
12712 * stdio-common/printf_fp.c: Include <stdbool.h> and
12713 <rounding-mode.h>.
12714 (___printf_fp): Determine rounding using get_rounding_mode and
12715 round_away.
12716 * stdio-common/tst-printf-round.c: New file.
12717 * stdio-common/Makefile (tests): Add tst-printf-round.
12718 (link-libm): New variable.
12719 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12720
9503345f
L
127212012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 [BZ #14576]
12724 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12725 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12726 Likewise.
12727 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12728 Likewise.
12729
ad35fc00
JM
127302012-09-13 Joseph Myers <joseph@codesourcery.com>
12731
12732 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12733 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12734 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12736
6c9b0f68
JM
127372012-09-12 Joseph Myers <joseph@codesourcery.com>
12738
12739 [BZ #14518]
12740 * include/rounding-mode.h: New file.
12741 * sysdeps/generic/get-rounding-mode.h: Likewise.
12742 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12743 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12744 (MAX_VALUE): New macro.
12745 (MIN_VALUE): Likewise.
12746 (overflow_value): New function.
12747 (underflow_value): Likewise.
12748 (round_and_return): Use overflow_value and underflow_value to
12749 determine return values in overflow and underflow cases. Use
12750 round_away to determine rounding depending on rounding mode.
12751 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12752 determine return values in overflow and underflow cases.
12753 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12754 (struct test_results): New structure.
12755 (struct test): Use struct test_results to store expected results
12756 for all rounding modes.
12757 (TEST): Include expected results for all rounding modes.
12758 (test_in_one_mode): New function.
12759 (do_test): Use test_in_one_mode to compute and check results.
12760 Check results for all rounding modes.
12761 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12762 $(link-libm).
12763
19fcedd5
AM
127642012-12-09 Allan McRae <allan@archlinux.org>
12765
1e9d84cd 12766 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12767
8bbfd2f1
JM
127682012-09-11 Joseph Myers <joseph@codesourcery.com>
12769
12770 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12771 (_G_int32_t): Likewise.
12772 (_G_uint16_t): Likewise.
12773 (_G_uint32_t): Likewise.
12774 (_G_HAVE_BOOL): Likewise.
12775 (_G_HAVE_ATEXIT): Likewise.
12776 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12777 (_G_HAVE_IO_FILE_OPEN): Likewise.
12778 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12779 (_G_int32_t): Likewise.
12780 (_G_uint16_t): Likewise.
12781 (_G_uint32_t): Likewise.
12782 (_G_HAVE_BOOL): Likewise.
12783 (_G_HAVE_ATEXIT): Likewise.
12784 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12785 (_G_HAVE_IO_FILE_OPEN): Likewise.
12786 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12787 (_G_int32_t): Likewise.
12788 (_G_uint16_t): Likewise.
12789 (_G_uint32_t): Likewise.
12790 (_G_HAVE_BOOL): Likewise.
12791 (_G_HAVE_ATEXIT): Likewise.
12792 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12793 (_G_HAVE_IO_FILE_OPEN): Likewise.
12794
b1dc5912
L
127952012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12796
12797 * csu/libc-tls.c: Update copyright years.
12798
0e886ef9
JM
127992012-09-10 Joseph Myers <joseph@codesourcery.com>
12800
28361c5e
JM
12801 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12802 [!_G_USING_THUNKS]: Remove conditional code.
12803 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12804 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12805
0e886ef9
JM
12806 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12807 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12808 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12809 (_G_VTABLE_LABEL_PREFIX): Likewise.
12810 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12811 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12812 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12813 (_G_VTABLE_LABEL_PREFIX): Likewise.
12814 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12815 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12816 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12817 (_G_VTABLE_LABEL_PREFIX): Likewise.
12818 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12819
bcba7aa2
L
128202012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12821
12822 * libio/Makefile: Include ../Makeconfig before tests.
12823 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12824 only if $(build-shared) is yes.
12825
06585ee8
L
12826 * iconv/gconv_db.c: Update copyright years.
12827
80ccd52c
LD
128282012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12829
12830 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12831 unwind info if defined PIC. Fix special cases description.
12832 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12833
12834 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12835 DP_HI_MASK entry.
12836 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12837
691bc9c1
L
128382012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12839
3d9b46b3
L
12840 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12841
de2139a9
L
12842 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12843 is NULL.
12844
5ca78dd0
L
12845 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12846 (LDLIBS-tst-chk4): This.
12847 (LDFLAGS-tst-chk5): Renamed to ...
12848 (LDLIBS-tst-chk5): This.
12849 (LDFLAGS-tst-chk6): Renamed to ...
12850 (LDLIBS-tst-chk6): This.
12851 (LDFLAGS-tst-lfschk4): Renamed to ...
12852 (LDLIBS-tst-lfschk4): This.
12853 (LDFLAGS-tst-lfschk5): Renamed to ...
12854 (LDLIBS-tst-lfschk5): This.
12855 (LDFLAGS-tst-lfschk6): Renamed to ...
12856 (LDLIBS-tst-lfschk6): This.
12857
691bc9c1
L
12858 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12859 on $(common-objpfx)soversions.mk.
12860
65cafb1c
JM
128612012-09-07 Joseph Myers <joseph@codesourcery.com>
12862
12863 [BZ #10014]
12864 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12865 example host name.
12866
c78ab094
SP
128672012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12868
12869 * malloc/arena.c (arena_get_retry): New function that gets
12870 another arena for the caller to try its request on.
12871 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12872 current arena cannot fulfill the request.
12873 (__libc_memalign): Likewise.
12874 (__libc_memalign): Likewise.
12875 (__libc_pvalloc): Likewise.
12876 (__libc_calloc): Likewise.
12877
01f49f59
JT
128782012-09-05 John Tobey <john.tobey@gmail.com>
12879
12880 [BZ #13542]
12881 * manual/arith.texi (Operations on Complex): Fix description
12882 of carg branch cut.
12883
4c23fed5
JM
128842012-09-06 Joseph Myers <joseph@codesourcery.com>
12885
1d3c8572
JM
12886 [BZ #10014]
12887 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12888 host name.
12889
4c23fed5
JM
12890 [BZ #10038]
12891 * manual/memory.texi (Memory): Make order of menu items match
12892 order of sections.
12893
04570aaa
L
128942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12895
12896 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12897 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12898 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12899
b80af2f4
L
129002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12901
12902 * csu/libc-tls.c (static_dtv): Renamed to ...
12903 (_dl_static_dtv): This. Make it global.
12904 (_dl_initial_dtv): Removed.
12905 (__libc_setup_tls): Updated.
12906 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12907 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12908 DL_INITIAL_DTV.
12909
2abe9f15
PM
129102012-09-06 Petr Machata <pmachata@redhat.com>
12911
12912 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12913 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12914 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12915 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12916
0948c3af
L
129172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 [BZ #14545]
12920 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12921 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12922 freeing dtv[-1].
12923
a5055ad1
L
129242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12925
12926 [BZ #14544]
12927 * Makeconfig (link-static-before-libc): Replace $(+prector)
12928 with $(+prectorT).
12929 (link-static-after-libc): Replace $(+postctor) with
12930 $(+postctorT).
12931 (link-bounded): Replace $(+prector)/$(+postctor) with
12932 $(+prectorT)/$(+postctorT).
12933 (+prectorT): New macro.
12934 (+postctorT): Likewise.
12935
ed8c2ecd
JM
129362012-09-06 Joseph Myers <joseph@codesourcery.com>
12937
12938 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12939 (round_str): Handle values above the maximum for IBM long double
12940 as inexact.
12941 * stdlib/tst-strtod-round.c (tests): Regenerated.
12942
14c996c8
AK
129432012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12944
12945 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12946 assembler flag.
12947 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12948 zarch_nohighgprs around the zarch optimized routines.
12949 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12950 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12951 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12952 for zarch.
12953
430d6ce6
DM
129542012-09-05 David S. Miller <davem@davemloft.net>
12955
12956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12957
ff04dda4
DM
12958 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12959 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12960 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12961 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12962 entries.
12963
24d4e01b
AO
129642012-09-05 Alexandre Oliva <aoliva@redhat.com>
12965
12966 * malloc/arena.c: Fold copyright years.
12967 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12968
61d58174
AO
129692012-09-05 Alexandre Oliva <aoliva@redhat.com>
12970
12971 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12972
20196a5e
AO
129732012-09-05 Alexandre Oliva <aoliva@redhat.com>
12974
12975 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12976
5c447383
AO
129772012-09-05 Alexandre Oliva <aoliva@redhat.com>
12978
12979 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12980 change internal state upon failure.
12981
fad64255
AO
129822012-09-05 Alexandre Oliva <aoliva@redhat.com>
12983
12984 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12985 * malloc/memusage.c (mmap): Likewise.
12986 (mmap64, mremap): Likewise. Adjust name in comment.
12987
1ffb8c90
SP
129882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12989
12990 * libio/fileops.c: Fix typos in comments.
12991 * libio/oldfileops.c: Likewise.
12992 * libio/wfileops.c: Likewise.
12993
6ef9cc37
SP
129942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12995
12996 [BZ #1349]
12997 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12998 (tst-malloc-usable-ENV): Set environment for test case.
12999 * malloc/hooks.c (malloc_check_get_size): New function to get
13000 requested size.
13001 * malloc/malloc.c (musable): Use malloc_check_get_size.
13002 * malloc/tst-malloc-usable.c: New test case.
13003
4d038ae3
AS
130042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13005
13006 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13007
c4e85184
AM
130082012-09-05 Allan McRae <allan@archlinux.org>
13009
b9dafc56 13010 [BZ #13966]
c4e85184
AM
13011 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13012 determine header location.
13013 * configure: Regenerated.
13014
e1343020
AS
130152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13016
13017 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13018 float format.
13019 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13020 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13021 format.
e1343020
AS
13022 (test): Regenerate.
13023
0a9f1987
DM
130242012-09-04 David S. Miller <davem@davemloft.net>
13025
13026 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13027 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13028 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13029
29237804
FW
130302012-09-04 Florian Weimer <fweimer@redhat.com>
13031
13032 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13033 failures.
13034
edb3cb88
FW
13035 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13036
60160d83
JM
130372012-09-04 Joseph Myers <joseph@codesourcery.com>
13038
13039 [BZ #9914]
13040 * libio/iogetdelim.c: Include <limits.h>.
13041 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13042 + len + 1 would overflow.
13043
bcd6c8dc
AJ
130442012-09-03 Andreas Jaeger <aj@suse.de>
13045
13046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048
4ffffbd2
LD
130492012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13050
13051 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13052 Add s_sinf-sse2, s_conf-sse2.
13053
13054 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13055 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13056 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13057 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13058
13059 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13060 for using routine as __sinf_ia32.
13061 Use macro for function declaration and weak_alias.
13062 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13063 for using routine as __cosf_ia32.
13064 Use macro for function declaration and weak_alias.
13065
13066 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13067 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13068
13069 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13070 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13072
13073 * math/libm-test.inc (cos_test): Add more test cases.
13074 (sin_test): Likewise.
13075 (sincos_test): Likewise.
13076
511fa286
AK
130772012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13078
13079 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13080 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13081 hidden.
13082 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13083
5f30cfec
L
130842012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 [BZ #14538]
13087 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13088 first element of the GOT.
13089 (elf_machine_load_address): Return the difference between
13090 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13091
0786794f
AM
130922012-09-01 Allan McRae <allan@archlinux.org>
13093
5f30cfec
L
13094 [BZ #13412]
13095 * configure.in (AWK): Require gawk version 3.0 or later.
13096 * configure: Regenerated.
0786794f 13097
26889eac
JM
130982012-09-01 Joseph Myers <joseph@codesourcery.com>
13099
13100 * sysdeps/unix/sysv/linux/kernel-features.h
13101 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13102 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13103 [__NR_clock_getres]: Make code unconditional.
13104 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13105 (clock_getcpuclockid): Remove code left unreachable by removal of
13106 conditionals.
13107 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13108 code unconditional.
13109 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13110 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13111 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13112 Make code unconditional.
13113 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13114 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13115 * sysdeps/unix/sysv/linux/clock_settime.c
13116 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13117 conditional code.
13118 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13119 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13120
d22e28b0
L
131212012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13122
13123 [BZ #14476]
13124 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13125 scripts/test-installation.pl.
13126
13127 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13128 and $ld_so_version if it is set.
13129
050af9c4
SP
131302012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13131
13132 [BZ #14516]
13133 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13134 failure if reading from procfs failed.
13135 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13136
ad845c0b
JM
131372012-08-27 Joseph Myers <joseph@codesourcery.com>
13138
13139 * sysdeps/unix/sysv/linux/kernel-features.h
13140 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13141 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13142 Remove conditional code.
13143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13144 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13145 Remove conditional code.
13146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13147 * sysdeps/unix/sysv/linux/i386/fxstat.c
13148 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13150 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13153 * sysdeps/unix/sysv/linux/i386/lxstat.c
13154 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13156 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13157 Remove conditional code.
13158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13159 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13160 Remove conditional code.
13161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13162 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13163 <kernel-features.h>.
13164 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13165 Remove.
13166 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13167 Remove conditional code.
13168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13169 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13170 Remove conditional.
13171
5dbf56af
MF
131722012-08-27 Mike Frysinger <vapier@gentoo.org>
13173
13174 [BZ #5400]
13175 * NEWS: Add fixed bug number.
13176
d6e70f43
JM
131772012-08-27 Joseph Myers <joseph@codesourcery.com>
13178
7efb4737
JM
13179 [BZ #14519]
13180 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13181 underflowing exponent in case of negative sign.
13182 * stdlib/tst-strtod-round-data: Add more tests.
13183 * stdlib/tst-strtod-round.c (tests): Regenerated.
13184
af92131a
JM
13185 [BZ #3479]
13186 * stdlib/strtod_l.c (NDIG): Remove.
13187 (HEXNDIG): Likewise.
13188 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13189 smallest representable value.
13190 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13191 lie within an exact representation of 1/2 ulp of the result.
13192 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13193 unconditionally.
13194 (TENS_P9_IDX): Define unconditionally.
13195 (TENS_P9_SIZE): Likewise.
13196 (TENS_P10_IDX): Likewise.
13197 (TENS_P10_SIZE): Likewise.
13198 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13199 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13200 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13201 entries for 10^2^13 and 10^2^14.
13202 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13203 (TENS_P13_IDX): Define.
13204 (TENS_P13_SIZE): Likewise.
13205 (TENS_P14_IDX): Likewise.
13206 (TENS_P14_SIZE): Likewise.
13207 (_fpioconst_pow10): Change array size to
13208 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13209 unconditional.
13210 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13211 1024]: Add entries for 10^2^13 and 10^2^14.
13212 [LAST_POW10 > _LAST_POW10]: Remove #error.
13213 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13214 (_fpioconst_pow10): Change array size to
13215 FPIOCONST_POW10_ARRAY_SIZE.
13216 * stdlib/gen-fpioconst.c: New file.
13217 * stdlib/gen-tst-strtod-round.c: Likewise.
13218 * stdlib/tst-strtod-round-data: Likewise.
13219 * stdlib/tst-strtod-round.c: Likewise.
13220 * stdlib/Makefile (tests): Add tst-strtod-round.
13221
d6e70f43
JM
13222 [BZ #14459]
13223 * stdlib/strtod_l.c: Include <stdint.h>.
13224 (NDEBUG): Do not define.
13225 (round_and_return): Change EXPONENT parameter to type intmax_t.
13226 Rearrange calculations to avoid internal overflow possibilities.
13227 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13228 Rearrange calculations to avoid internal overflow possibilities.
13229 Assert that number fits inside MPNSIZE limbs.
13230 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13231 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13232 calculations and add assertions to avoid internal overflow
13233 possibilities. Add casts to avoid signed/unsigned operations.
13234 * stdlib/tst-strtod-overflow.c: New file.
13235 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13236
1f529f7d
MP
132372012-08-25 Marek Polacek <polacek@redhat.com>
13238
13239 * time/time.h: Fix some typos in comments.
13240
59a629f1
RM
132412012-08-23 Roland McGrath <roland@hack.frob.com>
13242
13243 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13244 * posix/tst-rfc3484-2.c: Likewise.
13245 * posix/tst-rfc3484-3.c: Likewise.
13246
d3bafbc9
SM
132472012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13248
13249 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13250 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13251
4efcc022
JM
132522012-08-23 Joseph Myers <joseph@codesourcery.com>
13253
13254 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13255 #include of fxstatat64.c.
13256
3cc3ef96
RM
132572012-08-22 Roland McGrath <roland@hack.frob.com>
13258
f04e2132
RM
13259 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13260 * shadow/getspent_r.c: Likewise.
13261 * shadow/getspnam.c: Likewise.
13262 * shadow/getspnam_r.c: Likewise.
13263 * gshadow/getsgent.c: Likewise.
13264 * gshadow/getsgent_r.c: Likewise.
13265 * gshadow/getsgnam.c: Likewise.
13266 * gshadow/getsgnam_r.c: Likewise.
13267 * inet/getnetbyad.c: Likewise.
13268 * inet/getnetbyad_r.c: Likewise.
13269 * inet/getnetbynm.c: Likewise.
13270 * inet/getnetbynm_r.c: Likewise.
13271 * inet/getnetent.c: Likewise.
13272 * inet/getnetent_r.c: Likewise.
13273 * inet/getproto.c: Likewise.
13274 * inet/getproto_r.c: Likewise.
13275 * inet/getprtent.c: Likewise.
13276 * inet/getprtent_r.c: Likewise.
13277 * inet/getprtname.c: Likewise.
13278 * inet/getprtname_r.c: Likewise.
13279 * inet/getrpcbyname.c: Likewise.
13280 * inet/getrpcbyname_r.c: Likewise.
13281 * inet/getrpcbynumber.c: Likewise.
13282 * inet/getrpcbynumber_r.c: Likewise.
13283 * inet/getrpcent.c: Likewise.
13284 * inet/getrpcent_r.c: Likewise.
13285 * inet/getaliasent.c: Likewise.
13286 * inet/getaliasent_r.c: Likewise.
13287 * inet/getaliasname.c: Likewise.
13288 * inet/getaliasname_r.c: Likewise.
13289 * nscd/getgrgid_r.c: Likewise.
13290 * nscd/getgrnam_r.c: Likewise.
13291 * nscd/gethstbyad_r.c: Likewise.
13292 * nscd/gethstbynm3_r.c: Likewise.
13293 * nscd/getpwnam_r.c: Likewise.
13294 * nscd/getpwuid_r.c: Likewise.
13295 * nscd/getsrvbynm_r.c: Likewise.
13296 * nscd/getsrvbypt_r.c: Likewise.
13297 * nscd/gai.c: Likewise.
13298
c53d909c
RM
13299 * configure.in (build_nscd): New substituted variable, set
13300 by --disable-build-nscd and defaults to $use_nscd.
13301 * configure: Regenerated.
13302 * config.make.in (build-nscd): New substituted variable.
13303 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13304 Change conditional to require [$(build-nscd) = yes] as well.
13305 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13306
3cc3ef96
RM
13307 [BZ# 13696]
13308 * configure.in (use_nscd): New substituted variable, set by
13309 --disable-nscd. If enabled, define USE_NSCD.
13310 * configure: Regenerated.
13311 * config.h.in: Add USE_NSCD.
13312 * config.make.in (use-nscd): New substituted variable.
13313 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13314 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13315 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13316 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13317 (CFLAGS-getgrnam_r.c): Likewise.
13318 (CFLAGS-initgroups.c): Likewise.
13319 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13320 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13321 Variables removed.
13322 * inet/getnetgrent_r.c
13323 (nscd_setnetgrent): New function, broken out of ...
13324 (setnetgrent): ... here. Call it.
13325 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13326 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13327 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13328 * nscd/Makefile (routines, aux): Move definitions after include of
13329 Makeconfig. Conditionalize on [$(use-nscd) != no].
13330 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13331 Conditionalize on [USE_NSCD].
13332 (is_nscd, nscd_init_cb): Likewise.
13333 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13334 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13335 * nss/nss_db/db-init.c: Likewise.
13336 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13337 [USE_NSCD].
13338 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13339 (make_request): Use it.
13340 (cache_valid_p): New function.
13341 (__check_pf): Use it.
13342 * NEWS: Add item for --disable-nscd.
13343
07e51550
DL
133442012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13345
13346 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13347 to support sed >= 4.2.1-20-ga9bf076.
13348 * configure: Regenerated.
13349
35a5b08b
RM
133502012-08-22 Roland McGrath <roland@hack.frob.com>
13351
13352 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13353 Conditionalize whole body on [IREL].
13354
8479f23a
JL
133552012-08-22 Jeff Law <law@redhat.com>
13356
13357 [BZ #14505]
13358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13359 if the family is PF_UNSPEC.
13360
48da0b21
MF
133612012-08-22 Mike Frysinger <vapier@gentoo.org>
13362
13363 * Makerules (lib-version): Rename from V.
13364 (install-lib-nosubdir): Change V to lib-version.
13365
15d0da8c
WS
133662012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13367
13368 [BZ #14252]
13369 * powerpc32/power6/wcschr.c: New file.
13370 * powerpc32/power6/wcscpy.c: New file.
13371 * powerpc32/power6/wcsrchr.c: New file.
13372 * powerpc64/power6/wcschr.c: New file.
13373 * powerpc64/power6/wcscpy.c: New file.
13374 * powerpc64/power6/wcsrchr.c: New file.
13375
bcca0895
MK
133762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13377
13378 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13379 (two_way_short_needle): Use it.
5a4aaa33
RM
13380 * string/strstr.c (AVAILABLE1_USES_J): Define.
13381 * string/strcasestr.c: Likewise.
99677e57
MK
13382
13383 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13384 array references.
13385 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13386
400726de
MK
13387 [BZ #11607]
13388 * NEWS: Add an entry.
13389 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13390 define their defaults.
13391 (two_way_short_needle): Detect end-of-string on-the-fly.
13392 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13393 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13394 * string/bug-strcasestr1.c: New test.
13395 * string/Makefile: Run it.
13396
20a71f2c
MK
133972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13398
13399 [BZ #11607]
13400 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13401 the first character.
13402
21ad0558
RM
134032012-08-21 Roland McGrath <roland@hack.frob.com>
13404
13405 * csu/elf-init.c (__libc_csu_irel): Function removed.
13406 * csu/libc-start.c (apply_irel): New function.
13407 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13408
0e1d9911
JM
134092012-08-21 Joseph Myers <joseph@codesourcery.com>
13410
13411 * sysdeps/unix/sysv/linux/kernel-features.h
13412 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13413 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13414 <kernel-features.h>.
13415 [__NR_fadvise64_64]: Make code unconditional.
13416 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13417 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13418 !__NR_fadvise64_64)]: Likewise.
13419 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13420 !__NR_fadvise64_64))]: Likewise.
13421 [__NR_fadvise64]: Make code unconditional.
13422 [!__NR_fadvise64]: Remove conditional code.
13423 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13424 <kernel-features.h>.
13425 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13426 unconditional.
13427 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13428 conditional code.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13430 not include <kernel-features.h>.
13431 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13432 unconditional.
13433 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13434 conditional code.
13435 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13436 include <kernel-features.h>.
13437 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13438 unconditional.
13439 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13440 conditional code.
13441
14a50c9d
WS
134422012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13443
13444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13445 slight instruction rearrangements per scrollpipe analysis.
13446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13447
c0f4faf0
RM
134482012-08-20 Roland McGrath <roland@hack.frob.com>
13449
696da859
RM
13450 * manual/syslog.texi (syslog; vsyslog, closelog):
13451 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13452 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13453
c0f4faf0
RM
13454 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13455 DSOCAPS to match condition on defining it.
13456
348363b2
JM
134572012-08-20 Joseph Myers <joseph@codesourcery.com>
13458
a35cbf28
JM
13459 * sysdeps/unix/sysv/linux/kernel-features.h
13460 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13462 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13463 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13468 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13469 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13470
445f7ecd
JM
13471 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13472 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13473
348363b2
JM
13474 * sysdeps/unix/sysv/linux/kernel-features.h
13475 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13476 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13477 unconditional.
13478 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13479 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13480 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13481 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13482 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13483 Make code unconditional.
13484 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13485 (__mmap64) [!__NR_mmap2]: Likewise.
13486 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13487 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13488 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13490 [__NR_mmap2]: Make code unconditional.
13491 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13492 (__mmap64) [!__NR_mmap2]: Likewise.
13493
bc5bc0e5
AK
134942012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13495
13496 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13497
88d506de
AJ
134982012-08-18 Andreas Jaeger <aj@suse.de>
13499
13500 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13501
493387d2
MF
135022012-08-18 Mike Frysinger <vapier@gentoo.org>
13503
13504 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13505 * include/unistd.h (__have_sock_cloexec): Likewise.
13506 (__have_pipe2): Likewise.
13507 (__have_dup3): Likewise.
13508
a277af22
MF
135092012-08-18 Mike Frysinger <vapier@gentoo.org>
13510
13511 [BZ #9685]
13512 * include/unistd.h (__have_pipe2): Change define into an extern int.
13513 (__have_dup3): Likewise.
13514 * socket/have_sock_cloexec.c: Include fcntl.h.
13515 (__have_pipe2): New variable.
13516 (__have_dup3): Likewise.
13517
fdab8fd3
MF
135182012-08-17 Mike Frysinger <vapier@gentoo.org>
13519
13520 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13521
31035e80
MP
135222012-08-17 Marek Polacek <polacek@redhat.com>
13523
13524 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13525 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13526
3bd9e993
RM
135272012-08-17 Roland McGrath <roland@hack.frob.com>
13528
c91c505f
RM
13529 * configure.in: Add AC_SUBST for sysheaders.
13530 * configure: Regenerated.
13531 * config.make.in (sysheaders): New substituted variable.
13532
7c6f9d53
RM
13533 * sysdeps/unix/mkfifo.c: Moved ...
13534 * sysdeps/posix/mkfifo.c: ... here.
13535 * sysdeps/unix/mkfifoat.c: Moved ...
13536 * sysdeps/posix/mkfifoat.c: ... here.
13537
13538 * sysdeps/unix/utime.c: Moved ...
13539 * sysdeps/posix/utime.c: ... here.
13540
13541 * sysdeps/unix/time.c: Moved ...
13542 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13543 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13544 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13545
13546 * sysdeps/unix/nice.c: Moved ...
13547 * sysdeps/posix/nice.c: ... here.
13548
13549 * sysdeps/unix/alarm.c: Moved ...
13550 * sysdeps/posix/alarm.c: ... here.
13551
3bd9e993
RM
13552 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13553
d1f09384
JL
135542012-08-17 Jeff Law <law@redhat.com>
13555
13556 * intl/Makefile (codeset_mo): New variable.
13557 ($(codeset_mo)): New target.
13558 (tst-codeset.out): Depend on that. Remove explicit rule.
13559 (tst-gettext3.out, tst-gettext5.out): Likewise.
13560 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13561 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13562 * intl/tst-codeset.sh: Remove.
13563 * intl/tst-gettext3.sh: Likewise.
13564 * intl/tst-gettext5.sh: Likewise.
13565
2ae1ae5c
RM
135662012-08-17 Roland McGrath <roland@hack.frob.com>
13567
c31fdb83
RM
13568 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13569 * sysdeps/unix/syscalls.list: ... here.
13570
a0844057
RM
13571 * sysdeps/posix/getaddrinfo.c
13572 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13573 (gaiconf_init, gaiconf_reload): Use them.
13574 [!_STATBUF_ST_NSEC]
13575 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13576 Define using time_t rather than struct timespec.
13577
750c1f2a
RM
13578 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13579 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13580 Macros removed.
13581 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13582 [!NO_THREADS].
13583 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13584 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13585 Likewise.
13586
2ae1ae5c
RM
13587 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13588 __libc_cleanup_push argument.
13589
e66a42f5
RM
13590 * bits/param.h: New file.
13591 * misc/sys/param.h: New file.
13592 * include/sys/param.h: New file.
13593 * misc/Makefile (headers): Add bits/param.h.
13594 * sysdeps/generic/sys/param.h: File removed.
13595 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13596 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13597 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13598 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13599
b7c08a66
RM
13600 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13601 last change.
13602
b2e1c562
RM
13603 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13604 [_IO_MTSAFE_IO].
13605 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13606 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13607 New macros.
13608
c75ccd4c
RM
13609 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13610 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13611 rather than -D_IO_MTSAFE_IO conditionally.
13612 * stdio-common/Makefile (CPPFLAGS): Likewise.
13613 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13614 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13615 Use $(libio-mtsafe).
13616 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13617 of -D_IO_MTSAFE_IO.
13618 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13619 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13620 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13621 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13622 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13623 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13624 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13625 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13626 (CFLAGS-fread_u_chk.c): Likewise.
13627 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13628 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13629 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13630 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13631 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13632 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13633 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13634 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13635 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13636
13637 * libio/Makefile: Test [$(libc-reentrant) = yes]
13638 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13639
13640 * Makeconfig
13641 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13642 * sysdeps/pthread/configure: File removed.
13643 * sysdeps/pthread/Makeconfig: New file.
13644 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13645 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13646
d9195db8
GB
136472012-08-16 Gary Benson <gbenson@redhat.com>
13648
13649 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13650 unmapping the first object in a namespace.
13651
86466cd9
RM
136522012-08-16 Roland McGrath <roland@hack.frob.com>
13653
13654 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13655 (__internal_setnetgrent): ... this. Add internal_function to
13656 definition. Add libc_hidden_def.
13657 (setnetgrent): Update caller.
13658 (internal_endnetgrent): Renamed to ...
13659 (__internal_endnetgrent): ... this. Add internal_function to
13660 definition. Add libc_hidden_def.
13661 (endnetgrent): Update caller.
13662 (internal_getnetgrent_r): Renamed to ...
13663 (__internal_getnetgrent_r): ... this. Add internal_function to
13664 definition. Add libc_hidden_def.
13665 (__getnetgrent_r): Update caller.
13666 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13667
c3c8283c
JM
136682012-08-16 Joseph Myers <joseph@codesourcery.com>
13669
13670 * stdlib/longlong.h: Update from GCC.
13671
db1ee0a8
RM
136722012-08-16 Roland McGrath <roland@hack.frob.com>
13673
13674 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13675 on _QL, which is set by umul_ppmm but never used.
13676 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13677 variables, which are set by GMP macros but never used.
13678 * stdio-common/_itowa.c (_itowa): Likewise.
13679 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13680 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13681
30f69637
CD
136822012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13683
13684 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13685 struct La_sh_regs is not constant.
13686 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13687 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13688 and struct La_sparc64_regs are not constant.
13689
93a78ac4
JM
136902012-08-16 Joseph Myers <joseph@codesourcery.com>
13691
13692 * sysdeps/unix/sysv/linux/kernel-features.h
13693 (__ASSUME_POSIX_TIMERS): Remove.
13694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13695 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13696 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13697 Make code unconditional.
13698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13699 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13700 Make code unconditional.
13701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13702 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13703 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13705 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13706 Make code unconditional.
13707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13708 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13709 (__libc_missing_posix_timers): Remove.
13710
dd924cd7
RM
137112012-08-15 Roland McGrath <roland@hack.frob.com>
13712
4b4f2771
RM
13713 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13714 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13715
601c888b
RM
13716 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13717
176790a7
RM
13718 * elf/dl-sym.c: Include <stdlib.h>.
13719
329bc018
RM
13720 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13721 constants, which avoids warnings in 32-bit builds.
13722
e04e272d
RM
13723 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13724 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13725
952bf94a
RM
13726 * misc/lseek.c: File moved to ...
13727 * io/lseek.c: ... here.
13728
7c99b50a
RM
13729 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13730
dd924cd7
RM
13731 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13732 shifting LEN more than 31 bits at once.
13733
b3f479a8
LD
137342012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13735
13736 [BZ #14195]
8c4ae0d4
RM
13737 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13738 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13739 * string/test-strncasecmp.c (check1): Renamed to...
13740 (bz12205): ...this.
13741 (bz14195): Add new testcase for two empty input strings and N > 0.
13742 (test_main): Call new testcase, adapt for renamed function.
13743
9c55864e
AJ
137442012-08-15 Andreas Jaeger <aj@suse.de>
13745
13746 [BZ #14090]
13747 * crypt/md5test2.c: New test, based on test supplied by Serge
13748 Belyshev <belyshev@depni.sinp.msu.ru>.
13749 * crypt/Makefile (xtests): Add md5test-giant..
13750 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13751
02dcb6c5
PE
137522012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13753
13754 [BZ #14090]
13755 * crypt/md5.c (md5_process_block): Don't assume the buffer
13756 length is less than 2**32.
13757 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13758 length is less than 2**64.
13759
a3f95dcc
RM
137602012-08-15 Roland McGrath <roland@hack.frob.com>
13761
be75d758
RM
13762 * string/str-two-way.h: Include <sys/param.h>.
13763 (MAX): Macro removed.
13764
7312ca90
RM
13765 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13766 Move #define and #undef of memmove to just before and after
13767 including <string.h>.
13768
9a0a5486
RM
13769 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13770 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13771 and after including <string.h>. Move declarations of
13772 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13773 to before #include "string/memmove.c".
13774
67cc348d
RM
13775 * include/dirent.h: Declare __getdirentries.
13776
a3f95dcc
RM
13777 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13778 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13779
ca98e171
MF
137802012-08-14 Mike Frysinger <vapier@gentoo.org>
13781
13782 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13783 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13784 * sysdeps/i386/configure: Regenerated.
13785 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13786 STABS_CURRENT_FILE, and STABS_FUN.
13787 (END): Remove call to STABS_FUN_END.
13788 (STABS_CURRENT_FILE1): Delete.
13789 (STABS_CURRENT_FILE): Likewise.
13790 (STABS_FUN): Likewise.
13791 (STABS_FUN_END): Likewise.
13792 (STABS_FUN2): Likewise.
13793 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13794 * sysdeps/x86_64/configure: Regenerated.
13795
5908bf46
RM
137962012-08-14 Roland McGrath <roland@hack.frob.com>
13797
13798 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13799 * elf/dl-lookup.c: Likewise.
5908bf46 13800
f2c05b9e
JM
138012012-08-14 Joseph Myers <joseph@codesourcery.com>
13802
13803 * sysdeps/unix/sysv/linux/kernel-features.h
13804 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13805 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13806 unconditionally.
13807 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13808 unconditionally.
13809 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13810 condition on __ASSUME_CLONE_THREAD_FLAGS.
13811
e11f5155
AJ
138122012-08-14 Andreas Jaeger <aj@suse.de>
13813
13814 * sysdeps/i386/fpu/libm-test-ulps: Update.
13815
51a9ba86
MK
138162012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13817
2fdd4f78
AJ
13818 * include/atomic.h (atomic_exchange_and_add): Split into ...
13819 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13820 New atomic macros.
51a9ba86 13821
ba6cba9e
MT
138222012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13823
13824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13825
42443a47
JL
138262012-08-13 Jeff Law <law@redhat.com>
13827
13828 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13829 null byte in the output string.
13830
121dce05
JM
138312012-08-10 Joseph Myers <joseph@codesourcery.com>
13832
13833 * sysdeps/unix/sysv/linux/kernel-features.h
13834 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13835 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13836 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13837 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13838 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13839 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13840 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13841
bf51f568
JL
138422012-08-09 Jeff Law <law@redhat.com>
13843
13844 [BZ #13939]
13845 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13846 When avoid_arena is set, don't retry in the that arena. Pick the
13847 next one, whatever it might be.
13848 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13849 (arena_lock): Pass in new parameter to arena_get2.
13850 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13851 arena_get2.
13852 (__libc_malloc): Unify retrying after main arena failure with
13853 __libc_memalign version.
13854 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13855
f85fa270
L
138562012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 [BZ #14166]
13859 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13860 to __redirect_strstr.
13861 (__strstr_sse42): Use typeof __redirect_strstr.
13862 (__strstr_ia32): Likewise.
13863 (__libc_strstr): New prototype.
13864 (strstr): Renamed to ...
13865 (__libc_strstr): This.
13866 (strstr): New strong alias of __libc_strstr.
13867 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13868 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13869 __redirect_time.
13870 Include <time.h>.
13871 (__libc_time): New prototype.
13872 (time_ifunc): Replace time with __libc_time.
13873 (time): New strong alias and hidden definition of __libc_time.
13874 (__GI_time): Remove strong alias.
13875 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13876 Include <stddef.h>.
13877 (memmove): Redefined to __redirect_memmove.
13878 (__memmove_sse2): Use typeof __redirect_memmove.
13879 (__memmove_ssse3): Likewise.
13880 (__memmove_ssse3_back): Likewise.
13881 (__libc_memmove): New prototype.
13882 (memmove): Renamed to ...
13883 (__libc_memmove): This.
13884 (memmove): New strong alias of __libc_memmove.
13885
33b4a91e
MS
138862012-08-08 Mark Salter <msalter@redhat.com>
13887
13888 * elf/elf.h
13889 (R_MN10300_TLS_GD): Define.
13890 (R_MN10300_TLS_LD): Likewise.
13891 (R_MN10300_TLS_LDO): Likewise.
13892 (R_MN10300_TLS_GOTIE): Likewise.
13893 (R_MN10300_TLS_IE): Likewise.
13894 (R_MN10300_TLS_LE): Likewise.
13895 (R_MN10300_TLS_DTPMOD): Likewise.
13896 (R_MN10300_TLS_DTPOFF): Likewise.
13897 (R_MN10300_TLS_TPOFF): Likewise.
13898 (R_MN10300_SYM_DIFF): Likewise.
13899 (R_MN10300_ALIGN): Likewise.
13900 (R_MN10300_NUM): Update.
13901
b36137f1
JM
139022012-08-08 Joseph Myers <joseph@codesourcery.com>
13903
13904 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13905 Remove.
13906
cdd915fd
RM
139072012-08-08 Roland McGrath <roland@hack.frob.com>
13908
a2433aac
RM
13909 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13910
cdd915fd
RM
13911 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13912 sysdeps/unix -> sysdeps/posix move.
13913 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13914
bf9b740a
AM
139152012-08-07 Allan McRae <allan@archlinux.org>
13916
13917 [BZ #14303]
13918 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13919 (SUNOS_CPP): Likewise.
13920 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13921 not found.
13922 (open_input): Call CPP using execvp.
13923
93df14ee
JM
139242012-08-07 Joseph Myers <joseph@codesourcery.com>
13925
13926 * sysdeps/unix/sysv/linux/kernel-features.h
13927 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13928 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13929 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13930 (__ASSUME_WAITID_SYSCALL): Likewise.
13931 * sysdeps/unix/sysv/linux/dl-execstack.c
13932 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13933 code unconditional.
13934 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13935 conditional code.
13936 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13937 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13938 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13939 code.
13940 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13941 unconditional.
13942 [__ASSUME_WAITID_SYSCALL]: Likewise.
13943 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13944
d34689de
RM
139452012-08-07 Roland McGrath <roland@hack.frob.com>
13946
a281decc
RM
13947 * sysdeps/unix/closedir.c: Renamed to ...
13948 * sysdeps/posix/closedir.c: ... here.
13949 * sysdeps/unix/dirfd.c: Renamed to ...
13950 * sysdeps/posix/dirfd.c: ... here.
13951 * sysdeps/unix/dirstream.h: Renamed to ...
13952 * sysdeps/posix/dirstream.h: ... here.
13953 * sysdeps/unix/fdopendir.c: Renamed to ...
13954 * sysdeps/posix/fdopendir.c: ... here.
13955 * sysdeps/unix/opendir.c: Renamed to ...
13956 * sysdeps/posix/opendir.c: ... here.
13957 * sysdeps/unix/readdir.c: Renamed to ...
13958 * sysdeps/posix/readdir.c: ... here.
13959 * sysdeps/unix/readdir_r.c: Renamed to ...
13960 * sysdeps/posix/readdir_r.c: ... here.
13961 * sysdeps/unix/rewinddir.c: Renamed to ...
13962 * sysdeps/posix/rewinddir.c: ... here.
13963 * sysdeps/unix/seekdir.c: Renamed to ...
13964 * sysdeps/posix/seekdir.c: ... here.
13965 * sysdeps/unix/telldir.c: Renamed to ...
13966 * sysdeps/posix/telldir.c: ... here.
13967 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13968 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13969 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13970 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13971
22895b47
RM
13972 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13973 * bits/fcntl.h: ... here.
13974
707a53b6
RM
13975 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13976 not 0.
13977 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13978 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13979 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13980 (struct flock): Move l_start, l_len to the beginning.
13981 Use __pid_t for l_pid.
13982 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13983 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13984 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13985 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13986 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13987 [__USE_LARGEFILE64] (struct flock64): New type.
13988 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13989
f0bd3e25
RM
13990 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13991 * bits/dirent.h: ... here.
13992
d34689de
RM
13993 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13994 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13995
6dad2c06
JM
139962012-08-07 Joseph Myers <joseph@codesourcery.com>
13997
13998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13999 Change from 2.6.0 to 2.6.16.
14000 * sysdeps/unix/sysv/linux/configure: Regenerated.
14001 * sysdeps/unix/sysv/linux/kernel-features.h
14002 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14003 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14004 version.
14005 (__ASSUME_UTIMES): Likewise.
14006 (__ASSUME_CLONE_STOPPED): Remove.
14007 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14008 architectures, not kernel version.
14009 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14010 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14011 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14012 (__ASSUME_WAITID_SYSCALL): Likewise.
14013 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14014 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14015 * README: State 2.6.16 as minimum Linux kernel version. Do not
14016 refer to older versions.
14017
03af9520
RM
140182012-08-06 Roland McGrath <roland@hack.frob.com>
14019
8e49df1d
RM
14020 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14021 Define alphasort64 as an alias.
14022 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14023 Define versionsort64 as an alias.
14024 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14025 Define scandir64 as an alias.
14026 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14027 Define scandirat64 as an alias.
14028 * dirent/alphasort64.c (alphasort64):
14029 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14030 * dirent/versionsort64.c: Likewise.
14031 * dirent/scandir64.c: Likewise.
14032 * dirent/scandirat64.c: Likewise.
14033 * sysdeps/wordsize-64/alphasort.c: File removed.
14034 * sysdeps/wordsize-64/alphasort64.c: File removed.
14035 * sysdeps/wordsize-64/scandir.c: File removed.
14036 * sysdeps/wordsize-64/scandir64.c: File removed.
14037 * sysdeps/wordsize-64/scandirat.c: File removed.
14038 * sysdeps/wordsize-64/scandirat64.c: File removed.
14039 * sysdeps/wordsize-64/versionsort.c: File removed.
14040 * sysdeps/wordsize-64/versionsort64.c: File removed.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14042 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14044 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14049
14050 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14052 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14054 [defined __arch64__ || defined __sparcv9]
14055 (__INO_T_MATCHES_INO64_T): New macro.
14056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14057 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14058 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14059 * sysdeps/unix/sysv/linux/bits/dirent.h
14060 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14061 (_DIRENT_MATCHES_DIRENT64): New macro.
14062
03af9520
RM
14063 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14064 Define lockf64 as an alias.
14065 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14066 Define fseeko64 as an alias.
14067 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14068 Define ftello64 as an alias.
14069 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14070 Define _IO_fgetpos64 and fgetpos64 as aliases.
14071 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14072 Define _IO_fsetpos64 and fsetpos64 as aliases.
14073 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14074 Conditionalize body on this.
14075 * libio/fseeko64.c: Likewise.
14076 * libio/ftello64.c: Likewise.
14077 * libio/iofgetpos64.c: Likewise.
14078 * libio/iofsetpos64.c: Likewise.
14079 * sysdeps/wordsize-64/lockf.c: File removed.
14080 * sysdeps/wordsize-64/lockf64.c: File removed.
14081 * sysdeps/wordsize-64/fseeko.c: File removed.
14082 * sysdeps/wordsize-64/fseeko64.c: File removed.
14083 * sysdeps/wordsize-64/ftello.c: File removed.
14084 * sysdeps/wordsize-64/ftello64.c: File removed.
14085 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14086 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14087 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14088 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14089 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14090 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14091 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14092 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14093 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14094 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14096 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14098 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14099
14100 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14102 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14104 [defined __arch64__ || defined __sparcv9]
14105 (__OFF_T_MATCHES_OFF64_T): New macro.
14106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14107 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14109 (__OFF_T_MATCHES_OFF64_T): New macro.
14110
c5757acd
L
141112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14112
14113 * stdlib/secure-getenv.c (__secure_getenv): Replace
14114 GLIBC_2_16 with GLIBC_2_17.
14115
3a31811e
L
141162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14117
14118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14119 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14120
faa2bccb
DM
141212012-08-03 David S. Miller <davem@davemloft.net>
14122
14123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14124
85fe1997
JM
141252012-08-03 Joseph Myers <joseph@codesourcery.com>
14126
14127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14128 Remove.
14129 (__ASSUME_CORRECT_SI_PID): Likewise.
14130 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14131 (__ASSUME_TMPFS_NAME): Likewise.
14132 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14133 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14134 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14135 (HAVE_AUX_SECURE): Make definition unconditional.
14136 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14137 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14138
4f75b7a0
RM
141392012-08-03 Roland McGrath <roland@hack.frob.com>
14140
14141 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14142 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14143 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14145 __eloop_threshold instead of SYMLOOP_MAX.
14146
14147 * sysdeps/generic/eloop-threshold.h: New file.
14148 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14149 of MAXSYMLINKS.
14150 * elf/chroot_canon.c (chroot_canon): Likewise.
14151
7aab07e4
JM
141522012-08-03 Joseph Myers <joseph@codesourcery.com>
14153
14154 [BZ #13717]
14155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14156 Change to 2.6.0 everywhere.
14157 * sysdeps/unix/sysv/linux/configure: Regenerated.
14158 * sysdeps/unix/sysv/linux/kernel-features.h
14159 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14160 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14161 kernel versions.
14162 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14163 (__ASSUME_FUTEX_REQUEUE): Remove.
14164 (__ASSUME_STATFS64): Define unconditionally.
14165 (__ASSUME_AT_SECURE): Likewise.
14166 (__ASSUME_CORRECT_SI_PID): Likewise.
14167 (__ASSUME_TGKILL): Define without depending on kernel version for
14168 i386.
14169 (__ASSUME_UTIMES): Likewise.
14170 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14171 kernel version.
14172 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14173 (__ASSUME_TMPFS_NAME): Likewise.
14174 * README: Update reference to Linux kernel versions.
14175
b67e9372
MP
141762012-08-02 Marek Polacek <polacek@redhat.com>
14177
1f529f7d 14178 [BZ# 14150]
b67e9372
MP
14179 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14180 libc_cv_asm_type_prefix with %.
14181 * configure: Regenerated.
d2441631
RM
14182 * include/libc-symbols.h: Remove comment about
14183 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14184 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14185 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14186 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14187 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14188 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14189 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14190 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14191 * elf/tst-unique2mod1.c: Likewise.
14192 * elf/tst-unique1mod2.c: Likewise.
14193 * elf/tst-unique1mod1.c: Likewise.
14194 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14195 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14196 Replace ASM_TYPE_DIRECTIVE with .type.
14197 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14198 * sysdeps/i386/sysdep.h: Likewise.
14199 * sysdeps/x86_64/sysdep.h: Likewise.
14200 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14202 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14203 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14204 * sysdeps/powerpc/powerpc32/sysdep.h:
14205 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14206 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14207 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14208 * sysdeps/i386/fpu/e_powf.S: Likewise.
14209 * sysdeps/i386/fpu/e_expl.S: Likewise.
14210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14212 * sysdeps/i386/fpu/e_pow.S: Likewise.
14213 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14214 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14215 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14216 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14217 * sysdeps/i386/fpu/e_log2.S: Likewise.
14218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14219 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14220 * sysdeps/i386/fpu/e_powl.S: Likewise.
14221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14222 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14223 * sysdeps/i386/fpu/e_logl.S: Likewise.
14224 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14225 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14226 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14228 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14229 * sysdeps/i386/fpu/e_log.S: Likewise.
14230 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14231 * sysdeps/i386/fpu/e_logf.S: Likewise.
14232 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14233 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14234 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14235 * sysdeps/i386/fpu/e_log10.S: Likewise.
14236 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14237 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14238 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14239 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14240 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14241 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14242 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14243 * sysdeps/i386/i686/strtok.S: Likewise.
14244 * sysdeps/i386/i386-mcount.S: Likewise.
14245 * sysdeps/i386/strtok.S: Likewise.
14246 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14247 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14248 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14249 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14250 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14251 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14252 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14253 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14255 * sysdeps/x86_64/_mcount.S: Likewise.
14256 * sysdeps/x86_64/strtok.S: Likewise.
14257 * sysdeps/sh/_mcount.S: Likewise.
14258
2747bf9a
RM
142592012-08-01 Roland McGrath <roland@hack.frob.com>
14260
14261 * libio/iofopen.c: Include <fcntl.h>.
14262 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14263 (_IO_fopen64, fopen64): Define as aliases.
14264 * libio/iofopen64.c: Include <fcntl.h>.
14265 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14266 Conditionalize body on this.
14267 * sysdeps/wordsize-64/iofopen.c: File removed.
14268 * sysdeps/wordsize-64/iofopen64.c: File removed.
14269
3fb791b8
MP
142702012-08-01 Marek Polacek <polacek@redhat.com>
14271
14272 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14273 Use dlfcn directly instead of a variable.
14274 (binfmt-subdir): Do not define.
14275 (dlfcn): Likewise.
14276
a9f1039f
JM
142772012-08-01 Joseph Myers <joseph@codesourcery.com>
14278
23bddc06
JM
14279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14280 Remove all definitions.
14281 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14282 <kernel-features.h>.
14283 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14284 (miss_F_GETOWN_EX): Remove all definitions.
14285 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14286 macro definition.
14287 [!__ASSUME_FCNTL64]: Remove conditional code.
14288 [__ASSUME_FCNTL64]: Make code unconditional.
14289 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14290 <kernel-features.h>.
14291 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14292 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14293 (lockf64) [__NR_fcntl64]: Make code unconditional.
14294 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14295
a9f1039f
JM
14296 * sysdeps/unix/sysv/linux/kernel-features.h
14297 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14298 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14299 Make code unconditional.
14300 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14301 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14303 [__NR_vfork]: Make code unconditional.
14304 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14305 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14307 [__NR_vfork]: Make code unconditional.
14308 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14309 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14310
09c0ee5f
RM
143112012-08-01 Roland McGrath <roland@hack.frob.com>
14312
48aec5b9
RM
14313 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14314 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14315
cd97c966
RM
14316 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14317 Define mkstemp64 as an alias.
3f55550c
RM
14318 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14319 Define mkstemps64 as an alias.
cd97c966
RM
14320 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14321 Define mkostemp64 as an alias.
b8625cfc
RM
14322 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14323 Define mkostemps64 as an alias.
cd97c966
RM
14324 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14325 Conditionalize body on this.
14326 * misc/mkostemp64.c: Likewise.
b8625cfc 14327 * misc/mkostemps64.c: Likewise.
3f55550c 14328 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14329 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14330 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14331 * sysdeps/wordsize-64/mkostemp.c: File removed.
14332 * sysdeps/wordsize-64/mkstemp.c: File removed.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14335 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14337
09c0ee5f
RM
14338 [BZ #14138]
14339 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14340 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14341 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14342 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14343
14344 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14345 compat_symbol macros from <shlib-compat.h> rather than the underlying
14346 default_symbol_version and symbol_version macros, so that DEFAULT
14347 lines in shlib-versions are respected.
14348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14349
7e66ee51
FW
143502012-08-01 Florian Weimer <fweimer@redhat.com>
14351
14352 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14353 Declare with warn_unused_result.
14354 (setgid, setregid, setegid, setresgid): Likewise.
14355 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14356 Likewise.
14357 * WUR-REPORT: Remove set*id functions.
14358
d2a54255
PT
143592012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14360
14361 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14362
7ecdb005
RM
143632012-07-31 Roland McGrath <roland@hack.frob.com>
14364
b4180a5e 14365 [BZ #10191]
789bd351
RM
14366 * include/sys/socket.h (__libc_accept, __libc_accept4):
14367 Add attribute_hidden.
14368 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14369
40ce302d
RM
14370 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14371 use of PTR_MANGLE.
14372 * inet/getnetgrent_r.c (setup): Likewise.
14373
7ecdb005
RM
14374 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14375
e2eabb2c
DM
143762012-07-31 David S. Miller <davem@davemloft.net>
14377
14378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14379
d0419dbf
JM
143802012-07-31 Joseph Myers <joseph@codesourcery.com>
14381
14382 [BZ #13629]
14383 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14384 value between 1.0 and 2.0 and smaller part has absolute value less
14385 than 1.0.
14386 * math/s_clog10.c (__clog10): Likewise.
14387 * math/s_clog10f.c (__clog10f): Likewise.
14388 * math/s_clog10l.c (__clog10l): Likewise.
14389 * math/s_clogf.c (__clogf): Likewise.
14390 * math/s_clogl.c (__clogl): Likewise.
14391 * math/libm-test.inc (clog_test): Add more tests.
14392 (clog10_test): Likewise.
14393 * sysdeps/i386/fpu/libm-test-ulps: Update.
14394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395
2bc13872
FW
143962012-07-31 Florian Weimer <fweimer@redhat.com>
14397
14398 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14399 Exit with zero in case no suitable GID is found, and write a
14400 message to standard error.
14401
bea9b193
RM
144022012-07-30 Roland McGrath <roland@hack.frob.com>
14403
14404 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14405 rather than to 1.
14406 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14407 (MAXPATHLEN): Removed.
14408 (NOGROUP, NODEV): New macros.
14409 (setbit, clrbit, isset, isclr): New macros.
14410 (howmany, roundup, powerof2): New macros.
14411 (DEV_BSIZE): New macro.
14412
14413 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14414 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14415
14416 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14417 definition on [!__NO_LONG_DOUBLE_MATH].
14418
14419 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14420 PTR_MANGLE and PTR_DEMANGLE.
14421
14422 * socket/accept4.c (accept4): Rename to __libc_accept4.
14423 Define accept4 as a weak alias.
14424
14425 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14426 on [_DIRENT_HAVE_D_TYPE].
14427 * io/ftw.c (ftw_dir): Likewise.
14428
14429 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14430
14431 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14432
14433 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14434 Use the BSD numbers rather than the arbitrary ones we had.
14435 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14436 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14437 (SIGXCPU, SIGXFSZ): New macros.
14438 (_NSIG): Now 32.
14439
14440 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14441 initializer on [_LIBC_REENTRANT].
14442
14443 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14444 definitions inside [_POSIX_MAPPED_FILES].
14445
14446 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14447
14448 * dirent/opendir.c: Include <fcntl.h>.
14449
14450 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14451 (__libc_getspecific): Likewise.
14452 (__libc_key_create): Likewise.
14453
14454 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14455 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14456 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14457 (tmpfile64): Define as alias.
14458 * sysdeps/wordsize-64/tmpfile.c: File removed.
14459 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14461 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14462
14463 * stdio-common/vfscanf.c: Include <stdbool.h>.
14464 * nss/makedb.c: Likewise.
14465 * stdio-common/_i18n_number.h: Likewise.
14466 * argp/argp-help.c: Likewise.
14467 * posix/wordexp.c: Likewise.
14468 * sysdeps/posix/spawni.c: Likewise.
14469 * nss/nss_files/files-initgroups.c: Likewise.
14470 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14471 * nss/nss_files/files-initgroups.c: Likewise.
14472 * nss/nss_db/db-netgrp.c: Likewise.
14473 * nss/nss_db/db-initgroups.c: Likewise.
14474 * io/fchmodat.c: Include <sys/stat.h>.
14475
14476 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14477 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14478
14479 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14480 [HAVE_MMAP].
14481
14482 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14483 Add multiple inclusion protection.
14484
e5abc686
DM
144852012-07-27 David S. Miller <davem@davemloft.net>
14486
14487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14488
815e6fa3
GB
144892012-07-27 Gary Benson <gbenson@redhat.com>
14490
14491 [BZ #14298]
14492 * elf/rtld.c: Include <stap-probe.h>.
14493 (dl_main): Added static probes "init_start" and "init_complete".
14494 * elf/dl-load.c: Include <stap-probe.h>.
14495 (lose): Take new parameter "nsid".
14496 Added static probe "map_failed".
14497 (_dl_map_object_from_fd): Pass namespace id to lose.
14498 Added static probe "map_start".
14499 (open_verify): Pass namespace id to lose.
14500 * elf/dl-open.c: Include <stap-probe.h>.
14501 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14502 and "reloc_complete".
14503 * elf/dl-close.c: Include <stap-probe.h>.
14504 (_dl_close_worker): Added static probes "unmap_start" and
14505 "unmap_complete".
14506 * elf/rtld-debugger-interface.txt: New file documenting the above.
14507
9f98c16c
RM
145082012-07-26 Roland McGrath <roland@hack.frob.com>
14509
14510 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14511 rather than a string variable.
14512 * sunrpc/rpc_main.c (h_output): Likewise.
14513 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14514
f3c22df3
PT
145152012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14516
14517 * inet/check_native.c: New file.
14518
3129cfc6
JM
145192012-07-26 Joseph Myers <joseph@codesourcery.com>
14520
da865e95
JM
14521 [BZ #13629]
14522 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14523 if larger part has absolute value 1.0.
14524 * math/s_clog10.c (__clog10): Likewise.
14525 * math/s_clog10f.c (__clog10f): Likewise.
14526 * math/s_clog10l.c (__clog10l): Likewise.
14527 * math/s_clogf.c (__clogf): Likewise.
14528 * math/s_clogl.c (__clogl): Likewise.
14529 * math/libm-test.inc (clog_test): Add more tests.
14530 (clog10_test): Likewise.
14531 * sysdeps/i386/fpu/libm-test-ulps: Update.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14533
3129cfc6
JM
14534 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14535 (pltexit): Likewise.
14536 (La_regs): Likewise.
14537 (La_retval): Likewise.
14538 (int_retval): Likewise.
14539 Update #error for removed macros to refer only to definitions in
14540 tst-audit.h.
14541 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14542 macro.
14543 (pltexit): Likewise.
14544 (La_regs): Likewise.
14545 (La_retval): Likewise.
14546 (int_retval): Likewise.
14547 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14548 macro.
14549 (pltexit): Likewise.
14550 (La_regs): Likewise.
14551 (La_retval): Likewise.
14552 (int_retval): Likewise.
14553 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14554 macro.
14555 (pltexit): Likewise.
14556 (La_regs): Likewise.
14557 (La_retval): Likewise.
14558 (int_retval): Likewise.
14559 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14560 macro.
14561 (pltexit): Likewise.
14562 (La_regs): Likewise.
14563 (La_retval): Likewise.
14564 (int_retval): Likewise.
14565 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14566 macro.
14567 (pltexit): Likewise.
14568 (La_regs): Likewise.
14569 (La_retval): Likewise.
14570 (int_retval): Likewise.
14571 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14572 macro.
14573 (pltexit): Likewise.
14574 (La_regs): Likewise.
14575 (La_retval): Likewise.
14576 (int_retval): Likewise.
14577 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14578 macro definitions in tst-audit.h.
14579 * sysdeps/i386/tst-audit.h: New file.
14580 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14581 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14582 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14583 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14584 * sysdeps/sh/tst-audit.h: Likewise.
14585 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14586 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14587 * sysdeps/x86_64/tst-audit.h: Likewise.
14588
bfc07087
AJ
145892012-07-26 Andreas Jaeger <aj@suse.de>
14590
b1b2aaf8
AJ
14591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14592 ptrace.
14593
14594 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14595 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14596 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14597 PTRACE_O_MASK.
14598 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14600 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14601
bfc07087
AJ
14602 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14603 value.
14604
14605 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14606 _sigsys.
14607 (si_call_addr, si_syscall, si_arch): Define new macro.
14608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14609 _sigsys.
14610 (si_call_addr, si_syscall, si_arch): Define new marcro.
14611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14612 _sigsys.
14613 (si_call_addr, si_syscall, si_arch): Define new macro.
14614 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14615 _sigsys.
14616 (si_call_addr, si_syscall, si_arch): Define new macro.
14617
89b4b02f
JM
146182012-07-25 Joseph Myers <joseph@codesourcery.com>
14619
14620 [BZ #13717]
14621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14622 Change to 2.4.21 where previously 2.4.1.
14623 * sysdeps/unix/sysv/linux/configure: Regenerated.
14624 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14625 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14626 Linux kernel version.
14627 (__ASSUME_STD_AUXV): Remove.
14628 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14629 kernel version.
14630 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14631 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14632 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14633 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14634 (__ASSUME_NETLINK_SUPPORT): Likewise.
14635 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14636 (__no_netlink_support): Remove conditional definition.
14637 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14638 Remove.
14639 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14640 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14641 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14642 (if_nameindex_ioctl): Remove.
14643 (if_nameindex_netlink): Do not handle __no_netlink_support.
14644 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14645 code.
14646 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14647 Remove conditional code.
14648 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14649 code.
14650 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14651 unconditional.
14652 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14653 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14654 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14655 Remove.
14656 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14657 [!__ASSUME_STD_AUXV]: Remove conditional code.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14659 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14660 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14662 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14663 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14664 code.
14665 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14667 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14668 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14669 conditional code.
14670 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14672 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14673 code.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14675 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14676 conditional code.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14678 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14679 code unconditional.
14680 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14681 conditional code.
14682 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14683 unconditional.
14684 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14685 conditional code.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14687 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14688 unconditional.
14689 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14690 conditional code.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14692 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14693 code unconditional.
14694 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14695 conditional code.
14696 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14697 unconditional.
14698 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14699 conditional code.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14701 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14702 code unconditional.
14703 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14704 conditional code.
14705 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14706 unconditional.
14707 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14708 conditional code.
14709
842a39cd
AS
147102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14711
14712 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14713 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14714 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14715 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14716 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14717 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14718 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14719 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14720 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14721 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14722 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14723 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14724 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14725 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14726 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14727 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14728 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14729 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14730 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14732 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14733 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14734 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14735
84b3fd84
FW
147362012-07-25 Florian Weimer <fweimer@redhat.com>
14737
14738 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14739 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14740 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14741 Introduce __libc_secure_getenv.
0c7936d5
FW
14742 * stdlib/Versions (2.17): Add secure_getenv
14743 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14744 * stdlib/secure-getenv.c: Rename __secure_getenv to
14745 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14746 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14747 * stdlib/tst-secure-getenv.c: New.
14748 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14749 * manual/startup.texi (Environment Access): Document
14750 secure_getenv.
84b3fd84
FW
14751 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14752 __libc_secure_getenv.
14753 * inet/ruserpass.c (ruserpass): Likewise.
14754 * malloc/mtrace.c (mtrace): Likewise.
14755 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14756 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14757 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14758 * sysdeps/posix/tempname.c: Likewise. Evaluate
14759 HAVE_SECURE_GETENV.
14760 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14761 __secure_getenv to __libc_secure_getenv.
84b3fd84 14762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14764 Likewise.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14766 Likewise.
14767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14774
56e49b71
JM
147752012-07-25 Joseph Myers <joseph@codesourcery.com>
14776
14777 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14778 (struct La_i86_retval): Likewise.
14779 (struct La_x86_64_regs): Likewise.
14780 (struct La_x86_64_retval): Likewise.
14781 (struct La_x32_regs): Likewise.
14782 (struct La_x32_retval): Likewise.
14783 (struct La_ppc32_regs): Likewise.
14784 (struct La_ppc32_retval): Likewise.
14785 (struct La_ppc64_regs): Likewise.
14786 (struct La_ppc64_retval): Likewise.
14787 (struct La_sh_regs): Likewise.
14788 (struct La_sh_retval): Likewise.
14789 (struct La_s390_32_regs): Likewise.
14790 (struct La_s390_32_retval): Likewise.
14791 (struct La_s390_64_regs): Likewise.
14792 (struct La_s390_64_retval): Likewise.
14793 (struct La_sparc32_regs): Likewise.
14794 (struct La_sparc32_retval): Likewise.
14795 (struct La_sparc64_regs): Likewise.
14796 (struct La_sparc64_retval): Likewise.
14797 (struct audit_ifaces): Remove architecture-specific pltenter and
14798 pltexit members.
14799 * sysdeps/i386/ldsodefs.h: New file.
14800 * sysdeps/powerpc/ldsodefs.h: Likewise.
14801 * sysdeps/s390/ldsodefs.h: Likewise.
14802 * sysdeps/sh/ldsodefs.h: Likewise.
14803 * sysdeps/sparc/ldsodefs.h: Likewise.
14804 * sysdeps/x86_64/ldsodefs.h: Likewise.
14805
354691b7
MP
148062012-07-25 Marek Polacek <polacek@redhat.com>
14807
14808 [BZ #6808]
14809 * math/libm-test.inc (yn_test): Add another test.
14810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14811 to ERANGE when the result is +-Inf.
14812 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14813 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14814 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14815 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14816
bf9e2071
JM
148172012-07-24 Joseph Myers <joseph@codesourcery.com>
14818
14819 * conform/data/time.h-data (NULL): Use macro-constant. Require
14820 equal to 0.
14821 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14822 clock_t.
14823 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14824
57633811
TS
148252012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14826
14827 * configure.in <sysdeps resolving>: Correct printing
14828 Implies_before.
14829 * configure: Regenerate.
14830
c23c33b0
TS
148312012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14832
14833 * math/w_ilogb.c: Include <limits.h>.
14834 * math/w_ilogbl.c: Likewise.
14835
b5982523
JM
148362012-07-20 Joseph Myers <joseph@codesourcery.com>
14837
14838 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14839 va_copy. Document allowing for unavailable va_copy only as
14840 pre-C99 compatibility.
14841 * manual/string.texi (Copying and Concatenation): Use va_copy
14842 instead of __va_copy in concat example.
14843
ac4ea442
PT
148442012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14845
14846 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14847 (__sendto): Use create_address_port. Initialize APORT and deallocate
14848 it if not null.
14849
f98eafbd
PT
14850 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14851 with O_NOLINK passed to __file_name_lookup.
14852
898c7aab
PT
14853 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14854 with O_NOLINK passed to __file_name_lookup.
14855
0ced335a
PT
14856 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14857 negative N or less than NGIDS.
14858
b3404dbd
PT
14859 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14860 type to string_t. Set ERANGE as errno and return it if NAME is not big
14861 enough. Use memcpy instead of strncpy.
14862
0f48659e
JM
148632012-07-20 Joseph Myers <joseph@codesourcery.com>
14864
14865 * elf/Makefile (check-data): Remove.
14866 (localplt.data): New vpath directive.
14867 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14868 instead of $(check-data).
14869 * scripts/data/localplt-generic.data: Move to ...
14870 * sysdeps/generic/localplt.data: ... here.
14871 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14872 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14873 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14875 ... here.
14876 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14878 ... here.
14879 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14881 ... here.
14882 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14884 ... here.
14885 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14887 ... here.
14888 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14890 ... here.
14891
d37cbdaa
AZ
148922012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893
14894 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14895 PPC32 and PPC64 files.
14896 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14897 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14898
46f85fc2
AK
148992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14900
14901 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14902 __makecontext_ret to ...
14903 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14904 ... here and call exit if uc_link is NULL. New file.
14905 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14906 __makecontext_ret.S.
14907 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14908 __makecontext_ret to ...
14909 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14910 ... here and call exit if uc_link is NULL. New file.
14911 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14912 __makecontext_ret.S.
14913
08f43f9b
AK
149142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14915
14916 * elf/elf.h (R_390_IRELATIVE): New definition.
14917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14918 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14919 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14921 (elf_machine_lazy_rel): Likewise.
14922 * sysdeps/s390/dl-irel.h: New file.
14923 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14924 * sysdeps/s390/s390-64/memset.S: New asm code.
14925 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14926 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14927 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14928 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14929 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14930 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14932 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14933 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14934 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14935 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14936 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14937 * sysdeps/s390/s390-32/memset.S: New asm code.
14938 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14939
3b05db33
MP
149402012-07-17 Marek Polacek <polacek@redhat.com>
14941
14942 [BZ #14349]
14943 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14944 * sysdeps/s390/s390-64/configure.in: Likewise.
14945 * sysdeps/sparc/configure.in: Likewise.
14946 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14947 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14948 * sysdeps/i386/configure.in: Likewise.
14949 * sysdeps/x86_64/configure.in: Likewise.
14950 * sysdeps/sh/configure.in: Likewise.
14951 * sysdeps/s390/s390-32/configure: Regenerated.
14952 * sysdeps/s390/s390-64/configure: Likewise.
14953 * sysdeps/x86_64/configure: Likewise.
14954 * sysdeps/sh/configure: Likewise.
14955 * sysdeps/powerpc/powerpc64/configure: Likewise.
14956 * sysdeps/powerpc/powerpc32/configure: Likewise.
14957 * sysdeps/sparc/configure: Likwise.
14958 * sysdeps/i386/configure: Likewise.
14959
a66877c6
MP
14960 * elf/dl-open.c: Comment fixes.
14961
cfc82fd8
JM
149622012-07-17 Joseph Myers <joseph@codesourcery.com>
14963
bd29910a
JM
14964 * Makefile [CXX] (check-data): Remove.
14965 [CXX] (c++-types.data): New vpath directive.
14966 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14967 vpath. Do not allow for C++ type data being missing.
14968 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14969 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14970 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14971 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14972 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14973 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14974 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14976 ... here.
14977 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14979 ... here.
14980 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14982 ... here.
14983 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14985 ... here.
14986 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14988 ... here.
14989 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14991 ... here.
14992 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14994 ... here.
14995 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14997
cfc82fd8
JM
14998 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14999 definitions to architecture-specific files.
15000 (TLS_IE): Likewise.
15001 (TLS_LD): Likewise.
15002 (TLS_GD): Likewise.
15003 * sysdeps/i386/tls-macros.h: New file.
15004 * sysdeps/powerpc/tls-macros.h: Likewise.
15005 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15006 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15007 * sysdeps/sh/tls-macros.h: Likewise.
15008 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15009 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15010 * sysdeps/x86_64/tls-macros.h: Likewise.
15011
f7db3170
TS
150122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15013
07cbfc23
TS
15014 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15015 zero value for regular exit case.
15016
f7db3170
TS
15017 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15018 (__start_context): Preserve zero value for regular exit case.
15019
dc97c227
TS
150202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15021 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15022
15023 * manual/setjmp.texi (setcontext): Clarify normal process
15024 termination when uc_link is the null pointer.
15025 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15026 exit call.
15027
d0cd7d02
AS
150282012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15029
15030 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15031 preprocessor. Test for each exception mask separately.
15032
dd318934
AJ
150332012-07-16 Andreas Jaeger <aj@suse.de>
15034
15035 * po/ru.po: Update from translation team.
15036
8048311a
JM
150372012-07-15 Joseph Myers <joseph@codesourcery.com>
15038
15039 * conform/data/string.h-data (NULL): Use macro-constant. Require
15040 equal to 0.
15041 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15042 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15043 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15044 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15046
b637d46e
AJ
150472012-07-13 Andreas Jaeger <aj@suse.de>
15048
15049 * po/fr.po: Update from translation team.
15050
541428fe
MP
150512012-07-12 Marek Polacek <polacek@redhat.com>
15052
15053 [BZ #14173]
15054 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15055 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15056 loop condition.
15057
ec332e94
JM
150582012-07-12 Joseph Myers <joseph@codesourcery.com>
15059
15060 [BZ #13717]
15061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15062 Change to 2.4.1 where previously 2.4.0.
15063 * sysdeps/unix/sysv/linux/configure: Regenerated.
15064 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15065 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15066 version.
15067 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15068 (__ASSUME_AT_CLKTCK): Remove.
15069 (__ASSUME_AT_PAGESIZE): Likewise.
15070 (__ASSUME_AT_XID): Likewise.
15071 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15072 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15073 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15074 unconditionally.
15075 (HAVE_AUX_PAGESIZE): Likewise.
15076 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15077 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15078 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15079
7b6e99be
JB
150802012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15081
15082 [BZ #14307]
15083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15084 the temporary buffer used to invoke __gethostbyname2_r,
15085 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15086 host_data / struct gaih_addrtuple.
15087 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15088 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15089 header file nss/nsswitch.h.
15090 * nss/nsswitch.h (global scope): Add definition of implementation
15091 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15092 resolv/nss_dns/dns-host.c).
15093
608404eb
AJ
150942012-07-11 Andreas Jaeger <aj@suse.de>
15095
15096 * po/fr.po: Update from translation team.
15097
71220aca
AJ
15098 * po/sv.po: Update from translation team
15099 * po/fr.po: Another update from translation team.
15100
28cfe843
AZ
151012012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15102
15103 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15104 for subnormals or multiply small sinh result by itself.
15105 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15107
6b90f981
DM
151082012-07-11 David S. Miller <davem@davemloft.net>
15109
15110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15111
c6825772
AS
151122012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 [BZ #14347]
15115 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15116 (INTERNAL_MARK): Shift it here.
15117
7b8e0d49
MP
151182012-07-10 Marek Polacek <polacek@redhat.com>
15119
15120 [BZ #14151]
15121 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15122 libc_cv_asm_global_directive with .globl.
15123 * configure: Regenerated.
15124 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15125 with .globl.
15126 * sysdeps/i386/configure: Regenerated.
15127 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15128 with .globl.
15129 * sysdeps/x86_64/configure: Regenerated.
15130 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15131 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15132 * elf/tst-unique2mod2.c: Likewise.
15133 * elf/tst-unique2mod1.c: Likewise.
15134 * elf/tst-unique1mod2.c: Likewise.
15135 * elf/tst-unique1mod1.c: Likewise.
15136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15137 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15139 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15140 * sysdeps/mach/sysdep.h: Likewise.
15141 * sysdeps/i386/sysdep.h: Likewise.
15142 * sysdeps/i386/i386-mcount.S: Likewise.
15143 * sysdeps/x86_64/_mcount.S: Likewise.
15144 * sysdeps/x86_64/sysdep.h: Likewise.
15145 * sysdeps/sh/_mcount.S: Likewise.
15146 * sysdeps/sh/sysdep.h: Likewise.
15147 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15148 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15149 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15150 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15151 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15152 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15153 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15154 * locale/localeinfo.h: Likewise.
15155 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15156 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15157
6c55cda3
RM
151582012-07-09 Roland McGrath <roland@hack.frob.com>
15159
15160 [BZ #14336]
15161 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15162 system".
15163 * manual/message.texi (The Uniforum approach): Likewise.
15164 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15165 (glibc iconv Implementation): Likewise.
15166
638a572e
JM
151672012-07-09 Joseph Myers <joseph@codesourcery.com>
15168
15169 [BZ #14337]
15170 * math/s_clog.c (__clog): Avoid scaling a value down where that
15171 could result in underflow.
15172 * math/s_clog10.c (__clog10): Likewise.
15173 * math/s_clog10f.c (__clog10f): Likewise.
15174 * math/s_clog10l.c (__clog10l): Likewise.
15175 * math/s_clogf.c (__clogf): Likewise.
15176 * math/s_clogl.c (__clogl): Likewise.
15177 * math/libm-test.inc (clog_test): Add more tests.
15178 (clog10_test): Likewise.
15179 * sysdeps/i386/fpu/libm-test-ulps: Update.
15180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15181
261f4859
AS
151822012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15183
0abaf3e4
AS
15184 [BZ #14283]
15185 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15186 by 7 not 8 to examine high bit of fractional part.
15187
261f4859
AS
15188 [BZ #14042]
15189 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15190 for call to __mcount_internal.
15191 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15192 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15193 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15194
f17ac40d
JM
151952012-07-06 Joseph Myers <joseph@codesourcery.com>
15196
9ad63c23
JM
15197 [BZ #14154]
15198 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15199 approximation for values within 0x1p-13f of an odd multiple of
15200 pi/4.
15201 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15202 exception. Add more tests.
15203 * sysdeps/i386/fpu/libm-test-ulps: Update.
15204
f17ac40d
JM
15205 [BZ #6778]
15206 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15207 inputs and return -1 for them. Do not check for +Inf in case not
15208 reachable for +Inf.
15209 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15210 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15211 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15212 and return -1 for them. Do not check for +Inf in case not
15213 reachable for +Inf.
15214 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15215 define.
15216 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15217 and return -1 for them. Do not check for +Inf in case not
15218 reachable for +Inf.
15219 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15220 spurious underflow.
15221 * sysdeps/i386/fpu/libm-test-ulps: Update.
15222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15223
fb21f89b
MF
152242012-07-06 Mike Frysinger <vapier@gentoo.org>
15225
15226 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15227
cdfe2c5e
JM
152282012-07-05 Joseph Myers <joseph@codesourcery.com>
15229
15230 [BZ #14157]
15231 [BZ #14331]
15232 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15233 could result in spurious underflow. Scale down values above
15234 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15235 * math/s_csqrtf.c (__csqrtf): Likewise.
15236 * math/s_csqrtl.c (__csqrtl): Likewise.
15237 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15238 spurious underflow.
15239 * sysdeps/i386/fpu/libm-test-ulps: Update.
15240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15241
70d35b67
AS
152422012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15243
704bc459
AS
15244 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15245 xopen-msg.sed.
15246 * catgets/xopen-msg.awk: New file.
15247 * catgets/xopen-msg.sed: Removed.
15248
70d35b67
AS
15249 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15250 po2text.sed.
15251 * intl/po2test.awk: New file.
15252 * intl/po2test.sed: Removed.
15253
ca61cf32
JM
152542012-07-04 Joseph Myers <joseph@codesourcery.com>
15255
15256 [BZ #14328]
15257 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15258 or multiply small sinh result by itself.
15259 * math/s_ctanf.c (__ctanf): Likewise.
15260 * math/s_ctanh.c (__ctanh): Likewise.
15261 * math/s_ctanhf.c (__ctanhf): Likewise.
15262 * math/s_ctanhl.c (__ctanhl): Likewise.
15263 * math/s_ctanl.c (__ctanl): Likewise.
15264 * math/libm-test.inc (ctan_test_tonearest): New function.
15265 (ctan_test_towardzero): Likewise.
15266 (ctan_test_downward): Likewise.
15267 (ctan_test_upward): Likewise.
15268 (ctanh_test_tonearest): Likewise.
15269 (ctanh_test_towardzero): Likewise.
15270 (ctanh_test_downward): Likewise.
15271 (ctanh_test_upward): Likewise.
15272 (main): Call these new functions.
15273 * sysdeps/i386/fpu/libm-test-ulps: Update.
15274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15275
ca48a46a
MF
152762012-07-03 Mike Frysinger <vapier@gentoo.org>
15277
15278 * .gitignore: Delete /ports entry.
15279
9d63d37d
AJ
152802012-07-03 Andreas Jaeger <aj@suse.de>
15281
15282 * po/bg.po: Update from translation team.
15283 * po/cs.po: Likewise.
15284 * po/de.po: Likewise.
15285 * po/hr.po: Likewise.
15286 * po/nl.pl: Likewise.
15287 * po/pl.po: Likewise.
15288 * po/vi.po: Likewise.
15289
370ca3d2
JM
152902012-07-03 Joseph Myers <joseph@codesourcery.com>
15291
95f5a9a8
JM
15292 * Makeconfig [!+link] (+link-before-libc): New variable.
15293 [!+link] (+link-after-libc): Likewise.
15294 [!+link] (+link-tests): Likewise.
15295 [!+link] (+link): Define in terms of $(+link-before-libc) and
15296 $(+link-after-libc).
15297 [!+link-static] (+link-static-before-libc): New variable.
15298 [!+link-static] (+link-static-after-libc): Likewise.
15299 [!+link-static] (+link-static-tests): Likewise.
15300 [!+link-static] (+link-static): Define in terms of
15301 $(+link-static-before-libc) and $(+link-static-after-libc).
15302 [build-shared] (link-libc-before-gnulib): New variable.
15303 [build-shared] (link-libc-tests): Likewise.
15304 [build-shared] (link-libc): Define in terms of
15305 $(link-libc-before-gnulib).
15306 [!build-shared] (link-libc-tests): New variable.
15307 (link-libc-static-tests): New variable.
15308 [!gnulib] (gnulib-arch): New variable.
15309 [!gnulib] (gnulib-tests): Likewise.
15310 [!gnulib] (static-gnulib-arch): Likewise.
15311 [!gnulib] (static-gnulib-tests): Likewise.
15312 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15313 Define with "=" instead of ":=".
15314 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15315 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15316 * Rules (binaries-all-notests): New variable.
15317 (binaries-all-tests): Likewise.
15318 (binaries-static-notests): Likewise.
15319 (binaries-static-tests): Likewise.
15320 (binaries-all): Define using $(binaries-all-notests) and
15321 $(binaries-all-tests).
15322 (binaries-static): Define using $(binaries-static-notests) and
15323 $(binaries-static-tests).
15324 (binaries-shared-tests): New variable.
15325 (binaries-shared-notests): Likewise.
15326 (binaries-shared): Remove variable.
15327 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15328 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15329 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15330 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15331 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15332 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15333 * elf/Makefile (sln-modules): New variable.
15334 (extra-objs): Add $(sln-modules:=.o).
15335 (ldconfig-modules): Add static-stubs.
15336 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15337 * elf/static-stubs.c: New file.
15338
7a845b2c
JM
15339 [BZ #14283]
15340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15341 by 7 not 8 to examine high bit of fractional part. Use volatile
15342 variables when splitting into final array of floats if
15343 __FLT_EVAL_METHOD__ != 0.
15344 * math/libm-test.inc (cos_test): Add another test.
15345 (sin_test): Likewise.
15346 * sysdeps/i386/fpu/libm-test-ulps: Update.
15347
e2283f38
JM
15348 [BZ #14273]
15349 * math/libm-test.inc (cosh_test): Add more tests.
15350
370ca3d2
JM
15351 * version.h (RELEASE): Set to "development".
15352 (VERSION): Set to "2.16.90".
15353
ee9247c3
CD
153542012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15355
15356 * NEWS: Update copyright. Remove last-updated date.
15357 Mention math library bug fixes and timezone data changes.
15358 * README: Mention GNU/Hurd, x32, and HPPA support status.
15359
4648c381
TS
153602012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15361
15362 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15363
aac78a43
AJ
153642012-06-27 Andreas Jaeger <aj@suse.de>
15365
15366 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15367
ed3dbfad
AJ
153682012-06-25 Andreas Jaeger <aj@suse.de>
15369
15370 * sysdeps/s390/fpu/libm-test-ulps: Update.
15371
4d0ee855
AS
153722012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15373 Thomas Schwinge <thomas@codesourcery.com>
15374
15375 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15376 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15378 fanotify_mark.
15379
af1bce34
TS
153802012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15381
a9fa33ba
TS
15382 * sysdeps/mach/start.c: Remove file.
15383 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15384 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15385 * sysdeps/sh/init-first.c: Likewise.
15386
58f902b8
TS
15387 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15388 registers for frame unwinding purposes, add CFI directives.
15389 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15391 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15392 Likewise.
15393
1518f58b
TS
15394 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15395 __fortify_fail returning.
15396 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15397
db9b5059
TS
15398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15399 sysdeps/sh/____longjmp_chk.S.
15400 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15401 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15402 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15403 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15404
967705fe
TS
15405 * sysdeps/sh/abort-instr.h: New file.
15406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15407 process in case exit returns.
15408
a9def8c4
TS
15409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15410 initialize the GOT register before use.
15411
2a649725
TS
15412 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15413 calculation of ARGC > 4.
15414
af1bce34
TS
15415 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15416 meaningful names to some local labels.
15417
d230f50a
KK
154182012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15419 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15420
15421 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15422 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15423 (__arch_compare_and_exchange_val_16_acq): Likewise.
15424 (__arch_compare_and_exchange_val_32_acq): Likewise.
15425 (atomic_exchange_and_add): Fix gUSA sequence.
15426 (atomic_add): Likewise.
15427 (atomic_add_negative): Likewise.
15428 (atomic_add_zero): Likewise.
15429 (atomic_bit_test_set): Likewise.
15430
0479b305
AS
154312012-06-22 Andreas Schwab <schwab@redhat.com>
15432
15433 [BZ #13579]
15434 * include/link.h (struct link_map): Add l_free_initfini.
15435 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15436 l_initfini.
15437 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15438 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15439 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15440 set.
15441
0e3933b9
CD
154422012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15443
15444 * configure.in: Use AC_LANG_SOURCE.
15445 * configure: Regenerate.
15446
4248b1b1
RM
154472012-06-22 Roland McGrath <roland@hack.frob.com>
15448
15449 * configure.in (libc_cv_localstatedir): New substituted variable.
15450 * configure: Regenerated.
15451 * config.make.in (localstatedir): New variable, substituted from
15452 libc_cv_localstatedir.
15453 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15454 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15455 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15456 * sysdeps/gnu/configure: Regenerated.
15457
006dd861
JL
154582012-06-21 Jeff Law <law@redhat.com>
15459
15460 [BZ #14277]
15461 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15462 free. Simplify list management for _LIBC case.
15463
79662d42
JM
154642012-06-21 Joseph Myers <joseph@codesourcery.com>
15465
b7abb4bf
JM
15466 [BZ #14273]
15467 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15468 Clear sign bit of 64-bit integer value before comparing against
15469 overflow value.
15470
79662d42
JM
15471 * sysdeps/mach/configure: Regenerated.
15472
1f150908
L
154732012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15474
15475 [BZ #14278]
15476 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15477
28363bbf
JL
154782012-06-21 Jeff Law <law@redhat.com>
15479
15480 [BZ #13882]
15481 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15482 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15483 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15484 * elf/dl-open.c (dl_open_worker): Likewise.
15485
09615db4
CD
154862012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15487
15488 * scripts/list-sources.sh: Scan PORTS for translations.
15489 * po/libc.pot: Regenerated.
15490
2174c6dd
AJ
154912012-06-21 Andreas Jaeger <aj@suse.de>
15492
15493 [BZ #12194]
15494 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15495 warning.
15496 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15497 * bits/byteswap-16.h (__bswap_16): Likewise.
15498 * bits/byteswap.h (__bswap_constant_16): Likewise.
15499
3ee947b1
L
155002012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15501
15502 [BZ #14117]
a2f34833
L
15503 * sysdeps/i386/fpu_control.h: Removed.
15504 * sysdeps/x86_64/fpu_control.h: Moved to ...
15505 * sysdeps/x86/fpu_control.h: Here.
15506
3ee947b1
L
15507 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15508 (_FPU_SETCW): Likewise.
15509
ed1825f8
L
155102012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15511
25f1282a
L
15512 [BZ #14117]
15513 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15514 * sysdeps/x86/fpu/bits/mathinline.h: This.
15515 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15516
ed1825f8
L
15517 [BZ #14050]
15518 [BZ #14117]
15519 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15520 functions if __x86_64__ is defined.
15521
36d54b74
CLT
155222012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15523
15524 * string/endian.h: Add !__ASSEMBLER__ condition for including
15525 conversion interfaces.
15526
10285c21
JM
155272012-06-15 Joseph Myers <joseph@codesourcery.com>
15528
15529 [BZ #14241]
15530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15531 of ABS(x) in calculating zero to negative powers other than odd
15532 integers.
15533 * math/libm-test.inc (pow_test): Add more tests.
15534
06c5abbd
AJ
155352012-06-15 Andreas Jaeger <aj@suse.de>
15536
15537 * manual/contrib.texi (Contributors): Update entry of Liubov
15538 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15539 Machado Filho.
15540
a3aeac40
CH
155412012-06-15 Cyril Hrubis <metan@ucw.cz>
15542
15543 * string/string.h: Add __wur to GNU version of strerror_r.
15544
49bdf4c1
L
155452012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 [BZ #14229]
15548 * string/Makefile (tests): Add tst-strtok_r.
15549 * string/tst-strtok_r.c: New file.
15550 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15551 RAX_LP/RDX_LP on SAVE_PTR.
15552
834f9b8d
RM
155532012-06-14 Roland McGrath <roland@hack.frob.com>
15554
15555 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15556
75fa1921
JM
155572012-06-14 Joseph Myers <joseph@codesourcery.com>
15558
15559 * libm_test.inc (csqrt_test): Allow more spurious underflow
15560 exceptions.
15561 (j0_test): Likewise.
15562 (j1_test): Likewise.
15563 (y0_test): Likewise.
15564 (y1_test): Likewise.
15565
771766df
CD
155662012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15567
15568 * po/Makefile (libc.pot): Use UTF-8 charset.
15569
ceb9e56b
PP
155702012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15571
15572 [BZ #14210]
15573 Suppress sign-conversion warning from FD_SET.
15574 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15575 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15576 not unsigned long int.
15577 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15578
ddb28975
L
155792012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15580
15581 [BZ #14050]
15582 [BZ #14117]
15583 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15584 __extern_always_inline instead of __extern_inline.
15585 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15586 (__signbit): Likewise.
15587 (__signbitl): Support C++ namespace.
15588 (lrintf): New inline function.
15589 (lrint): Likewise.
15590 (llrintf): Likewise.
15591 (llrint): Likewise.
15592 (fmaxf): Likewise.
15593 (fmax): Likewise.
15594 (fminf): Likewise.
15595 (fmin): Likewise.
15596 (rint): Likewise.
15597 (rintf): Likewise.
15598 (ceil): Likewise.
15599 (ceilf): Likewise.
15600 (floor): Likewise.
15601 (floorf): Likewise.
15602 (nearbyint): Likewise.
15603 (nearbyintf): Likewise.
15604
d7b4fb26
TS
156052012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15606
15607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15608 non-default versions.
15609
eb55f5c2
RM
156102012-06-11 Roland McGrath <roland@hack.frob.com>
15611
15612 [BZ #14218]
15613 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15614
366af02c
TS
156152012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15616
99ff6e5c
TS
15617 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15618 (FE_UPWARD, FE_DOWNWARD): Don't define.
15619 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15620 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15621
366af02c
TS
15622 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15623 reading it.
15624 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15625 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15626
793ea851
KK
156272012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15628
15629 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15631 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15632 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15633
a728a38f
L
156342012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15635
15636 [BZ #14117]
c08010c7
L
15637 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15638 * sysdeps/i386/fpu/Implies: New file.
15639 * sysdeps/x86_64/fpu/Implies: Likewise.
15640 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15641 * sysdeps/x86/fpu/bits/fenv.h: This.
15642
a728a38f
L
15643 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15644 __SSE_MATH__.
15645
6e230d11
SP
156462012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15647
15648 [BZ #14134]
15649 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15650 character 0xffff that matches the last element of the
15651 conversion table.
15652
1b671feb
AZ
156532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15654
15655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15656 fmodl commit.
15657
6043738b
AZ
156582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15659
15660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15661 values higher than 25.6283.
15662
34ae0b32
AZ
156632012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15664
15665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15666 subnormal exponent extraction and add some __builtin_expect.
15667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15668 Fix for subnormal mantissa calculation.
15669
1214ec8f
MF
156702012-06-04 Mike Frysinger <vapier@gentoo.org>
15671
15672 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15673 cpu2 is -1 and errno is not ENOSYS.
15674
f3d1f93c
L
156752012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15676
15677 [BZ #14117]
0e4a3cd7
L
15678 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15679 * sysdeps/x86/bits/string.h: This.
15680 * sysdeps/x86_64/bits/string.h: Removed.
15681
6704c645
L
15682 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15683 if not compiling for x86-64, but compiling for >= i486.
15684
48495318
L
15685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15686 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15687
14adcbfc
L
15688 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15689 New macro from Linux kernel 3.4.0.
15690 (FP_XSTATE_MAGIC2): Likewise.
15691 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15692 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15693 (struct _fpx_sw_bytes): New struct.
15694 (struct _xsave_hdr): Likewise.
15695 (struct _ymmh_state): Likewise.
15696 (struct _xstate): Likewise.
15697
68e408ab
L
15698 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15699 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15700 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15701 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15702 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15703 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15704
f3d1f93c
L
15705 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15706 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15707 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15708 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15709 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15710 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15711
d9dc34cd
TMQMF
157122012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15713
15714 [BZ #13743]
15715 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15716 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15717 (sysdep_headers): Include sys/platform/ppc.h.
15718 * sysdeps/powerpc/test-gettimebase.c: Test for
15719 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15720 * manual/Makefile (appendices): Include platform.texi.
15721 * manual/contrib.texi (Contributors): Update @node pointers.
15722 * manual/maint.texi (Maintenance): Likewise.
15723 (Platform): New node.
15724 * manual/platform.texi: New file. Document the new features.
15725
4af3879c
SP
157262012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15727 Jakub Jelinek <jakub@redhat.com>
15728
15729 [BZ #14188]
15730 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15731 where __builtin_expect is unavailable.
15732
2fd6ff13
DM
157332012-06-03 David S. Miller <davem@davemloft.net>
15734
15735 * stdlib/longlong.h: Updated from GCC.
15736
173f7220
AS
157372012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15738
15739 [BZ #14042]
15740 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15741 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15742 __mcount_internal.
15743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15744 (GLIBC_2.16): Likewise.
15745
f34a1c6f
L
157462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15749
88a4576f
JM
157502012-06-01 Joseph Myers <joseph@codesourcery.com>
15751
ea32bcdd
JM
15752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15753 (default-abi): New variable.
15754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15755 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15756 variable.
15757 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15758 Likewise.
15759 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15760 Likewise.
15761 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15762 Likewise.
15763
88a4576f
JM
15764 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15765 definition. Document in comment.
15766
402fe938
DM
157672012-06-01 David S. Miller <davem@davemloft.net>
15768
15769 * stdlib/longlong.h: Updated from GCC.
15770
3553723f
L
157712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15772
15773 [BZ #14117]
3bd872c4
L
15774 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15775 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15776 sys/debugreg.h sys/io.h here.
15777 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15778 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15779 sys/io.h.
15780 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15781 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15782 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15783 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15784 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15785 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15786
3553723f
L
15787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15788 Define only if __x86_64__ is defined.
15789
4842e4fe
JM
157902012-06-01 Joseph Myers <joseph@codesourcery.com>
15791
c5bfe3d5
JM
15792 [BZ #14048]
15793 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15794 Use int64_t for variable i.
15795 * math/libm-test.inc (fmod_test): Add more tests.
15796
4842e4fe
JM
15797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15798 z computation is not scheduled after fetestexcept.
15799 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15800 Use math_force_eval instead of asm to ensure calculation scheduled
15801 before exception test.
15802 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15803 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15804
efb73488
AJ
158052012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15806
15807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15808 computation is not scheduled after fetestexcept.
15809
29bcce7c
L
158102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15811
15812 [BZ #14117]
15813 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15814 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15815
73a68f94
AZ
158162012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15817
15818 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15819 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15820
67b6df78
L
158212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15822
edf2933a 15823 [BZ #14117]
ebc64a18
L
15824 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15825 <bits/wordsize.h>.
15826 (__WCHAR_MIN): Support __WORDSIZE == 64.
15827 (__WCHAR_MAX): Likewise.
15828
edf2933a
L
15829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15830 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15831
57c6cf40
L
15832 [BZ #14183]
15833 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15834 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15835
67b6df78 15836 [BZ #14117]
8eb6281e
L
15837 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15838 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15839
aac639f4
L
15840 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15841 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15842
67b6df78
L
15843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15844 Defined to 1 if __x86_64__ isn't defined.
15845 (_STAT_VER_LINUX_OLD): New.
15846 (st_atime): Remove duplicate.
15847 (st_mtime): Likewise.
15848 (st_ctime): Likewise.
15849
1c2cfe81
DM
158502012-05-31 David S. Miller <davem@davemloft.net>
15851
15852 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15853 entries.
15854
5be8418c
AS
158552012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15856
e7725326
AS
15857 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15858 gen-libm-test.pl.
15859
5be8418c
AS
15860 [BZ #14132]
15861 * elf/dl-reloc.c: Include <_itoa.h>.
15862 (_dl_reloc_bad_type): Remove use of INTUSE.
15863 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15864 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15865 * stdio-common/psiginfo.c (psiginfo): Likewise.
15866 * stdio-common/psignal.c (psignal): Likewise.
15867 * string/strsignal.c (strsignal): Likewise.
15868 * include/signal.h (_sys_siglist): Declare hidden proto.
15869 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15870 INTVARDEF with libc_hidden_data_def.
15871 * stdio-common/itoa-udigits.c: Likewise.
15872 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15873 (_itoa_lower_digits_internal): Remove declaration.
15874 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15875 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15876 (_sys_sigabbrev_internal): Remove aliases.
15877 (_sys_siglist): Define hidden alias.
15878
507352f1
MT
158792012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15880
15881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15882 bits/sysctl.h.
15883
42bbb1c3
L
158842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15885
15886 [BZ #14117]
6bd784b6
L
15887 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15888 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15889
8bca20f0
L
15890 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15891 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15892 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15893 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15894 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15895 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15896
f9e890a9
L
15897 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15898 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15899 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15900
471101a1
L
15901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15902 with __addr.
15903 (insw): Likewise.
15904 (insl): Likewise.
15905 (outsb): Likewise.
15906 (outsw): Likewise.
15907 (outsl): Likewise.
15908
6451c862
L
15909 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15911 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15912
a254b8c9
L
15913 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15914 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15915 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15916 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15917 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15918 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15919
b8dfdd92
L
15920 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15921 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15922
578cd270
L
15923 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15924 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15925
de662f5f
L
15926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15928 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15929
25653439
L
15930 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15931 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15932 to ...
15933 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15934
6bad24a0
L
15935 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15936 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15937 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15938
42bbb1c3
L
15939 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15940 for x86-64.
15941 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15942
2d10d547
JM
159432012-05-31 Joseph Myers <joseph@codesourcery.com>
15944
15945 * math/math.h (M_El): Use two more decimal places.
15946 (M_LOG2El): Likewise.
15947 (M_LOG10El): Likewise.
15948 (M_LN2l): Likewise.
15949 (M_LN10l): Likewise.
15950 (M_PIl): Likewise.
15951 (M_PI_2l): Likewise.
15952 (M_PI_4l): Likewise.
15953 (M_1_PIl): Likewise.
15954 (M_2_PIl): Likewise.
15955 (M_2_SQRTPIl): Likewise.
15956 (M_SQRT2l): Likewise.
15957 (M_SQRT1_2l): Likewise.
15958
f230c29b
DM
159592012-05-31 David S. Miller <davem@davemloft.net>
15960
15961 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15962 values between float registers.
15963 * sysdeps/sparc/sparc64/memset.S: Likewise.
15964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15965
fed806c3
MF
159662012-05-31 Mike Frysinger <vapier@gentoo.org>
15967
15968 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15969 -D_FORTIFY_SOURCE=1.
15970 (CPPFLAGS-tst-longjmp_chk.c): Define.
15971 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15972 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15973 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15974 CFLAGS-tst-wchar-h.c.
15975
30917259
MP
159762012-05-31 Marek Polacek <polacek@redhat.com>
15977
15978 [BZ #14132]
15979 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15980 __endmntent_internal): Remove declaration.
15981 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15982 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15983 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15984
1c58d5dc
DM
159852012-05-30 David S. Miller <davem@davemloft.net>
15986
15987 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15988 (___Q_simulate_exceptions): Use real FP ops rather than writing
15989 into the %fsr.
15990 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15991 Likewise.
15992
7dc00e0d
L
159932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15994
15995 [BZ #14117]
0bd53985
L
15996 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15997 * sysdeps/x86/bits/xtitypes.h: This.
15998
3a257e66
L
15999 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16000 * sysdeps/x86/bits/wordsize.h: This.
16001
62f62904
L
16002 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16003 * sysdeps/x86/bits/huge_vall.h: This.
16004
404fe9d9
L
16005 * sysdeps/i386/bits/select.h: Removed.
16006 * sysdeps/x86_64/bits/select.h: Renamed to ...
16007 * sysdeps/x86/bits/select.h: This.
16008
d48d0446
L
16009 * sysdeps/i386/bits/setjmp.h: Removed.
16010 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16011 * sysdeps/x86/bits/setjmp.h: This.
16012
7dc00e0d
L
16013 * sysdeps/i386/bits/mathdef.h: Removed.
16014 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16015 * sysdeps/x86/bits/mathdef.h: This.
16016
03277f8f
AS
160172012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16018
16019 [BZ #14132]
16020 * include/sys/socket.h (__connect_internal)
16021 (__libc_sa_len_internal): Remove declaration.
16022 (__connect, __libc_sa_len): Declare hidden_proto.
16023 (SA_LEN): Remove use of INTUSE.
16024 * socket/connect.c: Add libc_hidden_def.
16025 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16026 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16027 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16028 alias.
16029 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16030 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16031 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16032 of adding _internal alias.
16033
13764867
L
160342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16035
16036 [BZ #14117]
6bd97696
L
16037 * sysdeps/i386/bits/link.h: Removed.
16038 * sysdeps/i386/bits/linkmap.h: Likewise.
16039 * sysdeps/x86_64/bits/link.h: Renamed to ...
16040 * sysdeps/x86/bits/link.h: This.
16041 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16042 * sysdeps/x86/bits/linkmap.h: This.
16043
f726f0bb
L
16044 * sysdeps/i386/bits/endian.h: Removed.
16045 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16046 * sysdeps/x86/bits/endian.h: This.
16047
13764867
L
16048 * sysdeps/i386/bits/byteswap.h: Removed.
16049 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16050 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16051 * sysdeps/x86/bits/byteswap.h: This.
16052 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16053 * sysdeps/x86/bits/byteswap-16.h: This.
16054 * sysdeps/i386/Implies: Add x86.
16055 * sysdeps/x86_64/Implies: Likewise.
16056
ae251b0b
DM
160572012-05-30 David S. Miller <davem@davemloft.net>
16058
16059 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16060 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16061 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16062 (FP_TRAPPING_EXCEPTIONS): Define.
16063 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16064 (FP_TRAPPING_EXCEPTIONS): Define.
16065 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16066 subnormals only when inexact has been signalled or underflow
16067 exceptions are enabled.
16068 (_FP_PACK_CANONICAL): Likewise.
16069
d5c90867
L
160702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16071
16072 [BZ #14183]
16073 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16074 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16075
63f1549e
RH
160762012-05-30 Richard Henderson <rth@twiddle.net>
16077
8d8f2279
RH
16078 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16079 with #ifndef NOT_IN_libc.
16080
63f1549e
RH
16081 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16082 marked to avoid plt entry.
16083
0ab0291b
L
160842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 [BZ #14112]
16087 * Makeconfig (default-abi): New macro.
16088 (abi-includes): Likewise.
16089 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16090 $(abi-$(default-abi)-lib-soname) for soname if defined.
16091 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16092 abi-variants.
16093 * Makefile (installed-stubs): Likewise.
16094 * include/stubs-biarch.h: Removed.
16095 * scripts/lib-names.awk: Only handle one library at a time.
16096 * scripts/soversions.awk: Remove WORDSIZE support.
16097 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16098 entries.
16099 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16100 Removed.
16101 (syscall-list-default-condition): Likewise.
16102 (syscall-list-default-condition): Likewise.
16103 (syscall-list-includes): Likewise.
16104 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16105 syscall-list-* with abi-*. Handle undefined abi-variants.
16106 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16107 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16108 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16109 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16110 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16111 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16112 Removed.
16113 (syscall-list-32-options): Likewise.
16114 (syscall-list-32-condition): Likewise.
16115 (syscall-list-64-options): Likewise.
16116 (syscall-list-64-condition): Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16118 macro.
16119 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16120 Renamed to ...
16121 (abi-*): This.
16122 (abi-64-ld-soname): New macro.
16123 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16124 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16125 Renamed to ...
16126 (abi-*): This.
16127 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16128 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16129
4da0431d
JM
161302012-05-30 Joseph Myers <joseph@codesourcery.com>
16131
3a85279c
JM
16132 * sysdeps/unix/sysv/linux/kernel-features.h
16133 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16134 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16135 include <kernel-features.h>.
16136 [!__NR_ftruncate64]: Remove conditional code.
16137 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16138 [__NR_ftruncate64]: Make code unconditional.
16139 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16140 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16141 include <kernel-features.h>.
16142 [!__NR_ftruncate64]: Remove conditional code.
16143 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16144 [__NR_ftruncate64]: Make code unconditional.
16145 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16147 include <kernel-features.h>.
16148 [!__NR_ftruncate64]: Remove conditional code.
16149 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16150 [__NR_ftruncate64]: Make code unconditional.
16151 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16153 include <kernel-features.h>.
16154 [!__NR_ftruncate64]: Remove conditional code.
16155 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16156 [__NR_ftruncate64]: Make code unconditional.
16157 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16158
4da0431d
JM
16159 * configure.in (libc_cv_fpie): Weaken to a compile test using
16160 LIBC_TRY_CC_OPTION.
16161 * configure: Regenerated.
16162
11ef492c
AK
161632012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16164
16165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16169 Refreshed.
16170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16176 Refreshed.
16177
d66ef399
DM
161782012-05-27 David S. Miller <davem@davemloft.net>
16179
16180 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16181 (___Q_zero): New.
16182 (__Q_simulate_exceptions): Return void. Change to simulate
16183 exceptions by writing into the %fsr.
16184 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16185 (__Qp_handle_exceptions): Likewise.
16186 (numbers): Delete.
16187 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16188 __Qp_handle_exceptions.
16189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16190 __Qp_handle_exceptions.
16191 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16192 as unused and give dummy FP_RND_NEAREST initializer.
16193 (FP_INHIBIT_RESULTS): Define.
16194 (___Q_simulate_exceptions): Update declaration.
16195 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16196 formatting.
16197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16198 as unused and give dummy FP_RND_NEAREST initializer.
16199 (__Qp_handle_exceptions): Update declaration.
16200 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16201 formatting.
16202
04fb54b5
TS
162032012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16204
16205 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16206 the temporary FPU control word.
16207 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16208 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16209 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16210 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16211 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16213 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16214 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16215 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16216 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16218
3f99608f
KK
162192012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16220
16221 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16222 fields.
16223
65a4de4e
CLT
162242012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16225
16226 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16227 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16228 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16229 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16230 Likewise.
16231 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16232 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16233 Likewise.
16234
15749d40
UD
162352012-05-27 Ulrich Drepper <drepper@gmail.com>
16236
16237 * po/h.po: Update from translation team.
16238
25dbcb27
AS
162392012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16240
3d3f8e55
AS
16241 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16242
25dbcb27
AS
16243 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16244 handling of denormals.
16245 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16246 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16247 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16248 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16252 Likewise.
16253
7ad47a80 162542012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16255
16256 [BZ #14152]
16257 * math/libm-test.inc (fma_test): Don't always expect underflow
16258 exception.
16259
9c6ea9fa
SP
162602012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16261
16262 [BZ #12416]
16263 * elf/tst-execstack.c: Include stackinfo.h.
16264 (do_test): Adjust test case to ensure that pthread_getattr_np
16265 behaviour remains the same after marking stack executable.
16266
a8239222
JM
162672012-05-25 Joseph Myers <joseph@codesourcery.com>
16268
16269 * sysdeps/unix/sysv/linux/kernel-features.h
16270 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16271 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16272 kernel-features.h.
16273 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16274 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16275 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16276 kernel-features.h.
16277 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16278 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16279
918b5606
L
162802012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16281
16282 * configure.in: Define the default includes to being none.
16283 * configure: Regenerated.
16284
3a097cc7
RM
162852012-05-25 Roland McGrath <roland@hack.frob.com>
16286
8422c9a5
RM
16287 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16288 * sysdeps/x86_64/setjmp.S: Likewise.
16289 * sysdeps/i386/bsd-setjmp.S: Likewise.
16290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16291 * sysdeps/i386/setjmp.S: Likewise.
16292 * sysdeps/i386/__longjmp.S: Likewise.
16293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16294 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16295
3a097cc7
RM
16296 * include/stap-probe.h: New file.
16297 * configure.in: Handle --enable-systemtap.
16298 * configure: Regenerated.
16299 * config.h.in (USE_STAP_PROBE): New #undef.
16300 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16301 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16302 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16303
21708942
JM
163042012-05-25 Joseph Myers <joseph@codesourcery.com>
16305
16306 [BZ #13717]
16307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16308 to 2.4.0 where earlier.
16309 * sysdeps/unix/sysv/linux/configure: Regenerated.
16310 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16311 <kernel-features.h>.
16312 [__ASSUME_32BITUIDS]: Make code unconditional.
16313 [!__ASSUME_32BITUIDS]: Remove conditional code.
16314 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16315 <kernel-features.h>.
16316 [__ASSUME_32BITUIDS]: Make code unconditional.
16317 [!__ASSUME_32BITUIDS]: Remove conditional code.
16318 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16319 [__ASSUME_32BITUIDS]: Make code unconditional.
16320 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16321 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16322 <kernel-features.h>.
16323 [__ASSUME_32BITUIDS]: Make code unconditional.
16324 [!__ASSUME_32BITUIDS]: Remove conditional code.
16325 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16326 <kernel-features.h>.
16327 [__ASSUME_32BITUIDS]: Make code unconditional.
16328 [!__ASSUME_32BITUIDS]: Remove conditional code.
16329 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16330 <kernel-features.h>.
16331 [__ASSUME_32BITUIDS]: Make code unconditional.
16332 [!__ASSUME_32BITUIDS]: Remove conditional code.
16333 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16334 <kernel-features.h>.
16335 [__ASSUME_32BITUIDS]: Make code unconditional.
16336 [!__ASSUME_32BITUIDS]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16338 <kernel-features.h>.
16339 [__ASSUME_32BITUIDS]: Make code unconditional.
16340 [!__ASSUME_32BITUIDS]: Remove conditional code.
16341 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16342 <kernel-features.h>.
16343 [__ASSUME_32BITUIDS]: Make code unconditional.
16344 [!__ASSUME_32BITUIDS]: Remove conditional code.
16345 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16346 <kernel-features.h>.
16347 [__ASSUME_32BITUIDS]: Make code unconditional.
16348 [!__ASSUME_32BITUIDS]: Remove conditional code.
16349 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16350 <kernel-features.h>.
16351 [__ASSUME_32BITUIDS]: Make code unconditional.
16352 [!__ASSUME_32BITUIDS]: Remove conditional code.
16353 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16354 <kernel-features.h>.
16355 [__ASSUME_32BITUIDS]: Make code unconditional.
16356 [!__ASSUME_32BITUIDS]: Remove conditional code.
16357 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16358 <kernel-features.h>.
16359 [__ASSUME_32BITUIDS]: Make code unconditional.
16360 [!__ASSUME_32BITUIDS]: Remove conditional code.
16361 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16362 <kernel-features.h>.
16363 [__NR_setresgid] (__setresgid): Do not declare.
16364 [__ASSUME_32BITUIDS]: Make code unconditional.
16365 [!__ASSUME_32BITUIDS]: Remove conditional code.
16366 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16367 <kernel-features.h>.
16368 [__NR_setresuid] (__setresuid): Do not declare.
16369 [__ASSUME_32BITUIDS]: Make code unconditional.
16370 [!__ASSUME_32BITUIDS]: Remove conditional code.
16371 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16372 <kernel-features.h>.
16373 [__ASSUME_32BITUIDS]: Make code unconditional.
16374 [!__ASSUME_32BITUIDS]: Remove conditional code.
16375 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16376 <kernel-features.h>.
16377 [__ASSUME_32BITUIDS]: Make code unconditional.
16378 [!__ASSUME_32BITUIDS]: Remove conditional code.
16379 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16380 <kernel-features.h>.
16381 [__ASSUME_32BITUIDS]: Make code unconditional.
16382 [!__ASSUME_32BITUIDS]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16384 <kernel-features.h>.
16385 [__ASSUME_32BITUIDS]: Make code unconditional.
16386 [!__ASSUME_32BITUIDS]: Remove conditional code.
16387 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16388 <kernel-features.h>.
16389 [__ASSUME_32BITUIDS]: Make code unconditional.
16390 [!__ASSUME_32BITUIDS]: Remove conditional code.
16391 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16392 <kernel-features.h>.
16393 [__ASSUME_32BITUIDS]: Make code unconditional.
16394 [!__ASSUME_32BITUIDS]: Remove conditional code.
16395 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16396 <kernel-features.h>.
16397 [__ASSUME_32BITUIDS]: Make code unconditional.
16398 [!__ASSUME_32BITUIDS]: Remove conditional code.
16399 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16400 <kernel-features.h>.
16401 [__ASSUME_32BITUIDS]: Make code unconditional.
16402 [!__ASSUME_32BITUIDS]: Remove conditional code.
16403 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16404 <kernel-features.h>.
16405 [__ASSUME_32BITUIDS]: Make code unconditional.
16406 [!__ASSUME_32BITUIDS]: Remove conditional code.
16407 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16408 <kernel-features.h>.
16409 [__ASSUME_32BITUIDS]: Make code unconditional.
16410 [!__ASSUME_32BITUIDS]: Remove conditional code.
16411 * sysdeps/unix/sysv/linux/kernel-features.h
16412 (__ASSUME_SETRESUID_SYSCALL): Remove.
16413 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16414 (__ASSUME_32BITUIDS): Likewise.
16415 (__ASSUME_LDT_WORKS): Likewise.
16416 (__ASSUME_O_DIRECTORY): Likewise.
16417 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16418 architecture but not kernel version.
16419 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16420 (__ASSUME_MMAP2_SYSCALL): Likewise.
16421 (__ASSUME_STAT64_SYSCALL): Likewise.
16422 (__ASSUME_IPC64): Likewise.
16423 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16424 <kernel-features.h>.
16425 [__ASSUME_32BITUIDS]: Make code unconditional.
16426 [!__ASSUME_32BITUIDS]: Remove conditional code.
16427 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16428 <kernel-features.h>.
16429 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16430 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16431 132096]: Remove conditional code.
16432 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16433 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16434 <kernel-features.h>.
16435 [__ASSUME_32BITUIDS]: Make code unconditional.
16436 [!__ASSUME_32BITUIDS]: Remove conditional code.
16437 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16438 <kernel-features.h>.
16439 [__ASSUME_32BITUIDS]: Make code unconditional.
16440 [!__ASSUME_32BITUIDS]: Remove conditional code.
16441 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16442 <kernel-features.h>.
16443 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16444 unconditional.
16445 (__setresgid): Do not declare.
16446 [__ASSUME_32BITUIDS]: Make code unconditional.
16447 [!__ASSUME_32BITUIDS]: Remove conditional code.
16448 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16449 <kernel-features.h>.
16450 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16451 unconditional.
16452 (__setresuid): Do not declare.
16453 [__ASSUME_32BITUIDS]: Make code unconditional.
16454 [!__ASSUME_32BITUIDS]: Remove conditional code.
16455 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
16460 <kernel-features.h>.
16461 [__ASSUME_32BITUIDS]: Make code unconditional.
16462 [!__ASSUME_32BITUIDS]: Remove conditional code.
16463
a386f1cc
RH
164642012-05-25 Richard Henderson <rth@twiddle.net>
16465
16466 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16467 dl_hwcap to ifunc resolver.
16468 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16469 elf_ifunc_invoke.
16470 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16471 dl_hwcap to ifunc resolver.
16472 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16473
b6550497
JM
164742012-05-24 Joseph Myers <joseph@codesourcery.com>
16475
16476 [BZ #14153]
16477 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16478 for |x| <= 2**-26, not 2**-57.
16479 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16480 exception.
16481
b0bc23a1
JL
164822012-05-24 Jeff Law <law@redhat.com>
16483
16484 * stdio-common/Makefile (tests): Add bug25.
16485 * stdio-common/bug25.c: New test.
16486
347c92e9
L
164872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16488
16489 [BZ #13576]
16490 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16491 multiple of MALLOC_ALIGNMENT in size.
16492 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16493
6bcc8b3f
JM
164942012-05-24 Joseph Myers <joseph@codesourcery.com>
16495
16496 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16497 Require >= 256.
16498 (FILENAME_MAX): Use macro-int-constant.
16499 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16500 (_IOFBF): Use macro-int-constant.
16501 (_IOLBF): Likewise.
16502 (_IONBF): Likewise.
16503 (SEEK_CUR): Likewise.
16504 (SEEK_END): Likewise.
16505 (SEEK_SET): Likewise.
16506 (TMP_MAX): Likewise.
16507 (EOF): Use macro-int-constant. Require < 0.
16508 (NULL): Use macro-constant. Require == 0.
16509 (stdin): Require type to be FILE *.
16510 (stdout): Likewise.
16511 (stderr): Likewise.
16512 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16513 macro-int-constant.
16514 (EXIT_SUCCESS): Likewise.
16515 (NULL): Use macro-constant. Require == 0.
16516 (RAND_MAX): Use macro-int-constant.
16517 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16518 [C99-based standards] (strtof): Require function.
16519 [C99-based standards] (strtold): Likewise.
16520 [C99-based standards] (strtoll): Likewise.
16521 [C99-based standards] (strtoull): Likewise.
16522 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16523 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16524 [ISO || ISO99 || ISO11] (math.h): Likewise.
16525 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16526 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16528
d18ea0c5
AS
165292012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16530
16531 [BZ #14132]
56d25bb8
AS
16532 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16533 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16534 * intl/dgettext.c (DCGETTEXT): Likewise.
16535 * intl/gettext.c (DCGETTEXT): Likewise.
16536 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16537 * posix/regex_internal.h (gettext): Likewise.
16538 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16539 Remove declaration.
16540 * include/argz.h (__argz_count_internal)
16541 (__argz_stringify_internal): Remove declaration.
16542 (__argz_count, __argz_stringify): Declare hidden proto.
16543 * intl/dcgettext.c: Remove use of INTDEF.
16544 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16545 * string/argz-stringify.c: Likewise.
16546 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16547 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16548 Declare hidden proto.
d18ea0c5
AS
16549 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16550 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16551 Declare hidden proto.
16552 * include/stdio.h (__asprintf_internal): Don't declare.
16553 (__asprintf): Don't define as macro. Declare hidden proto.
16554 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16555 (__fsetlocking): Declare hidden proto.
16556 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16557 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16558 hidden proto.
16559 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16560 (_IO_setlinebuf): Remove use of INTUSE.
16561 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16562 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16563 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16564 Remove declaration.
16565 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16566 (_IO_do_flush): Remove use of INTUSE.
16567 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16568 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16569 (_IO_adjust_column, _IO_least_wmarker)
16570 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16571 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16572 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16573 (_IO_default_doallocate, _IO_wdefault_doallocate)
16574 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16575 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16576 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16577 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16578 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16579 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16580 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16581 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16582 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16583 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16584 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16585 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16586 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16587 proto.
16588 (_IO_flush_all_internal, _IO_adjust_column_internal)
16589 (_IO_default_uflow_internal, _IO_default_finish_internal)
16590 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16591 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16592 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16593 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16594 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16595 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16596 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16597 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16598 (_IO_file_close_internal, _IO_file_close_it_internal)
16599 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16600 (_IO_file_init_internal, _IO_file_attach_internal)
16601 (_IO_file_fopen_internal, _IO_file_read_internal)
16602 (_IO_file_sync_internal, _IO_file_seek_internal)
16603 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16604 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16605 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16606 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16607 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16608 (_IO_list_all_internal, _IO_link_in_internal)
16609 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16610 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16611 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16612 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16613 (_IO_do_write_internal, _IO_padn_internal)
16614 (_IO_getline_info_internal, _IO_getline_internal)
16615 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16616 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16617 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16618 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16619 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16620 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16621 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16622 with libc_hidden_ver, remove use of INTUSE.
16623 * libio/genops.c: Likewise.
16624 * libio/freopen.c: Likewise.
16625 * libio/freopen64.c: Likewise.
16626 * libio/iofclose.c: Likewise.
16627 * libio/iofdopen.c: Likewise.
16628 * libio/iofflush.c: Likewise.
16629 * libio/iofflush_u.c: Likewise.
16630 * libio/iofgets.c: Likewise.
16631 * libio/iofgets_u.c: Likewise.
16632 * libio/iofopen.c: Likewise.
16633 * libio/iofopncook.c: Likewise.
16634 * libio/iofread.c: Likewise.
16635 * libio/iofread_u.c: Likewise.
16636 * libio/ioftell.c: Likewise.
16637 * libio/iofwrite.c: Likewise.
16638 * libio/iogetline.c: Likewise.
16639 * libio/iogets.c: Likewise.
16640 * libio/iogetwline.c: Likewise.
16641 * libio/iopadn.c: Likewise.
16642 * libio/iopopen.c: Likewise.
16643 * libio/ioseekoff.c: Likewise.
16644 * libio/ioseekpos.c: Likewise.
16645 * libio/iosetbuffer.c: Likewise.
16646 * libio/iosetvbuf.c: Likewise.
16647 * libio/ioungetc.c: Likewise.
16648 * libio/ioungetwc.c: Likewise.
16649 * libio/iovdprintf.c: Likewise.
16650 * libio/iovsprintf.c: Likewise.
16651 * libio/iovsscanf.c: Likewise.
16652 * libio/memstream.c: Likewise.
16653 * libio/obprintf.c: Likewise.
16654 * libio/oldfileops.c: Likewise.
16655 * libio/oldiofclose.c: Likewise.
16656 * libio/oldiofdopen.c: Likewise.
16657 * libio/oldiofopen.c: Likewise.
16658 * libio/oldiopopen.c: Likewise.
16659 * libio/oldstdfiles.c: Likewise.
16660 * libio/putc.c: Likewise.
16661 * libio/setbuf.c: Likewise.
16662 * libio/setlinebuf.c: Likewise.
16663 * libio/stdfiles.c: Likewise.
16664 * libio/strops.c: Likewise.
16665 * libio/vasprintf.c: Likewise.
16666 * libio/vscanf.c: Likewise.
16667 * libio/vsnprintf.c: Likewise.
16668 * libio/vswprintf.c: Likewise.
16669 * libio/wfiledoalloc.c: Likewise.
16670 * libio/wfileops.c: Likewise.
16671 * libio/wgenops.c: Likewise.
16672 * libio/wmemstream.c: Likewise.
16673 * libio/wstrops.c: Likewise.
16674 * libio/__fpurge.c: Likewise.
16675 * libio/__fsetlocking.c: Likewise.
16676 * assert/assert.c: Likewise.
16677 * debug/fgets_chk.c: Likewise.
16678 * debug/fgets_u_chk.c: Likewise.
16679 * debug/fread_chk.c: Likewise.
16680 * debug/fread_u_chk.c: Likewise.
16681 * debug/gets_chk.c: Likewise.
16682 * debug/obprintf_chk.c: Likewise.
16683 * debug/vasprintf_chk.c: Likewise.
16684 * debug/vdprintf_chk.c: Likewise.
16685 * debug/vsnprintf_chk.c: Likewise.
16686 * debug/vsprintf_chk.c: Likewise.
16687 * malloc/mtrace.c: Likewise.
16688 * misc/error.c: Likewise.
16689 * misc/syslog.c: Likewise.
16690 * stdio-common/asprintf.c: Likewise.
16691 * stdio-common/fxprintf.c: Likewise.
16692 * stdio-common/getw.c: Likewise.
16693 * stdio-common/isoc99_fscanf.c: Likewise.
16694 * stdio-common/isoc99_scanf.c: Likewise.
16695 * stdio-common/isoc99_vfscanf.c: Likewise.
16696 * stdio-common/isoc99_vscanf.c: Likewise.
16697 * stdio-common/isoc99_vsscanf.c: Likewise.
16698 * stdio-common/printf-prs.c: Likewise.
16699 * stdio-common/printf_fp.c: Likewise.
16700 * stdio-common/printf_fphex.c: Likewise.
16701 * stdio-common/printf_size.c: Likewise.
16702 * stdio-common/putw.c: Likewise.
16703 * stdio-common/scanf.c: Likewise.
16704 * stdio-common/sprintf.c: Likewise.
16705 * stdio-common/tmpfile.c: Likewise.
16706 * stdio-common/vfprintf.c: Likewise.
16707 * stdio-common/vfscanf.c: Likewise.
16708 * stdlib/strfmon_l.c: Likewise.
16709 * sunrpc/openchild.c: Likewise.
16710 * sunrpc/xdr_stdio.c: Likewise.
16711 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16712 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16713
d6c33fda
RM
167142012-05-24 Roland McGrath <roland@hack.frob.com>
16715
c1487492
RM
16716 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16717
16718 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16719 in the third column, to generate for the shared library an IFUNC
16720 that uses _dl_vdso_vsym.
16721 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16722 * Makeconfig (object-suffixes-noshared): New variable.
16723
16724 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16725 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16726 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16727 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16728
d6c33fda
RM
16729 [BZ #14132]
16730 * include/sys/time.h (__gettimeofday): Remove macro.
16731 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16732 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16733 Remove INTDEF.
16734 (__gettimeofday): Add libc_hidden_def.
16735 (gettimeofday): Add libc_hidden_weak.
16736 * sysdeps/mach/gettimeofday.c: Likewise.
16737 * sysdeps/posix/gettimeofday.c: Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16739 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16741 (__gettimeofday_internal): Remove strong_alias.
16742 (__gettimeofday): Add libc_hidden_def.
16743 (gettimeofday): Add libc_hidden_weak.
16744 * sysdeps/unix/syscalls.list (gettimeofday):
16745 Remove __gettimeofday_internal alias.
16746
b5a2bbe6
L
167472012-05-24 Daniel Jacobowitz <drow@false.org>
16748 H.J. Lu <hongjiu.lu@intel.com>
16749
16750 [BZ #12495]
16751 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16752 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16753 (largebin_index_32_big): New.
16754 (largebin_index): Use it for 16-byte alignment.
16755 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16756 correction with front_misalign.
16757
cfba4fda
L
167582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16759
7f907421
L
16760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16762 Likewise.
16763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16764 Likewise.
16765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16766 Likewise.
16767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16768 Likewise.
16769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16770 Likewise.
16771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16772 Likewise.
16773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16774 Likewise.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16776 Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16778 Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16780 Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16782 Likewise.
16783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16784 Likewise.
16785
cfba4fda
L
16786 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16787 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16788
80bad0cc
JM
167892012-05-24 Joseph Myers <joseph@codesourcery.com>
16790
7a25eb06
JM
16791 [BZ #10846]
16792 [BZ #14036]
16793 * math/libm-test.inc (exp_test): Add test from bug 14036.
16794 (pow_test): Add test from bug 10846.
16795
795405f9
JM
16796 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16797 and other flags.
16798 (special_function): Do not include flags in test name.
16799 (parse_args): Likewise.
16800 * sysdeps/i386/fpu/libm-test-ulps: Update.
16801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16802 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16803 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16805
80bad0cc
JM
16806 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16807 exceptions.
16808 * math/libm-test.inc ("Philosophy"): Update comment about
16809 exception testing.
16810 (UNDERFLOW_EXCEPTION): New macro.
16811 (UNDERFLOW_EXCEPTION_OK): Likewise.
16812 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16813 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16814 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16815 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16816 (INVALID_EXCEPTION_OK): Update value.
16817 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16818 (OVERFLOW_EXCEPTION_OK): Likewise.
16819 (IGNORE_ZERO_INF_SIGN): Likewise.
16820 (test_exceptions): Handle underflow exceptions.
16821 (acos_test): Update for underflow exception expectations.
16822 (cexp_test): Likewise.
16823 (clog_test): Likewise.
16824 (clog10_test): Likewise.
16825 (csqrt_test): Likewise.
16826 (ctan_test): Likewise.
16827 (ctanh_test): Likewise.
16828 (exp_test): Likewise.
16829 (exp10_test): Likewise.
16830 (exp2_test): Likewise.
16831 (expm1_test): Likewise.
16832 (fma_test): Likewise.
16833 (j0_test): Likewise.
16834 (jn_test): Likewise.
16835 (nexttoward_test): Likewise.
16836 (pow_test): Likewise.
16837 (scalbn_test): Likewise.
16838 (scalbln_test): Likewise.
16839 (tan_test): Likewise.
16840 (y1_test): Likewise.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
9e0e3d0b
DM
168442012-05-23 David S. Miller <davem@davemloft.net>
16845
16846 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16847 (__libc_sigaction): Remove unused local variables.
16848
ccd0a08f
L
168492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16850
16851 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16852
62bdf9a6
PE
168532012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16854
f8591f80
PE
16855 mktime: avoid signed integer overflow
16856 * time/mktime.c (__mktime_internal): Do not mishandle the case
16857 where diff == INT_MIN.
16858
94c7d826
PE
16859 mktime: simplify computation of average
16860 * time/mktime.c (ranged_convert): Use new time_t_avg function
16861 instead of rolling our own (probably-slower) code.
16862
ce73d683
PE
16863 mktime: do not assume signed right shift propagates sign bit
16864 * time/mktime.c (isdst_differ): New static function.
16865 (__mktime_internal): No need to normalize tm_isdst now.
16866 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16867 tm_isdst values.
16868
72a22e59
PE
16869 mktime: merge another wrapv change from gnulib
16870 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16871 from some compilers.
16872
68605433
PE
16873 mktime: remove incorrect attempt at unusual arithmetics
16874 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16875 The code didn't really work on such machines anyway.
16876 (TYPE_MINIMUM): Assume two's complement.
16877 (twos_complement_arithmetic): Verify that long_int and time_t
16878 are two's complement (or unsigned, in the latter case).
16879
03cf7fe3
PE
16880 mktime: check signed shifts on long_int and time_t, too
16881 * time/mktime.c (SHR): Check that shifts work as desired
16882 on the types long_int and time_t too, as SHR is used on
16883 such types.
16884
f04dfbc2
PE
16885 mktime: do not assume 'long' is wide enough
16886 * time/mktime.c (verify): Move decl up.
16887 (long_int): New type.
16888 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16889 to remove assumption in the code that 'long' is wide enough to
16890 store year values. This assumption is not true on x32 and on
16891 some non-glibc platforms.
16892
62bdf9a6
PE
16893 mktime: merge wrapv change from gnulib
16894 * time/mktime.c (WRAPV): New macro.
16895 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16896 (guess_time_tm, __mktime_internal): Do not assume that signed
16897 integer overflow wraps around; modern compilers generate code
16898 where this assumption is no longer valid.
16899
5e292e4f
L
169002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16901
16902 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16903 Replace "jmp L(pseudo_end)" with "ret".
16904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16905 Likewise.
16906
8caf8c87
AJ
169072012-05-23 Andreas Jaeger <aj@suse.de>
16908
16909 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16910 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16911
1a09dc56
AJ
169122012-05-23 Andreas Jaeger <aj@suse.de>
16913 Maximilian Attems <max@stro.at>
16914
16915 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16916 New macros.
16917
1c87aba0
L
169182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16921 code so that pseudo_end is just ret and the stack pointer is
16922 correct also for static library in error case.
16923
40e45bd5
JM
169242012-05-23 Joseph Myers <joseph@codesourcery.com>
16925
c2670533
JM
16926 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16927 move to syscalls.list.
16928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16932
40e45bd5
JM
16933 * manual/install.texi (Running make install): Do not mention Linux
16934 kernel version for which pt_chown is not needed.
16935 (Linux): Do not mention problems with nscd with 2.0 kernels.
16936 * INSTALL: Regenerated.
16937
be08eda5
AJ
169382012-05-23 Andreas Jaeger <aj@suse.de>
16939
16940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16941 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16942 macro.
16943 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16944 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16945 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16947 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16949 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16951 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16953 * sysdeps/unix/sysv/linux/bits/in.h
16954 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16955
a6a056bb
RM
169562012-05-22 Roland McGrath <roland@hack.frob.com>
16957
16958 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16959 (PREPARE_VERSION): Just use assert instead, it will be elided
16960 under [NDEBUG] anyway.
16961
c9009328
L
169622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 * sysdeps/unix/sysv/linux/Makefile: Include
16965 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16966 (sysdep_routines): Remove sysctl.
c9009328
L
16967 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16968 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16969 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16970 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16971 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16972
73338355
AJ
169732012-05-22 Andreas Jaeger <aj@suse.de>
16974
16975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16976 that pseudo_end is just ret and the stack pointer is correct also
16977 for static library in error case.
16978
d44638b0
PP
169792012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16980
16981 [BZ #14122]
16982 * nss/nsswitch.c (defconfig_entries): New variable.
16983 (__nss_database_lookup): Don't leak defconfig entries.
16984 (nss_parse_service_list): Don't leak on error paths.
16985 (free_database_entries): New function.
16986 (free_defconfig): New function.
16987 (free_mem): Move common code to free_database_entries.
16988
31a39bd8
L
169892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16990
da0331a8
L
16991 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16992 Add arch_prctl.
16993 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16994
31a39bd8
L
16995 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16996 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16998 New macro.
16999 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17000 (INTERNAL_SYSCALL_TYPES): Likewise.
17001 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17002 (LOAD_REGS_TYPES_[1-6]): Likewise.
17003 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17004 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17005
45470df3
AZ
170062012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17007
17008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17009 copysignl for GLIBC_2_0.
17010 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17011 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17013 logbl for GLIBC_2_0.
17014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17015 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17016
98a61bcb
L
170172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17018
a4f6e481
L
17019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17020 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17021
f63d5db6
L
17022 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17023 Use "neg %eax".
17024
98a61bcb
L
17025 * time/mktime.c: Update copyright years.
17026
95770f14
PE
170272012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17028
6226efbd
PE
17029 mktime: merge comment-quoting-style change from gnulib
17030 * time/mktime.c: Quote 'like this' in comments.
17031 The GNU coding standards suggest that we no longer quote `like this',
17032 as "`" and "'" are typically rendered asymmetrically nowadays.
17033 The typical gnulib style is to quote 'like this' when quoting
17034 code, and "like this" when quoting English.
17035
b99e4f78
PE
17036 * time/mktime.c (compile-command): Add "-I.".
17037
643e01e6
PE
17038 mktime: merge mktime-internal.h change from gnulib
17039 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17040
2554247d
PE
17041 mktime: merge time_r change from gnulib
17042 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17043
826dd0ab
PE
17044 mktime: merge DEBUG change from gnulib
17045 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17046 case system <time.h> has a #define.
17047
bd83aabe
PE
17048 mktime: merge <sys/types.h> change from gnulib
17049 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17050 since <time.t> is now guaranteed to define time_t.
17051
95770f14
PE
17052 mktime: merge HAVE_CONFIG_H change from gnulib
17053 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17054
5e1a27a9
L
170552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17056
0e44a77e
L
17057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17058 Use "neg %eax".
17059
5e1a27a9
L
17060 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17061 __rlim_t cast.
17062 (struct rusage): Use anonymous union to pad each field to
17063 __syscall_slong_t.
17064
46259bec
DM
170652012-05-21 David S. Miller <davem@davemloft.net>
17066
17067 * Makefules (o-iterator): Remove .s cases.
17068 (compile-command.s): Delete.
17069 (COMPILE.s): Delete.
17070 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17071
59f0c22e
JM
170722012-05-21 Joseph Myers <joseph@codesourcery.com>
17073
17074 * configure.in (libc_cv_predef_stack_protector): Only consider
17075 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17076 * configure: Regenerated.
17077
20c07380
L
170782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17079
bbb3154b
L
17080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17081 New macro. Use R*LP on int and pointer.
17082 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17083 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17084 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17085 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17086
20c07380
L
17087 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17088 [__WORDSIZE_TIME64_COMPAT32] instead of
17089 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17090 (struct utmp): Likewise.
17091 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17092 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17093 Renamed to ...
17094 (__WORDSIZE_TIME64_COMPAT32): This.
17095 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17096 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17097 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17098 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17099 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17100 (__WORDSIZE_TIME64_COMPAT32): New macro.
17101
d8d1017e
AJ
171022012-05-21 Andreas Jaeger <aj@suse.de>
17103
17104 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17105 only if [SHARED]. Add prototype for __wcschr_ia32.
17106
6c7fb145
RM
171072012-05-21 Roland McGrath <roland@hack.frob.com>
17108
17109 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17110 of %rbp unmolested in the jmp_buf while mangling the low bits.
17111 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17112 unmolested high bits of %rbp while demangling the low bits.
17113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17114
66274218
AJ
171152012-05-21 Andreas Jaeger <aj@suse.de>
17116
07c58f8f
AJ
17117 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17118 * sunrpc/svc_simple.c: Use it for registerrpc.
17119 * sunrpc/xcrypt.c: Use it for passwd2des.
17120
66274218
AJ
17121 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17122
61f65140
L
171232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17124
17125 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17126 Don't define if [__SYSCALL_WORDSIZE != 32].
17127 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17128 New macro.
17129
5fefb436
AJ
171302012-05-21 Bruno Haible <bruno@clisp.org>
17131 Andreas Jaeger <aj@suse.de>
17132
17133 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17134 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17135 inptr and inend for must_buffer_ch.
17136 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17137 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17138 * stdio-common/Makefile (tests): Remove bug15.
17139 (bug15-ENV): Remove macro.
17140 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17141 anymore.
17142
d8e272ab
AJ
171432012-05-19 Andreas Jaeger <aj@suse.de>
17144 Roland McGrath <roland@hack.frob.com>
17145
17146 * manual/contrib.texi: Completely rewritten. It contains now an
17147 alphabetical list of contributors and their contributions.
17148
4a56a162
RH
171492012-05-21 Richard Henderson <rth@twiddle.net>
17150
17151 * misc/getauxval.c (__getauxval): Use unsigned long int.
17152 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17153 (getauxval): Use unsigned long int.
17154
d024d23c
L
171552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17156
17157 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17158
cbc00a03
RM
171592012-05-21 Roland McGrath <roland@hack.frob.com>
17160
17161 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17162 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17163 __alignof__ (long double).
17164
478143fa
AZ
171652012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17166
17167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17168
c7683a6d
RH
171692012-05-20 Richard Henderson <rth@twiddle.net>
17170
17171 * misc/getauxval.c: New file.
17172 * misc/sys/auxv.h: New file.
17173 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17174 (routines): Add getauxval.
17175 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17176 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17177 * elf/dl-sysdep.c (_dl_auxv): Remove.
17178 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17179 * elf/dl-support.c (_dl_auxv): New variable.
17180 (_dl_aux_init): Initialize it.
17181 * manual/startup.texi (Auxiliary Vector): New node.
17182 * sysdeps/generic/bits/hwcap.h: New file.
17183 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17184 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17185 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17186 * sysdeps/sparc/sysdep.h: ... here. Include it.
17187 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17188 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17190 Update.
c7683a6d
RH
17191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17194 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17199
a6f1845d
AZ
172002012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17201
17202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17203
cbcbe830
DM
172042012-05-19 David S. Miller <davem@davemloft.net>
17205
17206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17207
e0b16cc2
JM
172082012-05-19 Joseph Myers <joseph@codesourcery.com>
17209
17210 [BZ #14123]
17211 * math/s_ccosh.c: Include <float.h>
17212 (__ccosh): Avoid internal overflow calculating sinh and cosh
17213 values before multiplying by sin and cos values.
17214 * math/s_ccoshf.c: Likewise.
17215 * math/s_ccoshl.c: Likewise.
17216 * math/s_csin.c: Likewise.
17217 * math/s_csinf.c: Likewise.
17218 * math/s_csinl.c: Likewise.
17219 * math/s_csinh.c: Likewise.
17220 * math/s_csinhf.c: Likewise.
17221 * math/s_csinhl.c: Likewise.
17222 * math/libm-test.inc (ccos_test): Add more tests.
17223 (ccosh_test): Likewise.
17224 (csin_test): Likewise.
17225 (csinh_test): Likewise.
17226 * sysdeps/i386/fpu/libm-test-ulps: Update.
17227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17228
6ad13e08
L
172292012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17230
f66f0ce8
L
17231 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17232 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17233
6ad13e08
L
17234 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17235
b1d072a7
JM
172362012-05-19 Joseph Myers <joseph@codesourcery.com>
17237
17238 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17239 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17240 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17241 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17242 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17243 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17244 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17245 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17246 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17247 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17248 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17249 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17250 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17251 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17252 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17253 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17254 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17255 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17256 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17257 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17258 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17259 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17260 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17261 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17262 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17263 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17264 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17265 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17266 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17267 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17268 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17269
9eae47cb
AJ
172702012-05-18 Andreas Jaeger <aj@suse.de>
17271
17272 * csu/.gitignore: Delete.
17273
bb07f69f
L
172742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17275
17276 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17277 (timex): Use __syscall_slong_t.
17278
e6bdb741
AJ
172792012-05-18 Andreas Jaeger <aj@suse.de>
17280 Carlos O'Donell <carlos_odonell@mentor.com>
17281
17282 * manual/install.texi (Configuring and compiling): Update
17283 description about files modified in the source directory.
d6c33fda 17284 * INSTALL: Regenerated.
e6bdb741 17285
1b74487e
L
172862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17287
17288 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17289 value. Use "or" to set return value to -1.
17290 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17291 negate return value.
17292
a88b64b9
TMQMF
172932012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17294
17295 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17296 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17297 failure if the compiler has Graphite support disabled.
17298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17299 Likewise.
17300 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17301 CFLAGS-memmove.c): Likewise.
17302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17303 Likewise.
17304
3707636e
L
173052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17306
610b8622
L
17307 * sysdeps/x86_64/x32/_itoa.h: New file.
17308
7cd195df
L
17309 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17310 getdents system call only if kernel and user dirents have the
17311 same d_ino and d_off.
17312
94b07d20
L
17313 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17314 LLONG_MAX != LONG_MAX.
17315 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17316 (_fitoa_word): Likewise.
17317
18298070
L
17318 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17319 years.
17320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17321 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17322 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17323
553c7ea4
L
17324 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17325 include <bits/wordsize.h>. Check __x86_64__ instead of
17326 __WORDSIZE.
17327 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17328 if __x86_64__ is defined. Use anonymous union on fpstate.
17329
3707636e
L
17330 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17331 anonymous union.
17332
b53ef01a
AS
173332012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17334
37fb1dc0
AS
17335 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17336 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17337 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17338 Refer to _rtld_local_ro instead of _rtld_global_ro.
17339 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17340 Likewise.
17341 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17342 Likewise.
17343 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17344 Likewise.
17345 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17346 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17347 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17348
b53ef01a
AS
17349 * sysdeps/powerpc/powerpc32/dl-machine.c
17350 (__elf_machine_runtime_setup) [PROF]: Don't reference
17351 _dl_prof_resolve.
17352
7a185db2
AJ
173532012-05-18 Andreas Jaeger <aj@suse.de>
17354
17355 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17356 function only available for GCCs before 3.4 since GCC 3.4
17357 introduced a builtin.
17358 (lrint): Likewise.
17359 (llrintf): Likewise.
17360 (llrint): Likewise.
17361 (fmaxf): Likewise.
17362 (fmax): Likewise.
17363 (fminf): Likewise.
17364 (fmin): Likewise.
17365 (rint): Likewise.
17366 (rintf): Likewise.
17367 (nearbyint): Likewise.
17368 (nearbyintf): Likewise.
17369 (ceil): Likewise.
17370 (ceilf): Likewise.
17371 (floor): Likewise.
17372 (floorf): Likewise.
17373
3e5aef87
L
173742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17375
428bd707
L
17376 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17377 on both fields and cast pointer to __syscall_ulong_t.
17378
3e5aef87
L
17379 * bits/types.h (__fsword_t): New type.
17380 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17381 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17383 (__FSWORD_T_TYPE): Likewise.
17384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17385 (__FSWORD_T_TYPE): Likewise.
17386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17387 (__FSWORD_T_TYPE): Likewise.
17388 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17389 (__FSWORD_T_TYPE): Likewise.
17390 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17391 __SWORD_TYPE with __fsword_t.
17392 (statfs64): Likewise.
17393
1ba7c3dc
DM
173942012-05-17 David S. Miller <davem@davemloft.net>
17395
17396 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17397
59910343
AJ
173982012-05-17 Andreas Jaeger <aj@suse.de>
17399
17400 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17401 warning.
17402
2e4c1e9e
L
174032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17404
17405 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17406
de7f5ce7
AJ
174072012-05-17 Andreas Jaeger <aj@suse.de>
17408
17409 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17410 when it is used.
17411
286abc3d
CM
174122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17413
17414 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17415
477cc68e
L
174162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17417
17418 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17419 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17420
1a0994f5
CD
174212012-05-17 Andreas Jaeger <aj@suse.de>
17422 Carlos O'Donell <carlos_odonell@mentor.com>
17423
17424 [BZ #14059]
17425 * sysdeps/x86_64/multiarch/init-arch.h
17426 (bit_YMM_Usable): Rename to...
17427 (bit_AVX_Usable): ... this.
17428 (bit_FMA4_Usable): New macro.
17429 (bit_XMM_state): New macro.
17430 (bit_YMM_state): New macro.
17431 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17432 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17433 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17434 (CPUID_OSXSAVE): New macro.
17435 (CPUID_AVX): New macro.
17436 (CPUID_FMA4): New macro.
17437 (index_YMM_Usable): Rename to...
17438 (index_AVX_Usable): ... this.
17439 (HAS_AVX): Use HAS_ARCH_FEATURE.
17440 (HAS_FMA4): Likewise.
17441 (HAS_YMM_USABLE): Remove.
17442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17443 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17444 are present.
17445 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17446 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17447 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17448 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17449 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17450
0af797de
CM
174512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17452
17453 * math/libm-test.c: Support platforms without multiple rounding modes.
17454 * math/bug-nextafter.c: Support platforms without FP exceptions.
17455 * math/bug-nexttoward.c: Likewise.
17456 * math/test-fenv.c: Likewise.
17457 * math/test-misc.c: Likewise.
17458 * stdlib/bug-getcontext.c: Likewise.
17459
e39745ff
AJ
174602012-05-17 Andreas Jaeger <aj@suse.de>
17461
17462 * manual/examples/search.c (critter_cmp): Change signature to
17463 avoid warnings.
17464 * manual/string.texi (Collation Functions): Likewise.
17465
48970aba
L
174662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * bits/types.h: Fold copyright years.
17469 * bits/typesizes.h: Likewise.
17470 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17474 * time/time.h: Likewise.
17475
bedee953
PP
174762012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17477
17478 [BZ #208]
17479 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17480 in instead of returning them. Return void.
17481 (__libc_mallinfo): Accumulate over all arenas.
17482 (__malloc_stats): Adjust for change in int_mallinfo interface.
17483
61653dfb
RM
174842012-05-16 Roland McGrath <roland@hack.frob.com>
17485
30b99d79
RM
17486 [BZ #10375]
17487 * configure.in (NM): Add AC_CHECK_TOOL for it.
17488 (libc_extra_cflags): New substituted variable.
17489 Check for -fstack-protector being used implicitly.
17490 * configure: Regenerated.
17491 * config.make.in (config-extra-cflags): New variable,
17492 gets @libc_extra_cflags@.
17493 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17494
61653dfb
RM
17495 [BZ #10375]
17496 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17497 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17498 * configure: Regenerated.
17499 * config.make.in (CPPUNDEFS): New substituted variable.
17500 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17501 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17502 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17503
661768bb
L
175042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17505
17506 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17507 (mq_attr): Use __syscall_slong_t.
17508
d4261567
L
175092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17512 Check __x86_64__ instead of __WORDSIZE.
17513 (_STAT_VER_LINUX): Likewise.
17514 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17515 __syscall_ulong_t and __syscall_slong_t.
17516 (stat64): Likewise.
17517
cf3ff365
L
175182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17519
17520 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17521
76cf3e4d
L
175222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17523
17524 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17525
a637753a
L
175262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17529 __syscall_ulong_t.
17530
d5e05119
L
17531 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17532 include <bits/wordsize.h>. Check __x86_64__ instead of
17533 __WORDSIZE.
17534 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17535 defined.
17536 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17537
f62ee380
L
17538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17539 include <bits/wordsize.h>. Check __x86_64__ instead of
17540 __WORDSIZE.
17541 (user_regs_struct): Use "__extension__ unsigned long long"
17542 instead of "unsigned long" if __x86_64__ is defined.
17543 (user): Likewise. Pad after pointer field if __ILP32__ is
17544 defined.
17545
4e124ced
JM
175462012-05-16 Joseph Myers <joseph@codesourcery.com>
17547
6a3951a0
JM
17548 * configure.in (makeinfo): Require version 4.5 or later. Allow
17549 versions 5 to 9.
17550 * configure: Regenerated.
17551 * manual/install.texi (texinfo): Increase version requirement to
17552 4.5 or later.
17553 * INSTALL: Regenerated.
17554
4e124ced
JM
17555 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17556
953ca31a
L
175572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17558
17559 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17560
617aca05
L
17561 * sysdeps/x86_64/x32/ffs.c: New file.
17562
5762f7ae
L
17563 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17564 __syscall_ulong_t.
17565 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17566 defined. Use __syscall_ulong_t.
17567 (shminfo): Use __syscall_ulong_t.
17568 (shm_info): Likewise.
17569
a26b6856
L
17570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17571 __syscall_ulong_t.
17572
cb2b9ef7
L
17573 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17574 <bits/wordsize.h>.
17575 (msgqnum_t): Use __syscall_ulong_t.
17576 (msglen_t): Likewise.
17577 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17578 __syscall_ulong_t.
17579
34683bb0
L
17580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17581 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17582
84a68786
L
17583 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17584
48baa5f1
L
17585 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17586 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17587
180be88b
L
17588 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17589 __syscall_slong_t.
17590
5e90c8ad
L
17591 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17592 include <bits/wordsize.h>. Check __x86_64__ instead of
17593 __WORDSIZE.
17594
23dfb58b
L
17595 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17596 "unsigned long long int" if __x86_64__ is defined.
17597 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17598
ce5d54b0
L
17599 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17600 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17601 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17602
13dc9eac
L
17603 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17604 <stdint.h>.
17605 (GET_PC): Cast to uintptr_t first.
17606 (GET_FRAME): Likewise.
17607 (GET_STACK): Likewise.
17608
a7895d15
L
17609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17612 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17614 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17615 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17616 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17617 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17619 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17620 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17622 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17623 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17625 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17627 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17631 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17633 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17635 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17636 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17637 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17638
656416c9
AS
176392012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17640
5bd66283
AS
17641 * Makerules (+depfiles): Also collect depfiles from .oS in
17642 $(extra-objs).
17643 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17644 .oS, $(libnldbl-routines)).
17645
656416c9
AS
17646 * Makerules (native-compile-mkdep-flags): Define.
17647 * sunrpc/Makefile (extra-objs): Add $(addprefix
17648 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17649 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17650 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17651 calling $(make-target-directory).
17652
a46f2169
L
176532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17654
17655 * bits/types.h (__snseconds_t): Removed.
17656 * time/time.h (struct timespec): Replace __snseconds_t with
17657 __syscall_slong_t.
17658 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17659 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17660 Likewise.
17661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17662 (__SNSECONDS_T_TYPE): Likewise.
17663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17664 (__SNSECONDS_T_TYPE): Likewise.
17665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17666 (__SNSECONDS_T_TYPE): Likewise.
17667
6af6528b
L
176682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17669
17670 * sysdeps/mach/hurd/bits/typesizes.h
17671 (__SYSCALL_SLONG_TYPE): New macro.
17672 (__SYSCALL_ULONG_TYPE): Likewise.
17673
de986b56
L
176742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17675
17676 * bits/types.h (__syscall_slong_t): New type.
17677 (__syscall_ulong_t): Likewise.
17678
17679 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17680 (__SYSCALL_ULONG_TYPE): Likewise.
17681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17682 (__SYSCALL_SLONG_TYPE): Likewise.
17683 (__SYSCALL_ULONG_TYPE): Likewise.
17684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17685 (__SYSCALL_SLONG_TYPE): Likewise.
17686 (__SYSCALL_ULONG_TYPE): Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17688 (__SYSCALL_SLONG_TYPE): Likewise.
17689 (__SYSCALL_ULONG_TYPE): Likewise.
17690
85736dc7
L
176912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17694 Add sigaltstack-offsets.sym.
17695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17696 <sigaltstack-offsets.h>.
17697 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17698 longjmp_msg pointer.
17699 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17700 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17701 signal stack.
17702 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17703
cc03b296
JM
177042012-05-15 Joseph Myers <joseph@codesourcery.com>
17705
a9538892
JM
17706 * elf/stackguard-macros.h: Remove file.
17707 * sysdeps/generic/stackguard-macros.h: New file.
17708 * sysdeps/i386/stackguard-macros.h: Likewise.
17709 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17710 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17711 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17712 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17713 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17714 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17715 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17716 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17717 <elf/stackguard-macros.h>.
17718
cc03b296
JM
17719 [BZ #14109]
17720 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17721 __aligned__ in attribute.
17722 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17723 (gregset_t): Likewise.
17724
93171016
L
177252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17726
17727 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17728 * sysdeps/x86_64/64/Implies-after: Here. New file.
17729 * sysdeps/x86_64/x32/Implies-after: New file.
17730
d86813a0
L
177312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17732
17733 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17734 and access return value for _dl_profile_fixup. Use R10_LP to
17735 load frame size.
17736
2953ec75
L
177372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17738
17739 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17740
3b550e9e
L
177412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17742
17743 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17744 * sysdeps/x86_64/x32/sysdep.h: New file.
17745
eda41706
L
177462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17749 * sysdeps/x86_64/setjmp.S: Likewise.
17750
9ea01d93
AZ
177512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17752
17753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17754 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17755 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17757 remove unused global constant.
17758
02a91938
CM
177592012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17760
17761 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17762 include of <not-cancel.h>.
17763
6540185f
RM
177642012-05-15 Roland McGrath <roland@hack.frob.com>
17765
17766 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17767
509072a0
AJ
177682012-05-15 Jeff Law <law@redhat.com>
17769 Andreas Jaeger <aj@suse.de>
17770
17771 [BZ #13594]
17772 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17773 out from...
17774 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17775 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17776 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17777 code changing __hst_map_handle.map.
17778
ba75122d
RM
177792012-05-15 Roland McGrath <roland@hack.frob.com>
17780
17781 * configure.in (sysnames): Look for Implies-before and Implies-after
17782 files.
17783 * configure: Regenerated.
17784
890d8bd8
L
177852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17786
17787 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17788 8-byte data alignment with LP_SIZE alignment.
17789
f6ee6623
L
177902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17791
17792 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17793 into R10_LP.
17794
ea2626f6
L
177952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17796
17797 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17798
085f715e
L
177992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17800
17801 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17804 Likewise.
17805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17806
be8498fc
L
178072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17810 (stackinfo_sub_sp): Likewise.
17811
70bc83b9
L
178122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17815 RAX_LP.
17816
9bc0b730
L
178172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17820 into R*_LP.
17821
6d2850e7
L
178222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17823
17824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17825 sizes into R*_LP.
17826
3cb84561
L
178272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17830
54e2ed81
L
178312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17832
17833 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17834 into R11_LP and load __x86_64_shared_cache_size_half into
17835 R8_LP.
17836
8a17f349
L
178372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17838
17839 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17840 R8_LP.
17841
777b1eea
AZ
178422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17843
17844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17845 logb for POWER7.
17846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17847 logbf for POWER7.
17848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17849 logbl for POWER7.
17850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17851 powerpc32/power7/fpu/s_logb.c via #include.
17852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17853 powerpc32/power7/fpu/s_logbf.c via #include.
17854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17855 powerpc32/power7/fpu/s_logbl.c via #include.
17856
d20d4ac2
JM
178572012-05-15 Joseph Myers <joseph@codesourcery.com>
17858
17859 * README.libm: Remove file.
17860
6cdef1ab
L
178612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17862
17863 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17864 count for x32. Use R*_LP and omit operand-size suffix.
17865
0b254d8f
L
178662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17867
17868 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17869 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17870 * sysdeps/x86_64/x32/shlib-versions: New file.
17871
ceb809dc
RM
178722012-05-14 Roland McGrath <roland@hack.frob.com>
17873
17874 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17875 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17876 Use _dl_fatal_printf instead.
17877
37f1abd4
JM
178782012-05-14 Joseph Myers <joseph@codesourcery.com>
17879
17880 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17881 set if not set by the user. Do not allow for being unset.
17882 * sysdeps/unix/sysv/linux/configure: Regenerated.
17883
11de3a33
L
178842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17885
17886 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17887 the `q' suffix from lea and replace .quad with ASM_ADDR.
17888
e02f153a
L
178892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17890
17891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17892 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17893 instead of $17.
17894 (PTR_DEMANGLE): Likewise.
17895
520ae0fd
L
178962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17897
17898 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17899 (LP_OP): Likewise.
17900 (ASM_ADDR): Likewise.
17901 (RAX_LP): Likewise.
17902 (RBP_LP): Likewise.
17903 (RBX_LP): Likewise.
17904 (RCX_LP): Likewise.
17905 (RDI_LP): Likewise.
17906 (RSI_LP): Likewise.
17907 (RSP_LP): Likewise.
17908 (R8_LP): Likewise.
17909 (R9_LP): Likewise.
17910 (R10_LP): Likewise.
17911 (R10_LP): Likewise.
17912 (R11_LP): Likewise.
17913 (R12_LP): Likewise.
17914 (R13_LP): Likewise.
17915 (R14_LP): Likewise.
17916 (R15_LP): Likewise.
17917
b985be81
L
179182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17919
17920 * sysdeps/x86_64/x32/dl-machine.h: New file.
17921
6a4888ff
AJ
179222012-05-14 Andreas Jaeger <aj@suse.de>
17923
17924 * manual/Makefile (subdir): Remove export of subdir.
17925 (all): Remove target.
17926 (.PHONY): Remove all from list.
17927 (mkinstalldirs): Remove.
17928 (.PHONY): Remove installdirs from list.
17929 ($(inst_infodir)/libc.info): Use make-target-directory.
17930 (installdirs): Remove.
17931 (subdir_%): Remove.
17932 (glibc-targets): Remove.
17933 (lib): Remove.
17934 (stubs): Remove.
17935 ($(objpfx)stubs ../po/manual.pot): Remove.
17936 ($(objpfx)stamp%): Remove.
17937 (make-target-directory): Remove.
17938 (subdir_install): Remove.
17939 (routines): Remove.
17940 (aux): Remove.
17941 (sources): Remove.
17942 (objects): Remove.
17943 (headers): Remove.
17944
17945 [BZ #13750]
17946 * manual/.gitignore: Remove, it's not needed anymore.
17947 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17948 all files in it.
17949 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17950 directory.
17951 (texis): Renamed to $(objpfx)texis.
17952 (texis-path): New, contains path to generated files.
17953 (chapters.%): Use texis-path for complete path, add extra argument
17954 libc-texinfo.sh.
17955 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17956 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17957 (summary,texi, stamp-summary): Use complete path of
17958 files. Generate files in build dir.
17959 (dir-add.texi): Build in build dir.
17960 (libm-err.texi,stamp-libm-err): Likewise.
17961 (version.texi, stamp-version): Likewise.
17962 (.%c.texi): Likewise.
17963 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17964 (mostlyclean): Remove target.
17965 (realclean): Remove target.
17966 (generated): Add new variable with contents from mostlyclean and
17967 realclean, remove entries duplicated in common-mostlyclean, add
17968 stamp-libm-err and stamp-version.
17969 (generated-dirs): Add libc directory.
17970 ($(inst_infodir)/libc.info): Install files from build dir.
17971
17972 * manual/install.texi (Configuring and compiling): Adjust since
17973 the info files are not part of the tar ball anymore.
17974
7ac77294
AJ
179752012-05-14 Andreas Jaeger <aj@suse.de>
17976
17977 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17978 variable.
17979
ffb7875d
JM
179802012-05-14 Joseph Myers <joseph@codesourcery.com>
17981
17982 [BZ #13717]
17983 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17984 to 2.2.0 where earlier.
17985 * sysdeps/unix/sysv/linux/configure: Regenerated.
17986 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17987 Remove conditional code.
17988 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17989 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17990 Remove conditional code.
17991 [!__NR_lchown]: Likewise.
17992 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17993 [__NR_lchown]: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17995 comment referencing __ASSUME_LCHOWN_SYSCALL.
17996 * sysdeps/unix/sysv/linux/i386/sigaction.c
17997 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17998 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17999 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18000 Remove conditional code.
18001 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18002 (__protocol_available): Remove #if 0 code.
18003 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18004 conditional code.
18005 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18006 * sysdeps/unix/sysv/linux/kernel-features.h
18007 (__ASSUME_GETCWD_SYSCALL): Don't define.
18008 (__ASSUME_REALTIME_SIGNALS): Likewise.
18009 (__ASSUME_PREAD_SYSCALL): Likewise.
18010 (__ASSUME_PWRITE_SYSCALL): Likewise.
18011 (__ASSUME_POLL_SYSCALL): Likewise.
18012 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18013 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18014 non-SPARC.
18015 (__ASSUME_SIOCGIFNAME): Don't define.
18016 (__ASSUME_MSG_NOSIGNAL): Likewise.
18017 (__ASSUME_SENDFILE): Define unconditionally.
18018 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18019 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18020 conditional code.
18021 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18022 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18023 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18024 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18025 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18026 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18027 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18032 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18052 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18053 Remove conditional code.
18054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18055 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18056 Remove conditional code.
18057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18058 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18059 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18060 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18061 Remove conditional code.
18062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18063 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18064 Remove conditional code.
18065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18066 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18067 Remove conditional code.
18068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18069 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18070 Remove conditional code.
18071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18072 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18073 Remove conditional code.
18074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18075 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18076 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18078 * sysdeps/unix/sysv/linux/sigaction.c
18079 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18080 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18081 * sysdeps/unix/sysv/linux/sigpending.c
18082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18084 * sysdeps/unix/sysv/linux/sigprocmask.c
18085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18087 * sysdeps/unix/sysv/linux/sigsuspend.c
18088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18091 (__libc_missing_rt_sigs): Remove.
18092 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18093 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18094 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18095 Remove conditional code.
18096 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18097 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18098 return 1.
18099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18100 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18101 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18102 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18103
1bfb7291
AJ
181042012-05-14 Andreas Jaeger <aj@suse.de>
18105
caae5a81
AJ
18106 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18107 it's not used in glibc.
18108 (__coshm1): Likewise.
18109 (__acosh1p): Likewise.
18110 (__sgn): Likewise.
18111
1bfb7291
AJ
18112 * manual/string.texi (Copying and Concatenation): Add missing
18113 variable in concat example.
18114 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18115
c044d724
L
181162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18117
144c5467 18118 [BZ #14103]
c044d724
L
18119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18120 __builtin_clzl with __builtin_clzll.
18121
2523c62b
L
181222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18123
18124 [BZ #14104]
18125 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18126 libc_freeres_ptr.
18127
d7bb4c42
LD
181282012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18129
18130 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18131 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18132 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18133 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18134
9dc4e1fb
MF
181352012-05-14 Mike Frysinger <vapier@gentoo.org>
18136
18137 * NEWS: Update ia64 info.
18138
c7df0112
AS
181392012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18140
18141 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18142 used as bcopy.
18143
dc70356c
TS
181442012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18145
18146 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18147 * sysdeps/unix/syscalls.list (dup3): Likewise.
18148 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18149 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18150
9fb1a21f
L
181512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18152
18153 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18154 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18155
4822a2a5
L
181562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18157
18158 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18159 thread pointer.
18160 (TLS_IE): Use mov/add instead of movq/addq to load thread
18161 pointer.
18162 (TLS_GD_PREFIX): New.
18163 (TLS_GD): Use it.
18164
842b81d6
DM
181652012-05-11 David S. Miller <davem@davemloft.net>
18166
18167 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18168 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18169 (_FPU_SETCW): Likewise.
18170
1cf463cd
L
181712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18172
18173 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18174 is 32-byte aligned.
18175
60cc4a18
AS
181762012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18177
18178 [BZ #11837]
18179 * iconvdata/gb18030.c: Update tables.
18180 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18181 characters specially.
18182 (BODY for TO_LOOP): Add encoding of missing ranges.
18183
febb44a4
TS
181842012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18185
18186 [BZ #13673]
18187 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18188 * sysdeps/mach/hurd/dup3.c: Likewise.
18189 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18190 * sysdeps/powerpc/memmove.c:: Likewise.
18191
0a10fb9e
L
181922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18193
18194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18195 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18196
df8a552f
L
181972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18198
18199 * elf/elf.h (R_X86_64_RELATIVE64): New.
18200 (R_X86_64_NUM): Updated.
18201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18202 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18203 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18204 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18205 tst-quad1pie tst-quad2pie
18206 (modules-names): Add tst-quadmod1 tst-quadmod2.
18207 ($(objpfx)tst-quad1): New dependency.
18208 ($(objpfx)tst-quad2): Likewise.
18209 ($(objpfx)tst-quad1pie): Likewise.
18210 ($(objpfx)tst-quad2pie): Likewise.
18211 * sysdeps/x86_64/tst-quad1.c: New file.
18212 * sysdeps/x86_64/tst-quad1pie.c: New file.
18213 * sysdeps/x86_64/tst-quad2.c: Likewise.
18214 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18215 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18216 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18217 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18218 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18219
f34d6f84
ST
182202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18221
f42d41d1
ST
18222 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18223 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18224 * streams/stropts.h (t_scalar_t): Define type.
18225
3c3571fc
ST
18226 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18227 (_PATH_PRESERVE): Set to "/var/lib".
18228 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18229
61f06bd3
ST
18230 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18231 instead of int.
18232
918d4d71
ST
18233 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18234 if __dir_mkfile succeeded.
18235
f34d6f84
ST
18236 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18237 checking for _hurd_dtablesize. Unlock it right after having
18238 finished _hurd_dtable allocation.
18239
10589b4a
TS
182402012-05-10 Thomas Schwinge <thomas@schwinge.name>
18241
674cdbc7
TS
18242 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18243 * sysdeps/mach/hurd/configure: Regenerated.
18244 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18245 special-casing to...
18246 * sysdeps/gnu/configure.in: ... this new file.
18247 * sysdeps/unix/sysv/linux/configure: Regenerated.
18248 * sysdeps/gnu/configure: New generated file.
18249
8e41b99f
TS
18250 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18251 for Linux: use nsec instead of usec, as well as:
18252 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18253 members of type struct timespec.
18254 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18255 New macros.
18256 (struct stat64): Likewise.
18257 (_STATBUF_ST_NSEC): New macro.
18258 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18259
10589b4a
TS
18260 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18261 __strtoul_internal rather than strtoul.
18262
63643c85
PT
182632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18264
18265 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18266 and reject them.
18267
3faebe6a
ST
182682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18269
18270 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18271 which preserves existing values.
18272 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18273
c6474b07
PT
182742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18275
18276 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18277 TIMEOUT values. Return EINVAL for NFDS values either negative or
18278 greater than FD_SETSIZE.
18279
1043890b
ST
182802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18281
18282 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18283 allocated, call __vm_protect to finish enabling the existing space, and
18284 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18285 allocate the remainder.
18286
37ed8b9b
PT
182872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18288
18289 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18290 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18291
db653660
ST
182922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18293
37ed8b9b
PT
18294 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18295 sysdeps/mach/hurd/readlink.c.
b29d4053 18296
db653660
ST
18297 * posix/tst-sysconf.c (posix_options): Only use
18298 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18299 _POSIX_SYNCHRONIZED_IO when they are defined
18300 * sysdeps/mach/hurd/bits/posix_opt.h:
18301 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18302 (_XOPEN_REALTIME): Undefine macro.
18303 (_XOPEN_REALTIME_THREADS): Undefine macro.
18304 (_XOPEN_SHM): Undefine macro.
18305 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18306 macro to -1.
18307 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18308 macro to -1.
18309 (_POSIX_ASYNC_IO): Undefine macro.
18310 (_POSIX_PRIORITIZED_IO): Undefine macro.
18311 (_POSIX_SPIN_LOCKS): Define macro to -1.
18312
ee16e894
ST
18313 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18314 SA_NODEFER, SA_RESETHAND.
18315 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18316 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18317 F_DUPFD_CLOEXEC.
18318
6103ae3b
TS
183192012-05-10 Thomas Schwinge <thomas@schwinge.name>
18320
18321 * elf/Makefile (pldd-modules): Define unconditionally.
18322
80b4e5f3
TS
183232012-05-10 Thomas Schwinge <thomas@schwinge.name>
18324
18325 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18326
edadcbd6
ST
183272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18328
18329 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18330 Return ENOENT when name is empty.
18331 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18332
80694780
TS
183332012-05-10 Thomas Schwinge <thomas@schwinge.name>
18334
1792c087
TS
18335 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18336
80694780
TS
18337 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18338
6b645f0d
ST
183392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18340
80694780
TS
18341 Fix mlock in all cases except non-readable pages.
18342 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18343 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18344
6b645f0d
ST
18345 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18346 (__mkdir): When path is `/', just fail with EEXIST.
18347 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18348
e468f8a3
TS
183492012-05-10 Thomas Schwinge <thomas@schwinge.name>
18350
18351 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18352 <sys/uio.h> (for writev).
18353 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18354 and <sys/param.h> (for MIN).
18355
a4186cff
PT
183562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18357
18358 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18359 REQUESTED_TIME. Properly set the remaining time and return EINTR
18360 if interrupted.
18361
510bbf14
TS
183622012-05-10 Thomas Schwinge <thomas@schwinge.name>
18363
18364 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18365 Depend on against $(link-rpcuserlibs).
18366
5d5722e8
ST
183672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18368
a4186cff
PT
18369 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18370 (__libc_stack_end): Do not use attribute_relro.
18371 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18372 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18373 to libthread-provided value.
a4186cff
PT
18374 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18375 attribute_relro.
5d5722e8 18376
37233df9
TS
183772012-05-10 Thomas Schwinge <thomas@schwinge.name>
18378
be971a2b
TS
18379 [BZ #3748]
18380 * bits/libc-lock.h (__libc_once_get): New macro.
18381 * sysdeps/mach/bits/libc-lock.h: Likewise.
18382 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18384 instead of using implementation details.
18385
37233df9
TS
18386 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18387 * libio/freopen.c: Likewise.
18388 * libio/freopen64.c: Likewise.
18389 * misc/syslog.c: Likewise.
18390 * nscd/connections.c: Likewise.
18391 * nscd/netgroupcache.c: Likewise.
18392 * sysdeps/posix/getcwd.c: Likewise.
18393
38de94a5
RM
183942012-05-10 Roland McGrath <roland@hack.frob.com>
18395
18396 * math/w_ilogbf.c: Add #include <limits.h>.
18397
67530489
ST
183982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18399
a4186cff 18400 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18401 path instead of returning without unlocking.
18402
67530489
ST
18403 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18404 immediate-write ioctls.
18405 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18406
5aa3a74a
TS
184072012-05-10 Thomas Schwinge <thomas@schwinge.name>
18408
18bad2ae
TS
18409 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18410 __builtin_frame_address instead of making assumptions about the
18411 location of the return address relative to DATA. Force early load of
18412 the return address.
18413 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18414 __builtin_frame_address.
18415
5aa3a74a
TS
18416 dup3 for GNU Hurd.
18417 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18418 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18419 implement dup3 and do some further code clean-ups.
18420 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18421 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18422
ecd0de9a
ST
184232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18424
cd9fa985
ST
18425 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18426
a4186cff
PT
18427 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18428 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18429 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18430 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18431 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18432 d->port.lock.
802ca5a5 18433
a4186cff
PT
18434 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18435 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18436 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18437
bcf55240
TS
184382012-05-10 Thomas Schwinge <thomas@schwinge.name>
18439
6960eb42
TS
18440 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18441 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18442 definitions.
18443
eb43375f
TS
18444 accept4 for GNU Hurd.
18445 * include/sys/socket.h (__libc_accept4): New prototype.
18446 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18447 to implement __libc_accept4.
18448 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18449 __libc_accept4.
18450 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18451
bcf55240
TS
18452 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18453 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18454 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18455 signal-defines.sym.
18456
6178c55b
ST
184572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18458
a4186cff 18459 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18460
6f080c2f
TS
184612012-05-10 Thomas Schwinge <thomas@schwinge.name>
18462
18463 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18464 assertion on O_CLOEXEC flag.
18465 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18466 * hurd/intern-fd.c: Likewise.
18467 * hurd/port2fd.c: Likewise.
18468
bcfe3a54
ST
184692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18470
18471 [BZ #3906]
18472 * bits/in.h (IPV6_PKTINFO): Define new macro.
18473 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18474
89c9aa49
AZ
184752012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18476
18477 [BZ #13954]
18478 [BZ #13955]
18479 [BZ #13956]
18480 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18482 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18483 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18485 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18486 * math/libm-test.inc (logb_test) : Additional logb tests.
18487
021db4be
AJ
184882012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18489 Andreas Jaeger <aj@suse.de>
18490
18491 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18492 * configure: Regenerated.
18493 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18494 * config.make.in (link-obsolete-rpc): New substituted variable.
18495 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18496 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18497 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18498 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18499 so that libc.a contains the symbols.
18500 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18501 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18502 * sunrpc/auth_none.c: Likewise.
18503 * sunrpc/auth_unix.c: Likewise.
18504 * sunrpc/authdes_prot.c: Likewise.
18505 * sunrpc/authuxprot.c: Likewise.
18506 * sunrpc/clnt_gen.c: Likewise.
18507 * sunrpc/clnt_perr.c: Likewise.
18508 * sunrpc/clnt_raw.c: Likewise.
18509 * sunrpc/clnt_simp.c: Likewise.
18510 * sunrpc/clnt_tcp.c: Likewise.
18511 * sunrpc/clnt_udp.c: Likewise.
18512 * sunrpc/clnt_unix.c: Likewise.
18513 * sunrpc/des_crypt.c: Likewise.
18514 * sunrpc/des_soft.c: Likewise.
18515 * sunrpc/get_myaddr.c: Likewise.
18516 * sunrpc/key_call.c: Likewise.
18517 * sunrpc/key_prot.c: Likewise.
18518 * sunrpc/netname.c: Likewise.
18519 * sunrpc/pm_getmaps.c: Likewise.
18520 * sunrpc/pm_getport.c: Likewise.
18521 * sunrpc/pmap_clnt.c: Likewise.
18522 * sunrpc/pmap_prot.c: Likewise.
18523 * sunrpc/pmap_prot2.c: Likewise.
18524 * sunrpc/pmap_rmt.c: Likewise.
18525 * sunrpc/publickey.c: Likewise.
18526 * sunrpc/rpc_cmsg.c: Likewise.
18527 * sunrpc/rpc_common.c: Likewise.
18528 * sunrpc/rpc_dtable.c: Likewise.
18529 * sunrpc/rpc_prot.c: Likewise.
18530 * sunrpc/rpc_thread.c: Likewise.
18531 * sunrpc/rtime.c: Likewise.
18532 * sunrpc/svc.c: Likewise.
18533 * sunrpc/svc_auth.c: Likewise.
18534 * sunrpc/svc_raw.c: Likewise.
18535 * sunrpc/svc_run.c: Likewise.
18536 * sunrpc/svc_tcp.c: Likewise.
18537 * sunrpc/svc_udp.c: Likewise.
18538 * sunrpc/svc_unix.c: Likewise.
18539 * sunrpc/svcauth_des.c: Likewise.
18540 * sunrpc/xcrypt.c: Likewise.
18541 * sunrpc/xdr.c: Likewise.
18542 * sunrpc/xdr_array.c: Likewise.
18543 * sunrpc/xdr_float.c: Likewise.
18544 * sunrpc/xdr_intXX_t.c: Likewise.
18545 * sunrpc/xdr_mem.c: Likewise.
18546 * sunrpc/xdr_rec.c: Likewise.
18547 * sunrpc/xdr_ref.c: Likewise.
18548 * sunrpc/xdr_sizeof.c: Likewise.
18549 * sunrpc/xdr_stdio.c: Likewise.
18550
b5c086a2
RM
185512012-05-10 Roland McGrath <roland@hack.frob.com>
18552
18553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18554 change. Update copyright years.
18555
6d74dd09
JM
185562012-05-10 Joseph Myers <joseph@codesourcery.com>
18557
18558 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18559
28e72501
MK
185602012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18561 Joseph Myers <joseph@codesourcery.com>
18562 Paul Pluzhnikov <ppluzhnikov@google.com>
18563
18564 [BZ #14012]
18565 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18566 requiring rpcgen.
18567 [cross-compiling] (extra-libs): Likewise.
18568 [cross-compiling] (extra-libs-others): Likewise.
18569 [cross-compiling] (librpcsvc-routines): Likewise.
18570 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18571 [cross-compiling] (omit-deps): Likewise.
18572 (sunrpc-CPPFLAGS): New variable.
18573 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18574 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18575 (cross-rpcgen-objs): New variable.
18576 (extra-objs): Append $(cross-rpcgen-objs).
18577 ($(cross-rpcgen-objs)): New rule.
18578 ($(objpfx)cross-rpcgen): Likewise.
18579 (rpcgen-cmd): Define to use $(built-program-file). Expand
18580 comment.
18581 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18582 ($(objpfx)x%.stmp): Likewise.
18583 * sunrpc/proto.h [IS_IN_build] (_): Define.
18584 [IS_IN_build] (_libc_intl_domainname): Likewise.
18585
c8c59454
L
185862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18587
18588 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18589 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18590 and R_X86_64_TPOFF64.
18591
6f27cd16
JM
185922012-05-10 Joseph Myers <joseph@codesourcery.com>
18593
18594 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18595 sysdeps/unix/sysv/syscalls.list.
18596 (stime): Likewise.
18597 (utime): Likewise.
18598 * sysdeps/unix/sysv/syscalls.list: Remove file.
18599
02467e1c
PE
186002012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18601
18602 [BZ #3440]
18603 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18604 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18605 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18606 (__LC_IDENTIFICATION): Make these macros useful in #if
18607 expressions, as required by C99.
18608
da392631
AS
186092012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18610
18611 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18612 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18613 after this.
18614
8115f29b
L
186152012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * stdlib/longlong.h: Updated from GCC.
18618
bdd74070
AJ
186192012-05-09 Andreas Jaeger <aj@suse.de>
18620
edfe0dbe
AJ
18621 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18622 default is first entry.
18623 (run_mode): Set type.
18624 (main): Remove informal message about syslog.
18625 (options): Fix typo.
18626
bcfe3a54
ST
18627 [BZ #14053]
18628 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18629 to asm.
bcfe3a54
ST
18630 (lrint): Likewise.
18631 (llrintf): Likewise.
18632 (llrint): Likewise.
18633 (rint): Likewise.
18634 (rintf): Likewise.
18635 (nearbyint): Likewise.
18636 (nearbyintf): Likewise.
bdd74070 18637
91d8d69e
AJ
186382012-05-09 Andreas Jaeger <aj@suse.de>
18639 Pedro Alves <palves@redhat.com>
18640
18641 * nscd/nscd.c (run_mode): Use enum.
18642 (main): Cleanup coding style issue.
18643
bb90b80b
AJ
186442012-05-09 Alexandre Oliva <aoliva@redhat.com>
18645 Andreas Jaeger <aj@suse.de>
18646
bcfe3a54
ST
18647 * nscd/nscd.c (go_background): Replaced with...
18648 (run_mode): ... this.
bb90b80b 18649 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18650 (options): Add -F --foreground.
18651 (main): Implement it.
18652 (parse_opt): Parse it.
bb90b80b 18653
1a4b75a1
AJ
186542012-05-09 Andreas Jaeger <aj@suse.de>
18655
18656 [BZ #14083]
18657 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18658 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18659 -Wconversion warning.
18660 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18661 Likewise.
18662
b1cc2472
JM
186632012-05-09 Joseph Myers <joseph@codesourcery.com>
18664
18665 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18666 == 0.
18667 (LC_ALL): Use macro-int-constant.
18668 (LC_COLLATE): Likewise.
18669 (LC_CTYPE): Likewise.
18670 (LC_MESSAGES): Likewise.
18671 (LC_MONETARY): Likewise.
18672 (LC_NUMERIC): Likewise.
18673 (LC_TIME): Likewise.
18674 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18675 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18677 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18678 Specify type.
18679 [C99-based standards] (float_t): Expect type.
18680 [C99-based standards] (double_t): Expect type.
18681 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18682 type.
18683 [C99-based standards] (HUGE_VALL): Likewise.
18684 [C99-based standards] (INFINITY): Likewise.
18685 [C99-based standards] (NAN): Likewise.
18686 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18687 [C99-based standards] (FP_NAN): Likewise.
18688 [C99-based standards] (FP_NORMAL): Likewise.
18689 [C99-based standards] (FP_SUBNORMAL): Likewise.
18690 [C99-based standards] (FP_ZERO): Likewise.
18691 [C99-based standards] (FP_FAST_FMA): Use
18692 optional-macro-int-constant. Specify type. Require == 1.
18693 [C99-based standards] (FP_FAST_FMAF): Likewise.
18694 [C99-based standards] (FP_FAST_FMAL): Likewise.
18695 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18696 [C99-based standards] (FP_ILOGBNAN): Likewise.
18697 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18698 Specify type.
18699 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18700 [C99-based standards] (math_errhandling): Specify type.
18701 [ISO99 || ISO11] (signgam): Do not allow.
18702 [non-C99-based standards] (copysignf): Do not allow.
18703 [non-C99-based standards] (exp2f): Likewise.
18704 [non-C99-based standards] (log2f): Likewise.
18705 [non-C99-based standards] (modff): Allow.
18706 [non-C99-based standards] (erff): Do not allow.
18707 [non-C99-based standards] (erfcf): Likewise.
18708 [non-C99-based standards] (gammaf): Likewise.
18709 [non-C99-based standards] (hypotf): Likewise.
18710 [non-C99-based standards] (j0f): Likewise.
18711 [non-C99-based standards] (j1f): Likewise.
18712 [non-C99-based standards] (jnf): Likewise.
18713 [non-C99-based standards] (lgammaf): Likewise.
18714 [non-C99-based standards] (tgammaf): Likewise.
18715 [non-C99-based standards] (y0f): Likewise.
18716 [non-C99-based standards] (y1f): Likewise.
18717 [non-C99-based standards] (ynf): Likewise.
18718 [non-C99-based standards] (isnanf): Likewise.
18719 [non-C99-based standards] (acoshf): Likewise.
18720 [non-C99-based standards] (asinhf): Likewise.
18721 [non-C99-based standards] (atanhf): Likewise.
18722 [non-C99-based standards] (cbrtf): Likewise.
18723 [non-C99-based standards] (expm1f): Likewise.
18724 [non-C99-based standards] (ilogbf): Likewise.
18725 [non-C99-based standards] (log1pf): Likewise.
18726 [non-C99-based standards] (logbf): Likewise.
18727 [non-C99-based standards] (nextafterf): Likewise.
18728 [non-C99-based standards] (remainderf): Likewise.
18729 [non-C99-based standards] (rintf): Likewise.
18730 [non-C99-based standards] (scalbf): Likewise.
18731 [non-C99-based standards] (copysignl): Likewise.
18732 [non-C99-based standards] (exp2l): Likewise.
18733 [non-C99-based standards] (log2l): Likewise.
18734 [non-C99-based standards] (modfl): Allow.
18735 [non-C99-based standards] (erfl): Do not allow.
18736 [non-C99-based standards] (erfcl): Likewise.
18737 [non-C99-based standards] (gammal): Likewise.
18738 [non-C99-based standards] (hypotl): Likewise.
18739 [non-C99-based standards] (j0l): Likewise.
18740 [non-C99-based standards] (j1l): Likewise.
18741 [non-C99-based standards] (jnl): Likewise.
18742 [non-C99-based standards] (lgammal): Likewise.
18743 [non-C99-based standards] (tgammal): Likewise.
18744 [non-C99-based standards] (y0l): Likewise.
18745 [non-C99-based standards] (y1l): Likewise.
18746 [non-C99-based standards] (ynl): Likewise.
18747 [non-C99-based standards] (isnanl): Likewise.
18748 [non-C99-based standards] (acoshl): Likewise.
18749 [non-C99-based standards] (asinhl): Likewise.
18750 [non-C99-based standards] (atanhl): Likewise.
18751 [non-C99-based standards] (cbrtl): Likewise.
18752 [non-C99-based standards] (expm1l): Likewise.
18753 [non-C99-based standards] (ilogbl): Likewise.
18754 [non-C99-based standards] (log1pl): Likewise.
18755 [non-C99-based standards] (logbl): Likewise.
18756 [non-C99-based standards] (nextafterl): Likewise.
18757 [non-C99-based standards] (remainderl): Likewise.
18758 [non-C99-based standards] (rintl): Likewise.
18759 [non-C99-based standards] (scalbl): Likewise.
18760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18761 [non-C99-based standards] (FP_*): Do not allow.
18762 [C99-based standards] (FP_*): Change to
18763 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18764 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18765 allow.
18766 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18767 (SIG_ERR): Likewise.
18768 [X/Open-based standards] (SIG_HOLD): Likewise.
18769 (SIG_IGN): Likewise.
18770 (SIGABRT): Use macro-int-constant. Specify type. Require
18771 positive value.
18772 (SIGFPE): Likewise.
18773 (SIGILL): Likewise.
18774 (SIGINT): Likewise.
18775 (SIGSEGV): Likewise.
18776 (SIGTER): Likewise.
18777 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18778 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18779 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18780 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18781 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18782 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18783 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18784 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18785 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18786 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18787 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18788 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18789 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18790 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18791 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18792 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18793 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18794 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18795 [X/Open-based standards] (SIGTRAP): Likewise.
18796 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18797 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18798 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18799 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18800 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18801 allow.
18802
b9f1922d
IW
188032012-05-08 Ian Wienand <ianw@vmware.com>
18804
18805 [BZ #14080]
18806 * time/tzset.c (__tzset_parse_tz): Update default rules for
18807 daylight time changes in the Energy Policy Act of 2005.
18808
1db86e88
AJ
188092012-05-09 Andreas Jaeger <aj@suse.de>
18810
18811 [BZ #13983]
18812 * elf/ldconfig.c (parse_conf): Change string to make clear that
18813 ldconfig only issued a warning if ld.so.conf does not exist.
18814
dee4a4e3
DM
188152012-05-08 David S. Miller <davem@davemloft.net>
18816
ee0db190
DM
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18818 movxtod instead of popping the value on the stack.
18819
dee4a4e3
DM
18820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18821
6a43ec98
CD
188222012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18823
18824 * config.h.in: Add HAVE_ARM_PCS_VFP.
18825
05c2c961
RMG
188262012-05-08 Roland Mc Grath <roland@hack.frob.com>
18827
bcfe3a54
ST
18828 [BZ #13979]
18829 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18830 checking but the checks are disabled for any reason.
05c2c961 18831
4b30f61a
L
188322012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18833
18834 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18835 and ELF64_R_TYPE with ELFW(R_TYPE).
18836
eee2bc67
JM
188372012-05-08 Joseph Myers <joseph@codesourcery.com>
18838
7ea5391a
JM
18839 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18840 (ulimit): Likewise.
18841
eee2bc67
JM
18842 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18843 (settimeofday): Likewise.
18844
abb66a67
MF
188452012-05-08 Mike Frysinger <vapier@gentoo.org>
18846
18847 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18848 a struct th_u2 inside the union, and move tu_block/tu_code into
18849 a new th_u3 union of tu_block/tu_code inside of that. Move
18850 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18851 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18852 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18853 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18854 (th_stuff): Change to th_u1.tu_stuff.
18855 (th_data): Define.
18856 (th_msg): Change to th_u1.th_u2.tu_data.
18857
7f18b530
DM
188582012-05-07 David S. Miller <davem@davemloft.net>
18859
05760585
DM
18860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18861
7f18b530
DM
18862 [BZ #14074]
18863 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18864 (SETUP_PIC_REG): Use it.
18865 (SETUP_PIC_REG_LEAF): Use it.
18866
495fd99f
JM
188672012-05-07 Joseph Myers <joseph@codesourcery.com>
18868
18869 [BZ #13885]
18870 [BZ #13923]
18871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18872 USE_AS_EXPM1L.
18873 (EXPL_FINITE): Likewise.
18874 (FLDLOG): Likewise.
18875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18876 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18877 e_expl.S.
18878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18879 USE_AS_EXPM1L.
18880 (EXPL_FINITE): Likewise.
18881 (FLDLOG): Likewise.
18882 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18883 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18884 e_expl.S.
18885 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18886 test of -max_value argument for long double.
18887 * sysdeps/i386/fpu/libm-test-ulps: Update.
18888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18889
6693d694
DM
188902012-05-06 David S. Miller <davem@davemloft.net>
18891
18892 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18893 quad soft-float symbols whose references which are compiler
18894 generated.
18895 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18896
6c23e11c
JM
188972012-05-06 Joseph Myers <joseph@codesourcery.com>
18898
d8b82cad
JM
18899 [BZ #13884]
18900 [BZ #13914]
18901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18902 USE_AS_EXP10L.
18903 (EXPL_FINITE): Likewise.
18904 (FLDLOG): Likewise.
18905 (c0): Likewise.
18906 (c1): Likewise.
18907 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18908 Adjust comments for base varying.
18909 (__expl_finite): Change alias to EXPL_FINITE.
18910 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18911 e_expl.S.
18912 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18913 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18915 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18917 USE_AS_EXP10L.
18918 (EXPL_FINITE): Likewise.
18919 (FLDLOG): Likewise.
18920 (c0): Likewise.
18921 (c1): Likewise.
18922 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18923 Adjust comments for base varying.
18924 (__expl_finite): Change alias to EXPL_FINITE.
18925 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18926 tests for bugs.
18927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18928
6c23e11c
JM
18929 [BZ #14064]
18930 * math/libm-test.inc (check_float_internal): Correct ulp
18931 calculation for subnormal expected results.
18932
29ba805c
AJ
189332012-05-06 Andreas Jaeger <aj@suse.de>
18934
18935 * Makeconfig (+math-flags): New, set to -frounding-math.
18936 (+cflags): Add +math-flags so that all of glibc gets compiled with
18937 it.
18938
18939 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18940
7b17aeda
JM
189412012-05-05 Joseph Myers <joseph@codesourcery.com>
18942
5779f134
JM
18943 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18944 Disable one test.
18945
41498f4d
JM
18946 [BZ #13787]
18947 [BZ #13922]
18948 [BZ #14036]
18949 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18950 (__ieee754_expl): Allow for and saturate large arguments.
18951 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18952 (u_threshold): Likewise.
18953 (__exp): Call __ieee754_exp before checking for overflow and
18954 underflow.
18955 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18956 (u_threshold): Likewise.
18957 (__expf): Call __ieee754_expf before checking for overflow and
18958 underflow.
18959 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18960 (u_threshold): Likewise.
18961 (__expl): Call __ieee754_expl before checking for overflow and
18962 underflow.
18963 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18964 (__ieee754_expl): Allow for and saturate large arguments.
18965 * math/libm-test.inc (exp_test): Add another test. Do not allow
18966 missing overflow exception on overflow.
18967 (expm1_test): Do not allow missing overflow exception on overflow.
18968
6698b8bf
JM
18969 * sysdeps/i386/fpu/e_expl.c: Move to ...
18970 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18971 rather than using inline asm.
18972 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18973 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18974 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18975
7b17aeda
JM
18976 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18977 (nice): Likewise.
18978 (poll): Likewise.
18979 (signal): Likewise.
18980 (time): Likewise.
18981 (times): Likewise.
18982
f7c85819
JM
189832012-05-04 Joseph Myers <joseph@codesourcery.com>
18984
18985 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18986 sysdeps/unix/common/syscalls.list.
18987 (fchmod): Likewise.
18988 (fchown): Likewise.
18989 (ftruncate): Likewise.
18990 (getrusage): Likewise.
18991 (gettimeofday): Likewise.
18992 (setpgid): Likewise.
18993 (setregid): Likewise.
18994 (setreuid): Likewise.
18995 (sigaction): Likewise.
18996 (truncate): Likewise.
18997 (vhangup): Likewise.
18998 * sysdeps/unix/common/syscalls.list: Remove file.
18999 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19000 * sysdeps/unix/sysv/linux/Implies: Likewise.
19001
336270d0
L
190022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19003
19004 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19006 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19007 Moved to ...
19008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19009 Here.
19010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19011 to ...
19012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19014 to ...
19015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19016 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19017 to ...
19018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19020 to ...
19021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19022 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19023 to ...
19024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19026 to ...
19027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19028 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19029 to ...
19030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19031 Here.
19032 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19033 to ...
19034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19035 Here.
19036 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19037 to ...
19038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19039 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19040 Moved to ...
19041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19042 Here.
19043 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19044 to ...
19045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19046
d128e450
JM
190472012-05-04 Joseph Myers <joseph@codesourcery.com>
19048
fa8ee516
JM
19049 * sysdeps/unix/common/bits/dirent.h: Remove file.
19050 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19051
d128e450
JM
19052 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19053 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19054 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19055 * sysdeps/unix/bsd/isatty.c: Likewise.
19056 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19057 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19058 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19059
ff8faaf0 190602012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19061
62881be4 19062 [BZ #13563]
31dc8730
AZ
19063 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19064 long double comparison inaccuracies.
19065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19067
6fef930c
AS
190682012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19069
19070 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19071 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19072
8f203e6c
JM
190732012-05-04 Joseph Myers <joseph@codesourcery.com>
19074
19075 [BZ #14049]
19076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19077 nonzero digits before rounding a hex value.
19078 * stdlib/tst-strtod.c (tests): Add another test.
19079
5197d9c2
AK
190802012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19081
19082 * sysdeps/s390/fpu/libm-test-ulps: Update.
19083
f0c1dedf
AJ
190842012-05-03 Andreas Jaeger <aj@suse.de>
19085
19086 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19087 does not get optimized out.
19088 (malloc_opt_barrier): New.
19089
a65ef2ae 190902012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19091 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19092
2b942cb7 19093 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19094 intermediate file deletion.
2b942cb7 19095 (generated): Add .symlist files.
a65ef2ae 19096
54b71e02
JM
190972012-05-03 Joseph Myers <joseph@codesourcery.com>
19098
19099 [BZ #13775]
19100 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19101 Redirect under this condition.
19102 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19103 [__USE_GNU] (__dprintf_chk): Not under this condition.
19104 [__USE_GNU] (__vdprintf_chk): Likewise.
19105 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19106 under this condition.
19107 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19108 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19109 [__USE_XOPEN2K8] (vdprintf): Likewise.
19110 [__USE_GNU] (__dprintf_chk): Not under this condition.
19111 [__USE_GNU] (__vdprintf_chk): Likewise.
19112 [__USE_GNU] (dprintf): Likewise.
19113 [__USE_GNU] (vdprintf): Likewise.
19114
d3dfcc41
RM
191152012-05-03 Roland McGrath <roland@hack.frob.com>
19116
19117 * elf/Makefile (common-generated): Set this instead of generated for
19118 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19119 $(all-built-dso)-derived lists.
19120
7ac30cc5
AJ
191212012-05-03 Andreas Jaeger <aj@suse.de>
19122
0c51e550
AJ
19123 * sysdeps/i386/fpu/libm-test-ulps: Update.
19124
7ac30cc5
AJ
19125 * FAQ: Removed.
19126 * FAQ.in: Likewise.
19127 * scripts/gen-FAQ.pl: Likewise.
19128 * manual/install.texi (Installation): Point to online location of
19129 FAQ.
19130 * Makefile (files-for-dist): Remove FAQ.
19131 (FAQ): Remove.
19132
d4c2917f
AM
191332012-05-02 Allan McRae <allan@archlinux.org>
19134
19135 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19136 (LDFLAGS-reldepmod5.so): Likewise.
19137 (LDFLAGS-reldep6mod1.so): Likewise.
19138 (LDFLAGS-reldep6mod4.so): Likewise.
19139 (LDFLAGS-reldep8mod3.so): Likewise.
19140 (LDFLAGS-unload4mod1.so): Likewise.
19141 (LDFLAGS-unload4mod2.so): Likewise.
19142 (LDFLAGS-tst-initorder): Likewise.
19143 (LDFLAGS-tst-initordera2.so): Likewise.
19144 (LDFLAGS-tst-initordera3.so): Likewise.
19145 (LDFLAGS-tst-initordera4.so): Likewise.
19146 (LDFLAGS-tst-initorderb2.so): Likewise.
19147 (LDFLAGS-noload): Likewise.
19148 (LDFLAGS-next): Likewise.
19149 (LDFLAGS-order2mod1.so): Likewise.
19150 (LDFLAGS-order2mod2.so): Likewise.
19151 (LDFLAGS-tst-initorder2): Likewise.
19152 (LDFLAGS-tst-initorder2a.so): Likewise.
19153 (LDFLAGS-tst-initorder2b.so): Likewise.
19154 (LDFLAGS-tst-initorder2c.so): Likewise.
19155 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19156
d77f993f
DM
191572012-05-02 David S. Miller <davem@davemloft.net>
19158
19159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19160
171a70b4
PP
191612012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19162
19163 [BZ #14055]
19164 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19165
0be196ad
AJ
191662012-05-02 Andreas Jaeger <aj@suse.de>
19167
19168 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19169 since we manipulate rounding mode.
19170 (CPPFLAGS-test-idouble.c): Likewise.
19171 (CPPFLAGS-test-ifloat.c): Likewise.
19172 (CFLAGS-test-ldouble.c): Likewise.
19173 (CFLAGS-test-double.c): Likewise.
19174 (CFLAGS-test-float.c): Likewise.
19175 (CFLAGS-test-misc.c): Likewise.
19176 (CFLAGS-test-test-fenv.c): Likewise.
19177
4f9d04aa
AZ
191782012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19179
2b942cb7
RM
19180 [BZ #2550]
19181 [BZ #2570]
19182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19183 comparisons to determine direction to adjust input.
4f9d04aa 19184
82a79e7d
RM
191852012-05-01 Roland McGrath <roland@hack.frob.com>
19186
f5a01ca9
RM
19187 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19188 output to the target.
19189
90fe4186
RM
19190 * scripts/localplt.awk: New file.
19191 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19192 (check-localplt-CFLAGS): Variable removed.
19193 ($(all-built-dso:=.jmprel)): New static pattern rule.
19194 (generated): Add those targets.
19195 (localplt-built-dso): New variable.
19196 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19197
19198 * elf/check-localplt.c: File removed.
19199
82397ed6
RM
19200 * scripts/check-execstack.awk: New file.
19201 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19202 (check-execstack-CFLAGS): Variable removed.
19203 ($(objpfx)check-execstack.h): Target removed.
19204 ($(objpfx)execstack-default): New target.
19205 (generated): Add that instead of check-execstack.h.
19206 ($(all-built-dso:=.phdr)): New static pattern rule.
19207 (generated): Add those targets.
19208 * elf/check-execstack.c: File removed.
19209
82a79e7d
RM
19210 * scripts/check-textrel.awk: New file.
19211 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19212 (check-textrel-CFLAGS): Variable removed.
19213 (all-built-dso): Use := to define.o
19214 ($(all-built-dso:=.dyn)): New static pattern rule.
19215 (generated): Add those targets.
19216 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19217 * config.make.in (READELF): New substituted variable.
19218 * elf/check-textrel.c: File removed.
19219
62fde54f 192202012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19221
615605c9
JM
19222 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19223 allow.
19224 * conform/data/ctype.h-data [C99-based standards] (isblank):
19225 Expect function.
19226 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19227 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19229 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19230 Specify type. Require positive value.
19231 (EILSEQ): Likewise.
19232 (ERANGE): Likewise.
19233 [ISO || POSIX] (EILSEQ): Do not expect.
19234 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19235 Specify type. Require positive value.
19236 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19237 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19238 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19239 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19240 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19241 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19242 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19243 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19244 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19245 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19246 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19247 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19248 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19249 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19250 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19251 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19252 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19253 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19254 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19255 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19257 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19264 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19265 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19266 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19268 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19269 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19270 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19271 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19272 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19273 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19274 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19275 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19276 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19295 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19303 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19310 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19311 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19312 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19313 Require >= 2.
19314 (FLT_ROUNDS): Expect as macro, not constant.
19315 (FLT_MANT_DIG): Use macro-int-constant.
19316 (DBL_MANT_DIG): Likewise.
19317 (LDBL_MANT_DIG): Likewise.
19318 (FLT_DIG): Likewise.
19319 (DBL_DIG): Likewise.
19320 (LDBL_DIG): Likewise.
19321 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19322 (DBL_MIN_EXP): Likewise.
19323 (LDBL_MIN_EXP): Likewise.
19324 (FLT_MAX_EXP): Use macro-int-constant.
19325 (DBL_MAX_EXP): Likewise.
19326 (LDBL_MAX_EXP): Likewise.
19327 (FLT_MAX_10_EXP): Likewise.
19328 (DBL_MAX_10_EXP): Likewise.
19329 (LDBL_MAX_10_EXP): Likewise.
19330 (FLT_MAX): Use macro-constant.
19331 (DBL_MAX): Likewise.
19332 (LDBL_MAX): Likewise.
19333 (FLT_EPSILON): Use macro-constant. Give upper bound.
19334 (DBL_EPSILON): Likewise.
19335 (LDBL_EPSILON): Likewise.
19336 (FLT_MIN): Likewise.
19337 (DBL_MIN): Likewise.
19338 (LDBL_MIN): Likewise.
19339 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19340 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19341 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19342 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19343 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19344 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19345 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19346 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19347 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19348 [ISO11] (FLT_TRUE_MIN): Likewise.
19349 [ISO11] (LDBL_TRUE_MIN): Likewise.
19350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19351 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19352 (SCHAR_MIN): Use macro-int-constant. Specify type.
19353 (SCHAR_MAX): Likewise.
19354 (UCHAR_MAX): Likewise.
19355 (CHAR_MIN): Likewise.
19356 (CHAR_MAX): Likewise.
19357 (MB_LEN_MAX): Use macro-int-constant.
19358 (SHRT_MIN): Use macro-int-constant. Specify type.
19359 (SHRT_MAX): Likewise.
19360 (USHRT_MAX): Likewise.
19361 (INT_MAX): Likewise.
19362 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19363 bound negative.
19364 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19365 bound with "U".
19366 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19367 bound with "L".
19368 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19369 bound negative. Suffix upper bound with "L".
19370 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19371 bound with "UL".
19372 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19373 Specify type.
19374 [C99-based standards] (LLONG_MAX): Likewise.
19375 [C99-based standards] (ULLONG_MAX): Likewise.
19376 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19377 == 0.
19378 [ISO11] (max_align_t): Require type.
19379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19380
c9140a62
JM
19381 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19382 from $CFLAGS, without defining away __attribute__ calls.
19383 (checknamespace): Use $CFLAGS_namespace.
19384
9af0bf29
JM
19385 * conform/conformtest.pl (@keywords): Only include C99 keywords
19386 for standards based on C99 or C11.
19387
343222a2
JM
19388 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19389 Disable tests.
19390 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19391 UNIX98]: Likewise.
19392
661f8cf0
JM
19393 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19394 usability of symbols in #if.
19395
ee74b9cb
JM
19396 * conform/conformtest.pl: If macro or constant types start
19397 "promoted:", expect the symbol to be of the following type
19398 promoted by the integer promotions.
62fde54f 19399
aafc49b3
JM
19400 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19401 in one place. Also handle "macro-constant".
19402
fefdf574
JM
19403 * conform/conformtest.pl: Only accept expected macro values with
19404 "==". Parse all "macro" lines in one place.
19405 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19406
f2d922fe
JM
19407 * conform/conformtest.pl: Handle braced types on "constant" lines
19408 instead of handling "typed-constant".
19409 * conform/data/signal.h-data: Use "constant" instead of
19410 "typed-constant".
19411
d22956c9
JM
19412 * conform/conformtest.pl: Handle "optional-" at start of lines in
19413 one place rather than duplicating several cases. Handle each
19414 format of "macro" line with initial "optional-".
19415
028e2e38
JM
19416 * conform/conformtest.pl: Only accept expected constant or
19417 optional-constant values with "==". Parse all "constant" lines in
19418 one place. Parse all "optional-constant" lines in one place.
19419 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19420 * conform/data/fmtmsg.h-data: Likewise.
19421 * conform/data/netinet/in.h-data: Likewise.
19422 * conform/data/tar.h-data: Likewise.
19423 * conform/data/limits.h-data: Use "==" form on "constant" and
19424 "optional-constant" lines.
19425
1b8f2850
JM
19426 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19427 Use -std=c99 for XOPEN2K.
19428 (@knownproblems): Remove.
19429 (newtoken): Don't check %isknown.
19430
a05a144b
JM
19431 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19432 Do not expect macro.
19433 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19434 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19435 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19436 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19437 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19438 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19439 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19440 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19441 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19442 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19443 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19444 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19445 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19446 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19447 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19448 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19449 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19450 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19451 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19452 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19453 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19455 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19456 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19457 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19458 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19459 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19460 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19461 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19462 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19463 [XPG3] (acosh): Likewise.
19464 [XPG3] (asinh): Likewise.
19465 [XPG3] (atanh): Likewise.
19466 [XPG3] (cbrt): Likewise.
19467 [XPG3] (expm1): Likewise.
19468 [XPG3] (ilogb): Likewise.
19469 [XPG3] (log1p): Likewise.
19470 [XPG3] (logb): Likewise.
19471 [XPG3] (nextafter): Likewise.
19472 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19473 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19474 [XPG3] (remainder): Likewise.
19475 [XPG3] (rint): Likewise.
19476 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19477 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19478 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19479 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19482 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19483 [UNIX98 || XOPEN2K] (scalb): Expect.
19484 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19485 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19621
73c5ebe3
JM
19622 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19623 _XOPEN_SOURCE_EXTENDED for XPG4.
19624
39c33b6c
JM
19625 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19626
62fde54f
JM
19627 * Makeconfig (localtime): Remove variable.
19628 (inst_localtime-file): Likewise.
19629
0741d64c
AS
196302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19631
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19633 Update.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19635 Update.
19636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19637 Update.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19639 Update.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19641 Update.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19643 Update.
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19645 Update.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19647 Update.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19649 Update.
19650
7cb029ee
JM
196512012-05-01 Joseph Myers <joseph@codesourcery.com>
19652
19653 [BZ #2550]
19654 [BZ #2570]
19655 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19656 comparisons to determine direction to adjust input.
19657 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19658 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19659 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19660 Likewise.
19661 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19662 Likewise.
19663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19664 Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19667 Likewise.
19668 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19669 Likewise.
19670 * math/libm-test.inc (nexttoward_test): Add more tests.
19671
412bd966
AS
196722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19673
19674 [BZ #14040]
19675 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19676 in version GLIBC_2.1, not GLIBC_2.0.
19677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19678 Likewise.
19679
9568c0c2
JM
196802012-04-30 Joseph Myers <joseph@codesourcery.com>
19681
adfbc8ac
JM
19682 [BZ #13942]
19683 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19684 (1 - x) * (1 + x).
19685 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19686 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19687 * math/libm-test.inc (acos_test): Add more tests.
19688 (asin_test): Likewise.
19689 * sysdeps/i386/fpu/libm-test-ulps: Update.
19690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19691
5ba3cc69
JM
19692 [BZ #14034]
19693 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19694 of square root.
19695 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19696 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19697 * math/libm-test.inc (acos_test_tonearest): New function.
19698 (acos_test_towardzero): Likewise.
19699 (acos_test_downward): Likewise.
19700 (acos_test_upward): Likewise.
19701 (asin_test_tonearest): Likewise.
19702 (asin_test_towardzero): Likewise.
19703 (asin_test_downward): Likewise.
19704 (asin_test_upward): Likewise.
19705 (main): Call the new functions.
19706 * sysdeps/i386/fpu/libm-test-ulps: Update.
19707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19708
9568c0c2
JM
19709 [BZ #13884]
19710 [BZ #13924]
19711 * math/e_exp10.c: Include <float.h>.
19712 (__ieee754_exp10): Handle underflow here rather than multiplying
19713 large negative argument by M_LN10.
19714 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19715 of __ieee754_expf.
19716 * math/e_exp10l.c: Include <float.h>.
19717 (__ieee754_exp10l): Handle underflow here rather than multiplying
19718 large negative argument by M_LN10l.
19719 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19720 spurious overflow exception on underflow.
19721
5ac3ea17
MP
197222012-04-29 Marek Polacek <polacek@redhat.com>
19723
19724 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19725 (__fortify_function): New macro.
19726 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19727 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19728 __extern_always_inline.
19729 * libio/bits/stdio2.h: Likewise.
19730 * libio/bits/stdio.h: Likewise.
19731 * string/string.h: Likewise.
19732 * string/bits/string3.h: Likewise.
19733 * include/stdio.h: Likewise.
19734 * stdlib/bits/stdlib.h: Likewise.
19735 * stdlib/stdlib.h: Likewise.
19736 * rt/bits/mqueue2.h: Likewise.
19737 * rt/mqueue.h: Likewise.
19738 * posix/bits/unistd.h: Likewise.
19739 * posix/unistd.h: Likewise.
19740 * io/bits/poll2.h: Likewise.
19741 * io/bits/fcntl2.h: Likewise.
19742 * io/fcntl.h: Likewise.
19743 * io/sys/poll.h: Likewise.
19744 * misc/bits/syslog.h: Likewise.
19745 * misc/bits/syslog-ldbl.h: Likewise.
19746 * misc/sys/syslog.h: Likewise.
19747 * socket/bits/socket2.h: Likewise.
19748 * socket/sys/socket.h: Likewise.
19749 * debug/tst-chk1.c: Likewise.
19750 * wcsmbs/bits/wchar2.h: Likewise.
19751 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19752 * wcsmbs/wchar.h: Likewise.
19753
ecf0ebfb
AJ
197542012-04-29 Andreas Jaeger <aj@suse.de>
19755
19756 * Makerules (tests): Remove enable-check-abi protection.
19757 (check-abi-warn): Remove.
19758 (check-abi-%): Remove check-abi-warn usage.
19759
19760 * configure.in: Remove check-abi configure option.
19761 * configure: Regenerated.
19762 * config.make.in (enable-check-abi): Remove.
19763
6d5c57fa
AS
197642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19765
24c5d07e 19766 [BZ #14033]
ded5180a
AS
19767 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19768 double functions to double *_finite functions.
19769
7e0d315d
AS
19770 [BZ #13941]
19771 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19772 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19773 LDBL_MIN_EXP.
19774 * stdio-common/Makefile (tests): Add tst-sprintf3.
19775 * stdio-common/tst-sprintf3.c: New file.
19776
6d5c57fa
AS
19777 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19778 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19779
0749ff8b
JM
197802012-04-28 Joseph Myers <joseph@codesourcery.com>
19781
19782 * conform/conformtest.pl: Remove duplicate typed-constant
19783 handling.
19784
8dbd5d7b
DM
197852012-04-28 David S. Miller <davem@davemloft.net>
19786
19787 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19788 (check-abi-%): Remove AWK script prerequisite and explicit
19789 abilist directory.
19790 (check-abi): Rewrite to just diff the symlist with the abilist.
19791 (config-tls, config-abi-config): Delete, no longer used.
19792 (update-abi-%): Remove AWK script and explicit abilist directory.
19793 (update-abi): Rewrite to simply compare and conditionally copy the
19794 symlist and the sysdep abilist file. Remove update-abi-config
19795 checks.
19796 * abilist/ld.abilist: Remove.
19797 * abilist/libBrokenLocale.abilist: Remove.
19798 * abilist/libanl.abilist: Remove.
19799 * abilist/libcrypt.abilist: Remove.
19800 * abilist/libdl.abilist: Remove.
19801 * abilist/librt.abilist: Remove.
19802 * abilist/libthread_db.abilist: Remove.
19803 * abilist/libutil.abilist: Remove.
19804 * scripts/extract-abilist.awk: Remove.
19805 * scripts/merge-abilist.awk: Remove.
19806 * sysdeps/generic/libcidn.abilist: New file.
19807 * sysdeps/generic/libnss_compat.abilist: New file.
19808 * sysdeps/generic/libnss_db.abilist: New file.
19809 * sysdeps/generic/libnss_dns.abilist: New file.
19810 * sysdeps/generic/libnss_files.abilist: New file.
19811 * sysdeps/generic/libnss_hesiod.abilist: New file.
19812 * sysdeps/generic/libnss_nis.abilist: New file.
19813 * sysdeps/generic/libnss_nisplus.abilist: New file.
19814 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19815 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19816 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19817 file.
19818 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19819 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19820 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19821 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19822 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19823 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19824 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19825 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19826 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19827 file.
19828 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19829 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19830 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19831 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19832 file.
19833 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19834 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19835 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19836 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19837 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19838 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19839 file.
19840 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19841 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19843 file.
19844 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19846 New file.
19847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19848 New file.
19849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19850 New file.
19851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19852 New file.
19853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19854 New file.
19855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19856 New file.
19857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19858 New file.
19859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19860 New file.
19861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19862 New file.
19863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19864 New file.
19865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19866 New file.
19867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19868 New file.
19869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19870 New file.
19871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19872 file.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19874 New file.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19876 New file.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19878 file.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19880 New file.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19882 New file.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19884 file.
19885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19886 New file.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19888 New file.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19890 New file.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19892 New file.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19894 New file.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19896 New file.
19897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19899 file.
19900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19901 New file.
19902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19903 file.
19904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19905 file.
19906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19907 file.
19908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19909 file.
19910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19911 file.
19912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19913 New file.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19915 file.
19916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19917 file.
19918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19919 New file.
19920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19921 file.
19922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19924 file.
19925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19926 New file.
19927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19928 file.
19929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19930 file.
19931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19932 file.
19933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19934 file.
19935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19936 file.
19937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19938 New file.
19939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19940 file.
19941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19942 file.
19943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19944 New file.
19945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19946 file.
19947 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19948 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19949 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19950 file.
19951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19952 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19953 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19954 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19955 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19956 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19957 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19958 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19959 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19960 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19963 file.
19964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19965 New file.
19966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19967 file.
19968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19969 file.
19970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19971 file.
19972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19973 file.
19974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19975 file.
19976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19977 New file.
19978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19979 New file.
19980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19981 file.
19982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19983 New file.
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19985 file.
19986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19988 file.
19989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19990 New file.
19991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19992 file.
19993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19994 file.
19995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19996 file.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19998 file.
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20000 file.
20001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20002 New file.
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20004 New file.
20005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20006 file.
20007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20008 New file.
20009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20010 file.
20011
41d73a1b
JM
200122012-04-28 Joseph Myers <joseph@codesourcery.com>
20013
20014 * conform/conformtest.pl: Fix typo in handling typed-constant from
20015 allow-header.
20016
28aeeda4
JM
200172012-04-27 Joseph Myers <joseph@codesourcery.com>
20018
adae8f5e
JM
20019 * README: Cut down references to pre-2.6 Linux kernels and
20020 Linuxthreads. Update lists of configurations in libc and ports
20021 and sort alphabetically. Say "or newer" with Linux kernel version
20022 requirements.
20023
28aeeda4
JM
20024 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20025
a462cb63
RA
200262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20027
20028 [BZ #887]
20029 * math/libm-test.inc (logb_test_downward): New test to expose
20030 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20031 rounding mode.
20032
6ad3493e
JM
200332012-04-27 Joseph Myers <joseph@codesourcery.com>
20034
20035 [BZ #14027]
20036 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20037 to be done.
20038 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20039 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20040
2ce4f015
JM
200412012-04-26 Joseph Myers <joseph@codesourcery.com>
20042
5aeb141a
JM
20043 * sysdeps/unix/i386/brk.S: Remove file.
20044 * sysdeps/unix/i386/dl-brk.S: Likewise.
20045 * sysdeps/unix/i386/pipe.S: Likewise.
20046 * sysdeps/unix/i386/sigreturn.S: Likewise.
20047 * sysdeps/unix/i386/syscall.S: Likewise.
20048 * sysdeps/unix/i386/vfork.S: Likewise.
20049 * sysdeps/unix/i386/wait.S: Likewise.
20050
7143acae
JM
20051 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20052 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20053
2ce4f015
JM
20054 * configure.in (arm*-none*): Do not allow without
20055 --enable-hacker-mode.
20056 (netbsd*): Remove case setting base_os.
20057 (386bsd*): Likewise.
20058 (freebsd*): Likewise.
20059 (bsdi*): Likewise.
20060 (osf*): Likewise.
20061 (sunos*): Likewise.
20062 (ultrix*): Likewise.
20063 (newsos*): Likewise.
20064 (dynix*): Likewise.
20065 (*bsd*): Likewise.
20066 (sysv*): Likewise.
20067 (isc*): Likewise.
20068 (esix*): Likewise.
20069 (sco*): Likewise.
20070 (minix*): Likewise.
20071 (irix4*): Likewise.
20072 (irix6*): Likewise.
20073 (solaris[2-9]*): Likewise.
20074 (none): Likewise.
20075 * configure: Regenerated.
20076
0ac229c8
AZ
200772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20078
20079 [BZ #11521]
20080 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20081 overflow or cancellation in calculating denominator.
20082 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20084 down expression to avoid unexpected rounding in newer GCCs.
20085 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20086
33f244f4
DM
200872012-04-26 David S. Miller <davem@davemloft.net>
20088
20089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20090 long-double compat symbols.
20091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20104
cfa1f3e8
DM
201052012-04-25 David S. Miller <davem@davemloft.net>
20106
20107 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20108 HWCAP_* values only after the memory barriers have been defined.
20109 (atomic_full_barrier): Define.
20110 (atomic_read_barrier): Define.
20111 (atomic_write_barrier): Define.
20112
6e236b92
SP
201132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20114
20115 * shlib-versions: Add libgcc_s version information.
20116 * sysdeps/generic/libgcc_s.h: Remove.
20117 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20118 libgcc_s.h.
20119 * sysdeps/gnu/unwind-resume.c: Likewise.
20120 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20121
aab39a09
DM
201222012-04-25 David S. Miller <davem@davemloft.net>
20123
20124 * sysdeps/unix/sparc/brk.S: Delete.
20125 * sysdeps/unix/sparc/dl-brk.S: Delete.
20126 * sysdeps/unix/sparc/pipe.S: Delete.
20127 * sysdeps/unix/sparc/sysdep.S: Delete.
20128 * sysdeps/unix/sparc/sysdep.h: Delete.
20129 * sysdeps/unix/sparc/vfork.S: Delete.
20130 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20131 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20133 ret_ERRVAL, r0, r1, MOVE): Define.
20134 (JUMPTARGET): Remove.
20135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20136 sysdeps/unix/sparc/sysdep.h
20137 (ENTRY, END): Remove.
20138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20139
a3cc4f48
JM
201402012-04-25 Joseph Myers <joseph@codesourcery.com>
20141
2ed8cda2
JM
20142 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20143 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20144 -DIS_IN_build.
20145
35d76d59
JM
20146 * timezone/README: Update upstream location and email address for
20147 tzcode and tzdata.
20148 * timezone/zdump.c: Update from tzcode 2012b.
20149 * timezone/zic.c: Likewise.
20150
a3cc4f48
JM
20151 * configure.in (libc_cv_as_needed): Remove test.
20152 * configure: Regenerated.
20153 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20154 conditional definition.
20155 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20156 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20157 * config.make.in (have-as-needed): Remove variable.
20158
ceab42c3
SP
201592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20160 Paul Pluzhnikov <ppluzhnikov@google.com>
20161
20162 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20163 strings correctly.
20164
3ce2865f
CLT
201652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20166
20167 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20168 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20169 * sysdeps/sh/strlen.S: Likewise.
20170
f37e0d68
JM
201712012-04-24 Joseph Myers <joseph@codesourcery.com>
20172
ae186e9a
JM
20173 * sysdeps/unix/fork.S: Remove file.
20174 * sysdeps/unix/i386/fork.S: Likewise.
20175 * sysdeps/unix/sparc/fork.S: Likewise.
20176
b96914af
JM
20177 * sysdeps/unix/system.c: Remove file.
20178 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20179
f37e0d68
JM
20180 * sysdeps/unix/getegid.S: Remove file.
20181 * sysdeps/unix/geteuid.S: Likewise.
20182
87ef29ca
RM
201832012-04-24 Roland McGrath <roland@hack.frob.com>
20184
83bcd236
RM
20185 * scripts/check-localplt.awk: New file.
20186 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20187 of diff.
20188 * scripts/data/localplt-generic.data: Add a comment.
20189
87ef29ca
RM
20190 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20191 NODE when __dir_mkfile failed.
20192 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20193 Reported by Ludovic Courtès <ludo@gnu.org>.
20194
e5a6e567
AJ
201952012-04-24 Andreas Jaeger <aj@suse.de>
20196
20197 * Makerules (common-clean): Also remove gen-as-const-headers
20198 files.
20199
c1820385
JM
202002012-04-24 Joseph Myers <joseph@codesourcery.com>
20201
20202 * Makerules (native-compile): Do not change working directory for
20203 build. Use $(OUTPUT_OPTION) in command.
20204 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20205
94e02fc4
AZ
202062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20207
20208 [BZ #13886]
20209 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20210 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20211 * math/libm-test.inc (floor_test): Add more tests.
20212 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20213
3a533ca3
JM
202142012-04-24 Joseph Myers <joseph@codesourcery.com>
20215
940ab4b3
JM
20216 * sysdeps/unix/getdents.c: Remove file.
20217 * sysdeps/unix/sysv/getdents.c: Likewise.
20218 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20219
90e037bd
JM
20220 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20221 sysdeps/unix/mman/syscalls.list.
20222 (mmap): Likewise.
20223 (mprotect): Likewise.
20224 (msync): Likewise.
20225 (munmap): Likewise.
20226 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20227 * sysdeps/unix/mman/syscalls.list: Remove.
20228 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20229
3a533ca3
JM
20230 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20231 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20232 * configure: Regenerated.
20233 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20234 $(libgcc_s_suffix).
20235 * config.make.in (libgcc_s_suffix): Remove variable.
20236
1ad743de
JM
202372012-04-23 Joseph Myers <joseph@codesourcery.com>
20238
4ad451e2
JM
20239 * sysdeps/unix/sysv/gethostname.c: Move to ...
20240 * sysdeps/posix/gethostname.c: ... here.
20241
5e37ce39
JM
20242 * sysdeps/unix/execve.S: Remove file.
20243
1ad743de
JM
20244 * sysdeps/unix/_exit.S: Remove file.
20245
4e681b5b
AJ
202462012-04-23 Andreas Jaeger <aj@suse.de>
20247
20248 [BZ #13739]
20249 * manual/Makefile: Remove make dist support, there's no
20250 need for a stand-alone documentation tar ball.
20251 (TEXI2DVI): Define always, it's not in Makeconfig.
20252 (dist): Removed.
20253 (tar-it): Removed.
20254 (edition): Removed.
20255 (glibc-doc-$(edition).tar): Removed
20256 (%.Z): Removed.
20257 (%.gz): Removed.
20258 (%.uu): Removed.
20259 (ETAGS): Remove, it's in Makeconfig.
20260 (move-if-change): Remove, it's in Makeconfig.
20261
38686a03 202622012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20263
20264 [BZ #13970]
20265 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20266 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20267 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20268 (strtod_l, strtof_l, strtold_l): Remove __wur.
20269 It is not necessarily an error to ignore strtol's return value.
20270 One can reliably look at the stored endptr to decide whether
20271 the number had valid syntax.
20272
7c0616fa
AJ
202732012-04-21 Andreas Jaeger <aj@suse.de>
20274
803cb6b7 20275 [BZ #13739]
7c0616fa
AJ
20276 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20277
b0fe253f
JM
202782012-04-21 Joseph Myers <joseph@codesourcery.com>
20279
20280 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20281 * sysdeps/unix/sysv/Versions: Remove file.
20282
8280f22d
MT
202832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20284
20285 [BZ #13927]
20286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20287
75ce411f 202882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20289
20290 [BZ #7064]
20291 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20292 version from __vm86.
20293
097d59fa
JM
202942012-04-20 Joseph Myers <joseph@codesourcery.com>
20295
a90f3bcb
JM
20296 * sysdeps/unix/common/lxstat.c: Remove file.
20297 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20298
edc7ea78
JM
20299 * sysdeps/unix/sysv/Makefile: Remove file.
20300
cb78c221
JM
20301 * sysdeps/unix/sysv/direct.h: Remove file.
20302
efa6a45f
JM
20303 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20304 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20305 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20306 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20307 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20308 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20309 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20310
9c9f2d0c
JM
20311 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20312
4541c83b
JM
20313 * sysdeps/unix/xmknod.c: Remove file.
20314 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20315
f5d153a0
JM
20316 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20317
aa746595
JM
20318 * sysdeps/unix/sysv/i386/time.S: Remove file.
20319
cce5905e
JM
20320 * sysdeps/unix/fxstat.c: Remove file.
20321 * sysdeps/unix/xstat.c: Likewise.
20322 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20323
37fa3841
JM
20324 * sysdeps/unix/sysv/sigaction.c: Remove file.
20325
ff1962a3
JM
20326 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20327 (sysdep_headers): Remove variable.
20328 [termio.h not in sysdep_headers] (generated): Likewise.
20329 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20330 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20331 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20332 * sysdeps/unix/sysv/tcflow.c: Likewise.
20333 * sysdeps/unix/sysv/tcflush.c: Likewise.
20334 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20335 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20336 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20337 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20338 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20339
e7740d31
JM
20340 * sysdeps/unix/siglist.c: Remove file.
20341
ee06f18b
JM
20342 * sysdeps/unix/getppid.S: Remove file.
20343
097d59fa
JM
20344 * sysdeps/unix/mkdir.c: Remove file.
20345 * sysdeps/unix/rmdir.c: Likewise.
20346
ff3d51ec
AS
203472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20348
20349 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20350 ERR_MAX value.
20351 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20352 errlist-compat value.
20353
50f81fd7
DM
203542012-04-18 David S. Miller <davem@davemloft.net>
20355
20356 * sysdeps/generic/memcopy.h (reg_char): Delete.
20357 * debug/strcat_chk.c: Use char, not reg_char.
20358 * debug/strcpy_chk.c: Likewise.
20359 * debug/strncat_chk.c: Likewise.
20360 * debug/strncpy_chk.c: Likewise.
20361 * string/memchr.c: Likewise.
20362 * string/memrchr.c: Likewise.
20363 * string/rawmemchr.c: Likewise.
20364 * string/strcat.c: Likewise.
20365 * string/strchr.c: Likewise.
20366 * string/strchrnul.c: Likewise.
20367 * string/strcmp.c: Likewise.
20368 * string/strcpy.c: Likewise.
20369 * string/strncat.c: Likewise.
20370 * string/strncmp.c: Likewise.
20371 * string/strncpy.c: Likewise.
20372
8ff41c46
WS
203732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20374
20375 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20376 __builtin_memcopy is called when src and dest ranges are known to not
20377 overlap.
20378
6b652f46
WS
203792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20380
20381 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20382 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20383 fwd_align_merge macro call.
20384 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20385 bwd_align_merge macro call.
20386 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20387
b282631e
WS
203882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20389
20390 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20391 bwd_align_merge macros.
20392 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20393 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20394 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20395
95aa737c
DM
203962012-04-18 David S. Miller <davem@davemloft.net>
20397
20398 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20399
7a99a614
AJ
204002012-04-18 Andreas Jaeger <aj@suse.de>
20401
20402 [BZ# 6794]
20403 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20404 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20405 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20406
20407 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20408 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20409 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20410
20411 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20412 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20413 Adjust for changed ldbl-128 files.
20414
20415 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20416 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20418
e5270c23
DM
204192012-04-17 David S. Miller <davem@davemloft.net>
20420
20421 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20422
fb5e92c9
AS
204232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20424
20425 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20426 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20427 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20428 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20429 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20430 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20431
76da7265
AZ
204322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20433
20434 [BZ #6794]
20435 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20436 * math/libm-test.inc: Add ilogb errno and exception tests.
20437 * math/w_ilogb.c: New file: ilogb wrapper.
20438 * math/w_ilogbf.c: New file: ilogbf wrapper.
20439 * math/w_ilogbl.c: New file: ilogbl wrapper.
20440 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20441 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20442 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20443 exception being thrown with 0.0 as argument.
20444 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20445 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20446 exception being thrown with 0.0 as argument.
20447 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20448 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20449 exception being thrown with 0.0 as argument.
20450 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20451 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20452 exception being thrown with 0.0 as argument.
20453 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20454 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20455 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20456 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20457 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20458 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20459 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20460 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20461 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20462
0396e69d
PB
204632012-04-17 Petr Baudis <pasky@ucw.cz>
20464
20465 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20466 with altivec.
20467
750b5926
MP
204682012-04-16 Marek Polacek <polacek@redhat.com>
20469
20470 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20471
751728a1
MP
204722012-04-16 Marek Polacek <polacek@redhat.com>
20473
20474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20475 operands of fdivp instruction.
20476
34a27407
L
204772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20478
20479 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20480 * elf/tst-auditmod3b.c: Likewise.
20481 * elf/tst-auditmod4b.c: Likewise.
20482 * elf/tst-auditmod5b.c: Likewise.
20483 * elf/tst-auditmod6b.c: Likewise.
20484 * elf/tst-auditmod6c.c: Likewise.
20485 * elf/tst-auditmod7b.c: Likewise.
20486 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20487 * sysdeps/x86_64/preconfigure.in: Likewise.
20488 * sysdeps/x86_64/preconfigure: Regenerated.
20489
7e73e17d
L
204902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20491
20492 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20493 __ILP32__.
20494
c7a6ab72
AB
204952012-04-13 Antoine Balestrat <merkil33@gmail.com>
20496
20497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20498 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20499
a9e8e0e0
CL
205002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20501
20502 [BZ #13973]
20503 * locale/iso-639.def: Fix gl language name. Spotted by
20504 Yaron Shahrabani.
20505
ec98af7d
RM
205062012-04-12 Roland McGrath <roland@hack.frob.com>
20507
20508 [BZ #2074]
20509 * libio/libio.h (__io_write_fn): Update comment.
20510
247c3ede
PB
205112012-04-12 Petr Baudis <pasky@ucw.cz>
20512
20513 [BZ #2074]
20514 * stdio.texi (Hook Functions): The user provided writer function
20515 is not allowed to return -1.
20516
55939d6d
DM
205172012-04-11 David S. Miller <davem@davemloft.net>
20518
20519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20520
90020f5a
MF
205212012-04-11 Mike Frysinger <vapier@gentoo.org>
20522
20523 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20524 Add a leading slash to rtkaio.
20525
288f9098
JM
205262012-04-11 Jim Meyering <meyering@redhat.com>
20527
90020f5a
MF
20528 [BZ #11959]
20529 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20530 It is not necessarily an error to ignore fwrite's return
20531 value. One can reliably use ferror to test for errors after
20532 the fact.
288f9098 20533
4be2b570
L
205342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20535
20536 * bits/types.h (__snseconds_t): New type.
20537 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20538
20539 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20541 (__SNSECONDS_T_TYPE): Likewise.
20542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20543 (__SNSECONDS_T_TYPE): Likewise.
20544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20545 (__SNSECONDS_T_TYPE): Likewise.
20546
288f9098 205472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20548
20549 [BZ #2636]
20550 * manual/time.texi (Processor Time): Return type of times is
20551 elapsed real time since an arbitrary point in the past.
20552 (CPU Time): Move CLK_TCK from here...
20553 (Processor Time): ...to here. Correct description.
20554 * manual/conf.texi (Constants for Sysconf): Correct description of
20555 _SC_CLK_TCK.
20556
d7dd4413
DM
205572012-04-10 David S. Miller <davem@davemloft.net>
20558
20559 [BZ #13967]
20560 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20561 where the is a gap between DT_REL(A) and DT_JMPREL.
20562
b46068fc
L
205632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20564
20565 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20566 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20567 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20568
73d65cc3
SP
205692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20570
20571 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20572 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20573 (dl_main): Handle --inhibit-cache.
20574 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20575 _dl_inhibit_cache.
20576 * elf/dl-load.c (_dl_map_object): Use it.
20577 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20578
bcc8d661
JM
205792012-04-09 Joseph Myers <joseph@codesourcery.com>
20580
8f9a2fae
JM
20581 [BZ #13872]
20582 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20583 (__ieee754_powl): Saturate large exponents rather than testing for
20584 overflow of y*log2(x).
20585 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20586 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20587 exceptions.
20588
bcc8d661
JM
20589 [BZ #11521]
20590 * math/s_ctan.c: Include <float.h>.
20591 (__ctan): Avoid internal overflow or cancellation in calculating
20592 denominator.
20593 * math/s_ctanf.c: Likewise.
20594 * math/s_ctanl.c: Likewise.
20595 * math/s_ctanh.c: Likewise.
20596 * math/s_ctanhf.c: Likewise.
20597 * math/s_ctanhl.c: Likewise.
20598 * math/libm-test.inc (ctan_test): Add more tests.
20599 (ctanh_test): Likewise.
20600 * sysdeps/i386/fpu/libm-test-ulps: Update.
20601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20602
823fbbb4
AJ
206032012-04-09 Andreas Jaeger <aj@suse.de>
20604
03879793
AJ
20605 [BZ #6894]
20606 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20607 is an optional BSD extension.
20608
823fbbb4
AJ
20609 [BZ #10254]
20610 * manual/stdio.texi (Opening Streams): Document additional fopen
20611 parameters.
20612
8de131cb
RM
206132012-04-09 Roland McGrath <roland@hack.frob.com>
20614
20615 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20616 %eax without telling the compiler.
20617
c0ed9d7d
CD
206182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20619
20620 [BZ # 13963]
20621 * manual/install.texi: Use sourceware.org.
20622
c483f6b4
JM
206232012-04-09 Joseph Myers <joseph@codesourcery.com>
20624
d7dd9453
JM
20625 [BZ #13873]
20626 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20627 (__ieee754_pow): Generate overflow and underflow using huge*huge
20628 and tiny*tiny rather than just returning constant infinity or zero
20629 for large exponents.
20630 * math/libm-test.inc (pow_test): Require overflow exceptions for
20631 applicable cases of large exponents.
20632
c483f6b4
JM
20633 [BZ #706]
20634 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20635 (__ieee754_pow): Use iterative multiplication algorithm only for
20636 integer exponents with absolute value below 1024. Check for odd
20637 integer exponents when using algorithm for real exponents.
20638 * math/libm-test.inc (pow_test): Add more tests.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20640
d2de7579
JM
206412012-04-08 Joseph Myers <joseph@codesourcery.com>
20642
20643 [BZ #13705]
20644 * math/libm-test.inc (exp_test): Do not allow overflow exception
20645 on underflow test.
20646
f77f1232
AJ
206472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20648
20649 [BZ #13705]
20650 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20651 instead of __kernel_standard_f.
20652
3884932b
MF
206532012-04-08 Mike Frysinger <vapier@gentoo.org>
20654
20655 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20656 * sysdeps/x86_64/memset_chk.S: Likewise.
20657
54472e9c
AJ
206582012-04-08 Andreas Jaeger <aj@suse.de>
20659
6ab0fbfc
AJ
20660 [BZ #10153]
20661 * manual/startup.texi (Environment Access): Describe return value
20662 for putenv and setenv.
20663
61efba8c
AJ
20664 [BZ #6895]
20665 * manual/filesys.texi (Directory Entries): Add description for
20666 DT_LNK.
20667
95c3f29a
AJ
20668 [BZ #6890]
20669 * manual/filesys.texi (Directory Entries): Clarify that it's file
20670 system not operating system in the description of DT_UNKNOWN.
20671
54472e9c
AJ
20672 [BZ #6578]
20673 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20674
624254b1
SC
206752012-04-08 Stephen Compall <s11@member.fsf.org>
20676
20677 [BZ #6649]
20678 * manual/llio.texi (Opening and Closing Files): Add cross
20679 reference to explain mode argument.
20680
1e4920e0
MF
206812012-04-07 Mike Frysinger <vapier@gentoo.org>
20682
20683 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20684 * sysdeps/x86_64/memset_chk.S: Likewise.
20685
5ed848f3
DM
206862012-04-07 David S. Miller <davem@davemloft.net>
20687
20688 * elf/elf.h (R_SPARC_WDISP10): Define.
20689 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20690 R_SPARC_SIZE32.
20691 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20692 R_SPARC_SIZE64 and R_SPARC_H34.
20693
96154cd8
CD
206942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20695
20696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20697 conditions and remove no longer applicable assertion.
20698
9904dc47
L
206992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20700
20701 * bits/byteswap.h: Include <features.h>.
20702 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20703 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20704
f8887d0a
L
207052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20706
20707 * bits/byteswap.h (__bswap_16): Removed.
20708 Include <bits/byteswap-16.h> to get __bswap_16.
20709 * sysdeps/i386/bits/byteswap.h: Likewise.
20710 * sysdeps/s390/bits/byteswap.h: Likewise.
20711 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20712 * bits/byteswap-16.h: New file.
20713 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20714 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20715 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20716 * string/Makefile (headers): Add bits/byteswap-16.h.
20717
62470f60
PP
207182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20719
20720 [BZ #13895]
20721 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20722 extra indirection.
20723 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20724 * nss/tst-nss-static.c: New.
20725
4dad7bab
RM
207262012-04-06 Robert Millan <rmh@gnu.org>
20727
20728 [BZ #6486]
20729 * manual/llio.texi (File Position Primitive): lseek
20730 refers to WHENCE when it really means OFFSET.
20731
e9142a17
AJ
207322012-04-06 Andreas Jaeger <aj@suse.de>
20733
2c040eff
AJ
20734 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20735 strncmp declarations.
20736
e9142a17
AJ
20737 * abilist/libc.abilist: Add __poll and __ppoll.
20738
ff9f1c5f
DM
207392012-04-05 David S. Miller <davem@davemloft.net>
20740
dcd2ae90
DM
20741 * scripts/check-local-headers.sh: Accept a host triplet in the
20742 path matched by the exclude regexp.
20743
993eb054
DM
20744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20745 definition.
20746 * sysdeps/powerpc/powerpc32/dl-machine.h
20747 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20748 * sysdeps/s390/s390-32/dl-machine.h
20749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20750 * sysdeps/sparc/sparc32/dl-machine.h
20751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20752 * sysdeps/sparc/sparc64/dl-machine.h
20753 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20754
ff9f1c5f
DM
20755 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20756 lazy binding.
48e2e132 20757 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20758 undefined symbol errors.
20759
48e2e132 20760 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20761 DT_NEEDED entries.
20762
e80d6f94
MM
207632012-04-05 Michael Matz <matz@suse.de>
20764
20765 [BZ #13592]
20766 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20767
349fa79f
AJ
207682012-04-05 Andreas Jaeger <aj@suse.de>
20769
20770 [BZ #13908]
20771 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20772 comment.
20773
f402708f
KK
207742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20775
20776 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20777 which ROUND is no valid rounding mode.
20778
2ecccfc9
KK
207792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20780
20781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20782 read again.
20783 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20784
8a53f50f
KK
207852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20786
20787 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20788 an exception using FPU order intentionally.
20789
207902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20791
20792 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20793 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20794 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20795 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20796
d653abb7
SJ
207972012-04-05 Simon Josefsson <simon@josefsson.org>
20798
20799 [BZ #12340]
20800 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20801 EINVAL when BUFLEN is too smal.
20802
c3b1bf7d
TS
208032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20804
20805 [BZ #13553]
20806 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20807 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20808
b1aa60f3
AJ
208092012-04-03 Andreas Jaeger <aj@suse.de>
20810
c3b1bf7d 20811 [BZ #13938]
67f60a26
AJ
20812 * manual/setjmp.texi (System V contexts): Fix sentence.
20813
b1aa60f3
AJ
20814 [BZ #13926]
20815 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20816 New macro for this case.
20817 [!__GNUC__] (__bswap_64): New inline function for this case.
20818 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20819 * bits/byteswap.h: Likewise.
20820 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20821 ull, guard with __GLIBC_HAVE_LONG_LONG.
20822
20823 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20824 __GLIBC_HAVE_LONG_LONG.
20825
20826 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20827 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20828
39c59c35
TMQMF
208292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20830
20831 [BZ #13691]
20832 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20833 inptr and inend, rather than using last_ch.
20834
135ffda8
DM
208352012-04-02 David S. Miller <davem@davemloft.net>
20836
20837 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20838 * stdio-common/printf-parse.h (read_int): Change return type to
20839 'int', return -1 on INT_MAX overflow.
20840 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20841 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20842 overflows INT_MAX. Check for overflow of in-format-string precision
20843 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20844 SIZE_MAX not INT_MAX for integer overflow test.
20845 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20846 skip the construct in the format string but do not record anything.
20847 * stdio-common/bug22.c: Adjust to test both width/prevision
20848 INT_MAX overflow as well as total length INT_MAX overflow. Check
20849 explicitly for proper errno values.
20850
228c019e
TS
208512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20852
302cadd3
TS
20853 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20854 CHAR_MAX.
20855 * string/test-strcmp.c [! WIDE]: Likewise.
20856 * time/tst-mktime2.c: Likewise for INT_MAX.
20857 * string/test-string.h: #include <sys/param.h> for MIN.
20858
228c019e
TS
20859 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20860 * sysdeps/i386/init-first.c (init): Likewise.
20861 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20862 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20863 * sysdeps/sh/init-first.c (init): Likewise.
20864
cfa633f5
UD
208652012-04-01 Ulrich Drepper <drepper@gmail.com>
20866
20867 * po/ru.po: Update from translation team.
d1635ef8 20868 * po/vi.po: Likewise.
cfa633f5 20869
6cd0a5ea
SP
208702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20871
20872 * resolv/nss_dns/dns-host.c: Merge copyright years.
20873
4b43400f
LD
208742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20875
20876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20877 Optimize memcpy with prefetch if
20878 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20879 src, dst pointers have unequal 16 byte alignments.
20880
48c41d04
SP
208812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20882
20883 [BZ #13928]
20884 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20885 from a CNAME entry and return the minimum ttl for the query.
20886 (gaih_getanswer_slice): Likewise.
20887
b8dc394d
JL
208882012-03-30 Jeff Law <law@redhat.com>
20889
20890 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20891 due to long keys.
20892 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20893 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20894
2f5a5ed0
JL
20895 * resolv/nss_dns/dns-host.c: Update copyright year.
20896
1d39e359
UD
208972012-03-30 Ulrich Drepper <drepper@gmail.com>
20898
c030f70c 20899 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20900 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20901
1d39e359
UD
20902 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20903 comments for sendmmsg.
20904
209052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20906
20907 [BZ #13691]
20908 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20909 with only 1 character between 0x0041 and 0x01b0.
20910 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20911 * wcsmbs/tst-mbsnrtowcs.c: New file.
20912
20fde227
DM
209132012-03-29 David S. Miller <davem@davemloft.net>
20914
20915 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20916 small copies by hand.
20917
984a4237
JL
209182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20919
20920 [BZ #13761]
20921 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20922 _nss_compat_initgroups_dyn): Fall back to malloc/free
20923 for large group memberships.
20924
18c9d62b
DM
209252012-03-28 David S. Miller <davem@davemloft.net>
20926
88d85d4f
DM
20927 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20928 that branches into memcpy.
20929 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20931 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20932 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20934 bits.
20935 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20936 implementation too.
20937 * sysdeps/sparc/mempcpy.S: New file.
20938
e5aa83e1
DM
20939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20940 the IFUNC routine in the libc case.
20941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20942
88570753
DM
20943 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20944 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20945 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20946 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20947 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20948 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20949 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20950 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20951
249d7567
DM
20952 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20953 loop to 256 bytes instead of 64 bytes and fix test signedness.
20954
18c9d62b
DM
20955 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20956 * sysdeps/sparc/sparc32/Makefile: rather than here...
20957 * sysdeps/sparc/sparc64/Makefile: and here.
20958
05f3d1f6
UD
209592012-03-28 Ulrich Drepper <drepper@gmail.com>
20960
20961 * malloc/mallocbug.c: Avoid warnings about unused variables.
20962
86ae07a8
JL
209632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20964
20965 [BZ #13760]
20966 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20967 in the right place. Discard and retry query if response is
20968 larger than input buffer size.
20969
41bf21a1
JM
209702012-03-28 Joseph Myers <joseph@codesourcery.com>
20971
d6270972
JM
20972 [BZ #369]
20973 [BZ #2678]
20974 [BZ #3866]
20975 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20976 x for large integer exponent.
20977 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20978 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20979 sign of result as needed afterwards.
20980 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20981 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20982 result for underflowing pow the same as for overflow.
20983 (__kernel_standard_l): Handle powl overflow and underflow here
20984 rather than calling __kernel_standard.
20985 * math/libm-test.inc (pow_test): Add more tests.
20986
414fca03 20987 [BZ #3868]
41bf21a1
JM
20988 [BZ #13879]
20989 [BZ #13910]
20990 [BZ #13911]
20991 [BZ #13912]
20992 [BZ #13913]
20993 [BZ #13915]
20994 [BZ #13916]
20995 [BZ #13917]
20996 [BZ #13918]
20997 [BZ #13919]
20998 [BZ #13920]
20999 [BZ #13921]
21000 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21001 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21002 (__kernel_standard_l): New function.
21003 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21004 __kernel_standard.
21005 * math/w_acosl.c (__acosl): Likewise.
21006 * math/w_asinl.c (__asinl): Likewise.
21007 * math/w_atan2l.c (__atan2l): Likewise.
21008 * math/w_atanhl.c (__atanhl): Likewise.
21009 * math/w_coshl.c (__coshl): Likewise.
21010 * math/w_exp10l.c (__exp10l): Likewise.
21011 * math/w_exp2l.c (__exp2l): Likewise.
21012 * math/w_fmodl.c (__fmodl): Likewise.
21013 * math/w_hypotl.c (__hypotl): Likewise.
21014 * math/w_j0l.c (__j0l, __y0l): Likewise.
21015 * math/w_j1l.c (__j1l, __y1l): Likewise.
21016 * math/w_jnl.c (__jnl, __ynl): Likewise.
21017 * math/w_lgammal.c (__lgammal): Likewise.
21018 * math/w_log10l.c (__log10l): Likewise.
21019 * math/w_log2l.c (__log2l): Likewise.
21020 * math/w_logl.c (__logl): Likewise.
21021 * math/w_powl.c (__powl): Likewise.
21022 * math/w_remainderl.c (__remainderl): Likewise.
21023 * math/w_scalbl.c (sysv_scalbl): Likewise.
21024 * math/w_sinhl.c (__sinhl): Likewise.
21025 * math/w_sqrtl.c (__sqrtl): Likewise.
21026 * math/w_tgammal.c (__tgammal): Likewise.
21027 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21028 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21029 * math/libm-test.inc (acos_test): Add more tests.
21030 (acosh_test): Likewise.
21031 (asin_test): Likewise.
21032 (atanh_test): Likewise.
21033 (exp_test): Likewise.
21034 (exp10_test): Likewise.
21035 (exp2_test): Likewise.
21036 (expm1_test): Likewise.
21037 (lgamma_test): Likewise.
21038 (log_test): Likewise.
21039 (log10_test): Likewise.
21040 (log1p_test): Likewise.
21041 (log2_test): Likewise.
21042 (pow_test): Do not allow some spurious overflow exceptions.
21043 (sqrt_test): Add more tests.
21044 (tgamma_test): Likewise.
21045 (y0_test): Likewise.
21046 (y1_test): Likewise.
21047 (yn_test): Likewise.
21048
dd62fda6
AB
210492012-03-27 Anton Blanchard <anton@samba.org>
21050
21051 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21052 MAP_HUGETLB.
21053 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21054 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21056
1e3cdfda
AJ
210572012-03-27 David S. Miller <davem@davemloft.net>
21058
b855ab85
DM
21059 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21060
1e3cdfda
AJ
21061 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21062 have-as-vis3 check.
21063
210642012-03-27 Andreas Jaeger <aj@suse.de>
21065
21066 * sysdeps/x86_64/elf/configure.in: Moved to ...
21067 * sysdeps/x86_64/configure.in: ... here.
21068 * sysdeps/x86_64/elf/start.S: Moved to ...
21069 * sysdeps/x86_64/start.S: ... here.
21070 * sysdeps/x86_64/elf/configure: Delete.
21071
21072 * sysdeps/x86_64/configure.in: Merge contents from
21073 sysdeps/i386/configure.in (without i686 check).
21074
21075 * sysdeps/i386/elf/Versions: Merge into ...
21076 * sysdeps/i386/Versions: ... this.
21077 * sysdeps/i386/elf/Versions: Delete file.
21078 * sysdeps/i386/elf/start.S: Moved to ...
21079 * sysdeps/i386/start.S: ...here.
21080 * sysdeps/i386/elf/configure.in: Merge into...
21081 * sysdeps/i386/configure.in: ...here.
21082 * sysdeps/i386/elf/configure.in: Delete file.
21083 * sysdeps/i386/elf/configure: Delete file.
21084
21085 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21086 * debug/backtracesyms.c: ... here.
21087 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21088 * debug/backtracesymsfd.c: ... here.
21089 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21090 * sysdeps/generic/ifunc-sel.h: ... here.
21091
21092 * sysdeps/unix/i386/start.c: Delete file.
21093 * sysdeps/unix/sparc/start.c: Delete file.
21094 * sysdeps/unix/start.c: Delete file.
21095
21096 * sysdeps/sh/elf/configure.in: Moved to ...
21097 * sysdeps/sh/configure.in: ... here.
21098 * sysdeps/sh/elf/start.S: Moved to ...
21099 * sysdeps/sh/start.S: ... here.
21100 * sysdeps/sh/elf/configure: Delete file.
21101
21102 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21103 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21104 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21105 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21106 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21107 * sysdeps/powerpc/powerpc64/start.S: here.
21108 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21109 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21110 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21111 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21112 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21113
21114 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21115 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21116 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21117 * sysdeps/powerpc/powerpc32/start.S: ... here.
21118 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21119 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21120 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21121
21122 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21123 * sysdeps/powerpc/ifunc-sel.h: ... here.
21124 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21125 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21126
21127 * sysdeps/sparc/elf/configure.in: Moved to ...
21128 * sysdeps/sparc/configure.in: ... here.
21129 * sysdeps/sparc/elf/configure: Delete file.
21130 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21131 * sysdeps/sparc/sparc32/start.S: ... here.
21132 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21133 * sysdeps/sparc/sparc64/start.S: ... here.
21134 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21135 * sysdeps/sparc/sparc32/Makefile: ... this.
21136 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21137 * sysdeps/sparc/sparc64/Makefile: ... this.
21138
21139 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21140 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21141 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21142 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21143 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21144 * sysdeps/s390/s390-32/setjmp.S: ... here.
21145 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21146 * sysdeps/s390/s390-32/configure.in: ... here.
21147 * sysdeps/s390/s390-32/elf/configure: Delete file.
21148 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21149 * sysdeps/s390/s390-32/start.S: ... here.
21150
21151 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21152 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21153 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21154 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21155 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21156 * sysdeps/s390/s390-64/setjmp.S: ... here.
21157 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21158 * sysdeps/s390/s390-64/configure.in: ... here
21159 * sysdeps/s390/s390-64/elf/configure: Delete file.
21160 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21161 * sysdeps/s390/s390-64/start.S: ... here.
21162 * sysdeps/s390/s390-64/elf/configure: Delete.
21163
21164 * configure.in: Remove support for elf directories in sysdeps.
21165
21166 * configure: Regenerated.
21167 * sysdeps/i386/configure: Regenerated.
21168 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21169 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21170 * sysdeps/s390/s390-32/configure: Regenerated.
21171 * sysdeps/s390/s390-64/configure: Regenerated.
21172 * sysdeps/sh/configure: Regenerated.
21173 * sysdeps/sparc/configure: Regenerated.
21174 * sysdeps/x86_64/configure: Regenerated.
21175
a3f61311
AS
211762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21177
c876e002
AS
21178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21179
a3f61311
AS
21180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21181 denormal result into account.
21182
ac4c54f0
RM
211832012-03-25 Roland McGrath <roland@hack.frob.com>
21184
21185 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21186 Reported by Allan McRae <allan@archlinux.org>.
21187
6a9b9c02
JL
211882012-03-23 Jeff Law <law@redhat.com>
21189
21190 * nss/getnssent.c (__nss_getent): Fix typo.
21191
4c42a0c1
DM
211922012-03-23 David S. Miller <davem@davemloft.net>
21193
21194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21195
1532c7ac
L
211962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21197
21198 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21199 to pad to uint64_t for each field.
21200 (dl_tls_index): Replace unsigned long with uint64_t.
21201
3ff42526
PP
212022012-03-23 Daniel Jacobowitz <dmj@google.com>
21203 Paul Pluzhnikov <ppluzhnikov@google.com>
21204
21205 [BZ #6528]
21206 * grp/Makefile (otherlibs): Don't set it.
21207 * inet/Makefile (otherlibs): Likewise.
21208 * login/Makefile (otherlibs): Likewise.
21209 * nscd/Makefile (otherlibs): Likewise.
21210 * posix/Makefile (otherlibs): Likewise.
21211 * pwd/Makefile (otherlibs): Likewise.
21212 * rt/Makefile (otherlibs): Likewise.
21213 * sunrpc/Makefile (otherlibs): Likewise.
21214 * nss/Makefile (otherlibs): Likewise.
21215 Add libnss_files to routines and static-only-routines.
21216 ($(objpfx)getent): Remove rule.
21217 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21218 static-only-routines.
21219
7c69cd14
JM
212202012-03-22 Joseph Myers <joseph@codesourcery.com>
21221
21222 [BZ #13892]
21223 * math/s_cexp.c: Include <float.h>.
21224 (__cexp): Handle exp result overflowing not necessarily
21225 overflowing both real and imaginary parts of result.
21226 * math/s_cexpf.c: Likewise.
21227 * math/s_cexpl.c: Likewise.
21228 * math/libm-test.inc (cexp_test): Add more tests.
21229 * sysdeps/i386/fpu/libm-test-ulps: Update.
21230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21231
81b035fe
L
212322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21233
21234 * include/link.h (ELFW): New macro.
21235 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21236 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21237
1da7940c
L
212382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21239
21240 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21241 with uint64_t.
21242
b749dbb9
L
212432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21246 declaration.
21247 (struct La_x32_retval): Likewise.
21248
2ff87f3f
L
212492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21250
21251 * sysdeps/x86_64/preconfigure.in: New file.
21252 * sysdeps/x86_64/preconfigure: New generated file.
21253
c0df8e69
JM
212542012-03-22 Joseph Myers <joseph@codesourcery.com>
21255
48e44791
JM
21256 [BZ #13824]
21257 * math/e_exp2l.c: Include <float.h>.
21258 (__ieee754_exp2l): Handle overflow and underflow cases
21259 separately. Only pass fractional part of argument to
21260 __ieee754_expl.
21261 * math/libm-test.inc (exp2_test): Add more tests.
21262
c0df8e69
JM
21263 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21264 negating x to take absolute value.
21265 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21266 Likewise.
21267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21269 Likewise.
21270 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21271 computing low part if x was negated.
21272 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21273
c8e43ba7
L
212742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21275
21276 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21277 la_x32_gnu_pltexit.
21278 (pltexit): Cast int_retval to ptrdiff_t.
21279 * elf/tst-auditmod3b.c: Likewise.
21280 * elf/tst-auditmod4b.c: Likewise.
21281 * elf/tst-auditmod5b.c: Likewise.
21282 * elf/tst-auditmod6b.c: Likewise.
21283 * elf/tst-auditmod6c.c: Likewise.
21284 * elf/tst-auditmod7b.c: Likewise.
21285
21286 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21287 and x32_gnu_pltexit.
21288
21289 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21290 __ELF_NATIVE_CLASS.
21291 (La_x32_regs): New macro.
21292 (La_x32_retval): Likewise.
21293 (la_x32_gnu_pltenter): New function prototype.
21294 (la_x32_gnu_pltexit): Likewise.
21295
7998fa78
AS
212962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21297
dcb33988
AS
21298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21299 exponent.
21300
233fc563
AS
21301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21302
7998fa78
AS
21303 * configure.in (libc_cv_cc_nofma): Check for option to disable
21304 generation of FMA instructions.
21305 * configure: Regenerate.
21306 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21307 * sysdeps/ieee754/dbl-64/Makefile: New file.
21308 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21309 Remove brandred-fma4.
21310 (CFLAGS-brandred-fma4.c): Remove.
21311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21313 define.
21314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21315 define.
21316
8e95c99a
L
213172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21318
21319 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21320 LLONG_MAX != LONG_MAX.
21321 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21322 (_fitoa_word): Likewise.
21323 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21324 LLONG_MAX != LONG_MAX.
21325 * stdio-common/_itowa.h: Include <_itoa.h>.
21326 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21327 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21328 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21329 only if not defined.
21330 (_ITOA_WORD_TYPE): Likewise.
21331 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21332 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21333
6f4db457
DM
213342012-03-21 David S. Miller <davem@davemloft.net>
21335
21336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21337
7785fe5a
L
213382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21339
21340 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21341 of x86_64 when setting libc_cv_slibdir, libdir and
21342 libc_cv_localedir.
21343 * sysdeps/unix/sysv/linux/configure: Regenerated.
21344
4535cd55
JM
213452012-03-21 Joseph Myers <joseph@codesourcery.com>
21346
21347 * manual/lang.texi (Old Varargs): Remove section.
21348 (How Variadic): Update menu.
21349 (va_start): Do not mention varargs.h.
21350
17228132
TS
213512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21352 Joseph Myers <joseph@codesourcery.com>
21353
21354 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21355 link test.
21356 * configure: Regenerated.
21357
8149f976
TS
213582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21359
05f3d1f6
UD
21360 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21361 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21362 conformtest.pl
8149f976 21363
1a4ac776
JM
213642012-03-21 Joseph Myers <joseph@codesourcery.com>
21365
be22ce65
JM
21366 * NOTES: Remove.
21367 * Makefile (files-for-dist): Remove NOTES.
21368 (NOTES): Remove rule.
21369 * README: Don't refer to NOTES.
21370 * manual/creature.texi: Don't include macros.texi.
21371 * manual/intro.texi (creature.texi): Remove comment referring to
21372 NOTES.
21373
40b601fb
JM
21374 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21375 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21376 * configure: Regenerated.
21377 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21378 LIBC_TRY_CC_OPTION.
21379 (libc_cv_as_i686): Likewise.
21380 (libc_cv_cc_avx): Likewise.
21381 (libc_cv_cc_sse2avx): Likewise.
21382 (libc_cv_cc_fma4): Likewise.
21383 (libc_cv_cc_novzeroupper): Likewise.
21384 * sysdeps/i386/configure: Regenerated.
21385
1a4ac776
JM
21386 [BZ #13883]
21387 * sysdeps/i386/fpu/s_cexp.S: Remove.
21388 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21389 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21390 * math/libm-test.inc (cexp_test): Add more tests.
21391 * sysdeps/i386/fpu/libm-test-ulps: Update.
21392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21393
a458e7fe
AM
213942012-03-21 Allan McRae <allan@archlinux.org>
21395
21396 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21397
0cb7efc5
JM
213982012-03-21 Joseph Myers <joseph@codesourcery.com>
21399
21400 [BZ #13871]
21401 * math/w_exp2.c: Do not include <float.h>.
21402 (o_threshold, u_threshold): Remove.
21403 (__exp2): Calculate result before checking finiteness and calling
21404 __kernel_standard.
21405 * math/w_exp2f.c: Likewise.
21406 * math/w_exp2l.c: Likewise.
21407 * math/libm-test.inc (exp2_test): Require overflow exception for
21408 1e6 input.
2460d3aa
JM
21409
21410 [BZ #3866]
21411 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21412 range of signed 64-bit integers before using fistpll. Remove
21413 checks for whether integers fit in mantissa bits.
21414 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21415 the range of signed 32-bit integers before using fistpl. Remove
21416 checks for whether integers fit in mantissa bits.
21417 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21418 (__ieee754_powl): Test for y outside the range of signed 64-bit
21419 integers before using fistpll. Reduce 64-bit values to 63-bit
21420 ones as needed.
21421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21422 divide-by-zero is raised for zero to large negative powers.
21423 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21424 (__ieee754_powl): Test for y outside the range of signed 64-bit
21425 integers before using fistpll. Reduce 64-bit values to 63-bit
21426 ones as needed.
21427 * math/libm-test.inc (pow_test): Add more tests.
21428
eb96ffb0
L
214292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21430
21431 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21432 <stdio-common/_itoa.h>.
21433 * debug/segfault.c: Likewise.
21434 * elf/dl-cache.c: Likewise.
21435 * elf/dl-minimal.c: Likewise.
21436 * elf/dl-misc.c: Likewise.
21437 * elf/dl-sysdep.c: Likewise.
21438 * elf/dl-version.c: Likewise.
21439 * elf/rtld.c: Likewise.
21440 * hurd/hurdsock.c: Likewise.
21441 * hurd/lookup-retry.c: Likewise.
21442 * malloc/malloc.c: Likewise.
21443 * malloc/mtrace.c: Likewise.
21444 * nscd/nscd_getgr_r.c: Likewise.
21445 * nscd/nscd_getpw_r.c: Likewise.
21446 * nscd/nscd_getserv_r.c: Likewise.
21447 * posix/getopt_init.c: Likewise.
21448 * posix/wordexp.c: Likewise.
21449 * stdio-common/_itoa.c: Likewise.
21450 * stdio-common/printf_fphex.c: Likewise.
21451 * stdio-common/vfprintf.c: Likewise.
21452 * string/_strerror.c: Likewise.
21453 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21454 * sysdeps/i386/i686/hp-timing.h: Likewise.
21455 * sysdeps/mach/_strerror.c: Likewise.
21456 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21457 * sysdeps/mach/hurd/sethostid.c: Likewise.
21458 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21459 * sysdeps/mach/xpg-strerror.c: Likewise.
21460 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21461 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21462 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21463 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21464 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21465 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21466 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21467 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21468 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21469 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21470 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21471 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21472 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21473 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21474 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21475 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21476 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21477 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21478 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21479 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21480 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21481
21482 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21483
21484 * stdio-common/_itoa.h: Moved to ...
21485 * sysdeps/generic/_itoa.h: Here.
21486
21487 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21488
21489 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21490 instead of "_itoa.h" and "_itowa.h".
21491 * stdio-common/vfprintf.: Likewise.
21492
d1af992d
L
214932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21494
21495 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21496 <bits/wordsize.h>.
21497 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21498 (__signbit): Likwise.
21499 (llrintf): Likwise.
21500 (llrint): Likwise.
21501
114883e0
L
215022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21505 __WORDSIZE != 64.
21506
c135cc1b
JM
215072012-03-20 Joseph Myers <joseph@codesourcery.com>
21508
21509 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21510 OVERFLOW_EXCEPTION_OK.
21511 * math/libm-test.inc ("Philosophy"): Update comment about
21512 exception testing.
21513 (OVERFLOW_EXCEPTION): Define.
21514 (OVERFLOW_EXCEPTION_OK): Likewise.
21515 (INVALID_EXCEPTION_OK): Renumber.
21516 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21517 (IGNORE_ZERO_INF_SIGN): Likewise.
21518 (test_exceptions): Handle FE_OVERFLOW.
21519 (exp10_test): Expect overflow exceptions.
21520 (exp2_test): Likewise.
21521 (expm1_test): Likewise.
21522 (nextafter_test): Likewise.
21523 (pow_test): Likewise.
21524 (scalbn_test): Likewise.
21525 (scalbln_test): Likewise.
21526
95443d88
L
215272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21528
21529 * sysdeps/x86_64/bits/atomic.h
21530 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21531 64bit integer.
21532 (atomic_exchange_acq): Likewise.
21533 (__arch_exchange_and_add_body): Likewise.
21534 (__arch_add_body): Likewise.
21535 (atomic_add_negative): Likewise.
21536 (atomic_add_zero): Likewise.
21537
490df6c4
L
215382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21539
c2722551 21540 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21541 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21542
5e52b189
L
215432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21544
21545 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21546 Check __x86_64__ instead of __WORDSIZE.
21547
a9879d4c
L
215482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21549
21550 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21551
5df98260
DM
215522012-03-19 David S. Miller <davem@davemloft.net>
21553
e1497744
DM
21554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21555
5df98260
DM
21556 * sysdeps/sparc/fpu/fenv_private.h: New file.
21557 * sysdeps/sparc/fpu/math_private.h: Use it.
21558 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21559 Remove.
21560 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21561 (libc_feholdexcept_setroundl): Remove.
21562 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21563 Remove.
21564 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21565 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21566
b4c35121
L
215672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21570 int64_t instead of long int.
21571 (INSERT_WORDS64): Likwise.
21572
56965fd7
L
215732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21574
21575 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21576 _Unwind_GetCFA return to _Unwind_Ptr first.
21577
83d1aec8
JM
215782012-03-19 Joseph Myers <joseph@codesourcery.com>
21579
1897ad44
JM
21580 [BZ #13629]
21581 * math/s_clog.c: Include <float.h>.
21582 (__clog): Scale large or subnormal inputs.
21583 * math/s_clogf.c: Likewise.
21584 * math/s_clogl.c: Likewise.
21585 * math/s_clog10.c: Include <float.h>.
21586 (M_LOG10_2): Define.
21587 (__clog10): Scale large or subnormal inputs.
21588 * math/s_clog10f.c: Likewise.
21589 * math/s_clog10l.c: Likewise.
21590 * math/libm-test.inc (clog_test): Add more tests.
21591 (clog10_test): Likewise.
21592 * sysdeps/i386/fpu/libm-test-ulps: Update.
21593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21594
7726d6a9
JM
21595 [BZ #11451]
21596 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21597 x and y.
21598 * math/libm-test.inc (atan2_test): Add another test.
21599
83d1aec8
JM
21600 * Makerules (common-objdir-compile): Remove.
21601 * sysdeps/unix/Makefile (config-generated): Do not add
21602 $(unix-generated) to variable.
21603 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21604 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21605 Remove rule.
21606 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21607 Likewise.
21608 [generic bits/local_lim.h] (before-compile): Do not append to
21609 variable.
21610 [generic bits/local_lim.h] (common-generated): Likewise.
21611 [generic sys/param.h] (before-compile): Do not append to variable.
21612 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21613 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21614 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21615 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21616 include.
21617 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21618 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21619 [generic sys/param.h] ($(addprefix
21620 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21621 [generic sys/param.h] (common-generated): Do not append to
21622 variable.
21623 [generic sys/param.h] (sysdep_headers): Likewise.
21624 [generic bits/errno.h] (before-compile): Do not append to
21625 variable.
21626 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21627 rule.
21628 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21629 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21630 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21631 [generic bits/errno.h] (common-generated): Do not append to
21632 variable.
21633 [generic bits/ioctls.h] (before-compile): Do not append to
21634 variable.
21635 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21636 rule.
21637 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21638 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21639 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21640 rule.
21641 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21642 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21643 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21644 [generic bits/ioctls.h] (common-generated): Do not append to
21645 variable.
21646 [generic sys/syscall.h] (syscall.h): Remove variable.
21647 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21648 rule.
21649 [generic sys/syscall.h] (before-compile): Do not append to
21650 variable.
21651 [generic sys/syscall.h] (common-generated): Likewise.
21652 * sysdeps/unix/errnos-tmpl.c: Remove file.
21653 * sysdeps/unix/errnos.awk: Likewise.
21654 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21655 * sysdeps/unix/ioctls.awk: Likewise.
21656 * sysdeps/unix/mk-local_lim.c: Likewise.
21657 * sysdeps/unix/snarf-ioctls: Likewise.
21658
4851a949
RH
216592012-03-19 Richard Henderson <rth@twiddle.net>
21660
bd37f2ee
RH
21661 * sysdeps/i386/fpu/fenv_private.h: New file.
21662 * sysdeps/i386/fpu/math_private.h: Use it.
21663 (math_opt_barrier, math_force_eval): Remove.
21664 (libc_feholdexcept_setround_53bit): Remove.
21665 (libc_feupdateenv_53bit): Remove.
21666 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21667 (math_opt_barrier, math_force_eval): Remove.
21668 (libc_feholdexcept): Remove.
21669 (libc_feholdexcept_setround): Remove.
21670 (libc_fetestexcept, libc_fesetenv): Remove.
21671 (libc_feupdateenv_test): Remove.
21672 (libc_feupdateenv, libc_feholdsetround): Remove.
21673 (libc_feresetround): Remove.
21674
d0adc922
RH
21675 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21676 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21677
0fe0f1f8
RH
21678 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21679 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21680 (libc_feupdateenv_testl): New.
21681 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21682 (libc_feupdateenv_testf): New.
21683 (libc_feupdateenv): Use libc_feupdateenv_test.
21684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21685 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21686
eb92c487
RH
21687 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21688 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21689 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21690 (libc_feresetround_noex): New.
21691 (libc_feresetround_noexf): New.
21692 (libc_feresetround_noexl): New.
21693 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21694 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21695 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21696 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21697 SET_RESTORE_ROUND.
21698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21700 (__cos): Likewise.
21701 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21702 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21703 SET_RESTORE_ROUND_NOEX.
21704 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21705 SET_RESTORE_ROUND_NOEXF.
21706 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21707 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21708 (libc_feholdsetroundf): New.
21709 (libc_feresetround, libc_feresetroundf): New.
21710
7d2e8012
RH
21711 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21712 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21713 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21714
b4dabbb4
RH
21715 * sysdeps/generic/math_private.h: Include <fenv.h>.
21716 (default_libc_feholdexcept): New.
21717 (default_libc_feholdexcept_setround): New.
21718 (default_libc_fesetenv, default_libc_feupdateenv): New.
21719 (libc_feholdexcept): Only define if undefined.
21720 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21721 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21722 (libc_feholdexcept_setroundl): Likewise.
21723 (libc_feholdexcept_setround_53bit): Likewise.
21724 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21725 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21726 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21727 (libc_feupdateenv_53bit): Likewise.
21728 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21729 (libc_feholdexcept): Convert from macro to inline function.
21730 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21731 (libc_fesetenv, libc_feupdateenv): Likewise.
21732
4851a949
RH
21733 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21734 not previously defined.
21735 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21736 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21737 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21738 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21739 * sysdeps/ieee754/flt-32/math_private.h: New file.
21740 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21741 math_private.h below SET_FLOAT_WORD.
21742 (__isnan, __isinf_ns, __finite): Remove.
21743 (__isnanf, __isinf_nsf, __finitef): Remove.
21744
e79d442e
AS
217452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21746
21747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21748
90b80344
DM
217492012-03-17 David S. Miller <davem@davemloft.net>
21750
21751 [BZ #6471]
21752 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21753 for 2.16.
21754
edc21804
DM
217552012-03-16 David S. Miller <davem@davemloft.net>
21756
77e927af
DM
21757 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21758 warnings.
21759
374976dd
DM
21760 [BZ #6471]
21761 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21762 properly.
21763 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21764 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21765 sysdep_routines when subdir is sysvipc.
21766 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21767 __getshmlba helper.
21768
edc21804
DM
21769 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21770
473c3ef3
L
217712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21772
21773 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21774 [__LP64__].
21775
eb0f39b6
L
217762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21777
21778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21779 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21780 (__lround): Renamed to ...
21781 (__llround): This. Replace long int with long long int.
21782 Define lround functions as aliases of llround functions.
21783 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21784
6b6cd74b
L
217852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21786
21787 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21788 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21789 adresses to uintptr_t. Replace "long int" and "unsigned long
21790 int" with "greg_t" on va_arg.
21791
f1a77b01
L
217922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21793
21794 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21795 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21796
21797 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21798 Move e_machine check before EI_CLASS check. Handle x32
21799 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21800 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21801 SKIP_EM_IA_64 and include
21802 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21803
21804 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21805 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21806 (add_system_dir): New macro.
21807
21808 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21809 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21810
11b90b9f
JM
218112012-03-16 Joseph Myers <joseph@codesourcery.com>
21812
c36e1d23
JM
21813 [BZ #2551]
21814 [BZ #2552]
21815 [BZ #2553]
21816 [BZ #2554]
21817 [BZ #2562]
21818 [BZ #2563]
21819 [BZ #2565]
21820 [BZ #2566]
21821 [BZ #2576]
21822 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21823 (y0): Likewise.
21824 * math/w_j0f.c (j0f): Likewise.
21825 (y0f): Likewise.
21826 * math/w_j0l.c (__j0l): Likewise.
21827 (__y0l): Likewise.
21828 * math/w_j1.c (j1): Likewise.
21829 (y1): Likewise.
21830 * math/w_j1f.c (j1f): Likewise.
21831 (y1f): Likewise.
21832 * math/w_j1l.c (__j1l): Likewise.
21833 (__y1l): Likewise.
21834 * math/w_jn.c (jn): Likewise.
21835 (yn): Likewise.
21836 * math/w_jnf.c (jnf): Likewise.
21837 (ynf): Likewise.
21838 * math/w_jnl.c (__jnl): Likewise.
21839 (__ynl): Likewise.
21840 * math/libm-test.inc (j0_test): Add more tests.
21841 (j1_test): Likewise.
21842 (jn_test): Likewise. Add trailing semicolon to existing test.
21843 (y0_test): Likewise.
21844 (y1_test): Likewise.
21845 * sysdeps/i386/fpu/libm-test-ulps: Update.
21846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21847
11b90b9f
JM
21848 [BZ #13851]
21849 [BZ #13854]
21850 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21851 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21852 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21853 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21854 (__tanl): Set errno for infinite argument.
21855 * sysdeps/i386/fpu/mptan.c: Remove.
21856 * sysdeps/i386/fpu/s_tan.S: Likewise.
21857 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21858 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21859 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21860 * math/libm-test.inc (tan_test): Add more tests and enable more
21861 tests for double and long double.
21862 * sysdeps/i386/fpu/libm-test-ulps: Update.
21863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21864
6a1bd2a1
JK
218652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21866
21867 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21868 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21869
10a803e0
RM
218702012-03-16 Roland McGrath <roland@hack.frob.com>
21871
21872 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21873 * configure.in: Use it for both main tree and add-ons.
21874 * configure: Regenerated.
21875
f196c7f7
L
218762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21877
21878 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21879
8848d99d
JM
218802012-03-16 Joseph Myers <joseph@codesourcery.com>
21881
96cbe7f4
JM
21882 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21883 in comment.
21884
8848d99d
JM
21885 [BZ #13851]
21886 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21887 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21888 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21889 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21890 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21891 infinite argument.
21892 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21894 != 0 for prec == 2.
21895 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21896 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21897 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21898 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21899 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21900 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21901 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21902 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21903 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21904 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21905 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21906 * math/libm-test.inc (cos_test): Add more tests and enable more
21907 tests for long double.
21908 (sin_test): Likewise.
21909 (sincos_test): Likewise.
21910 * sysdeps/i386/fpu/libm-test-ulps: Update.
21911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21912
dd7f4703
DM
219132012-03-16 David S. Miller <davem@davemloft.net>
21914
21915 * sysdeps/sparc/fpu/math_private.h: New file.
21916
006f1daa
DM
219172012-03-15 David S. Miller <davem@davemloft.net>
21918
c0c83bc8
DM
21919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21920 file.
e6a62e18 21921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21923 file.
e6a62e18
DM
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21930 sysdep routines.
21931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21932
88cb87d9
DM
21933 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21934 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21935
006f1daa 21936 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21938 sparc-ifunc.h
006f1daa 21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21941 Likewise.
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21943 Likewise.
006f1daa
DM
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21948 Likewise.
006f1daa
DM
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21954 Likewise.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21956 Likewise.
006f1daa
DM
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21981
11e0098e
AS
219822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21983
21984 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21985 scaling.
21986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21987
e85b09d0
AJ
219882012-03-15 Andreas Jaeger <aj@suse.de>
21989
21990 [BZ #13852]
21991 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21992 ieee754/flt-32 implementation for sin, cos and sincos.
21993 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21994 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21995 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21996 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21997 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21998 ieee754/flt-32 implementation for tan.
21999
22000 * math/libm-test.inc (cos_test): Enable some large input tests for
22001 float as well
22002 (sin_test): Likewise.
22003 (sincos_test): Likewise.
22004 (tan_test): Add tests for large input.
22005
22006 * sysdeps/i386/fpu/libm-test-ulps: Update.
22007
81c64153
AJ
220082012-03-15 Andreas Jaeger <aj@suse.de>
22009
22010 [BZ #13658]
22011 * math/libm-test.inc (cos_test): Add more test cases.
22012 (sin_test): Likewise.
22013 (sincos_test): Likewise.
22014
7bbfa5c6
AJ
220152012-03-15 Andreas Jaeger <aj@suse.de>
22016
22017 [BZ #13837]
22018 * math/libm-test.inc (cos_test): Add a test case for large input
22019 value.
22020 (sin_test): Likewise.
22021 (sincos_test): Likewise.
22022
220232012-03-15 Andreas Jaeger <aj@suse.de>,
22024 Joseph Myers <joseph@codesourcery.com>
22025
22026 [BZ #13658]
0671f479 22027 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22028 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22029 * sysdeps/i386/fpu/branred.c: Likewise.
22030 * sysdeps/i386/fpu/dosincos.c: Likewise.
22031 * sysdeps/i386/fpu/mpa.c: Likewise.
22032 * sysdeps/i386/fpu/s_cos.S: Likewise.
22033 * sysdeps/i386/fpu/s_sin.S: Likewise.
22034 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22035 * sysdeps/i386/fpu/sincos32.c: Likewise.
22036
22037 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22038 Define.
22039 (libc_feupdateenv_53bit): Define.
22040 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22041 Define.
22042 (libc_feupdateenv_53bit): Define.
22043
22044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22045 53 bit (without extend i386 double precision).
22046
22047 * math/libm-test.inc (sincos_test): Add tests for large input.
22048 (sin): Likewise.
22049 (cos): Likewise.
22050
22051 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22052
9cad04ea
AS
220532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22054
22055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22056
f7062b9a
DM
220572012-03-15 David S. Miller <davem@davemloft.net>
22058
22059 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22060 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22061 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22062 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22075 file.
f7062b9a 22076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22078 file.
f7062b9a 22079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22081 file.
f7062b9a 22082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22084 file.
f7062b9a
DM
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22087 fmin/fmax sysdep routines.
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22089
7bd951ff
DM
220902012-03-14 David S. Miller <davem@davemloft.net>
22091
559398ab
DM
22092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22121 routines.
22122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22123 file.
559398ab 22124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22126 file.
559398ab 22127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22129 file.
559398ab 22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22132 file.
559398ab 22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22135 file.
559398ab 22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22138 file.
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22140 file.
22141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22142 file.
22143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22144 file.
22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22146 New file.
22147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22148 file.
22149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22150 file.
559398ab 22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22153 file.
559398ab 22154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22156 file.
559398ab 22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22159 file.
559398ab 22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22162 VIS3 routines.
559398ab
DM
22163
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22165 New file.
22166
5a1c1e32
DM
22167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22168
eae47a36
DM
22169 * sysdeps/sparc/configure.in: New file.
22170 * sysdeps/sparc/configure: Generate.
22171 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22172 * configure: Regenerate.
22173 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22174 * config.make.in (have-as-vis3): New.
22175 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22176 available use -Av9d instead of -Av9a.
22177 * sysdeps/sparc/sparc64/Makefile: Likewise.
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22180 New file.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22182 file.
22183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22184 New file.
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22186 file.
eae47a36
DM
22187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22192
c0c83bc8
DM
22193 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22194 fzeros/fnegs to load 0x80000000 into a float register instead of
22195 using the stack.
7bd951ff
DM
22196 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22197
bd951ccb
JM
221982012-03-14 Joseph Myers <joseph@codesourcery.com>
22199
22200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22201 bits/syscall.h.
22202 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22203 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22204 ($(inst_includedir)/bits/syscall.h): Remove rule.
22205 ($(objpfx)bits/syscall.d): Include instead of
22206 $(objpfx)syscall-list.d.
22207 (generated): Change syscall-list.h and syscall-list.d to
22208 bits/syscall.h and bits/syscall.d.
22209
bb4e6db2
RM
222102012-03-14 Roland McGrath <roland@hack.frob.com>
22211
22212 [BZ #13846]
22213 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22214
aa4a2ae1
JM
222152012-03-14 Joseph Myers <joseph@codesourcery.com>
22216
e456826d
JM
22217 [BZ #13841]
22218 * math/s_csqrt.c: Include <float.h>.
22219 (__csqrt): Scale large or subnormal inputs.
22220 * math/s_csqrtf.c: Likewise.
22221 * math/s_csqrtl.c: Likewise.
22222 * math/libm-test.inc (csqrt_test): Add more tests.
22223 * sysdeps/i386/fpu/libm-test-ulps: Update.
22224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22225
aa4a2ae1
JM
22226 [BZ #13840]
22227 * math/libm-test.inc (hypot_test): Add more tests.
22228
7c10fd35
DM
222292012-03-13 David S. Miller <davem@davemloft.net>
22230
22231 [BZ #13840]
22232 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22233 double-precision for the calculation instead of scaling.
22234
f453b98b
JM
222352012-03-13 Joseph Myers <joseph@codesourcery.com>
22236
22237 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22238 manipulate bits before adding and subtracting TWO52[sx].
22239 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22240 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22241 Likewise.
22242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22243
09a3453f
DM
222442012-03-13 David S. Miller <davem@davemloft.net>
22245
8e59da90
DM
22246 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22247 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22249 rtld-global-offsets.h
22250 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22251
2a8ab7f2
DM
22252 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22253 large parameters.
22254
10f62770
DM
22255 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22256
5f0bdb18
DM
22257 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22258 'err' in the ifdef scope in which it is actually used.
22259
09a3453f
DM
22260 * nss/nss_db/db-init.c: Include string.h
22261
b4b2eb5e
DM
222622012-03-12 David S. Miller <davem@davemloft.net>
22263
98bb2f1c
DM
22264 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22265 masking out of the most significant byte of random value used.
22266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22267 Fix coding style in previous change.
22268
b4b2eb5e
DM
22269 * sysdeps/unix/sysv/linux/kernel-features.h
22270 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22271 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22272 expression.
22273 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22274 later.
22275
6e226b09
DM
222762012-03-11 David S. Miller <davem@davemloft.net>
22277
a1bcbd40
DM
22278 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22279 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22281 for 'resultvar' otherwise things get truncated on 64-bit.
22282
cb9d6174
DM
22283 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22284 Fix masking out of the most significant byte of random value used.
22285
6e226b09
DM
22286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22287
058c132d
AS
222882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22289
22290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22291
2d2cd515
DM
222922012-03-09 David S. Miller <davem@davemloft.net>
22293
22294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22295 variables with appropriate CPP guards.
22296 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22297 frame pointer, not the stack pointer. Correct layout comments. Fix test
22298 on resulting framesize and the management of the outregs buffer for pltexit.
22299 Preserve floating point return values across _dl_call_pltexit call.
22300 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22301 framesize and the management of the outregs buffer for pltexit.
22302 Preserve floating point return values across _dl_call_pltexit
22303 call.
22304 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22305 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22306 (print_exit): Fix format string for return register value.
22307
9a07f9d0
JM
223082012-03-10 Joseph Myers <joseph@codesourcery.com>
22309
22310 * sunrpc/Makefile (others): Add rpcgen.
22311 ($(objpfx)rpcgen): Remove special build rule and dependency on
22312 libc.
22313 * sunrpc/rpcgen.c: New file.
22314
547b5e30
PE
223152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22316
c524201a
PE
22317 [BZ #13673]
22318 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22319 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22320 * sysdeps/i386/crti.S: Likewise.
22321 * sysdeps/i386/crtn.S: Likewise.
22322 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22323 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22324 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22325 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22326 * sysdeps/sh/crti.S: Likewise.
22327 * sysdeps/sh/crtn.S: Likewise.
22328 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22329
7b6235f2
PE
22330 [BZ #13673]
22331 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22332 with URL.
22333 * locale/programs/locfile-kw.gperf: Likewise.
22334 * locale/programs/charmap-kw.h: Regenerated.
22335 * locale/programs/locfile-kw.h: Likewise.
22336
547b5e30
PE
22337 [BZ #13673]
22338 * intl/plural.y: Replace FSF snail mail address with URL.
22339 * intl/plural.c: Regenerated.
22340
5f0a5dae
RH
223412012-03-09 Richard Henderson <rth@twiddle.net>
22342
22343 * include/math_private.h: Remove file.
22344 * math/math_private.h: Move file ...
22345 * sysdeps/generic/math_private.h: ... here.
22346
b8c03620
RH
22347 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22348 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22349 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22350
4e234f5d 22351 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22352 and <math_private.h>.
22353 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22354 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22355 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22356 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22357 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22379 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22383 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22385 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22441 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22442 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22443 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22444 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22445 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22446 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22447 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22457 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22458 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22459 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22460 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22461 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22463 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22464 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22465 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22467 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22468 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22469 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22470 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22471 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22472 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22473 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22474 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22475 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22476 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22477 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22478 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22479 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22480 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22481 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22482 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22483 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22484 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22485 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22486 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22487 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22488 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22489 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22490 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22491 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22492 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22493 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22494 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22495 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22496 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22497 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22498 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22499 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22500 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22501 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22502 * sysdeps/ieee754/k_standard.c: Likewise.
22503 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22504 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22507 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22510 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22511 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22512 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22513 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22515 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22516 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22517 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22519 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22520 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22521 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22524 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22527 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22528 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22530 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22533 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22534 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22536 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22537 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22538 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22540 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22541 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22542 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22544 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22545 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22618 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22622 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22625 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22635 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22663 * sysdeps/ieee754/s_lib_version.c: Likewise.
22664 * sysdeps/ieee754/s_matherr.c: Likewise.
22665 * sysdeps/ieee754/s_signgam.c: Likewise.
22666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22669 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22671 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22672 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22673 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22674 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22675 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22676 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22677 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22678 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22679 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22680 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22681 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22683 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22687
1991fa03
JM
226882012-03-09 Joseph Myers <joseph@codesourcery.com>
22689
22690 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22691 * sunrpc/rpc_main.c: Likewise.
22692 * sunrpc/rpc_svcout.c: Likewise.
22693
60d6f5a6
DM
226942012-03-09 David S. Miller <davem@davemloft.net>
22695
22696 * include/math_private.h: New file.
22697
4962050e
JM
226982012-03-09 Joseph Myers <joseph@codesourcery.com>
22699
02a6f887
JM
22700 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22701 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22702 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22703 from <bits/socket_type.h>.
22704 (enum __socket_type): Don't define here.
22705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22707 bits/socket_type.h.
22708
c6e013c1
JM
22709 [BZ #13566]
22710 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22711 checking __USE_GNU.
22712
4962050e
JM
22713 * Makerules ($(inst_includedir)/%.h): New rule.
22714 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22715 (install-others): Remove variable setting.
22716 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22717
38842f45
RH
227182012-03-08 Richard Henderson <rth@twiddle.net>
22719
67bb6da6
RH
22720 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22721 from macro to inline function; merge with the
22722 !__LIBC_INTERNAL_MATH_INLINES version.
22723 (__ieee754_sqrtf): Likewise.
22724
15194b4b
RH
22725 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22726 to inline function.
22727 (__rintf, __floor, __floorf): Likewise.
22728
64e21ede
RH
22729 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22730 macro to inline function.
22731 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22732
38842f45
RH
22733 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22734 not <math/math_private.h>.
22735
c64bf5fe
DM
227362012-03-08 David S. Miller <davem@davemloft.net>
22737
22738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22739 copyright year.
22740 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22741
82d86f28
TS
227422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22743
22744 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22745 normalization.
22746 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22747 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22748
aea5d727
UD
227492012-03-08 Ulrich Drepper <drepper@gmail.com>
22750
22751 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22752 be defined individually, they must be defined as a block. Define
22753 S for printing a string instead of hidint the different by using a
22754 macro for adding the 'l'.
22755 * stdio-common/tst-fphex-wide.c: Adjust.
22756
70bca0a3
MP
227572012-03-07 Marek Polacek <polacek@redhat.com>
22758
22759 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22760
65b81130
MP
227612012-03-08 Marek Polacek <polacek@redhat.com>
22762
22763 [BZ #13806]
22764 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22765 * stdio-common/tst-fphex.c: Define a few macros to make the
22766 test reusable. Use them.
22767 * stdio-common/tst-fphex-wide.c: New file.
22768
07037eeb
JM
227692012-03-08 Joseph Myers <joseph@codesourcery.com>
22770
a7a93d50
JM
22771 [BZ #6911]
22772 * manual/macros.texi (gnusystems): New macro.
22773 (nongnusystems): Likewise.
22774 (gnulinuxhurdsystems): Likewise.
22775 (gnuhurdsystems): Likewise..
22776 (gnulinuxsystems): Likewise.
22777 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22778 variants of the GNU system, not "GNU system".
22779 * manual/conf.texi: Likewise.
22780 * manual/errno.texi: Likewise. Update example of errno macro
22781 expansion.
22782 * manual/filesys.texi: Likewise.
22783 (getumask): Document as specific to GNU/Hurd.
22784 * manual/install.texi: Likewise. Reword some references to
22785 GNU/Linux.
22786 * manual/intro.texi: Likewise.
22787 * manual/io.texi: Likewise.
22788 (File Name Portability): Detail which constraints are inapplicable
22789 to all GNU systems and which are only inapplicable to GNU/Hurd.
22790 * manual/job.texi: Likewise.
22791 * manual/llio.texi: Likewise.
22792 (O_NOCTTY): Document as present on GNU/Linux.
22793 * manual/maint.texi: Likewise.
22794 * manual/memory.texi: Likewise.
22795 * manual/pattern.texi: Likewise.
22796 * manual/pipe.texi: Likewise.
22797 * manual/process.texi: Likewise.
22798 * manual/resource.texi: Likewise.
22799 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22800 child on GNU/Hurd.
22801 * manual/setjmp.texi: Likewise.
22802 * manual/signal.texi: Likewise.
22803 * manual/startup.texi: Likewise.
22804 * manual/stdio.texi: Likewise.
22805 * manual/terminal.texi: Likewise.
22806 (ONLCR): Document as POSIX.
22807 (OXTABS): Document availability on GNU/Linux as XTABS.
22808 (ONOEOT): Document availability separately from other bits.
22809 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22810 * manual/time.texi: Likewise.
22811 * manual/users.texi: Likewise.
22812 * INSTALL: Regenerated.
22813 * sysdeps/gnu/errlist.c: Regenerated.
22814
07037eeb
JM
22815 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22816 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22817 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22818 puts.
22819 * configure: Regenerated.
22820
d1d3431a
JM
228212012-03-07 Joseph Myers <joseph@codesourcery.com>
22822
af6a1e37
JM
22823 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22824 default includes instead of AC_HEADER_CHECK.
22825 * sysdeps/i386/configure: Regenerated.
22826
d1d3431a
JM
22827 [BZ #10716]
22828 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22829 * math/s_cacoshf.c (__cacoshf): Likewise.
22830 * math/s_cacoshl.c (__cacoshl): Likewise.
22831 * math/s_casinh.c (__casinh): Set signs of result from argument.
22832 * math/s_casinhf.c (__casinhf): Likewise.
22833 * math/s_casinhl.c (__casinhl): Likewise.
22834 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22835 (casinh_test): Add more tests.
22836 * sysdeps/i386/fpu/libm-test-ulps: Update.
22837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22838
482ff4da
UD
228392012-03-07 Ulrich Drepper <drepper@gmail.com>
22840
872fda05
UD
22841 * po/zh_TW.po: Update from translation team.
22842
a4300c7a
UD
22843 * login/Makefile (distribute): Remove variable.
22844 * catgets/Makefile: Likewise.
22845 * mach/Makefile: Likewise.
22846 * malloc/Makefile: Likewise.
22847 * misc/Makefile: Likewise.
22848 * iconv/Makefile: Likewise.
22849 * nscd/Makefile: Likewise.
22850 * hurd/Makefile: Likewise.
22851 * manual/Makefile: Likewise.
22852 * locale/Makefile: Likewise.
22853 * intl/Makefile: Likewise.
22854 * conform/Makefile: Likewise.
22855 * nss/Makefile: Likewise.
22856 * time/Makefile: Likewise.
22857 * soft-fp/Makefile: Likewise.
22858 * dirent/Makefile: Likewise.
22859 * gmon/Makefile: Likewise.
22860 * po/Makefile: Likewise.
22861 * rt/Makefile: Likewise.
22862 * socket/Makefile: Likewise.
22863 * math/Makefile: Likewise.
22864 * signal/Makefile: Likewise.
22865 * debug/Makefile: Likewise.
22866 * elf/Makefile: Likewise.
22867 * timezone/Makefile: Likewise.
22868 * stdlib/Makefile: Likewise.
22869 * iconvdata/Makefile: Likewise.
22870 * sunrpc/Makefile: Likewise.
22871 * io/Makefile: Likewise.
22872 * argp/Makefile: Likewise.
22873 * inet/Makefile: Likewise.
22874 * hesiod/Makefile: Likewise.
22875 * grp/Makefile: Likewise.
22876 * csu/Makefile: Likewise.
22877 * wctype/Makefile: Likewise.
22878 * crypt/Makefile: Likewise.
22879 * libio/Makefile: Likewise.
22880 * string/Makefile: Likewise.
22881 * nis/Makefile: Likewise.
22882 * resolv/Makefile: Likewise.
22883 * stdio-common/Makefile: Likewise.
22884 * wcsmbs/Makefile: Likewise.
22885 * dlfcn/Makefile: Likewise.
22886 * posix/Makefile: Likewise.
22887
3b7c4e74 22888 [BZ #6959]
482ff4da
UD
22889 * timezone/Makefile: Don't install timezone files, just the programs
22890 and scripts.
22891
f72ed77d
UD
228922012-03-06 Ulrich Drepper <drepper@gmail.com>
22893
a000466f
UD
22894 * nss/databases.def: Add missing gshadow entry.
22895
f72ed77d
UD
22896 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22897
a53b7a4e
MP
228982012-03-06 Marek Polacek <polacek@redhat.com>
22899
22900 [BZ #13726]
22901 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22902 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22903 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22904 * stdio-common/tst-long-dbl-fphex.c: New file.
22905
e9258400
DM
229062012-03-06 David S. Miller <davem@davemloft.net>
22907
22908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22909 (set_obp_int): New function.
22910 (get_obp_int): New function.
22911 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22912 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22913 Avoid unused variable warnings on 'val' and use builtin_expect.
22914 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22915 __builtin_expect.
e9258400
DM
22916 (INLINE_CLONE_SYSCALL): Likewise.
22917
3bd2c723
DM
229182012-03-05 David S. Miller <davem@davemloft.net>
22919
22920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22921
bbb78d03
AS
229222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22923
884c5db4
AS
22924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22925
bbb78d03
AS
22926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22927 only for |x| >= 40.
22928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22929
1c9f702a 229302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22931
22932 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22933 Replace gettimeofday with __vdso_gettimeofday.
22934
7be16f82
RM
22935 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22936 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22937 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22938
22939 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22940 time with __vdso_time.
22941
ed58a00f
JM
229422012-03-05 Joseph Myers <joseph@codesourcery.com>
22943
22944 * manual/lang.texi (size_t): Note types to which size_t may be
22945 equivalent with the GNU C Library, but do not describe when
22946 differences between them are significant.
22947
30ee4ced
AJ
229482012-03-05 Andreas Jaeger <aj@suse.de>
22949
22950 * sysdeps/i386/fpu/libm-test-ulps: Update.
22951
b7cd39e8
JM
229522012-03-05 Joseph Myers <joseph@codesourcery.com>
22953
22954 [BZ #3976]
22955 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22956 (__ieee754_pow): Save and restore rounding mode and use
22957 round-to-nearest for main computations.
22958 * math/libm-test.inc (pow_test_tonearest): New function.
22959 (pow_test_towardzero): Likewise.
22960 (pow_test_downward): Likewise.
22961 (pow_test_upward): Likewise.
22962 (main): Call the new functions.
22963 * sysdeps/i386/fpu/libm-test-ulps: Update.
22964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22965
22966 [BZ #3976]
22967 * math/libm-test.inc (cosh_test_tonearest): New function.
22968 (cosh_test_towardzero): Likewise.
22969 (cosh_test_downward): Likewise.
22970 (cosh_test_upward): Likewise.
22971 (sinh_test_tonearest): Likewise.
22972 (sinh_test_towardzero): Likewise.
22973 (sinh_test_downward): Likewise.
22974 (sinh_test_upward): Likewise.
22975 (main): Call the new functions.
22976 * sysdeps/i386/fpu/libm-test-ulps: Update.
22977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22978
6c6a98c9
TV
229792012-03-05 Tom de Vries <tom@codesourcery.com>
22980
22981 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22982 default stack guard is set in last bytes.
22983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22984
21bb2d2e 229852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22986
21bb2d2e 22987 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22988
21bb2d2e
AJ
22989 [BZ #13656]
22990 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22991 possibly allocate from heap instead of stack.
22992 * stdio-common/bug-vfprintf-nargs.c: New file.
22993 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22994
c6922934
AS
229952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22996
22997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22998
bc957d53
MP
229992012-03-03 Marek Polacek <polacek@redhat.com>
23000
23001 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23002 * math/math_private.h: Likewise.
23003 * stdlib/tst-strtod.c: Likewise.
23004 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23005 * sysdeps/x86_64/bits/atomic.h: Likewise.
23006
6358490d
DM
230072012-03-02 David S. Miller <davem@davemloft.net>
23008
23009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23013 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23015 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23016 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23017
01ae168d
RM
230182012-03-02 Roland McGrath <roland@hack.frob.com>
23019
d9a17c07
RM
23020 [BZ #13792]
23021 * manual/examples/README: New file, says the example source files
23022 can be used under GPL>=2.
23023 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23024 line containing just "*/".
23025 * manual/examples/add.c: Add copyright header (GPL>=2).
23026 * manual/examples/argp-ex1.c: Likewise.
23027 * manual/examples/argp-ex2.c: Likewise.
23028 * manual/examples/argp-ex3.c: Likewise.
23029 * manual/examples/argp-ex4.c: Likewise.
23030 * manual/examples/atexit.c: Likewise.
23031 * manual/examples/db.c: Likewise.
23032 * manual/examples/dir.c: Likewise.
23033 * manual/examples/dir2.c: Likewise.
23034 * manual/examples/execinfo.c: Likewise.
23035 * manual/examples/filecli.c: Likewise.
23036 * manual/examples/filesrv.c: Likewise.
23037 * manual/examples/fmtmsgexpl.c: Likewise.
23038 * manual/examples/genpass.c: Likewise.
23039 * manual/examples/inetcli.c: Likewise.
23040 * manual/examples/inetsrv.c: Likewise.
23041 * manual/examples/isockad.c: Likewise.
23042 * manual/examples/longopt.c: Likewise.
23043 * manual/examples/memopen.c: Likewise.
23044 * manual/examples/memstrm.c: Likewise.
23045 * manual/examples/mkfsock.c: Likewise.
23046 * manual/examples/mkisock.c: Likewise.
23047 * manual/examples/mygetpass.c: Likewise.
23048 * manual/examples/pipe.c: Likewise.
23049 * manual/examples/popen.c: Likewise.
23050 * manual/examples/rprintf.c: Likewise.
23051 * manual/examples/search.c: Likewise.
23052 * manual/examples/select.c: Likewise.
23053 * manual/examples/setjmp.c: Likewise.
23054 * manual/examples/sigh1.c: Likewise.
23055 * manual/examples/sigusr.c: Likewise.
23056 * manual/examples/stpcpy.c: Likewise.
23057 * manual/examples/strdupa.c: Likewise.
23058 * manual/examples/strftim.c: Likewise.
23059 * manual/examples/strncat.c: Likewise.
23060 * manual/examples/subopt.c: Likewise.
23061 * manual/examples/swapcontext.c: Likewise.
23062 * manual/examples/termios.c: Likewise.
23063 * manual/examples/testopt.c: Likewise.
23064 * manual/examples/testpass.c: Likewise.
23065 * manual/examples/timeval_subtract.c: Likewise.
23066
01ae168d
RM
23067 [BZ #13792]
23068 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23069 function to ...
23070 * manual/timeval_subtract.c.texi: ... here, new file.
23071
49efa33d
DM
230722012-03-02 David S. Miller <davem@davemloft.net>
23073
23074 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23075
28afd92d
JM
230762012-03-02 Joseph Myers <joseph@codesourcery.com>
23077
804360ed
JM
23078 [BZ #3976]
23079 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23080 (__sin): Save and restore rounding mode and use round-to-nearest
23081 for all computations.
23082 (__cos): Save and restore rounding mode and use round-to-nearest
23083 for all computations.
23084 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23085 <fenv.h>.
23086 (tan): Save and restore rounding mode and use round-to-nearest for
23087 all computations.
23088 * math/libm-test.inc (cos_test_tonearest): New function.
23089 (cos_test_towardzero): Likewise.
23090 (cos_test_downward): Likewise.
23091 (cos_test_upward): Likewise.
23092 (sin_test_tonearest): Likewise.
23093 (sin_test_towardzero): Likewise.
23094 (sin_test_downward): Likewise.
23095 (sin_test_upward): Likewise.
23096 (tan_test_tonearest): Likewise.
23097 (tan_test_towardzero): Likewise.
23098 (tan_test_downward): Likewise.
23099 (tan_test_upward): Likewise.
23100 (main): Call the new functions.
23101 * sysdeps/i386/fpu/libm-test-ulps: Update.
23102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23103
a6d06d7b
JM
23104 [BZ #10135]
23105 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23106 small n, then large n, before computing and testing k+n.
23107 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23109 Likewise.
23110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23111 Likewise.
23112 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23113 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23119 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23120 * math/libm-test.inc (scalbn_test): Add more tests.
23121 (scalbln_test): Likewise.
23122
07e12bb3
JM
23123 * manual/filesys.texi (mode_t): Describe constraints on size and
23124 signedness, not exact equivalence to a particular type.
23125 (ino_t): Likewise.
23126 (ino64_t): Likewise.
23127 (dev_t): Likewise.
23128 (nlink_t): Likewise.
23129 (blkcnt_t): Likewise.
23130 (blkcnt64_t): Likewise.
23131 * manual/llio.texi (off_t): Likewise.
23132
28afd92d
JM
23133 [BZ #3976]
23134 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23135 (__ieee754_exp): Save and restore rounding mode and use
23136 round-to-nearest for all computations.
23137 * math/libm-test.inc (exp_test_tonearest): New function.
23138 (exp_test_towardzero): Likewise.
23139 (exp_test_downward): Likewise.
23140 (exp_test_upward): Likewise.
23141 (main): Call the new functions.
23142 * sysdeps/i386/fpu/libm-test-ulps: Update.
23143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23144
b1eeb65d
CD
231452012-03-01 Chris Demetriou <cgd@google.com>
23146
23147 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23148 have predictable order.
23149
53362a4b
DM
231502012-03-01 David S. Miller <davem@davemloft.net>
23151
3c969083
DM
23152 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23153
759707de
DM
23154 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23155 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23156 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23157 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23158
dfdb8ff2
DM
23159 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23160 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23161 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23165 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23166 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23167 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23168
ead89f96
DM
23169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23170
7f66bd07
DM
23171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23172 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23173 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23174
53362a4b
DM
23175 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23177 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23178 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23179 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23182 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23183 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23184 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23185 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23191 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23192 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23193 * sysdeps/sparc/elf/configure: Regenerated.
23194
7b1902cb
JM
231952012-03-01 Joseph Myers <joseph@codesourcery.com>
23196
bec039bc
JM
23197 * configure.in (AS, LD): Require binutils 2.20 or later.
23198 * configure: Regenerated.
23199 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23200 as required minimum version.
23201 * INSTALL: Regenerated.
23202
7b1902cb
JM
23203 [BZ #2541]
23204 [BZ #4108]
23205 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23206 before squaring exponent.
23207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23208 bottom long double and 27 bits of top long double before squaring
23209 exponent.
23210 * math/libm-test.inc (erfc_test): Add more tests.
23211 * sysdeps/i386/fpu/libm-test-ulps: Update.
23212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23214
f775c276
KT
232152012-03-01 Kai Tietz <ktietz@redhat.com>
23216
23217 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23218 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23219 containing bit-fields.
23220 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23221 * soft-fp/single.h (_FP_UNION_S): Likewise.
23222 * soft-fp/double.h (_FP_UNION_D): Likewise.
23223
5b8a4d4a
JM
232242012-02-29 Joseph Myers <joseph@codesourcery.com>
23225
0bab47b6
JM
23226 [BZ #13786]
23227 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23228 not include ../strcmp.S.
23229 [USE_AS_STRNCASECMP_L]: Likewise.
23230 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23231 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23232 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23233 (__strncasecmp_l_ia32): Define as alias to
23234 __strncasecmp_l_nonascii.
23235
0fcad3e2
JM
23236 [BZ #5794]
23237 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23238 * sysdeps/i386/fpu/libm-test-ulps: Update.
23239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23240
5b8a4d4a
JM
23241 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23243
8fdceb2e
JL
232442012-02-29 Jeff Law <law@redhat.com>
23245
23246 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23247 out of bounds read.
23248
1f393a11
MP
232492012-02-29 Marek Polacek <polacek@redhat.com>
23250
23251 [BZ #13706]
23252 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23253 * elf/Makefile: Add rules to run tst-unused-dep.out.
23254
8847f037
DM
232552012-02-28 David S. Miller <davem@davemloft.net>
23256
23257 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23258 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23263
169d7f11
JM
232642012-02-29 Joseph Myers <joseph@codesourcery.com>
23265
23266 * math/libm-test.inc (llround_test): Move one test from
23267 lround_test. Use TEST_f_L in moved test.
23268 (lround_test): Move misplaced test to llround_test. Add testcase
23269 from bug 2561.
23270
39adf059
UD
232712012-02-28 Ulrich Drepper <drepper@gmail.com>
23272
23273 * sysdeps/x86_64/fpu/e_expf.S: New file.
23274 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23275
71b5d1c5
SB
232762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23277
23278 [BZ #13637]
23279 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23280 of remain_len that may cause incomplete multi-byte character and
23281 false match.
23282 * posix/bug-regex33.c: New file.
23283 * posix/Makefile (tests): Add bug-regex33.
23284
1f77f049
JM
232852012-02-28 Joseph Myers <joseph@codesourcery.com>
23286
23287 * manual/macros.texi: New file.
23288 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23289 * manual/libc.texinfo: Include macros.texi.
23290 * manual/creatute.texi: Likewise.
23291 * manual/install.texi: Likewise.
23292 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23293 @glibcadj{} in references to the GNU C Library.
23294 * manual/charset.texi: Likewise.
23295 * manual/conf.texi: Likewise.
23296 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23297 when not using those macros.
23298 * manual/creature.texi: Likewise.
23299 * manual/crypt.texi: Likewise.
23300 * manual/errno.texi: Likewise.
23301 * manual/filesys.texi: Likewise.
23302 * manual/header.texi: Likewise.
23303 * manual/install.texi: Likewise.
23304 * manual/intro.texi: Likewise.
23305 * manual/io.texi: Likewise.
23306 * manual/job.texi: Likewise.
23307 * manual/lang.texi: Likewise.
23308 * manual/libc.texiinfo: Likewise.
23309 * manual/llio.texi: Likewise.
23310 * manual/locale.texi: Likewise.
23311 * manual/maint.texi: Likewise.
23312 * manual/math.texi: Likewise.
23313 * manual/memory.texi: Likewise.
23314 * manual/message.texi: Likewise.
23315 * manual/nss.texi: Likewise.
23316 * manual/pattern.texi: Likewise.
23317 * manual/process.texi: Likewise.
23318 * manual/resource.texi: Likewise.
23319 * manual/search.texi: Likewise.
23320 * manual/setjmp.texi: Likewise.
23321 * manual/signal.texi: Likewise.
23322 * manual/socket.texi: Likewise.
23323 * manual/startup.texi: Likewise.
23324 * manual/stdio.texi: Likewise.
23325 * manual/string.texi: Likewise.
23326 * manual/sysinfo.texi: Likewise.
23327 * manual/syslog.texi: Likewise.
23328 * manual/terminal.texi: Likewise.
23329 * manual/time.texi: Likewise.
23330 * manual/users.texi: Likewise.
23331 * INSTALL: Regenerated.
23332 * NOTES: Regenerated.
d40c5d54 23333 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23334
450bf206
AS
233352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23336
23337 * include/dirent.h: Include <dirstream.h> before
23338 <dirent/dirent.h>.
23339
741a235b
DM
233402012-02-28 David S. Miller <davem@davemloft.net>
23341
23342 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23343 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23344 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23345 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23346
d6b5aa58
DM
233472012-02-27 David S. Miller <davem@davemloft.net>
23348
1aff59a3
DM
23349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23351 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23352 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23353
d6b5aa58
DM
23354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23355 frame pointer instead of stack pointer relative arg slot.
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23357 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23358 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23359
433f48bf
CD
233602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23361
23362 [BZ #3992]
23363 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23364
d674b76d
DM
233652012-02-27 David S. Miller <davem@davemloft.net>
23366
23367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23373 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23374 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23375
0e7727f7
JM
233762012-02-27 Joseph Myers <joseph@codesourcery.com>
23377
23378 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23379 later. Allow versions 5-9.
43be4ca2 23380 * configure: Regenerated.
0e7727f7
JM
23381 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23382 required minimum version and 4.6 as recommended version. Do not
23383 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23384 * INSTALL: Regenerated.
0e7727f7 23385
a78bc654
DM
233862012-02-27 David S. Miller <davem@davemloft.net>
23387
428d5830
DM
23388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23392 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23393 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23394 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23396
a78bc654
DM
23397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23398 manipulate bits before adding and subtracting TWO112[sx].
23399 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23400
4579f81c
RM
234012012-02-27 Roland McGrath <roland@hack.frob.com>
23402
36c8acb4
RM
23403 [BZ #13775]
23404 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23405 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23406 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23407 being in POSIX, because they are in 1003.1-2008.
23408
84ad622b
RM
23409 * rt/tst-aio.c: Include <fcntl.h>.
23410 * rt/tst-aio7.c: Likewise.
23411 * rt/tst-aio64.c: Likewise.
23412
4579f81c
RM
23413 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23414
abd923db
JM
234152012-02-27 Joseph Myers <joseph@codesourcery.com>
23416
23417 * manual/install.texi (--with-headers): Describe headers as
23418 interface headers, not private headers.
23419 (Specific advice for GNU/Linux systems): Describe use of headers
23420 from "make headers_install", not private headers from older
23421 kernels.
43be4ca2 23422 * INSTALL: Regenerated.
abd923db
JM
23423 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23424 Change to 2.6.19.
23425 * sysdeps/unix/sysv/linux/configure: Regenerated.
23426
6664049b
JM
23427 * manual/llio.texi (fclean): Remove documentation.
23428
bb8b6697
JM
23429 * manual/Makefile (libc-texi-generated): New variable. Include
23430 version.texi.
23431 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23432 $(libc-texi-generated), not duplicated list of files.
23433 (version.texi, stamp-version): New rules.
23434 (realclean): Remove $(libc-texi-generated), not individual files
23435 from that list. Do not remove dir-add.texinfo.
23436 * manual/libc.texinfo: Comment out uses of edition numbers and
23437 references to printed manual. Remove last-updated dates.
23438 (EDITION): Comment out.
23439 (ISBN): Likewise.
23440 (VERSION, UPDATED): Remove.
23441 (version.texi): Include.
23442
12e5c3b9
AS
234432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23444
23445 * sysdeps/posix/spawni.c: Include <signal.h>.
23446 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23447 * sysdeps/pthread/aio_fsync.c: Likewise.
23448
4efeffc1 234492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23450
ba63ba08
UD
23451 * conform/Makefile (tests): Run only when not cross-compiling and
23452 when fast-check is not defined.
23453
d94a4670
UD
23454 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23455 * conform/data/limits.h-data: Fixes for POSIX2008.
23456 * conform/run-conformtest.sh: Run all tests.
23457 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23458 headers.
23459 * include/bits/dlfcn.h: Likewise.
23460 * include/langinfo.h: Likewise.
23461 * include/monetary.h: Likewise.
23462 * include/sys/poll.h: Likewise.
23463
23464 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23465 for __USE_GNU.
23466 * posix/spawn.h: Define __need_sigset_t.
23467 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23468 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23469 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23470 to get sigevent_t only.
23471 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23472 only for __USE_GNU.
23473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23474 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23475 process_vm_writev only for __USE_GNU.
23476 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23477
23478 * conform/Makefile: For now ignore errors from run-conformtest.
23479 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23480 POSIX to avoid namespace pollution. Don't prepend headers.
23481 * conform/data/aio.h-data: Fixes for POSIX testing.
23482 * conform/data/fcntl.h-data: Likewise.
23483 * conform/data/glob.h-data: Likewise.
23484 * conform/data/grp.h-data: Likewise.
23485 * conform/data/pthread.h-data: Likewise.
23486 * conform/data/pwd.h-data: Likewise.
23487 * conform/data/signal.h-data: Likewise.
23488 * conform/data/spawn.h-data: Likewise.
23489 * conform/data/stdio.h-data: Likewise.
23490 * conform/data/stdlib.h-data: Likewise.
23491 * conform/data/stropts.h-data: Likewise.
23492 * conform/data/sys/mman.h-data: Likewise.
23493 * conform/data/sys/stat.h-data: Likewise.
23494 * conform/data/sys/types.h-data: Likewise.
23495 * conform/data/sys/wait.h-data: Likewise.
23496 * conform/data/time.h-data: Likewise.
23497 * conform/data/unistd.h-data: Likewise.
23498 * conform/data/utime.h-data: Likewise.
23499
23500 * io/sys/stat.h: fchmod was always in POSIX.
23501 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23502 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23503 * rt/aio.h: Define __need_timespec before including <time.h>.
23504 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23505 struct. Add forward declaration of pthread_attr_t and use it in
23506 sigevent.
23507 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23509 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23510 always remove CLK_TCK definition.
23511
c20105c3
AS
235122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23513
23514 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23515
7a270350
UD
235162012-02-25 Ulrich Drepper <drepper@gmail.com>
23517
31341567
UD
23518 * conform/run-conformtest.sh: New file.
23519 * conform/Makefile: Run run-conformtest for tests.
23520 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23521 support.
23522
23523 * conform/data/uchar.h-data: New file.
23524 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23525 * conform/data/arpa/inet.h-data: Likewise.
23526 * conform/data/assert.h-data: Likewise.
23527 * conform/data/complex.h-data: Likewise.
23528 * conform/data/cpio.h-data: Likewise.
23529 * conform/data/ctype.h-data: Likewise.
23530 * conform/data/dirent.h-data: Likewise.
23531 * conform/data/dlfcn.h-data: Likewise.
23532 * conform/data/errno.h-data: Likewise.
23533 * conform/data/fcntl.h-data: Likewise.
23534 * conform/data/float.h-data: Likewise.
23535 * conform/data/fmtmsg.h-data: Likewise.
23536 * conform/data/fnmatch.h-data: Likewise.
23537 * conform/data/ftw.h-data: Likewise.
23538 * conform/data/glob.h-data: Likewise.
23539 * conform/data/grp.h-data: Likewise.
23540 * conform/data/iconv.h-data: Likewise.
23541 * conform/data/inttypes.h-data: Likewise.
23542 * conform/data/langinfo.h-data: Likewise.
23543 * conform/data/libgen.h-data: Likewise.
23544 * conform/data/limits.h-data: Likewise.
23545 * conform/data/locale.h-data: Likewise.
23546 * conform/data/math.h-data: Likewise.
23547 * conform/data/monetary.h-data: Likewise.
23548 * conform/data/mqueue.h-data: Likewise.
23549 * conform/data/ndbm.h-data: Likewise.
23550 * conform/data/net/if.h-data: Likewise.
23551 * conform/data/netdb.h-data: Likewise.
23552 * conform/data/netinet/in.h-data: Likewise.
23553 * conform/data/nl_types.h-data: Likewise.
23554 * conform/data/poll.h-data: Likewise.
23555 * conform/data/pthread.h-data: Likewise.
23556 * conform/data/pwd.h-data: Likewise.
23557 * conform/data/regex.h-data: Likewise.
23558 * conform/data/sched.h-data: Likewise.
23559 * conform/data/search.h-data: Likewise.
23560 * conform/data/semaphore.h-data: Likewise.
23561 * conform/data/setjmp.h-data: Likewise.
23562 * conform/data/signal.h-data: Likewise.
23563 * conform/data/spawn.h-data: Likewise.
23564 * conform/data/stdarg.h-data: Likewise.
23565 * conform/data/stdio.h-data: Likewise.
23566 * conform/data/stdlib.h-data: Likewise.
23567 * conform/data/string.h-data: Likewise.
23568 * conform/data/strings.h-data: Likewise.
23569 * conform/data/stropts.h-data: Likewise.
23570 * conform/data/sys/ipc.h-data: Likewise.
23571 * conform/data/sys/mman.h-data: Likewise.
23572 * conform/data/sys/msg.h-data: Likewise.
23573 * conform/data/sys/resource.h-data: Likewise.
23574 * conform/data/sys/select.h-data: Likewise.
23575 * conform/data/sys/sem.h-data: Likewise.
23576 * conform/data/sys/shm.h-data: Likewise.
23577 * conform/data/sys/socket.h-data: Likewise.
23578 * conform/data/sys/stat.h-data: Likewise.
23579 * conform/data/sys/statvfs.h-data: Likewise.
23580 * conform/data/sys/time.h-data: Likewise.
23581 * conform/data/sys/timeb.h-data: Likewise.
23582 * conform/data/sys/times.h-data: Likewise.
23583 * conform/data/sys/types.h-data: Likewise.
23584 * conform/data/sys/uio.h-data: Likewise.
23585 * conform/data/sys/un.h-data: Likewise.
23586 * conform/data/sys/utsname.h-data: Likewise.
23587 * conform/data/sys/wait.h-data: Likewise.
23588 * conform/data/syslog.h-data: Likewise.
23589 * conform/data/tar.h-data: Likewise.
23590 * conform/data/termios.h-data: Likewise.
23591 * conform/data/utime.h-data: Likewise.
23592 * conform/data/utmpx.h-data: Likewise.
23593 * conform/data/varargs.h-data: Likewise.
23594 * conform/data/wchar.h-data: Likewise.
23595 * conform/data/wctype.h-data: Likewise.
23596 * conform/data/wordexp.h-data: Likewise.
23597
23598 * include/stropts.h: New file.
23599 * include/uchar.h: New file.
23600 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23601 * include/assert.h: Likewise.
23602 * include/ctype.h: Likewise.
23603 * include/dirent.h: Likewise.
23604 * include/dlfcn.h: Likewise.
23605 * include/fcntl.h: Likewise.
23606 * include/fnmatch.h: Likewise.
23607 * include/glob.h: Likewise.
23608 * include/grp.h: Likewise.
23609 * include/libio.h: Likewise.
23610 * include/locale.h: Likewise.
23611 * include/math.h: Likewise.
23612 * include/net/if.h: Likewise.
23613 * include/netdb.h: Likewise.
23614 * include/netinet/in.h: Likewise.
23615 * include/pthread.h: Likewise.
23616 * include/pwd.h: Likewise.
23617 * include/regex.h: Likewise.
23618 * include/sched.h: Likewise.
23619 * include/search.h: Likewise.
23620 * include/setjmp.h: Likewise.
23621 * include/signal.h: Likewise.
23622 * include/stdio.h: Likewise.
23623 * include/stdlib.h: Likewise.
23624 * include/string.h: Likewise.
23625 * include/sys/cdefs.h: Likewise.
23626 * include/sys/mman.h: Likewise.
23627 * include/sys/msg.h: Likewise.
23628 * include/sys/resource.h: Likewise.
23629 * include/sys/select.h: Likewise.
23630 * include/sys/socket.h: Likewise.
23631 * include/sys/stat.h: Likewise.
23632 * include/sys/statvfs.h: Likewise.
23633 * include/sys/time.h: Likewise.
23634 * include/sys/times.h: Likewise.
23635 * include/sys/uio.h: Likewise.
23636 * include/sys/utsname.h: Likewise.
23637 * include/sys/wait.h: Likewise.
23638 * include/termios.h: Likewise.
23639 * include/time.h: Likewise.
23640 * include/ulimit.h: Likewise.
23641 * include/unistd.h: Likewise.
23642 * include/utime.h: Likewise.
23643 * include/wchar.h: Likewise.
23644 * include/wctype.h: Likewise.
23645 * include/wordexp.h: Likewise.
23646
23647 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23648
7a270350
UD
23649 * time/time.h: TIME_UTC must be a macro.
23650 Make timespec_get available for ISO C11 only as well.
23651
7724defc
UD
236522012-02-24 Ulrich Drepper <drepper@gmail.com>
23653
23654 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23655 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23656
6b1d1d46
JM
236572012-02-24 Joseph Myers <joseph@codesourcery.com>
23658
23659 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23660
0f8bbd69
JM
236612012-02-24 Joseph Myers <joseph@codesourcery.com>
23662
23663 * manual/texinfo.tex: Update to version 2012-01-19.16.
23664
66ab80bc
JM
236652012-02-24 Joseph Myers <joseph@codesourcery.com>
23666
23667 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23668
74981cc5
RM
236692012-02-24 Roland McGrath <roland@hack.frob.com>
23670
ee968201
RM
23671 [BZ #13738]
23672 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23673 * manual/fdl-1.3.texi: New file.
23674 * manual/fdl-1.1.texi: File removed.
23675
74981cc5
RM
23676 [BZ #13738]
23677 * manual/libc.texinfo (FDL_VERSION): New @set.
23678 Use it for mention of FDL in cover text.
23679 (Documentation License): Use it in @include file name.
23680
7bb764bc
JM
236812012-02-22 Joseph Myers <joseph@codesourcery.com>
23682 Roland McGrath <roland@hack.frob.com>
23683
23684 [BZ #5461]
23685 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23686 not LONG_LONG_MAX and LONG_LONG_MIN.
23687 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23688 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23689 name.
23690 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23691
6cbeae47
JM
236922012-02-22 Joseph Myers <joseph@codesourcery.com>
23693
23694 [BZ #2547]
23695 [BZ #11365]
23696 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23697 manipulate bits before adding and subtracting TWO23[sx].
23698 * math/libm-test.inc (nearbyint_test): Add more tests.
23699
fe45ce09
JM
237002012-02-22 Joseph Myers <joseph@codesourcery.com>
23701
23702 [BZ #2548]
23703 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23704 bits before adding and subtracting TWO23[sx].
23705 * math/libm-test.inc (rint_test): Add more tests.
23706 (rint_test_tonearest): Likewise.
23707 (rint_test_towardzero): Likewise.
23708 (rint_test_downward): Likewise.
23709 (rint_test_upward: Likewise.
23710
ff3b3d82
JM
237112012-02-22 Joseph Myers <joseph@codesourcery.com>
23712
23713 [BZ #10110]
23714 * include/stdc-predef.h: New file. Extracted from features.h.
23715 * include/features.h: Include stdc-predef.h.
23716 * Makefile (headers): Add stdc-predef.h.
23717 * CONFORMANCE (Compiler limitations): Update.
23718
ef0aab35
JM
237192012-02-22 Joseph Myers <joseph@codesourcery.com>
23720
23721 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23722
58639409
DM
237232012-02-21 David S. Miller <davem@davemloft.net>
23724
23725 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23726 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23727
c0e70b25
DM
237282012-02-20 David S. Miller <davem@davemloft.net>
23729
23730 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23731 using a normal save/restore sequence, rather than allocating a
23732 dummy stack frame just to store a frame pointer and restore.
23733 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23734
fb06851d
JM
237352012-02-21 Joseph Myers <joseph@codesourcery.com>
23736
23737 * manual/install.texi: Fix stray word in line-wrapped comment.
23738
7a8b71c3
DM
237392012-02-20 David S. Miller <davem@davemloft.net>
23740
d510c123
DM
23741 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23742 both binutils and gcc support GOTDATA.
23743
0722d7c2
DM
23744 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23745 "rd %pc" in the PIC register setup sequences.
23746
3d2b3019
DM
23747 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23748 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23749 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23750 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23751 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23756 (SYSCALL_ERROR_HANDLER): Likewise.
23757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23760 (SYSCALL_ERROR_HANDLER): Likewise.
23761
c80098a9
DM
23762 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23763 (HAVE_GCC_GOTDATA): New.
23764 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23765 relocation support in both binutils and gcc.
23766 * sysdeps/sparc/elf/configure: Regenerate.
23767
3a2545a0
DM
23768 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23769 * sysdeps/sparc/sparc32/elf/configure: Delete.
23770 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23771 * sysdeps/sparc/sparc64/elf/configure: Delete.
23772 * sysdeps/sparc/elf/configure.in: New file.
23773 * sysdeps/sparc/elf/configure: Generate.
23774
7a8b71c3
DM
23775 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23776 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23777 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23778 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23779 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23780
f1e86fca
JM
237812012-02-21 Joseph Myers <joseph@codesourcery.com>
23782
23783 * manual/install.texi: Do not mention specific glibc version
23784 numbers.
23785 * manual/libc.texinfo (VERSION, UPDATED): Update.
23786 (@copying): Use @copyright{} and range of years.
23787
0e7dfaef
JM
237882012-02-21 Joseph Myers <joseph@codesourcery.com>
23789
23790 [BZ #13695]
23791 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23792 [crti.S not in sysdirs] (generated): Do not append.
23793 [crti.S not in sysdirs] (omit-deps): Likewise.
23794 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23795 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23796 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23797 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23798 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23799 Likewise.
23800 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23801 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23802 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23803 * csu/defs.awk: Remove file.
23804 * sysdeps/generic/initfini.c: Likewise.
23805 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23806 variable.
23807 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23808 Likewise.
23809
599af3ca
JM
238102012-02-20 Joseph Myers <joseph@codesourcery.com>
23811
23812 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23813 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23814 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23815 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23817 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23818 <bits/epoll.h>.
23819 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23820 (__EPOLL_PACKED): Define to empty if not defined by
23821 <bits/epoll.h>.
23822 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23824 bits/epoll.h.
23825
0e499750
JM
238262012-02-20 Joseph Myers <joseph@codesourcery.com>
23827
23828 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23829 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23830 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23831 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23832 <bits/timerfd.h>.
23833 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23835 bits/timerfd.h.
23836
5ad91f6e
JM
238372012-02-20 Joseph Myers <joseph@codesourcery.com>
23838
23839 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23840 in C locale.
23841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23842 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845
06b99b02
AJ
238462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23847
23848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23849 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23850
7638c0fd
AS
238512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23852
23853 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23854 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23855 defined.
23856 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23857 Likewise.
23858 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23859 entry for 2.16.
23860
92221550
AJ
238612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23862
23863 * math/w_acos.c: Use non-signaling floating-point comparisons.
23864 * math/w_acosf.c: Likewise.
23865 * math/w_acosh.c: Likewise.
23866 * math/w_acoshf.c: Likewise.
23867 * math/w_acoshl.c: Likewise.
23868 * math/w_acosl.c: Likewise.
23869 * math/w_asin.c: Likewise.
23870 * math/w_asinf.c: Likewise.
23871 * math/w_asinl.c: Likewise.
23872 * math/w_atanh.c: Likewise.
23873 * math/w_atanhf.c: Likewise.
23874 * math/w_atanhl.c: Likewise.
23875 * math/w_exp2.c: Likewise.
23876 * math/w_exp2f.c: Likewise.
23877 * math/w_exp2l.c: Likewise.
23878 * math/w_j0.c: Likewise.
23879 * math/w_j0f.c: Likewise.
23880 * math/w_j0l.c: Likewise.
23881 * math/w_j1.c: Likewise.
23882 * math/w_j1f.c: Likewise.
23883 * math/w_j1l.c: Likewise.
23884 * math/w_jn.c: Likewise.
23885 * math/w_jnf.c: Likewise.
23886 * math/w_log.c: Likewise.
23887 * math/w_log10.c: Likewise.
23888 * math/w_log10f.c: Likewise.
23889 * math/w_log10l.c: Likewise.
23890 * math/w_log2.c: Likewise.
23891 * math/w_log2f.c: Likewise.
23892 * math/w_log2l.c: Likewise.
23893 * math/w_logf.c: Likewise.
23894 * math/w_logl.c: Likewise.
23895 * math/w_sqrt.c: Likewise.
23896 * math/w_sqrtf.c: Likewise.
23897 * math/w_sqrtl.c: Likewise.
23898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23899 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23901 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23902 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23903
ebaf36eb
JM
239042012-02-19 Joseph Myers <joseph@codesourcery.com>
23905
23906 [BZ #9739]
23907 * manual/string.texi (strnlen): Use correct parameter name in
23908 equivalent expression.
23909
71c254a6
JM
239102012-02-19 Joseph Myers <joseph@codesourcery.com>
23911
23912 [BZ #11174]
23913 * manual/users.texi (seteuid): Consistently use neweuid for
23914 argument name.
23915
16d2c631
JM
239162012-02-19 Joseph Myers <joseph@codesourcery.com>
23917
23918 [BZ #13704]
23919 * manual/nss.texi (Services in the NSS configuration): Correct
23920 list of services in example configuration file.
23921
cd837b09
NB
239222012-02-19 Nick Bowler <nbowler@draconx.ca>
23923
23924 [BZ #11322]
23925 * manual/arith.texi: Remove statements about negative zero
23926 behaving identically to zero.
23927
02c4bbad
JM
239282012-02-18 Joseph Myers <joseph@codesourcery.com>
23929
23930 [BZ #5993]
23931 * manual/install.texi: Do not document upgrading from libc5.
23932
366842e7
JM
239332012-02-18 Joseph Myers <joseph@codesourcery.com>
23934
23935 [BZ #4596]
23936 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23937
dd54084d
DM
239382012-02-18 David S. Miller <davem@davemloft.net>
23939
23940 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23941 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23942 %o7 across the call.
23943 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23944 instead.
23945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23946 SETUP_PIC_REG_LEAF.
23947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23948 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23949 * sysdeps/sparc/crtn.S: Likewise.
23950
2bcc53a3
UD
239512012-02-17 Ulrich Drepper <drepper@gmail.com>
23952
23953 * aout/Makefile: Remove.
23954
09c093b5
RK
239552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23956
23957 [BZ #13058]
23958 * manual/examples/argp-ex1.c (main): Format definition in GNU
23959 style.
23960 * manual/examples/argp-ex2.c (main): Likewise.
23961 * manual/examples/argp-ex3.c (main): Likewise.
23962 * manual/examples/argp-ex4.c (main): Likewise.
23963 * manual/examples/longopt.c (main): Use new-style prototype
23964 definition.
23965 * manual/examples/strncat.c (main): Specify return type and use
23966 (void) for arguments.
23967 * manual/examples/subopt.c (main): Use char **argv argument.
23968
2ee633a2
JM
239692012-02-17 Joseph Myers <joseph@codesourcery.com>
23970
23971 [BZ #5077]
23972 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23973 rounding modes.
23974
0520adde
FB
239752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23976
23977 [BZ #6907]
23978 * manual/string.texi (strchr): Change when strchrnul is
23979 recommended.
23980
3f4081cd
DGM
239812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23982
23983 [BZ #174]
23984 * manual/locale.texi (setlocale): Document LOCPATH.
23985
d1b10e78
JM
239862012-02-17 Joseph Myers <joseph@codesourcery.com>
23987
23988 [BZ #10210]
23989 * manual/process.texi (execle): Move @dots{} before last argument.
23990
79c6869c
PB
239912012-02-17 Paul Bolle <pebolle@tiscali.nl>
23992
23993 [BZ #12047]
23994 * manual/charset.texi (Generic Charset Conversion): Fix typo
23995 (LC_TYPE -> LC_CTYPE).
23996
cc6e48bc
NB
239972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23998
23999 [BZ #5805]
24000 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24001 (scalbnf): Likewise.
24002 (scalbnl): Likewise.
24003 (scalbln): Likewise.
24004 (scalblnf): Likewise.
24005 (scalblnl): Likewise.
24006 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24007 (vwarnx): Likewise.
24008 (verr): Likewise.
24009 (verrx): Likewise.
24010 * manual/filesys.texi (telldir): Use braces around return type.
24011 * manual/llio.texi (mmap): Add space after comma.
24012 (mmap64): Likewise.
24013 * manual/math.texi (jn): Use @var{} on parameter names.
24014 (jnf): Likewise.
24015 (jnl): Likewise.
24016 (yn): Likewise.
24017 (ynf): Likewise.
24018 (ynl): Likewise.
24019 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24020 line.
24021 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24022 "...".
24023 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24024 (sched_get_priority_max): Likewise.
24025 * manual/signal.texi (sigvec): Add space after comma.
24026 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24027 names.
24028 (if_indextoname): Likewise.
24029 (if_freenameindex): Likewise.
24030 (sendto): Use ',' instead of '.' in prototype.
24031 * manual/startup.texi (syscall): Use @dots{} instead of literal
24032 "...".
24033 * manual/stdio.texi (__fpending): Separate initial words of
24034 paragraph from @deftypefun line.
24035 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24036 "...".
24037 (vsyslog): Use @var{} on parameter names.
24038 * manual/terminal.texi (stty): Use @var{} on parameter names.
24039 * manual/users.texi (getutmp): Use @var{} on parameter names.
24040 (getutmpx): Likewise.
24041
5b23062f
JM
240422012-02-17 Joseph Myers <joseph@codesourcery.com>
24043
24044 [BZ #6884]
24045 * manual/stdio.texi (fopen): Fix typos in description of
24046 ",ccs=STRING".
24047
8dee4833
AJ
240482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24049
24050 [BZ #4026]
24051 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24052 get clock_id definition.
24053
9078ce93
TS
240542012-02-17 Thomas Schwinge <thomas@schwinge.name>
24055
24056 [BZ #4822]
24057 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24058 (madvise): Cast every argument to void on its own.
24059
3835c55f
JM
240602012-02-17 Joseph Myers <joseph@codesourcery.com>
24061
24062 [BZ #9902]
24063 * manual/startup.texi (Exit Status): Fix typo.
24064
35c47e37
JM
240652012-02-17 Joseph Myers <joseph@codesourcery.com>
24066
24067 [BZ #10140]
24068 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24069 * manual/examples/argp-ex2.c: Likewise.
24070 * manual/examples/argp-ex3.c: Likewise.
24071
e3b69ca7
RH
240722012-02-16 Richard Henderson <rth@redhat.com>
24073
24074 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24075 * sysdeps/s390/s390-32/initfini.c: Remove.
24076 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24077 * sysdeps/s390/s390-64/initfini.c: Remove.
24078
df83af67
KK
240792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24080
24081 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24082 compiler output for sysdeps/generic/initfini.c.
24083 * sysdeps/sh/elf/initfini.c: Remove file.
24084
f63f3380
DM
240852012-02-16 David S. Miller <davem@davemloft.net>
24086
fb59b3a4
DM
24087 [BZ #11494]
24088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24089
f63f3380
DM
24090 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24091 * sysdeps/sparc/crti.S: New file.
24092 * sysdeps/sparc/crtn.S: New file.
24093 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24094 * sysdeps/sparc/sparc64/Makefile: Likewise.
24095
df6a4a4a
MF
240962012-02-15 Mike Frysinger <vapier@gentoo.org>
24097
6dd8f3dc 24098 [BZ #3335]
df6a4a4a
MF
24099 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24100
1cac7236
RM
241012012-02-15 Roland McGrath <roland@hack.frob.com>
24102
d2c736f8
RM
24103 [BZ #4822]
24104 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24105
1cac7236
RM
24106 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24107 (write, read, close): Likewise.
24108 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24109
8e475601
JM
241102012-02-15 Joseph Myers <joseph@codesourcery.com>
24111
24112 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24113 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24114 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24115 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24116 <bits/signalfd.h>.
24117 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24119 bits/signalfd.h.
24120
ed656b40
MP
241212012-02-14 Marek Polacek <polacek@redhat.com>
24122
24123 * sysdeps/x86_64/crti.S: New file.
24124 * sysdeps/x86_64/crtn.S: New file.
24125 * sysdeps/x86_64/elf/initfini.c: Remove file.
24126
2a979d3a
JM
241272012-02-13 Joseph Myers <joseph@codesourcery.com>
24128
24129 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24130 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24131 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24132 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24133 <bits/inotify.h>.
24134 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24136 bits/inotify.h.
24137
2a418ac3
JM
241382012-02-13 Joseph Myers <joseph@codesourcery.com>
24139
24140 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24141 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24142 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24143 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24144 <bits/eventfd.h>.
24145 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24147 bits/eventfd.h.
24148
fb779be7
TS
241492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24150
e19e83c5
RM
24151 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24152 __feraiseexcept instead of feraiseexcept.
7c35ffed 24153
fb779be7
TS
24154 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24155 nanosleep invocations.
24156 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24157 strings, and add error checking for a nanosleep invocations.
24158
59ba27a6
PE
241592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24160
24161 Replace FSF snail mail address with URLs, as per GNU coding standards.
24162 Most of the snail mail addresses were wrong anyway, and omitting
24163 them makes the source code easier to maintain. Almost all of the
24164 changes are to license notices and to locale LC_IDENTIFICATION
24165 addresses, except for this one:
24166 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24167 not its snail mail address.
24168
57b957eb
RH
241692012-02-09 Richard Henderson <rth@twiddle.net>
24170
af850b1c
RH
24171 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24172 of kernel-features.h.
24173
57b957eb
RH
24174 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24175
6b73181a
MP
241762012-02-08 Marek Polacek <polacek@redhat.com>
24177
24178 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24179 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24180 * sysdeps/gnu/_G_config.h: Likewise.
24181 * sysdeps/generic/_G_config.h: Likewise.
24182
26ecc33a
AS
241832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24184
6c6dbc63
AS
24185 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24186 tests.
24187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24188
e216c012
AS
24189 * sysdeps/powerpc/powerpc32/crti.S: New file.
24190 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24191 * sysdeps/powerpc/powerpc64/crti.S: New file.
24192 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24193
26ecc33a
AS
24194 * Makeconfig (have-initfini): Don't set.
24195 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24196 * configure.in (nopic_initfini): Don't substitute.
24197 * config.h.in (HAVE_INITFINI): Don't #undef.
24198 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24199 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24200
3add8e13
JM
242012012-02-08 Joseph Myers <joseph@codesourcery.com>
24202
24203 Support crti.S and crtn.S provided directly by architectures.
24204 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24205 [crti.S in sysdirs] (omit-deps): Likewise.
24206 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24207 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24208 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24209 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24210 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24211 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24212 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24213 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24214 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24215 compiler output for sysdeps/generic/initfini.c.
24216 * sysdeps/i386/elf/Makefile: Remove file.
24217 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24218
a22f12b4
MP
242192012-02-07 Marek Polacek <polacek@redhat.com>
24220
24221 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24222 * sysdeps/gnu/_G_config.h: Likewise.
24223 * sysdeps/mach/hurd/_G_config.h: Likewise.
24224
148cf100
MP
242252012-02-07 Marek Polacek <polacek@redhat.com>
24226
24227 * math/Makefile (tests): Add tst-CMPLX2.
24228 * math/tst-CMPLX2.c: New file.
24229
cfdc0dd7
AS
242302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24231
84ba42c4
AS
24232 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24233
cfdc0dd7
AS
24234 * math/libm-test.inc (jn_test): Add missing L suffix.
24235
622c86f4
MP
242362012-02-06 Marek Polacek <polacek@redhat.com>
24237
24238 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24239 * sysdeps/i386/fpu/e_powf.S: Likewise.
24240 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24241 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24242 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24243 * sysdeps/i386/fpu/e_pow.S: Likewise.
24244 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24245 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24246 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24247 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24248 * sysdeps/i386/fpu/e_log2.S: Likewise.
24249 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24250 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24251 * sysdeps/i386/fpu/e_powl.S: Likewise.
24252 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24253 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24254 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24255 * sysdeps/i386/fpu/e_logl.S: Likewise.
24256 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24257 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24258 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24259 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24260 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24261 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24262 * sysdeps/i386/fpu/e_log.S: Likewise.
24263 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24264 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24265 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24266 * sysdeps/i386/fpu/e_logf.S: Likewise.
24267 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24268 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24269 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24270 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24271 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24272 * sysdeps/i386/fpu/e_log10.S: Likewise.
24273 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24274 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24275 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24276 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24277 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24278 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24279 * sysdeps/i386/asm-syntax.h: Likewise.
24280 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24282 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24283 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24284 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24285 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24286 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24287 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24288 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24289 * sysdeps/powerpc/sysdep.h: Likewise.
24290 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24292
d4a54ac6
JM
242932012-02-06 Joseph Myers <joseph@codesourcery.com>
24294
24295 [BZ #411]
24296 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24297
314054ea
JM
242982012-02-06 Joseph Myers <joseph@codesourcery.com>
24299
24300 * sysdeps/i386/sysdep.h: Include <features.h>.
24301 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24302 version.
24303
d8e0ca50
JM
243042012-02-05 Joseph Myers <joseph@codesourcery.com>
24305
24306 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24307 Define.
24308 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24309 LOAD_PIC_REG_STR.
24310
b1da7dd9
JM
243112012-02-03 Joseph Myers <joseph@codesourcery.com>
24312
24313 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24314 (SETUP_PIC_REG): Use GET_PC_THUNK.
24315 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24316 macro.
24317
9a1d9254
JM
243182012-02-03 Joseph Myers <joseph@codesourcery.com>
24319
24320 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24321 for non-PIC compilation.
24322 (SETUP_PIC_REG): Add .p2align directive.
24323 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24324 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24325 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24326 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24328 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24329 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24330 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24331 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24332 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24333 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24334 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24335 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24336 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24337 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24340 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24341 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24342 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24343 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24345 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24346 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24354 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24355 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24356 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24357 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24360 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24361 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24362 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24364
65dc3b75
JM
243652012-02-03 Joseph Myers <joseph@codesourcery.com>
24366
24367 * math/tst-CMPLX.c: Include <stdio.h>.
24368
d55bf177
JM
243692012-01-31 Joseph Myers <joseph@codesourcery.com>
24370
24371 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24372 float.
24373 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24374 * sysdeps/sparc/bits/mathdef.h: Likewise.
24375
69db4f8f
MP
243762012-01-31 Marek Polacek <polacek@redhat.com>
24377
24378 * libio/libio.h: Don't define _PARAMS.
24379 * locale/programs/config.h: Don't define PARAMS.
24380 * stdlib/strtol_l.c: Likewise.
24381 (__strtol_l): Remove PARAMS from the prototype.
24382
41b81892
UD
243832012-01-31 Ulrich Drepper <drepper@gmail.com>
24384
3b49edc0
UD
24385 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24386 names. Just use the correct names. Remove unnecessary wrapper
24387 functions.
24388 * malloc/arena.c: Likewise.
24389 * malloc/hooks.c: Likewise.
24390
41b81892
UD
24391 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24392 ARENA_TEST says not to. Simplify test for creation of a new arena.
24393 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24394
27a25b6e
UD
243952012-01-30 Ulrich Drepper <drepper@gmail.com>
24396
24397 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24398 into tail calls.
24399 (update_get_addr): New function.
24400 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24401 GET_ADDR_MODULE parameter.
24402
c8a89e7d
JM
244032012-01-30 Joseph Myers <joseph@codesourcery.com>
24404
24405 * crypt/cert.c: Remove __STDC__ conditionals.
24406 * crypt/crypt-entry.c: Likewise.
24407 * crypt/crypt_util.c: Likewise.
24408 * libio/filedoalloc.c: Likewise.
24409 * libio/fileops.c: Likewise.
24410 * libio/genops.c: Likewise.
24411 * libio/iofclose.c: Likewise.
24412 * libio/iofdopen.c: Likewise.
24413 * libio/iofopen.c: Likewise.
24414 * libio/iofopen64.c: Likewise.
24415 * libio/iogetdelim.c: Likewise.
24416 * libio/iopopen.c: Likewise.
24417 * libio/obprintf.c: Likewise.
24418 * libio/oldfileops.c: Likewise.
24419 * libio/oldiofclose.c: Likewise.
24420 * libio/oldiofdopen.c: Likewise.
24421 * libio/oldiofopen.c: Likewise.
24422 * libio/oldiopopen.c: Likewise.
24423 * libio/wfiledoalloc.c: Likewise.
24424 * libio/wgenops.c: Likewise.
24425 * locale/programs/xmalloc.c: Likewise.
24426 * misc/syslog.c: Likewise.
24427 * stdio-common/xbug.c: Likewise.
24428 * string/memchr.c: Likewise.
24429 * string/memcmp.c: Likewise.
24430 * string/memrchr.c: Likewise.
24431 * string/rawmemchr.c: Likewise.
24432 * sysdeps/posix/getcwd.c: Likewise.
24433 * time/strftime_l.c: Likewise.
24434
3b100462
JM
244352012-01-30 Joseph Myers <joseph@codesourcery.com>
24436
24437 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24438 * config.make.in (config-cflags-sse2avx): Define.
24439 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24440 Fix typo.
24441
607998af
CM
244422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24443
24444 * scripts/config.guess: Update from upstream config git repository.
24445 * scripts/config.sub: Likewise.
24446
3601428f
CM
244472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24448
3ac8b282
CM
24449 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24450 (EM_NUM): Update.
24451 (R_TILEPRO_*, R_TILEGX_*): New macros.
24452
e034841e
CM
24453 * scripts/firstversions.awk: Fix bug in version range handling.
24454
540d7568
CM
24455 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24456
3601428f
CM
24457 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24458
463de862
CM
24459 * include/sys/epoll.h: New file.
24460 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24461 libc_hidden_def.
24462
73139a76
UD
244632012-01-28 Ulrich Drepper <drepper@gmail.com>
24464
96bc5b45
UD
24465 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24466 Avoid unnecessary __WORDSIZE == 64 test.
24467 (fmaxf): Use VEX format if possible.
24468 (fmax): Likewise.
24469 (fminf): Likewise.
24470 (fmin): Likewise.
24471
56f6f6a2
UD
24472 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24473 * math/math_private.h: Remove libc_fegetround* and
24474 libc_fesetround*.
24475 * sysdeps/i386/configure.in: Check for -msse2avx.
24476 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24477 also if SSE2AVX is defined.
24478 Remove libc_fegetround* and libc_fesetround*.
24479 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24480 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24482 of HAS_YMM_USABLE.
24483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24488
73139a76
UD
24489 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24490
d73f93a4
AZ
244912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24492
24493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24494 size is not set.
24495 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24496
6ee65ed6
UD
244972012-01-27 Ulrich Drepper <drepper@gmail.com>
24498
24499 [BZ #13618]
24500 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24501 relocation.
24502 * Makeconfig (libm): Define.
24503 * elf/Makefile: Add rules to build and run tst-relsort1.
24504 * elf/tst-relsort1.c: New file.
24505 * elf/tst-relsort1mod1.c: New file.
24506 * elf/tst-relsort1mod2.c: New file.
24507
8db21882
JM
245082012-01-27 Joseph Myers <joseph@codesourcery.com>
24509
24510 * math/s_ldexp.c: Remove __STDC__ conditionals.
24511 * math/s_ldexpf.c: Likewise.
24512 * math/s_ldexpl.c: Likewise.
24513 * math/s_nextafter.c: Likewise.
24514 * math/s_nexttowardf.c: Likewise.
24515 * math/s_significand.c: Likewise.
24516 * math/s_significandf.c: Likewise.
24517 * math/s_significandl.c: Likewise.
24518 * math/w_jnl.c: Likewise.
24519 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24520 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24521 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24522 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24523 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24526 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24538 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24539 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24541 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24542 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24543 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24544 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24545 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24546 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24547 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24548 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24549 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24550 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24553 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24554 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24555 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24556 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24557 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24558 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24559 * sysdeps/ieee754/k_standard.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24621 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24626 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24635 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24639 * sysdeps/ieee754/s_matherr.c: Likewise.
24640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24644
965a54a4
JM
246452012-01-26 Joseph Myers <joseph@codesourcery.com>
24646
24647 * crypt/md5.h: Remove __STDC__ conditionals.
24648 * libio/libioP.h: Likewise.
24649 * locale/programs/config.h: Likewise.
24650 * sysdeps/generic/sysdep.h: Likewise.
24651 * sysdeps/i386/asm-syntax.h: Likewise.
24652 * sysdeps/s390/asm-syntax.h: Likewise.
24653 * sysdeps/unix/sysdep.h: Likewise.
24654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24656
7071ad79
JM
246572012-01-26 Joseph Myers <joseph@codesourcery.com>
24658
24659 * libio/libio.h: Remove __STDC__ conditionals.
24660 * malloc/obstack.h: Likewise.
24661 * math/complex.h: Likewise.
24662 * math/math.h: Likewise.
24663 * sysdeps/generic/_G_config.h: Likewise.
24664 * sysdeps/gnu/_G_config.h: Likewise.
24665 * sysdeps/mach/hurd/_G_config.h: Likewise.
24666 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24667 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24668 * sysdeps/sparc/bits/mathdef.h: Likewise.
24669
afc5ed09
UD
246702012-01-26 Ulrich Drepper <drepper@gmail.com>
24671
24672 [BZ #13583]
24673 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24674 Clean up HAS_* macros.
afc5ed09 24675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24676 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24677 possible.
24678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24679 HAS_AVX.
24680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24685
bdb6de1d
JM
246862012-01-25 Joseph Myers <joseph@codesourcery.com>
24687
24688 * elf/tst-unique3.cc (gets): Remove declaration.
24689 * elf/tst-unique3lib.cc (gets): Likewise.
24690 * elf/tst-unique3lib2.cc (gets): Likewise.
24691 * elf/tst-unique4.cc (gets): Likewise.
24692
b15549e6
UD
246932012-01-24 Ulrich Drepper <drepper@gmail.com>
24694
24695 * include/stdio.h: Add C++ protection. Add gets declarations and
24696 definitions.
24697 * debug/tst-chk1.c: Don't declare gets here.
24698 * stdio-common/tst-gets.c: Likewise.
24699
a037381f
JM
247002012-01-24 Joseph Myers <joseph@codesourcery.com>
24701
24702 * posix/glob: Remove directory.
24703
f1d4aa75
JM
247042012-01-24 Joseph Myers <joseph@codesourcery.com>
24705
24706 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24707
81c0c964
PT
247082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24709
24710 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24711 of the non-standard EPFNOSUPPORT.
24712
0ea698ae
ST
247132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24714
24715 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24716 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24717 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24718
d220b117
UD
247192012-01-21 Ulrich Drepper <drepper@gmail.com>
24720
24721 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24722
3e1aa84e
UD
247232012-01-20 Ulrich Drepper <drepper@gmail.com>
24724
24725 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24726 transient errors.
24727 * nscd/grpcache.c (cache_addgr): Likewise.
24728 * nscd/hstcache.c (cache_addhst): Likewise.
24729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24730 * nscd/pwdcache.c (cache_addpw): Likewise.
24731 * nscd/servicescache.c (cache_addserv): Likewise.
24732
400aa020
UD
247332012-01-16 Ulrich Drepper <drepper@gmail.com>
24734
d77e7869
UD
24735 * malloc/malloc.c: Various cleanups.
24736 * malloc/hooks.c: Likewise.
24737
400aa020
UD
24738 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24739 * stdlib/bug-fmtmsg1.c: New file.
24740
24741 * stdlib/fmtmsg.c (init): Add missing unlock.
24742 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24743
e0a309cf
MP
247442012-01-12 Marek Polacek <polacek@redhat.com>
24745
24746 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24747 and _GNU_SOURCE.
24748
929d11c7
WS
247492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24750
24751 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24752 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24753 macro to ensure uniqueness of label name.
24754 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24755 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24756
41d0e869
UD
247572012-01-11 Ulrich Drepper <drepper@gmail.com>
24758
0cc5ed3b
UD
24759 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24760
41d0e869
UD
24761 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24762 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24763 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24765
a47a831a
UD
247662012-01-10 Ulrich Drepper <drepper@gmail.com>
24767
daa891c0
UD
24768 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24769
24770 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24771 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24772 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24773
e58ef0f2
UD
24774 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24775
a47a831a 24776 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24777 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24780
24781 * math/bits/math-finite.h: Add ldexp support.
24782
a0bfc9c7
MP
247832012-01-10 Marek Polacek <polacek@redhat.com>
24784
24785 * locale/programs/localedef.h (show_archive_content): Add noreturn
24786 attribute.
24787
d6e97a1d
UD
247882012-01-09 Ulrich Drepper <drepper@gmail.com>
24789
24790 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24791
d5835c26
UD
247922012-01-08 Ulrich Drepper <drepper@gmail.com>
24793
e5f484c6
UD
24794 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24795
d5835c26
UD
24796 * io/Makefile (headers): Add bits/poll2.h.
24797
d1f741e9
WS
247982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24799
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24801 typo #include statement.
24802
ec09c1c4
UD
248032012-01-08 Ulrich Drepper <drepper@gmail.com>
24804
24805 * include/sys/cdefs.h: Define __attribute_alloc_size.
24806 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24807 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24808 * elf/pldd.c: Likewise.
24809 * iconv/iconv_charmap.c: Likewise.
24810 * iconv/iconvconfig.c: Likewise.
24811 * iconv/strtab.c: Likewise.
24812 * locale/programs/locale.c: Likewise.
24813 * locale/programs/localedef.h: Likewise.
24814 * locale/programs/simple-hash.c: Likewise.
24815 * nscd/nscd.h: Likewise.
24816 * nss/makedb.c: Likewise.
24817 * sysdeps/generic/ldconfig.h: Likewise.
24818 * locale/programs/localedef.c: Remove xmalloc prototype.
24819 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24820
20b38e03
PP
248212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24822
24823 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24824 appropriate.
24825
a0da5fe1
UD
248262012-01-08 Ulrich Drepper <drepper@gmail.com>
24827
1d5a644a 24828 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24829 * math/tst-CMPLX.c: New file.
1d5a644a 24830
8784a6db
UD
24831 * math/complex.h (CMPLXL): Fix typo.
24832
d9a216c0
UD
24833 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24834 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24835 GLIBC_2.16.
24836 * debug/tst-chk1.c: Add poll and ppoll tests.
24837 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24838 * include/sys/poll.h: Add hidden proto for ppoll.
24839 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24840 * sysdeps/mach/hurd/ppoll.c: Likewise.
24841 * io/ppoll.c: Likewise.
24842 * debug/poll_chk.c: New file.
24843 * debug/ppoll_chk.c: New file.
24844 * include/bits/poll2.h: New file.
24845 * io/bits/poll2.h: New file.
24846
ac097f5c
UD
24847 [BZ #1350]
24848 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24849
2119dcfa
UD
24850 * configure.in: static is always set to yes. Remove.
24851 * config.make.in: Don't set build-static.
24852 * Makeconfig: Remove use of build-static.
24853 * dlfcn/Makefile: Likewise.
24854 * elf/Makefile: Likewise.
24855 * math/Makefile: Likewise.
24856 * misc/Makefile: Likewise.
24857 * nptl/Makefile: Likewise.
24858 * sysdeps/mach/hurd/Makefile: Likewise.
24859
121766a9
UD
24860 * configure.in: PWD_P is not used anymore.
24861 * config.make.in: Remove PWD_P entry.
24862
51a1d39c 24863 * configure.in: Remove last remnants of RANLIB.
8720d066 24864 No need to check for signed size_t anymore.
215f4bdc
UD
24865 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24866 and IA-64.
3857022a 24867 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24868 * aclocal.m4: Likewise.
24869
d3ed7225
UD
24870 * wcsmbs/mbrtoc16.c: Implement using towc function.
24871 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24872 * wcsmbs/wcsmbsload.c: Likewise.
24873 * iconv/gconv_simple.c: Likewise.
24874 * iconv/gconv_int.h: Likewise.
24875 * iconv/gconv_builtin.h: Likewise.
24876 * iconv/iconv_prog.c: Remove CHAR16 handling.
24877
24878 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24879
24880 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24881
a0da5fe1
UD
24882 * configure.in: Remove --with-elf and --enable-bounded options.
24883 Dont set base_machine for ia64. More non-ELF conditions removed.
24884 Remove testing and setting of leading underscore information.
24885 * config.make.in (build-bounded): Set to no.
24886 * config.h.in: Remove NO_UNDERSCORES entry.
24887 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24888 them.
24889 * csu/start.c: Remove !NO_UNDERSCORE code.
24890 * locale/localeinfo.h: Likewise.
24891 * sysdeps/generic/machine-gmon.h: Likewise.
24892 * sysdeps/generic/sysdep.h: Likewise.
24893 * sysdeps/i386/sysdep.h: Likewise.
24894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24895 * sysdeps/mach/sysdep.h: Likewise.
24896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24898 * sysdeps/sh/sysdep.h: Likewise.
24899 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24900 * sysdeps/unix/i386/sysdep.S: Likewise.
24901 * sysdeps/unix/sparc/start.c: Likewise.
24902 * sysdeps/unix/sparc/sysdep.S: Likewise.
24903 * sysdeps/unix/sparc/sysdep.h: Likewise.
24904 * sysdeps/unix/start.c: Likewise.
24905 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24906 * sysdeps/x86_64/sysdep.h: Likewise.
24907
df78418a
UD
249082012-01-07 Ulrich Drepper <drepper@gmail.com>
24909
a784e502
UD
24910 [BZ #13553]
24911 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24912 for non-gcc.
24913 * argp/argp-fmtstream.h: Use const instead __const.
24914 * argp/argp.h: Likewise.
24915 * assert/assert.h: Likewise.
24916 * bits/fenv.h: Likewise.
24917 * bits/sched.h: Likewise.
24918 * bits/sigset.h: Likewise.
24919 * bits/sigthread.h: Likewise.
24920 * catgets/nl_types.h: Likewise.
24921 * conform/data/pthread.h-data: Likewise.
24922 * crypt/crypt-private.h: Likewise.
24923 * crypt/crypt.h: Likewise.
24924 * crypt/crypt_util.c: Likewise.
24925 * ctype/ctype.h: Likewise.
24926 * debug/execinfo.h: Likewise.
24927 * debug/mbsnrtowcs_chk.c: Likewise.
24928 * debug/mbsrtowcs_chk.c: Likewise.
24929 * debug/wcsnrtombs_chk.c: Likewise.
24930 * debug/wcsrtombs_chk.c: Likewise.
24931 * debug/wcstombs_chk.c: Likewise.
24932 * dirent/dirent.h: Likewise.
24933 * dlfcn/dlfcn.h: Likewise.
24934 * elf/neededtest4.c: Likewise.
24935 * grp/grp.h: Likewise.
24936 * gshadow/gshadow.h: Likewise.
24937 * iconv/gconv.h: Likewise.
24938 * iconv/gconv_int.h: Likewise.
24939 * iconv/gconv_simple.c: Likewise.
24940 * iconv/iconv.h: Likewise.
24941 * iconv/loop.c: Likewise.
24942 * iconv/skeleton.c: Likewise.
24943 * include/aio.h: Likewise.
24944 * include/aliases.h: Likewise.
24945 * include/argz.h: Likewise.
24946 * include/arpa/inet.h: Likewise.
24947 * include/assert.h: Likewise.
24948 * include/dirent.h: Likewise.
24949 * include/dlfcn.h: Likewise.
24950 * include/execinfo.h: Likewise.
24951 * include/fcntl.h: Likewise.
24952 * include/fenv.h: Likewise.
24953 * include/glob.h: Likewise.
24954 * include/grp.h: Likewise.
24955 * include/libintl.h: Likewise.
24956 * include/mntent.h: Likewise.
24957 * include/netdb.h: Likewise.
24958 * include/pwd.h: Likewise.
24959 * include/rpc/netdb.h: Likewise.
24960 * include/sched.h: Likewise.
24961 * include/search.h: Likewise.
24962 * include/shadow.h: Likewise.
24963 * include/signal.h: Likewise.
24964 * include/stdio.h: Likewise.
24965 * include/stdlib.h: Likewise.
24966 * include/string.h: Likewise.
24967 * include/sys/socket.h: Likewise.
24968 * include/sys/stat.h: Likewise.
24969 * include/sys/statfs.h: Likewise.
24970 * include/sys/statvfs.h: Likewise.
24971 * include/sys/syslog.h: Likewise.
24972 * include/sys/time.h: Likewise.
24973 * include/sys/uio.h: Likewise.
24974 * include/time.h: Likewise.
24975 * include/unistd.h: Likewise.
24976 * include/utmp.h: Likewise.
24977 * include/wchar.h: Likewise.
24978 * include/wctype.h: Likewise.
24979 * inet/aliases.h: Likewise.
24980 * inet/arpa/inet.h: Likewise.
24981 * inet/netinet/ether.h: Likewise.
24982 * inet/netinet/in.h: Likewise.
24983 * intl/libintl.h: Likewise.
24984 * io/bits/fcntl2.h: Likewise.
24985 * io/fcntl.h: Likewise.
24986 * io/ftw.h: Likewise.
24987 * io/sys/poll.h: Likewise.
24988 * io/sys/stat.h: Likewise.
24989 * io/sys/statfs.h: Likewise.
24990 * io/sys/statvfs.h: Likewise.
24991 * io/utime.h: Likewise.
24992 * libio/bits/stdio.h: Likewise.
24993 * libio/bits/stdio2.h: Likewise.
24994 * libio/libio.h: Likewise.
24995 * libio/libioP.h: Likewise.
24996 * libio/stdio.h: Likewise.
24997 * locale/lc-ctype.c: Likewise.
24998 * locale/locale.h: Likewise.
24999 * login/utmp.h: Likewise.
25000 * malloc/arena.c: Likewise.
25001 * malloc/malloc.c: Likewise.
25002 * malloc/malloc.h: Likewise.
25003 * malloc/mcheck.c: Likewise.
25004 * malloc/mtrace.c: Likewise.
25005 * math/bits/mathcalls.h: Likewise.
25006 * math/fenv.h: Likewise.
25007 * math/math_private.h: Likewise.
25008 * misc/bits/error.h: Likewise.
25009 * misc/bits/syslog.h: Likewise.
25010 * misc/err.h: Likewise.
25011 * misc/error.h: Likewise.
25012 * misc/fstab.h: Likewise.
25013 * misc/mntent.h: Likewise.
25014 * misc/regexp.h: Likewise.
25015 * misc/search.h: Likewise.
25016 * misc/sgtty.h: Likewise.
25017 * misc/sys/mman.h: Likewise.
25018 * misc/sys/syslog.h: Likewise.
25019 * misc/sys/uio.h: Likewise.
25020 * misc/sys/xattr.h: Likewise.
25021 * misc/ttyent.h: Likewise.
25022 * nis/rpcsvc/ypclnt.h: Likewise.
25023 * nss/nss.h: Likewise.
25024 * posix/bits/unistd.h: Likewise.
25025 * posix/fnmatch.h: Likewise.
25026 * posix/glob.h: Likewise.
25027 * posix/sched.h: Likewise.
25028 * posix/spawn.h: Likewise.
25029 * posix/sys/wait.h: Likewise.
25030 * posix/unistd.h: Likewise.
25031 * posix/wordexp.h: Likewise.
25032 * pwd/pwd.h: Likewise.
25033 * resolv/netdb.h: Likewise.
25034 * resource/sys/resource.h: Likewise.
25035 * rt/aio.h: Likewise.
25036 * rt/bits/mqueue2.h: Likewise.
25037 * rt/mqueue.h: Likewise.
25038 * shadow/shadow.h: Likewise.
25039 * signal/signal.h: Likewise.
25040 * socket/send.c: Likewise.
25041 * socket/sendto.c: Likewise.
25042 * socket/sys/socket.h: Likewise.
25043 * stdio-common/printf.h: Likewise.
25044 * stdlib/bits/stdlib.h: Likewise.
25045 * stdlib/fmtmsg.h: Likewise.
25046 * stdlib/monetary.h: Likewise.
25047 * stdlib/stdlib.h: Likewise.
25048 * stdlib/ucontext.h: Likewise.
25049 * streams/stropts.h: Likewise.
25050 * string/argz.h: Likewise.
25051 * string/bits/string2.h: Likewise.
25052 * string/string.h: Likewise.
25053 * string/strings.h: Likewise.
25054 * sunrpc/rpc/auth.h: Likewise.
25055 * sunrpc/rpc/auth_des.h: Likewise.
25056 * sunrpc/rpc/clnt.h: Likewise.
25057 * sunrpc/rpc/netdb.h: Likewise.
25058 * sunrpc/rpc/pmap_clnt.h: Likewise.
25059 * sunrpc/rpc/xdr.h: Likewise.
25060 * sysdeps/generic/inttypes.h: Likewise.
25061 * sysdeps/generic/net/if.h: Likewise.
25062 * sysdeps/generic/sys/swap.h: Likewise.
25063 * sysdeps/gnu/net/if.h: Likewise.
25064 * sysdeps/gnu/utmpx.h: Likewise.
25065 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25066 * sysdeps/i386/i486/bits/string.h: Likewise.
25067 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25068 * sysdeps/s390/bits/string.h: Likewise.
25069 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25070 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25071 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25072 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25073 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25074 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25075 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25076 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25077 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25078 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25079 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25080 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25081 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25082 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25083 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25084 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25085 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25088 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25090 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25091 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25092 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25093 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25094 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25097 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25098 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25099 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25100 * sysvipc/sys/ipc.h: Likewise.
25101 * sysvipc/sys/msg.h: Likewise.
25102 * sysvipc/sys/sem.h: Likewise.
25103 * sysvipc/sys/shm.h: Likewise.
25104 * termios/termios.h: Likewise.
25105 * time/sys/time.h: Likewise.
25106 * time/time.h: Likewise.
25107 * wcsmbs/bits/wchar2.h: Likewise.
25108 * wcsmbs/uchar.h: Likewise.
25109 * wcsmbs/wchar.h: Likewise.
25110 * wctype/wctype.h: Likewise.
25111
0269750c
UD
25112 [BZ #13551]
25113 * Makeconfig: Remove all but ELF support including AIX support.
25114 * Makerules: Likewise.
25115 * config.h.in: Likewise.
25116 * config.make.in: Likewise.
25117 * configure: Likewise.
25118 * configure.in: Likewise.
25119 * csu/Makefile: Likewise.
25120 * csu/version.c: Likewise.
25121 * debug/Makefile: Likewise.
25122 * dlfcn/Makefile: Likewise.
25123 * elf/Makefile: Likewise.
25124 * extra-lib.mk: Likewise.
25125 * iconv/Makefile: Likewise.
25126 * include/libc-symbols.h: Likewise.
25127 * include/shlib-compat.h: Likewise.
25128 * resolv/Makefile: Likewise.
25129 * resolv/res_libc.c: Likewise.
25130 * rt/Makefile: Likewise.
25131 * sysdeps/i386/asm-syntax.h: Likewise.
25132 * sysdeps/i386/sysdep.h: Likewise.
25133 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25134 * sysdeps/mach/sysdep.h: Likewise.
25135 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25136 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25137 * sysdeps/s390/asm-syntax.h: Likewise.
25138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25140 * sysdeps/sh/sysdep.h: Likewise.
25141 * sysdeps/unix/sparc/sysdep.h: Likewise.
25142 * sysdeps/wordsize-32/divdi3.c: Likewise.
25143 * sysdeps/x86_64/sysdep.h: Likewise.
25144
00bbd29b
UD
25145 * argp/Versions: Remove _argp_unlock_xxx.
25146
25147 [BZ #13559]
25148 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25149 * abilist/libBrokenLocale.abilist: Likewise.
25150 * abilist/libanl.abilist: Likewise.
25151 * abilist/libc.abilist: Likewise.
25152 * abilist/libcrypt.abilist: Likewise.
25153 * abilist/libdl.abilist: Likewise.
25154 * abilist/libm.abilist: Likewise.
25155 * abilist/libnsl.abilist: Likewise.
25156 * abilist/libpthread.abilist: Likewise.
25157 * abilist/libresolv.abilist: Likewise.
25158 * abilist/librt.abilist: Likewise.
25159 * abilist/libthread_db.abilist: Likewise.
25160 * abilist/libutil.abilist: Likewise.
25161 * abilist/libnss_db.abilist: New file.
25162
25163 * scripts/abilist.awk: Add support for indirect functions.
25164
a2693a0e
UD
25165 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25166
3f05895f
UD
25167 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25168
ecb6fb48
UD
25169 * shlib-versions: Remove entries for ports architectures.
25170
664f8cb9
UD
25171 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25172 files in ports.
25173 * elf/stackguard-macros.h: Remove support for IA-64.
25174 * elf/tst-auditmod1.c: Likewise.
25175 * sysdeps/generic/ldsodefs.h: Likewise.
25176
7ae81d88
UD
25177 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25178 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25179 configure files.
25180
bdeba135
UD
25181 [BZ #13552]
25182 * configure.in: Remove --enable-omitfp support.
25183 * FAQ.in: Adjust.
25184 * config.make.in: Likewise.
25185 * Makeconfig: Likewise.
25186 * manual/install.texi: Likewise.
25187
d75a0a62
UD
25188 In case anyone cares, the IA-64 architecture could move to ports.
25189 * sysdeps/ia64/*: Removed.
25190 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25191 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25192
dcc9756b
UD
25193 [BZ #13555]
25194 * configure.in: Remove entries for unsupported architectures.
25195
d3761ebc 25196 [BZ #13533]
9954432e
UD
25197 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25198 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25199 routines.
25200 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25201 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25202 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25203 fall back to using wcrtomb.
25204 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25205 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25206 renaming.
25207 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25208 * wcsmbs/tst-c16c32-1.c: New file.
25209
25210 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25211 local variable.
25212
c3a87236
UD
25213 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25214
28926a1b
UD
25215 * elf/tst-unique3.cc: Add explicit declaration of gets.
25216 * elf/tst-unique3lib.cc: Likewise.
25217 * elf/tst-unique3lib2.cc: Likewise.
25218 * elf/tst-unique4.cc: Likewise.
25219
df78418a
UD
25220 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25221
8ecd6b2a
JM
252222012-01-06 Joseph Myers <joseph@codesourcery.com>
25223
25224 [BZ #13566]
25225 * assert/assert.h (static_assert): Don't define for C++.
25226 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25227 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25228
9f115170
UD
252292012-01-03 Ulrich Drepper <drepper@gmail.com>
25230
5e0d0300
UD
25231 * iconv/loop.c (single loop): Fix assertion in storing of
25232 remaining bytes.
25233
9f115170
UD
25234 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25235
81fb02b0
UD
252362012-01-01 Ulrich Drepper <drepper@gmail.com>
25237
25238 * posix/getconf.c: Update copyright year.
25239 * nss/getent.c: Likewise.
a316c1f6 25240 * nss/makedb.c: Likewise.
81fb02b0
UD
25241 * iconv/iconvconfig.c: Likewise.
25242 * iconv/iconv_prog.c: Likewise.
25243 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25244 * elf/pldd.c: Likewise.
25245 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25246 * catgets/gencat.c: Likewise.
25247 * csu/version.c: Likewise.
25248 * elf/ldd.bash.in: Likewise.
25249 * elf/sprof.c (print_version): Likewise.
25250 * locale/programs/locale.c: Likewise.
25251 * locale/programs/localedef.c: Likewise.
a316c1f6 25252 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25253 * nscd/nscd.c (print_version): Likewise.
25254 * debug/xtrace.sh: Likewise.
25255 * malloc/memusage.sh: Likewise.
25256 * malloc/mtrace.pl: Likewise.
25257 * debug/catchsegv.sh: Likewise.
25258
2ba92745
JJ
252592011-12-30 Jakub Jelinek <jakub@redhat.com>
25260
25261 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25262 pure attribute.
25263
dadebdae
UD
252642011-12-24 Ulrich Drepper <drepper@gmail.com>
25265
d3761ebc 25266 [BZ #13533]
db6af3eb
UD
25267 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25268 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25269 transformations.
25270 * iconv/gconv_int.h: Likewise.
25271 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25272 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25273 from libc for GLIBC_2.16.
25274 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25275 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25276 * wcsmbs/uchar.h: Really define mbstate_t.
25277 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25278 * wcsmbs/c16rtomb.c: New file.
25279 * wcsmbs/mbrtoc16.c: New file.
25280 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25281 for C/POSIX locale.
25282 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25283 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25284
dadebdae
UD
25285 * wcsmbs/wchar.h: Add missing __restrict.
25286
67371b56
UD
252872011-12-23 Ulrich Drepper <drepper@gmail.com>
25288
74033a25
UD
25289 [BZ #13532]
25290 * time/Makefile (routines): Add timespec_get.
25291 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25292 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25293 timespec for ISO C11.
25294 * time/timespec_get.c: New file.
25295 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25296 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25297
380d7e87
UD
25298 [BZ #13531]
25299 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25300 * stdlib/stdlib.h: Declare aligned_alloc.
25301 * Versions.def: Add GLIBC_2.16 for libc.
25302 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25303
4e9e7a35
UD
25304 [BZ 13527]
25305 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25306 ISO C11.
25307
380d7e87 25308 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25309 code.
25310
03a71829
UD
25311 [BZ #13528]
25312 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25313
839e283e
UD
25314 [BZ #13529]
25315 * assert/assert.h (static_assert): Define.
25316
ce5294e2 25317 * version.h: Update for 2.16 development version.
90fa7312 25318
8d44e150 25319 [BZ #13526]
d7809905
UD
25320 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25321 _ISOC11_SOURCE.
25322
c0da14cd
UD
25323 * version.h (RELEASE): Bump for 2.15 release.
25324 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25325
530a3249
MP
25326 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25327 Patch by Marek Polacek <mpolacek@redhat.com>.
25328
67371b56
UD
25329 * bits/byteswap.h: Protect long long constants with __extension__.
25330 * sysdeps/i386/bits/byteswap.h: Likewise.
25331 * sysdeps/ia64/bits/byteswap.h: Likewise.
25332 * sysdeps/s390/bits/byteswap.h: Likewise.
25333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25334
15db4de1
LD
253352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25336
25337 [BZ #13540]
bbe315ea
LD
25338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25339 destination buffer.
15db4de1
LD
25340 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25341
2b2596b1
MP
253422011-12-23 Marek Polacek <polacek@redhat.com>
25343
25344 * elf/dl-addr.c (determine_info): Add inline keyword.
25345 * elf/tst-auditmod4b.c (check_avx): Likewise.
25346 * elf/tst-auditmod6b.c (check_avx): Likewise.
25347 * elf/tst-auditmod6c.c (check_avx): Likewise.
25348 * elf/tst-auditmod7b.c (check_avx): Likewise.
25349
70c6c246
UD
253502011-12-23 Ulrich Drepper <drepper@gmail.com>
25351
25352 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25353 !__SSE_MATH__.
25354
c044cf14
LD
253552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25356
15db4de1 25357 [BZ #13540]
c044cf14
LD
25358 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25359 processing for last bytes.
25360
6b13d9d9
BH
253612011-08-06 Bruno Haible <bruno@clisp.org>
25362
d455f537
BH
25363 [BZ #13061]
25364 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25365 U+0385, not to U+1FEE.
25366
6b13d9d9
BH
25367 [BZ #13062]
25368 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25369 entry for U+00A5 U+0301.
25370
db910efd
UD
253712011-12-22 Ulrich Drepper <drepper@gmail.com>
25372
27deeafc
UD
25373 [BZ #13166]
25374 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25375 buffer for the output is too small.
25376
aed9d171
UD
25377 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25378 optimization.
25379
db910efd
UD
25380 [BZ #13185]
25381 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25382 SSE flags if possible.
25383
2bd779ae
LD
253842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25385
e7f9dac3 25386 [BZ #13540]
2bd779ae
LD
25387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25388 processing for last bytes.
25389
154bfc16
JM
253902011-12-22 Joseph Myers <joseph@codesourcery.com>
25391
25392 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25393 (syscall-list-default-options, syscall-list-default-condition)
25394 (syscall-list-includes): Define.
25395 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25396 list of ABIs and options and #if conditions for each ABI. Do not
25397 handle common syscalls between ABIs specially.
25398 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25399 Remove.
25400 (syscall-list-variants, syscall-list-32bit-options)
25401 (syscall-list-32bit-condition, syscall-list-64bit-options)
25402 (syscall-list-64bit-condition): Define.
25403 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25404 (syscall-list-variants, syscall-list-32bit-options)
25405 (syscall-list-32bit-condition, syscall-list-64bit-options)
25406 (syscall-list-64bit-condition): Define.
25407 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25408 Remove.
25409 (syscall-list-variants, syscall-list-32bit-options)
25410 (syscall-list-32bit-condition, syscall-list-64bit-options)
25411 (syscall-list-64bit-condition): Define.
25412 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25413 Remove.
25414 (syscall-list-variants, syscall-list-32bit-options)
25415 (syscall-list-32bit-condition, syscall-list-64bit-options)
25416 (syscall-list-64bit-condition): Define.
25417
21eaf3a5
UD
254182011-12-22 Ulrich Drepper <drepper@gmail.com>
25419
16c6f992
UD
25420 * locale/iso-639.def: Add brx entry.
25421
41043168
UD
25422 [BZ #13328]
25423 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25424 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25425
21eaf3a5
UD
25426 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25427 __feraiseexcept_renamed.
25428
e3a851a2
UD
254292011-12-21 Ulrich Drepper <drepper@gmail.com>
25430
4920765e
UD
25431 [BZ #13538]
25432 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25433 EPOLLET with unsigned values.
25434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25435 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25436
e3a851a2
UD
25437 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25438 to large cancellation.
25439 * math/s_cacoshf.c: Likewise.
25440 * math/s_cacoshl.c: Likewise.
25441
b27e24b8
RK
254422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25443
25444 [BZ #13305]
aebefeee 25445 [BZ #12786]
b27e24b8
RK
25446 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25447 * math/s_cacoshf.c: Likewise.
25448 * math/s_cacoshl.c: Likewise.
25449
ee190f67
UD
254502011-12-21 Ulrich Drepper <drepper@gmail.com>
25451
25452 [BZ #13439]
25453 * iconv/gconv.h: Define __GCONV_SWAP.
25454 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25455 * iconvdata/utf-16.c: Likewise.
25456 * iconvdata/utf-32.c: Likewise.
25457
707f25df
AS
254582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25459
25460 [BZ #13524]
25461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25462 numerator after shifting it by one limb.
25463
d2daaa1e
RÁE
254642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25465
25466 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25467 under [__USE_EXTERN_INLINES].
25468
a4647e72
UD
254692011-12-17 Ulrich Drepper <drepper@gmail.com>
25470
25471 [BZ #13446]
25472 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25473
f0b264f1
AZ
254742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25475
25476 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25477 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25478 optimized code.
25479 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25480 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25481 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25482 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25483 for strncasecmp/strncasecmp_l compilation.
25484 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25485 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25486
8ef4f244
MP
254872011-12-08 Marek Polacek <mpolacek@redhat.com>
25488
25489 [BZ #13484]
25490 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25491 of __asm__.
25492
97ac2654
UD
254932011-12-17 Ulrich Drepper <drepper@gmail.com>
25494
25495 [BZ #13506]
25496 * time/tzfile.c (__tzfile_read): Check values from file header.
25497
91d2a845
WS
254982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25499
25500 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25501 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25502 * powerpc/powerpc32/dl-start.S: Likewise.
25503 * powerpc/powerpc32/elf/start.S: Likewise.
25504 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25505 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25506 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25507 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25508 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25509 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25510 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25511 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25512 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25513 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25514 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25515 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25516 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25517 * powerpc/powerpc32/memset.S: Likewise.
25518 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25519 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25520 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25521 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25522 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25523 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25524 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25525 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25526 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25527 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25528 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25529 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25530 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25531
a1267ba1
AZ
255322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25533
25534 * math/libm-test.inc: Added more nearbyint tests.
25535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25539
ad8ac1bd
RL
255402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25541
25542 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25543 FD_CLOEXEC.
25544
1d3e4b61
UD
255452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25546
25547 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25548 Add wcscpy-ssse3 wcscpy-c.
25549 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25550 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25551 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25552 * sysdeps/x86_64/wcschr.S: New file.
25553 * sysdeps/x86_64/wcsrchr.S: New file.
25554 * string/test-strcmp.c: Remove checking of wcscmp function for
25555 wrong alignments.
25556 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25557 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25558 wcsrchr-sse2 wcsrchr-c.
25559 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25560 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25561 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25562 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25563 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25564 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25565 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25566 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25568 * wcsmbc/wcschr.c (WCSCHR): New macro.
25569
5b330a2d
UD
255702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25571
25572 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25573 * wcsmbs/test-wcsrchr.c: New file.
25574 * string/test-strrchr.c: Add wcsrchr support.
25575 (WIDE): New macro.
25576 * wcsmbs/test-wcscpy.c: New file.
25577 * string/test-strcpy.c: Add wcscpy support.
25578 (WIDE): New macro.
26428b7c 25579
f039c043
UD
255802011-12-10 Ulrich Drepper <drepper@gmail.com>
25581
25582 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25583 the inner loop.
25584
850fb039
AS
255852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25586
25587 [BZ #13472]
25588 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25589
4efbd5cb
UD
255902011-12-04 Ulrich Drepper <drepper@gmail.com>
25591
52ff5dd0 25592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25593 Minor optimizations.
52ff5dd0 25594
4efbd5cb
UD
25595 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25596 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25597 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25598
8a426e12
UD
255992011-12-03 Ulrich Drepper <drepper@gmail.com>
25600
aff2453d
UD
25601 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25602 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25603 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25604 for gcc to avoid warnings.
25605 * inet/Makefile (tests): Add tst-checks.
25606 * inet/tst-checks.c: New file.
25607
25608 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25609 warning.
25610
25611 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25612 __wmemcmp_sse2.
25613
25614 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25615 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25616
8a426e12
UD
25617 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25618
9bea3473
UD
256192011-12-02 Ulrich Drepper <drepper@gmail.com>
25620
3a965496
UD
25621 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25622 problem.
25623
9bea3473
UD
25624 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25625
f101631b
UD
256262011-11-29 Joseph Myers <joseph@codesourcery.com>
25627
25628 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25629 conditional on GCC version.
25630 (__arch_compare_and_exchange_val_8_acq)
25631 (__arch_compare_and_exchange_val_16_acq)
25632 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25633 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25634 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25635
a98275aa
UD
256362011-12-02 Joseph Myers <joseph@codesourcery.com>
25637
25638 * sysdeps/sh/backtrace.c: New file.
25639
d4cc29a2
AS
256402011-12-02 Andreas Schwab <schwab@redhat.com>
25641
25642 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25643 parenthesis.
25644
6257af2d
AS
256452011-12-01 Andreas Schwab <schwab@redhat.com>
25646
25647 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25648 falling back to utime.
25649
b5f44c1a
AS
256502011-11-30 Andreas Schwab <schwab@redhat.com>
25651
25652 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25653 expectations for float.
25654
f3a6cc0a
AS
256552011-11-29 Andreas Schwab <schwab@redhat.com>
25656
25657 * locale/weight.h (findidx): Add parameter len.
25658 * locale/weightwc.h (findidx): Likewise.
25659 * posix/fnmatch_loop.c (FCT): Adjust caller.
25660 * posix/regcomp.c (build_equiv_class): Likewise.
25661 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25662 * posix/regexec.c (check_node_accept_bytes): Likewise.
25663 * string/strcoll_l.c (STRCOLL): Likewise.
25664 * string/strxfrm_l.c (STRXFRM): Likewise.
25665
9d65ea3a
UD
256662011-11-17 Ulrich Drepper <drepper@gmail.com>
25667
25668 * Makefile.in: Remove CVSOPT handling.
25669 * configure.in: Remove use of AC_REVISION.
25670 * iconvdata/Makefile (distribute): No need to filter out CVS.
25671 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25672 handling.
25673
5583a086
AS
256742011-11-16 Andreas Schwab <schwab@redhat.com>
25675
25676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25677 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25678 [USE_AS_STRNCASECMP_L]: Likewise.
25679 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25680 NO_TLS_DIRECT_SEG_REFS.
25681 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25682 Fix argument offsets for non-PIC.
25683 [USE_AS_STRNCASECMP_L]: Likewise.
25684 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25685 NO_TLS_DIRECT_SEG_REFS.
25686
d62a8200
UD
256872011-11-15 Ulrich Drepper <drepper@gmail.com>
25688
9d65ea3a 25689 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25690 O_CLOEXEC.
25691 * locale/loadlocale.c (_nl_load_locale): Likewise.
25692
09f93bd3
AS
256932011-11-15 Andreas Schwab <schwab@redhat.com>
25694
446514f9
AS
25695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25696 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25697 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25698 (SYSCALL_GETTIME): Set errno on error.
25699
09f93bd3
AS
25700 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25701 count references to noai6ai_cached.
25702
312be3f9
UD
257032011-11-15 Ulrich Drepper <drepper@gmail.com>
25704
25705 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25706
25707 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25708 FD_CLOEXEC for /proc/self/maps.
25709
25710 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25711 FD_CLOEXEC for /proc/meminfo.
25712
25713 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25714 gai.conf.
25715
25716 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25717 FD_CLOEXEC for given file.
25718
25719 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25720
25721 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25722 FD_CLOEXEC for /etc/hosts.
25723 (_gethtent): Likewise.
25724
25725 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25726
25727 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25728 cancellation and set FD_CLOEXEC for /etc/netgroup.
25729
25730 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25731 reading /etc/publickey.
25732
25733 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25734 allow cancellation when reading /etc/group.
25735
25736 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25737 cancellation.
25738 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25739
25740 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25741 when using data file.
25742
25743 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25744
25745 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25746 (write_nis_obj): Use "c" and "e" in fopen.
25747
25748 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25749
25750 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25751
25752 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25753
25754 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25755
25756 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25757 locale.alias.
25758
25759 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25760
25761 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25762
25763 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25764
25765 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25766 file parsing and set FD_CLOEXEC.
25767
82af0fa8
UD
257682011-11-14 Ulrich Drepper <drepper@gmail.com>
25769
25770 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25771
a5fb313c
AS
257722011-11-14 Andreas Schwab <schwab@redhat.com>
25773
25774 * malloc/arena.c (arena_get2): Don't call reused_arena when
25775 _int_new_arena failed.
25776
6abf3465
UD
257772011-11-14 Ulrich Drepper <drepper@gmail.com>
25778
25779 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25780 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25782 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25783 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25784 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25785 to compile strcasecmp and strncasecmp.
25786 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25787 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25788
25789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25790
76e3966e
UD
257912011-11-13 Ulrich Drepper <drepper@gmail.com>
25792
25793 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25794 locale-defines.sym to gen-as-const-headers.
25795 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25796 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25798 to compile strcasecmp and strncasecmp.
25799 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25800 strcasecmp_l and strncasecmp_l.
25801 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25802 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25803 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25804 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25805 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25806 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25807 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25808 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25809 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25810 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25811 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25812
ab26144e
UD
258132011-11-12 Ulrich Drepper <drepper@gmail.com>
25814
7edb22ef
UD
25815 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25816 result of SYSDEP_GETTIME_CPU to retval.
25817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25818 parameter list to macro. Remove trailing semicolon. Adjust users.
25819
9694fc44
UD
25820 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25821 variable.
25822
8ad89ef8
UD
25823 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25824 mantissa words.
25825 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25826
0c822ef9
UD
25827 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25828 from unused variable.
25829
874e0564
UD
25830 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25831 DWARF definitions.
25832 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25833 for assembling.
25834
3a2edc79
UD
25835 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25836 over namespaces.
25837
f3c2577f
UD
25838 * sunrpc/rpc_prot.c (rejected): Fix case value.
25839
294ce126
UD
25840 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25841 unsigned long long int to avoid warnings in shift.
25842
5e2b63c6
UD
25843 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25844 of use of trans.
25845 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25846 variable tmp.
25847
e7f4b08e
UD
25848 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25849 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25850 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25851
ab26144e
UD
25852 * nis/nis_table.c (nis_list): Use variable of correct type for
25853 result of __follow_path call.
25854
8a6d5255
AZ
258552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25856
25857 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25858 of math functions ceil, trunc, floor, round, and sqrt, when
25859 avaliable on the platform.
25860 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25861 name clash.
25862 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25863 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25864 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25865
aaddc98c
MP
258662011-10-30 Marek Polacek <mpolacek@redhat.com>
25867
25868 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25870
95b7042b
RM
258712011-11-11 Roland McGrath <roland@hack.frob.com>
25872
25873 * include/unistd.h: Fix __readlink return type.
25874 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25875
57769839
UD
258762011-11-11 Ulrich Drepper <drepper@gmail.com>
25877
25878 * stdlib/ucontext.h: Undo last change for makecontext.
25879
edc5984d
AS
258802011-11-11 Andreas Schwab <schwab@redhat.com>
25881
98591e58
AS
25882 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25883
edc5984d
AS
25884 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25885 * setjmp/setjmp.h: Mark functions as non-leaf.
25886 * setjmp/bits/setjmp2.h: Likewise.
25887 * stdlib/ucontext.h: Likewise.
25888
77cdc054
AS
258892011-11-10 Andreas Schwab <schwab@redhat.com>
25890
25891 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25892 (reused_arena): Don't check arena limit.
25893 (arena_get2): Atomically check arena limit.
25894
fe72eebd
UD
258952011-11-08 Ulrich Drepper <drepper@gmail.com>
25896
5f078c32
UD
25897 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25898 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25899
fe72eebd
UD
25900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25901 instructions.
25902
ae1bc2fa
AS
259032011-11-07 Andreas Schwab <schwab@redhat.com>
25904
7583a88d
AS
25905 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25906 handler when locking.
25907
ae1bc2fa
AS
25908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25909 Fix size of allocated buffer.
25910
10fb0bfa
AS
259112011-11-04 Andreas Schwab <schwab@redhat.com>
25912
998832a4
AS
25913 [BZ #10103]
25914 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25915 declarations for long double functions.
25916 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25917
10fb0bfa
AS
25918 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25919
3d7ba52b
AS
259202011-11-03 Andreas Schwab <schwab@redhat.com>
25921
a9ae54a1
AS
25922 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25923 installed.
25924
3d7ba52b
AS
25925 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25926 is disabled.
25927
bc8db248
ST
259282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25929
25930 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25931
45b96dd6
AS
259322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25933
647776f6
AS
25934 * include/alloca.h (stackinfo_alloca_round): Define.
25935 (extend_alloca): Use it.
25936 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25937 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25938 here.
25939
d91a8b93
AS
25940 * scripts/check-local-headers.sh: Ignore libaudit.h.
25941
45b96dd6
AS
25942 * nscd/Makefile (extra-objs): Make recursively expanded.
25943
432d41ce
UD
259442011-11-01 Ulrich Drepper <drepper@gmail.com>
25945
34372fc6
UD
25946 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25947 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25948
fadb59f8
UD
25949 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25950 * posix/tst-rfc3484-2.c: Likewise.
25951 * posix/tst-rfc3484-3.c: Likewise.
25952
78239589
UD
25953 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25954 process_vm_writev.
25955 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25956 process_vm_writev.
25957 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25958 process_vm_writev from libc using GLIBC_2.15 version.
25959
432d41ce
UD
25960 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25961
02f9c6cf
PP
259622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25963
25964 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25965 stack usage.
25966
3a2c0242
UD
259672011-10-31 Ulrich Drepper <drepper@gmail.com>
25968
f4ec4833
UD
25969 [BZ #13367]
25970 * nss/getent.c (initgroups_keys): Show error message in case no group
25971 names are given.
25972
3a2c0242
UD
25973 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25974 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25975 __bump_nl_timestamp.
25976 * nscd/connections (nscd_init): When host database is served open
25977 netlink socket and request notification about configuration changes.
25978 (main_loop_poll): Track netlink file descriptor and bump timestamp
25979 in case data becomes available.
25980 (main_loop_epoll): Likewise.
25981 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25982 (database_pers_head): Add extra_data fileds.
25983 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25984 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25985 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25986 Adjust caller.
25987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25988 in6ai data, call __free_in6ai.
25989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25990 Add -DHAVE_NETLINK.
25991 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25992 interface information. Reuse previous data if netlink timestamp
25993 is not changed.
25994 (__bump_nl_timestamp): New function.
25995 (__free_in6ai): New function.
25996
636064eb
UD
259972011-10-30 Ulrich Drepper <drepper@gmail.com>
25998
25999 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26000 close_not_cancel_no_status here.
26001 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26002
9beb2334
UD
260032011-10-29 Ulrich Drepper <drepper@gmail.com>
26004
6ef76f3b
UD
26005 [BZ #13276]
26006 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26007 return value.
26008
0ffc4f3e 26009 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26010 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26011 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26012
cb95113e
UD
260132011-07-03 Andreas Jaeger <aj@suse.de>
26014
26015 [BZ #10709]
26016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26017 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26018 * math/libm-test.inc (sin_test): Add test case.
26019
a1b560ff
UD
260202011-10-29 Ulrich Drepper <drepper@gmail.com>
26021
c9aaface
UD
26022 [BZ #13337]
26023 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26024 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26025
d272e7f1
UD
26026 * elf/chroot_canon.c (chroot_canon): Cleanups.
26027
1bc33071
UD
26028 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26029
1760874d
TJ
26030 [BZ #13335]
26031 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26032 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26033
51d91b18
UD
26034 * string/test-strchr.c: Make usable for strchrnul testing.
26035 * string/test-strchrnul.c: New file.
26036 * string/Makefile (strop-tests): Add strchrnul.
26037
a1b560ff 26038 * po/it.po: Update from translation team.
b611fb81 26039 * po/es.po: Likewise.
a1b560ff 26040
a5b81e1f
UD
260412011-10-28 Ulrich Drepper <drepper@gmail.com>
26042
fd52bc6d
UD
26043 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26044 the three constants needed as parameters. Drop the others.
26045 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26046 __m128i_strloadu_tolower.
52e4b9eb
UD
26047 Create and initialize variable zero and use it in all the places
26048 where _mm_setzero_si128 was used.
fd52bc6d 26049
a5b81e1f
UD
26050 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26051 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26052 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26053 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26054 anymore.
26055 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26056 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26057 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26058 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26059 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26060 __mpranred, __mptan.
26061 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26062 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26063 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26064 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26065 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26066 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26067 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26068 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26069 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26070
b4343346
AS
260712011-10-28 Andreas Schwab <schwab@redhat.com>
26072
0c92d8a8
AS
26073 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26074 redefine if SHARED.
26075 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26076
b4343346
AS
26077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26078 wide char related routines to wcsmbs subdir.
26079
3871f58f
AS
260802011-10-27 Andreas Schwab <schwab@redhat.com>
26081
26082 [BZ #13344]
26083 * misc/sys/cdefs.h (__THROWNL): Define.
26084 * posix/unistd.h: Use __THREADNL instead of __THREAD
26085 for memory synchronization functions.
26086
94d44d9f
RM
260872011-10-26 Roland McGrath <roland@hack.frob.com>
26088
21b64b15 26089 [BZ #13349]
94d44d9f
RM
26090 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26091 doesn't exist.
26092 * manual/stdio.texi (Obstack Streams): Node removed.
26093
f6ce9294
AS
260942011-10-26 Andreas Schwab <schwab@redhat.com>
26095
80479147
AS
26096 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26097 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26098 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26099
f6ce9294
AS
26100 * math/math_private.h (math_force_eval): Allow non-addressable
26101 arguments.
26102 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26103
618280a1
UD
261042011-10-25 Ulrich Drepper <drepper@gmail.com>
26105
e0016b11
UD
26106 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26107 file is not needed.
26108
26109 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26116 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26117 Add AVX variants.
26118 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26119 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26120 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26121 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26122 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26123 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26124 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26125 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26126 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26127 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26128 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26129 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26132 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26133 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26134 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26135 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26136 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26137
26138 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26139 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26140
618280a1
UD
26141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26142 place. Use VEX encoding when compiling for AVX.
26143
37822576
AS
261442011-10-25 Andreas Schwab <schwab@redhat.com>
26145
1f1e1947
AS
26146 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26147 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26148
37822576
AS
26149 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26150
31ea014d
UD
261512011-10-25 Ulrich Drepper <drepper@gmail.com>
26152
d7826aa1 26153 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26154 useless if() expression.
d7826aa1
UD
26155 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26156 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26166 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26173 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26174
31ea014d
UD
26175 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26176
16437fec
AS
261772011-10-25 Andreas Schwab <schwab@redhat.com>
26178
26179 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26180 condition.
26181 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26182
31d3cc00
UD
261832011-10-25 Ulrich Drepper <drepper@gmail.com>
26184
26185 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26186 .text section. Avoid duplicate constants.
26187 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26197 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26199 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26202 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26204 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26210 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26211 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26212 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26213 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26214 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26215 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26216 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26217 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26218 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26220 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26221 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26222 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26223 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26225 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26226 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26227 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26228 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26229 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26230 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26231 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26232
58985aa9
UD
262332011-10-24 Ulrich Drepper <drepper@gmail.com>
26234
202c9deb
UD
26235 * sysdeps/x86_64/dla.h: Move to ...
26236 * sysdeps/x86_64/fpu/dla.h: ...here.
26237 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26238 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26239
af968f62
UD
26240 * config.make.in: Add have-mfma4 entry.
26241 * configure.in: Substitute libc_cv_cc_fma4.
26242 * math/Makefile (dbl-only-routines): Add sincostab.
26243 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26244 Use __sincostab not sincos.
26245 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26246 name is a macro.
26247 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26251 using __copysign.
26252 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26253 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26254 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26255 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26256 and __inv.
26257 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26258 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26259 __copysign.
26260 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26261 define aliases when function name is a macro.
26262 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26263 sysdeps/ieee754/dbl-64/sincos.tbl.
26264 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26265 fma4-enabled routines.
26266 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26267 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26268 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26269 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26270 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26271 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26273 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26275 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26276 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26277 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26278 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26279 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26281 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26283 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26285 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26286 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26287 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26289 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26292 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26293 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26294 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26295 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26296
58985aa9
UD
26297 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26298 rename.
26299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26307
a201fbcf
AS
263082011-10-24 Andreas Schwab <schwab@redhat.com>
26309
26310 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26311
fc2ee42a
LD
263122011-10-23 Ulrich Drepper <drepper@gmail.com>
26313
bb3129bd
UD
26314 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26315
0275fff8
UD
26316 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26317 prediction.
26318 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26319
2fa2ae85
UD
26320 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26321 Remove unused variable magic_bits.
26322 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26323
fc2ee42a
LD
26324 * string/strnlen.c: Define and use STRNLEN macro.
26325 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26326 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26327 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26328 * wcsmbs/wcslen.c: Define and use WCSLEN.
26329 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26330 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26331 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26332 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26333 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26334 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26335 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26336
ce7dd29f
LD
263372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26338
26339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26340 strnlen-sse2-no-bsf.
26341 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26342 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26343 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26344 Add strnlen support.
26345 (USE_AS_STRNLEN): New macro.
26346 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26347 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26348 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26349 * sysdeps/x86_64/wcslen.S: New file.
26350
979c70a3
MZ
263512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26352
26353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26354 XMM-moves are used for copying on small sizes.
26355
2d09f82f
LD
263562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26357
26358 * wcsmbs/Makefile (strop-tests): Add wcschr.
26359 * wcsmbs/test-wcschr.c: New file.
26360 * string/test-strchr.c: Update.
26361 Add wcschr support.
26362 (WIDE): New macro.
26363
619fccca
LD
263642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26365
2d09f82f 26366 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26367 * wcsmbs/test-wcslen.c: New file.
26368 * string/test-strlen.c: Update.
26369 Add wcslen support.
26370 (WIDE): New macro.
26371
09f699ea
UD
263722011-10-23 Ulrich Drepper <drepper@gmail.com>
26373
26374 * po/it.po: Update from translation team.
26375
95584d3b
LD
263762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26377
26378 * sysdeps/x86_64/wcscmp.S: Update.
26379 Fix wrong comparison semantics.
26380 wcscmp shall use signed comparison not unsigned.
26381 Don't use substraction to avoid overflow bug.
26382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26383 * wcsmbc/wcscmp.c: Likewise.
26384 * string/test-strcmp.c: Likewise.
26385 Add new tests to check cases with negative values.
26386
c8b3296b
UD
263872011-10-23 Ulrich Drepper <drepper@gmail.com>
26388
26389 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26390 * sysdeps/x86_64/dla.h: ...here. New file.
26391 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26400
246ad57a
AS
264012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26402
26403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26404 __ynl_finite aliases.
26405
a1a87169
UD
264062011-10-22 Ulrich Drepper <drepper@gmail.com>
26407
0d355eb7
UD
26408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26409
a1a87169
UD
26410 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26411 define DLA_FMA.
26412 [DLA_FMA] (EMULV): Use DLA_FMA.
26413 [DLA_FMA] (MUL12): Use EMULV.
26414 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26415 that are not needed.
26416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26423
ee2aafe0
AS
264242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26425
26426 * math/s_nan.c: Undef __nan.
26427 * math/s_nanf.c: Undef __nanf.
26428 * math/s_nanl.c: Undef __nanl.
26429 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26430 "math_private.h".
26431
bc62c2fb
UD
264322011-10-22 Ulrich Drepper <drepper@gmail.com>
26433
77425c63
UD
26434 * math/s_catan.c: Add branch predictions.
26435 * math/s_catanf.c: Likewise.
26436 * math/s_catanh.c: Likewise.
26437 * math/s_catanhf.c: Likewise.
26438 * math/s_catanhl.c: Likewise.
26439 * math/s_catanl.c: Likewise.
26440 * math/s_cexp.c: Likewise.
26441 * math/s_cexpf.c: Likewise.
26442 * math/s_cexpl.c: Likewise.
26443 * math/s_clog.c: Likewise.
26444 * math/s_clog10.c: Likewise.
26445 * math/s_clog10f.c: Likewise.
26446 * math/s_clog10l.c: Likewise.
26447 * math/s_clogf.c: Likewise.
26448 * math/s_clogl.c: Likewise.
26449 * math/s_csqrt.c: Likewise.
26450 * math/s_csqrtf.c: Likewise.
26451 * math/s_csqrtl.c: Likewise.
26452 * math/s_ctanf.c: Likewise.
26453 * math/s_ctanh.c: Likewise.
26454 * math/s_ctanhf.c: Likewise.
26455 * math/s_ctanhl.c: Likewise.
26456 * math/s_ctanl.c: Likewise.
26457
bc62c2fb
UD
26458 * math/math_private.h: Define __nan, __nanf, __nanl.
26459 * math/s_cacosh.c: Include <math_private.h>.
26460 * math/s_cacoshl.c: Likewise.
26461 * math/s_casinh.c: Likewise.
26462 * math/s_casinhf.c: Likewise.
26463 * math/s_casinhl.c: Likewise.
26464 * math/s_ccos.c: Rely entire on ccosh.
26465 * math/s_ccosf.c: Rely entire on ccoshf.
26466 * math/s_ccosl.c: Rely entirely on ccoshl.
26467 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26468 Remove tests for FE_INVALID.
26469 * math/s_ccoshf.c: Likewise.
26470 * math/s_ccoshl.c: Likewise.
26471 * math/s_csin.c: Likewise.
26472 * math/s_csinf.c: Likewise.
26473 * math/s_csinh.c Likewise.
26474 * math/s_csinhf.c: Likewise.
26475 * math/s_csinhl.c: Likewise.
26476 * math/s_csinl.c: Likewise.
26477 * math/s_ctan.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26479 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26480 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26481
8ec250a4
UD
264822011-10-21 Ulrich Drepper <drepper@gmail.com>
26483
c196fed8
UD
26484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26485 compilation problems.
26486
8ec250a4
UD
26487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26488 __builtin_expect.
26489
8d4f46c6
UD
264902011-10-20 Ulrich Drepper <drepper@gmail.com>
26491
ed72b654
UD
26492 * sysdeps/i386/configure.in: Test for -mfma4 option.
26493 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26494 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26495 COMMON_CPUID_INDEX_80000001.
26496 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26497 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26498 use it if FMA3 is not supported.
26499 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26500
8d4f46c6
UD
26501 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26502 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26503
d45c60c2
AS
265042011-10-20 Andreas Schwab <schwab@redhat.com>
26505
26506 [BZ #12892]
26507 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26508 it would create a cycle with a link time dependency.
26509
d9a4d2ab
UD
265102011-10-19 Ulrich Drepper <drepper@gmail.com>
26511
855d1560
UD
26512 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26513 instruction.
26514 * string/Makefile (strop-tests): Add rawmemchr.
26515 * string/test-rawmemchr.c: New file.
26516
d9a4d2ab
UD
26517 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26518 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26519 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26520 when compiling str{,n}casecmp and when AVX is available. Hook up
26521 new optimized code in initializers.
26522
8f3b1ffe
AS
265232011-10-19 Andreas Schwab <schwab@redhat.com>
26524
26525 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26526 __feraiseexcept instead of feraiseexcept.
26527
d38f1dba
UD
265282011-10-18 Ulrich Drepper <drepper@gmail.com>
26529
d9a8d0ab
UD
26530 * math/math_private.h: Define defaults for libc_fetestexcept and
26531 libc_feupdateenv.
26532 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26533 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26534 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26535 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26536 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26537 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26538 libc_fetestexcept and libc_feupdateenv.
26539
4855e3dd
UD
26540 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26541 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26542 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26543 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26544 libc_feholdexcept_setround.
26545
581d30e3
UD
26546 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26547 Add s_nearbyint-c and s_nearbyintf-c.
26548 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26549 nearbyintf inlines.
26550 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26551 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26552 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26553 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26554
d38f1dba
UD
26555 * math/math_private.h: Define defaults for libc_fegetround,
26556 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26557 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26558 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26559 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26560 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26561 standard functions.
26562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26563 Remove comments and hacks for old compiler versions.
26564 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26565 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26566 libc_feholdexceptl.
26567
caa6c9d8
AS
265682011-10-18 Andreas Schwab <schwab@redhat.com>
26569
26570 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26571 (__feraiseexcept_renamed): Add __NTH.
26572 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26573 namespace violations.
26574
97c066e6
UD
265752011-10-17 Ulrich Drepper <drepper@gmail.com>
26576
99ce7b04
UD
26577 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26578
1004d182
UD
26579 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26580
228a984d
UD
26581 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26582 recently added interfaces.
26583 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26584
c8553a6a
UD
26585 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26586 about macro parameter expansion.
26587
ed22dcf6
UD
26588 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26589 __NO_MATH_INLINES is defined. Cleanups.
26590
26591 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26592 and __floorf is target has SSE4.1.
26593 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26594 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26596 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26597
b171c137
UD
26598 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26599 name.
26600 (floorf): Likewise.
26601
97c066e6
UD
26602 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26603
629f62ef
AS
266042011-10-17 Andreas Schwab <schwab@redhat.com>
26605
49a43d80
AS
26606 * misc/sys/cdefs.h: Fix last change.
26607
629f62ef
AS
26608 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26609 database lookup.
26610
e453f6cd
UD
266112011-10-16 Ulrich Drepper <drepper@gmail.com>
26612
aa78043a
UD
26613 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26614
ad0f5cad
UD
26615 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26621 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26622 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26624 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26625 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26626 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26627 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26628 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26629 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26630 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26631 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26632 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26633 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26634 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26635 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26636 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26637
26638 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26639 ceil, ceilf, floor, floorf.
26640
26641 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26642 Perform IRELATIVE relocations last.
26643
e453f6cd
UD
26644 * elf/do-rel.h: Add another parameter nrelative, replacing the
26645 local variable with the same name. Change name of the function
26646 to end in Rel or Rela (uppercase).
26647 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26648 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26649 elf_dynamic_do_##reloc function.
26650
fd5bdc09
UD
266512011-10-15 Ulrich Drepper <drepper@gmail.com>
26652
79b195b5
UD
26653 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26654 is sufficient, at least on modern CPUs.
26655
d4a28569
UD
26656 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26657
b61099b5
UD
26658 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26659 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26660
bcf01e6d
UD
26661 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26662 __expl_finite.
26663 * math/bits/math-finite.h: Add entries for exp.
26664 * math/e_expl.c: Add __*_finite alias.
26665 * sysdeps/i386/fpu/e_exp.S: Likewise.
26666 * sysdeps/i386/fpu/e_expf.S: Likewise.
26667 * sysdeps/i386/fpu/e_expl.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26669 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26673 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26675
ba1a0d59
UD
26676 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26677 is sufficient, at least on modern CPUs.
26678
fd5bdc09
UD
26679 * ctype/ctype-info.c (__ctype_init): Define.
26680 * include/ctype.h (__ctype_init): Declare.
26681 (__ctype_b_loc): The variable is always initialized.
26682 (__ctype_toupper_loc): Likewise.
26683 (__ctype_tolower_loc): Likewise.
26684 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26685 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26686
7872cfb0
AS
266872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26688
b468825a
AS
26689 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26690
7872cfb0
AS
26691 * configure.in: Also look in $cxxmachine/include for C++ system
26692 headers.
26693
be13f7bf
LD
266942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26695
26696 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26697 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26698 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26699 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26701 (USE_AS_WMEMCMP): New macro.
26702 Fixing indents.
26703 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26704 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26705 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26706 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26708 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26709 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26710 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26711 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26712 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26713 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26714 (USE_AS_WMEMCMP): New macro.
26715 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26716 * sysdeps/string/test-memcmp.c: Update.
26717 Fix simple_wmemcmp.
26718 Add new tests.
26719 * wcsmbs/wmemcmp.c: Update.
26720 (WMEMCMP): New macro.
26721 Fix overflow bug.
26722
556a2007
AJ
267232011-10-12 Andreas Jaeger <aj@suse.de>
26724
26725 [BZ #13268]
26726 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26727
538faaa7
UD
267282011-10-15 Ulrich Drepper <drepper@gmail.com>
26729
ab6737ff
UD
26730 * libio/iofwide.c (do_length): Avoid warning.
26731
538faaa7
UD
26732 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26733
396a21b1
UD
267342011-10-14 Ulrich Drepper <drepper@gmail.com>
26735
cdf2901f
UD
26736 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26737
38ad40ce
UD
26738 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26739 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26740 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26741 * sysdeps/i386/i686/fpu/e_log.S: New file.
26742 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26743 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26744
396a21b1
UD
26745 * ctype/ctype.h: Add support for inlined isXXX functions when
26746 compiling C++ code.
26747
6b1f68c9
AS
267482011-10-14 Andreas Schwab <schwab@redhat.com>
26749
349290c0
AS
26750 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26751
6b1f68c9
AS
26752 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26753
f2282d42
RM
267542011-10-13 Roland McGrath <roland@hack.frob.com>
26755
26756 [BZ #13291]
26757 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26758
5298ffa8
AS
267592011-10-13 Andreas Schwab <schwab@redhat.com>
26760
714fad23
AS
26761 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26762 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26763 feraiseexcept.
26764
81dcc7fb
AS
26765 * sysdeps/x86_64/memrchr.S: Check for zero size.
26766
5298ffa8
AS
26767 * string/stratcliff.c: Add memrchr tests.
26768
951fbcec
LD
267692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26770
26771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26772 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26773 rawmemchr-sse2 rawmemchr-sse2-bsf.
26774 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26775 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26776 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26777 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26778 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26779 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26780 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26781 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26782 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26783 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26784 * string/memrchr.c (MEMRCHR): New macro.
26785
0ac5ae23
UD
267862011-10-12 Ulrich Drepper <drepper@gmail.com>
26787
26788 Add integration with gcc's -ffinite-math-only and optimize wrapper
26789 functions in libm.
26790 * Versions.def: Define GLIBC_2.15 version for libm.
26791 * math/Makefile (headers): Add bits/math-finite.h.
26792 * math/bits/math-finite.h: New file.
26793 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26794 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26795 * math/e_acoshl.c: Add __*_finite alias.
26796 * math/e_acosl.c: Likewise.
26797 * math/e_asinl.c: Likewise.
26798 * math/e_atan2l.c: Likewise.
26799 * math/e_atanhl.c: Likewise.
26800 * math/e_coshl.c: Likewise.
26801 * math/e_exp10.c: Likewise.
26802 * math/e_exp10f.c: Likewise.
26803 * math/e_exp10l.c: Likewise.
26804 * math/e_exp2l.c: Likewise.
26805 * math/e_fmodl.c: Likewise.
26806 * math/e_gammal_r.c: Likewise.
26807 * math/e_hypotl.c: Likewise.
26808 * math/e_j0l.c: Likewise.
26809 * math/e_j1l.c: Likewise.
26810 * math/e_jnl.c: Likewise.
26811 * math/e_lgammal_r.c: Likewise.
26812 * math/e_log10l.c: Likewise.
26813 * math/e_log2l.c: Likewise.
26814 * math/e_logl.c: Likewise.
26815 * math/e_powl.c: Likewise.
26816 * math/e_sinhl.c: Likewise.
26817 * math/e_sqrtl.c: Likewise.
26818 * math/e_scalb.c: Completely rewritten and optimized.
26819 * math/e_scalbf.c: Likewise.
26820 * math/e_scalbl.c: Likewise.
26821 * math/w_acos.c: Likewise.
26822 * math/w_acosf.c: Likewise.
26823 * math/w_acosl.c: Likewise.
26824 * math/w_acosh.c: Likewise.
26825 * math/w_acoshf.c: Likewise.
26826 * math/w_acoshl.c: Likewise.
26827 * math/w_asin.c: Likewise.
26828 * math/w_asinf.c: Likewise.
26829 * math/w_asinl.c: Likewise.
26830 * math/w_atan2.c: Likewise.
26831 * math/w_atan2f.c: Likewise.
26832 * math/w_atan2l.c: Likewise.
26833 * math/w_atanh.c: Likewise.
26834 * math/w_atanhf.c: Likewise.
26835 * math/w_atanhl.c: Likewise.
26836 * math/w_exp10.c: Likewise.
26837 * math/w_exp10f.c: Likewise.
26838 * math/w_exp10l.c: Likewise.
26839 * math/w_fmod.c: Likewise.
26840 * math/w_fmodf.c: Likewise.
26841 * math/w_fmodl.c: Likewise.
26842 * math/w_j0.c: Likewise.
26843 * math/w_j0f.c: Likewise.
26844 * math/w_j0l.c: Likewise.
26845 * math/w_j1.c: Likewise.
26846 * math/w_j1f.c: Likewise.
26847 * math/w_j1l.c: Likewise.
26848 * math/w_jn.c: Likewise.
26849 * math/w_jnf.c: Likewise.
26850 * math/w_log.c: Likewise.
26851 * math/w_logf.c: Likewise.
26852 * math/w_logl.c: Likewise.
26853 * math/w_log10.c: Likewise.
26854 * math/w_log10f.c: Likewise.
26855 * math/w_log10l.c: Likewise.
26856 * math/w_log2.c: Likewise.
26857 * math/w_log2f.c: Likewise.
26858 * math/w_log2l.c: Likewise.
26859 * math/w_pow.c: Likewise.
26860 * math/w_powf.c: Likewise.
26861 * math/w_powl.c: Likewise.
26862 * math/w_remainder.c: Likewise.
26863 * math/w_remainderf.c: Likewise.
26864 * math/w_remainderl.c: Likewise.
26865 * math/w_scalb.c: Likewise.
26866 * math/w_scalbf.c: Likewise.
26867 * math/w_scalbl.c: Likewise.
26868 * math/w_sqrt.c: Likewise.
26869 * math/w_sqrtf.c: Likewise.
26870 * math/w_sqrtl.c: Likewise.
26871 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26872 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26873 used.
26874 * math/math_private.h: Declare __kernel_standard_f.
26875 * math/w_cosh.c: Remove cruft and optimize a bit.
26876 * math/w_coshf.c: Likewise.
26877 * math/w_coshl.c: Likewise.
26878 * math/w_exp2.c: Likewise.
26879 * math/w_exp2f.c: Likewise.
26880 * math/w_exp2l.c: Likewise.
26881 * math/w_hypot.c: Likewise.
26882 * math/w_hypotf.c: Likewise.
26883 * math/w_hypotl.c: Likewise.
26884 * math/w_lgamma.c: Likewise.
26885 * math/w_lgamma_r.c: Likewise.
26886 * math/w_lgammaf.c: Likewise.
26887 * math/w_lgammaf_r.c: Likewise.
26888 * math/w_lgammal.c: Likewise.
26889 * math/w_lgammal_r.c: Likewise.
26890 * math/w_sinh.c: Likewise.
26891 * math/w_sinhf.c: Likewise.
26892 * math/w_sinhl.c: Likewise.
26893 * math/w_tgamma.c: Likewise.
26894 * math/w_tgammaf.c: Likewise.
26895 * math/w_tgammal.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26898 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26899 Minor optimizations. Pretty printing. Remove cruft.
26900 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26901 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26902 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26903 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26904 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26905 * sysdeps/i386/fpu/e_asin.S: Likewise.
26906 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26907 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26908 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26909 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26910 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26911 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26913 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26914 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26915 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26916 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26917 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26918 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26919 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26920 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26921 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26922 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26923 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26924 * sysdeps/i386/fpu/e_log.S: Likewise.
26925 * sysdeps/i386/fpu/e_log10.S: Likewise.
26926 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26927 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26928 * sysdeps/i386/fpu/e_log2.S: Likewise.
26929 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26930 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26931 * sysdeps/i386/fpu/e_logf.S: Likewise.
26932 * sysdeps/i386/fpu/e_logl.S: Likewise.
26933 * sysdeps/i386/fpu/e_pow.S: Likewise.
26934 * sysdeps/i386/fpu/e_powf.S: Likewise.
26935 * sysdeps/i386/fpu/e_powl.S: Likewise.
26936 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26937 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26938 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26939 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26940 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26942 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26943 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26944 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26945 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26946 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26948 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26949 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26950 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26951 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26952 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26954 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26955 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26961 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26962 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26966 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26967 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26968 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26969 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26971 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26972 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26973 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26974 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26975 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26976 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26977 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26979 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26980 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26981 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26982 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26983 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26984 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26985 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26986 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26987 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26991 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26994 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27025 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27028 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27030 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27031 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27033 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27036 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27037 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27038 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27039 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27040 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27041 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27042 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27043 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27044 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27045 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27046 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27047 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27048 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27049 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27050 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27051 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27053 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27054 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27055 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27056 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27057 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27058 (__isnanf): Likewise.
27059 (__isinf_ns): Likewise.
27060 (__isinf_nsf): Likewise.
27061 (__finite): Likewise.
27062 (__finitef): Likewise.
27063 (__ieee754_sqrt): Define as macro.
27064 (__ieee754_sqrtf): Define as macro.
27065 (__ieee754_sqrtl): Define as macro.
27066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27067 inlined copy.
27068 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27069 __FINITE_MATH_ONLY__ consistent.
27070 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27071
12cc2fcd
AS
270722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27073
a843a204
AS
27074 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27075 of rawmemchr.
27076
12cc2fcd
AS
27077 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27078
c853acd5
UD
270792011-10-09 Ulrich Drepper <drepper@gmail.com>
27080
27081 * po/ja.po: Update from translation team.
27082
c658d255
RM
270832011-10-08 Roland McGrath <roland@hack.frob.com>
27084
110946e4
RM
27085 * locale/programs/locarchive.c (prepare_address_space): New function.
27086 (create_archive, enlarge_archive, open_archive): Use it.
27087
50604220
RM
27088 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27089 inside [SHARED], where it is used.
27090
c658d255
RM
27091 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27092
27093 * nss/getent.c (netgroup_keys): Remove unused variable.
27094 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27095
6a621eb7
UD
270962011-10-08 Ulrich Drepper <drepper@gmail.com>
27097
7edb55ce
UD
27098 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27099 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27102 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27103 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27104 * math/Makefile (libm-calls): Add s_isinf_ns.
27105 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27106 * math/multc3.c: Likewise.
27107 * math/s_casin.c: Likewise.
27108 * math/s_casinf.c: Likewise.
27109 * math/s_casinl.c: Likewise.
27110 * math/s_ccos.c: Likewise.
27111 * math/s_ccosf.c: Likewise.
27112 * math/s_ccosl.c: Likewise.
27113 * math/s_ctan.c: Likewise.
27114 * math/s_ctanf.c: Likewise.
27115 * math/s_ctanh.c: Likewise.
27116 * math/s_ctanhf.c: Likewise.
27117 * math/s_ctanhl.c: Likewise.
27118 * math/s_ctanl.c: Likewise.
27119 * math/w_fmod.c: Likewise.
27120 * math/w_fmodf.c: Likewise.
27121 * math/w_fmodl.c: Likewise.
27122 * math/w_remainder.c: Likewise.
27123 * math/w_remainderf.c: Likewise.
27124 * math/w_remainderl.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27126 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27127 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27129 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27130 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27131 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27132 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27133
187da0ae
UD
27134 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27135 of the number.
27136 * stdio-common/printf_fphex.c: Likewise.
27137 * stdio-common/printf_size.c: Likewise.
27138
9277c064
UD
27139 * math/e_exp10.c: Include math_private.h using <...> not "...".
27140 * math/e_exp10f.c: Likewise.
27141 * math/e_exp10l.c: Likewise.
27142 * math/e_exp2l.c: Likewise.
27143 * math/e_j0l.c: Likewise.
27144 * math/e_j1l.c: Likewise.
27145 * math/e_jnl.c: Likewise.
27146 * math/e_lgammal_r.c: Likewise.
27147 * math/e_rem_pio2l.c: Likewise.
27148 * math/e_scalb.c: Likewise.
27149 * math/e_scalbf.c: Likewise.
27150 * math/e_scalbl.c: Likewise.
27151 * math/k_cosl.c: Likewise.
27152 * math/k_sinl.c: Likewise.
27153 * math/k_tanl.c: Likewise.
27154 * math/s_cacoshf.c: Likewise.
27155 * math/s_catan.c: Likewise.
27156 * math/s_catanf.c: Likewise.
27157 * math/s_catanh.c: Likewise.
27158 * math/s_catanhf.c: Likewise.
27159 * math/s_catanhl.c: Likewise.
27160 * math/s_catanl.c: Likewise.
27161 * math/s_ccosh.c: Likewise.
27162 * math/s_ccoshf.c: Likewise.
27163 * math/s_ccoshl.c: Likewise.
27164 * math/s_cexp.c: Likewise.
27165 * math/s_cexpf.c: Likewise.
27166 * math/s_cexpl.c: Likewise.
27167 * math/s_clog.c: Likewise.
27168 * math/s_clog10.c: Likewise.
27169 * math/s_clog10f.c: Likewise.
27170 * math/s_clog10l.c: Likewise.
27171 * math/s_clogf.c: Likewise.
27172 * math/s_clogl.c: Likewise.
27173 * math/s_csin.c: Likewise.
27174 * math/s_csinf.c: Likewise.
27175 * math/s_csinh.c: Likewise.
27176 * math/s_csinhf.c: Likewise.
27177 * math/s_csinhl.c: Likewise.
27178 * math/s_csinl.c: Likewise.
27179 * math/s_csqrt.c: Likewise.
27180 * math/s_csqrtf.c: Likewise.
27181 * math/s_csqrtl.c: Likewise.
27182 * math/s_ctan.c: Likewise.
27183 * math/s_ctanf.c: Likewise.
27184 * math/s_ctanh.c: Likewise.
27185 * math/s_ctanhf.c: Likewise.
27186 * math/s_ctanhl.c: Likewise.
27187 * math/s_ctanl.c: Likewise.
27188 * math/s_ldexp.c: Likewise.
27189 * math/s_ldexpf.c: Likewise.
27190 * math/s_ldexpl.c: Likewise.
27191 * math/s_significand.c: Likewise.
27192 * math/s_significandf.c: Likewise.
27193 * math/s_significandl.c: Likewise.
27194 * math/w_acos.c: Likewise.
27195 * math/w_acosf.c: Likewise.
27196 * math/w_acosh.c: Likewise.
27197 * math/w_acoshf.c: Likewise.
27198 * math/w_acoshl.c: Likewise.
27199 * math/w_acosl.c: Likewise.
27200 * math/w_asin.c: Likewise.
27201 * math/w_asinf.c: Likewise.
27202 * math/w_asinl.c: Likewise.
27203 * math/w_atan2.c: Likewise.
27204 * math/w_atan2f.c: Likewise.
27205 * math/w_atan2l.c: Likewise.
27206 * math/w_atanh.c: Likewise.
27207 * math/w_atanhf.c: Likewise.
27208 * math/w_atanhl.c: Likewise.
27209 * math/w_cosh.c: Likewise.
27210 * math/w_coshf.c: Likewise.
27211 * math/w_coshl.c: Likewise.
27212 * math/w_dremf.c: Likewise.
27213 * math/w_exp10.c: Likewise.
27214 * math/w_exp10f.c: Likewise.
27215 * math/w_exp10l.c: Likewise.
27216 * math/w_exp2.c: Likewise.
27217 * math/w_exp2f.c: Likewise.
27218 * math/w_fmod.c: Likewise.
27219 * math/w_fmodf.c: Likewise.
27220 * math/w_fmodl.c: Likewise.
27221 * math/w_hypot.c: Likewise.
27222 * math/w_hypotf.c: Likewise.
27223 * math/w_hypotl.c: Likewise.
27224 * math/w_j0.c: Likewise.
27225 * math/w_j0f.c: Likewise.
27226 * math/w_j0l.c: Likewise.
27227 * math/w_j1.c: Likewise.
27228 * math/w_j1f.c: Likewise.
27229 * math/w_j1l.c: Likewise.
27230 * math/w_jn.c: Likewise.
27231 * math/w_jnf.c: Likewise.
27232 * math/w_jnl.c: Likewise.
27233 * math/w_lgamma.c: Likewise.
27234 * math/w_lgamma_r.c: Likewise.
27235 * math/w_lgammaf.c: Likewise.
27236 * math/w_lgammaf_r.c: Likewise.
27237 * math/w_lgammal.c: Likewise.
27238 * math/w_lgammal_r.c: Likewise.
27239 * math/w_log.c: Likewise.
27240 * math/w_log10.c: Likewise.
27241 * math/w_log10f.c: Likewise.
27242 * math/w_log10l.c: Likewise.
27243 * math/w_log2.c: Likewise.
27244 * math/w_log2f.c: Likewise.
27245 * math/w_log2l.c: Likewise.
27246 * math/w_logf.c: Likewise.
27247 * math/w_logl.c: Likewise.
27248 * math/w_pow.c: Likewise.
27249 * math/w_powf.c: Likewise.
27250 * math/w_powl.c: Likewise.
27251 * math/w_remainder.c: Likewise.
27252 * math/w_remainderf.c: Likewise.
27253 * math/w_remainderl.c: Likewise.
27254 * math/w_scalb.c: Likewise.
27255 * math/w_scalbf.c: Likewise.
27256 * math/w_scalbl.c: Likewise.
27257 * math/w_sinh.c: Likewise.
27258 * math/w_sinhf.c: Likewise.
27259 * math/w_sinhl.c: Likewise.
27260 * math/w_sqrt.c: Likewise.
27261 * math/w_sqrtf.c: Likewise.
27262 * math/w_sqrtl.c: Likewise.
27263 * math/w_tgamma.c: Likewise.
27264 * math/w_tgammaf.c: Likewise.
27265 * math/w_tgammal.c: Likewise.
27266
6a621eb7
UD
27267 * po/ja.po: Update from translation team.
27268
bf582445
AJ
272692011-09-29 Andreas Jaeger <aj@suse.de>
27270
f9efbf3a
AJ
27271 [BZ #13179]
27272 * sunrpc/netname.c (netname2host): Fix logic.
27273
bf582445
AJ
27274 [BZ #6779]
27275 [BZ #6783]
27276 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27277 correctly.
27278 * math/w_remainder.c (__remainder): Likewise.
27279 * math/w_remainderf.c (__remainderf): Likewise.
27280 * math/libm-test.inc (remainder_test): Add test cases.
27281
48693bea
AK
272822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27283
27284 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27285 sdiv_qrnnd.
27286
42622229
LD
272872011-10-07 Ulrich Drepper <drepper@gmail.com>
27288
27289 * string/test-memcmp.c: Avoid unncessary #defines.
27290 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27291
093ecf92
LD
272922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27293
27294 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27295 Use new sse2 version for core i3 - i7 as it's faster
27296 than sse42 version.
27297 (bit_Prefer_PMINUB_for_stringop): New.
27298 * sysdeps/x86_64/rawmemchr.S: Update.
27299 Replace with faster SSE2 version.
27300 * sysdeps/x86_64/memrchr.S: New file.
27301 * sysdeps/x86_64/memchr.S: Update.
27302 Replace with faster SSE2 version.
27303
fde56e5c
MP
273042011-09-12 Marek Polacek <mpolacek@redhat.com>
27305
27306 * elf/dl-load.c (lose): Add cast to avoid warning.
27307
21fd49a9
UD
273082011-10-07 Ulrich Drepper <drepper@gmail.com>
27309
5a06e643
UD
27310 * po/ca.po: Update from translation team.
27311
684ae515
UD
27312 * inet/getnetgrent_r.c: Hook up nscd.
27313 * nscd/Makefile (routines): Add nscd_netgroup.
27314 (nscd-modules): Add netgroupcache.
27315 (CFLAGS-netgroupcache.c): Define.
27316 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27317 (cache_search): Add const to second parameter.
27318 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27319 INNETGR.
27320 (dbs): Add netgrdb entry.
27321 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27322 (verify_persistent_db): Handle netgrdb.
27323 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27324 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27325 GETFDNETGR.
27326 (netgroup_response_header): Define.
27327 (innetgroup_response_header): Define.
27328 (datahead): Add netgroup_response_header and innetgroup_response_header
27329 elements.
27330 * nscd/nscd.conf: Add entries for netgroup cache.
27331 * nscd/nscd.h (dbtype): Add netgrdb.
27332 (_PATH_NSCD_NETGROUP_DB): Define.
27333 (netgroup_iov_disabled): Declare.
27334 (xmalloc, xcalloc, xrealloc): Move declarations here.
27335 (cache_search): Adjust prototype.
27336 Add netgroup-related prototypes.
27337 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27338 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27339 (__nscd_innetgr): Declare.
27340 * nscd/selinux.c (perms): Use access_vector_t as element type and
27341 add netgroup-related initializers.
27342 * nscd/netgroupcache.c: New file.
27343 * nscd/nscd_netgroup.c: New file.
27344 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27345 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27346 For four parameters use innetgr.
27347 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27348 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27349 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27350 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27351
21fd49a9
UD
27352 * nscd/connections.c (register_traced_file): Don't register file
27353 for disabled databases.
27354
054c0457
UD
273552011-10-06 Ulrich Drepper <drepper@gmail.com>
27356
32b63198
UD
27357 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27358
054c0457
UD
27359 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27360 from tree and freeing node.
27361
64031225
JO
273622011-09-25 Jiri Olsa <jolsa@redhat.com>
27363
27364 * nss/nsswitch.c (__nss_database_lookup): Handle
27365 nss_parse_service_list out of memory case.
27366
0490345c
JO
273672011-09-15 Jiri Olsa <jolsa@redhat.com>
27368
27369 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27370 out of memory case.
27371
3a62d00d
AS
273722011-10-04 Andreas Schwab <schwab@redhat.com>
27373
27374 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27375 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27376 pass it down.
27377 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27378 elf_machine_rela, elf_machine_lazy_rel.
27379 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27380 (ELF_DYNAMIC_DO_REL): Likewise.
27381 (ELF_DYNAMIC_DO_RELA): Likewise.
27382 (ELF_DYNAMIC_RELOCATE): Likewise.
27383 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27384 to ELF_DYNAMIC_DO_REL.
27385 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27386 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27387 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27388 elf_machine_rela.
27389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27390 skip_ifunc, don't call ifunc function if non-zero.
27391 (elf_machine_rela): Likewise.
27392 (elf_machine_lazy_rel): Likewise.
27393 (elf_machine_lazy_rela): Likewise.
27394 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27395 (elf_machine_lazy_rel): Likewise.
27396 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27397 Likewise.
27398 (elf_machine_lazy_rel): Likewise.
27399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27400 Likewise.
27401 (elf_machine_lazy_rel): Likewise.
27402 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27403 (elf_machine_lazy_rel): Likewise.
27404 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27405 (elf_machine_lazy_rel): Likewise.
27406 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27407 (elf_machine_lazy_rel): Likewise.
27408 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27409 (elf_machine_lazy_rel): Likewise.
27410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27411 (elf_machine_lazy_rel): Likewise.
27412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27413 (elf_machine_lazy_rel): Likewise.
27414
68577918
UD
274152011-09-28 Ulrich Drepper <drepper@gmail.com>
27416
27417 * nss/nss_files/files-init.c (_nss_files_init): Use static
27418 initialization for all the *_traced_file variables.
27419
68822d74
AS
274202011-09-28 Andreas Schwab <schwab@redhat.com>
27421
27422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27423
2056100b
RM
274242011-09-27 Roland McGrath <roland@hack.frob.com>
27425
27426 [BZ #13226]
27427 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27428
32c76b63
AS
274292011-09-27 Andreas Schwab <schwab@redhat.com>
27430
27431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27432 Reread the line before reparsing it.
27433
bf972c9d
AS
274342011-09-26 Andreas Schwab <schwab@redhat.com>
27435
27436 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27437
e057a1b5
JM
274382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27439 Maxim Kuvyrkov <maxim@codesourcery.com>
27440 Joseph Myers <joseph@codesourcery.com>
27441
27442 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27443 if needed for __stack_chk_guard.
27444
bc7e1c36
RM
274452011-09-19 Roland McGrath <roland@hack.frob.com>
27446
ecb1482f
RM
27447 * sysdeps/posix/spawni.c (script_execute): Always define it.
27448 It will be optimized away if unused.
27449 (maybe_script_execute): New function.
27450 (__spawni): Call it.
27451
bc7e1c36
RM
27452 * Makerules: Don't include tls.make.
27453 (config-tls): Always set to thread.
27454 * tls.make.c: File removed.
27455
1c3b002b
MF
274562011-09-19 Mike Frysinger <vapier@gentoo.org>
27457
27458 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27459 * config.make.in (CPPFLAGS-config): New substituted variable.
27460
2840865d
UD
274612011-09-15 Ulrich Drepper <drepper@gmail.com>
27462
88738eb6
UD
27463 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27464
cbf645a6 27465 [BZ #13192]
2840865d
UD
27466 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27467 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27468
b402e91a
RM
274692011-09-15 Roland McGrath <roland@hack.frob.com>
27470
27471 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27472 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27474 (CALL_FAIL): Likewise.
27475 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27476 (CALL_FAIL): Macro removed.
27477 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27478
4c1a1f71
UD
274792011-09-15 Ulrich Drepper <drepper@gmail.com>
27480
27481 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27482 for __FINITE_MATH_ONLY__ == 1.
27483
edc121be
AS
274842011-09-15 Andreas Schwab <schwab@redhat.com>
27485
27486 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27487 __ieee754_sqrt instead of sqrt.
27488 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27489 __ieee754_sqrtf instead of sqrtf.
27490 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27491 __floorf instead of floorf.
27492 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27493 __floorf, __truncf instead of floorf, truncf.
27494
cd205654
UD
274952011-09-14 Ulrich Drepper <drepper@gmail.com>
27496
ee4d0315
UD
27497 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27498
cd205654
UD
27499 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27500 __extern_always_inline.
27501 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27502 32-bit.
27503
48b67d71
AS
275042011-09-14 Andreas Schwab <schwab@redhat.com>
27505
27506 * elf/rtld.c (dl_main): Also relocate in dependency order when
27507 doing symbol dependency testing.
27508
1ae12c75
AS
275092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27510
27511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27512 Always define `refsym'.
27513
995a80df
AS
275142011-09-13 Andreas Schwab <schwab@redhat.com>
27515
e529793b
AS
27516 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27517 (__FD_ELT): Renamed from __FDELT.
27518 * misc/bits/select2.h (__FD_ELT): Likewise.
27519 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27520 __FD_MASK instead of __FDELT, __FDMASK.
27521 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27522 Likewise.
27523 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27524 Likewise.
27525
52d4fef8
AS
27526 * elf/Makefile (gen-ldd): Fix pattern.
27527
995a80df
AS
27528 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27529 (init_tls): Likewise.
27530
8682f8b0
UD
275312011-09-12 Ulrich Drepper <drepper@gmail.com>
27532
27533 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27534
de82006d
AS
275352011-09-12 Andreas Schwab <schwab@redhat.com>
27536
a7c8e6a1
AS
27537 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27538 `struct cmsghdr *' instead of `void *'.
27539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27540 Likewise.
27541
0f31fe77
AS
275422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27543
27544 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27545 if non-absolute.
27546 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27547 ldd_rewrite_script.
0f31fe77 27548
32b4c839
UD
275492011-09-11 Ulrich Drepper <drepper@gmail.com>
27550
83cd1420
UD
27551 * configure.in: Remove --with-tls option.
27552 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27553 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27554 out in case it is missing.
27555 * sysdeps/ia64/elf/configure.in: Likewise.
27556 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27557 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27558 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27559 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27560 * sysdeps/sh/elf/configure.in: Likewise.
27561 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27562 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27563 * sysdeps/x86_64/elf/configure.in: Likewise.
27564 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27565 * sysdeps/mach/hurd/tls.h: Likewise.
27566
633f745d
UD
27567 [BZ #13067]
27568 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27569
f318beb8
UD
27570 [BZ #13090]
27571 * configure.in: Fix use of AC_INIT.
27572
32b4c839
UD
27573 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27574
3ce1f295
UD
275752011-09-10 Ulrich Drepper <drepper@gmail.com>
27576
bb016596
UD
27577 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27578 __set_errno.
8e58439c
UD
27579 * malloc/hooks.c: Likewise.
27580
aebae053 27581 [BZ #11929]
02d46fc4
UD
27582 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27583 variables statically.
27584 (narenas): Initialize.
27585 (list_lock): Initialize.
bb016596
UD
27586 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27587 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27588 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27589 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27590 Add initializers to main_arena and mp_.
27591 (malloc_state): Remove pagesize member. Change all users to use
27592 GLRO(dl_pagesize).
27593
27594 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27595 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27596 is always initialized.
27597
22a89187
UD
27598 * malloc/malloc.c: Removed unused configurations and dead code.
27599 * malloc/arena.c: Likewise.
27600 * malloc/hooks.c: Likewise.
02d46fc4 27601 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27602
d063d164
UD
27603 * include/tls.h: Removed. USE___THREAD must always be defined.
27604 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27605 * elf/dl-libc.c: Likewise.
27606 * elf/dl-tsd.c: Likewise.
27607 * include/errno.h: Likewise.
27608 * include/netdb.h: Likewise.
27609 * include/resolv.h: Likewise.
27610 * inet/herrno-loc.c: Likewise.
27611 * inet/herrno.c: Likewise.
27612 * malloc/arena.c: Likewise.
27613 * malloc/hooks.c: Likewise.
27614 * malloc/malloc.c: Likewise.
27615 * resolv/res-state.c: Likewise.
27616 * resolv/res_libc.c: Likewise.
27617 * sysdeps/i386/dl-machine.h: Likewise.
27618 * sysdeps/ia64/dl-machine.h: Likewise.
27619 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27620 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27621 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27622 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27623 * sysdeps/sh/dl-machine.h: Likewise.
27624 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27626 * sysdeps/unix/i386/sysdep.S: Likewise.
27627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27628 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27633 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27638 * sysdeps/x86_64/dl-machine.h: Likewise.
27639 * tls.make.c: Likewise.
27640
3ce1f295
UD
27641 * configure.in: Remove --with-__thread option. Make tests for
27642 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27643 tls_model attribute fail if no support is available. Remove
27644 USE_IN_LIBIO.
27645 * Makeconfig: Adjust for dropped configure option. All features are
27646 now mandatory.
27647 * Makerules: Likewise.
27648 * Versions.def: Likewise.
27649 * argp/argp-fmtstream.c: Likewise.
27650 * argp/argp-fmtstream.h: Likewise.
27651 * argp/argp-help.c: Likewise.
27652 * assert/assert.c: Likewise.
27653 * config.h.in: Likewise.
27654 * config.make.in: Likewise.
27655 * configure: Likewise.
27656 * configure.in: Likewise.
27657 * csu/Versions: Likewise.
27658 * csu/init.c: Likewise.
27659 * elf/tst-audit2.c: Likewise.
27660 * elf/tst-tls10.c: Likewise.
27661 * elf/tst-tls10.h: Likewise.
27662 * elf/tst-tls11.c: Likewise.
27663 * elf/tst-tls12.c: Likewise.
27664 * elf/tst-tls14.c: Likewise.
27665 * elf/tst-tlsmod11.c: Likewise.
27666 * elf/tst-tlsmod12.c: Likewise.
27667 * elf/tst-tlsmod13.c: Likewise.
27668 * elf/tst-tlsmod13a.c: Likewise.
27669 * elf/tst-tlsmod14a.c: Likewise.
27670 * elf/tst-tlsmod15b.c: Likewise.
27671 * elf/tst-tlsmod16a.c: Likewise.
27672 * elf/tst-tlsmod16b.c: Likewise.
27673 * elf/tst-tlsmod7.c: Likewise.
27674 * elf/tst-tlsmod8.c: Likewise.
27675 * elf/tst-tlsmod9.c: Likewise.
27676 * gmon/gmon.c: Likewise.
27677 * grp/fgetgrent_r.c: Likewise.
27678 * grp/putgrent.c: Likewise.
27679 * hurd/fopenport.c: Likewise.
27680 * include/libc-symbols.h: Likewise.
27681 * include/tls.h: Likewise.
27682 * intl/gettextP.h: Likewise.
27683 * intl/loadinfo.h: Likewise.
27684 * locale/global-locale.c: Likewise.
27685 * locale/localeinfo.h: Likewise.
27686 * mach/devstream.c: Likewise.
27687 * malloc/arena.c: Likewise.
27688 * malloc/set-freeres.c: Likewise.
27689 * misc/err.c: Likewise.
27690 * misc/getttyent.c: Likewise.
27691 * misc/mntent_r.c: Likewise.
27692 * posix/getopt.c: Likewise.
27693 * posix/wordexp.c: Likewise.
27694 * pwd/fgetpwent_r.c: Likewise.
27695 * resolv/Versions: Likewise.
27696 * resolv/res_hconf.c: Likewise.
27697 * shadow/fgetspent_r.c: Likewise.
27698 * shadow/putspent.c: Likewise.
27699 * stdio-common/printf_fphex.c: Likewise.
27700 * stdio-common/tmpfile.c: Likewise.
27701 * stdlib/abort.c: Likewise.
27702 * stdlib/fmtmsg.c: Likewise.
27703 * sunrpc/auth_unix.c: Likewise.
27704 * sunrpc/clnt_perr.c: Likewise.
27705 * sunrpc/clnt_tcp.c: Likewise.
27706 * sunrpc/clnt_udp.c: Likewise.
27707 * sunrpc/clnt_unix.c: Likewise.
27708 * sunrpc/openchild.c: Likewise.
27709 * sunrpc/svc_simple.c: Likewise.
27710 * sunrpc/svc_tcp.c: Likewise.
27711 * sunrpc/svc_udp.c: Likewise.
27712 * sunrpc/svc_unix.c: Likewise.
27713 * sunrpc/xdr.c: Likewise.
27714 * sunrpc/xdr_array.c: Likewise.
27715 * sunrpc/xdr_rec.c: Likewise.
27716 * sunrpc/xdr_ref.c: Likewise.
27717 * sunrpc/xdr_stdio.c: Likewise.
27718
1248c1c4
PB
277192011-09-09 Ulrich Drepper <drepper@gmail.com>
27720
27721 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27722
277232011-07-03 Andreas Jaeger <aj@suse.de>
27724
27725 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27726 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27727 regenerate with gen-libm-tests.pl.
27728
277292010-05-12 Petr Baudis <pasky@suse.cz>
27730
27731 [BZ #11589]
27732 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27733 around j0() zero points by switching to j1().
27734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27738
f22e1074
UD
277392011-09-09 Ulrich Drepper <drepper@gmail.com>
27740
f19009c1
UD
27741 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27742 instead of 0.
27743 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27744 instead of 0.
f19009c1
UD
27745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27746 Patch in part by Pavel Roskin <proski@gnu.org>.
27747
3f8cc204
UD
27748 [BZ #13138]
27749 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27750 realloc.
27751 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27752 Free memory block if necessary.
27753
f22e1074
UD
27754 [BZ #12847]
27755 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27756 be NULL. Don't lock in this case.
27757
0a2349f9
RM
277582011-09-09 Roland McGrath <roland@hack.frob.com>
27759
27760 * elf/elf.h (ELFOSABI_GNU): New macro.
27761 (ELFOSABI_LINUX): Define to that.
27762
f3cdd467
DZ
277632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27764
27765 * string/strncat.c (strncat): Undef the symbol in case it has been
27766 defined in bits/string.h.
27767
74718d13
UD
277682011-09-09 Ulrich Drepper <drepper@gmail.com>
27769
633e9e0f
UD
27770 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27771
0a2349f9 27772 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27773 link map.
27774
f9924780
AJ
277752011-08-17 Andreas Jaeger <aj@suse.de>
27776
27777 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27778
7f5517aa
PP
277792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27780 Ian Lance Taylor <iant@google.com>
27781
27782 * math/libm-test.inc (lround_test): New testcase.
27783 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27784
762011fe
UD
277852011-09-08 Ulrich Drepper <drepper@gmail.com>
27786
92963737
UD
27787 * Makefile: Remove support for automatic cvs check-ins.
27788 * Makerules: Likewise.
27789 * config.make.in: Likewise.
27790 * configure.in: Likewise.
27791 * intl/Makefile: Likewise.
27792 * locale/Makefile: Likewise.
27793 * po/Makefile: Likewise.
27794 * posix/Makefile: Likewise.
27795 * sysdeps/gnu/Makefile: Likewise.
27796 * sysdeps/mach/hurd/Makefile: Likewise.
27797 * sysdeps/sparc/sparc32/Makefile: Likewise.
27798
b0727fd8
JS
27799 [BZ #13118]
27800 * posix/Makefile (bug-regex32-ENV): Define.
27801 Patch by John Stanley <jpsinthemix@verizon.net>.
27802
a0f33f99
UD
27803 * misc/Makefile (headers): Add bits/select2.h.
27804 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27805 * misc/bits/select2.h: New file.
27806 * include/bits/select2.h: New file.
27807 * debug/Makefile (routines): Add fdelt_chk.
27808 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27809 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27810 FD_ISSET.
27811 * debug/fdelt_chk.c: New file.
27812
762011fe
UD
27813 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27814 * wcsmbs/test-wmemcmp.c: Likewise.
27815 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27816 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27817
278182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27819
27820 * string/Makefile (strop-tests): Add memcmp.
27821 * string/test-wmemcmp.c: New file.
27822 * string/test-memcmp.c: Add wmemcmp support.
27823
7f513ec8
RM
278242011-09-08 Roland McGrath <roland@hack.frob.com>
27825
0442afb4
RM
27826 [BZ #13153]
27827 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27828 2011-07-19 change.
27829
7f513ec8
RM
27830 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27831 garbage value in a __mach_port_mod_refs call in the cases of the
27832 task-self and thread-self ports.
27833
a12b2239
ST
278342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27835
27836 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27837
610f9ab4
AS
278382011-09-08 Andreas Schwab <schwab@redhat.com>
27839
7f513ec8 27840 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27841
48882a1a
LD
278422011-09-07 Ulrich Drepper <drepper@gmail.com>
27843
b49865be
UD
27844 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27845
fdc86bc9
UD
27846 * elf/dl-libc.c (dlerror_run): Pass back error code from
27847 dl_catch_error.
27848
c966526a
UD
27849 [BZ #13123]
27850 * elf/dl-load.c (lose): Free l_origin if it is valid.
27851
48882a1a
LD
27852 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27853 names.
27854 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27855 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27856 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27858 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27859 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27860
77a2a8b4
AZ
278612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27862
27863 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27864 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27865 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27866 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27867 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27868 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27869 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27870 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27871 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27872 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27873
24f579d8
AM
278742011-08-15 Alan Modra <amodra@gmail.com>
27875
27876 [BZ #13092]
27877 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27878 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27879 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27880 ppc_mcount to static-only-routines.
27881 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27882 __mcount_internal.
27883 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27884 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27885
3d4837df
UD
278862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27887
27888 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27889 for finite and infinity parameters.
27890
22700377
WS
278912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27892
27893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27894 and add nop instructions for throughput optimization.
27895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27896
5025581e
WS
278972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27898
27899 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27900 aligned copy for power7 with vector-scalar instructions.
27901 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27902
08a300c9
L
279032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27904
27905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27906 AVX check.
27907
59178ef9
AS
279082011-09-07 Andreas Schwab <schwab@redhat.com>
27909
27910 [BZ #13144]
27911 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27912 last change.
27913
e38ba7ab
UD
279142011-09-07 Ulrich Drepper <drepper@gmail.com>
27915
27916 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27917 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27918 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27919 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27920 clock_gettime.
27921
d53a73ac
UD
279222011-09-06 Ulrich Drepper <drepper@gmail.com>
27923
fc8bffcc
UD
27924 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27925 Forgot to demangle the pointer.
27926
ceaa0c5d
UD
27927 * sysdeps/i386/sysdep.h: Define atom_text_section.
27928 * sysdeps/x86_64/sysdep.h: Likewise.
27929 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27930 section with atom_text_section.
27931 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27933 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27934 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27935 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27936
a77d3c17
UD
27937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27938 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27939 already be defined. Change to take two parameters and don't assign
27940 result to variable. Adjust all users.
27941 Define INTERNAL_GETTIME if not already defined.
27942 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27943 call.
27944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27945 HAVE_CLOCK_GETTIME_VSYSCALL.
27946 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27947
d53a73ac
UD
27948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27949 gettimeofday vsyscall, just use time.
27950
a8f84144
AS
279512011-09-06 Andreas Schwab <schwab@redhat.com>
27952
27953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27954 <errno.h>.
27955
ef606249
UD
279562011-09-06 Ulrich Drepper <drepper@gmail.com>
27957
27958 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27959 syscall on x86-64.
27960 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27961 syscall.
27962 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27963 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27964 syscall if possible.
27965
6585cb60
UD
279662011-09-05 Ulrich Drepper <drepper@gmail.com>
27967
27968 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27969 e_ident. Don't pass to find_mapsXX.
27970 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27971
a5f524e4
LD
279722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27973
27974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27975 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27976 * sysdeps/x86_64/multiarch/strchr.S: Update.
27977 Check bit_slow_BSF bit.
27978 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27979 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27980 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27981
554881ef
UD
279822011-09-05 Ulrich Drepper <drepper@gmail.com>
27983
d96de963
UD
27984 [BZ #13134]
27985 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27986 before glibc 2.15.
27987 (tryshell): Define.
27988 (__spawni): Change last parameter to be flag. Test
27989 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27990 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27991 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27992 * posix/spawni.c: Likewise.
27993 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27994 * posix/spawnp.c: Likewise. Change normal version to use
27995 SPAWN_XFLAGS_USE_PATH.
27996 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27997 SPAWN_XFLAGS_TRY_SHELL.
27998
d48e5868
UD
27999 [BZ #13150]
28000 * posix/glob.h: Remove gcc 1.x support.
28001
554881ef
UD
28002 [BZ #13068]
28003 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28004
693fb948
LD
280052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28006
28007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28008 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28009 strrchr-sse2-bsf
28010 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28011 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28012 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28013 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28014 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28015 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28016
1b48c537
UD
280172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28018
49d42c37
UD
28019 * sysdeps/x86_64/wcscmp.S: New file.
28020
1b48c537
UD
28021 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28022 wcscmp-c wcscmp-sse2
28023 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28024 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28025 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28026 * wcsmbs/wcscmp.c: Allow renaming.
28027
15c95c5d
DM
280282011-09-05 David S. Miller <davem@davemloft.net>
28029
28030 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28031 stack slot, rather than the struct return pointer slot.
28032 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28033 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28035 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28036
2f0ad8f3
UD
280372011-09-05 Ulrich Drepper <drepper@gmail.com>
28038
d88ae418
UD
28039 * po/ja.po: Update from translation team.
28040
2f0ad8f3
UD
28041 [BZ #13144]
28042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28043 kernel in 64-bit binaries.
28044
5f4318d1
DM
280452011-09-01 David S. Miller <davem@davemloft.net>
28046
28047 * elf/elf.h (HWCAP_SPARC_*): Move to..
28048 * sysdeps/sparc/sysdep.h: this new file and add new values.
28049 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28050 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28051 _DL_HWCAP_COUNT to 24.
28052 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28053 entries.
28054 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28055 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28056 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28058 instead of magic constants.
28059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28060
3ba57516
DM
280612011-08-31 David S. Miller <davem@davemloft.net>
28062
28063 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28065 Reimplement to do errno handling inline.
28066 (SYSCALL_ERROR_HANDLER): New macro.
28067 (__SYSCALL_STRING): Do not do errno handling in asm.
28068 (__CLONE_SYSCALL_STRING): Delete.
28069 (__INTERNAL_SYSCALL_STRING): Delete.
28070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28071 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28072 (PSEUDO): Reimplement to do errno handling inline.
28073 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28074 (SYSCALL_ERROR_HANDLER): New macro.
28075 (__SYSCALL_STRING): Do not do errno handling in asm.
28076 (__CLONE_SYSCALL_STRING): Delete.
28077 (__INTERNAL_SYSCALL_STRING): Delete.
28078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28079 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28080 i386.
28081 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28082 (inline_syscall*): Add 'err' argument.
28083 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28084 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28085 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28086 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28087
28088 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28089 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28090
2bc17433
AS
280912011-08-30 Andreas Schwab <schwab@redhat.com>
28092
28093 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28094
fbeb5f4d
JO
280952011-08-29 Jiri Olsa <jolsa@redhat.com>
28096
28097 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28098 directive.
28099
ad69cc26
DM
281002011-08-24 David S. Miller <davem@davemloft.net>
28101
28102 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28103
39dd69df
AS
281042011-08-24 Andreas Schwab <schwab@redhat.com>
28105
28106 * elf/Makefile: Add rules to build and run unload8 test.
28107 * elf/unload8.c: New file.
28108 * elf/unload8mod1.c: New file.
28109 * elf/unload8mod1x.c: New file.
28110 * elf/unload8mod2.c: New file.
28111 * elf/unload8mod3.c: New file.
28112
28113 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28114 it wasn't used.
28115
2c0b250a
DM
281162011-08-23 David S. Miller <davem@davemloft.net>
28117
28118 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28119 subtract stack bias.
28120 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28121 %sp not %fp in calculations.
28122 (_JMPBUF_UNWINDS_ADJ): Likewise.
28123
22044b48
DM
28124 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28125 (aio_suspend): Call it to force an exception region around the
28126 AIO_MISC_WAIT() invocation.
28127
2cae4995
AS
281282011-08-23 Andreas Schwab <schwab@redhat.com>
28129
28130 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28131 backslash.
28132
873a772e
AJ
281332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28134
28135 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28136 protection macro.
28137 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28138 and <dl-machine.h>.
28139 (Elf64_FuncDesc): Remove.
28140
25ad0df1
DM
281412011-08-22 David S. Miller <davem@davemloft.net>
28142
28143 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28144 sigaltstack check, add missing cfi directives.
28145 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28146 missing cfi directives, and sigaltstack handling.
28147
e888bcbe
AS
281482011-08-16 Andreas Schwab <schwab@redhat.com>
28149
28150 [BZ #11724]
28151 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28152 object is seen twice.
28153 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28154
28155 * elf/Makefile (distribute): Add tst-initorder2.c.
28156 (tests): Add tst-initorder2.
28157 (modules-names): Add tst-initorder2a tst-initorder2b
28158 tst-initorder2c tst-initorder2d. Add rules to build them.
28159 ($(objpfx)tst-initorder2.out): New rule.
28160 * elf/tst-initorder2.c: New file.
28161 * elf/tst-initorder2.exp: New file.
28162
87162f46
AS
281632011-08-22 Andreas Schwab <schwab@redhat.com>
28164
70538b7f
AS
28165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28166
f55ffe58
AS
28167 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28168 dependencies back to end of function.
28169
87162f46
AS
28170 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28171 $(elfobjdir)/ld.so.
28172
91b392a4
UD
281732011-08-21 Ulrich Drepper <drepper@gmail.com>
28174
28175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28176 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28178 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28179 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28180 of __vdso_gettimeofday.
28181 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28182 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28183 attribute_hidden.
28184 (_libc_vdso_platform_setup): Remove initialization of
28185 __vdso_gettimeofday and __vdso_time.
28186
5c43483f
UD
281872011-08-20 Ulrich Drepper <drepper@gmail.com>
28188
775a77e7
UD
28189 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28190 and fgetc_unlocked.
28191 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28192 getc_unlocked.
89f447ed 28193
49c74ba9
UD
28194 * elf/dl-open.c (add_to_global): Report additions to the global scope
28195 for LD_DEBUG=scopes.
28196 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28197 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28198
5c43483f
UD
28199 [BZ #13114]
28200 * stdio-common/Makefile (tests): Add bug24.
28201 * stdio-common/bug24.c: New file.
28202
a101b025
AJ
282032011-08-19 Andreas Jaeger <aj@suse.de>
28204
28205 [BZ #13114]
28206 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28207 non-existant file when using close-on-exec mode.
28208
c88f1766
UD
282092011-08-20 Ulrich Drepper <drepper@gmail.com>
28210
0276a718
UD
28211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28212 the very first instruction.
28213
c88f1766
UD
28214 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28215 the CFI state in the end.
28216 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28217 inclusion of dl-trampoline.h.
28218 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28219
51ccffa0
AS
282202011-08-19 Andreas Schwab <schwab@redhat.com>
28221
94d7165f
AS
28222 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28223 expectations for long double.
28224
51ccffa0
AS
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28226 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28227
fd708658 282282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28229
28230 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28231 artificual limit depends upon the system page size.
28232
44f0a71e
UD
282332011-08-17 Ulrich Drepper <drepper@gmail.com>
28234
28235 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28236 * resolv/Makefile: Define CFLAGS-libresolv.
28237
8de79a24
AS
282382011-08-17 Andreas Schwab <schwab@redhat.com>
28239
28240 * nss/makedb.c (compute_tables): Make variables used in nested
28241 function static.
28242
27724598
UD
282432011-08-17 Ulrich Drepper <drepper@gmail.com>
28244
c5305d88
UD
28245 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28246 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28247 if buffer was too small.
28248
27724598
UD
28249 * elf/pldd.c (main): Attach to all threads in the process.
28250 Rewrite /proc handling to use *at functions.
28251
076fe015
UD
282522011-08-16 Ulrich Drepper <drepper@gmail.com>
28253
174baab3
UD
28254 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28255 specifies first scope to show.
28256 (dl_open_worker): Update callers. Move printing scope of new
28257 object to before the relocation.
44f0a71e 28258 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28259 * sysdeps/generic/ldsodefs.h: Update declaration.
28260
076fe015
UD
28261 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28262 string for the scope number.
28263
a60df2c3
UD
282642011-08-14 Ulrich Drepper <drepper@gmail.com>
28265
28266 * nscd/servicescache.c (cache_addserv): Make sure written is always
28267 initialized.
28268
5e4287d1
RM
282692011-08-14 Roland McGrath <roland@hack.frob.com>
28270
85ae0589
RM
28271 * sysdeps/i386/i486/bits/atomic.h
28272 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28273 statement expression, so as to suppress "set but not used" warning.
28274 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28275
69f63097
RM
28276 * string/strncat.c (STRNCAT): Use prototype definition.
28277
675456ef
RM
28278 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28279 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28280 -Iprograms here.
28281 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28282 (localedef-modules): Add localedef.
28283 (locale-modules): Add locale.
28284
5e4287d1
RM
28285 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28286 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28287 to avoid a warning.
28288
9c96ff23
DM
282892011-08-14 David S. Miller <davem@davemloft.net>
28290
28291 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28292 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28293
f9ddf089
UD
282942011-08-13 Ulrich Drepper <drepper@gmail.com>
28295
44f0a71e 28296 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28297 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28298 * elf/rtld.c (dl_main): Set l_name of vDSO.
28299 Call _dl_show_scope when DL_DEBUG_SCOPES.
28300 (process_dl_debug): Recognize scopes flag and also set it for all.
28301 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28302 Declare _dl_show_scope.
28303
1dc27704
UD
28304 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28305 (do_dlopen): Pass caller_dlopen to dl_open.
28306 (__libc_dlopen_mode): Initialize caller_dlopen.
28307
f9ddf089
UD
28308 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28309 of libc. Make tolower call locale-independent. Optimize a bit by
28310 using isdigit instead of isalnum.
28311 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28312
9ac533d3
UD
283132011-08-12 Ulrich Drepper <drepper@gmail.com>
28314
28315 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28316 was a dependency or dynamically loaded.
28317
89edf2e9
UD
283182011-08-11 Ulrich Drepper <drepper@gmail.com>
28319
8e999d29
UD
28320 * intl/l10nflist.c: Allow architecture-specific pop function.
28321 * sysdeps/x86_64/l10nflist.c: New file.
28322
89edf2e9
UD
28323 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28324 classification.
28325
14d96785
AS
283262011-08-10 Andreas Schwab <schwab@redhat.com>
28327
28328 * include/dirent.h: Add libc_hidden_proto for scandirat and
28329 scandirat64. Don't declare __scandirat64.
28330 * dirent/scandirat.c: Add libc_hidden_def.
28331 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28332 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28333
6761ac04
DM
283342011-08-10 David S. Miller <davem@davemloft.net>
28335
28336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28337 enum.
28338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28341
c55fbd1e
UD
283422011-08-09 Ulrich Drepper <drepper@gmail.com>
28343
28344 * Versions.def [libc]: Add GLIBC_2.15.
28345 * dirent/Makefile (routines): Add scandirat and scandirat64.
28346 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28347 GLIBC_2.15.
28348 * dirent/dirent.h: Declare scandirat and scandirat64.
28349 * dirent/scandirat.c: New file.
28350 * dirent/scandirat64.c: New file.
28351 * sysdeps/wordsize-64/scandirat.c: New file.
28352 * sysdeps/wordsize-64/scandirat64.c: New file.
28353 * dirent/opendir.c: Define opendirat.
28354 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28355 using scandirat.
28356 * dirent/scandir64.c: Adjust for scandir.c change.
28357 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28358 __scandirat64, and __scandir_cancel_handler.
28359 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28360 additional parameter and use openat instead of open (outside of ld.so).
28361 Add new __opendir as wrapper around __opendirat.
28362 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28363 here without requiring old scandirat implementation.
28364
879165f2
UD
283652011-08-08 Ulrich Drepper <drepper@gmail.com>
28366
28367 * dirent/scandir.c (cancel_handler): Renamed to
28368 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28369 defined. Adjust users.
28370 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28372
cb7e923b
UD
283732011-08-04 Ulrich Drepper <drepper@gmail.com>
28374
16292edd
UD
28375 * string/test-string.h (IMPL): Use __STRING to expand name and then
28376 stringify it.
28377
cb7e923b
UD
28378 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28379 of cleanups.
28380
cff82933
LD
283812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28382
28383 * string/Makefile: Update.
28384 (strop-tests): Append strncat.
28385 * string/test-wcscmp.c: New file.
28386 New comprehensive test for wcscmp.
28387 * string/test-strcmp.c: Update.
28388 (WIDE): New define.
28389
9be9bfcc
AS
283902011-07-22 Andreas Schwab <schwab@redhat.com>
28391
28392 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28393 line.
28394
2e96f1c7
AS
283952011-07-26 Andreas Schwab <schwab@redhat.com>
28396
28397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28398 encoding to ACE if AI_IDN.
28399
85188888
JJ
284002011-08-01 Jakub Jelinek <jakub@redhat.com>
28401
28402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28403 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28404
5fa16e9b
LD
284052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28406
28407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28408 Fix overflow bug in strncat.
28409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28410
28411 * string/test-strncat.c: Update.
28412 Add new tests for checking overflow bugs.
28413
284142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28415
28416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28417 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28418 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28419 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28420 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28421 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28422 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28423 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28424 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28425
28426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28427 (USE_AS_STRCAT): Define.
28428 Add strcat and strncat support.
28429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28430
8c1a459f
AS
284312011-07-25 Andreas Schwab <schwab@redhat.com>
28432
28433 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28434 __n bigger than INT_MAX+1.
28435 (__strncmp_g): Likewise.
28436
bba33c28
UD
284372011-07-23 Ulrich Drepper <drepper@gmail.com>
28438
798be72d
UD
28439 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28440 * libio/stido.h: Likewise.
28441
8accd4dc
UD
28442 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28443 (AF_NFC): Define.
28444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28445 (AF_NFC): Define.
28446
cbff0d96
UD
28447 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28448 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28449 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28450 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28452
9191c04a
UD
28453 [BZ #13021]
28454 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28455 installed.
28456
bba33c28
UD
28457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28458 typo.
28459 (_dl_x86_64_save_sse): Likewise.
28460
90f139dd
UD
284612011-07-22 Ulrich Drepper <drepper@gmail.com>
28462
1aae088a
UD
28463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28464 OSXSAVE.
28465 (_dl_x86_64_save_sse): Likewise.
28466
8e2045f5
UD
28467 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28468
90f139dd
UD
28469 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28470
1d002f25
AS
284712011-07-21 Andreas Schwab <schwab@redhat.com>
28472
28473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28474 change.
28475 (_dl_x86_64_save_sse): Use correct AVX check.
28476
21137f89
UD
284772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28478
28479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28480 bug in strncpy/strncat.
28481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28482
a65c0b7a
UD
284832011-07-21 Ulrich Drepper <drepper@gmail.com>
28484
28485 * string/tester.c (test_strcat): Add tests for different alignments
28486 of source and destination.
28487 (test_strncat): Likewise.
28488
6986b98a
UD
284892011-07-20 Ulrich Drepper <drepper@gmail.com>
28490
90bb2039
UD
28491 [BZ #12852]
28492 * posix/glob.c (glob): Check passed in values before using them in
28493 expressions to avoid some overflows.
28494 (glob_in_dir): Likewise.
28495
5644ef54
UD
28496 [BZ #13007]
28497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28498 check for AVX enablement so that we don't crash with old kernels and
28499 new hardware.
28500 * elf/tst-audit4.c: Add same checks here.
28501 * elf/tst-audit6.c: Likewise.
28502
28503 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28504
bfc9dc9b
AS
285052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28506
28507 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28508
702e64bb
UD
285092011-07-20 Ulrich Drepper <drepper@gmail.com>
28510
28511 * po/cs.po: Update from translation team.
28512 * po/bg.po: Likewise.
28513
295e904f
MP
285142011-07-12 Marek Polacek <mpolacek@redhat.com>
28515
28516 * misc/sys/cdefs.h: Add support for const attribute.
28517 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28518 to gnu_dev_{major,minor,makedev} functions.
28519
3ff94596
MP
285202011-07-20 Marek Polacek <mpolacek@redhat.com>
28521
28522 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28523
28b59fca
AS
285242011-07-20 Andreas Schwab <schwab@redhat.com>
28525
28526 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28527 strlen results.
28528
19df733e
AK
285292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28530
28531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28532 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28533 register in order to avoid conflicts with the soft frame pointer
28534 being held in r11 when necessary.
28535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28536 (INTERNAL_VSYSCALL_NCS): Likewise.
28537
c8835729
MP
285382011-07-14 Marek Polacek <mpolacek@redhat.com>
28539
28540 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28541 * elf/dl-fini.c (_dl_fini): Adjust caller.
28542 * elf/dl-close.c (_dl_close_worker): Likewise.
28543 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28544
b902330c
MP
285452011-07-15 Marek Polacek <mpolacek@redhat.com>
28546
8991e135
MP
28547 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28548 "aux_cache->nlibs < 0".
28549
b902330c
MP
28550 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28551 in the reload-count case.
28552
99710781
LD
285532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28554
28555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28556 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28557 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28558 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28559 * sysdeps/x86_64/multiarch/strcat.S: New file.
28560 * sysdeps/x86_64/multiarch/strncat.S: New file.
28561 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28562 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28563 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28564 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28566 (USE_AS_STRCAT): Define.
28567 Add strcat and strncat support.
28568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28569 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28570 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28571 * string/strncat.c: Update.
28572 (USE_AS_STRNCAT): Define.
28573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28574 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28575 and i7.
28576 * sysdeps/x86_64/multiarch/init-arch.h
28577 (bit_Prefer_PMINUB_for_stringop): New.
28578 (index_Prefer_PMINUB_for_stringop): Likewise.
28579 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28580 bit_Prefer_PMINUB_for_stringop.
28581
7dc6bd90
UD
285822011-07-19 Ulrich Drepper <drepper@gmail.com>
28583
28584 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28585 buffer64.
28586 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28587 of casting of buffer.
28588 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28589 buffer32 and buffer64.
28590 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28591 writes instead of casting of buffer.
28592 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28593 buffer32.
28594 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28595 casting of buffer.
28596
e0e72284
AS
285972011-07-19 Andreas Schwab <schwab@redhat.com>
28598
28599 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28600
feb1eb0b
UD
286012011-07-19 Ulrich Drepper <drepper@gmail.com>
28602
28603 * nscd/nscd.c (termination_handler): Don't do anything for a database
28604 if it has not yet been initialized.
28605
298711ff
UD
286062011-07-18 Ulrich Drepper <drepper@gmail.com>
28607
28608 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28609
286102011-07-15 Marek Polacek <mpolacek@redhat.com>
28611
28612 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28613
f9d68389
UD
286142011-07-18 Ulrich Drepper <drepper@gmail.com>
28615
28616 * po/nl.po: Update from translation team.
28617 * po/sv.po: Likewise.
28618
db290cf5
RM
286192011-07-16 Roland McGrath <roland@hack.frob.com>
28620
28621 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28622 now disallowed by GCC.
5c550700 28623
fd5e21c7
RM
28624 * configure.in (use-default-link): Default to yes if a test -shared
28625 link meets our qualifications.
28626 * configure: Regenerated.
28627
5c550700
RM
28628 * config.make.in (output-format): New variable.
28629 * configure.in: Check for ld --print-output-format support.
28630 * configure: Regenerated.
28631 * Makerules ($(common-objpfx)format.lds)
28632 [$(output-format) != unknown]: Just use $(output-format),
28633 instead of the linker-script munging.
28634
9fa2c032
RM
286352011-07-14 Roland McGrath <roland@hack.frob.com>
28636
a6928d51
RM
28637 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28638 of $(common-objpfx)shlib.lds.
28639 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28640
661607b3
RM
28641 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28642 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28643
9fa2c032
RM
28644 * configure.in (-z relro check): Adjust test code to add a large
28645 writable data section after it.
28646 * configure: Regenerated.
28647
defe9061
RM
286482011-07-11 Roland McGrath <roland@hack.frob.com>
28649
28650 * configure.in (-z relro check): Fix test code to make the variable
28651 truly const.
28652 * configure: Regenerated.
28653
319b9ad4
UD
286542011-07-11 Ulrich Drepper <drepper@gmail.com>
28655
28656 * nscd/nscd.h (struct traced_file): Define.
28657 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28658 elements. Add traced_files.
28659 (inotify_fd): Declare.
28660 (register_traced_file): Declare.
28661 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28662 (inotify_fd): Export.
28663 (resolv_conf_descr): Remove.
28664 (nscd_init): Move inotify descriptor creation to main.
28665 Don't register files for notification here.
28666 (register_traced_file): New function.
28667 (invalidate_cache): Don't use reset_res to determine whether to call
28668 res_init, go through the list of registered files.
28669 (main_loop_poll): The inotify descriptors are now stored in the
28670 structures for the traced files.
28671 (main_loop_epoll): Likewise
28672 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28673 to __nss_disable_nscd.
28674 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28675 for a database anymore. Check the records for all the registered
28676 files instead.
28677 * nss/Makefile (libnss_files-routines): Add files-init.
28678 (libnss_db-routines): Add db-init.
28679 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28680 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28681 * nss/nss_db/db-init.c: New file.
28682 * nss/nss_files/files-init.c: New file.
28683 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28684 __nss_lookup_function.
28685 (__nss_lookup_function): Call nss_load_library.
28686 (nss_load_all_libraries): New function.
28687 (__nss_disable_nscd): Take parameter with callback function for files
28688 to register. Set is_nscd. Load all the DSOs for the NSS modules
28689 used for the cached services.
28690 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28691 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28692 options for features to all the files in nscd.
28693
28694 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28695
23bee3e8
RM
286962011-07-10 Roland McGrath <roland@hack.frob.com>
28697
28698 * csu/elf-init.c (__libc_csu_init): Comment typo.
28699
46a5b7f0
UD
287002011-07-09 Ulrich Drepper <drepper@gmail.com>
28701
28702 * po/pl.po: Update from translation team.
28703 * po/ja.po: Likewise.
28704 * po/ru.po: Likewise.
28705 * po/ko.po: Likewise.
28706 * po/fr.po: Likewise.
28707
d30cf5bb
RM
287082011-07-09 Roland McGrath <roland@hack.frob.com>
28709
113ddea4
RM
28710 * configure.in (.ctors/.dtors header and trailer check):
28711 Use an empirical test on a built program.
28712 * configure: Regenerated.
28713
574920b4
RM
28714 * configure.in (-z relro check): Use an empirical test on a built DSO.
28715 Detect, but do not require, on ia64.
28716 * configure: Regenerated.
28717
d30cf5bb
RM
28718 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28719 Update tests that use readelf to use $READELF instead.
28720 * configure: Regenerated.
28721
8538fdb3
UD
287222011-07-08 Ulrich Drepper <drepper@gmail.com>
28723
28724 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28725 if the result is not used.
28726
04d08991
AJ
287272011-07-05 Andreas Jaeger <aj@suse.de>
28728
28729 [BZ#9696]
28730 * stdlib/tst-strtod.c: Add testcase.
28731
de283087
AD
287322011-07-07 Ulrich Drepper <drepper@gmail.com>
28733
4e5f31c8 28734 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28735 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28736 The latter has a higher limit. Take additional parameter to pass to
28737 the new function.
28738 (__pathconf): Pass file to __statfs_link_max.
28739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28740 __statfs_link_max.
28741 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28742 __statfs_link_max.
28743
de283087
AD
28744 [BZ #12868]
28745 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28747 Handle Lustre.
28748 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28749 (__statfs_filesize_max): Likewise.
28750 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28751
c75fa153
AJ
287522011-07-05 Andreas Jaeger <aj@suse.de>
28753
28754 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28755
1a544854
UD
287562011-07-06 Marek Polacek <mpolacek@redhat.com>
28757
28758 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28759 `status' variable.
28760 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28761 Likewise.
28762
6f0eec67
UD
287632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28764
28765 * Makefile (strop-tests): Add strncat.
28766 * string/test-strncat.c: New file.
28767
aae30307
UD
287682011-06-30 Marek Polacek <mpolacek@redhat.com>
28769
28770 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28771
c0cfb5eb
UD
287722011-06-21 Andreas Jaeger <aj@suse.de>
28773
28774 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28775 Copy rule from iconvdata/Makefile.
28776
01636b21
UD
287772011-07-06 Ulrich Drepper <drepper@gmail.com>
28778
28779 [BZ #12922]
28780 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28781 but no long options are defined, just return 'W'.
28782
9895c8bc
UD
287832011-06-22 Marek Polacek <mpolacek@redhat.com>
28784
28785 [BZ #9696]
28786 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28787
5d4cf042
UD
287882011-07-06 Ulrich Drepper <drepper@gmail.com>
28789
28790 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28791 netgroups to read.
960e5535 28792 (innetgr): Likewise.
5d4cf042 28793
751eb97e
RM
287942011-07-05 Roland McGrath <roland@hack.frob.com>
28795
28796 * config.make.in (install_root): Default to $(DESTDIR).
28797
f15f1e45
UD
287982011-07-05 Ulrich Drepper <drepper@gmail.com>
28799
28800 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28801
4e34ac6a
RM
288022011-07-02 Roland McGrath <roland@hack.frob.com>
28803
5e9b6af4
RM
28804 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28805
84f9ea0f
RM
28806 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28807 containing directory rather than embedding absolute directory names.
28808
ea5ee9f7
RM
28809 * scripts/check-local-headers.sh: Rewritten using awk.
28810 Match by word, not by line. Print error messages for matches.
28811 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28812
1b74661a
RM
28813 * Makerules [shlib-lds-flags empty]:
28814 ($(common-objpfx)libc_pic.opts): New target.
28815 ($(common-objpfx)libc_pic.os.clean): New target.
28816 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28817
28818 * config.make.in (OBJCOPY): New variable.
28819 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28820 * configure: Regenerated.
28821
f781ef40
RM
28822 * config.make.in (use-default-link): New variable.
28823 * configure.in (use_default_link): Grok --with-default-link to set it.
28824 * configure: Regenerated.
28825 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28826 (shlib-lds, shlib-lds-flags): Define to empty.
28827
2d4fa81e
RM
28828 * Makerules (shlib-lds): New variable.
28829 (shlib-lds-flags): New variable.
28830 (build-shlib, build-moduile, build-module-asneeded): Use it.
28831 ($(common-objpfx)libc.so): Use $(shlib-lds).
28832 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28833 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28834
31fffa6b
RM
28835 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28836 DT_FLAGS/DT_FLAGS_1 with zero flags.
28837
4e34ac6a
RM
28838 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28839 linker script munging.
28840
fcfc776b
UD
288412011-07-02 Ulrich Drepper <drepper@gmail.com>
28842
28843 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28844 as 128-bit value.
28845 * crypt/sha512.c (sha512_process_block): Perform total addition using
28846 128-bit if possible.
28847 (__sha512_finish_ctx): Likewise.
28848 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28849 as 64-bit value.
28850 * crypt/sha256.c (SWAP64): Define.
28851 (sha256_process_block): Perform total addition using 64-bit if
28852 possible.
28853 (__sha256_finish_ctx): Likewise.
28854
99231d9a
UD
288552011-07-01 Ulrich Drepper <drepper@gmail.com>
28856
28857 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28858 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28859 * nscd/hstcache.c (cache_addhst): Likewise.
28860 * nscd/grpcache.c (cache_addgr): Likewise.
28861 * nscd/aicache.c (addhstaiX): Likewise
28862 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28863
445b4a53
TK
288642011-07-01 Thorsten Kukuk <kukuk@suse.de>
28865
28866 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28867 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28868 * nscd/hstcache.c (cache_addhst): Likewise.
28869 * nscd/grpcache.c (cache_addgr): Likewise.
28870 * nscd/aicache.c (addhstaiX): Likewise
28871
6d4d8e8e
AS
288722011-07-01 Andreas Schwab <schwab@redhat.com>
28873
28874 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28875 domain only when needed.
28876
89f654c5
AS
288772011-06-30 Andreas Schwab <schwab@redhat.com>
28878
28879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28880 is always restored.
28881
cf3b23ff
UD
288822011-06-29 Ulrich Drepper <drepper@gmail.com>
28883
28884 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28885 are re-adding the entry.
28886 * nscd/servicescache.c (cache_addserv): Likewise.
28887
751626f9
AJ
288882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28889
28890 * sysdeps/generic/dl-irel.h: fix protection against multiple
28891 inclusions.
28892 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28893
9113ea1f
UD
288942011-06-28 Ulrich Drepper <drepper@gmail.com>
28895
5c0b8d90
UD
28896 [BZ #12935]
28897 * malloc/memusage.sh: Fix quoting in message.
28898 * debug/xtrace.sh: Likewise.
28899
9113ea1f
UD
28900 * configure.in: Remove support for --experimental-malloc option, make
28901 it the default.
28902 * config.make.in: Likewise.
28903 * malloc/Makefile: Likewise.
28904
a4172181
AS
289052011-06-27 Andreas Schwab <schwab@redhat.com>
28906
28907 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28908 two-byte characters.
28909
78a7eee7
RM
289102011-06-27 Roland McGrath <roland@hack.frob.com>
28911
62bede13
RM
28912 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28913 AC_CACHE_CHECK invocation.
28914 * configure: Regenerated.
28915
78a7eee7
RM
28916 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28917
5ce33a62
UD
289182011-06-27 Ulrich Drepper <drepper@gmail.com>
28919
034807a9
UD
28920 [BZ #12350]
28921 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28922 bit from old_res_options.
28923
4902da17
UD
28924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28925
5ce33a62
UD
28926 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28927 value type for setfct.
28928
c2344f56
L
289292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28932 __gettimeofday instead of gettimeofday.
28933
68468076
UD
289342011-06-26 Ulrich Drepper <drepper@gmail.com>
28935
28936 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28937
acb0d739
L
289382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28941
28942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28943 info.
28944
8912479f
L
289452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28948 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28949 strcpy-sse2-unaligned strncpy-sse2-unaligned
28950 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28951 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28952 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28953 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28954 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28955 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28956 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28957 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28958 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28959 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28960 (STRCPY): Support SSE2 and SSSE3 versions.
28961
d5495a11
UD
289622011-06-24 Ulrich Drepper <drepper@gmail.com>
28963
28964 [BZ #12874]
28965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28966 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28967 kernels which artificially limit size of requests.
28968
0b1cbaae
L
289692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28972 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28973 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28974 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28975 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28976 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28977 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28978 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28980 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28981 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28982 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28983 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28984 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28985 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28987 Enable unaligned load optimization for Intel Core i3, i5 and i7
28988 processors.
28989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28990 Define.
28991 (index_Fast_Unaligned_Load): Define.
28992 (HAS_FAST_UNALIGNED_LOAD): Define.
28993
07f494a0
MP
289942011-06-23 Marek Polacek <mpolacek@redhat.com>
28995
28996 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28997
fa3fc0fe
UD
289982011-06-22 Ulrich Drepper <drepper@gmail.com>
28999
29000 [BZ #12907]
29001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29002 until it is clear that the information is realy needed.
29003 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29004
e12df166
AS
290052011-06-22 Andreas Schwab <schwab@redhat.com>
29006
29007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29008
852eb34d
UD
290092011-06-22 Ulrich Drepper <drepper@gmail.com>
29010
84e2a551
UD
29011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29012 /sys/devices/system/cpu/online if it is usable.
29013
852eb34d
UD
29014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29015 reading the information from the /proc filesystem to once a second.
29016
6e502e19
UD
290172011-06-21 Andreas Jaeger <aj@suse.de>
29018
29019 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29020 NULL after inclusion of kernel headers.
29021
75d39ff2
UD
290222011-06-21 Ulrich Drepper <drepper@gmail.com>
29023
51f9aa6a
UD
29024 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29025 calls to internal_setent.
29026
c0244a9d
UD
29027 [BZ #12885]
29028 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29029 addresses using gethostbyname4_r ignore IPv4 addresses.
29030
c5e3c2ae
UD
29031 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29032 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29033
75d39ff2
UD
29034 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29035
42675c6f
DM
290362011-06-20 David S. Miller <davem@davemloft.net>
29037
29038 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29039 inclusions.
29040 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29041
29042 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29043 (elf_irel): Use it.
29044 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29045 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29046 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29047 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29048 * sysdeps/x86_64/dl-irel.h: Likewise.
29049
29050 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29051 * elf/dl-sym.c: Likewise.
29052
57912a71
UD
290532011-06-15 Ulrich Drepper <drepper@gmail.com>
29054
29055 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29056 need to dereference resplen2.
29057
ee22793d
AS
290582011-06-14 Andreas Schwab <schwab@redhat.com>
29059
29060 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29061
a9e836b0
UD
290622011-06-15 Ulrich Drepper <drepper@gmail.com>
29063
77fb9117
UD
29064 * Makeconfig: Define vardbdir and inst_vardbdir.
29065 * nss/Makefile: Add rules to install db-Makefile.
29066
40c1b22c
UD
29067 * nss/nss_db/db-XXX.c: Cleanup.
29068
9f2da732
UD
29069 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29070 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29071 GLIBC_PRIVATE.
29072 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29073 * nss/makedb.c: Implement -g option to specify that value strings
29074 are generated and should not be added to table iterated over for
29075 get*ent calls.
29076 * nss/nss_db/db-initgroups.c: New file.
29077
82e9a1f7
UD
29078 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29079 interface.
29080
c41af17e
UD
29081 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29082 (internal_getgrouplist): Adjust to name change.
29083 Update use_initgroups_entry if this is not the first call.
29084 * nss/databases.def: Add initgroups entry.
29085
a9e836b0
UD
29086 * nss/makedb.c (compute_tables): Check result of multiple hash table
29087 sizes to minimize maximum chain length.
29088
2666d441
UD
290892011-06-14 Ulrich Drepper <drepper@gmail.com>
29090
29091 * Versions.def: Add entry for libnss_db.
29092 * shlib-versions: Likewise.
29093 * nss/Makefile: Add rules to build libnss_db.
29094 * nss/Versions: Add libnss_db information. Organize libnss_files
29095 entries better.
29096 * nss/db-Makefile: Add gshadow support. Change rules for the new
29097 makedb progra. Some minor improvements to generate smaller files.
29098 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29099 here from...
29100 * nss/makedb.c: ...here.
29101 Improve database format to be smaller and require less memory at
29102 runtime.
29103 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29104 db anymore.
29105 * nss/nss_db/db-netgrp.c: Likewise.
29106 * nss/nss_db/db-open.c: Likewise.
29107 * nss/nss_files/flies-XXX.x: Adjust comments.
29108 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29109 * nss/nss_files/files-grp.c: Likewise.
29110 * nss/nss_files/files-hosts.c: Likewise.
29111 * nss/nss_files/files-network.c: Likewise.
29112 * nss/nss_files/files-proto.c: Likewise.
29113 * nss/nss_files/files-pwd.c: Likewise.
29114 * nss/nss_files/files-rpc.c: Likewise.
29115 * nss/nss_files/files-service.c: Likewise.
29116 * nss/nss_files/files-sgrp.c: Likewise.
29117 * nss/nss_files/files-spwd.c: Likewise.
29118 * nss/nss_db/db-alias.c: Removed.
29119 * nss/nss_db/dummy-db.h: Removed.
29120
9ee76b5a
UD
291212011-06-02 Ulrich Drepper <drepper@gmail.com>
29122
29123 * nss/makedb.c: Rewritten to not use database library.
29124 * nss/Makefile: Update to build new makedb program.
29125
c71ca1f8
AJ
291262011-06-14 Andreas Jaeger <aj@suse.de>
29127
29128 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29129 memset declaration.
29130
3154bfb8
UD
291312011-06-10 Andreas Schwab <schwab@redhat.com>
29132
29133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29134 tmpbuf.
29135
b350afab
RM
291362011-06-10 Roland McGrath <roland@hack.frob.com>
29137
decd4e50
RM
29138 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29139 * elf/Makefile ($(objpfx)ld.so): Likewise.
29140
5615eaf2
RM
29141 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29142 Don't list ld.so twice in dependencies.
29143
29144 * posix/bug-regex31.c: Include <stdlib.h>.
29145
29146 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29147
29148 * nis/nss_compat/compat-spwd.c
29149 (getspent_next_nss_netgr): Remove unused variable.
29150 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29151
29152 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29153 nonmembers" output to use the right array.
29154
29155 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29156
29157 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29158
29159 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29160 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29161 * catgets/gencat.c (read_input_file): Likewise.
29162 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29163
29164 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29165 variable definition inside #if's controlling its use.
29166
29167 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29168
29169 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29170
29171 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29172
29173 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29174 unreachable code.
29175
29176 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29177
b68e08db
RM
29178 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29179 * configure: Regenerated.
29180
b350afab
RM
29181 * Makerules: Revert last change.
29182 * elf/Makefile: Likewise.
29183
28368601
RM
291842011-06-09 Roland McGrath <roland@hack.frob.com>
29185
29186 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29187 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29188 (reloc-link): Likewise.
29189
11988f8f
UD
291902011-06-09 Ulrich Drepper <drepper@gmail.com>
29191
29192 * elf/Makefile: Add rules to build pldd.
29193 * elf/pldd.c: New file.
29194 * elf/pldd-xx.c: New file.
29195
e80fab37
UD
291962011-06-07 Ulrich Drepper <drepper@gmail.com>
29197
29198 * version.h: Update for 2.15 development version.
29199
9b849836
DM
292002011-06-07 David S. Miller <davem@davemloft.net>
29201
29202 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29203 ifuncs.
29204 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29205 elf_machine_lazy_rel): Likewise.
29206 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29208 elf_machine_lazy_rel): Likewise.
29209 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29210 dl_hwcap via passed in argument.
29211 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29212 Likewise.
29213
5a31b283
AK
292142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29215
29216 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29217
069e52f8
RM
292182011-06-06 Roland McGrath <roland@hack.frob.com>
29219
29220 [BZ #12849]
29221 * manual/fdl-1.1.texi: New file, verbatim from:
29222 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29223 * manual/lgpl-2.1.texi: New file, verbatim from:
29224 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29225 * manual/Makefile (licenses): New variable, list those new file names.
29226 (texis): Use it.
29227 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29228
29229 * manual/fdl.texi: File removed.
29230 * manual/lesser.texi: File removed.
29231 * manual/libc.texinfo (Copying, Documentation License):
29232 Use new @include file names, put @appendix directive before @include.
29233
f16846a5
JJ
292342011-06-04 Jakub Jelinek <jakub@redhat.com>
29235
29236 [BZ #12841]
29237 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29238 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29239 (mq_open): Add __NTH.
29240
3d29045b
L
292412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29244 Assume Intel Core i3/i5/i7 processor if AVX is available.
29245
8c297311
UD
292462011-05-31 Ulrich Drepper <drepper@gmail.com>
29247
29248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29249 typo.
29250
c8fc0c91
UD
292512011-05-31 Andreas Schwab <schwab@redhat.com>
29252
29253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29254 memory. Use alloca_account. Fix memory leak when retrying.
29255
5b27a807
UD
292562011-05-31 Ulrich Drepper <drepper@gmail.com>
29257
356f8bc6
UD
29258 * version.h (RELEASE): Bump for 2.14 release.
29259 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29260
5b27a807
UD
29261 * config.make.in (RANLIB): Remove entry.
29262
01f16ab0
UD
292632011-05-30 Ulrich Drepper <drepper@gmail.com>
29264
41fce8bd
UD
29265 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29266 (libc.pot): Work around missing support for .ksh extension in xgettext.
29267
4769ae77
UD
29268 [BZ #12684]
29269 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29270 if both request failed.
29271 (send_dg): In case of server errors clear resplen or *resplen2.
29272
6b1e7d19
UD
29273 [BZ #12454]
29274 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29275 when there are multiple maps.
29276 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29277 (_dl_fini): Remove test here.
29278
01f16ab0
UD
29279 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29280
b1ebd700
UD
292812011-05-29 Ulrich Drepper <drepper@gmail.com>
29282
7ae22829
UD
29283 [BZ #12350]
29284 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29285 bit from old_res_options.
29286 (gaih_inet): Likewise.
29287
553149f6 29288 [BZ #11099]
18a84741 29289 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29290 as signed.
29291
652ffab1
UD
29292 * resolv/res_init.c (res_setoptions): Make the code more compact.
29293
16985fd0
UD
29294 [BZ #11558]
29295 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29296 set RES_USEVC.
29297
0464f746
UD
29298 [BZ #11634]
29299 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29300
7d17596c
UD
29301 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29302
cf6bbbd7
UD
29303 [BZ #11781]
29304 * malloc/malloc.h: Declare malloc hook variables as volatile.
29305
13f1ab36
UD
29306 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29307 in last patch.
29308
b1ebd700
UD
29309 [BZ #11799]
29310 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29311 raise in the comment.
80e2212d
UD
29312 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29313 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29314 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29315
ce67228d
UD
293162011-05-28 Ulrich Drepper <drepper@gmail.com>
29317
8887a920
UD
29318 [BZ #12811]
29319 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29320 grow the buffers more if it already has to be sufficient.
29321 (build_wcs_upper_buffer): Likewise.
29322 * posix/regexec.c (check_matching): Likewise.
29323 (clean_state_log_if_needed): Likewise.
29324 (extend_buffers): Don't enlarge buffers beyond size of the input
29325 buffer.
29326 Patches mostly by Emil Wojak <emil@wojak.eu>.
29327 * posix/bug-regex32.c: New file.
29328 * posix/Makefile (tests): Add bug-regex32.
29329
4f031072
UD
29330 * locale/findlocale.c (_nl_find_locale): Return right away if
29331 _nl_explode_name failed.
29332 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29333
d0478f0c
UD
29334 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29335
de81b246
UD
29336 * debug/xtrace.sh: Unify messages.
29337 * malloc/memusage.sh: Likewise.
29338
c738465a
UD
29339 [BZ #12813]
29340 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29341 time symbol from vDSO. Substitute with vsyscall if not available.
29342 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29343 __vdso_time.
29344
f1f929d7
UD
29345 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29346 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29347 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29348 Add sendmmsg and internal_sendmmsg.
29349 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29350 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29352
ce67228d
UD
29353 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29354 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29356
e57420c6
UD
293572011-05-27 Ulrich Drepper <drepper@gmail.com>
29358
a8509ca5
UD
29359 [BZ #12813]
29360 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29361 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29362 available.
29363 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29364 __vdso_getcpu.
29365
e57420c6
UD
29366 [BZ #12814]
29367 * iconvdata/Makefile (tests): Add bug-iconv9.
29368 * iconvdata/bug-iconv9.c: New file.
29369
4d07db15
AS
293702011-05-27 Andreas Schwab <schwab@redhat.com>
29371
29372 [BZ #12814]
29373 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29374
ea486f69
JJ
293752011-05-25 Jakub Jelinek <jakub@redhat.com>
29376
29377 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29378 (struct user_regs_struct): Change intcs field back to cs.
29379
6f038433
UD
293802011-05-25 Ulrich Drepper <drepper@gmail.com>
29381
29382 * po/ja.po: Update from translation team.
29383
67f86a25
UD
293842011-05-23 Ulrich Drepper <drepper@gmail.com>
29385
29386 [BZ #12795]
29387 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29388 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29389
def7fbd6
AS
293902011-05-20 Andreas Schwab <schwab@redhat.com>
29391
29392 * stdlib/longlong.h: Update from GCC.
29393
f50ef8f1
AS
293942011-05-23 Andreas Schwab <schwab@redhat.com>
29395
29396 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29397 parameter name.
29398 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29399 Add parameter name.
29400 (__sysconf): Pass it down.
29401
de7ce8f1
UD
294022011-05-22 Ulrich Drepper <drepper@gmail.com>
29403
f2962a71
UD
29404 [BZ #12671]
29405 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29406 some situations.
29407 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29408 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29409 add in in __libc_use_alloca calls. Adjust callers.
29410 (glob): Use malloc in some situations.
29411
de7ce8f1
UD
29412 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29413 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29414 pltexit.
29415
aec84f53
UD
294162011-05-21 Ulrich Drepper <drepper@gmail.com>
29417
05bb4a68
UD
29418 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29419 and CLOCK_BOOTTIME_ALARM.
29420
7ea72f99
UD
29421 [BZ #12782]
29422 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29423 is returned.
29424
7e4afad5
UD
29425 * string/_strerror.c (__strerror_r): Print negative errors as signed
29426 numbers.
29427
8e211fec
UD
29428 [BZ #12777]
29429 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29430 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29431 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29432
f7d82dc9
UD
29433 * configure.in: Fix typo in redirection and correct removal of test
29434 files in two cases.
29435
cc9e536d
UD
29436 [BZ #12788]
29437 * locale/setlocale.c (new_composite_name): Fix test to check for
29438 identical name of all categories.
29439
aec84f53
UD
29440 [BZ #12792]
29441 * libio/filedoalloc.c (local_isatty): New function.
29442 (_IO_file_doallocate): Use local_isatty.
29443 * stdio-common/perror.c (perror): In case a new stream is used
29444 forward the stream error.
29445 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29446 error flag.
29447
78e64fdc
RT
294482011-05-20 Ulrich Drepper <drepper@gmail.com>
29449
34a9094f
UD
29450 [BZ #11869]
29451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29452 alloca.
29453 * include/alloca.h (extend_alloca_account): Define.
29454
78e64fdc
RT
29455 [BZ #11857]
29456 * posix/regex.h: Fix comments with documentation of user-accessible
29457 fields after compilation and describe correct free'ing of pattern
29458 after re_compile_pattern.
29459 Patch by Reuben Thomas <rrt@sc3d.org>.
29460
457bddfc
RA
294612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29462
29463 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29464 and -mno-altivec to prevent the compiler from using Altivec and/or
29465 VSX instructions when the corresponding registers are not available.
29466
a4527b51
AS
294672011-05-19 Andreas Schwab <schwab@redhat.com>
29468
29469 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29470
ed690b2f
UD
294712011-05-19 Ulrich Drepper <drepper@gmail.com>
29472
29473 * libio/freopen.c (freopen): Use __dup2, not dup2.
29474 * libio/freopen64.c (freopen64): Likewise.
29475
8db73634
L
294762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 [BZ #12775]
29479 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29480 * math/Makefile (tests): Add test-powl.
29481 (CFLAGS-test-powl.c): Define.
29482 * math/test-powl.c: New file.
29483
0a197a9d
L
294842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29485
29486 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29487
ee30c380
UD
294882011-05-17 Ulrich Drepper <drepper@gmail.com>
29489
29490 [BZ #11837]
29491 * iconvdata/gb18030.c: Update to GB18020-2005.
29492
6ce75379
UD
294932011-05-16 Ulrich Drepper <drepper@gmail.com>
29494
a4b89fd8
AR
29495 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29496 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29497 Patch by Aharon Robbins <arnold@skeeve.com>.
29498
ea389b12
UD
29499 [BZ #11892]
29500 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29501 on the stack.
29502
68a3f91f
UD
29503 [BZ #11895]
29504 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29505 through underflows.
29506
15cc7dd1
UD
29507 [BZ #12766]
29508 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29509 point to strings before performing equality test for error_one_per_line
29510 mode.
29511
f3799213
UD
29512 [BZ #11697]
29513 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29514
d79a9c94
UD
29515 [BZ #11820]
29516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29517 (struct user_fpregs_struct): Avoid __uint*_t types.
29518
56e5eb46
UD
29519 [BZ #6420]
29520 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29521 symbol info. Use it instead of calling _dl_addr locally.
29522 (lock_and_info): New function.
29523 (tr_freehook): Call lock_and_info and pass symbol info as additional
29524 parameter to tr_where.
29525 (tr_mallochook): Likewise.
29526 (tr_reallochook): Likewise.
29527 (tr_memalignhook): Likewise.
29528
6ce75379
UD
29529 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29530 used and couldn't be at all thread-safe.
29531
f8a3b5bf
UD
295322011-05-15 Ulrich Drepper <drepper@gmail.com>
29533
94b7cc37
UD
29534 * libio/freopen.c (freopen): Don't close old file descriptor
29535 before the new one is opened. Instead dup the new file descriptor
29536 to the old one after the new stream is created.
29537 * libio/freopen64.c (freopen64): Likewise.
29538 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29539 * libio/fileops.c (_IO_new_file_close_it): Handle new
29540 _IO_FLAGS2_NOCLOSE flag.
29541 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29542 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29543 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29544 _IO_FLAGS2_NOCLOSE flag.
29545 * include/unistd.h: Add hidden_proto for dup3.
29546 Define __have_dup3.
29547 * io/dup3.c: Define hidden symbol.
29548 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29549
bd25564e
UD
29550 [BZ #7101]
29551 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29552 when an incomplete long option is used.
29553 * posix/tst-getopt_long1.c: New file.
29554 * posix/Makefile (tests): Add tst-getopt_long1.
29555
c84cfef4
UD
29556 [BZ #10138]
29557 * scripts/config.guess: Update from autoconf-2.68.
29558 * scripts/config.sub: Likewise.
29559
3b85df27
UD
29560 [BZ #10157]
29561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29562 tests into ...
29563 (has_cpuclock): ...this. New function.
29564 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29565 macro here based on has_cpuclock code.
29566
15a856b1
UD
29567 [BZ #10149]
29568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29569 First byte (not low byte) is now always NUL.
29570 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29571
05f399e6
UD
29572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29573 Use non-cancelable interfaces.
29574
10a52685 29575 [BZ #9809]
94ecc67d
UD
29576 * locale/iso-639.def: Add entry for Sorani.
29577
f8a3b5bf
UD
29578 [BZ #11901]
29579 * include/stdlib.h: Move include protection to the right place.
29580 Define abort_msg_s. Declare __abort_msg with it.
29581 * stdlib/abort.c (__abort_msg): Adjust type.
29582 * assert/assert.c (__assert_fail_base): New function. Majority
29583 of code from __assert_fail. Allocate memory for __abort_msg with
29584 mmap.
29585 (__assert_fail): Now call __assert_fail_base.
29586 * assert/assert-perr.c: Remove bulk of implementation. Use
29587 __assert_fail_base.
29588 * include/assert.hL Declare __assert_fail_base.
29589 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29590 mmap.
29591 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29592
1af4e298
UD
295932011-05-14 Ulrich Drepper <drepper@gmail.com>
29594
f8a3b5bf 29595 [BZ #11952]
d26dfc60
MG
29596 [BZ #12453]
29597 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29598 until all modules are registered in the DTV.
29599 * elf/Makefile: Add rules to build and run tst-tls19.
29600 * elf/tst-tls19.c: New file.
29601 * elf/tst-tls19mod1.c: New file.
29602 * elf/tst-tls19mod2.c: New file.
29603 * elf/tst-tls19mod3.c: New file.
29604 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29605
2fc54d6f
UD
29606 [BZ #12083]
29607 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29608 correctly.
29609
98d76b46
UD
29610 [BZ #12601]
29611 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29612 two-byte sequence errors.
29613 * iconvdata/Makefile (tests): Add bug-iconv8.
29614 * iconvdata/bug-iconv8.c: New file.
29615
da3c19ef
UD
29616 [BZ #12626]
29617 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29618 buf2 definition.
29619
ca408c15
UD
29620 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29621
d6f67f7d
UD
29622 [BZ #12432]
29623 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29624 (dummy_getcfa): New function.
29625 (init): Get _Unwind_GetCFA address, use dummy if not found.
29626 (backtrace_helper): In recursion check, also check whether CFA changes.
29627 (__backtrace): Completely initialize arg.
29628
1af4e298 29629 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29630 storing incomplete byte sequence in state object. Avoid testing for
29631 guaranteed too small input if we know there is enough data available.
1af4e298 29632
da62f81b
AS
296332011-05-11 Andreas Schwab <schwab@redhat.com>
29634
29635 * Makeconfig (+link-pie): Indent.
29636 * Rules (binaries-pie): Define if $(have-fpie) and
29637 $(build-shared).
29638 (binaries-shared): Also filter out $(binaries-pie).
29639 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29640 * nscd/Makefile (others-pie): Add nscd.
29641 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29642 ($(objpfx)nscd): Remove command override.
29643 * login/Makefile (others-pie): Add pt_chown.
29644 ($(objpfx)pt_chown): Remove command override.
29645 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29646 remove command overrides.
29647
fcabc0f8
UD
296482011-05-13 Ulrich Drepper <drepper@gmail.com>
29649
20030ae6
UD
29650 * libio/tst_putwc.c: Fix error messages.
29651
fcabc0f8
UD
29652 [BZ #12724]
29653 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29654 currently writing and seek to current position when not.
29655 * libio/Makefile (tests): Add bug-fclose1.
29656 * libio/bug-fclose1.c: New file.
29657
320a5dc0
PB
296582011-05-12 Ulrich Drepper <drepper@gmail.com>
29659
29660 [BZ #12511]
29661 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29662 don't set DF_1_NODELETE here.
29663 (do_lookup_x): When entering new entry test for copy relocation
29664 and if necessary set DF_1_NODELETE flag.
29665 * elf/tst-unique4.cc: New file.
29666 * elf/tst-unique4.h: New file.
29667 * elf/tst-unique4lib.cc: New file.
29668 * elf/Makefile: Add rules to build and run tst-unique4.
29669 Patch by Piotr Bury <pbury@goahead.com>.
29670
22836f52
UD
296712011-05-11 Ulrich Drepper <drepper@gmail.com>
29672
f574184a
UD
29673 [BZ #12052]
29674 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29675
e1fb097f
UD
29676 [BZ #12625]
29677 * misc/mntent_r.c (addmntent): Flush the stream after the output
29678
22836f52
UD
29679 [BZ #12393]
29680 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29681 (is_trusted_path_normalize): Skip initial colon. Append slash
29682 to empty buffer. Duplicate is_trusted_path code but allow
29683 constructed patch to be prefix.
29684 (is_dst): Allow $ORIGIN followed by /.
29685 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29686 Correct testing of result of is_trusted_path_normalize
29687 (decompose_rpath): Fix warning.
29688
7b3b0b2a
UD
296892011-05-10 Ulrich Drepper <drepper@gmail.com>
29690
29691 [BZ #11257]
29692 * grp/initgroups.c (internal_getgrouplist): When we found the service
29693 list through the initgroups entry in nsswitch.conf do not always
29694 continue on a successful lookup. Don't always use the
eac80ce2 29695 __nss_group_database value if it is set.
7b3b0b2a
UD
29696 * nss/nsswitch.conf (initgroups): Change action for successful db
29697 lookup to continue for compatibility.
29698
2a81eaa5
UD
296992011-05-09 Ulrich Drepper <drepper@gmail.com>
29700
be97a69e
UD
29701 [BZ #11532]
29702 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29703 and CP774 modules.
29704 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29705 and CP774 modules.
29706 * iconvdata/tst-tables.sh: Likewise.
29707 * iconvdata/cp770.c: New file.
29708 * iconvdata/cp771.c: New file.
29709 * iconvdata/cp772.c: New file.
29710 * iconvdata/cp773.c: New file.
29711 * iconvdata/cp774.c: New file.
29712 * iconvdata/testdata/CP770: New file.
29713 * iconvdata/testdata/CP770..UTF8: New file.
29714 * iconvdata/testdata/CP771: New file.
29715 * iconvdata/testdata/CP771..UTF8: New file.
29716 * iconvdata/testdata/CP772: New file.
29717 * iconvdata/testdata/CP772..UTF8: New file.
29718 * iconvdata/testdata/CP773: New file.
29719 * iconvdata/testdata/CP773..UTF8: New file.
29720 * iconvdata/testdata/CP774: New file.
29721 * iconvdata/testdata/CP774..UTF8: New file.
29722
29723 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29724 END CHARMAP line.
29725 * iconvdata/gen-8bit-gap.sh: Likewise.
29726 * iconvdata/gen-8bit.sh: Likewise.
29727
c1e9e399
UD
29728 * locale/iso-639.def: Add ary entry.
29729
24c55fb3 29730 [BZ #11258]
96b4b1b0
UD
29731 * locale/C-translit.h.in: Add U20A1 transliteration.
29732
bdc2f971
KB
29733 [BZ #12178]
29734 * locale/iso-639.def: Add wae entry.
29735 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29736
2952b117
UD
29737 [BZ #12545]
29738 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29739 for n.
29740
2a81eaa5
UD
29741 [BZ #12711]
29742 * locale/C-translit.h.in: Add entry for U20B9.
29743 Patch by pravin.d.s@gmail.com.
29744
28377d1b
UD
297452011-05-08 Ulrich Drepper <drepper@gmail.com>
29746
7fb90fb8
UD
29747 [BZ #12713]
29748 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29749 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29750 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29751 in rtld. Use *stat64.
7fb90fb8 29752 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29753 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29754 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29755 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29756 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29757 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29758 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29759 __fstatat64 macros.
7fb90fb8
UD
29760 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29761 * dirent/rewinddir.c: Add libc_hidden_def.
29762 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29763 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29764
28377d1b
UD
29765 * include/dirent.h (__alloc_dir): Add flags parameter.
29766 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29767 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29768 __alloc_dir.
29769 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29770 from fdopendir if O_CLOEXEC is already set.
29771
66bdbaa4
AM
297722011-03-15 Alan Modra <amodra@gmail.com>
29773
29774 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29775 l_tls_firstbyte_offset non-zero. Save padding offset in
29776 l_tls_firstbyte_offset for later use.
29777 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29778 freeing static tls block.
29779
95721191
JN
297802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29781
29782 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29783 where #ifdef was intended. The intent is to prevent ARG_MAX from
29784 being defined by the kernel headers.
29785
f87dfb1f
UD
297862011-05-07 Ulrich Drepper <drepper@gmail.com>
29787
29788 [BZ #12734]
29789 * resolv/resolv.h: Define RES_NOTLDQUERY.
29790 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29791 no-tld-query and set RES_NOTLDQUERY.
29792 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29793 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29794 modern BIND to search name as TLD unless forbidden.
29795
47c3cd7a
UD
297962011-05-07 Petr Baudis <pasky@suse.cz>
29797 Ulrich Drepper <drepper@gmail.com>
29798
29799 [BZ #12393]
29800 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29801 (is_trusted_path): ...to here.
c1e9ea35 29802 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29803 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29804 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29805
8a35c912
PP
298062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29807
29808 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29809 __BEGIN/__END_DECLS.
29810
acd41f47
UD
298112011-05-06 Ulrich Drepper <drepper@gmail.com>
29812
29813 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29814 NSS_STATUS_NOTFOUND if no record was found.
29815
597df647
AS
298162011-05-05 Andreas Schwab <schwab@redhat.com>
29817
29818 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29819 (headers-not-in-tirpc): Remove rpc/netdb.h
29820 * resolv/netdb.h: Revert last change.
29821
b9af1301
PP
298222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29823
29824 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29825 circular dependency between libgcc.a and libc.a.
29826
4e34d5f5
AS
298272011-05-05 Andreas Schwab <schwab@redhat.com>
29828
29829 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29830 * nis/Makefile: Don't install rpcsvc/*.
29831 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29832 instead of <rpc/types.h>.
29833 (MAXHOSTNAMELEN): Define.
29834
00ee369c
AS
298352011-05-03 Andreas Schwab <schwab@redhat.com>
29836
29837 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29838
0b592a30
MB
298392011-04-28 Maciej Babinski <mbabinski@google.com>
29840
29841 [BZ #12714]
29842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29843 gethostbyname4_r when IPv6 results are possible.
29844
6e04cbbe
UD
298452011-05-02 Ulrich Drepper <drepper@gmail.com>
29846
29847 [BZ #12723]
29848 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29849 _PC_PIPE_BUF handling.
29850
e4ecafe0
BH
298512011-04-30 Bruno Haible <bruno@clisp.org>
29852
29853 [BZ #12717]
29854 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29855 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29856 to 'int'.
29857 * inet/getnameinfo.c (getnameinfo): Likewise.
29858
125ee683
UD
298592011-04-29 Ulrich Drepper <drepper@gmail.com>
29860
29861 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29862 to groups setting in database lookup.
29863 * nss/nsswitch.conf: Add initgroups entry.
29864
b722481a
EB
298652011-04-22 Ulrich Drepper <drepper@gmail.com>
29866
29867 [BZ #12685]
29868 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29869 mode string.
29870 Patch by Eric Blake <eblake@redhat.com>.
29871
4df46dbd
L
298722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29873
29874 * sunrpc/Makefile (need-export-routines): Add svc_run.
29875 (routines): Remove svc_run.
29876 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29877 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29878 * sunrpc/svc_run.c (svc_run): Likewise.
29879 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29880
e84142d2
UD
298812011-04-21 Ulrich Drepper <drepper@gmail.com>
29882
29883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29884 problem in reallocation in last patch.
29885
877175d8
UD
298862011-04-20 Ulrich Drepper <drepper@gmail.com>
29887
29888 * sunrpc/Makefile: Move inclusion of Rules.
29889
ab8eed78
UD
298902011-04-19 Ulrich Drepper <drepper@gmail.com>
29891
29892 * nss/nss_files/files-initgroups.c: New file.
29893 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29894 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29895 _nss_files_initgroups_dyn.
29896
e3d8f584
RS
298972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29898
29899 * elf/elf.h (R_ARM_IRELATIVE): Define.
29900
af190f45
UD
299012011-04-19 Ulrich Drepper <drepper@gmail.com>
29902
29903 * po/ru.po: Update from translation team.
29904
53cf59ef
UD
299052011-04-17 Ulrich Drepper <drepper@gmail.com>
29906
29907 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29908 dependencies.
29909
4c559bcd
MF
299102011-02-06 Mike Frysinger <vapier@gentoo.org>
29911
29912 [BZ #12653]
29913 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29914 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29918
4420675c
AS
299192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29920
29921 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29922 differing bytes.
29923 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29925 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29926
75ea32ab
UD
299272011-04-17 Ulrich Drepper <drepper@gmail.com>
29928
29929 [BZ #12420]
29930 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29931 storing it.
29932 * stdlib/bug-getcontext.c: New file.
29933 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29934
27390476
AK
299352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29936
29937 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29938 instructions into .machine "z9-109".
29939 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29940 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29941
10442705
AK
299422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29943
29944 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29945 between environment variables and auxiliary vector.
29946
7b57bfe5
UD
299472011-04-16 Ulrich Drepper <drepper@gmail.com>
29948
29949 * Makefile: Add rules to build linkobj/libc.so.
29950 * include/libc-symbols.h: Define libc_hidden_nolink.
29951 * include/rpc/auth.h: Mark functions which are to be hidden.
29952 * include/rpc/auth_des.h: Likewise.
29953 * include/rpc/auth_unix.h: Likewise.
29954 * include/rpc/clnt.h: Likewise.
29955 * include/rpc/des_crypt.h: Likewise.
29956 * include/rpc/key_prot.h: Likewise.
29957 * include/rpc/pmap_clnt.h: Likewise.
29958 * include/rpc/pmap_prot.h: Likewise.
29959 * include/rpc/pmap_rmt.h: Likewise.
29960 * include/rpc/rpc_msg.h: Likewise.
29961 * include/rpc/svc.h: Likewise.
29962 * include/rpc/svc_auth.h: Likewise.
29963 * include/rpc/xdr.h: Likewise.
29964 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29965 * nss/Makefile: Likewise.
29966 * sunrpc/Makefile: Don't install headers. Build library with normal
29967 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29968 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29969 for the compat linking library. Remove use of INTDEF/INTUSE.
29970 * sunrpc/auth_none.c: Likewise.
29971 * sunrpc/auth_unix.c: Likewise.
29972 * sunrpc/authdes_prot.c: Likewise.
29973 * sunrpc/authuxprot.c: Likewise.
29974 * sunrpc/clnt_gen.c: Likewise.
29975 * sunrpc/clnt_perr.c: Likewise.
29976 * sunrpc/clnt_raw.c: Likewise.
29977 * sunrpc/clnt_simp.c: Likewise.
29978 * sunrpc/clnt_tcp.c: Likewise.
29979 * sunrpc/clnt_udp.c: Likewise.
29980 * sunrpc/clnt_unix.c: Likewise.
29981 * sunrpc/des_crypt.c: Likewise.
29982 * sunrpc/des_soft.c: Likewise.
29983 * sunrpc/get_myaddr.c: Likewise.
29984 * sunrpc/key_call.c: Likewise.
29985 * sunrpc/key_prot.c: Likewise.
29986 * sunrpc/netname.c: Likewise.
29987 * sunrpc/pm_getmaps.c: Likewise.
29988 * sunrpc/pm_getport.c: Likewise.
29989 * sunrpc/pmap_clnt.c: Likewise.
29990 * sunrpc/pmap_prot.c: Likewise.
29991 * sunrpc/pmap_prot2.c: Likewise.
29992 * sunrpc/pmap_rmt.c: Likewise.
29993 * sunrpc/publickey.c: Likewise.
29994 * sunrpc/rpc_cmsg.c: Likewise.
29995 * sunrpc/rpc_common.c: Likewise.
29996 * sunrpc/rpc_dtable.c: Likewise.
29997 * sunrpc/rpc_prot.c: Likewise.
29998 * sunrpc/rpc_thread.c: Likewise.
29999 * sunrpc/rtime.c: Likewise.
30000 * sunrpc/svc.c: Likewise.
30001 * sunrpc/svc_auth.c: Likewise.
30002 * sunrpc/svc_authux.c: Likewise.
30003 * sunrpc/svc_raw.c: Likewise.
30004 * sunrpc/svc_run.c: Likewise.
30005 * sunrpc/svc_simple.c: Likewise.
30006 * sunrpc/svc_tcp.c: Likewise.
30007 * sunrpc/svc_udp.c: Likewise.
30008 * sunrpc/svc_unix.c: Likewise.
30009 * sunrpc/svcauth_des.c: Likewise.
30010 * sunrpc/xcrypt.c: Likewise.
30011 * sunrpc/xdr.c: Likewise.
30012 * sunrpc/xdr_array.c: Likewise.
30013 * sunrpc/xdr_float.c: Likewise.
30014 * sunrpc/xdr_intXX_t.c: Likewise.
30015 * sunrpc/xdr_mem.c: Likewise.
30016 * sunrpc/xdr_rec.c: Likewise.
30017 * sunrpc/xdr_ref.c: Likewise.
30018 * sunrpc/xdr_sizeof.c: Likewise.
30019 * sunrpc/xdr_stdio.c: Likewise.
30020
e6c61494
UD
300212011-04-10 Ulrich Drepper <drepper@gmail.com>
30022
30023 [BZ #12650]
30024 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30025 * sysdeps/ia64/dl-tls.h: Likewise.
30026 * sysdeps/powerpc/dl-tls.h: Likewise.
30027 * sysdeps/s390/dl-tls.h: Likewise.
30028 * sysdeps/sh/dl-tls.h: Likewise.
30029 * sysdeps/sparc/dl-tls.h: Likewise.
30030 * sysdeps/x86_64/dl-tls.h: Likewise.
30031 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30032
34fe483e
AS
300332011-03-14 Andreas Schwab <schwab@redhat.com>
30034
30035 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30036 rpath element also skip the following colon.
30037 (expand_dynamic_string_token): Add is_path parameter and pass
30038 down to DL_DST_REQUIRED and _dl_dst_substitute.
30039 (decompose_rpath): Call expand_dynamic_string_token with
30040 non-zero is_path. Ignore empty rpaths.
30041 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30042 with zero is_path.
30043
f12a32e6
AS
300442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30045
30046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30047 Make cancelable.
30048
38a7d692
UD
300492011-04-09 Ulrich Drepper <drepper@gmail.com>
30050
30051 [BZ #12655]
30052 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30053 Patch by Filipe David Manana <fdmanana@apache.org>.
30054
e451d22b
AS
300552011-04-07 Andreas Schwab <schwab@redhat.com>
30056
30057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30058 Maintain aligned stack.
30059 (CHECK_RSP): Remove unused macro.
30060
dedc7c7b
UD
300612011-04-03 Ulrich Drepper <drepper@gmail.com>
30062
30063 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30064 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30065
94521213
UD
300662011-04-02 Ulrich Drepper <drepper@gmail.com>
30067
30068 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30069
8cb700c0 30070 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30071
0354e355
L
300722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30073
30074 [BZ #12518]
30075 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30076 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30077 * sysdeps/x86_64/memmove.c: New file.
30078 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30079 (memcpy): Renamed to ...
30080 (__new_memcpy): This.
30081 (memcpy): Provide GLIBC_2_14 memcpy.
30082 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30083 (memcpy): Provide GLIBC_2_2_5 memcpy.
30084
8593482f
UD
300852011-04-01 Ulrich Drepper <drepper@gmail.com>
30086
30087 [BZ #12631]
30088 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30089
81a5726b
AS
300902011-03-30 Andreas Schwab <schwab@redhat.com>
30091
30092 * misc/syncfs.c: New file.
30093 * misc/Makefile (routines): Add syncfs.
30094 * posix/unistd.h: Declare syncfs.
30095 * sysdeps/unix/syscalls.list: Add syncfs.
30096
00e5419f
AS
300972011-04-01 Andreas Schwab <schwab@redhat.com>
30098
30099 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30100 open_by_handle_at.
30101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30102 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30106 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30108
748876bf
UD
301092011-04-01 Ulrich Drepper <drepper@gmail.com>
30110
658e451d
UD
30111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30112 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30118
748876bf
UD
30119 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30120 sync_file_range.c with -fexceptions.
30121 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30122 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30123 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30124 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30125 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30126 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30128 sync_file_range as cancellation point
30129 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30130 now a wrapper around __call_sync_file_range with cancellation handling.
30131 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30132 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30133 function name to __call_sync_file_range.
30134 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30135 Add call_sync_file_range.
748876bf 30136
6e63d5e1
AS
301372011-04-01 Andreas Schwab <schwab@redhat.com>
30138
30139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30140 bits/timex.h.
6e63d5e1 30141
46998f74
UD
301422011-04-01 Ulrich Drepper <drepper@gmail.com>
30143
4c1423ed
UD
30144 * iconv/iconv.h: Fix typo in comment.
30145 * io/fcntl.h: Likewise.
30146 * libio/stdio.h: Likewise.
30147 * posix/spawn.h: Likewise.
30148 * posix/unistd.h: Likewise.
30149 * stdlib/stdlib.h: Likewise.
30150 * time/time.h: Likewise.
30151 * wcsmbs/wchar.h: Likewise.
30152
158648c0
UD
30153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30154 open_by_handle): Add.
30155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30156 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30157 Augment a few comments.
30158 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30163 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30164 open_by_handle.
30165
46998f74
UD
30166 * io/fcntl.h (AT_EMPTY_PATH): Define.
30167
83fe108b
UD
301682011-03-30 Ulrich Drepper <drepper@gmail.com>
30169
30170 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30171 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30172 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30173 to...
30174 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30175 * Versions.def: Add GLIBC_2.14.
30176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30177 Export.
83fe108b 30178
bb242059
UD
301792011-03-22 Ulrich Drepper <drepper@gmail.com>
30180
30181 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30182 round counter.
30183 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30184
c97a1282
L
301852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30186
30187 [BZ #12597]
30188 * string/test-strncmp.c (do_page_test): New function.
30189 (check2): Likewise.
30190 (test_main): Call check2.
30191 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30192
2a115601
UD
301932011-03-20 Ulrich Drepper <drepper@gmail.com>
30194
30195 [BZ #12587]
30196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30197 Handle cache information in CPU leaf 4.
30198 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30199
8126d904
UD
302002011-03-18 Ulrich Drepper <drepper@gmail.com>
30201
042c49c6 30202 [BZ #12583]
8126d904
UD
30203 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30204 character representation.
30205 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30206
ccfe366e
RA
302072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30208
30209 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30210 END(__isnan) to END(__isnanf) to match function entry point/label
30211 EALIGN(__isnanf,...).
30212
c6e13027
JJ
302132011-03-10 Jakub Jelinek <jakub@redhat.com>
30214
30215 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30216
33f85a3f
UD
302172011-03-10 Ulrich Drepper <drepper@gmail.com>
30218
028478fa
UD
30219 [BZ #12510]
30220 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30221 copy from the symbol referenced in the relocation to initialize the
30222 used variable.
30223 Patch by Piotr Bury <pbury@goahead.com>.
30224 * elf/Makefile: Add rules to build and tst-unique3.
30225 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30226 * elf/tst-unique3.cc: New file.
30227 * elf/tst-unique3.h: New file.
30228 * elf/tst-unique3lib.cc: New file.
30229 * elf/tst-unique3lib2.cc: New file.
30230
33f85a3f
UD
30231 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30232
03592fc7
MF
302332011-03-10 Mike Frysinger <vapier@gentoo.org>
30234
30235 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30236 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30237 to _start.
03592fc7 30238
6a5ee102
UD
302392011-03-06 Ulrich Drepper <drepper@gmail.com>
30240
30241 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30242 to-be-loaded object along a path to loader is ld.so.
30243
7e4ba49c
HJ
302442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30245 Ulrich Drepper <drepper@gmail.com>
30246
30247 * sysdeps/x86_64/memset.S: After aligning destination, code
30248 branches to different locations depending on the value of
30249 misalignment, when multiarch is enabled. Fix this.
30250
302512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30252
30253 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30254 Set _x86_64_preferred_memory_instruction for AMD processsors.
30255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30256 Set bit_Prefer_SSE_for_memop for AMD processors.
30257
13a804de
UD
302582011-03-04 Ulrich Drepper <drepper@gmail.com>
30259
30260 * libio/fmemopen.c (fmemopen): Optimize a bit.
30261
9d25c392
AS
302622011-03-03 Andreas Schwab <schwab@redhat.com>
30263
30264 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30265
a5543c6a
RM
302662011-03-03 Roland McGrath <roland@redhat.com>
30267
30268 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30269
012d35f7
DM
302702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30271
7e4ba49c 30272 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30273 __bzero_ultra1 instead of __memset_ultra1.
30274
4bff6e01
AS
302752011-02-23 Andreas Schwab <schwab@redhat.com>
30276 Ulrich Drepper <drepper@gmail.com>
30277
30278 [BZ #12509]
30279 * include/link.h (struct link_map): Add l_orig_initfini.
30280 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30281 returning unsuccessfully.
30282 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30283 close of a file loaded at startup, restore the original l_initfini
30284 list.
30285 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30286 list, store the pointer.
30287 * elf/Makefile ($(objpfx)noload-mem): New rule.
30288 (noload-ENV): Define.
30289 (tests): Add $(objpfx)noload-mem.
30290 * elf/noload.c: Include <memcheck.h>.
30291 (main): Call mtrace. Close all opened handles.
30292
f2092faf
AS
302932011-02-17 Andreas Schwab <schwab@redhat.com>
30294
30295 [BZ #12454]
30296 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30297 dependencies are missing.
30298
6c8a2e88
ST
302992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30300
f2092faf 30301 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30302 Hurd needs munmap.
30303 * sysdeps/mach/hurd/ifreq.h: New file.
30304
84a42118
PB
303052011-01-27 Petr Baudis <pasky@suse.cz>
30306 Ulrich Drepper <drepper@gmail.com>
30307
071f805e 30308 [BZ 12445]#
84a42118
PB
30309 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30310 to extend_alloca().
30311 * stdio-common/bug23.c: New file.
30312 * stdio-common/Makefile (tests): Add bug23.
30313
e23fe25b
AS
303142010-09-28 Andreas Schwab <schwab@redhat.com>
30315 Ulrich Drepper <drepper@gmail.com>
30316
30317 [BZ #12489]
30318 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30319 before performing relro protection. At old place add assertion
30320 to make sure nothing changed.
30321
d3f02e10
NS
303222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30323 Glauber de Oliveira Costa <glommer@gmail.com>
30324
30325 * elf/elf.h: Add new ARM TLS relocs.
30326
d55fd7a5
RA
303272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30328
30329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30330 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30331 cast from r3.
30332 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30333 'tests' variable.
30334 * sysdeps/wordsize-64/tst-writev.c: New file.
30335
2206397e
RA
303362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30337
30338 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30339 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30340 insns in _dl_start to prevent a TOC reference before relocs are
30341 resolved.
30342
e9433893
UD
303432011-02-15 Ulrich Drepper <drepper@gmail.com>
30344
30345 [BZ #12469]
30346 * Makeconfig: Remove RANLIB definition.
30347 * Makerules: Don't use RANLIB.
30348 * aclocal.m4: Remove ranlib test.
30349 * configure.in: No need to check for ranlib.
30350 * elf/rtld-Rules: Don't use RANLIB.
30351
f75286c6
ST
303522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30353
8e31c82d
ST
30354 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30355 protection macro.
30356 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30357 inclusion protection macro.
30358
f75286c6
ST
30359 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30360 SIGRTMIN and SIGRTMAX and print information in that case only when
30361 SIGRTMIN is defined.
30362
c1d0e639
JJ
303632011-02-11 Jakub Jelinek <jakub@redhat.com>
30364
30365 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30366 arginfo fn returning -1.
30367
30368 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30369 and thousands string is zero terminated.
30370
edf9294e
AS
303712011-02-03 Andreas Schwab <schwab@redhat.com>
30372
30373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30374 sysdeps/unix/sysv/linux/bits/socket.h.
30375
2b7e92df
ST
303762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30377
edf9294e
AS
30378 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30379 (__CPU_COUNT): Remove old macros.
30380 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30381 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30382 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30383 (__sched_cpualloc, __sched_cpufree): Add declarations.
30384
a4c7ea7b
UD
303852011-02-05 Ulrich Drepper <drepper@gmail.com>
30386
30387 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30388 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30389 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30390 (readdhstai): Return value of addhstaiX call.
30391 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30392 (addgrbyX): Return value returned by cache_addgr.
30393 (readdgrbyname): Return value returned by addgrbyX.
30394 (readdgrbygid): Likewise.
30395 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30396 (addpwbyX): Return value returned by cache_addpw.
30397 (readdpwbyname): Return value returned by addhstbyX.
30398 (readdpwbyuid): Likewise.
30399 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30400 (addservbyX): Return value returned by cache_addserv.
30401 (readdservbyname): Return value returned by addservbyX:
30402 (readdservbyport): Likewise.
30403 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30404 (addhstbyX): Return value returned by cache_addhst.
30405 (readdhstbyname): Return value returned by addhstbyX.
30406 (readdhstbyaddr): Likewise.
30407 (readdhstbynamev6): Likewise.
30408 (readdhstbyaddrv6): Likewise.
30409 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30410 (readdinitgroups): Return value returned by addinitgroupsX.
30411 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30412 (prune_cache): Keep track of timeout value of re-added entries.
30413 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30414 * nscd/nscd.h: Adjust prototypes of readd* functions.
30415
a0bf67cc
RM
304162011-02-04 Roland McGrath <roland@redhat.com>
30417
30418 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30419 (nis_stats): Likewise.
30420 * nis/nis_modify.c (nis_modify): Likewise.
30421 * nis/nis_remove.c (nis_remove): Likewise.
30422 * nis/nis_add.c (nis_add): Likewise.
30423
30424 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30425
30426 * posix/fnmatch_loop.c: Add some consts.
30427
30428 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30429
435b95eb
L
304302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30431
30432 [BZ #12460]
30433 * config.make.in (config-cflags-novzeroupper): Define.
30434 * configure.in: Substitute libc_cv_cc_novzeroupper.
30435 * elf/Makefile (AVX-CFLAGS): Define.
30436 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30437 (CFLAGS-tst-auditmod4a.c): Likewise.
30438 (CFLAGS-tst-auditmod4b.c): Likewise.
30439 (CFLAGS-tst-auditmod6b.c): Likewise.
30440 (CFLAGS-tst-auditmod6c.c): Likewise.
30441 (CFLAGS-tst-auditmod7b.c): Likewise.
30442 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30443
8517b15e
UD
304442011-02-02 Ulrich Drepper <drepper@gmail.com>
30445
30446 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30447 function to the callback.
30448 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30449
10a656fe
AS
304502011-02-02 Andreas Schwab <schwab@redhat.com>
30451
30452 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30453 of errno.
30454
968dad0a
UD
304552011-01-19 Ulrich Drepper <drepper@gmail.com>
30456
9f94d2ea 30457 [BZ #11724]
968dad0a
UD
30458 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30459 of constructors.
30460 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30461 of destructors.
30462 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30463
30464 [BZ #11724]
30465 * elf/Makefile: Add rules to build and run new test.
30466 * elf/tst-initorder.c: New file.
30467 * elf/tst-initorder.exp: New file.
30468 * elf/tst-initordera1.c: New file.
30469 * elf/tst-initordera2.c: New file.
30470 * elf/tst-initordera3.c: New file.
30471 * elf/tst-initordera4.c: New file.
30472 * elf/tst-initorderb1.c: New file.
30473 * elf/tst-initorderb2.c: New file.
30474 * elf/tst-order-a1.c: New file.
30475 * elf/tst-order-a2.c: New file.
30476 * elf/tst-order-a3.c: New file.
30477 * elf/tst-order-a4.c: New file.
30478 * elf/tst-order-b1.c: New file.
30479 * elf/tst-order-b2.c: New file.
30480 * elf/tst-order-main.c: New file.
30481 New test case by George Gensure <werkt0@gmail.com>.
30482
86e92359
UD
304832010-10-01 Andreas Schwab <schwab@redhat.com>
30484
30485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30486 decoding ACE if AI_CANONIDN.
30487
5d5732b0
UD
304882011-01-18 Ulrich Drepper <drepper@gmail.com>
30489
30490 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30491
a77e8cbc
UD
304922011-01-17 Ulrich Drepper <drepper@gmail.com>
30493
6392473f
UD
30494 * version.h (RELEASE): Bump for 2.13 release.
30495 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30496
620a0529
UD
30497 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30498
18ba70a5
UD
30499 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30500 MADV_NOHUGEPAGE.
32465c3e
UD
30501 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30506 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30507
c0dafcf1
UD
30508 * posix/getconf.c: Update copyright year.
30509 * catgets/gencat.c: Likewise.
30510 * csu/version.c: Likewise.
30511 * debug/catchsegv.sh: Likewise.
30512 * debug/xtrace.sh: Likewise.
30513 * elf/ldconfig.c: Likewise.
30514 * elf/ldd.bash.in: Likewise.
30515 * elf/sprof.c (print_version): Likewise.
30516 * iconv/iconv_prog.c: Likewise.
30517 * iconv/iconvconfig.c: Likewise.
30518 * locale/programs/locale.c: Likewise.
30519 * locale/programs/localedef.c: Likewise.
30520 * malloc/memusage.sh: Likewise.
30521 * malloc/mtrace.pl: Likewise.
30522 * nscd/nscd.c (print_version): Likewise.
30523 * nss/getent.c: Likewise.
30524
a77e8cbc
UD
30525 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30526 PF_CAIF, and PF_ALG.
30527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30528
77e8bddf
AS
305292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30530
1f20b93a
AS
30531 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30532 (modules-names): Use them.
30533 (ifunc-test-modules, ifunc-pie-tests): Define.
30534 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30535 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30536 (test-extras): Likewise.
30537 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30538 $(compile-command.c).
30539 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30540 (all-built-dso): Define.
30541 (check-textrel.out, check-execstack.out): Depend on it.
30542
77e8bddf
AS
30543 * configure.in: Don't override --enable-multi-arch.
30544
bc425b33
UD
305452011-01-15 Ulrich Drepper <drepper@gmail.com>
30546
30547 [BZ #6812]
30548 * nscd/hstcache.c (tryagain): Define.
30549 (cache_addhst): Return tryagain not notfound for temporary errors.
30550 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30551 failed.
30552
794c3ad3
UD
305532011-01-14 Ulrich Drepper <drepper@gmail.com>
30554
70181fdd
UD
30555 [BZ #10563]
30556 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30557 to make the syscall.
30558 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30559
794c3ad3
UD
30560 [BZ #12378]
30561 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30562 and fall back to matching as normal character if the string ends before
30563 the matching ']' is found. This is what POSIX requires.
30564 * posix/testfnm.c: Adjust test result.
30565 * posix/globtest.sh: Adjust test result. Add new test.
30566 * posix/tst-fnmatch.input: Likewise.
30567 * posix/tst-fnmatch2.c: Add new test.
30568
68dc9497
AS
305692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30570
30571 * elf/Makefile (check-execstack): Revert last change. Depend on
30572 check-execstack.h.
30573 (check-execstack.h): New target.
30574 (generated): Add check-execstack.h.
30575 * elf/check-execstack.c: Include "check-execstack.h".
30576 (main): Revert last change.
30577 (handle_file): Return zero if GNU_STACK is absent and
30578 DEFAULT_STACK_PERMS doesn't include PF_X.
30579
451f001b
UD
305802011-01-13 Ulrich Drepper <drepper@gmail.com>
30581
cfa28e56
UD
30582 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30583 in child fails because the descriptor is already closed.
8cf8ce17
UD
30584 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30585 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30586 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30587
1086d70d
UD
30588 [BZ #12397]
30589 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30590 syscall.
30591
451f001b
UD
30592 [BZ #10484]
30593 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30594 temporary buffer used to handle multi lookups locally.
a85b5cb4 30595 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30596
08769175
UD
305972011-01-12 Ulrich Drepper <drepper@gmail.com>
30598
30599 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30600 loader is ld.so.
30601
5e49c52e
UD
306022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30603
30604 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30605 alignment for SSE2.
30606
60522a5f
UD
306072011-01-12 Ulrich Drepper <drepper@gmail.com>
30608
30609 [BZ #12394]
30610 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30611 characters. When rounding increased number of integer digits recompute
30612 number of groups.
30613 * stdio-common/tst-grouping.c: New file.
30614 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30615
f257bbd7
UD
306162011-01-09 Ulrich Drepper <drepper@gmail.com>
30617
30618 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30619 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30620
30621 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30622 void.
30623 * bits/select.h: Likewise.
30624
fa9c15cb
UD
306252011-01-08 Ulrich Drepper <drepper@gmail.com>
30626
30627 * po/ja.po: Update from translation team.
30628
16c2895f
DM
306292011-01-04 David S. Miller <davem@sunset.davemloft.net>
30630
30631 [BZ #11155]
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30633 implementation just like for lxstat, fxstatat, et al.
30634
2543fef2
JM
306352010-12-27 Jim Meyering <meyering@redhat.com>
30636
30637 [BZ #12348]
30638 * posix/regexec.c (build_trtable): Return failure indication upon
30639 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30640
98727dbe
UD
306412010-12-25 Ulrich Drepper <drepper@gmail.com>
30642
5bd6dc5c
UD
30643 [BZ #12201]
30644 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30645 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30646 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30647 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30648
97983464
UD
30649 [BZ #12207]
30650 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30651
98727dbe
UD
30652 [BZ #12204]
30653 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30654 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30655
4a531bb0
L
306562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30657
30658 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30659 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30660 script has SORT_BY_INIT_PRIORITY.
30661 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30662 NO_CTORS_DTORS_SECTIONS is defined.
30663 * elf/soinit.c: Likewise.
30664 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30665 NO_CTORS_DTORS_SECTIONS is defined.
30666 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30667 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30668 * sysdeps/sh/init-first.c: Likewise.
30669 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30670
07eb4b71
UD
306712010-12-24 Ulrich Drepper <drepper@gmail.com>
30672
30673 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30674 always use the slow path.
30675
30950a5f
RA
306762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30677
30678 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30679 similar rule which adds the sysdep directories to the header search in
30680 order to pick up the correct platform stackinfo.h.
30681 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30682 perform test if it is, otherwise return successfully without testing.
30683 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30684 DEFAULT_STACK_PERMS define in stackinfo.h.
30685 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30686 defined in stackinfo.h.
30687 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30688 DEFAULT_STACK_PERMS defined in stackinfo.h.
30689 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30690 * sysdeps/ia64/stackinfo.h: Likewise.
30691 * sysdeps/s390/stackinfo.h: Likewise.
30692 * sysdeps/sh/stackinfo.h: Likewise.
30693 * sysdeps/sparc/stackinfo.h: Likewise.
30694 * sysdeps/x86_64/stackinfo.h: Likewise.
30695 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30696 PF_X for powerpc64. Retain PF_X for powerpc32.
30697
db753e2c
UD
306982010-12-19 Ulrich Drepper <drepper@gmail.com>
30699
14b697f7
UD
30700 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30701 accurately.
db753e2c
UD
30702 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30703 GETDENTS_64BIT_ALIGNED.
30704
28300719
UD
307052010-12-14 Ulrich Drepper <dreper@gmail.com>
30706
14b697f7 30707 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30708
4f197237
AS
307092010-12-10 Andreas Schwab <schwab@redhat.com>
30710
dbb0472f
AS
30711 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30712 _GNU_SOURCE.
30713
4f197237
AS
30714 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30715 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30716 Remove __restrict.
30717 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30718 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30719
fb88ac72
UD
307202010-12-09 Ulrich Drepper <drepper@gmail.com>
30721
30722 [BZ #11655]
30723 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30724 are initialized.
30725
42acbb92
JJ
307262010-12-09 Jakub Jelinek <jakub@redhat.com>
30727
30728 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30729
c038d98d
UD
307302010-12-03 Ulrich Drepper <drepper@gmail.com>
30731
30732 * po/it.po: Update from translation team.
30733
3a4a2499
L
307342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30735
30736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30737 unused codes.
30738
1e24cf6e
UD
307392010-11-30 Ulrich Drepper <drepper@gmail.com>
30740
30741 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30742
a7690819
AS
307432010-11-24 Andreas Schwab <schwab@redhat.com>
30744
30745 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30746 specially.
30747 (gaih_getanswer_slice): Likewise.
30748
3bf8d1b1
JJ
307492010-10-20 Jakub Jelinek <jakub@redhat.com>
30750
30751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30752
6db52fbb
PB
307532010-05-31 Petr Baudis <pasky@suse.cz>
30754
30755 [BZ #11149]
30756 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30757 silently even in the chroot mode.
30758
eaca7569
UD
307592010-11-22 Ulrich Drepper <drepper@gmail.com>
30760
30761 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30762 last patch a bit. Pretty printing
30763
3056dcdb
UD
307642010-05-31 Petr Baudis <pasky@suse.cz>
30765
30766 [BZ #10085]
30767 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30768 initialization of skip_initgroups_dyn.
30769
cf7c9078
UD
307702010-11-19 Ulrich Drepper <drepper@gmail.com>
30771
30772 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30774
a1fb5e3e
UD
307752010-11-16 Ulrich Drepper <drepper@gmail.com>
30776
30777 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30778
3540d66b
AS
307792010-11-11 Andreas Schwab <schwab@redhat.com>
30780
30781 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30782 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30783 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30784 ($(objpfx)tst-fnmatch-mem): New rule.
30785 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30786 * posix/tst-fnmatch.c (main): Call mtrace.
30787
13b69574
L
307882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30789
30790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30791 Support Intel processor model 6 and model 0x2c.
30792
da93d214
LM
307932010-11-10 Luis Machado <luisgpm@br.ibm.com>
30794
30795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30796 signed comparison.
30797
8ca52c6e
L
307982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30799
30800 [BZ #12205]
30801 * string/test-strncasecmp.c (check_result): New function.
30802 (do_one_test): Use it.
30803 (check1): New function.
30804 (test_main): Use it.
30805 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30806 Support strcasecmp and strncasecmp.
30807
69da074d
UD
308082010-11-08 Ulrich Drepper <drepper@gmail.com>
30809
30810 [BZ #12194]
30811 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30813
ff02d528
L
308142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30815
30816 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30817 IFUNC support.
30818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30819 memset-x86-64.
30820 * sysdeps/x86_64/multiarch/bzero.S: New file.
30821 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30822 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30823 * sysdeps/x86_64/multiarch/memset.S: New file.
30824 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30826 Set bit_Prefer_SSE_for_memop for Intel processors.
30827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30828 Define.
30829 (index_Prefer_SSE_for_memop): Define.
30830 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30831
344d0b54
LM
308322010-11-04 Luis Machado <luisgpm@br.ibm.com>
30833
30834 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30835 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30836
c0dde15b
UD
308372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30838
30839 [BZ #12191]
30840 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30841 (__x86_64_raw_data_cache_size_half): Likewise.
30842 (__x86_64_raw_shared_cache_size): Likewise.
30843 (__x86_64_raw_shared_cache_size_half): Likewise.
30844
30845 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30846 (__x86_64_raw_data_cache_size_half): Likewise.
30847 (__x86_64_raw_shared_cache_size): Likewise.
30848 (__x86_64_raw_shared_cache_size_half): Likewise.
30849 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30850 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30851 and __x86_64_raw_shared_cache_size_half. Round
30852 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30853 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30854 to multiple of 256 bytes.
30855
0e516e0e
MS
308562010-11-03 Ulrich Drepper <drepper@gmail.com>
30857
30858 [BZ #12167]
30859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30860 of inacessible symlinks. Verify result of symlink before returning it.
30861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30862 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30863
0e012e87
ER
308642010-10-28 Erich Ritz <erichritz@gmail.com>
30865
30866 * math/math.h (isinf): Fix typo in comment.
30867
de0ff7bc
UD
308682010-11-01 Ulrich Drepper <drepper@gmail.com>
30869
30870 * po/da.po: Update from translation team.
30871
fa41c84d
UD
308722010-10-26 Ulrich Drepper <drepper@gmail.com>
30873
30874 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30875 is added to the list.
30876
f0967738
AK
308772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30878 Ulrich Drepper <drepper@gmail.com>
30879
30880 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30881 the global list here. Move code to...
30882 (_dl_add_to_namespace_list): ...here. New function.
30883 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30884 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30885 * elf/dl-load.c (lose): Don't remove the element from the list.
30886 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30887 (_dl_map_object): Likewise.
30888
308892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30890
30891 [BZ #12159]
30892 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30893 into all bytes of SSE register.
30894 Patch by Richard Li <richardpku@gmail.com>.
30895
f0967738 308962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30897
30898 [BZ #12140]
30899 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30900 perturbing.
30901
d0b9e94f
MB
309022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30903
30904 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30905 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30907 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30909 submachine.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30911
8e9f92e9
AS
309122010-10-22 Andreas Schwab <schwab@redhat.com>
30913
30914 * include/dlfcn.h (__RTLD_SECURE): Define.
30915 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30916 mode & __RTLD_SECURE instead.
30917 (open_path): Rename preloaded parameter to secure.
30918 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30919 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30920 * elf/dl-deps.c (openaux): Likewise.
30921 * elf/rtld.c (struct map_args): Remove is_preloaded.
30922 (map_doit): Don't use it.
30923 (dl_main): Likewise.
30924 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30925 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30926
bc96fbda
AS
309272010-09-09 Andreas Schwab <schwab@redhat.com>
30928
30929 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30930 (sysd-rules-targets): Remove duplicates.
30931 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30932 rtld-%.$o dependency.
30933
22cd1c9b
AS
309342010-10-18 Andreas Schwab <schwab@redhat.com>
30935
30936 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30937 _dl_map_object do it.
30938
18edac48
UD
309392010-10-19 Ulrich Drepper <drepper@gmail.com>
30940
30941 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30942 fast fma builtins, define the macros in the C99 standard.
30943 (FP_FAST_FMAF): Likewise.
30944 (FP_FAST_FMAL): Likewise.
30945 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30946
30947 * bits/mathdef.h: Update copyright year.
30948 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30949
d2050124
MM
309502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30951
30952 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30953 builtins, define the macros in the C99 standard.
30954 (FP_FAST_FMAF): Likewise.
30955 (FP_FAST_FMAL): Likewise.
30956 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30957 multiply/add.
30958 (FP_FAST_FMAF): Likewise.
30959
475facd1
JJ
309602010-10-15 Jakub Jelinek <jakub@redhat.com>
30961
30962 [BZ #3268]
30963 * math/libm-test.inc (fma_test): Some new testcases.
30964 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30965 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30966 y and infinite z. Do multiplication by C already in long double.
30967 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30969 y and infinite z. Do bitwise or of inexact bit into u.d.
30970 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30971 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30972 * sysdeps/i386/fpu/s_fma.S: Removed.
30973 * sysdeps/i386/fpu/s_fmal.S: Removed.
30974
7c08a05c
JJ
309752010-10-16 Jakub Jelinek <jakub@redhat.com>
30976
30977 [BZ #3268]
30978 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30980 computation is not scheduled after fetestexcept. Fix value
30981 of minimum denormal long double.
30982
f3f7372d
JJ
309832010-10-14 Jakub Jelinek <jakub@redhat.com>
30984
30985 [BZ #3268]
30986 * math/libm-test.inc (fma_test): Add some more tests.
30987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30988 correctly.
30989
14d43591
AS
309902010-10-15 Andreas Schwab <schwab@redhat.com>
30991
30992 * scripts/data/localplt-s390-linux-gnu.data: New file.
30993 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30994
5e908464
JJ
309952010-10-13 Jakub Jelinek <jakub@redhat.com>
30996
30997 [BZ #3268]
30998 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30999 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31000 instead of dbl-64.
31001 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31002 inlines.
31003 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31005 if one of x and y is very large and the other is subnormal.
31006 * sysdeps/s390/fpu/s_fmaf.c: New file.
31007 * sysdeps/s390/fpu/s_fma.c: New file.
31008 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31009 * sysdeps/powerpc/fpu/s_fma.S: New file.
31010 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31011 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31012 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31013
310142010-10-12 Jakub Jelinek <jakub@redhat.com>
31015
31016 [BZ #3268]
31017 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31018 fma tests.
31019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31020 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31021 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31022 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31023 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31024 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31026
b833d51f
UD
310272010-10-12 Ulrich Drepper <drepper@redhat.com>
31028
31029 [BZ #12078]
31030 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31031 * posix/bug-regex31.input: Add test case.
31032
1751705d
UD
310332010-10-11 Ulrich Drepper <drepper@gmail.com>
31034
e9b9cbf5
UD
31035 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31036 * posix/bug-regex31.input: New file.
31037
31038 [BZ #12078]
31039 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31040 (parse_sub_exp): Fix last change, use postorder.
31041
ef06edbe
UD
31042 * posix/bug-regex31.c: New file.
31043 * posix/Makefile: Add rules to build and run bug-regex31.
31044
a129c80d
UD
31045 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31046
31047 [BZ #12078]
31048 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31049
b76b818e
UD
31050 [BZ #12108]
31051 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31052 to have entries in sys_siglist.
31053
1751705d
UD
31054 [BZ #12093]
31055 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31056 be NULL.
31057
9ff8d36f
JJ
310582010-10-07 Jakub Jelinek <jakub@redhat.com>
31059
31060 [BZ #3268]
31061 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31062 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31063 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31064 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31065 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31066 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31067 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31068 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31069 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31070 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31071 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31072 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31073 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31074 * math/ftestexcept.c (fetestexcept): Likewise.
31075 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31076 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31077 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31078 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31079 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31080 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31081 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31082
af325969
UD
310832010-10-11 Ulrich Drepper <drepper@gmail.com>
31084
c579b202 31085 [BZ #12107]
af325969
UD
31086 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31087 newline.
31088
67a67b95
UD
310892010-10-06 Ulrich Drepper <drepper@gmail.com>
31090
31091 * string/bug-strstr1.c: New file.
31092 * string/Makefile: Add rules to build and run bug-strstr1.
31093
5fb308bc
EB
310942010-10-05 Eric Blake <eblake@redhat.com>
31095
31096 [BZ #12092]
31097 * string/str-two-way.h (two_way_long_needle): Always clear memory
31098 when skipping input due to the shift table.
31099
45db99c7
UD
311002010-10-03 Ulrich Drepper <drepper@gmail.com>
31101
3b111893
UD
31102 [BZ #12005]
31103 * malloc/mcheck.c: Handle large requests.
31104
45db99c7
UD
31105 [BZ #12077]
31106 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31107 for strncmp and strncasecmp.
31108 * string/stratcliff.c: Add tests for strcmp and strncmp.
31109 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31110
cf7a1eb8
NI
311112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31112
31113 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31114 __set_fpscr.
31115
6484ba5e
AJ
311162010-09-30 Andreas Jaeger <aj@suse.de>
31117
31118 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31119 (CGROUP_SUPER_MAGIC): Define.
31120 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31121 Handle btrfs and cgroup file systems.
31122 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31123 Likewise.
31124
91c42559
LM
311252010-09-27 Luis Machado <luisgpm@br.ibm.com>
31126
31127 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31128 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31129
87a97932
AK
311302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31131
31132 [BZ #12067]
31133 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31134 trying to locate the ELF header.
31135
c21cc9bc
AS
311362010-09-27 Andreas Schwab <schwab@redhat.com>
31137
31138 [BZ #11611]
31139 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31140 Mask out sign-bit copies when constructing f_fsid.
31141
315970f6
PB
311422010-09-24 Petr Baudis <pasky@suse.cz>
31143
31144 * debug/stack_chk_fail_local.c: Add missing licence exception.
31145 * debug/warning-nop.c: Likewise.
31146
1ac7a2c7
JM
311472010-09-15 Joseph Myers <joseph@codesourcery.com>
31148
31149 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31150 implementing getdents64 using getdents syscall, set d_type if
31151 __ASSUME_GETDENTS32_D_TYPE.
31152
56801c50
AS
311532010-09-16 Andreas Schwab <schwab@redhat.com>
31154
31155 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31156 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31157
dda51327
UD
311582010-09-21 Ulrich Drepper <drepper@redhat.com>
31159
31160 [BZ #12037]
31161 * posix/unistd.h: Undo change of feature selection for ftruncate from
31162 2010-01-11.
31163
8ffcee4a
UD
311642010-09-20 Ulrich Drepper <drepper@redhat.com>
31165
a545ecd9 31166 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31167 detection.
31168
e24f0a8b
AS
311692010-09-20 Andreas Schwab <schwab@redhat.com>
31170
31171 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31172 fanotify_mark.
31173 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31174
7291c56f
AS
311752010-09-14 Andreas Schwab <schwab@redhat.com>
31176
31177 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31178 variables after CHECK_SP call.
31179 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31180
bc5fb037
AS
311812010-09-13 Andreas Schwab <schwab@redhat.com>
31182 Ulrich Drepper <drepper@redhat.com>
31183
31184 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31185 re-relocationg ld.so.
31186 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31187 _dl_init_paths call.
31188 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31189 here anymore.
31190
e66e7419
UD
311912010-09-14 Ulrich Drepper <drepper@redhat.com>
31192
31193 * resolv/res_init.c (__res_vinit): Count the default server we added.
31194
c044aa75
CLT
311952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31196 Ulrich Drepper <drepper@redhat.com>
31197
31198 [BZ #11968]
31199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31200 (____longjmp_chk): Use %ebx for saving value across system call.
31201 Add unwind info.
31202
32cf4069
AS
312032010-09-06 Andreas Schwab <schwab@redhat.com>
31204
31205 * manual/Makefile: Don't mix pattern rules with normal rules.
31206
817328ee
AS
312072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31208
31209 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31210 operation.
31211 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31212 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31213 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31214 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31216 Likewise.
31217
29fddf61
UD
312182010-09-04 Ulrich Drepper <drepper@redhat.com>
31219
31220 [BZ #11979]
31221 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31222 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31223
0959ffc9
UD
312242010-09-02 Ulrich Drepper <drepper@redhat.com>
31225
31226 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31227 * sysdeps/x86_64/addmul_1.S: Likewise.
31228 * sysdeps/x86_64/lshift.S: Likewise.
31229 * sysdeps/x86_64/mul_1.S: Likewise.
31230 * sysdeps/x86_64/rshift.S: Likewise.
31231 * sysdeps/x86_64/sub_n.S: Likewise.
31232 * sysdeps/x86_64/submul_1.S: Likewise.
31233
ece29840
ST
312342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31235
0959ffc9
UD
31236 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31237 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31238 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31239 * bits/sched.h [__need_schedparam]
ece29840 31240 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31241 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31242 (__defined_schedparam): Define to 1.
ece29840
ST
31243 (__sched_param): New structure, identical to sched_param.
31244 (__need_schedparam): Undefine.
31245
e53a31fe
MF
312462010-08-31 Mike Frysinger <vapier@gentoo.org>
31247
fdc0c10d
MF
31248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31249 (epoll_create1): Declare.
31250
e53a31fe
MF
31251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31252
a726d796
AS
312532010-08-31 Andreas Schwab <schwab@redhat.com>
31254
31255 [BZ #7066]
31256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31257 shifting retval into place.
31258
2f3e3dc7
UD
312592010-09-01 Ulrich Drepper <drepper@redhat.com>
31260
f2933da9
UD
31261 * nis/rpcsvc/nis.h: Update copyright notice.
31262 * nis/rpcsvc/nis.x: Likewise.
31263 * nis/rpcsvc/nis_callback.h: Likewise.
31264 * nis/rpcsvc/nis_callback.x: Likewise.
31265 * nis/rpcsvc/nis_object.x: Likewise.
31266 * nis/rpcsvc/nis_tags.h: Likewise.
31267 * nis/rpcsvc/yp.h: Likewise.
31268 * nis/rpcsvc/yp.x: Likewise.
31269 * nis/rpcsvc/ypupd.h: Likewise.
31270 * nis/yp_xdr.c: Likewise.
31271 * nis/ypupdate_xdr.c: Likewise.
31272
2f3e3dc7
UD
31273 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31274 mainly the body of pmap_getport. Add parameters to specify timeouts.
31275 (pmap_getport): Use __libc_rpc_getport.
31276 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31277 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31278 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31279
f3dcc2f9
AS
312802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31281
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31283 fanotify_mark.
31284
6d34eb5b
RM
312852010-08-27 Roland McGrath <roland@redhat.com>
31286
31287 * sysdeps/i386/i686/multiarch/Makefile
31288 (CFLAGS-varshift.c): New variable.
31289
9ea3de11
UD
312902010-08-27 Ulrich Drepper <drepper@redhat.com>
31291
c96d23fc
UD
31292 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31293 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31294
9ea3de11
UD
31295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31296
31297 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31298
623aac7f
L
312992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31300
31301 * sysdeps/x86_64/strlen.S: Unroll the loop.
31302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31303 strlen-sse2 strlen-sse2-bsf.
31304 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31305 __strlen_no_bsf if bit_Slow_BSF is set.
31306 (__strlen_sse42): Removed.
31307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31308 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31309
8b2b7715
RM
313102010-08-25 Roland McGrath <roland@redhat.com>
31311
31312 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31313 * sysdeps/x86_64/multiarch/varshift.c: New file.
31314 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31315 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31316 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31317 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31318
e73015f2
L
313192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31320
31321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31322 strlen-sse2 strlen-sse2-bsf.
31323 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31324 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31325 (__strlen_sse2): Removed.
31326 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31327 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31329 bit_Slow_BSF for Atom.
31330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31331 (index_Slow_BSF): Define.
31332 (HAS_SLOW_BSF): Define.
31333
df24a73e
UD
313342010-08-25 Ulrich Drepper <drepper@redhat.com>
31335
31336 [BZ #10851]
31337 * resolv/res_init.c (__res_vinit): When no server address at all
31338 is given default to loopback.
31339
f2ac4868
RM
313402010-08-24 Roland McGrath <roland@redhat.com>
31341
09055553
RM
31342 * configure.in: Remove config-name.h generation.
31343 * configure: Regenerated.
31344 * config-name.in: File removed.
31345 * scripts/config-uname.sh: New file.
31346 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31347 ($(objdir)config-name.h): New target.
31348
f2ac4868
RM
31349 * sunrpc/rpc_parse.h: Avoid nested comment.
31350
73f27d5e
RH
313512010-08-24 Richard Henderson <rth@redhat.com>
31352 Ulrich Drepper <drepper@redhat.com>
31353 H.J. Lu <hongjiu.lu@intel.com>
31354
31355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31357 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31358 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31359 _mm_alignr_epi8 with _mm_loadu_si128.
31360 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31361 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31362 (__m128i_shift_right): Removed.
31363 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31364 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31365 * sysdeps/x86_64/multiarch/varshift.h: New file.
31366 * sysdeps/x86_64/multiarch/varshift.S: New file.
31367
84b9230c
MF
313682010-08-21 Mike Frysinger <vapier@gentoo.org>
31369
31370 * configure.in: Move assembler checks to before sysdep dir checking.
31371
9bbd0ddc
PB
313722010-08-20 Petr Baudis <pasky@suse.cz>
31373
31374 * LICENSES: Sync the sunrpc license.
31375
9da4bb31
UD
313762010-08-19 Ulrich Drepper <drepper@redhat.com>
31377
a7ab6ec8
UD
31378 * sunrpc/auth_des.c: Update copyright notice once again.
31379 * sunrpc/auth_none.c: Likewise.
31380 * sunrpc/auth_unix.c: Likewise.
31381 * sunrpc/authdes_prot.c: Likewise.
31382 * sunrpc/authuxprot.c: Likewise.
31383 * sunrpc/bindrsvprt.c: Likewise.
31384 * sunrpc/clnt_gen.c: Likewise.
31385 * sunrpc/clnt_perr.c: Likewise.
31386 * sunrpc/clnt_raw.c: Likewise.
31387 * sunrpc/clnt_simp.c: Likewise.
31388 * sunrpc/clnt_tcp.c: Likewise.
31389 * sunrpc/clnt_udp.c: Likewise.
31390 * sunrpc/clnt_unix.c: Likewise.
31391 * sunrpc/des_crypt.c: Likewise.
31392 * sunrpc/des_soft.c: Likewise.
31393 * sunrpc/get_myaddr.c: Likewise.
31394 * sunrpc/getrpcport.c: Likewise.
31395 * sunrpc/key_call.c: Likewise.
31396 * sunrpc/key_prot.c: Likewise.
31397 * sunrpc/openchild.c: Likewise.
31398 * sunrpc/pm_getmaps.c: Likewise.
31399 * sunrpc/pm_getport.c: Likewise.
31400 * sunrpc/pmap_clnt.c: Likewise.
31401 * sunrpc/pmap_prot.c: Likewise.
31402 * sunrpc/pmap_prot2.c: Likewise.
31403 * sunrpc/pmap_rmt.c: Likewise.
31404 * sunrpc/rpc/auth.h: Likewise.
31405 * sunrpc/rpc/auth_unix.h: Likewise.
31406 * sunrpc/rpc/clnt.h: Likewise.
31407 * sunrpc/rpc/des_crypt.h: Likewise.
31408 * sunrpc/rpc/key_prot.h: Likewise.
31409 * sunrpc/rpc/netdb.h: Likewise.
31410 * sunrpc/rpc/pmap_clnt.h: Likewise.
31411 * sunrpc/rpc/pmap_prot.h: Likewise.
31412 * sunrpc/rpc/pmap_rmt.h: Likewise.
31413 * sunrpc/rpc/rpc.h: Likewise.
31414 * sunrpc/rpc/rpc_des.h: Likewise.
31415 * sunrpc/rpc/rpc_msg.h: Likewise.
31416 * sunrpc/rpc/svc.h: Likewise.
31417 * sunrpc/rpc/svc_auth.h: Likewise.
31418 * sunrpc/rpc/types.h: Likewise.
31419 * sunrpc/rpc/xdr.h: Likewise.
31420 * sunrpc/rpc_clntout.c: Likewise.
31421 * sunrpc/rpc_cmsg.c: Likewise.
31422 * sunrpc/rpc_common.c: Likewise.
31423 * sunrpc/rpc_cout.c: Likewise.
31424 * sunrpc/rpc_dtable.c: Likewise.
31425 * sunrpc/rpc_hout.c: Likewise.
31426 * sunrpc/rpc_main.c: Likewise.
31427 * sunrpc/rpc_parse.c: Likewise.
31428 * sunrpc/rpc_parse.h: Likewise.
31429 * sunrpc/rpc_prot.c: Likewise.
31430 * sunrpc/rpc_sample.c: Likewise.
31431 * sunrpc/rpc_scan.c: Likewise.
31432 * sunrpc/rpc_scan.h: Likewise.
31433 * sunrpc/rpc_svcout.c: Likewise.
31434 * sunrpc/rpc_tblout.c: Likewise.
31435 * sunrpc/rpc_util.c: Likewise.
31436 * sunrpc/rpc_util.h: Likewise.
31437 * sunrpc/rpcinfo.c: Likewise.
31438 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31439 * sunrpc/rpcsvc/key_prot.x: Likewise.
31440 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31441 * sunrpc/rpcsvc/mount.x: Likewise.
31442 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31443 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31444 * sunrpc/rpcsvc/rex.x: Likewise.
31445 * sunrpc/rpcsvc/rstat.x: Likewise.
31446 * sunrpc/rpcsvc/rusers.x: Likewise.
31447 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31448 * sunrpc/rpcsvc/spray.x: Likewise.
31449 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31450 * sunrpc/rtime.c: Likewise.
31451 * sunrpc/svc.c: Likewise.
31452 * sunrpc/svc_auth.c: Likewise.
31453 * sunrpc/svc_authux.c: Likewise.
31454 * sunrpc/svc_raw.c: Likewise.
31455 * sunrpc/svc_run.c: Likewise.
31456 * sunrpc/svc_simple.c: Likewise.
31457 * sunrpc/svc_tcp.c: Likewise.
31458 * sunrpc/svc_udp.c: Likewise.
31459 * sunrpc/svc_unix.c: Likewise.
31460 * sunrpc/svcauth_des.c: Likewise.
31461 * sunrpc/xcrypt.c: Likewise.
31462 * sunrpc/xdr.c: Likewise.
31463 * sunrpc/xdr_array.c: Likewise.
31464 * sunrpc/xdr_float.c: Likewise.
31465 * sunrpc/xdr_mem.c: Likewise.
31466 * sunrpc/xdr_rec.c: Likewise.
31467 * sunrpc/xdr_ref.c: Likewise.
31468 * sunrpc/xdr_sizeof.c: Likewise.
31469 * sunrpc/xdr_stdio.c: Likewise.
31470
9da4bb31
UD
31471 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31472 handling.
31473
bdaa77bc
AS
314742010-08-19 Andreas Schwab <schwab@redhat.com>
31475
31476 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31477
fe2f79db
LM
314782010-08-19 Luis Machado <luisgpm@br.ibm.com>
31479
31480 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31482 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31483 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31484 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31485 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31486 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31487 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31488 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31490 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31491 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31492 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31493 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31494
b9b42ee0
AB
314952010-07-26 Anton Blanchard <anton@samba.org>
31496
31497 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31498 * malloc/arena.c (heap_trim): Likewise.
31499
1c06ba31
UD
315002010-08-16 Ulrich Drepper <drepper@redhat.com>
31501
31502 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31503 here. Not...
31504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31505 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31506
f8392f40
L
315072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31508
31509 * sysdeps/i386/elf/Makefile: New file.
31510
3162f12e
AS
315112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31512
31513 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31514 from fanotify_init.
31515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31517
28c90b2c
UD
315182010-08-15 Ulrich Drepper <drepper@redhat.com>
31519
31520 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31521 of strncasecmp_l.
1feccb6c 31522 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31523
ca6bb004
UD
315242010-08-14 Ulrich Drepper <drepper@redhat.com>
31525
e9f82e0d
UD
31526 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31527 strncase_l-nonascii.
31528 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31529 Add strncase_l-ssse3.
31530 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31531 * sysdeps/x86_64/strcmp.S: Likewise.
31532 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31533 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31534 * sysdeps/x86_64/strncase.S: New file.
31535 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31536 * sysdeps/x86_64/strncase_l.S: New file.
31537 * string/Makefile (strop-tests): Add strncasecmp.
31538 * string/test-strncasecmp.c: New file.
31539
31540 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31541 warning.
31542
ca6bb004
UD
31543 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31544 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31545
052fa7b3
AS
315462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31547
31548 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31549
962dba78
UD
315502010-08-12 Ulrich Drepper <drepper@redhat.com>
31551
31552 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31553 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31554 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31555
bebff237
AM
315562010-05-01 Alan Modra <amodra@gmail.com>
31557
31558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31559 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31560 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31561 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31562 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31563 tidying. Don't tail-call __sigjmp_save for static lib.
31564 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31565 save location.
31566 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31567 (CALL_MCOUNT): Add eh info, and nop after bl.
31568 (TAIL_CALL_SYSCALL_ERROR): New macro.
31569 (PSEUDO_RET): Use it.
31570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31571 Correct save location of integer regs and cr.
31572 (_dl_profile_resolve): Correct cr save location. Delete nops
31573 after bl when SHARED. Reduce cfi size a little by better
31574 placement of cfi directives.
31575 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31576 make a stack frame. Instead use parm save area as a temp.
31577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31578 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31580 Don't make a stack frame for parent, use parm save area.
31581 Increase child stack frame to 112 bytes. Don't save unused reg,
31582 and adjust reg usage. Set up cfi on error recovery and
31583 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31585 (__makecontext): Add dummy nop after jump to exit.
31586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31587 Use correct parm save area and cr save, reduce stack frame.
31588 Correct cfi for possible PSEUDO_RET frame setup.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31590 Branch to local label emitted by PSEUDO_RET rather than
31591 __syscall_error.
31592
02637374
AS
315932010-08-12 Andreas Schwab <schwab@redhat.com>
31594
31595 [BZ #11904]
31596 * locale/programs/locale.c (print_assignment): New function.
31597 (show_locale_vars): Use it.
31598
c3e2f19b
UD
315992010-08-11 Ulrich Drepper <drepper@redhat.com>
31600
3cdaa6ad
UD
31601 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31602 field.
31603 (struct statfs64): Likewise.
31604 (_STATFS_F_FLAGS): Define.
31605 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31607 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31608 (ST_VALID): Define locally.
31609 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31610 __statvfs_getflags, use the provided value.
31611 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31612 __ASSUME_STATFS_F_FLAGS.
31613
754f7da3
UD
31614 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31615
10b3bedc
UD
31616 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31617 Add sys/fanotify.h.
31618 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31619 fanotify_mask for GLIBC_2.13.
31620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31621 fanotify_init and fanotify_mark.
31622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31623 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31624
c08fb0d7
UD
31625 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31626 Add prlimit.
31627 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31628 prlimit64 for GLIBC_2.13.
31629 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31630 prlimit64.
31631 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31632 syscall.
31633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31634 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31635 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31636 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31638 add prlimit alias.
31639 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31640
15bac72b
UD
31641 [BZ #11903]
31642 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31643 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31644
c3e2f19b
UD
31645 * nss/Makefile: Add rules to build and run tst-nss-test1.
31646 * shlib-versions: Add entry for libnss_test1.
31647 * nss/nss_test1.c: New file.
31648 * nss/tst-nss-test1.c: New file.
31649
31650 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31651 (__nss_configure_lookup): Set appropriate entry in
31652 __nss_configure_lookup to true.
31653 * nss/nsswitch.h: Define enum with indeces of databases in
31654 databases and __nss_database_custom arrays. Declare
31655 __nss_database_custom.
31656 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31657 to avoid using nscd when custom rules are installed.
31658 * nss/getXXbyYY_r.c: Likewise.
31659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31660
31661 * nss/nss_files/files-parse.c: Whitespace fixes.
31662
f15ce4d8
UD
316632010-08-09 Ulrich Drepper <drepper@redhat.com>
31664
31665 [BZ #11883]
31666 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31667 * posix/fnmatch_loop.c: Likewise.
31668
d22e4cc9
AK
316692010-07-17 Andi Kleen <ak@linux.intel.com>
31670
31671 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31672 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31673 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31674 * Versions.def [GLIBC_2.13]: Add.
31675
805bc17d
UD
316762010-08-06 Ulrich Drepper <drepper@redhat.com>
31677
31678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31679 Also fail if tpwd after pwuid call is NULL.
31680
5a42321d
ST
316812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31682
31683 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31684 when converting to ms.
31685
fd3ebeda
ST
316862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31687
31688 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31689 EOPNOTSUPP errors with ENOTTY.
31690 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31691 EOPNOTSUPP errors with ENOTTY.
31692
73507d3a
UD
316932010-07-31 Ulrich Drepper <drepper@redhat.com>
31694
31695 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31696 Add strcasecmp_l-ssse3.
31697 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31698 strcasecmp.
31699 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31700 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31701 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31702
fe36dd02
UD
317032010-07-30 Ulrich Drepper <drepper@redhat.com>
31704
66f6765a
UD
31705 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31706
42e08a54
UD
31707 * string/Makefile (strop-tests): Add strcasecmp.
31708 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31709 strcasecmp_l-nonascii.
31710 (gen-as-const-headers): Add locale-defines.sym.
31711 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31712 * sysdeps/x86_64/strcasecmp.S: New file.
31713 * sysdeps/x86_64/strcasecmp_l.S: New file.
31714 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31715 * sysdeps/x86_64/locale-defines.sym: New file.
31716 * string/test-strcasecmp.c: New file.
31717
fe36dd02
UD
31718 * string/test-strcasestr.c: Test both ends of the range of characters.
31719 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31720
48cbc0d6
RM
317212010-07-29 Roland McGrath <roland@redhat.com>
31722
76e6d6bc 31723 [BZ #11856]
48cbc0d6
RM
31724 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31725
880113d9
UD
317262010-07-27 Ulrich Drepper <drepper@redhat.com>
31727
31728 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31729 for ld.so.
31730
deb9cabb
AS
317312010-07-27 Andreas Schwab <schwab@redhat.com>
31732
31733 * manual/memory.texi (Malloc Tunable Parameters): Document
31734 M_PERTURB.
31735
1c7570ff
RM
317362010-07-26 Roland McGrath <roland@redhat.com>
31737
31738 [BZ #11840]
31739 * configure.in (-fgnu89-inline check): Set and substitute
31740 gnu89_inline, not libc_cv_gnu89_inline.
31741 * configure: Regenerated.
31742 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31743
24fb0f88
UD
317442010-07-26 Ulrich Drepper <drepper@redhat.com>
31745
31746 * string/test-strnlen.c: New file.
31747 * string/Makefile (strop-tests): Add strnlen.
31748 * string/tester.c (test_strnlen): Add a few more test cases.
31749 * string/tst-strlen.c: Better error reporting.
31750
31751 * sysdeps/x86_64/strnlen.S: New file.
31752
8e96b93a
UD
317532010-07-24 Ulrich Drepper <drepper@redhat.com>
31754
31755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31756 lower-latency instructions.
31757
dbc676d4
UD
317582010-07-23 Ulrich Drepper <drepper@redhat.com>
31759
31760 * string/test-strcasestr.c: New file.
31761 * string/test-strstr.c: New file.
31762 * string/Makefile (strop-tests): Add strstr and strcasestr.
31763 * string/str-two-way.h: Don't undefine MAX.
31764 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31765
f6a31e0e
AS
317662010-07-21 Andreas Schwab <schwab@redhat.com>
31767
31768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31769 strcasestr-nonascii.
31770 (CFLAGS-strcasestr-nonascii.c): Define.
31771 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31773 Remove unused attribute.
31774
5dbc3b6c
RM
317752010-07-20 Roland McGrath <roland@redhat.com>
31776
31777 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31778 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31779 ld.so.cache was broken. With it, there is no way to disable dsocaps
31780 like LD_HWCAP_MASK can disable hwcaps.
31781
23d101d8
EPM
317822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31783
31784 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31785
cc9f2e47
UD
317862010-07-16 Ulrich Drepper <drepper@redhat.com>
31787
31788 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31789 call in strcasestr.
31790 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31791 __strcasestr_sse42_nonascii.
31792 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31793 strcasestr-nonascii.c.
31794 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31795
77c1b069
LM
317962010-06-15 Luis Machado <luisgpm@br.ibm.com>
31797
31798 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31799 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31800 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31801 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31802
440566c3
UD
318032010-07-09 Ulrich Drepper <drepper@redhat.com>
31804
31805 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31806 fcntl.
31807
5be9d05d
AS
318082010-07-06 Andreas Schwab <schwab@redhat.com>
31809
c30b7ee2 31810 [BZ #11577]
5be9d05d
AS
31811 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31812 dl_signal_cerror.
31813
8a492a67
UD
318142010-07-06 Ulrich Drepper <drepper@redhat.com>
31815
31816 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31817 _PC_PIPE_BUF using F_GETPIPE_SZ.
31818
713df3d5
RM
318192010-07-05 Roland McGrath <roland@redhat.com>
31820
31821 * manual/arith.texi (Rounding Functions): Fix rint description
31822 implicit in round description.
31823
702e8f14
UD
318242010-07-02 Ulrich Drepper <drepper@redhat.com>
31825
31826 * elf/Makefile: Fix linking for a few tests to make recent linker
31827 happy.
31828
52ed8be9
AS
318292010-06-30 Andreas Schwab <schwab@redhat.com>
31830
31831 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31832 $(common-objpfx)libc_nonshared.a.
31833
f47c9a11
LM
318342010-06-21 Luis Machado <luisgpm@br.ibm.com>
31835
31836 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31837 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31838 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31839 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31840 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31841 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31842 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31843 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31858 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31859 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31860 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31861 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31862 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31863 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31864 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31865 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31866 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31867 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31868 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31869 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31884
6fb8cbcb
L
318852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31886
31887 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31888 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31889 * string/memmove.c (memmove): Renamed to ...
31890 (MEMMOVE): ...this. Default to memmove.
31891 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31892 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31893 (END_CHK): Define.
31894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31895 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31896 mempcpy-ssse3-back memmove-ssse3-back.
31897 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31898 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31900 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31901 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31902 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31903 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31904 * sysdeps/x86_64/multiarch/memmove.c: New file.
31905 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31906 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31907 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31908 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31909 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31911 Define.
31912 (index_Fast_Copy_Backward): Define.
31913 (HAS_ARCH_FEATURE): Define.
31914 (HAS_FAST_REP_STRING): Define.
31915 (HAS_FAST_COPY_BACKWARD): Define.
31916
4e733bac 319172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31918
31919 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31920 Restore proper fallback handling.
31921
63c4ed22
UD
319222010-06-19 Ulrich Drepper <drepper@redhat.com>
31923
ac2b484c
UD
31924 [BZ #11701]
31925 * posix/group_member.c (__group_member): Correct checking loop.
31926
63c4ed22
UD
31927 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31928 OOM in getpwuid_r correctly. Return error number when the caller
31929 should return, otherwise -1.
31930 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31931 call returning > 0 value.
31932 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31933
765ade4b
AS
319342010-06-07 Andreas Schwab <schwab@redhat.com>
31935
31936 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31937 libc_nonshared.a from targets in modules-names.
31938
80da2e09
KS
319392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31940
31941 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31942 requires it.
31943
158db122
LM
319442010-06-10 Luis Machado <luisgpm@br.ibm.com>
31945
31946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31948 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31950
caa78cf8
AS
319512010-06-02 Andreas Schwab <schwab@redhat.com>
31952
31953 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31954
b2ef2c01
UD
319552010-06-14 Ulrich Drepper <drepper@redhat.com>
31956
31957 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31958 and F_GETPIPE_SZ.
31959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31965
fbd643b6
RM
319662010-06-14 Roland McGrath <roland@redhat.com>
31967
31968 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31969
f32f2869
JJ
319702010-06-07 Jakub Jelinek <jakub@redhat.com>
31971
31972 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31973 __REDIRECT followed by __THROW.
31974 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31975 * posix/getopt.h (getopt): Likewise.
31976
2a50c078
EPM
319772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31978
31979 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31980 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31981 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31982 in AT_FLAGS.
31983 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31984 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31985
eb5ad2eb
LM
319862010-05-28 Luis Machado <luisgpm@br.ibm.com>
31987
31988 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31989
3c88fe1e
L
319902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31991
31992 [BZ #11640]
31993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31994 Properly check family and model.
31995
d2f73151
TY
319962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31997
31998 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31999
ebd2e13d
LM
320002010-05-24 Luis Machado <luisgpm@br.ibm.com>
32001
32002 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32003
b32b8b45
UD
320042010-05-21 Ulrich Drepper <drepper@redhat.com>
32005
32006 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32007 symbol reference.
32008
9acbe24d
AS
320092010-05-19 Andreas Schwab <schwab@redhat.com>
32010
32011 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32012 symbol reference.
32013
f0ccf6ea
AS
320142010-05-21 Andreas Schwab <schwab@redhat.com>
32015
3d04ff3a
AS
32016 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32017 and internal_recvmmsg.
32018 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32019 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32020 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32021 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32022
f0ccf6ea
AS
32023 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32024 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32025 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32026
5b08ac57
AS
320272010-05-20 Andreas Schwab <schwab@redhat.com>
32028
32029 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32030
4828935d
LM
320312010-05-17 Luis Machado <luisgpm@br.ibm.com>
32032
32033 POWER7 optimizations.
32034 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32035 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32036
373d545e
UD
320372010-05-19 Ulrich Drepper <drepper@redhat.com>
32038
32039 * version.h: Update for 2.13 development version.
32040
21a2b1ae
AS
320412010-05-12 Andrew Stubbs <ams@codesourcery.com>
32042
32043 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32044 exceptions. Return 0.
32045
3f7dcb2b
RM
320462010-05-07 Roland McGrath <roland@redhat.com>
32047
32048 * elf/ldconfig.c (main): Add a const.
32049
5f24d53a 320502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32051
a160f8d8
UD
32052 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32053 (args_options): Add no-idn option.
32054 (ahosts_keys_int): Add idn_flags to ai_flags.
32055 (parse_option): Handle 'i' option to clear idn_flags.
32056
5f24d53a
UD
32057 * malloc/malloc.c (_int_free): Possible race in the most recently
32058 added check. Only act on the data if no current modification
32059 happened.
265bb1ce
UD
32060
32061See ChangeLog.17 for earlier changes.
This page took 4.61593 seconds and 5 git commands to generate.