]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update manual/contrib.texi
[thirdparty/glibc.git] / ChangeLog
CommitLineData
db24e684
DM
12013-08-01 David S. Miller <davem@davemloft.net>
2
3 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5 Bilka.
6
f723285b
DM
72013-07-30 David S. Miller <davem@davemloft.net>
8
9 * po/fr.po: Update French translation from translation project.
10
3cbc52db
DM
112013-07-28 David S. Miller <davem@davemloft.net>
12
30bbc0cc
DM
13 * po/cs.po: Update Czech translation from translation project.
14
3cbc52db
DM
15 * po/sv.po: Update Swedish translation from translation project.
16
d492e6d0
DM
172013-07-27 David S. Miller <davem@davemloft.net>
18
f1a7f492
DM
19 * po/eo.po: Update Esperanto translation from translation project.
20
90e62a4a
DM
21 * po/vi.po: Update Vietnamese translation from translation project.
22
d492e6d0
DM
23 * po/de.po: Update German translation from translation project.
24
d4baa62d
DM
252013-07-26 David S. Miller <davem@davemloft.net>
26
641aa7b4
DM
27 * po/bg.po: Update Bulgarian translation from translation project.
28
d4baa62d
DM
29 * po/nl.po: Update Dutch translation from translation project.
30 * po/pl.po: Update Polish translation from translation project.
31 * po/ru.po: Update Russian translation from translation project.
32
61a9dcb9
DM
332013-07-24 David S. Miller <davem@davemloft.net>
34
35 * po/libc.pot: Update.
36
7b1f8b58
AZ
372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40 variable page size.
41 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44
a8fc7a03
AK
452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46
47 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48
e4608715
CD
492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50 Andreas Schwab <schwab@suse.de>
51 Roland McGrath <roland@hack.frob.com>
52 Joseph Myers <joseph@codesourcery.com>
53 Carlos O'Donell <carlos@redhat.com>
54
55 [BZ #15755]
56 * config.h.in: Define HAVE_PT_CHOWN.
57 * config.make.in (build-pt-chown): New variable.
58 * configure.in (--enable-pt_chown): New configure option.
59 * configure: Regenerate.
60 * login/Makefile: Include Makeconfig. Build pt_chown only if
61 build-pt-chown is enabled.
62 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63 pt_chown to fix pty ownership.
64 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
65 CLOSE_ALL_FDS.
66 * manual/install.texi (Configuring and compiling): Mention
67 --enable-pt_chown. Add @findex for grantpt.
68 * INSTALL: Regenerate.
69
da2d62df
DM
702013-07-20 David S. Miller <davem@davemloft.net>
71
72 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
73 difference between 32-bit and 64-bit.
74
d7e06450
CD
752013-07-15 Carlos O'Donell <carlos@redhat.com>
76
77 [BZ #15711]
78 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
79 Avoid system header dependency with -ffreestanding.
80 ($(objpfx)bits/syscall%d): Likewise.
81
f959cfd7
DM
822013-07-13 David S. Miller <davem@davemloft.net>
83
84 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
85 underflows from atanl/atan2l due to bug 15319.
86 (casinh_test_data): Likewise.
87
c61f8513
DM
882013-07-07 David S. Miller <davem@davemloft.net>
89
90 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
91
72c90ed0
JA
922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
93
94 * sysdeps/i386/fpu/libm-test-ulps: Update.
95 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
96
52dfbe13
SP
972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
98
99 * configure.in (--enable-lock-elision): Fix message text.
100 * INSTALL: Regenerate.
101 * configure: Regenerate.
102
3f169543
AZ
1032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
106
521c6785
AJ
1072013-07-03 Andreas Jaeger <aj@suse.de>
108
109 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
110 define.
111 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
112 (ptrace_peeksiginfo_args): Add.
113 (__ptrace_peeksiginfo_flags): Add.
114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
117
d2cc15cb
AM
1182013-07-03 Allan McRae <allan@archlinux.org>
119
120 * sysdeps/i386/fpu/libm-test-ulps: Update.
121
3aaeeca7
DM
1222013-07-02 David S. Miller <davem@davemloft.net>
123
124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
125
5314ed1a
MT
1262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
127
128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
129
67338156
JM
1302013-07-02 Joseph Myers <joseph@codesourcery.com>
131
132 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
134
1717da59
AK
1352013-07-02 Andi Kleen <ak@linux.intel.com>
136
137 * config.h.in (ENABLE_LOCK_ELISION): Add.
138 * configure.in (--enable-lock-elision): Add option.
139 * manual/install.texi: Document --enable lock elision.
140 * configure: Regenerate
141 * INSTALL: Regenerate.
142
1c81621c
L
1432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
144
145 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
146 SSE4.2 strcasecmp for libc.a.
147 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
148
77f01ab5
JM
1492013-07-02 Joseph Myers <joseph@codesourcery.com>
150
151 [BZ #13304]
152 * soft-fp/op-common.h (_FP_FMA): New macro.
153 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
154 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
155 (_FP_MUL_MEAT_1_imm): ... here.
156 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
157 (_FP_MUL_MEAT_1_wide): ... here.
158 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
159 (_FP_MUL_MEAT_1_hard): ... here.
160 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
161 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
162 (_FP_MUL_MEAT_2_wide): ... here.
163 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
164 (_FP_MUL_MEAT_2_wide_3mul): ... here.
165 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
166 (_FP_MUL_MEAT_2_gmp): ... here.
167 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
168 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
169 (_FP_MUL_MEAT_4_wide): ... here.
170 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
171 (_FP_MUL_MEAT_4_gmp): ... here.
172 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
173 (_FP_WFRACBITS_DW_S): Likewise.
174 (_FP_WFRACXBITS_DW_S): Likewise.
175 (_FP_HIGHBIT_DW_S): Likewise.
176 (FP_FMA_S): Likewise.
177 (_FP_FRAC_HIGH_DW_S): Likewise.
178 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
179 (_FP_WFRACBITS_DW_D): Likewise.
180 (_FP_WFRACXBITS_DW_D): Likewise.
181 (_FP_HIGHBIT_DW_D): Likewise.
182 (FP_FMA_D): Likewise.
183 (_FP_FRAC_HIGH_DW_D): Likewise.
184 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
185 (_FP_WFRACBITS_DW_E): Likewise.
186 (_FP_WFRACXBITS_DW_E): Likewise.
187 (_FP_HIGHBIT_DW_E): Likewise.
188 (FP_FMA_E): Likewise.
189 (_FP_FRAC_HIGH_DW_E): Likewise.
190 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
191 (_FP_WFRACBITS_DW_Q): Likewise.
192 (_FP_WFRACXBITS_DW_Q): Likewise.
193 (_FP_HIGHBIT_DW_Q): Likewise.
194 (FP_FMA_Q): Likewise.
195 (_FP_FRAC_HIGH_DW_Q): Likewise.
196 * soft-fp/fmasf4.c: New file.
197 * soft-fp/fmadf4.c: Likewise.
198 * soft-fp/fmatf4.c: Likewise.
199
6308fd9a
LD
2002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
201
202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
203 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
204 Silvermont.
205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
206 macro.
207 (index_Slow_SSE4_2): Likewise.
208 (index_Prefer_PMINUB_for_stringop): Likewise.
209 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
210 bit_Slow_SSE4_2 is set.
211 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
213
89cd9569
RA
2142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
215
216 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
217 rtld_global._dl_hwcap2.
218 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
219 POWER8.
220 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
221 POWER8 feature descriptions defined in _dl_hwcap2.
222 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
223 string handling for POWER8 feature bits.
224 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
225 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
226 _dl_powerpc_cap_flags.
227 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
228 * sysdeps/powerpc/rtld-global-offsets.sym
229 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
230 _dl_hwcap2 in the rtld_global_ro structure.
231
1ae8bfe0
RA
2322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
233
234 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
235 hardware capabilities in support of AT_HWCAP2.
236 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
237 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
238 GLRO(dl_hwcap2).
239 (_dl_show_auxv): Add support for calling _dl_procinfo to display
240 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
241 explicitly the unknown a_type display mechanism is used.
242 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
243 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
244 struct member.
245 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
246 to macro prototype for AT_HWCAP2 support.
247 * sysdeps/i386/dl-procinfo.h: Likewise.
248 * sysdeps/s390/dl-procinfo.h: Likewise.
249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
250 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
251 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
252 return -1 for unknown a_type display fallback.
253 * sysdeps/sparc/dl-procinfo.h: Likewise.
254 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
255 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
256
8fbec010
JM
2572013-06-28 Joseph Myers <joseph@codesourcery.com>
258
259 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
260 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
261
0432680e
PY
2622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
263
264 [BZ #12492]
265 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
266 mprotect making __stack_prot writable.
267
ce61a2ad
NF
2682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
269 Joseph Myers <joseph@codesourcery.com>
270
271 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
272 as being properly aligned.
273
f91f1c0f
MR
2742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
275
3d0f5d0c
MR
276 * dlfcn/modstatic5.c: New file.
277 * dlfcn/tststatic5.c: New file.
278 * dlfcn/Makefile (tests): Add tststatic5.
279 (tests-static): Likewise.
280 (modules-names): Add modstatic5.
281 (tststatic5-ENV): New variable.
282 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
283
f91f1c0f
MR
284 [BZ #15022]
285 * elf/dl-support.c (_dl_main_map): New variable.
286 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
287 (_dl_nns, _dl_load_adds): Set to 1.
288 (_dl_initial_searchlist): Refer to _dl_main_map.
289 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
290 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
291 call to _dl_get_origin.
292 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
293 around call_map.
294 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
295 * dlfcn/modstatic3.c: New file.
296 * dlfcn/tststatic3.c: New file.
297 * dlfcn/tststatic4.c: New file.
298 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
299 (tests-static): Likewise.
300 (modules-names): Add modstatic3.
301 (tststatic3-ENV, tststatic4-ENV): New variables.
302 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
303 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
304
cbe7d24b
JM
3052013-06-26 Joseph Myers <joseph@codesourcery.com>
306
307 * configure.in (CC): Require GCC version 4.4 or later.
308 * configure: Regenerated.
309 * manual/install.texi (Tools for Compilation): Update GCC version
310 requirement.
311 * INSTALL: Regenerated.
312
11b8a0e1
LD
3132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
314
315 [BZ #15674]
bb5bb87c
L
316 * string/test-memcmp.c (check2): New.
317 (main): Call check2.
318
11b8a0e1
LD
319 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
320
b0037103
MR
3212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
322
323 [BZ #15022]
324 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
325 over to...
326 (dl_open_worker) [!SHARED]: ... here.
327
c18c701d
RA
3282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
329
330 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
331
1d17fa5f
RH
3322013-06-25 Richard Henderson <rth@redhat.com>
333
334 * locale/programs/locarchive.c: Include <libc-internal.h>
335
8fcb833a
JM
3362013-06-25 Joseph Myers <joseph@codesourcery.com>
337
338 * manual/texinfo.tex: Update to version 2013-06-21.17, with
339 trailing whitespace removed.
340
17db6e8d
MF
3412013-06-24 Mike Frysinger <vapier@gentoo.org>
342
343 [BZ #10283]
17db6e8d
MF
344 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
345 * locale/programs/locarchive.c: Include libc-mmap.h.
346 (prepare_address_space): Take two new outputs (the mmap base and len).
347 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
348 values.
349 (create_archive): Declare new mmap base and len values for
350 prepare_address_space, and store the result in ah.
351 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
352 (enlarge_archive): If ah->mmap_base is not NULL, use that and
353 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
354 Declare new mmap base and len values for
355 prepare_address_space, and store the result in new_ah.
356 (open_archive): Declare new mmap base and len values for
357 prepare_address_space, and store the result in ah.
358 (close_archive): If ah->mmap_base is not NULL, use that and
359 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
360 * sysdeps/generic/libc-mmap.h: New file.
361
d605071e
MF
3622013-06-24 Mike Frysinger <vapier@gentoo.org>
363
364 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
365 (ALIGN_UP): Likewise.
366 (PTR_ALIGN_DOWN): Likewise.
367 (PTR_ALIGN_UP): Likewise.
368
2f063a6e
RA
3692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
370
371 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
372 entry mapped to PPC_PLATFORM_POWER8.
373 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
374 POWER8.
375 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
376 (_dl_string_platform): Add case for exporting platform position for
377 POWER8.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
379 search path to sysdeps/powerpc/powerpc32/power8 directory.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
381 search path to sysdeps/powerpc/powerpc64/power8 directory.
382 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
383 power7 directories.
384 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
385 power7 directories.
386
a31ee4b3
SP
3872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
388
a74ca98f
SP
389 * INSTALL: Regenerate.
390
a31ee4b3
SP
391 * nscd/connections.c (nscd_init): Fix comment.
392
695c378f
JM
3932013-06-22 Joseph Myers <joseph@codesourcery.com>
394
d8412221
JM
395 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
396
695c378f
JM
397 [BZ #15667]
398 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
399 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
400
d1d54715
MR
4012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
402
403 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
404 DL_DST_REQ_STATIC.
405 (DL_DST_REQ_STATIC): Remove macro.
406
8fdda7af
JM
4072013-06-21 Joseph Myers <joseph@codesourcery.com>
408
409 [BZ #7006]
410 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
411 with a shift of 0 bits.
412
f3bc5e5a
MR
4132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
414
415 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
416 $(tststatic-ENV).
417
be09e8c9
KK
4182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
419
420 [BZ #15655]
421 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
422
85c2e611
AZ
4232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
426 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
427 accepts -fno-tree-loop-distribute-patterns.
428 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
429 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
430 recursive call.
431 * string/memset.c (memset): Likewise.
432 * string/test-memmove.c (simple_memmove): Disable loop transformation
433 to library calls.
434 * string/test-memset.c (simple_memset): Likewise.
435 * benchtests/bench-memmove.c (simple_memmove): Likewise.
436 * benchtests/bench-memset.c (simple_memset): Likewise.
437 * configure: Regenerated.
438
c91e0825
JM
4392013-06-20 Joseph Myers <joseph@codesourcery.com>
440
b8c792af
JM
441 * math/test-misc.c (main): Ignore fesetround failure when failures
442 of subsequent rounding tests would be ignored.
443
c91e0825
JM
444 [BZ #15654]
445 * math/fedisblxcpt.c (fedisableexcept): Return 0.
446 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
447 * math/fegetenv.c (__fegetenv): Return 0.
448 * math/fegetexcept.c (fegetexcept): Return 0.
449 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
450 FE_TONEAREST.
451 * math/feholdexcpt.c (feholdexcept): Return 0.
452 * math/fesetenv.c (__fesetenv): Return 0.
453 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
454 argument FE_TONEAREST.
455 * math/feupdateenv.c (__feupdateenv): Return 0.
456 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
457
bfcacbde
RM
4582013-06-18 Roland McGrath <roland@hack.frob.com>
459
460 * elf/rtld-Rules (rtld-compile-command.S): New variable.
461 (rtld-compile-command.s, rtld-compile-command.c): New variables.
462 ($(objpfx)rtld-%.os rules): Use them.
463
e55a9b25
AZ
4642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
465
466 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
467 fields.
468
346d65b3
RM
4692013-06-17 Roland McGrath <roland@hack.frob.com>
470
12086fb4
RM
471 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
472 length of target pattern, then descending length of dependency pattern.
473 * configure.in (AWK): Require gawk 3.1.2 or newer.
474 * manual/install.texi (Tools for Compilation): Say that we do.
475 * configure: Regenerated.
476
346d65b3
RM
477 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
478 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
479 * scripts/sysd-rules.awk: ... this new script.
480 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
481 than a glob-style pattern.
482
1a846317
JM
4832013-06-17 Joseph Myers <joseph@codesourcery.com>
484
485 * math/test-misc.c (main): Do not treat incorrectly rounded
486 conversions as failure unless ROUNDING_TESTS passes.
487
8fc75e6f
JM
4882013-06-15 Joseph Myers <joseph@codesourcery.com>
489
3711a167
JM
490 [BZ #15631]
491 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
492 restore exception state around main square root computation, then
493 check for inexactness explicitly.
494
8fc75e6f
JM
495 * math/libm-test.inc (fma_test_data): Add another test.
496
61dd6208
SP
4972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
498
adf23d2c
SP
499 * manual/threads.texi (Non-POSIX Extensions): New document
500 node. Document pthread_getattr_default_np and
501 pthread_setattr_default_np.
502
61dd6208
SP
503 * Versions.def (libpthread): Add GLIBC_2.18.
504 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
506 Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
508 Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
510 Likewise.
511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
512 Likewise.
513 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
514 Likewise.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
516 Likewise.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
518 Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
520 Likewise.
521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
522 Likewise.
523
d086fc7b
LD
5242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
525
526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
527 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
528
747ef469
SP
5292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
530 H.J. Lu <hjl.tools@gmail.com>
531
532 [BZ #15627]
533 * sysdeps/x86_64/rtld-memset.c: Remove file.
534 * sysdeps/x86_64/rtld-memset.S: New file.
535
1b2feed2
JM
5362013-06-14 Joseph Myers <joseph@codesourcery.com>
537
538 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
539 (test_in_one_mode): Take arguments for whether the rounding mode
540 is supported for each floating-point type.
541 (do_test): Pass new arguments to test_in_one_mode using
542 ROUNDING_TESTS.
543
a58ad3f8
RM
5442013-06-13 Roland McGrath <roland@hack.frob.com>
545
546 * posix/tst-waitid.c (do_test): Distinguish different instances of
547 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
548 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
549 before entering the kernel for waitpid.
550
c204ab28
SP
5512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
552
553 * NEWS: Fix note on clock function precision. Text by Roland
554 McGrath.
555
f4a29fba
RM
5562013-06-13 Roland McGrath <roland@hack.frob.com>
557
558 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
559 it into place only when and if the sanity check passes.
560
1f24b9ad
JM
5612013-06-13 Joseph Myers <joseph@codesourcery.com>
562
563 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
564 output for whether conversion result is exact. Take argument
565 indicating whether type is IBM long double.
566 (round_for_all): Change need_exact field to ibm_ld.
567 * stdlib/tst-strtod-round.c (struct exactness): New type.
568 (struct test): Change bool ld_ok field to struct exactness exact.
569 (TEST): Update all definitions for change to field.
570 (tests): Regenerate array contents.
571 (test_in_one_mode): Take pointer to new field instead of old ld_ok
572 field value. Check for IBM long double here.
573 (do_test): Update calls to test_in_one_mode.
574
58206c68
SP
5752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
576
577 [BZ #12515]
578 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
579 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
580
2d6f4c5b 5812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
582
583 [BZ #15605]
584 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
585 generated by the compiler on loop optimizations.
586 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
587 general definitions.
588
94f2c076
JM
5892013-06-12 Joseph Myers <joseph@codesourcery.com>
590
591 * math/bug-nextafter.c: Include <math-tests.h>.
592 (main): Only test for exceptions if EXCEPTION_TESTS is true for
593 the relevant type.
594 * math/bug-nexttoward.c: Include <math-tests.h>.
595 (main): Only test for exceptions if EXCEPTION_TESTS is true for
596 the relevant type.
597 * math/test-misc.c: Include <math-tests.h>.
598 (main): Only test for exceptions if EXCEPTION_TESTS is true for
599 the relevant type.
600
e0e50a0a
AJ
6012013-06-12 Andreas Jaeger <aj@suse.de>
602
603 * po/ia.po: Update Interlingua translation from translation
604 project.
605
25061094
SP
6062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
607
608 * include/fenv.h: Include stdbool.h.
609 (struct rm_ctx): New structure.
610 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
611 Define macro.
612 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
613 (SET_RESTORE_ROUNDF): Likewise.
614 (SET_RESTORE_ROUNDL): Likewise.
615 (SET_RESTORE_ROUND_NOEX): Likewise.
616 (SET_RESTORE_ROUND_NOEXF): Likewise.
617 (SET_RESTORE_ROUND_NOEXL): Likewise.
618 (SET_RESTORE_ROUND_53BIT): Likewise.
619 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
620 (libc_feresetround_noexf_ctx): Likewise.
621 (libc_feresetround_noexl_ctx): Likewise.
622 (libc_feholdsetround_53bit_ctx): Likewise.
623 (libc_feresetround_53bit_ctx): Likewise.
624 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
625 (libc_feholdexcept_setround_sse_ctx): New function.
626 (libc_fesetenv_sse_ctx): Likewise.
627 (libc_feupdateenv_sse_ctx): Likewise.
628 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
629 (libc_feholdexcept_setround_387_ctx): Likewise.
630 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
631 (libc_feholdsetround_387_prec_ctx): Likewise.
632 (libc_feholdsetround_387_ctx): Likewise.
633 (libc_feholdsetround_387_53bit_ctx): Likewise.
634 (libc_feholdsetround_sse_ctx): Likewise.
635 (libc_feresetround_sse_ctx): Likewise.
636 (libc_feresetround_387_ctx): Likewise.
637 (libc_feupdateenv_387_ctx): Likewise.
638 (libc_feholdexcept_setroundf_ctx): Define macro.
639 (libc_fesetenvf_ctx): Likewise.
640 (libc_feupdateenvf_ctx): Likewise.
641 (libc_feholdsetroundf_ctx): Likewise.
642 (libc_feresetroundf_ctx): Likewise.
643 (libc_feholdexcept_setround_ctx): Likewise.
644 (libc_fesetenv_ctx): Likewise.
645 (libc_feupdateenv_ctx): Likewise.
646 (libc_feholdsetround_ctx): Likewise.
647 (libc_feresetround_ctx): Likewise.
648 (libc_feholdexcept_setroundl_ctx): Likewise.
649 (libc_feupdateenvl_ctx): Likewise.
650 (libc_feholdsetroundl_ctx): Likewise.
651 (libc_feresetroundl_ctx): Likewise.
652 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
653 (libc_feresetround_53bit_ctx): Likewise.
654
59b30555
SP
6552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * locale/iso-639.def: Convert to UTF-8.
658
f1d73d30
JM
6592013-06-11 Joseph Myers <joseph@codesourcery.com>
660
661 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
662 (EXCEPTION_TESTS_double): Likewise.
663 (EXCEPTION_TESTS_long_double): Likewise.
664 (EXCEPTION_TESTS): Likewise.
665 * math/libm-test.inc (test_exceptions): Only test exceptions if
666 EXCEPTION_TESTS (FLOAT).
667
94aca5e7
SP
6682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
669
670 * benchtests/Makefile (string-bench): Add strcpy_chk and
671 stpcpy_chk.
672 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
673 * benchtests/bench-stpcpy_chk.c: New file.
674 * benchtests/bench-strcpy_chk-ifunc.c: New file.
675 * benchtests/bench-strcpy_chk.c: New file.
676 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
677 code.
678 (do_test): Likewise.
679
fac0c5f2
RA
6802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
681
682 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
683 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
684 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
685 with tabs where appropriate.
686 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
687 dl-procinfo.h.
688 [PPC_PLATFORM_PPC440]: Likewise.
689 [PPC_PLATFORM_PPC464]: Likewise.
690 [PPC_PLATFORM_PPC476]: Likewise.
691 (_dl_string_platform): Add support for detecting ppc405, ppc440,
692 ppc464, and ppc476 platform strings merging from ports/
693 dl-procinfo.h.
694
f22bc486
AS
6952013-06-11 Andreas Schwab <schwab@suse.de>
696
697 [BZ #14991]
698 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
699 (from_ucs4_idx): Regenerate.
700 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
701 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
702 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
703 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
704 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
705 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
706 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
707 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
708 from FROM_LOOP and TO_LOOP specific macros.
709 (BODY): Handle combining characters.
710 * iconvdata/BIG5HKSCS.irreversible: Update.
711 * iconvdata/BIG5HKSCS.precomposed: New file.
712 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
713 characters.
714 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
715
c1f75dc3
SP
7162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
717
4eacded2
SP
718 * include/sys/time.h: Fix indentation and add copyright header.
719
fec799f8
SP
720 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
721 (do_test): Likewise.
722 * string/test-memchr.c (do_one_test): Likewise.
723 (do_test): Likewise.
724 * string/test-memcmp.c (do_one_test): Likewise.
725 (do_test): Likewise.
726 * string/test-memcpy.c (do_one_test): Likewise.
727 (do_test): Likewise.
728 * string/test-memmem.c (do_one_test): Likewise.
729 (do_test): Likewise.
730 (do_random_tests): Likewise.
731 * string/test-memmove.c (do_one_test): Likewise.
732 (do_test): Likewise.
733 * string/test-memset.c (do_one_test): Likewise.
734 (do_test): Likewise.
735 * string/test-rawmemchr.c (do_one_test): Likewise.
736 (do_test): Likewise.
737 * string/test-strcasecmp.c (do_one_test): Likewise.
738 (do_test): Likewise.
739 * string/test-strcasestr.c (do_one_test): Likewise.
740 (do_test): Likewise.
741 * string/test-strcat.c (do_one_test): Likewise.
742 (do_test): Likewise.
743 * string/test-strchr.c (do_one_test): Likewise.
744 (do_test): Likewise.
745 * string/test-strcmp.c (do_one_test): Likewise.
746 (do_test): Likewise.
747 * string/test-strcpy.c (do_one_test): Likewise.
748 (do_test): Likewise.
749 * string/test-string.h: Likewise.
750 (test_init): Likewise.
751 * string/test-strlen.c (do_one_test): Likewise.
752 (do_test): Likewise.
753 * string/test-strncasecmp.c (do_one_test): Likewise.
754 (do_test): Likewise.
755 * string/test-strncat.c (do_one_test): Likewise.
756 (do_test): Likewise.
757 * string/test-strncmp.c (do_one_test): Likewise.
758 (do_test_limit): Likewise.
759 (do_test): Likewise.
760 * string/test-strncpy.c (do_one_test): Likewise.
761 (do_test): Likewise.
762 * string/test-strnlen.c (do_one_test): Likewise.
763 (do_test): Likewise.
764 * string/test-strpbrk.c (do_one_test): Likewise.
765 (do_test): Likewise.
766 * string/test-strrchr.c (do_one_test): Likewise.
767 (do_test): Likewise.
768 * string/test-strspn.c (do_one_test): Likewise.
769 (do_test): Likewise.
770 * string/test-strstr.c (do_one_test): Likewise.
771 (do_test): Likewise.
772
97020474
SP
773 * benchtests/Makefile (string-bench): Add string benchmarks.
774 * benchtests/bench-bcopy-ifunc.c: New file.
775 * benchtests/bench-bcopy.c: New file.
776 * benchtests/bench-bzero-ifunc.c: New file.
777 * benchtests/bench-bzero.c: New file.
778 * benchtests/bench-memccpy-ifunc.c: New file.
779 * benchtests/bench-memccpy.c: New file.
780 * benchtests/bench-memchr-ifunc.c: New file.
781 * benchtests/bench-memchr.c: New file.
782 * benchtests/bench-memcmp-ifunc.c: New file.
783 * benchtests/bench-memcmp.c: New file.
784 * benchtests/bench-memmem-ifunc.c: New file.
785 * benchtests/bench-memmem.c: New file.
786 * benchtests/bench-memmove-ifunc.c: New file.
787 * benchtests/bench-memmove.c: New file.
788 * benchtests/bench-mempcpy-ifunc.c: New file.
789 * benchtests/bench-mempcpy.c: New file.
790 * benchtests/bench-memset-ifunc.c: New file.
791 * benchtests/bench-memset.c: New file.
792 * benchtests/bench-rawmemchr-ifunc.c: New file.
793 * benchtests/bench-rawmemchr.c: New file.
794 * benchtests/bench-stpcpy-ifunc.c: New file.
795 * benchtests/bench-stpcpy.c: New file.
796 * benchtests/bench-stpncpy-ifunc.c: New file.
797 * benchtests/bench-stpncpy.c: New file.
798 * benchtests/bench-strcasecmp-ifunc.c: New file.
799 * benchtests/bench-strcasecmp.c: New file.
800 * benchtests/bench-strcasestr-ifunc.c: New file.
801 * benchtests/bench-strcasestr.c: New file.
802 * benchtests/bench-strcat-ifunc.c: New file.
803 * benchtests/bench-strcat.c: New file.
804 * benchtests/bench-strchr-ifunc.c: New file.
805 * benchtests/bench-strchr.c: New file.
806 * benchtests/bench-strchrnul-ifunc.c: New file.
807 * benchtests/bench-strchrnul.c: New file.
808 * benchtests/bench-strcmp-ifunc.c: New file.
809 * benchtests/bench-strcmp.c: New file.
810 * benchtests/bench-strcpy-ifunc.c: New file.
811 * benchtests/bench-strcpy.c: New file.
812 * benchtests/bench-strcspn-ifunc.c: New file.
813 * benchtests/bench-strcspn.c: New file.
814 * benchtests/bench-strlen-ifunc.c: New file.
815 * benchtests/bench-strlen.c: New file.
816 * benchtests/bench-strncasecmp-ifunc.c: New file.
817 * benchtests/bench-strncasecmp.c: New file.
818 * benchtests/bench-strncat-ifunc.c: New file.
819 * benchtests/bench-strncat.c: New file.
820 * benchtests/bench-strncmp-ifunc.c: New file.
821 * benchtests/bench-strncmp.c: New file.
822 * benchtests/bench-strncpy-ifunc.c: New file.
823 * benchtests/bench-strncpy.c: New file.
824 * benchtests/bench-strnlen-ifunc.c: New file.
825 * benchtests/bench-strnlen.c: New file.
826 * benchtests/bench-strpbrk-ifunc.c: New file.
827 * benchtests/bench-strpbrk.c: New file.
828 * benchtests/bench-strrchr-ifunc.c: New file.
829 * benchtests/bench-strrchr.c: New file.
830 * benchtests/bench-strspn-ifunc.c: New file.
831 * benchtests/bench-strspn.c: New file.
832 * benchtests/bench-strstr-ifunc.c: New file.
833 * benchtests/bench-strstr.c: New file.
834
c1f75dc3
SP
835 * benchtests/Makefile: Disable parallel execution of targets.
836 (string-bench): Add memcpy.
837 (benchset): New variable to store a list of benchmark sets.
838 (bench-func): Renamed from bench.
839 (bench-set): New target.
840 (bench): Depend on bench-func and bench-set.
841 * benchtests/README: Add section on benchmark sets.
842 * benchtests/bench-memcpy-ifunc.c: New file.
843 * benchtests/bench-memcpy.c: New file.
844 * benchtests/bench-string.h: New file.
845
50fd745b
AS
8462013-06-11 Andreas Schwab <schwab@suse.de>
847
848 [BZ #15577]
849 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
850 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
851 values in the triple.
852 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
853 terminator in the group key.
854
3ee7e9fe
AJ
8552013-06-11 Andreas Jaeger <aj@suse.de>
856
857 * po/zh_TW.po: Update Chinese (traditional) translation from
858 translation project.
859
89fb6835
SP
8602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
861
862 * include/time.h (__clock_gettime): Add libc_hidden_proto.
863 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
864 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
866 (clock_getcpuclockid): Likewise.
867 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
868 Add weak_alias and libc_hidden_def.
869 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
870 * rt/clock_gettime.c (clock_gettime): Rename to
871 __clock_gettime. Add weak_alias and libc_hidden_def.
872 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
873 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
874 __clock_nanosleep. Add weak_alias and libc_hidden_def.
875 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
876 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
877 Likewise.
878 * rt/clock_settime.c (clock_settime): Rename to
879 __clock_settime. Add weak_alias and libc_hidden_def.
880 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
881
0efa6f8b
JM
8822013-06-10 Joseph Myers <joseph@codesourcery.com>
883
b8c61b4b
JM
884 * mach/err_boot.sub: Remove trailing whitespace.
885 * mach/err_ipc.sub: Likewise.
886 * mach/err_mach.sub: Likewise.
887
0efa6f8b
JM
888 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
889 (ROUNDING_TESTS_double): Likewise.
890 (ROUNDING_TESTS_long_double): Likewise.
891 (ROUNDING_TESTS): Likewise.
892 * math/libm-test.inc: Include <math-tests.h>.
893 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
894 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
895 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
896 (IF_ROUND_INIT_FE_UPWARD): Likewise.
897
50b818bf
SP
8982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
899
900 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
901 of assigning.
902
60d2f8f3
JM
9032013-06-08 Joseph Myers <joseph@codesourcery.com>
904
4902d2c3
JM
905 * sysdeps/gnu/errlist.awk: Do not generate space at end of
906 otherwise empty TRANS lines.
907 * sysdeps/gnu/errlist.c: Regenerated.
908
60d2f8f3
JM
909 * catgets/gencat.c (error_print): Use (void) in function
910 definition.
911 * crypt/crypt_util.c (__init_des): Likewise.
912 * crypt/speeds.c (Stop): Likewise.
913 (main): Likewise.
914 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
915 * inet/ruserpass.c (token): Likewise.
916 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
917 * intl/localealias.c (extend_alias_table): Likewise.
918 * intl/plural-exp.c (init_germanic_plural): Likewise.
919 * libio/fcloseall.c (__fcloseall): Likewise.
920 * libio/genops.c (_IO_flush_all): Likewise.
921 (_IO_flush_all_linebuffered): Likewise.
922 (_IO_cleanup): Likewise.
923 (_IO_iter_begin): Likewise.
924 (_IO_iter_end): Likewise.
925 (_IO_list_lock): Likewise.
926 (_IO_list_unlock): Likewise.
927 (_IO_list_resetlock): Likewise.
928 * libio/getchar.c (getchar): Likewise.
929 * libio/getchar_u.c (getchar_unlocked): Likewise.
930 * libio/getwchar.c (getwchar): Likewise.
931 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
932 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
933 * login/getpt.c (__getpt): Likewise.
934 * login/tst-utmp.c (main): Likewise.
935 * malloc/hooks.c (__malloc_check_init): Likewise.
936 * malloc/malloc.c (__malloc_stats): Likewise.
937 * malloc/mtrace.c (tr_break): Likewise.
938 (mtrace): Likewise.
939 (muntrace): Likewise.
940 * misc/fstab.c (endfsent): Likewise.
941 * misc/getclktck.c (__getclktck): Likewise.
942 * misc/getdtsz.c (__getdtablesize): Likewise.
943 * misc/gethostid.c (gethostid): Likewise.
944 * misc/getpagesize.c (__getpagesize): Likewise.
945 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
946 (__get_nprocs): Likewise.
947 (__get_phys_pages): Likewise.
948 (__get_avphys_pages): Likewise.
949 * misc/getttyent.c (getttyent): Likewise.
950 (setttyent): Likewise.
951 (endttyent): Likewise.
952 * misc/getusershell.c (getusershell): Likewise.
953 (endusershell): Likewise.
954 (setusershell): Likewise.
955 (initshells): Likewise.
956 * misc/hsearch.c (__hdestroy): Likewise.
957 * misc/sync.c (sync): Likewise.
958 * misc/syslog.c (closelog_internal): Likewise.
959 (closelog): Likewise.
960 * misc/ttyslot.c (ttyslot): Likewise.
961 * misc/vhangup.c (vhangup): Likewise.
962 * posix/fork.c (__fork): Likewise.
963 * posix/getegid.c (__getegid): Likewise.
964 * posix/geteuid.c (__geteuid): Likewise.
965 * posix/getgid.c (__getgid): Likewise.
966 * posix/getpid.c (__getpid): Likewise.
967 * posix/getppid.c (__getppid): Likewise.
968 * posix/getuid.c (__getuid): Likewise.
969 * posix/pause.c (pause): Likewise.
970 * posix/setpgrp.c (setpgrp): Likewise.
971 * posix/setsid.c (__setsid): Likewise.
972 * posix/test-vfork.c (noop): Likewise.
973 * resolv/gethnamaddr.c (_endhtent): Likewise.
974 (_gethtent): Likewise.
975 (ht_endhostent): Likewise.
976 (gethostent): Likewise.
977 (dns_service): Likewise.
978 * stdlib/drand48.c (drand48): Likewise.
979 * stdlib/lrand48.c (lrand48): Likewise.
980 * stdlib/mrand48.c (mrand48): Likewise.
981 * stdlib/rand.c (rand): Likewise.
982 * stdlib/random.c (__random): Likewise.
983 * stdlib/setenv.c (clearenv): Likewise.
984 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
985 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
986 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
987 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
988 (__get_nprocs): Likewise.
989 (__get_phys_pages): Likewise.
990 (__get_avphys_pages): Likewise.
991 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
992 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
993 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
994 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
995 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
996 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
997 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
998 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
999 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1000 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1001 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1002 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1003 * sysdeps/posix/clock.c (clock): Likewise.
1004 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1005 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1006 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1007 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1008 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1010 (__get_nprocs_conf): Likewise.
1011 (__get_phys_pages): Likewise.
1012 (__get_avphys_pages): Likewise.
1013 * time/clock.c (clock): Likewise.
1014 * time/tzset.c (__tzname_max): Likewise.
1015
2e09a79a
JM
10162013-06-07 Joseph Myers <joseph@codesourcery.com>
1017
1018 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1019 (__bswap_32): Do not use "register".
1020 * crypt/crypt.c (_ufc_doit_r): Likewise.
1021 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1022 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1023 * gmon/gmon.c (__monstartup): Likewise.
1024 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1025 * hurd/hurdmalloc.c (more_memory): Likewise.
1026 (malloc): Likewise.
1027 (free): Likewise.
1028 (realloc): Likewise.
1029 (malloc_fork_prepare): Likewise.
1030 (malloc_fork_parent): Likewise.
1031 (malloc_fork_child): Likewise.
1032 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1033 (_svcauth_des): Likewise.
1034 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1035 * inet/inet_net.c (inet_network): Likewise.
1036 * inet/inet_netof.c (inet_netof): Likewise.
1037 * inet/rcmd.c (__validuser2_sa): Likewise.
1038 * io/fts.c (fts_open): Likewise.
1039 (fts_load): Likewise.
1040 (fts_close): Likewise.
1041 (fts_read): Likewise.
1042 (fts_children): Likewise.
1043 (fts_build): Likewise.
1044 (fts_stat): Likewise.
1045 (fts_sort): Likewise.
1046 (fts_alloc): Likewise.
1047 (fts_lfree): Likewise.
1048 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1049 (_IO_file_xsgetn): Likewise.
1050 (_IO_file_xsgetn_mmap): Likewise.
1051 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1052 (_IO_cookie_write): Likewise.
1053 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1054 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1055 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1056 * malloc/obstack.c (_obstack_begin): Likewise.
1057 (_obstack_begin_1): Likewise.
1058 (_obstack_newchunk): Likewise.
1059 (_obstack_allocated_p): Likewise.
1060 (obstack_free): Likewise.
1061 (_obstack_memory_used): Likewise.
1062 * misc/getttyent.c (getttynam): Likewise.
1063 (getttyent): Likewise.
1064 (skip): Likewise.
1065 (value): Likewise.
1066 * misc/getusershell.c (initshells): Likewise.
1067 * misc/syslog.c (__vsyslog_chk): Likewise.
1068 * misc/ttyslot.c (ttyslot): Likewise.
1069 * nis/nis_hash.c (__nis_hash): Likewise.
1070 * posix/fnmatch_loop.c (FCT): Likewise.
1071 * posix/getconf.c (print_all): Likewise.
1072 (main): Likewise.
1073 * posix/getopt.c (exchange): Likewise.
1074 * posix/glob.c (globfree): Likewise.
1075 (prefix_array): Likewise.
1076 (__glob_pattern_type): Likewise.
1077 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1078 (NS_GET32): Likewise.
1079 (NS_PUT16): Likewise.
1080 (NS_PUT32): Likewise.
1081 * resolv/gethnamaddr.c (getanswer): Likewise.
1082 (gethostbyname2): Likewise.
1083 (gethostbyaddr): Likewise.
1084 (_gethtent): Likewise.
1085 (_gethtbyname2): Likewise.
1086 (_gethtbyaddr): Likewise.
1087 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1088 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1089 * resolv/res_init.c (__res_vinit): Likewise.
1090 (net_mask): Likewise.
1091 * resolv/res_mkquery.c (outchar): Likewise.
1092 (PRINT): Likewise.
1093 * stdio-common/printf_fp.c (outchar): Likewise.
1094 (PRINT): Likewise.
1095 * stdio-common/printf_fphex.c (outchar): Likewise.
1096 (PRINT): Likewise.
1097 * stdio-common/printf_size.c (outchar): Likewise.
1098 (PRINT): Likewise.
1099 * stdio-common/test_rdwr.c (main): Likewise.
1100 * stdio-common/tfformat.c (matches): Likewise.
1101 * stdio-common/vfprintf.c (outchar): Likewise.
1102 (printf_unknown): Likewise.
1103 (buffered_vfprintf): Likewise.
1104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1105 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1106 (ReadFile): Likewise.
1107 * stdlib/qsort.c (SWAP): Likewise.
1108 (_quicksort): Likewise.
1109 * stdlib/setenv.c (__add_to_environ): Likewise.
1110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1111 * stdlib/strtol_l.c (__strtol_l): Likewise.
1112 * stdlib/tst-strtod.c (main): Likewise.
1113 * stdlib/tst-strtol.c (main): Likewise.
1114 * stdlib/tst-strtoll.c (main): Likewise.
1115 * string/bits/string2.h (__strcmp_cc): Likewise.
1116 (__strcmp_cg): Likewise.
1117 (__strcspn_c1): Likewise.
1118 (__strcspn_c2): Likewise.
1119 (__strcspn_c3): Likewise.
1120 (__strspn_c1): Likewise.
1121 (__strspn_c2): Likewise.
1122 (__strspn_c3): Likewise.
1123 (__strsep_1c): Likewise.
1124 (__strsep_2c): Likewise.
1125 (__strsep_3c): Likewise.
1126 * string/memccpy.c (__memccpy): Likewise.
1127 * string/stpcpy.c (__stpcpy): Likewise.
1128 * string/strcmp.c (strcmp): Likewise.
1129 * string/strrchr.c (strrchr): Likewise.
1130 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1131 Likewise.
1132 * sysdeps/mach/hurd/getcwd.c
1133 (_hurd_canonicalize_directory_name_internal): Likewise.
1134 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1135 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1136 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1137 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1138 Likewise, in both definitions.
1139 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1140 definitions.
1141 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1142 64] (__bswap_64): Likewise.
1143 * time/test_time.c (main): Likewise.
1144 * time/tzfile.c (__tzfile_read): Likewise.
1145 (__tzfile_compute): Likewise.
1146 * time/tzset.c (__tzset_parse_tz): Likewise.
1147 (tzset_internal): Likewise.
1148 (compute_change): Likewise.
1149 * wcsmbs/wcscat.c (__wcscat): Likewise.
1150 * wcsmbs/wcschr.c (wcschr): Likewise.
1151 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1152 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1153 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1154 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1155 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1156 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1157 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1158 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1159 * wcsmbs/wmemset.c (wmemset): Likewise.
1160
9e54314b
JM
11612013-06-06 Joseph Myers <joseph@codesourcery.com>
1162
1163 * scripts/config.guess: Update to version 2013-05-16.
1164 * scripts/config.sub: Update to version 2013-04-24.
1165 * scripts/install-sh: Update to version 2011-11-20.07.
1166 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1167 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1168
350635a5
OB
11692013-06-06 Ondřej Bílka <neleai@seznam.cz>
1170
1171 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1172 * elf/sln.c: Likewise.
1173 * hurd/hurd/ioctl.h: Likewise.
1174 * hurd/hurdmalloc.c: Likewise.
1175 * hurd/xattr.c: Likewise.
1176 * include/shlib-compat.h: Likewise.
1177 * inet/ruserpass.c: Likewise.
1178 * libio/iofgets_u.c: Likewise.
1179 * libio/iofgetws_u.c: Likewise.
1180 * locale/programs/ld-identification.c: Likewise.
1181 * locale/programs/ld-time.c: Likewise.
1182 * mach/msg-destroy.c: Likewise.
1183 * nss/nss_files/files-netgrp.c: Likewise.
1184 * resolv/res_data.c: Likewise.
1185 * soft-fp/op-1.h: Likewise.
1186 * soft-fp/op-2.h: Likewise.
1187 * soft-fp/op-4.h: Likewise.
1188 * soft-fp/op-common.h: Likewise.
1189 * stdio-common/printf_fphex.c: Likewise.
1190 * stdlib/strtod_l.c: Likewise.
1191 * sunrpc/rpc/clnt.h: Likewise.
1192 * sysdeps/generic/framestate.c: Likewise.
1193 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1194 * sysdeps/i386/bsd-setjmp.S: Likewise.
1195 * sysdeps/i386/__longjmp.S: Likewise.
1196 * sysdeps/i386/setjmp.S: Likewise.
1197 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1215 * sysdeps/ieee754/support.c: Likewise.
1216 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1217 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1218 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1219 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1220 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1221 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1222 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1223 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1224 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1225 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1226 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1227 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1228 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1229 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1230 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1231 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1232 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1234
44a988af
OB
12352013-06-05 Ondřej Bílka <neleai@seznam.cz>
1236
25506f09 1237 * posix/transbug.c: Remove executable mode.
44a988af 1238
9c84384c
JM
12392013-06-05 Joseph Myers <joseph@codesourcery.com>
1240
1241 * crypt/speeds.c: Remove trailing whitespace.
1242 * dlfcn/default.c: Likewise.
1243 * elf/ifuncdep2.c: Likewise.
1244 * elf/ifuncmain1.c: Likewise.
1245 * elf/ifuncmain1vis.c: Likewise.
1246 * elf/testobj.h: Likewise.
1247 * elf/tst-stackguard1.c: Likewise.
1248 * gmon/sys/gmon.h: Likewise.
1249 * hurd/hurdmsg.c: Likewise.
1250 * hurd/new-fd.c: Likewise.
1251 * hurd/ports-get.c: Likewise.
1252 * iconvdata/ibm1008_420.c: Likewise.
1253 * inet/tst-getni1.c: Likewise.
1254 * inet/tst-getni2.c: Likewise.
1255 * libio/ioungetc.c: Likewise.
1256 * libio/wfiledoalloc.c: Likewise.
1257 * manual/libm-err-tab.pl: Likewise.
1258 * math/w_dremf.c: Likewise.
1259 * misc/ftruncate.c: Likewise.
1260 * posix/bug-glob2.c: Likewise.
1261 * posix/tst-pcre.c: Likewise.
1262 * posix/wait4.c: Likewise.
1263 * resolv/README: Likewise.
1264 * resolv/res_debug.h: Likewise.
1265 * resolv/tst-inet_ntop.c: Likewise.
1266 * setjmp/bug269-setjmp.c: Likewise.
1267 * soft-fp/extended.h: Likewise.
1268 * soft-fp/op-1.h: Likewise.
1269 * soft-fp/op-2.h: Likewise.
1270 * soft-fp/op-4.h: Likewise.
1271 * soft-fp/op-8.h: Likewise.
1272 * soft-fp/testit.c: Likewise.
1273 * stdio-common/bug16.c: Likewise.
1274 * stdlib/random.c: Likewise.
1275 * sunrpc/rpcsvc/rquota.x: Likewise.
1276 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1283 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1284 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1285 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1305 * sysdeps/ieee754/s_lib_version.c: Likewise.
1306 * sysdeps/mach/hurd/check_fds.c: Likewise.
1307 * sysdeps/mach/hurd/getsockname.c: Likewise.
1308 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1309 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1310 * sysdeps/powerpc/bits/link.h: Likewise.
1311 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1312 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1313 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1314 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1315 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1316 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1317 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1318 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1319 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1320 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1321 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1323 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1324 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1325 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1326 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1327 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1328 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1331 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1332 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1334 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1335 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1345 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1347 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1348 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1349 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1350 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1351 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1354 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1355 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1356 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1358 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1359 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1363 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1364 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1365 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1367 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1370 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1371 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1372 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1373 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1374 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1375 * sysdeps/powerpc/sysdep.h: Likewise.
1376 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1377 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1378 * sysdeps/sh/dl-trampoline.S: Likewise.
1379 * sysdeps/sh/memset.S: Likewise.
1380 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1381 * sysdeps/sh/strlen.S: Likewise.
1382 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1383 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1384 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1385 * sysdeps/sparc/sparc32/rem.S: Likewise.
1386 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1387 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1388 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1389 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1390 * sysdeps/sparc/sparc32/urem.S: Likewise.
1391 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1392 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1393 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1394 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1396 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1397 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1398 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1399 * sysdeps/unix/bsd/times.c: Likewise.
1400 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1401 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1408 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1409 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1410 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1412 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1413 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1414 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1415 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1417 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1418 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1419 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1420 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1421 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1422 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1423 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1424 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1425 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1426 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1428 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1429 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1430 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1431 * sysdeps/x86_64/strcspn.S: Likewise.
1432
869378a5
RA
14332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1434
1435 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1436 generated file. Regenerate properly from gen-translit.pl.
1437 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1438 locale/C-translit.h.
1439
840e2943
AS
14402013-06-05 Andreas Schwab <schwab@suse.de>
1441
1442 [BZ #15100]
1443 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1444 week as 6 instead of -1.
1445 * time/tst-strptime.c (day_tests): Add test case.
1446
4c60cb0c
SP
14472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1448
1449 * sysdeps/generic/math_private.h
1450 (libc_feholdexcept_setround_53bit): Replace with
1451 libc_feholdsetround_53bit.
1452 (libc_feupdateenv_53bit): Replace with
1453 libc_feresetround_53bit.
1454 (SET_RESTORE_ROUND_53BIT): Adjust.
1455
d180203e
SP
14562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
96df079a
SP
1458 * string/test-strchrnul.c: Add copyright header.
1459
d180203e
SP
1460 * posix/tst-getaddrinfo4.c: Increase test timeout.
1461
8b0ccb2d
CD
14622013-06-03 Carlos O'Donell <carlos@redhat.com>
1463
1464 [BZ #15536]
1465 * math/libm-test.inc (MAX_EXP): Remove
1466 (MIN_EXP): Define.
1467 (ulp): Use MIN_EXP - MANT_DIG.
1468 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1469
3b3c4d40
CD
14702013-05-31 Carlos O'Donell <carlos@redhat.com>
1471
1472 * po/be.po: Revert last change.
1473 * po/zh_CN.po: Likewise.
1474 * po/header.pot: Likewise.
1475
fab7ce3f
JM
14762013-05-31 Joseph Myers <joseph@codesourcery.com>
1477
1478 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1479 link-libc-deps to empty as target-specific variable.
1480 * Makerules (link-libc-args): New variable.
1481 (libc-for-link): Likewise.
1482 (link-libc-deps): Likewise.
1483 (lib%.so): Depend on $(link-libc-deps). Link with
1484 $(link-libc-args).
1485 (build-module): Link with $(link-libc-args).
1486 (build-module-asneeded): Likewise.
1487 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1488 list of objects.
1489 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1490 target-specific variable.
1491 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1492 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1493 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1494 libc.
1495 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1496 libc and ld.so.
1497 ($(objpfx)libpcprofile.so): Likewise.
1498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1499 libc_nonshared.a.
1500 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1501 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1502 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1503 $(link-libc-deps).
1504 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1505 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1506 * login/Makefile ($(objpfx)libutil.so): Likewise.
1507 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1508 * math/Makefile ($(objpfx)libm.so): Likewise.
1509 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1510 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1511 variable instead of depending directly on libc.
1512 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1513 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1514 $(link-libc-deps).
1515 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1516 libc.
1517 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1518 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1519 ($(objpfx)libanl.so): Likewise.
1520 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1521 ld.so.
1522 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1523 $(link-libc-deps).
1524 * sysdeps/i386/fpu/Makefile: Remove file.
1525 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1526 ($(objpfx)libm.so): Remove dependency on ld.so.
1527
eca5920c
PF
15282013-05-30 Patsy Franklin <pfrankli@redhat.com>
1529
1530 [BZ # 15553]
1531 * nis/yp_xdr.c (XDRMAXNAME): Define.
1532 (XDRMAXRECORD): Define.
1533 (xdr_domainname): Use XDRMAXNAME.
1534 (xdr_mapname): Likewise.
1535 (xdr_peername): Likewise.
1536 (xdr_keydat): Use XDRMAXRECORD.
1537 (xdr_valdat): Likewise.
1538
15392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1540
1541 [BZ #14256]
1542 * manual/errno.texi (ESTALE): Update to account for more than
1543 just NFS file systems.
1544 * sysdeps/gnu/errlist.c: Regenerated.
1545
b9375348
SP
15462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1547
1548 [BZ #15465]
1549 * elf/Makefile (tests): Add tst-null-argv.
1550 (modules-names): Add tst-null-argv-lib.
1551 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1552 (tst-null-argv-ENV): Set environment for tst-null-argv.
1553 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1554 (RTLD_PROGNAME): New macro.
1555 * elf/tst-null-argv.c: New test case.
1556 * elf/tst-null-argv-lib.c: Library for test case.
1557 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1558 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1559 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1560 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1561 * elf/dl-init.c (call_init): Likewise.
1562 (_dl_init): Likewise.
1563 * elf/dl-load.c (print_search_path): Likewise.
1564 (_dl_map_object): Likewise.
1565 * elf/dl-lookup.c (do_lookup_x): Likewise.
1566 (add_dependency): Likewise.
1567 (_dl_lookup_symbol_x): Likewise.
1568 (_dl_debug_bindings): Likewise.
1569 * elf/dl-open.c (_dl_show_scope): Likewise.
1570 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1571 * elf/dl-version.c (match_symbol): Likewise.
1572 (_dl_check_map_versions): Likewise.
1573 * elf/rtld.c (dl_main): Likewise.
1574 (print_unresolved): Use RTLD_PROGNAME.
1575 (print_missing_version): Likewise.
1576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1577 (elf_machine_rela): Likewise.
1578 * sysdeps/powerpc/powerpc32/dl-machine.c
1579 (__process_machine_rela): Likewise.
1580 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1581 Likewise.
1582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1583 Likewise.
1584 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1585 Likewise.
1586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1588 Likewise.
1589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1590 Likewise.
1591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1592
8a9f20c8
CD
15932013-05-28 Carlos O'Donell <carlos@redhat.com>
1594
1595 * po/be.po: Add descriptive title.
1596 * po/zh_CN.po: Likewise.
1597 * po/header.pot: Likewise.
1598
0e60d68e
MF
15992013-05-28 Mike Frysinger <vapier@gentoo.org>
1600
1601 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1602 error message.
1603 (enlarge_archive): Likewise.
1604
56b672e9
BN
16052013-05-28 Ben North <ben@redfrontdoor.org>
1606
1607 * manual/arith.texi (frexp): It is the magnitude of the return
1608 value which lies in [0.5, 1), not the return value itself.
1609
5e056687
AZ
16102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611
1612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1613
2b66ef5d
TS
16142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1615
528c2405
TS
1616 * stdio-common/bug26.c (main): Correct fscanf template.
1617
07b4c13d
TS
1618 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1619 declare _dl_skip_args.
1620
ec9dd97c
TS
1621 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1622 Don't declare.
1623
2b66ef5d
TS
1624 * manual/platform.texi: Add missing @end deftypefun.
1625
4f8dfe27
JM
16262013-05-24 Joseph Myers <joseph@codesourcery.com>
1627
0323d086
JM
1628 [BZ #15529]
1629 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1630 bit of mantissa of 2^16382.
1631 * math/libm-test.inc (hypot_test_data): Add more tests.
1632
dd4259b9
JM
1633 * math/libm-test.inc: Add drem and pow10 to list of tested
1634 functions.
1635 (pow10_test): New function.
1636 (drem_test): Likewise.
1637 (drem_test_tonearest): Likewise.
1638 (drem_test_towardzero): Likewise.
1639 (drem_test_downward): Likewise.
1640 (drem_test_upward): Likewise.
1641 (main): Call the new functions.
1642
4f8dfe27
JM
1643 * math/libm-test.inc (finite_test_data): Remove.
1644 (finite_test): Run tests from isfinite_test_data.
1645 (gamma_test_data): Remove.
1646 (gamma_test): Run tests from lgamma_test_data.
1647 * sysdeps/i386/fpu/libm-test-ulps: Update.
1648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1649
d116b7c4
AZ
16502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * manual/platform.texi: Add PowerPC PPR function set documentation.
1653 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1654 implementation.
1655
e96e3767
CD
16562013-05-24 Carlos O'Donell <carlos@redhat.com>
1657
1658 * math/libm-test.inc (MAX_EXP): Define.
1659 (ULPDIFF): Define.
1660 (ulp): New function.
1661 (check_float_internal): Use ULPDIFF.
1662 (cpow_test): Disable failing test.
1663 (check_ulp): Test ulp() implemetnation.
1664 (main): Call check_ulp before starting tests.
1665
b679a606
JM
16662013-05-24 Joseph Myers <joseph@codesourcery.com>
1667
e8bdba36
JM
1668 * math/gen-libm-test.pl (generate_testfile): Do not handle
1669 START_DATA and END_DATA.
1670 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1671 END_DATA.
1672 (acos_tonearest_test_data): Likewise.
1673 (acos_towardzero_test_data): Likewise.
1674 (acos_downward_test_data): Likewise.
1675 (acos_upward_test_data): Likewise.
1676 (acosh_test_data): Likewise.
1677 (asin_test_data): Likewise.
1678 (asin_tonearest_test_data): Likewise.
1679 (asin_towardzero_test_data): Likewise.
1680 (asin_downward_test_data): Likewise.
1681 (asin_upward_test_data): Likewise.
1682 (asinh_test_data): Likewise.
1683 (atan_test_data): Likewise.
1684 (atanh_test_data): Likewise.
1685 (atan2_test_data): Likewise.
1686 (cabs_test_data): Likewise.
1687 (cacos_test_data): Likewise.
1688 (cacosh_test_data): Likewise.
1689 (carg_test_data): Likewise.
1690 (casin_test_data): Likewise.
1691 (casinh_test_data): Likewise.
1692 (catan_test_data): Likewise.
1693 (catanh_test_data): Likewise.
1694 (cbrt_test_data): Likewise.
1695 (ccos_test_data): Likewise.
1696 (ccosh_test_data): Likewise.
1697 (ceil_test_data): Likewise.
1698 (cexp_test_data): Likewise.
1699 (cimag_test_data): Likewise.
1700 (clog_test_data): Likewise.
1701 (clog10_test_data): Likewise.
1702 (conj_test_data): Likewise.
1703 (copysign_test_data): Likewise.
1704 (cos_test_data): Likewise.
1705 (cos_tonearest_test_data): Likewise.
1706 (cos_towardzero_test_data): Likewise.
1707 (cos_downward_test_data): Likewise.
1708 (cos_upward_test_data): Likewise.
1709 (cosh_test_data): Likewise.
1710 (cosh_tonearest_test_data): Likewise.
1711 (cosh_towardzero_test_data): Likewise.
1712 (cosh_downward_test_data): Likewise.
1713 (cosh_upward_test_data): Likewise.
1714 (cpow_test_data): Likewise.
1715 (cproj_test_data): Likewise.
1716 (creal_test_data): Likewise.
1717 (csin_test_data): Likewise.
1718 (csinh_test_data): Likewise.
1719 (csqrt_test_data): Likewise.
1720 (ctan_test_data): Likewise.
1721 (ctan_tonearest_test_data): Likewise.
1722 (ctan_towardzero_test_data): Likewise.
1723 (ctan_downward_test_data): Likewise.
1724 (ctan_upward_test_data): Likewise.
1725 (ctanh_test_data): Likewise.
1726 (ctanh_tonearest_test_data): Likewise.
1727 (ctanh_towardzero_test_data): Likewise.
1728 (ctanh_downward_test_data): Likewise.
1729 (ctanh_upward_test_data): Likewise.
1730 (erf_test_data): Likewise.
1731 (erfc_test_data): Likewise.
1732 (exp_test_data): Likewise.
1733 (exp_tonearest_test_data): Likewise.
1734 (exp_towardzero_test_data): Likewise.
1735 (exp_downward_test_data): Likewise.
1736 (exp_upward_test_data): Likewise.
1737 (exp10_test_data): Likewise.
1738 (exp2_test_data): Likewise.
1739 (expm1_test_data): Likewise.
1740 (fabs_test_data): Likewise.
1741 (fdim_test_data): Likewise.
1742 (finite_test_data): Likewise.
1743 (floor_test_data): Likewise.
1744 (fma_test_data): Likewise.
1745 (fma_towardzero_test_data): Likewise.
1746 (fma_downward_test_data): Likewise.
1747 (fma_upward_test_data): Likewise.
1748 (fmax_test_data): Likewise.
1749 (fmin_test_data): Likewise.
1750 (fmod_test_data): Likewise.
1751 (fpclassify_test_data): Likewise.
1752 (frexp_test_data): Likewise.
1753 (gamma_test_data): Likewise.
1754 (hypot_test_data): Likewise.
1755 (ilogb_test_data): Likewise.
1756 (isfinite_test_data): Likewise.
1757 (isgreater_test_data): Likewise.
1758 (isgreaterequal_test_data): Likewise.
1759 (isinf_test_data): Likewise.
1760 (isless_test_data): Likewise.
1761 (islessequal_test_data): Likewise.
1762 (islessgreater_test_data): Likewise.
1763 (isnan_test_data): Likewise.
1764 (isnormal_test_data): Likewise.
1765 (issignaling_test_data): Likewise.
1766 (isunordered_test_data): Likewise.
1767 (j0_test_data): Likewise.
1768 (j1_test_data): Likewise.
1769 (jn_test_data): Likewise.
1770 (ldexp_test_data): Likewise.
1771 (lgamma_test_data): Likewise.
1772 (lrint_test_data): Likewise.
1773 (lrint_tonearest_test_data): Likewise.
1774 (lrint_towardzero_test_data): Likewise.
1775 (lrint_downward_test_data): Likewise.
1776 (lrint_upward_test_data): Likewise.
1777 (llrint_test_data): Likewise.
1778 (llrint_tonearest_test_data): Likewise.
1779 (llrint_towardzero_test_data): Likewise.
1780 (llrint_downward_test_data): Likewise.
1781 (llrint_upward_test_data): Likewise.
1782 (log_test_data): Likewise.
1783 (log10_test_data): Likewise.
1784 (log1p_test_data): Likewise.
1785 (log2_test_data): Likewise.
1786 (logb_test_data): Likewise.
1787 (logb_downward_test_data): Likewise.
1788 (lround_test_data): Likewise.
1789 (llround_test_data): Likewise.
1790 (modf_test_data): Likewise.
1791 (nearbyint_test_data): Likewise.
1792 (nextafter_test_data): Likewise.
1793 (nexttoward_test_data): Likewise.
1794 (pow_test_data): Likewise.
1795 (pow_tonearest_test_data): Likewise.
1796 (pow_towardzero_test_data): Likewise.
1797 (pow_downward_test_data): Likewise.
1798 (pow_upward_test_data): Likewise.
1799 (remainder_test_data): Likewise.
1800 (remainder_tonearest_test_data): Likewise.
1801 (remainder_towardzero_test_data): Likewise.
1802 (remainder_downward_test_data): Likewise.
1803 (remainder_upward_test_data): Likewise.
1804 (remquo_test_data): Likewise.
1805 (rint_test_data): Likewise.
1806 (rint_tonearest_test_data): Likewise.
1807 (rint_towardzero_test_data): Likewise.
1808 (rint_downward_test_data): Likewise.
1809 (rint_upward_test_data): Likewise.
1810 (round_test_data): Likewise.
1811 (scalb_test_data): Likewise.
1812 (scalbn_test_data): Likewise.
1813 (scalbln_test_data): Likewise.
1814 (signbit_test_data): Likewise.
1815 (sin_test_data): Likewise.
1816 (sin_tonearest_test_data): Likewise.
1817 (sin_towardzero_test_data): Likewise.
1818 (sin_downward_test_data): Likewise.
1819 (sin_upward_test_data): Likewise.
1820 (sincos_test_data): Likewise.
1821 (sinh_test_data): Likewise.
1822 (sinh_tonearest_test_data): Likewise.
1823 (sinh_towardzero_test_data): Likewise.
1824 (sinh_downward_test_data): Likewise.
1825 (sinh_upward_test_data): Likewise.
1826 (sqrt_test_data): Likewise.
1827 (tan_test_data): Likewise.
1828 (tan_tonearest_test_data): Likewise.
1829 (tan_towardzero_test_data): Likewise.
1830 (tan_downward_test_data): Likewise.
1831 (tan_upward_test_data): Likewise.
1832 (tanh_test_data): Likewise.
1833 (tgamma_test_data): Likewise.
1834 (trunc_test_data): Likewise.
1835 (y0_test_data): Likewise.
1836 (y1_test_data): Likewise.
1837 (yn_test_data): Likewise.
1838 (significand_test_data): Likewise.
1839
b679a606
JM
1840 * math/gen-libm-test.pl (@functions): Remove variable.
1841 (generate_testfile): Don't handle START and END lines.
1842 * math/libm-test.inc (START): New macro.
1843 (END): Likewise.
1844 (END_COMPLEX): Likewise.
1845 (acos_test): Use END macro without arguments.
1846 (acos_test_tonearest): Likewise.
1847 (acos_test_towardzero): Likewise.
1848 (acos_test_downward): Likewise.
1849 (acos_test_upward): Likewise.
1850 (acosh_test): Likewise.
1851 (asin_test): Likewise.
1852 (asin_test_tonearest): Likewise.
1853 (asin_test_towardzero): Likewise.
1854 (asin_test_downward): Likewise.
1855 (asin_test_upward): Likewise.
1856 (asinh_test): Likewise.
1857 (atan_test): Likewise.
1858 (atanh_test): Likewise.
1859 (atan2_test): Likewise.
1860 (cabs_test): Likewise.
1861 (cacos_test): Use END_COMPLEX macro without arguments.
1862 (cacosh_test): Likewise.
1863 (carg_test): Use END macro without arguments.
1864 (casin_test): Use END_COMPLEX macro without arguments.
1865 (casinh_test): Likewise.
1866 (catan_test): Likewise.
1867 (catanh_test): Likewise.
1868 (cbrt_test): Use END macro without arguments.
1869 (ccos_test): Use END_COMPLEX macro without arguments.
1870 (ccosh_test): Likewise.
1871 (ceil_test): Use END macro without arguments.
1872 (cexp_test): Use END_COMPLEX macro without arguments.
1873 (cimag_test): Use END macro without arguments.
1874 (clog_test): Use END_COMPLEX macro without arguments.
1875 (clog10_test): Likewise.
1876 (conj_test): Likewise.
1877 (copysign_test): Use END macro without arguments.
1878 (cos_test): Likewise.
1879 (cos_test_tonearest): Likewise.
1880 (cos_test_towardzero): Likewise.
1881 (cos_test_downward): Likewise.
1882 (cos_test_upward): Likewise.
1883 (cosh_test): Likewise.
1884 (cosh_test_tonearest): Likewise.
1885 (cosh_test_towardzero): Likewise.
1886 (cosh_test_downward): Likewise.
1887 (cosh_test_upward): Likewise.
1888 (cpow_test): Use END_COMPLEX macro without arguments.
1889 (cproj_test): Likewise.
1890 (creal_test): Use END macro without arguments.
1891 (csin_test): Use END_COMPLEX macro without arguments.
1892 (csinh_test): Likewise.
1893 (csqrt_test): Likewise.
1894 (ctan_test): Likewise.
1895 (ctan_test_tonearest): Likewise.
1896 (ctan_test_towardzero): Likewise.
1897 (ctan_test_downward): Likewise.
1898 (ctan_test_upward): Likewise.
1899 (ctanh_test): Likewise.
1900 (ctanh_test_tonearest): Likewise.
1901 (ctanh_test_towardzero): Likewise.
1902 (ctanh_test_downward): Likewise.
1903 (ctanh_test_upward): Likewise.
1904 (erf_test): Use END macro without arguments.
1905 (erfc_test): Likewise.
1906 (exp_test): Likewise.
1907 (exp_test_tonearest): Likewise.
1908 (exp_test_towardzero): Likewise.
1909 (exp_test_downward): Likewise.
1910 (exp_test_upward): Likewise.
1911 (exp10_test): Likewise.
1912 (exp2_test): Likewise.
1913 (expm1_test): Likewise.
1914 (fabs_test): Likewise.
1915 (fdim_test): Likewise.
1916 (finite_test): Likewise.
1917 (floor_test): Likewise.
1918 (fma_test): Likewise.
1919 (fma_test_towardzero): Likewise.
1920 (fma_test_downward): Likewise.
1921 (fma_test_upward): Likewise.
1922 (fmax_test): Likewise.
1923 (fmin_test): Likewise.
1924 (fmod_test): Likewise.
1925 (fpclassify_test): Likewise.
1926 (frexp_test): Likewise.
1927 (gamma_test): Likewise.
1928 (hypot_test): Likewise.
1929 (ilogb_test): Likewise.
1930 (isfinite_test): Likewise.
1931 (isgreater_test): Likewise.
1932 (isgreaterequal_test): Likewise.
1933 (isinf_test): Likewise.
1934 (isless_test): Likewise.
1935 (islessequal_test): Likewise.
1936 (islessgreater_test): Likewise.
1937 (isnan_test): Likewise.
1938 (isnormal_test): Likewise.
1939 (issignaling_test): Likewise.
1940 (isunordered_test): Likewise.
1941 (j0_test): Likewise.
1942 (j1_test): Likewise.
1943 (jn_test): Likewise.
1944 (ldexp_test): Likewise.
1945 (lgamma_test): Likewise.
1946 (lrint_test): Likewise.
1947 (lrint_test_tonearest): Likewise.
1948 (lrint_test_towardzero): Likewise.
1949 (lrint_test_downward): Likewise.
1950 (lrint_test_upward): Likewise.
1951 (llrint_test): Likewise.
1952 (llrint_test_tonearest): Likewise.
1953 (llrint_test_towardzero): Likewise.
1954 (llrint_test_downward): Likewise.
1955 (llrint_test_upward): Likewise.
1956 (log_test): Likewise.
1957 (log10_test): Likewise.
1958 (log1p_test): Likewise.
1959 (log2_test): Likewise.
1960 (logb_test): Likewise.
1961 (logb_test_downward): Likewise.
1962 (lround_test): Likewise.
1963 (llround_test): Likewise.
1964 (modf_test): Likewise.
1965 (nearbyint_test): Likewise.
1966 (nextafter_test): Likewise.
1967 (nexttoward_test): Likewise.
1968 (pow_test): Likewise.
1969 (pow_test_tonearest): Likewise.
1970 (pow_test_towardzero): Likewise.
1971 (pow_test_downward): Likewise.
1972 (pow_test_upward): Likewise.
1973 (remainder_test): Likewise.
1974 (remainder_test_tonearest): Likewise.
1975 (remainder_test_towardzero): Likewise.
1976 (remainder_test_downward): Likewise.
1977 (remainder_test_upward): Likewise.
1978 (remquo_test): Likewise.
1979 (rint_test): Likewise.
1980 (rint_test_tonearest): Likewise.
1981 (rint_test_towardzero): Likewise.
1982 (rint_test_downward): Likewise.
1983 (rint_test_upward): Likewise.
1984 (round_test): Likewise.
1985 (scalb_test): Likewise.
1986 (scalbn_test): Likewise.
1987 (scalbln_test): Likewise.
1988 (signbit_test): Likewise.
1989 (sin_test): Likewise.
1990 (sin_test_tonearest): Likewise.
1991 (sin_test_towardzero): Likewise.
1992 (sin_test_downward): Likewise.
1993 (sin_test_upward): Likewise.
1994 (sincos_test): Likewise.
1995 (sinh_test): Likewise.
1996 (sinh_test_tonearest): Likewise.
1997 (sinh_test_towardzero): Likewise.
1998 (sinh_test_downward): Likewise.
1999 (sinh_test_upward): Likewise.
2000 (sqrt_test): Likewise.
2001 (tan_test): Likewise.
2002 (tan_test_tonearest): Likewise.
2003 (tan_test_towardzero): Likewise.
2004 (tan_test_downward): Likewise.
2005 (tan_test_upward): Likewise.
2006 (tanh_test): Likewise.
2007 (tgamma_test): Likewise.
2008 (trunc_test): Likewise.
2009 (y0_test): Likewise.
2010 (y1_test): Likewise.
2011 (yn_test): Likewise.
2012 (significand_test): Likewise.
2013
bae143d2
OB
20142013-05-24 Ondřej Bílka <neleai@seznam.cz>
2015
2016 [BZ #15381]
2017 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2018
9323d39b
EM
20192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2020
d4ea44a0 2021 [BZ #14894]
9323d39b
EM
2022 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2023 __ppc_mdoio and __ppc_mdoom.
2024 * manual/platform.texi: Document new functions __ppc_yield,
2025 __ppc_mdoio and __ppc_mdoom.
2026
13e23af7
CD
20272013-05-22 Carlos O'Donell <carlos@redhat.com>
2028
2029 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2030 (main): Mention "tls" pseudo-hwcap is legacy.
2031 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2032
351fe550
JM
20332013-05-22 Joseph Myers <joseph@codesourcery.com>
2034
2035 * math/gen-libm-test.pl (parse_args): Output only string of
2036 arguments as text for test name, not full call or descriptions of
2037 tests for extra outputs.
2038 (generate_testfile): Do not pass function name to parse_args.
2039 Generate this_func variable from START.
2040 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2041 field to arg_str.
2042 (struct test_ff_f_data): Likewise.
2043 (test_ff_f_data_nexttoward): Likewise.
2044 (struct test_fi_f_data): Likewise.
2045 (struct test_fl_f_data): Likewise.
2046 (struct test_if_f_data): Likewise.
2047 (struct test_fff_f_data): Likewise.
2048 (struct test_c_f_data): Likewise.
2049 (struct test_f_f1_data): Likewise. Remove field extra_name.
2050 (struct test_fF_f1_data): Likewise.
2051 (struct test_ffI_f1_data): Likewise.
2052 (struct test_c_c_data): Rename test_name field to arg_str.
2053 (struct test_cc_c_data): Likewise.
2054 (struct test_f_i_data): Likewise.
2055 (struct test_ff_i_data): Likewise.
2056 (struct test_f_l_data): Likewise.
2057 (struct test_f_L_data): Likewise.
2058 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2059 and extra2_name.
2060 (COMMON_TEST_SETUP): New macro.
2061 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2062 (COMMON_TEST_CLEANUP): Likewise.
2063 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2064 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2065 macros.
2066 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2067 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2068 macros.
2069 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2070 (RUN_TEST_fff_f): Take argument string. Call new setup and
2071 cleanup macros.
2072 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2073 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2074 macros.
2075 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2076 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2077 macros.
2078 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2079 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2080 cleanup macros.
2081 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2082 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2083 cleanup macros.
2084 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2085 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2086 cleanup macros.
2087 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2088 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2089 macros.
2090 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2091 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2092 macros.
2093 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2094 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2095 macros.
2096 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2097 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2098 cleanup macros.
2099 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2100 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2101 cleanup macros.
2102 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2103 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2104 macros.
2105 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2106 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2107 cleanup macros.
2108 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2109 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2110 macros.
2111 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2112 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2113 macros.
2114 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2115 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2116 cleanup macros.
2117 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2118
85118d4d
EBM
21192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2120
2121 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2122 to _sifields.sigfault.
2123 (si_addr_lsb): Define new macro.
2124 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2127
7a44c18f
CD
21282013-05-03 Carlos O'Donell <carlos at redhat.com>
2129
2130 [BZ #15441]
2131 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2132 returns -1.
2133 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2134 null return -1.
2135 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2136 loading the domain.
2137
b50a7181
JM
21382013-05-22 Joseph Myers <joseph@codesourcery.com>
2139
2140 * math/gen-libm-test.pl (parse_args): Do not include expected
2141 result in test name.
2142 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2143 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2144 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2146 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2148
051063c8
SP
21492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
3ce9e010
SP
2151 * benchtests/Makefile: Sort function entries.
2152
051063c8
SP
2153 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2154 tanh, asinh, acosh, atanh.
2155 * benchtests/acos-inputs: New file.
2156 * benchtests/acosh-inputs: New file.
2157 * benchtests/asin-inputs: New file.
2158 * benchtests/asinh-inputs: New file.
2159 * benchtests/atanh-inputs: New file.
2160 * benchtests/cosh-inputs: New file.
2161 * benchtests/log-inputs: New file.
2162 * benchtests/sinh-inputs: New file.
2163 * benchtests/tanh-inputs: New file.
2164
47c22455
DL
21652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2166
2167 [BZ #15339]
2168 * posix/tst-getaddrinfo4.c: New test.
2169 * posix/Makefile (tests): Add it.
2170
3d04f5db
SP
21712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2172
2173 [BZ #15339]
2174 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2175 when no services were used.
2176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2177 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2178
d5dd6189
AS
21792013-05-21 Andreas Schwab <schwab@suse.de>
2180
2181 [BZ #15014]
2182 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2183 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2184 successful.
2185 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2186 redundant variable declarations and reallocation of buffer when
2187 parsing as IPv6 address. Always set NSS status when called from
2188 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2189 buffer too small. Correct computation of needed size.
2190 * nss/Makefile (tests): Add test-digits-dots.
2191 * nss/test-digits-dots.c: New test.
2192
fef94eab
SP
21932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2194
2195 * benchtests/Makefile: Remove instructions for adding
2196 benchmark tests.
2197 * benchtests/README: New file to explain how to execute and
2198 enhance the benchmark tests.
2199
e39adf43
AS
22002013-05-21 Andreas Schwab <schwab@suse.de>
2201
2202 [BZ #15493]
2203 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2204 * setjmp/tst-sigsetjmp.c: New test.
2205
b2b671b6
OB
22062013-05-20 Ondřej Bílka <neleai@seznam.cz>
2207
2208 * sysdeps/x86_64/memset.S (memset): New implementation.
2209 (__bzero): Likewise.
2210 (__memset_tail): New function.
2211
2d48b41c
OB
22122013-05-20 Ondřej Bílka <neleai@seznam.cz>
2213
2214 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2215 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2216 __memcpy_sse2_unaligned ifunc selection.
2217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2218 Add memcpy-sse2-unaligned.S.
2219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2220 Add: __memcpy_sse2_unaligned.
2221
f16cc3eb
JM
22222013-05-19 Joseph Myers <joseph@codesourcery.com>
2223
3e694268
JM
2224 [BZ #15490]
2225 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2226 math_force_eval before restoring floating-point envrionment.
2227 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2229 Likewise.
2230 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2231 <math_private.h>.
2232 (__nearbyintl): Use math_force_eval before restoring
2233 floating-point environment.
2234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2235
db62a907
JM
2236 * math/gen-libm-test.pl (special_functions): Remove.
2237 (parse_args): Don't handle TEST_extra. Handle functions with no
2238 return value.
2239 * math/libm-test.inc (struct test_sincos_data): Replace with
2240 struct test_fFF_11_data.
2241 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2242 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2243 (sincos_test_data): Change element type to struct
2244 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2245 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2246 RUN_TEST_LOOP_sincos.
2247 * math/README.libm-test: Don't mention special handling of
2248 individual functions.
2249 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255
f16cc3eb
JM
2256 * math/gen-libm-test.pl (get_variable): Remove function.
2257 (parse_args): Don't show pointer parameters to call in test
2258 names. Use "extra output N" in test names for extra outputs
2259 rather than naming variables.
2260
3779b5b6
JM
22612013-05-18 Joseph Myers <joseph@codesourcery.com>
2262
2ee094ff
JM
2263 [BZ #15488]
2264 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2265 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2266 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2267 double tests.
2268 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2269 disable.
2270 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2271 check_long_double.
2272
3779b5b6
JM
2273 * math/gen-libm-test.pl (@tests): Remove variable.
2274 ($count): Likewise.
2275 (new_test): Remove function.
2276 (show_exceptions): New function.
2277 (special_functions): Use show_exceptions instead of new_test.
2278 (parse_args): Likewise.
2279 (generate_testfile): Pass only function name in generated call to
2280 print_max_error or print_complex_max_error.
2281 (get_ulps): Do not handle complex tests specially.
2282 (output_test): Rename to ...
2283 (get_all_ulps_for_test): ... this. Return a string rather than
2284 printing to a file. Require ulps to be present.
2285 (output_ulps): Generate arrays rather than #defines.
2286 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2287 (struct ulp_data): New type.
2288 (BUILD_COMPLEX_ULP): Remove macro.
2289 (compare_ulp_data): New function.
2290 (find_ulps): Likewise.
2291 (find_test_ulps): Likewise.
2292 (find_function_ulps): Likewise.
2293 (find_complex_function_ulps): Likewise.
2294 (print_max_error): Determine allowed ulps using
2295 find_function_ulps.
2296 (print_complex_max_error): Determine allowed ulps using
2297 find_complex_function_ulps.
2298 (check_float_internal): Determine max ulps using find_test_ulps.
2299 (check_float): Do not take max_ulp parameter. Update call to
2300 check_float_internal.
2301 (check_complex): Likewise.
2302 (check_int): Do not take max_ulp parameter.
2303 (check_long): Likewise.
2304 (check_bool): Likewise.
2305 (check_longlong): Likewise.
2306 (struct test_f_f_data): Remove max_ulp field.
2307 (struct test_ff_f_data): Likewise.
2308 (struct test_ff_f_data_nexttoward): Likewise.
2309 (struct test_fi_f_data): Likewise.
2310 (struct test_fl_f_data): Likewise.
2311 (struct test_if_f_data): Likewise.
2312 (struct test_fff_f_data): Likewise.
2313 (struct test_c_f_data): Likewise.
2314 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2315 (struct test_fF_f1_data): Likewise.
2316 (struct test_ffI_f1_data): Likewise.
2317 (struct test_c_c_data): Remove max_ulp field.
2318 (struct test_cc_c_data): Likewise.
2319 (struct test_f_i_data): Likewise.
2320 (struct test_ff_i_data): Likewise.
2321 (struct test_f_l_data): Likewise.
2322 (struct test_f_L_data): Likewise.
2323 (struct test_sincos_data): Likewise.
2324 (RUN_TEST_f_f): Do not handle ulps.
2325 (RUN_TEST_LOOP_f_f): Likewise.
2326 (RUN_TEST_2_f): Likewise.
2327 (RUN_TEST_LOOP_2_f): Likewise.
2328 (RUN_TEST_fff_f): Likewise.
2329 (RUN_TEST_LOOP_fff_f): Likewise.
2330 (RUN_TEST_c_f): Likewise.
2331 (RUN_TEST_LOOP_c_f): Likewise.
2332 (RUN_TEST_f_f1): Likewise.
2333 (RUN_TEST_LOOP_f_f1): Likewise.
2334 (RUN_TEST_fF_f1): Likewise.
2335 (RUN_TEST_LOOP_fF_f1): Likewise.
2336 (RUN_TEST_fI_f1): Likewise.
2337 (RUN_TEST_LOOP_fI_f1): Likewise.
2338 (RUN_TEST_ffI_f1): Likewise.
2339 (RUN_TEST_LOOP_ffI_f1): Likewise.
2340 (RUN_TEST_c_c): Likewise.
2341 (RUN_TEST_LOOP_c_c): Likewise.
2342 (RUN_TEST_cc_c): Likewise.
2343 (RUN_TEST_LOOP_cc_c): Likewise.
2344 (RUN_TEST_f_i): Likewise.
2345 (RUN_TEST_LOOP_f_i): Likewise.
2346 (RUN_TEST_f_i_tg): Likewise.
2347 (RUN_TEST_LOOP_f_i_tg): Likewise.
2348 (RUN_TEST_ff_i_tg): Likewise.
2349 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2350 (RUN_TEST_f_b): Likewise.
2351 (RUN_TEST_LOOP_f_b): Likewise.
2352 (RUN_TEST_f_b_tg): Likewise.
2353 (RUN_TEST_LOOP_f_b_tg): Likewise.
2354 (RUN_TEST_f_l): Likewise.
2355 (RUN_TEST_LOOP_f_l): Likewise.
2356 (RUN_TEST_f_L): Likewise.
2357 (RUN_TEST_LOOP_f_L): Likewise.
2358 (RUN_TEST_sincos): Likewise.
2359 (RUN_TEST_LOOP_sincos): Likewise.
2360
8269107f
JM
23612013-05-17 Joseph Myers <joseph@codesourcery.com>
2362
bb38759d
JM
2363 [BZ #15480]
2364 [BZ #15485]
2365 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2366 main case of finite arguments, set rounding mode to FE_TONEAREST
2367 and discard exceptions.
2368 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2369 exceptions.
2370 (remainder_tonearest_test_data): New variable.
2371 (remainder_test_tonearest): New function.
2372 (remainder_towardzero_test_data): New variable.
2373 (remainder_test_towardzero): New function.
2374 (remainder_downward_test_data): New variable.
2375 (remainder_test_downward): New function.
2376 (remainder_upward_test_data): New variable.
2377 (remainder_test_upward): New function.
2378 (main): Call the new test functions.
2379
a00bdcf0
JM
2380 * math/libm-test.inc (struct test_f_f1_data): Remove field
2381 extra_init.
2382 (struct test_fF_f1_data): Likewise.
2383 (struct test_ffI_f1_data): Likewise.
2384 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2385 based on value of EXTRA_EXPECTED.
2386 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2387 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2388 EXTRA_VAR based on value of EXTRA_EXPECTED.
2389 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2390 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2391 EXTRA_VAR based on value of EXTRA_EXPECTED.
2392 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2393 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2394 EXTRA_VAR based on value of EXTRA_EXPECTED.
2395 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2396 * math/gen-libm-test.pl (parse_args): Don't output initializers
2397 for extra output values.
2398
de407f79
JM
2399 * math/libm-test.inc (check_int): Expect result to be exactly
2400 equal to expected value and do not handle ulps.
2401 (check_long): Likewise.
2402 (check_longlong): Likewise.
2403
8269107f
JM
2404 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2405 exceptions.
2406 (cimag_test_data): Likewise.
2407 (conj_test_data): Likewise.
2408 (copysign_test_data): Likewise.
2409 (cproj_test_data): Likewise.
2410 (creal_test_data): Likewise.
2411 (fabs_test_data): Likewise.
2412 (fdim_test_data): Likewise.
2413 (finite_test_data): Likewise.
2414 (floor_test_data): Likewise.
2415 (fmax_test_data): Likewise.
2416 (fmin_test_data): Likewise.
2417 (fmod_test_data): Likewise.
2418 (fpclassify_test_data): Likewise.
2419 (frexp_test_data): Likewise.
2420 (ilogb_test_data): Likewise.
2421 (isfinite_test_data): Likewise.
2422 (isgreater_test_data): Likewise.
2423 (isgreaterequal_test_data): Likewise.
2424 (isinf_test_data): Likewise.
2425 (isless_test_data): Likewise.
2426 (islessequal_test_data): Likewise.
2427 (islessgreater_test_data): Likewise.
2428 (isnan_test_data): Likewise.
2429 (isnormal_test_data): Likewise.
2430 (issignaling_test_data): Likewise.
2431 (isunordered_test_data): Likewise.
2432 (ldexp_test_data): Likewise.
2433 (lrint_test_data): Likewise.
2434 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2435 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2436 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2437 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2438 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2439 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2440 test input.
2441 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2442 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2443 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2444 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2445 that test input.
2446 (lrint_downward_test_data): Test for "inexact" exceptions.
2447 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2448 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2449 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2450 test input.
2451 (lrint_upward_test_data): Test for "inexact" exceptions.
2452 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2453 test input.
2454 (llrint_test_data): Test for "inexact" exceptions.
2455 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2456 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2457 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2458 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2459 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2460 (llrint_downward_test_data): Test for "inexact" exceptions.
2461 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2462 (llrint_upward_test_data): Test for "inexact" exceptions.
2463 (logb_test_data): Likewise.
2464 (logb_downward_test_data): Likewise.
2465 (nextafter_test_data): Likewise.
2466 (nexttoward_test_data): Likewise.
2467 (remainder_test_data): Likewise.
2468 (remquo_test_data): Likewise.
2469 (scalbn_test_data): Likewise.
2470 (scalbln_test_data): Likewise.
2471 (signbit_test_data): Likewise.
2472 (sqrt_test_data): Likewise.
2473 (significand_test_data): Likewise.
2474
48a18de1
SP
24752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2476
2477 [BZ #15424]
2478 * benchtests/bench-modf.c (struct args): Mark arg0 as
2479 volatile.
2480 * scripts/bench.pl: Mark members of struct args as volatile.
2481
13d3b41a
AZ
24822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2483
68191c1d 2484 [BZ # 15497]
13d3b41a
AZ
2485 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2486 negative infinity on POWER6 or lower.
2487 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2488
2848b105
MR
24892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2490
2491 [BZ #15442]
2492 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2493 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2494 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2495 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2496 (_FP_SETQNAN): New macro.
2497 (_FP_SETQNAN_SEMIRAW): Likewise.
2498 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2499 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2500 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2501 (FP_EXTEND): Use _FP_FRAC_SNANP.
2502 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2503 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2504 into account.
2505 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2506 New macro.
2507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2508 Likewise.
2509
323e5cb7
JM
25102013-05-16 Joseph Myers <joseph@codesourcery.com>
2511
c58b274f
JM
2512 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2513 with DIVIDE_BY_ZERO_EXCEPTION.
2514 (gamma_test_data): Likewise.
2515 (lgamma_test_data): Likewise.
2516 (log_test_data): Likewise.
2517 (log10_test_data): Likewise.
2518 (log2_test_data): Likewise.
2519 (tgamma_test_data): Likewise.
2520
0ab34904
JM
2521 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2522 (acos_test_tonearest): Likewise.
2523 (acos_test_towardzero): Likewise.
2524 (acos_test_downward): Likewise.
2525 (acos_test_upward): Likewise.
2526 (acosh_test): Likewise.
2527 (asin_test): Likewise.
2528 (asin_test_tonearest): Likewise.
2529 (asin_test_towardzero): Likewise.
2530 (asin_test_downward): Likewise.
2531 (asin_test_upward): Likewise.
2532 (asinh_test): Likewise.
2533 (atan_test): Likewise.
2534 (atanh_test): Likewise.
2535 (atan2_test): Likewise.
2536 (cabs_test): Likewise.
2537 (cacos_test): Likewise.
2538 (cacosh_test): Likewise.
2539 (casin_test): Likewise.
2540 (casinh_test): Likewise.
2541 (catan_test): Likewise.
2542 (catanh_test): Likewise.
2543 (cbrt_test): Likewise.
2544 (ccos_test): Likewise.
2545 (ccosh_test): Likewise.
2546 (cexp_test): Likewise.
2547 (clog_test): Likewise.
2548 (clog10_test): Likewise.
2549 (cos_test): Likewise.
2550 (cos_test_tonearest): Likewise.
2551 (cos_test_towardzero): Likewise.
2552 (cos_test_downward): Likewise.
2553 (cos_test_upward): Likewise.
2554 (cosh_test): Likewise.
2555 (cosh_test_tonearest): Likewise.
2556 (cosh_test_towardzero): Likewise.
2557 (cosh_test_downward): Likewise.
2558 (cosh_test_upward): Likewise.
2559 (cpow_test): Likewise.
2560 (csin_test): Likewise.
2561 (csinh_test): Likewise.
2562 (csqrt_test): Likewise.
2563 (ctan_test): Likewise.
2564 (ctan_test_tonearest): Likewise.
2565 (ctan_test_towardzero): Likewise.
2566 (ctan_test_downward): Likewise.
2567 (ctan_test_upward): Likewise.
2568 (ctanh_test): Likewise.
2569 (ctanh_test_tonearest): Likewise.
2570 (ctanh_test_towardzero): Likewise.
2571 (ctanh_test_downward): Likewise.
2572 (ctanh_test_upward): Likewise.
2573 (erf_test): Likewise.
2574 (erfc_test): Likewise.
2575 (exp_test): Likewise.
2576 (exp_test_tonearest): Likewise.
2577 (exp_test_towardzero): Likewise.
2578 (exp_test_downward): Likewise.
2579 (exp_test_upward): Likewise.
2580 (exp10_test): Likewise.
2581 (exp2_test): Likewise.
2582 (expm1_test): Likewise.
2583 (fmod_test): Likewise.
2584 (gamma_test): Likewise.
2585 (hypot_test): Likewise.
2586 (j0_test): Likewise.
2587 (j1_test): Likewise.
2588 (jn_test): Likewise.
2589 (lgamma_test): Likewise.
2590 (log_test): Likewise.
2591 (log10_test): Likewise.
2592 (log1p_test): Likewise.
2593 (log2_test): Likewise.
2594 (logb_test_downward): Likewise.
2595 (pow_test): Likewise.
2596 (pow_test_tonearest): Likewise.
2597 (pow_test_towardzero): Likewise.
2598 (pow_test_downward): Likewise.
2599 (pow_test_upward): Likewise.
2600 (remainder_test): Likewise.
2601 (remquo_test): Likewise.
2602 (sin_test): Likewise.
2603 (sin_test_tonearest): Likewise.
2604 (sin_test_towardzero): Likewise.
2605 (sin_test_downward): Likewise.
2606 (sin_test_upward): Likewise.
2607 (sincos_test): Likewise.
2608 (sinh_test): Likewise.
2609 (sinh_test_tonearest): Likewise.
2610 (sinh_test_towardzero): Likewise.
2611 (sinh_test_downward): Likewise.
2612 (sinh_test_upward): Likewise.
2613 (sqrt_test): Likewise.
2614 (tan_test): Likewise.
2615 (tan_test_tonearest): Likewise.
2616 (tan_test_towardzero): Likewise.
2617 (tan_test_downward): Likewise.
2618 (tan_test_upward): Likewise.
2619 (tanh_test): Likewise.
2620 (tgamma_test): Likewise.
2621 (y0_test): Likewise.
2622 (y1_test): Likewise.
2623 (yn_test): Likewise.
2624
323e5cb7
JM
2625 * math/gen-libm-test.pl (adjust_arg): Remove function.
2626 (special_function): Remove argument $in_func. Only handle
2627 generating output for tables of tests, not inside functions.
2628 (parse_args): Likewise.
2629 (generate_testfile): Remove variable $in_func. Update call to
2630 parse_args.
2631 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2632 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2633 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2634 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2635 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2636 (MAX_VALUE_INIT): Rename macro to max_value.
2637 (MIN_VALUE_INIT): Rename macro to min_value.
2638 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2639 (plus_zero): Remove variable.
2640 (minus_zero): Likewise.
2641 (plus_infty): Likewise.
2642 (minus_infty): Likewise.
2643 (qnan_value): Likewise.
2644 (max_value): Likewise.
2645 (min_value): Likewise.
2646 (min_subnorm_value): Likewise.
2647
e054f494
RA
26482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2649
2650 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2651 uint64_t or uint32_t usage.
2652 * crypt/sha256-block.c: Likewise.
2653 * crypt/sha256-crypt.c: Likewise.
2654 * crypt/sha256.c: Likewise.
2655 * crypt/sha512-block.c: Likewise.
2656 * crypt/sha512-crypt.c: Likewise.
2657 * crypt/sha512.c: Likewise.
2658 * debug/backtrace-tst.c: Likewise.
2659 * debug/pcprofiledump.c: Likewise.
2660 * elf/cache.c: Likewise.
2661 * elf/dl-cache.c: Likewise.
2662 * elf/dl-misc.c: Likewise.
2663 * elf/dl-profile.c: Likewise.
2664 * elf/dl-support.c: Likewise.
2665 * elf/ldconfig.c: Likewise.
2666 * elf/sprof.c: Likewise.
2667 * iconv/dummy-repertoire.c: Likewise.
2668 * iconv/iconv_charmap.c: Likewise.
2669 * iconv/skeleton.c: Likewise.
2670 * iconvdata/8bit-generic.c: Likewise.
2671 * iconvdata/cp737.h: Likewise.
2672 * iconvdata/cp775.h: Likewise.
2673 * iconvdata/ibm1008.h: Likewise.
2674 * iconvdata/ibm1025.h: Likewise.
2675 * iconvdata/ibm1046.h: Likewise.
2676 * iconvdata/ibm1097.h: Likewise.
2677 * iconvdata/ibm1112.h: Likewise.
2678 * iconvdata/ibm1122.h: Likewise.
2679 * iconvdata/ibm1123.h: Likewise.
2680 * iconvdata/ibm1124.h: Likewise.
2681 * iconvdata/ibm1129.h: Likewise.
2682 * iconvdata/ibm1130.h: Likewise.
2683 * iconvdata/ibm1132.h: Likewise.
2684 * iconvdata/ibm1133.h: Likewise.
2685 * iconvdata/ibm1137.h: Likewise.
2686 * iconvdata/ibm1140.h: Likewise.
2687 * iconvdata/ibm1141.h: Likewise.
2688 * iconvdata/ibm1142.h: Likewise.
2689 * iconvdata/ibm1143.h: Likewise.
2690 * iconvdata/ibm1144.h: Likewise.
2691 * iconvdata/ibm1145.h: Likewise.
2692 * iconvdata/ibm1146.h: Likewise.
2693 * iconvdata/ibm1147.h: Likewise.
2694 * iconvdata/ibm1148.h: Likewise.
2695 * iconvdata/ibm1149.h: Likewise.
2696 * iconvdata/ibm1153.h: Likewise.
2697 * iconvdata/ibm1154.h: Likewise.
2698 * iconvdata/ibm1155.h: Likewise.
2699 * iconvdata/ibm1156.h: Likewise.
2700 * iconvdata/ibm1157.h: Likewise.
2701 * iconvdata/ibm1158.h: Likewise.
2702 * iconvdata/ibm1160.h: Likewise.
2703 * iconvdata/ibm1161.h: Likewise.
2704 * iconvdata/ibm1162.h: Likewise.
2705 * iconvdata/ibm1163.h: Likewise.
2706 * iconvdata/ibm1164.h: Likewise.
2707 * iconvdata/ibm1166.h: Likewise.
2708 * iconvdata/ibm1167.h: Likewise.
2709 * iconvdata/ibm12712.h: Likewise.
2710 * iconvdata/ibm1390.h: Likewise.
2711 * iconvdata/ibm1399.h: Likewise.
2712 * iconvdata/ibm16804.h: Likewise.
2713 * iconvdata/ibm4517.h: Likewise.
2714 * iconvdata/ibm4899.h: Likewise.
2715 * iconvdata/ibm4909.h: Likewise.
2716 * iconvdata/ibm4971.h: Likewise.
2717 * iconvdata/ibm5347.h: Likewise.
2718 * iconvdata/ibm803.h: Likewise.
2719 * iconvdata/ibm856.h: Likewise.
2720 * iconvdata/ibm901.h: Likewise.
2721 * iconvdata/ibm902.h: Likewise.
2722 * iconvdata/ibm9030.h: Likewise.
2723 * iconvdata/ibm9066.h: Likewise.
2724 * iconvdata/ibm921.h: Likewise.
2725 * iconvdata/ibm922.h: Likewise.
2726 * iconvdata/ibm9448.h: Likewise.
2727 * iconvdata/isiri-3342.h: Likewise.
2728 * iconvdata/jis0201.h: Likewise.
2729 * include/link.h: Likewise.
2730 * include/netdb.h: Likewise.
2731 * inet/check_native.c: Likewise.
2732 * inet/check_pf.c: Likewise.
2733 * inet/getipv4sourcefilter.c: Likewise.
2734 * inet/getnameinfo.c: Likewise.
2735 * inet/getsourcefilter.c: Likewise.
2736 * inet/htonl.c: Likewise.
2737 * inet/setipv4sourcefilter.c: Likewise.
2738 * inet/setsourcefilter.c: Likewise.
2739 * inet/test-inet6_opt.c: Likewise.
2740 * inet/tst-network.c: Likewise.
2741 * locale/C-collate.c: Likewise.
2742 * locale/C-ctype.c: Likewise.
2743 * locale/C-time.c: Likewise.
2744 * locale/C-translit.h: Likewise.
2745 * locale/loadarchive.c: Likewise.
2746 * locale/programs/3level.h: Likewise.
2747 * locale/programs/charmap.c: Likewise.
2748 * locale/programs/charmap.h: Likewise.
2749 * locale/programs/ld-address.c: Likewise.
2750 * locale/programs/ld-collate.c: Likewise.
2751 * locale/programs/ld-ctype.c: Likewise.
2752 * locale/programs/ld-identification.c: Likewise.
2753 * locale/programs/ld-measurement.c: Likewise.
2754 * locale/programs/ld-messages.c: Likewise.
2755 * locale/programs/ld-monetary.c: Likewise.
2756 * locale/programs/ld-name.c: Likewise.
2757 * locale/programs/ld-numeric.c: Likewise.
2758 * locale/programs/ld-paper.c: Likewise.
2759 * locale/programs/ld-telephone.c: Likewise.
2760 * locale/programs/ld-time.c: Likewise.
2761 * locale/programs/linereader.c: Likewise.
2762 * locale/programs/locale.c: Likewise.
2763 * locale/programs/locarchive.c: Likewise.
2764 * locale/programs/locfile.h: Likewise.
2765 * locale/programs/repertoire.c: Likewise.
2766 * locale/programs/simple-hash.c: Likewise.
2767 * locale/programs/simple-hash.h: Likewise.
2768 * malloc/memusage.c: Likewise.
2769 * malloc/memusagestat.c: Likewise.
2770 * nis/nis_defaults.c: Likewise.
2771 * nis/nis_hash.c: Likewise.
2772 * nis/nis_print.c: Likewise.
2773 * nis/nis_xdr.c: Likewise.
2774 * nscd/connections.c: Likewise.
2775 * nscd/hstcache.c: Likewise.
2776 * nscd/nscd_gethst_r.c: Likewise.
2777 * nscd/nscd_getserv_r.c: Likewise.
2778 * nscd/nscd_helper.c: Likewise.
2779 * nscd/servicescache.c: Likewise.
2780 * nss/makedb.c: Likewise.
2781 * nss/nss_db/db-XXX.c: Likewise.
2782 * nss/nss_db/db-initgroups.c: Likewise.
2783 * nss/nss_db/db-netgrp.c: Likewise.
2784 * nss/nss_files/files-network.c: Likewise.
2785 * nss/nss_files/files-parse.c: Likewise.
2786 * posix/bug-regex5.c: Likewise.
2787 * posix/fnmatch_loop.c: Likewise.
2788 * posix/regcomp.c: Likewise.
2789 * posix/regexec.c: Likewise.
2790 * posix/tst-rfc3484-2.c: Likewise.
2791 * posix/tst-rfc3484-3.c: Likewise.
2792 * posix/tst-rfc3484.c: Likewise.
2793 * resolv/nss_dns/dns-canon.c: Likewise.
2794 * resolv/nss_dns/dns-network.c: Likewise.
2795 * resolv/res_init.c: Likewise.
2796 * resolv/res_mkquery.c: Likewise.
2797 * resolv/tst-aton.c: Likewise.
2798 * stdlib/cxa_atexit.c: Likewise.
2799 * stdlib/cxa_finalize.c: Likewise.
2800 * stdlib/gen-fpioconst.c: Likewise.
2801 * stdlib/strtol_l.c: Likewise.
2802 * string/tst-endian.c: Likewise.
2803 * sunrpc/auth_des.c: Likewise.
2804 * sunrpc/clnt_udp.c: Likewise.
2805 * sunrpc/rtime.c: Likewise.
2806 * sunrpc/svcauth_des.c: Likewise.
2807 * sunrpc/xdr.c: Likewise.
2808 * sunrpc/xdr_intXX_t.c: Likewise.
2809 * sunrpc/xdr_rec.c: Likewise.
2810 * sysdeps/generic/ldconfig.h: Likewise.
2811 * sysdeps/generic/ldsodefs.h: Likewise.
2812 * sysdeps/generic/memusage.h: Likewise.
2813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2816 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2823 * sysdeps/posix/getaddrinfo.c: Likewise.
2824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2826 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2828 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2829 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2830 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2831 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2832 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2833 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2834 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2835 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2836 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2837 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2838 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2839 * sysdeps/x86_64/dl-tls.h: Likewise.
2840 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2841 * time/alt_digit.c: Likewise.
2842 * time/era.c: Likewise.
2843 * wcsmbs/tst-c16c32-1.c: Likewise.
2844
8c75f674
JM
28452013-05-16 Joseph Myers <joseph@codesourcery.com>
2846
2847 * math/libm-test.inc (struct test_sincos_data): New type.
2848 (RUN_TEST_LOOP_sincos): New macro.
2849 (sincos_test_data): New variable.
2850 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2851
e6e49e59
RH
28522013-05-16 Richard Henderson <rth@redhat.com>
2853
2854 * math/atest-exp2.c (LIMB64): New macro.
2855 (CONSTSZ): New macro.
2856 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2857 (hexdig): Move ...
2858 (print_mpn_fp): ... to function scope.
2859 (read_mpn_hex): Remove.
2860 (get_log2): Remove.
2861 (exp2_mpn): Use mp_log2.
2862 (main): Use mp_exp1.
2863
15c7c18d
JM
28642013-05-16 Joseph Myers <joseph@codesourcery.com>
2865
105a07df
JM
2866 * math/libm-test.inc: Remove comment about not testing "inexact"
2867 exceptions.
2868 (INEXACT_EXCEPTION): New macro.
2869 (NO_INEXACT_EXCEPTION): Likewise.
2870 (INVALID_EXCEPTION_OK): Update value.
2871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2872 (OVERFLOW_EXCEPTION_OK): Likewise.
2873 (UNDERFLOW_EXCEPTION_OK): Likewise.
2874 (IGNORE_ZERO_INF_SIGN): Likewise.
2875 (ERRNO_UNCHANGED): Likewise.
2876 (ERRNO_EDOM): Likewise.
2877 (ERRNO_ERANGE): Likewise.
2878 (test_exceptions): Handle testing "inexact" exceptions.
2879 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2880 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2881 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2882 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2883 INEXACT_EXCEPTION.
2884 (rint_towardzero_test_data): Likewise.
2885 (rint_downward_test_data): Likewise.
2886 (rint_upward_test_data): Likewise.
2887
e9eee333
JM
2888 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2889 with OVERFLOW_EXCEPTION.
2890 (exp10_test_data): Likewise.
2891 (exp2_test_data): Likewise.
2892 (expm1_test_data): Likewise.
2893 (lgamma_test_data): Likewise.
2894 (pow_test_data): Likewise.
2895 (tgamma_test_data): Likewise.
2896 (yn_test_data): Remove duplicate test of overflow.
2897
1c38ff73
JM
2898 * math/libm-test.inc (struct test_cc_c_data): New type.
2899 (RUN_TEST_LOOP_cc_c): New macro.
2900 (cpow_test_data): New variable.
2901 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2902
15c7c18d
JM
2903 * math/libm-test.inc (struct test_f_L_data): New type.
2904 (RUN_TEST_LOOP_f_L): New macro.
2905 (llrint_test_data): New variable.
2906 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2907 (llrint_tonearest_test_data): New variable.
2908 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2909 (llrint_towardzero_test_data): New variable.
2910 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2911 (llrint_downward_test_data): New variable.
2912 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2913 (llrint_upward_test_data): New variable.
2914 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2915 (llround_test_data): New variable.
2916 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2917
f137ff13
PC
29182013-05-13 Peter Collingbourne <pcc@google.com>
2919
2920 * math/atest-exp2.c (get_log2): Remove const attribute.
2921
3608cb24
JM
29222013-05-15 Joseph Myers <joseph@codesourcery.com>
2923
2924 * math/libm-test.inc (struct test_f_l_data): New type.
2925 (RUN_TEST_LOOP_f_l): New macro.
2926 (lrint_test_data): New variable.
2927 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2928 (lrint_tonearest_test_data): New variable.
2929 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2930 (lrint_towardzero_test_data): New variable.
2931 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2932 (lrint_downward_test_data): New variable.
2933 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2934 (lrint_upward_test_data): New variable.
2935 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2936 (lround_test_data): New variable.
2937 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2938
39b1f617
PC
29392013-05-15 Peter Collingbourne <pcc@google.com>
2940
1deff3dc
PC
2941 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2942 (EXTRACT_WORDS64) Use where appropriate.
2943 (INSERT_WORDS64) Likewise.
2944
791f3ba0
PC
2945 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2946 constraints with x constraints.
2947 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2948
39b1f617
PC
2949 * malloc/obstack.c (_obstack_compat): Add initializer.
2950
12fba011
EM
29512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2952
2953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2954 si_trapno and add si_addr_lsb to _sifields.sigfault.
2955 (si_trapno): Remove macro.
2956 (si_addr_lsb): Define new macro.
2957 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2958
d369f531
JM
29592013-05-15 Joseph Myers <joseph@codesourcery.com>
2960
b861c6c4
JM
2961 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2962 instead of TEST_f_l.
2963 (llrint_test_tonearest): Likewise.
2964 (llrint_test_towardzero): Likewise.
2965 (llrint_test_downward): Likewise.
2966 (llrint_test_upward): Likewise.
2967 (llround_test): Likewise.
2968
7abeee12
JM
2969 * math/libm-test.inc (struct test_f_i_data): Add comment.
2970 (RUN_TEST_LOOP_f_b): New macro.
2971 (RUN_TEST_LOOP_f_b_tg): Likewise.
2972 (finite_test_data): New variable.
2973 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2974 (isfinite_test_data): New variable.
2975 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2976 (isinf_test_data): New variable.
2977 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2978 (isnan_test_data): New variable.
2979 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2980 (isnormal_test_data): New variable.
2981 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2982 (issignaling_test_data): New variable.
2983 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2984 (signbit_test_data): New variable.
2985 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2986
cbe8c4d3
JM
2987 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2988 with INVALID_EXCEPTION.
2989 (acosh_test_data): Likewise.
2990 (asin_test_data): Likewise.
2991 (atanh_test_data): Likewise.
2992 (fmod_test_data): Likewise.
2993 (log_test_data): Likewise.
2994 (log10_test_data): Likewise.
2995 (log2_test_data): Likewise.
2996 (pow_test_data): Likewise.
2997 (sqrt_test_data): Likewise.
2998 (y0_test_data): Likewise.
2999 (y1_test_data): Likewise.
3000 (yn_test_data): Likewise.
3001
5575c0e5
JM
3002 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3003 function contents.
3004
d369f531
JM
3005 * math/libm-test.inc (struct test_ff_i_data): New type.
3006 (RUN_TEST_LOOP_ff_i_tg): New macro.
3007 (isgreater_test_data): New variable.
3008 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3009 (isgreaterequal_test_data): New variable.
3010 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3011 (isless_test_data): New variable.
3012 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3013 (islessequal_test_data): New variable.
3014 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3015 (islessgreater_test_data): New variable.
3016 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3017 (isunordered_test_data): New variable.
3018 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3019
781fd748
DM
30202013-05-14 David S. Miller <davem@davemloft.net>
3021
3022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3023
87aa21df
JM
30242013-05-14 Joseph Myers <joseph@codesourcery.com>
3025
5e908270
JM
3026 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3027
f71172e5
JM
3028 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3029 extra_test to int.
3030 (struct test_f_i_data): Change type of max_ulp to int.
3031
8cfa635a
JM
3032 * math/libm-test.inc (test_ffI_f1_data): New type.
3033 (RUN_TEST_LOOP_ffI_f1): New macro.
3034 (remquo_test_data): New variable.
3035 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3036
2bcb36b2
JM
3037 * setjmp/tst-setjmp-fp.c: New file.
3038 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3039 (link-libm): New variable.
3040 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3041
acbd839a
JM
3042 * math/libm-test.inc (struct test_f_i_data): New type.
3043 (RUN_TEST_LOOP_f_i): New macro.
3044 (RUN_TEST_LOOP_f_i_tg): Likewise.
3045 (fpclassify_test_data): New variable.
3046 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3047 (ilogb_test_data): New variable.
3048 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3049
e414d745
JM
3050 * math/libm-test.inc (scalbln_test): Correct function name in END
3051 call.
3052
d9c2a0fd
JM
3053 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3054 (RUN_TEST_LOOP_fI_f1): New macro.
3055 (frexp_test_data): New variable.
3056 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3057
9dc9095d
JM
3058 * math/libm-test.inc (struct test_fF_f1_data): New type.
3059 (RUN_TEST_LOOP_fF_f1): New macro.
3060 (modf_test_data): New variable.
3061 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3062
87aa21df
JM
3063 * math/libm-test.inc (struct test_f_f1_data): New type.
3064 (RUN_TEST_LOOP_f_f1): New macro.
3065 (gamma_test_data): New variable.
3066 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3067 (lgamma_test_data): New variable.
3068 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3069
141af660
CD
30702013-05-13 Carlos O'Donell <carlos@redhat.com>
3071
3072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3073 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3074 (main): Comment "tls" pseudo-hwcap.
3075
6d33265c
JM
30762013-05-13 Joseph Myers <joseph@codesourcery.com>
3077
68fc074c
JM
3078 * math/libm-test.inc (struct test_fl_f_data): New type.
3079 (RUN_TEST_LOOP_fl_f): New variable.
3080 (scalbln_test_data): New variable.
3081 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3082
243216e1
JM
3083 * math/libm-test.inc (struct test_fi_f_data): New type.
3084 (RUN_TEST_LOOP_fi_f): New macro.
3085 (ldexp_test_data): New variable.
3086 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3087 (scalbn_test_data): New variable.
3088 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3089
6a1992e2
JM
3090 * math/libm-test.inc (struct test_c_f_data): New type.
3091 (RUN_TEST_LOOP_c_f): New macro.
3092 (cabs_test_data): New variable.
3093 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3094 (carg_test_data): New variable.
3095 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3096 (cimag_test_data): New variable.
3097 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3098 (creal_test_data): New variable.
3099 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3100
0e400df5
JM
3101 * math/libm-test.inc (struct test_if_f_data): New type.
3102 (RUN_TEST_LOOP_if_f): New macro.
3103 (jn_test_data): New variable.
3104 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3105 (yn_test_data): New variable.
3106 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3107
6d33265c
JM
3108 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3109
f98ece5f
AZ
31102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3111
3112 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3113 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3114
0f7d347b
SP
31152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3116
43fe811b
SP
3117 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3118 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3119 (bench-deps): Add bench-timing.h.
3120 * benchtests-bench-skeleton.c: Include bench-timing.h.
3121 (main): Use TIMING_* macros instead of clock_gettime.
3122 * benchtests/bench-timing.h: New file.
3123
0f7d347b
SP
3124 [BZ #14582]
3125 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3126 Renamed from _LIB_VERSION.
3127 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3128
601a3a5f
JM
31292013-05-12 Joseph Myers <joseph@codesourcery.com>
3130
4f184d30
JM
3131 * math/libm-test.inc (struct test_fff_f_data): New type.
3132 (RUN_TEST_LOOP_fff_f): New macro.
3133 (fma_test_data): New variable.
3134 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3135 (fma_towardzero_test_data): New variable.
3136 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3137 (fma_downward_test_data): New variable.
3138 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3139 (fma_upward_test_data): New variable.
3140 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3141
08198877
JM
3142 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3143 (struct test_c_c_data): New type.
3144 (RUN_TEST_LOOP_c_c): New macro.
3145 (cacos_test_data): New variable.
3146 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3147 (cacosh_test_data): New variable.
3148 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3149 (casin_test_data): New variable.
3150 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3151 (casinh_test_data): New variable.
3152 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3153 (catan_test_data): New variable.
3154 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3155 (catanh_test_data): New variable.
3156 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3157 (ccos_test_data): New variable.
3158 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3159 (ccosh_test_data): New variable.
3160 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3161 (cexp_test_data): New variable.
3162 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3163 (clog_test_data): New variable.
3164 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3165 (clog10_test_data): New variable.
3166 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3167 (conj_test_data): New variable.
3168 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3169 (cproj_test_data): New variable.
3170 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3171 (csin_test_data): New variable.
3172 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3173 (csinh_test_data): New variable.
3174 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3175 (csqrt_test_data): New variable.
3176 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3177 (ctan_test_data): New variable.
3178 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3179 (ctan_tonearest_test_data): New variable.
3180 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3181 (ctan_towardzero_test_data): New variable.
3182 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3183 (ctan_downward_test_data): New variable.
3184 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3185 (ctan_upward_test_data): New variable.
3186 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3187 (ctanh_test_data): New variable.
3188 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3189 (ctanh_tonearest_test_data): New variable.
3190 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3191 (ctanh_towardzero_test_data): New variable.
3192 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3193 (ctanh_downward_test_data): New variable.
3194 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3195 (ctanh_upward_test_data): New variable.
3196 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3197 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3198 of BUILD_COMPLEX.
3199
601a3a5f
JM
3200 * math/libm-test.inc (struct test_ff_f_data): New type.
3201 (struct test_ff_f_data_nexttoward): Likewise.
3202 (RUN_TEST_LOOP_2_f): New macro.
3203 (RUN_TEST_LOOP_ff_f): Likewise.
3204 (atan2_test_data): New variable.
3205 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3206 (copysign_test_data): New variable.
3207 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3208 (fdim_test_data): New variable.
3209 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3210 (fmax_test_data): New variable.
3211 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3212 (fmin_test_data): New variable.
3213 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3214 (fmod_test_data): New variable.
3215 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3216 (hypot_test_data): New variable.
3217 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3218 (nextafter_test_data): New variable.
3219 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3220 (nexttoward_test_data): New variable.
3221 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3222 (pow_test_data): New variable.
3223 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3224 (pow_tonearest_test_data): New variable.
3225 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3226 (pow_towardzero_test_data): New variable.
3227 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3228 (pow_downward_test_data): New variable.
3229 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3230 (pow_upward_test_data): New variable.
3231 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3232 (remainder_test_data): New variable.
3233 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3234 (scalb_test_data): New variable.
3235 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3236 * sysdeps/i386/fpu/libm-test-ulps: Update.
3237
74c57478
JM
32382013-05-11 Joseph Myers <joseph@codesourcery.com>
3239
8329e4da
JM
3240 * math/libm-test.inc (fma_test): Use max_value instead of local
3241 variable fltmax.
3242 (nextafter_test): Likewise.
3243
74c57478
JM
3244 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3245 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3246 (acos_downward_test_data): New variable.
3247 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3248 (acos_upward_test_data): New variable.
3249 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3250 (acosh_test_data): New variable.
3251 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3252 (asin_test_data): New variable.
3253 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3254 (asin_tonearest_test_data): New variable.
3255 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3256 (asin_towardzero_test_data): New variable.
3257 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3258 (asin_downward_test_data): New variable.
3259 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3260 (asin_upward_test_data): New variable.
3261 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3262 (asinh_test_data): New variable.
3263 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3264 (atan_test_data): New variable.
3265 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3266 (atanh_test_data): New variable.
3267 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3268 (cbrt_test_data): New variable.
3269 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3270 (ceil_test_data): New variable.
3271 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3272 (cos_test_data): New variable.
3273 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3274 (cos_tonearest_test_data): New variable.
3275 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3276 (cos_towardzero_test_data): New variable.
3277 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3278 (cos_downward_test_data): New variable.
3279 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3280 (cos_upward_test_data): New variable.
3281 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3282 (cosh_test_data): New variable.
3283 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3284 (cosh_tonearest_test_data): New variable.
3285 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3286 (cosh_towardzero_test_data): New variable.
3287 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3288 (cosh_downward_test_data): New variable.
3289 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3290 (cosh_upward_test_data): New variable.
3291 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3292 (erf_test_data): New variable.
3293 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3294 (erfc_test_data): New variable.
3295 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3296 (exp_test_data): New variable.
3297 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3298 (exp_tonearest_test_data): New variable.
3299 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3300 (exp_towardzero_test_data): New variable.
3301 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3302 (exp_downward_test_data): New variable.
3303 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3304 (exp_upward_test_data): New variable.
3305 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3306 (exp10_test_data): New variable.
3307 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3308 (exp2_test_data): New variable.
3309 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3310 (expm1_test_data): New variable.
3311 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3312 (fabs_test_data): New variable.
3313 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3314 (floor_test_data): New variable.
3315 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3316 (j0_test_data): New variable.
3317 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3318 (j1_test_data): New variable.
3319 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3320 (log_test_data): New variable.
3321 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3322 (log10_test_data): New variable.
3323 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3324 (log1p_test_data): New variable.
3325 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3326 (log2_test_data): New variable.
3327 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3328 (logb_test_data): New variable.
3329 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3330 (logb_downward_test_data): New variable.
3331 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3332 (nearbyint_test_data): New variable.
3333 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3334 (rint_test_data): New variable.
3335 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3336 (rint_tonearest_test_data): New variable.
3337 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3338 (rint_towardzero_test_data): New variable.
3339 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3340 (rint_downward_test_data): New variable.
3341 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3342 (rint_upward_test_data): New variable.
3343 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3344 (round_test_data): New variable.
3345 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3346 (sin_test_data): New variable.
3347 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3348 (sin_tonearest_test_data): New variable.
3349 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3350 (sin_towardzero_test_data): New variable.
3351 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3352 (sin_downward_test_data): New variable.
3353 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3354 (sin_upward_test_data): New variable.
3355 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3356 (sinh_test_data): New variable.
3357 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3358 (sinh_tonearest_test_data): New variable.
3359 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3360 (sinh_towardzero_test_data): New variable.
3361 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3362 (sinh_downward_test_data): New variable.
3363 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3364 (sinh_upward_test_data): New variable.
3365 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3366 (sqrt_test_data): New variable.
3367 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3368 (tan_test_data): New variable.
3369 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3370 (tan_tonearest_test_data): New variable.
3371 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3372 (tan_towardzero_test_data): New variable.
3373 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3374 (tan_downward_test_data): New variable.
3375 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3376 (tan_upward_test_data): New variable.
3377 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3378 (tanh_test_data): New variable.
3379 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3380 (tgamma_test_data): New variable.
3381 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3382 (trunc_test_data): New variable.
3383 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3384 (y0_test_data): New variable.
3385 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3386 (y1_test_data): New variable.
3387 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3388 (significand_test_data): New variable.
3389 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3390
7187d844
CG
33912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3392
3393 [BZ #12387]
3394 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3395
f63fae73
PT
33962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3397
3398 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3399
8a67a4b3
AJ
34002013-05-10 Andreas Jaeger <aj@suse.de>
3401
3402 [BZ #15448]
3403 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3404 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3405
51df539d
JM
34062013-05-10 Joseph Myers <joseph@codesourcery.com>
3407
3408 * math/gen-libm-test.pl (adjust_arg): New function.
3409 (special_functions): Handle generating output in both functions
3410 and arrays.
3411 (parse_args): Likewise.
3412 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3413 $in_func argument to parse_args.
3414 * math/libm-test.inc (struct test_f_f_data): New type.
3415 (IF_ROUND_INIT_): New macro.
3416 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3417 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3420 (ROUND_RESTORE_): Likewise.
3421 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3422 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3423 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3424 (ROUND_RESTORE_FE_UPWARD): Likewise.
3425 (RUN_TEST_LOOP_f_f): New macro.
3426 (acos_test_data): New variable.
3427 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3428 (acos_tonearest_test_data): New variable.
3429 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3430
5c637fe5
SP
34312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 * benchtests/bench-skeleton.c (startup): Fix coding style.
3434
ab2b9461
JM
34352013-05-10 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #6809]
3438 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3439 negative infinity argument.
3440 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3441 negative infinity argument.
3442 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3443 negative infinity argument.
3444 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3445 domain errors.
3446
4c0fe6fe
FW
34472013-05-10 Florian Weimer <fweimer@redhat.com>
3448
3449 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3450 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3451 * iconv/iconv_prog.c (main): Likewise.
3452 * locale/programs/charmap-dir.c (charmap_readdir)
3453 (fopen_uncompressed): Likewise.
3454 * locale/programs/locfile.c (siblings_uncached)
3455 (write_locale_data): Use lstat64 instead of lstat.
3456 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3457 stat.
3458
a3375d29
AJ
34592013-05-10 Andreas Jaeger <aj@suse.de>
3460
3461 [BZ #15395]
3462 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3463 localization.
3464 Include <locale.h>.
3465
36129722
CD
34662013-05-09 Carlos O'Donell <carlos@redhat.com>
3467
3468 * elf/dl-close.c (_dl_close_worker): Add comments.
3469
faa7f811
JM
34702013-05-09 Joseph Myers <joseph@codesourcery.com>
3471
ed41ffef
JM
3472 [BZ #15359]
3473 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3474 high part of pi/2.
3475 (__ieee754_rem_pio2l): Update comments.
3476
d0213cd0
JM
3477 [BZ #15429]
3478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3479 high part of pi/2.
3480 (__ieee754_rem_pio2l): Update comments.
3481
0d3e777a
JM
3482 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3483 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3484
24f56066
JM
3485 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3486 M_PI_4l.
3487
faa7f811
JM
3488 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3489 (M_PI_34_LOG10El): Likewise.
3490 (M_PI2_LOG10El): Likewise.
3491 (M_PI4_LOG10El): Likewise.
3492 (M_PI_LOG10El): Likewise.
3493
e9a5e0fd
AZ
34942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495
3496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3497
d8cd06db
JM
34982013-05-08 Joseph Myers <joseph@codesourcery.com>
3499
a0d9f9d7
JM
3500 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3501 (MINUS_ZERO_INIT): Likewise.
3502 (PLUS_INFTY_INIT): Likewise.
3503 (MINUS_INFTY_INIT): Likewise.
3504 (QNAN_VALUE_INIT): Likewise.
3505 (MAX_VALUE_INIT): Likewise.
3506 (MIN_VALUE_INIT): Likewise.
3507 (MIN_SUBNORM_VALUE_INIT): Likewise.
3508 (plus_zero): Initialize with PLUS_ZERO_INIT.
3509 (minus_zero): Initialize with MINUS_ZERO_INIT.
3510 (plus_infty): Initialize with PLUS_INFTY_INIT.
3511 (minus_infty): Initialize with MINUS_INFTY_INIT.
3512 (qnan_value): Initialize with QNAN_VALUE_INIT.
3513 (max_value): Initialize with MAX_VALUE_INIT.
3514 (min_value): Initialize with MIN_VALUE_INIT.
3515 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3516
ae08db3b
JM
3517 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3518 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3519 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3520 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3521
f44bf14a
JM
3522 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3523 (RUN_TEST_2_f): Likewise.
3524 (RUN_TEST_ff_f): Likewise.
3525 (RUN_TEST_fi_f): Likewise.
3526 (RUN_TEST_fl_f): Likewise.
3527 (RUN_TEST_fff_f): Likewise.
3528 (RUN_TEST_c_f): Likewise.
3529 (RUN_TEST_f_f1): Likewise.
3530 (RUN_TEST_fF_f1): Likewise.
3531 (RUN_TEST_fI_f1): Likewise.
3532 (RUN_TEST_ffI_f1): Likewise.
3533 (RUN_TEST_c_c): Likewise.
3534 (RUN_TEST_cc_c): Likewise.
3535 (RUN_TEST_f_i): Likewise.
3536 (RUN_TEST_f_i_tg): Likewise.
3537 (RUN_TEST_ff_i_tg): Likewise.
3538 (RUN_TEST_f_b): Likewise.
3539 (RUN_TEST_f_b_tg): Likewise.
3540 (RUN_TEST_f_l): Likewise.
3541 (RUN_TEST_f_L): Likewise.
3542 (RUN_TEST_sincos): Likewise.
3543 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3544 whether to show exceptions. Do not include ");\n" in return
3545 value.
3546 (special_functions): Output call to RUN_TEST_sincos instead of
3547 check_float calls. Update calls to new_test.
3548 (parse_args): Output call to single RUN_TEST_* macro instead of
3549 check_* calls and other assignments. Update calls to new_test.
3550
d8cd06db
JM
3551 [BZ #2546]
3552 [BZ #2560]
3553 [BZ #5159]
3554 [BZ #15426]
3555 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3556 input to result for tgamma overflow.
3557 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3558 (gamma_coeff): New variable.
3559 (NCOEFF): New macro.
3560 (gamma_positive): New function.
3561 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3562 underflow here. Use gamma_positive instead of exp (lgamma) for
3563 other arguments.
3564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3565 (gamma_coeff): New variable.
3566 (NCOEFF): New macro.
3567 (gammaf_positive): New function.
3568 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3569 underflow here. Use gamma_positive instead of exp (lgamma) for
3570 other arguments.
3571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3572 (gamma_coeff): New variable.
3573 (NCOEFF): New macro.
3574 (gammal_positive): New function.
3575 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3576 underflow here. Use gamma_positive instead of exp (lgamma) for
3577 other arguments.
3578 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3579 (gamma_coeff): New variable.
3580 (NCOEFF): New macro.
3581 (gammal_positive): New function.
3582 (__ieee754_gammal_r): Handle positive infinity, overflow and
3583 underflow here. Handle NaN the same as positive infinity. Remove
3584 check x < 0xffffffff for negative integers. Use gamma_positive
3585 instead of exp (lgamma) for other arguments.
3586 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3587 (gamma_coeff): New variable.
3588 (NCOEFF): New macro.
3589 (gammal_positive): New function.
3590 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3591 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3594 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3595 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3596 * sysdeps/generic/math_private.h (__gamma_productf): New
3597 prototype.
3598 (__gamma_product): Likewise.
3599 (__gamma_productl): Likewise.
3600 * math/Makefile (libm-calls): Add gamma_product.
3601 * math/libm-test.inc (tgamma_test): Add more tests.
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604
bb7cf681
OB
36052013-05-08 Ondřej Bílka <neleai@seznam.cz>
3606
3607 * benchtests/bench-skeleton.c (main): Preheat CPU.
3608
ba853947
AJ
36092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3610
3611 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3612
8347c74c
RM
36132013-05-07 Roland McGrath <roland@hack.frob.com>
3614
3615 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3616 and _dl_skip_args_internal.
3617
e8dd4791
CD
36182013-05-07 Carlos O'Donell <carlos@redhat.com>
3619
3620 * manual/message.texi (Message Translation): Talk about users.
3621 Message to key mapping impacts design.
3622
c7405830
RM
36232013-05-06 Roland McGrath <roland@hack.frob.com>
3624
a9173057
RM
3625 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3626
976e2f03
RM
3627 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3628
9723ffc5
RM
3629 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3630 * sysdeps/wordsize-64/glob64.c: ... here.
3631
962e6658
RM
3632 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3633 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3634 New macros.
3635
ee586a6d
RM
3636 * debug/getlogin_r_chk.c: Moved to ...
3637 * login/getlogin_r_chk.c: ... here.
3638 * debug/Makefile (routines): Move getlogin_r_chk to ...
3639 * login/Makefile (routines): ... here.
3640 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3641 * login/Versions (libc: GLIBC_2.4): ... here.
3642
355f9165
RM
3643 * io/poll.c (__poll): Renamed from poll.
3644 Add libc_hidden_def.
3645 (poll): Define as weak alias.
3646
bd9ffde6
RM
3647 * debug/ptsname_r_chk.c: Moved to ...
3648 * login/ptsname_r_chk.c: ... here.
3649 * debug/Makefile (routines): Move ptsname_r_chk to ...
3650 * login/Makefile (routines): ... here.
3651 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3652 * login/Versions (libc: GLIBC_2.4): ... here.
3653
8fb16a04
RM
3654 * posix/getlogin.c: Moved to ...
3655 * login/getlogin.c: ... here.
3656 * posix/getlogin_r.c: Moved to ...
3657 * login/getlogin_r.c: ... here.
3658 * posix/getlogin_r.c: Moved to ...
3659 * login/getlogin_r.c: ... here.
3660 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3661 * login/Makefile (routines): ... here.
3662 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3663 * login/Versions (libc: GLIBC_2.0): ... here.
3664
b99b892f
RM
3665 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3666 (setrlimit): Define as weak alias.
3667
c7405830
RM
3668 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3669 Call __ names for open, ftruncate, and close.
3670 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3671 (truncate): Define as weak alias.
3672
5bf96de5
JM
36732013-05-06 Joseph Myers <joseph@codesourcery.com>
3674
9ea3513c
JM
3675 * math/gen-libm-test.pl (parse_args): Initialize x before each
3676 test of frexp, modf and remquo.
3677
5bf96de5
JM
3678 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3679 test signgam value.
3680
16e616a7
AZ
36812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3682
3683 [BZ #15418]
3684 [BZ #15419]
3685 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3686 internal tests.
3687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3688
d5e82754
RM
36892013-05-06 Roland McGrath <roland@hack.frob.com>
3690
3691 * elf/dl-writev.h: New file.
3692 * elf/dl-misc.c: Include it.
3693 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3694 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3695
a7548d41
JM
36962013-05-04 Joseph Myers <joseph@codesourcery.com>
3697
b7dab1e4
JM
3698 * math/libm-test.inc (noXFails): Remove variable.
3699 (noXPasses): Likewise.
3700 (BUILD_COMPLEX_INT): Remove macro.
3701 (print_screen): Remove xfail argument.
3702 (print_screen_max_error): Likewise.
3703 (update_stats): Likewise.
3704 (print_max_error): Likewise. Update calls to other affected
3705 functions.
3706 (print_complex_max_error): Likewise.
3707 (test_single_exception): Update calls to print_screen.
3708 (test_single_errno): Likewise.
3709 (check_float_internal): Remove xfail argument. Update calls to
3710 other affected functions.
3711 (check_float): Likewise.
3712 (check_complex): Likewise.
3713 (check_int): Likewise.
3714 (check_long): Likewise.
3715 (check_bool): Likewise.
3716 (check_longlong): Likewise.
3717 (main): Don't print noXFails and noXPasses.
3718 * math/gen-libm-test.pl (top level): Don't mention expected
3719 failure handling in comment.
3720 (new_test): Don't handle expected failures.
3721 (parse_args): Don't mention expected failure handling in comment.
3722 (generate_testfile): Don't handle expected failures.
3723 (parse_ulps): Likewise.
3724 (print_ulps_file): Likewise.
3725 (get_failure): Remove function.
3726 (output_test): Don't handle expected failures.
3727 * make/README.libm-test: Don't mention expected failure handling.
3728
a7548d41
JM
3729 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3730 (minus_zero): Likewise.
3731 (plus_infty): Likewise.
3732 (minus_infty): Likewise.
3733 (qnan_value): Likewise.
3734 (max_value): Likewise.
3735 (min_value): Likewise.
3736 (min_subnorm_value): Likewise.
3737 (initialize): Do not initialize those variables dynamically.
3738
60bfd54c
RM
37392013-05-03 Roland McGrath <roland@hack.frob.com>
3740
cc0e6ed8
RM
3741 * io/open.c (__open_2): Moved to ...
3742 * io/open_2.c: ... this new file.
3743 * io/open64.c (__open64_2): Moved to ...
3744 * io/open64_2.c: ... this new file.
3745 * io/openat.c (__openat_2): Moved to ...
3746 * io/openat_2.c: ... this new file.
3747 * io/openat64.c (__openat64_2): Moved to ...
3748 * io/openat64_2.c: ... this new file.
3749 * io/Makefile (routines): Add them.
3750 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3751 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3752 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3753 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3754 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3755 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3756 (__openat64): Add hidden_ver.
3757 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3758 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3759
60bfd54c
RM
3760 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3761 Separately conditionalize setting of GLRO(dl_sysinfo) so
3762 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3763 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3764
83e7640f
AZ
37652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766
3767 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3769 definition.
3770 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3771 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3772 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3773 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3774 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3775
d5dc2af3
JM
37762013-05-03 Joseph Myers <joseph@codesourcery.com>
3777
c31a5b1e
JM
3778 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3779 test signgam value.
3780
d5dc2af3
JM
3781 * math/libm-test.inc (hypot_test): Do not use
3782 IGNORE_ZERO_INF_SIGN.
3783
164fd39d
AJ
37842013-05-03 Andreas Jaeger <aj@suse.de>
3785
3786 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3787 Linux 3.9.
3788 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3789 (PF_MAX): Adjust for VSOCK change.
3790
8237f48c
AZ
37912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3794
9df02941
CD
37952013-05-02 Carlos O'Donell <carlos@redhat.com>
3796
3797 [BZ #15264]
3798 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3799 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3800 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3801
d422395e
DM
38022013-05-02 David S. Miller <davem@davemloft.net>
3803
3804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3805
a07c5731
OB
38062013-05-01 Ondřej Bílka <neleai@seznam.cz>
3807
3808 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3809
1324e37f
RM
38102013-05-01 Roland McGrath <roland@hack.frob.com>
3811
3812 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3813
0695940b
RS
38142013-05-01 Richard Smith <richard@metafoo.co.uk>
3815
bb5f27ad 3816 [BZ #14952]
0695940b
RS
3817 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3818 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3819 Use __attribute__ ((__gnu_inline__)).
3820 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3821 Don't use __attribute__ ((__gnu_inline__)).
3822
10de07f5
JM
38232013-05-01 Joseph Myers <joseph@codesourcery.com>
3824
3825 [BZ #15423]
3826 * math/s_catan.c (__catan): Handle small real or imaginary part of
3827 input specially to avoid spurious underflow.
3828 * math/s_catanf.c (__catanf): Likewise.
3829 * math/s_catanh.c (__catanh): Likewise.
3830 * math/s_catanhf.c (__catanhf): Likewise.
3831 * math/s_catanhl.c (__catanhl): Likewise.
3832 * math/s_catanl.c (__catanl): Likewise.
3833 * math/libm-test.inc (catan_test): Add more tests.
3834 (catanh_test): Likewise.
3835 * sysdeps/i386/fpu/libm-test-ulps: Update.
3836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3837
cb4d5414
AZ
38382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839
3840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3841
caf84319
JM
38422013-04-30 Joseph Myers <joseph@codesourcery.com>
3843
3844 [BZ #15416]
3845 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3846 accurately for denominator in atan2.
3847 * math/s_catanf.c (__catanf): Likewise.
3848 * math/s_catanh.c (__catanh): Likewise.
3849 * math/s_catanhf.c (__catanhf): Likewise.
3850 * math/s_catanhl.c (__catanhl): Likewise.
3851 * math/s_catanl.c (__catanl): Likewise.
3852 * math/libm-test.inc (catan_test): Add more tests.
3853 (catanh_test): Likewise.
3854 * sysdeps/i386/fpu/libm-test-ulps: Update.
3855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3856
d569c6ee
SP
38572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
6dbe713d
SP
3859 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3860
f0ee064b
SP
3861 * benchtests/Makefile (bench): Remove slow benchmarks.
3862 * benchtests/atan-inputs: Add slow benchmark inputs.
3863 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3864 (BENCH_FUNC): Accept variant offset.
3865 (VARIANT): Define.
3866 * benchtests/bench-skeleton.c (main): Run benchmark for each
3867 variant.
3868 * benchtests/cos-inputs: Add slow benchmark inputs.
3869 * benchtests/exp-inputs: Likewise.
3870 * benchtests/pow-inputs: Likewise.
3871 * benchtests/sin-inputs: Likewise.
3872 * benchtests/slowatan-inputs: Remove.
3873 * benchtests/slowatan.c: Remove.
3874 * benchtests/slowcos-inputs: Remove.
3875 * benchtests/slowcos.c: Remove.
3876 * benchtests/slowexp-inputs: Remove.
3877 * benchtests/slowexp.c: Remove.
3878 * benchtests/slowpow-inputs: Remove.
3879 * benchtests/slowpow.c: Remove.
3880 * benchtests/slowsin-inputs: Remove.
3881 * benchtests/slowsin.c: Remove.
3882 * benchtests/slowtan-inputs: Remove.
3883 * benchtests/slowtan.c: Remove.
3884 * benchtests/tan-inputs: Add slow benchmark inputs.
3885 * scripts/bench.pl: Parse comments and directives.
3886
d569c6ee
SP
3887 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3888 in CPPFLAGS.
3889 ($(objpfx)bench-%.c): Remove *-ITER.
3890 * benchtests/bench-modf.c: Remove definition of ITER.
3891 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3892 (main): Loop for DURATION seconds instead of fixed number of
3893 iterations.
3894 * scripts/bench.pl: Don't expect iterations in parameters.
3895
a6a242fe
RM
38962013-04-29 Roland McGrath <roland@hack.frob.com>
3897
3898 * io/fchdir.c (__fchdir): Renamed from fchdir.
3899 (fchdir): Define as weak alias.
3900
f2da7793
JM
39012013-04-29 Joseph Myers <joseph@codesourcery.com>
3902
3903 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3904 (ERRNO_EDOM): Likewise.
3905 (ERRNO_ERANGE): Likewise.
3906 (noErrnoTests): New variable.
3907 (init_max_error): Set errno to 0.
3908 (test_single_errno): New function.
3909 (test_errno): Likewise.
3910 (check_float_internal): Call test_errno. Set errno to 0.
3911 (check_complex): Refer to errno tests in comment.
3912 (check_int): Call test_errno. Set errno to 0.
3913 (check_long): Likewise.
3914 (check_bool): Likewise.
3915 (check_longlong): Likewise.
3916 (cos_test): Use ERRNO_* flags for errno tests instead of
3917 check_int.
3918 (expm1_test): Likewise.
3919 (fmod_test): Likewise.
3920 (ilogb_test): Likewise.
3921 (lgamma_test): Likewise.
3922 (pow_test): Likewise.
3923 (remainder_test): Likewise.
3924 (sin_test): Likewise.
3925 (tan_test): Likewise.
3926 (yn_test): Likewise.
3927 (initialize): Set errno to 0.
3928 (main): Print number of errno tests.
3929 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3930
b1a36ceb
AJ
39312013-04-29 Andreas Jaeger <aj@suse.de>
3932
c3ed8088
AJ
3933 [BZ #15084]
3934 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3935 and RES_USEVC.
3936
f1a24198
AJ
3937 [BZ #15085]
3938 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3939 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3940 unimplemented.
3941
9ce3b2cb
AJ
3942 [BZ #15380]
3943 * stdlib/random.c (__initstate): Return NULL if
3944 __initstate fails.
3945
f1a24198 3946 [BZ #15086]
b1a36ceb
AJ
3947 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3948 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3949 RES_SNGLKUPREOP.
3950
7e7b6f36
AZ
39512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3952
3953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3954
4d14f449
JM
39552013-04-29 Joseph Myers <joseph@codesourcery.com>
3956
3957 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3958 of individual tests.
3959 (casin_test): Likewise.
3960 (casinh_test): Likewise.
3961
5b4217d7
JM
39622013-04-27 Joseph Myers <joseph@codesourcery.com>
3963
3964 [BZ #15409]
3965 * math/s_catan.c (__catan): Handle arguments with large real or
3966 imaginary part separately without squaring.
3967 * math/s_catanf.c (__catanf): Likewise.
3968 * math/s_catanh.c (__catanh): Likewise.
3969 * math/s_catanhf.c (__catanhf): Likewise.
3970 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3971 and redefine.
3972 (__catanhl): Handle arguments with large real or imaginary part
3973 separately without squaring.
3974 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3975 and redefine.
3976 (__catanl): Handle arguments with large real or imaginary part
3977 separately without squaring.
3978 * math/libm-test.inc (catan_test): Add more tests.
3979 (catanh_test): Likewise.
3980 * sysdeps/i386/fpu/libm-test-ulps: Update.
3981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982
4220c3ef
AJ
39832013-04-27 Andreas Jaeger <aj@suse.de>
3984
3985 [BZ #15007]
3986 * stdlib/stdlib.h: Update guards for qecvt.
3987 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3988 <stdlib.h>.
3989
4721b2d1
AM
39902013-04-27 Allan McRae <allan@archlinux.org>
3991
3992 * sysdeps/i386/fpu/libm-test-ulps: Update.
3993
f0302940
JM
39942013-04-26 Joseph Myers <joseph@codesourcery.com>
3995
9457fd95
JM
3996 [BZ #15406]
3997 * math/s_catan.c: Include <float.h>.
3998 (__catan): Ensure underflow exception occurs for underflowed
3999 result.
4000 * math/s_catanf.c: Include <float.h>.
4001 (__catanf): Ensure underflow exception occurs for underflowed
4002 result.
4003 * math/s_catanh.c: Include <float.h>.
4004 (__catanh): Ensure underflow exception occurs for underflowed
4005 result.
4006 * math/s_catanhf.c: Include <float.h>.
4007 (__catanhf): Ensure underflow exception occurs for underflowed
4008 result.
4009 * math/s_catanhl.c: Include <float.h>.
4010 (__catanhl): Ensure underflow exception occurs for underflowed
4011 result.
4012 * math/s_catanl.c: Include <float.h>.
4013 (__catanl): Ensure underflow exception occurs for underflowed
4014 result.
4015 * math/libm-test.inc (catan_test): Add more tests.
4016 (catanh_test): Likewise.
4017
f0302940
JM
4018 [BZ #15405]
4019 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4020 underflowed result.
4021 * math/s_ccoshf.c (__ccoshf): Likewise.
4022 * math/s_ccoshl.c (__ccoshl): Likewise.
4023 * math/s_csin.c (__csin): Likewise.
4024 * math/s_csinf.c (__csinf): Likewise.
4025 * math/s_csinh.c (__csinh): Likewise.
4026 * math/s_csinhf.c (__csinhf): Likewise.
4027 * math/s_csinhl.c (__csinhl): Likewise.
4028 * math/s_csinl.c (__csinl): Likewise.
4029 * math/libm-test.inc (ccos_test): Add more tests.
4030 (ccosh_test): Likewise.
4031 (csin_test): Likewise.
4032 (csinh_test): Likewise.
4033
aa630f59
AZ
40342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4035
4036 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4037 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4038 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4039 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4040 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4041 powerpc/power5+/fpu folders.
4042 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4043
4044
1b835983
MT
40452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4046
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4048
73709b26
JM
40492013-04-25 Joseph Myers <joseph@codesourcery.com>
4050
4051 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4052 additions to variable.
4053 [$(config-machine) = x86_64] (modules-names): Likewise.
4054 ($(objpfx)tst-audit3): Remove dependency.
4055 ($(objpfx)tst-audit3.out): Likewise.
4056 ($(objpfx)tst-audit4): Likewise.
4057 ($(objpfx)tst-audit4.out): Likewise.
4058 ($(objpfx)tst-audit5): Likewise.
4059 ($(objpfx)tst-audit5.out): Likewise.
4060 ($(objpfx)tst-audit6): Likewise.
4061 ($(objpfx)tst-audit6.out): Likewise.
4062 ($(objpfx)tst-audit7): Likewise.
4063 ($(objpfx)tst-audit7.out): Likewise.
4064 (tst-audit3-ENV): Remove variable.
4065 (tst-audit4-ENV): Likewise.
4066 (tst-audit5-ENV): Likewise.
4067 (tst-audit6-ENV): Likewise.
4068 (tst-audit7-ENV): Likewise.
4069 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4070 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4071 addition to variable.
4072 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4073 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4074 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4075 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4076 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4077 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4078 tst-audit3, tst-audit4 and tst-audit5.
4079 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4080 tst-audit6 and tst-audit7.
4081 [$(subdir) = elf] (modules-names): Add audit modules for those
4082 tests.
4083 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4084 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4085 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4086 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4087 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4088 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4089 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4090 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4091 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4092 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4093 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4094 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4095 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4096 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4097 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4098 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4099 Likewise.
4100 [$(subdir) = elf && $(config-cflags-avx) = yes]
4101 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4102 [$(subdir) = elf && $(config-cflags-avx) = yes]
4103 (CFLAGS-tst-auditmod4a.c): Likewise.
4104 [$(subdir) = elf && $(config-cflags-avx) = yes]
4105 (CFLAGS-tst-auditmod4b.c): Likewise.
4106 [$(subdir) = elf && $(config-cflags-avx) = yes]
4107 (CFLAGS-tst-auditmod6b.c): Likewise.
4108 [$(subdir) = elf && $(config-cflags-avx) = yes]
4109 (CFLAGS-tst-auditmod6c.c): Likewise.
4110 [$(subdir) = elf && $(config-cflags-avx) = yes]
4111 (CFLAGS-tst-auditmod7b.c): Likewise.
4112 * elf/tst-audit3.c: Move to ...
4113 * sysdeps/x86_64/tst-audit3.c: ... here.
4114 * elf/tst-audit4.c: Move to ...
4115 * sysdeps/x86_64/tst-audit4.c: ... here.
4116 * elf/tst-audit5.c: Move to ...
4117 * sysdeps/x86_64/tst-audit5.c: ... here.
4118 * elf/tst-audit6.c: Move to ...
4119 * sysdeps/x86_64/tst-audit6.c: ... here.
4120 * elf/tst-audit7.c: Move to ...
4121 * sysdeps/x86_64/tst-audit7.c: ... here.
4122 * elf/tst-auditmod3a.c: Move to ...
4123 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4124 * elf/tst-auditmod3b.c: Move to ...
4125 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4126 * elf/tst-auditmod4a.c: Move to ...
4127 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4128 * elf/tst-auditmod4b.c: Move to ...
4129 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4130 * elf/tst-auditmod5a.c: Move to ...
4131 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4132 * elf/tst-auditmod5b.c: Move to ...
4133 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4134 * elf/tst-auditmod6a.c: Move to ...
4135 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4136 * elf/tst-auditmod6b.c: Move to ...
4137 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4138 * elf/tst-auditmod6c.c: Move to ...
4139 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4140 * elf/tst-auditmod7a.c: Move to ...
4141 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4142 * elf/tst-auditmod7b.c: Move to ...
4143 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4144
1ef74943
PP
41452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4146
4147 [BZ #15366]
4148 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4149 define unconditionally.
4150 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4151 define unconditionally.
4152 (INT8_C, INT16_C, etc.): Likewise.
4153
93fd48c5
MR
41542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4155
ae9552cf
MR
4156 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4157 __ehdr_start with hidden visibility.
4158
93fd48c5
MR
4159 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4160
418601aa
CD
41612013-04-24 Carlos O'Donell <carlos@redhat.com>
4162
4163 * math/libm-test.inc (cos_test): Use accurate hex constants.
4164 (sincost_test): Likewise.
4165
2f38fbfe
JM
41662013-04-24 Joseph Myers <joseph@codesourcery.com>
4167
5e221800
JM
4168 * math/libm-test.inc (catan_test): Add more tests.
4169 (catanh_test): Likewise.
4170
77f143fd
JM
4171 * math/s_catanf.c (__catanf): Use suffixed floating-point
4172 constants.
4173 * math/s_catanhf.c (__catanhf): Likewise.
4174 * math/s_catanhl.c (__catanhl): Likewise.
4175 * math/s_catanl.c (__catanl): Likewise.
4176
2f38fbfe
JM
4177 [BZ #15394]
4178 * math/s_catan.c (__catan): Calculate imaginary part of result
4179 with log1p not log unless computing log of number close to 0.
4180 * math/s_catanf.c (__catanf): Likewise.
4181 * math/s_catanl.c (__catanl): Likewise.
4182 * math/s_catanh.c (__catanh): Calculate real part of result with
4183 log1p not log unless computing log of number close to 0.
4184 * math/s_catanhf.c (__catanhf): Likewise.
4185 * math/s_catanhl.c (__catanhl): Likewise.
4186 * math/libm-test.inc (catan_test): Add more tests.
4187 (catanh_test): Likewise.
4188 * sysdeps/i386/fpu/libm-test-ulps: Update.
4189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190
45d69176
SP
41912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4192
4193 * benchtests/Makefile: Mention files in which fast and slow
4194 paths of math functions are implemented.
4195
87f51853
RM
41962013-04-23 Roland McGrath <roland@hack.frob.com>
4197
4198 * sysdeps/posix/timespec_get.c: New file.
4199
3c026539
AZ
42002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201
4202 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4203 POWER.
4204 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4205 for POWER.
4206 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4207 powerpc/power5/fpu folders.
4208 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4209 * benchtests/Makefile: Add modf testcase.
4210 * benchtests/bench-modf.c: New file: Benchmark test for mo
4211
ff491d14
SP
42122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4213
4214 [BZ #14888]
4215 * time/Makefile (tests): Add tst-strptime-whitespace.
4216 * time/strptime_l.c (get_number): Use ISSPACE.
4217 (__strptime_internal): Likewise.
4218 * time/tst-strptime-whitespace.c: New test case.
4219
7ed3f4e8
AS
42202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4221
4222 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4223 member.
4224 (_nss_files_init): Set it here.
4225
5c95f7b6
HC
42262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4227
4228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4229 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4230 unsigned.
4231
d34c9158
JBG
42322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4233
4234 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4235
2169712d
SP
42362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4237
4238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4239 size just once.
4240
29c5de99
DM
42412013-04-21 David S. Miller <davem@davemloft.net>
4242
4243 * po/ru.po: Update Russion translation from translation project.
4244
ccdad15d
AC
42452013-04-17 Adam Conrad <adconrad@0c3.net>
4246
4247 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4248 and setfsgid.
4249
0f122b8d
CD
42502013-04-17 Carlos O'Donell <carlos@redhat.com>
4251
5c5b07da 4252 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4253 * configure: Regenerate.
5c5b07da 4254 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4255 Add example to error message.
4256 * sysdeps/i386/configure: Regenerate.
4257
037714dd
SP
42582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4259
4260 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4261 slowtan.
4262 * benchtests/cos-inputs: New file.
4263 * benchtests/slowcos-inputs: New file.
4264 * benchtests/slowcos.c: New file.
4265 * benchtests/slowtan-inputs: New file.
4266 * benchtests/slowtan.c: New file.
4267 * benchtests/tan-inputs: New file.
4268
e913141d
RM
42692013-04-16 Roland McGrath <roland@hack.frob.com>
4270
4271 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4272 considered kosher.
4273
a2964074
SP
42742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4275
4856bcd2
SP
4276 * benchtests/Makefile: Include cppflags-iterator.mk to add
4277 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4278
a2964074
SP
4279 * Makefile.in (bench-clean): New target.
4280 * benchtests/Makefile (bench-clean): Likewise.
4281
9fbf9aca
DH
42822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4283
4284 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4285
207d1e2a
TS
42862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4287
4288 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4289
306dfba9
AS
42902013-04-15 Andreas Schwab <schwab@suse.de>
4291
4292 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4294 * nscd/pwdcache.c (cache_addpw): Likewise.
4295 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4296 more than recsize.
4297
206a6699
SP
42982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4299
4300 * benchtests/Makefile (bench): Write all output to
4301 bench-out.tmp together.
4302
0582f6b3
AS
43032013-04-15 Andreas Schwab <schwab@suse.de>
4304
4305 * nscd/nscd.c (main): Don't fork again after closing files.
4306
acb4325f
SP
43072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4308
5cb26d0a
SP
4309 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4310
acb4325f
SP
4311 * benchtests/Rules (bench-deps): Collect dependencies into a
4312 single variable. Add Makefile to dependencies.
4313 ($(objpfx)bench-%.c): Depend on bench-deps.
4314
47792506
RM
43152013-04-12 Roland McGrath <roland@hack.frob.com>
4316 Xavier Roche <roche+kml2@exalead.com>
4317
4318 [BZ #15361]
4319 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4320 just that it's a file descriptor.
4321 * manual/llio.texi (Synchronizing AIO Operations): Update description
4322 for EBADF error from aio_fsync.
4323
8fc1bee5
SP
43242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4325
4326 * Rules (bench): Move target definition...
4327 * benchtests/Makefile: ... here.
4328
aba5e333
CD
43292013-04-11 Carlos O'Donell <carlos@redhat.com>
4330
4331 * math/libm-test.inc (cos_test): Fix PI/2 test.
4332 (sincos_test): Likewise.
4333 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4334 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4335
273cdee8
AS
43362013-04-11 Andreas Schwab <schwab@suse.de>
4337
6ecec3b6
AS
4338 [BZ #13988]
4339 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4340 accept exponent character only when digits were seen.
4341 * stdio-common/Makefile (tests): Add bug26.
4342 * stdio-common/bug26.c: New file.
4343
273cdee8
AS
4344 [BZ #14293]
4345 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4346 non-freeable.
4347
8da491f5
SP
43482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4349
01dc6df9
SP
4350 * Makeconfig (rtld-prefix): Define built linker prefix.
4351 * Rules (run-bench): Use it.
4352 * math/Makefile (run-regen-ulps): Likewise.
4353
8da491f5
SP
4354 * Rules (bench): Remove eval.
4355
abe7f530
SP
43562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4357 Roland McGrath <roland@hack.frob.com>
4358 Ondrej Bilka <neleai@seznam.cz>
4359
4360 [BZ #15346]
4361 * time/getdate.c: Include ctype.h and alloca.h.
4362 (__getdate_r): Trim leading and trailing spaces of input.
4363 * time/tst-getdate.c (tests): Add tests with leading and
4364 trailing spaces.
4365
61c23e62
RM
43662013-04-08 Roland McGrath <roland@hack.frob.com>
4367
4368 [BZ #14280]
4369 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4370 when computing value.
4371
7208a313
CD
43722013-04-06 Carlos O'Donell <carlos@redhat.com>
4373
085b2d41
CD
4374 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4375 Use testrun.sh to run libm tests.
4376
7208a313
CD
4377 [BZ #15309]
4378 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4379
872c0acd
MM
43802013-04-06 Marko Myllynen <myllynen@redhat.com>
4381
4382 [BZ #15264]
4383 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4384
26510bdd
CD
43852013-04-06 Carlos O'Donell <carlos@redhat.com>
4386
4387 * Makefile.in (regen-ulps): New target.
4388 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4389 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4390 [ifneq (no,$(PERL)] (regen-ulps): New target.
4391 [ifeq (no,$(PERL)] (regen-ulps): New target.
4392 * math/libm-test.inc (ulps_file_name): Define.
4393 (output_dir): New variable.
4394 (options): Add "output-dir" option.
4395 (parse_opt): Handle 'o' case.
4396 (main): If output_dir is non-NULL use it as a prefix
4397 otherwise use "".
4398 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4399
a01f19c8
CD
44002013-04-06 Carlos O'Donell <carlos@redhat.com>
4401
4402 [BZ #10060, #10062]
4403 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4404 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4405 fail configure if __sync_val_compare_and_swap is not inlined.
4406 * sysdeps/i386/configure: Regenerate.
4407 * configure.in: Build for i686 when configured for i386.
4408 * configure: Regenerate.
4409 * README: Remove i386 reference.
4410
b7a329a5
CD
44112013-04-06 Carlos O'Donell <carlos@redhat.com>
4412
4413 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4415
bf0f50df
TS
44162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4417
ee091edf
TS
4418 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4419 (lmsnanval): New variables.
4420 (F): Add conversion tests.
4421 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4422 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4423
a8b792d6
TS
4424 * stdio-common/tstdiomisc.c (F): Properly collect individual
4425 tests' results.
4426
a1cbf437
TS
4427 [BZ #14686, #15336]
4428 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4429 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4430 Instead, use input NaN values or generate a qNaN by arithmetic
4431 operation. Also fix bugs to comply with the standard.
4432 * math/libm-test.inc (remainder_test): Add more tests.
4433
8b43a0c9
TS
4434 [BZ #15335, #15342]
4435 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4437 input NaN values or generate a qNaN by arithmetic operation.
4438
d91da4ce
TS
4439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4440 unreachable code.
4441
bf0f50df
TS
4442 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4443 definitions.
4444
05e166c8
JM
44452013-04-03 Joseph Myers <joseph@codesourcery.com>
4446
4447 [BZ #14478]
4448 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4449 underflowed result.
4450 * math/s_cexpf.c (__cexpf): Likewise.
4451 * math/s_cexpl.c (__cexpl): Likewise.
4452 * math/libm-test.inc (cexp_test): Add more tests.
4453
1cef1b19
AS
44542013-04-03 Andreas Schwab <schwab@suse.de>
4455
4456 [BZ #15330]
4457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4458 order arrays from heap if bigger than alloca cutoff.
4459
74d87055
TS
44602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4461
4462 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4463 (SNAN_TESTS_double): Refer to GCC PR56831.
4464 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4465 GCC PR56828.
4466
d755bba4
SP
44672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4468
90d5d5bb
SP
4469 * Rules (bench): Move bench.out after the run is complete.
4470
73e0cd5d
SP
4471 * Rules (bench): Echo currently running benchmark.
4472
64aabd4b
SP
4473 * benchtests/Makefile (bench): Add atan and slowatan.
4474 * benchtests/atan-inputs: New file.
4475 * benchtests/slowatan-inputs: New file.
4476 * benchtests/slowatan.c: New file.
4477
c871eccd
SP
4478 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4480 its value.
4481
d755bba4
SP
4482 [BZ #15305]
4483 * sysdeps/unix/sysv/linux/kernel-features.h
4484 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4485 __ASSUME_XFS_RESTRICTED_CHOWN.
4486 * sysdeps/unix/sysv/linux/pathconf.c
4487 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4488 Save and restore errno.
4489
52ce4860
JM
44902013-04-02 Joseph Myers <joseph@codesourcery.com>
4491
4492 [BZ #15327]
4493 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4494 arguments using __kernel_casinh.
4495 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4496 arguments using __kernel_casinhf.
4497 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4498 arguments using __kernel_casinhl.
4499 * math/libm-test.inc (cacosh_test): Add more tests.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4502
81f311c2
SP
45032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4504
e7906a47
SP
4505 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4507
92e3664b
SP
4508 * bench/Makefile (bench): Add sin and slowsin.
4509 * benchtests/sin-inputs: New file.
4510 * benchtests/slowsin-inputs: New file.
4511 * benchtests/slowsin.c: New file.
4512
81f311c2
SP
4513 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4514 (bench): Add slowexp and slowpow.
4515 (exp-ITER): Increase iterations.
4516 (pow-ITER): Likewise.
4517 * benchtests/exp-inputs: Change input.
4518 * benchtests/pow-inputs: Likewise.
4519 * benchtests/slowexp-inputs: New file.
4520 * benchtests/slowexp.c: New file.
4521 * benchtests/slowpow-inputs: New file.
4522 * benchtests/slowpow.c: New file.
4523
ab0f1aa9
AZ
45242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4525
4526 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4527 instructions.
4528 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4529 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4530 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4531 * benchtests/Makefile: Add rint benchtest.
4532 * benchtests/rint-inputs: Input for rint benchtest.
4533
57267616
TS
45342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4535
4536 * Versions.def (libm): Add GLIBC_2.18.
4537 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4538 hidden libm prototypes.
4539 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4540 * math/Makefile (libm-calls): Add s_issignaling.
4541 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4542 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4543 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4544 declaration.
4545 * math/math.h [__USE_GNU] (issignaling): New macro.
4546 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4547 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4549 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4552 * manual/arith.texi (issignaling): New section.
4553 * manual/libm-err-tab.pl (@all_functions): Update comment.
4554 * math/gen-libm-test.pl (parse_args): Apply special handling for
4555 issignaling.
4556 * math/libm-test.inc (print_float, issignaling_test): New
4557 functions.
4558 (check_float_internal): Add issignaling checks.
4559 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4560 default definition.
4561 * sysdeps/powerpc/math-tests.h: New file.
4562 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4563 tests.
4564 * math/test-snan.c (TEST_FUNC): Likewise.
4565
6142896d
DM
45662013-03-30 David S. Miller <davem@davemloft.net>
4567
4568 * po/de.po: Update from translation team.
4569
ccc8cadf
JM
45702013-03-30 Joseph Myers <joseph@codesourcery.com>
4571
4572 [BZ #10357]
4573 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4574 imaginary part less than 1.0 and real part less than 0.5
4575 specially.
4576 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4577 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4578 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4579 (cacos_test): Add more tests.
4580 (casin_test): Likewise.
4581 (casinh_test): Likewise.
4582 * sysdeps/i386/fpu/libm-test-ulps: Update.
4583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4584
0f6a8d4b
SP
45852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4586
0d1029de
SP
4587 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4588 ONE with its value.
4589
c2d94018
SP
4590 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4591 (__pow_mp): Replace ONE and MONE with their values.
4592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4594 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4595 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4596 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4598
27ec37f1
SP
4599 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4600
a64d7e0e
SP
4601 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4602 (__pow_mp): Replace ZERO and MZERO with their values.
4603 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4607 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4608 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4609 (__sqr): Likewise.
4610
d26dd3eb
SP
4611 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4612
0f6a8d4b
SP
4613 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4614
e57b0c61
RM
46152013-03-28 Roland McGrath <roland@hack.frob.com>
4616
4617 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4618 Declare with __attribute__ ((weak)).
4619 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4620 Call __call_tls_dtors only if it's not NULL.
4621
356b3480
RM
46222013-03-28 Roland McGrath <roland@hack.frob.com>
4623
288f7d79
RM
4624 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4625 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4626 magic __ehdr_start linker symbol if it's defined.
4627 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4628 them up here if it was already done.
4629
dc0a0263
RM
4630 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4631 (_dl_aux_init): Use const in cast when setting it.
4632 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4633 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4634 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4635
3d3436ae
RM
4636 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4637 Declare them here.
4638 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4639 * csu/libc-tls.c: Nor here.
4640 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4641
356b3480
RM
4642 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4643 (__libc_message): Never call vsyslog.
4644
b0f1246a
AM
46452013-03-28 Alan Modra <amodra@gmail.com>
4646
4647 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4648 Define as empty.
4649 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4650 Likewise.
4651
fbbe2b9a
AZ
46522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4653
4654 [BZ #15214]
4655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4656 underflow.
4657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4658
1728ab37
SP
46592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4660
7a86be6e
SP
4661 [BZ #15304]
4662 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4663 Don't add gid passed as argument.
4664
1728ab37
SP
4665 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4666
3a7182a1
JM
46672013-03-27 Joseph Myers <joseph@codesourcery.com>
4668
4669 [BZ #15307]
4670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4671 imaginary part between 1.0 and 1.5 and real part less than 0.5
4672 specially.
4673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4675 * math/libm-test.inc (cacos_test): Add more tests.
4676 (casin_test): Likewise.
4677 (casinh_test): Likewise.
4678 * sysdeps/i386/fpu/libm-test-ulps: Update.
4679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4680
6f2e90e7
SP
46812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4682
5739f705
SP
4683 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4684 constants.
4685 (norm): Likewise.
4686 (denorm): Likewise.
4687 (__dbl_mp): Likewise.
4688 (add_magnitudes): Likewise.
4689 (sub_magnitudes): Likewise.
4690 (__add): Likewise.
4691 (__sub): Likewise.
4692 (__mul): Likewise.
4693 (__sqr): Likewise.
4694 (__inv): Likewise.
4695 (__dvd): Likewise.
4696
e375e83d
SP
4697 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4698 commented code.
4699 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4700 (__dubcos): Likewise.
4701 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4702 (__ieee754_acos): Likewise.
4703 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4704 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4705 (__exp1): Likewise.
4706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4708 (log1): Likewise.
4709 (my_log2): Likewise.
4710 (checkint): Likewise.
4711 * sysdeps/ieee754/dbl-64/e_remainder.c
4712 (__ieee754_remainder): Likewise.
4713 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4715 (bsloww): Likewise.
4716 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4717
6f2e90e7
SP
4718 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4719 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4720 MANTISSA_STORE_T to store computations on mantissa. Use
4721 macros for rounding and division.
4722 (denorm): Likewise.
4723 (__dbl_mp): Likewise.
4724 (add_magnitudes): Likewise.
4725 (sub_magnitudes): Likewise.
4726 (__mul): Likewise.
4727 (__sqr): Likewise.
4728 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4729 powers of two in terms of TWOPOW macro.
4730 (mp_no): Make type of mantissa as MANTISSA_T.
4731 [!RADIXI]: Define RADIXI.
4732 [!TWO52]: Define TWO52.
4733 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4734
fce14d4e
AZ
47352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4736
4737 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4738 llroundl symbol when building for PPC32.
4739
9ad027fb
MW
47402013-03-24 Mark H Weaver <mhw@netris.org>
4741
4742 * manual/arith.texi (Normalization Functions): Fix prototypes for
4743 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4744
e42a38dd
AZ
47452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746
4747 [BZ #13889]
4748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4749 high value to check if expl overflow.
4750 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4751 to check for underflow and overflow.
4752 * math/libm-test.inc: Add exp test.
4753
2e0fb521
DL
47542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4755
4756 [BZ #11120]
4757 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4758 with NOT_IN_libc.
4759
b5784d95
AZ
47602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761
4762 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4763 symbol.
4764
5aa4a1a1
TS
47652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4766
bdef0be7
TS
4767 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4768 wrap blocks consisting of several statements.
4769
5aa4a1a1
TS
4770 * sysdeps/generic/math-tests.h: New file.
4771 * sysdeps/i386/fpu/math-tests.h: Likewise.
4772 * math/test-snan.c: Include it.
4773 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4774
98c48fe5
JM
47752013-03-21 Joseph Myers <joseph@codesourcery.com>
4776
4777 [BZ #15285]
4778 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4779 (__ieee754_j0l): Do not improve calculations using cos of twice
4780 input for inputs above LDBL_MAX / 2.0L.
4781 (__ieee754_y0l): Likewise.
4782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4783 (__ieee754_j1l): Do not improve calculations using cos of twice
4784 input for inputs above LDBL_MAX / 2.0L.
4785 (__ieee754_y1l): Likewise.
4786 * math/libm-test.inc (j0_test): Add another test.
4787 (j1_test): Likewise.
4788 (y0_test): Likewise.
4789 (y1_test): Likewise.
4790 * sysdeps/i386/fpu/libm-test-ulps: Update.
4791
3775a8bc
SP
47922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4793
4794 * Rules ($(objpfx)bench-%.c): Include code from a C source
4795 file.
4796
0a1b2ae6
JM
47972013-03-21 Joseph Myers <joseph@codesourcery.com>
4798
4799 [BZ #15287]
4800 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4801 imaginary part 1.0 and real part less than 0.5 specially.
4802 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4803 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4804 * math/libm-test.inc (cacos_test): Add more tests.
4805 (casin_test): Likewise.
4806 (casinh_test): Likewise.
4807 * sysdeps/i386/fpu/libm-test-ulps: Update.
4808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4809
b33d4ce4
SP
48102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4811
4812 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4813 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4814
bef0b507
JM
48152013-03-20 Joseph Myers <joseph@codesourcery.com>
4816
4817 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4818 * config.make.in (config-cflags-sse4): Remove variable.
4819 (config-cflags-avx): Likewise.
4820 (config-cflags-sse2avx): Likewise.
4821 (config-cflags-novzeroupper): Likewise.
4822 (config-asflags-i686): Likewise.
4823 (have-mfma4): Likewise.
4824 (have-as-vis3): Likewise.
4825 (MIG): Likewise.
4826 * configure.in (MIG): Do not AC_SUBST.
4827 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4828 (libc_cv_cc_sse4): Do not AC_SUBST.
4829 (libc_cv_cc_avx): Likewise.
4830 (libc_cv_cc_sse2avx): Likewise.
4831 (libc_cv_cc_novzeroupper): Likewise.
4832 (libc_cv_cc_fma4): Likewise.
4833 (libc_cv_as_i686): Likewise.
4834 (libc_cv_sparc_as_vis3): Likewise.
4835 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4836 LIBC_CONFIG_VAR.
4837 (config-asflags-i686): Likewise.
4838 (config-cflags-avx): Likewise.
4839 (config-cflags-sse2avx): Likewise.
4840 (have-mfma4): Likewise.
4841 (config-cflags-novzeroupper): Likewise.
4842 * sysdeps/mach/configure.in (MIG): Likewise.
4843 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4844 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4845 LIBC_CONFIG_VAR.
4846 (config-cflags-avx): Likewise.
4847 (config-cflags-sse2avx): Likewise.
4848 (have-mfma4): Likewise.
4849 (config-cflags-novzeroupper): Likewise.
4850 * configure: Regenerated.
4851 * sysdeps/i386/configure: Likewise.
4852 * sysdeps/mach/configure: Likewise.
4853 * sysdeps/sparc/configure: Likewise.
4854 * sysdeps/x86_64/configure: Likewise.
4855
912cc4b3
RM
48562013-03-20 Roland McGrath <roland@hack.frob.com>
4857
4858 [BZ #14812]
4859 * locale/programs/localedef.c (options): Put N_ translation marker
4860 on argument names, not just descriptions.
4861
04eed2b0
MS
48622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4863
4864 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4865
a065ceff
OB
48662013-03-20 Ondřej Bílka <neleai@seznam.cz>
4867
9bb2a810 4868 [BZ #14176]
a065ceff
OB
4869 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4870
a600e5ce
RM
48712013-03-19 Roland McGrath <roland@hack.frob.com>
4872
4873 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4874 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4875 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4876 [!BEFORE_ABORT] (before_abort): New function.
4877 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4878 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4879 (writev_for_fatal): New function.
4880 (WRITEV_FOR_FATAL): New macro; call that.
4881 (backtrace_and_maps): New function.
4882 (BEFORE_ABORT): New macro; call that.
4883 (struct str_list): Type removed.
4884 (__libc_message, __libc_fatal): Functions removed.
4885 Include <sysdeps/posix/libc_fatal.c> instead.
4886
6b18bea6
JM
48872013-03-19 Joseph Myers <joseph@codesourcery.com>
4888
4889 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4890 constants.
4891 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4892 double constants.
4893
aaa8cb4b
AS
48942013-03-19 Andreas Schwab <schwab@suse.de>
4895
44673770
AS
4896 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4897 * sysdeps/gnu/configure: Regenerate.
4898
aaa8cb4b
AS
4899 * configure.in: Substitute libc_cv_rtlddir.
4900 * configure: Regenerate.
4901 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4902 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4903 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4904 * elf/Makefile (install-others, CFLAGS-interp.c)
4905 (ldso_install, common-ldd-rewrite): Likewise.
4906 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4907 $(inst_slibdir)/$(rtld-installed-name).
4908 * scripts/rellns-sh: Add -p option.
4909 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4910 for source.
4911
d3cfc668
SP
49122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4913
4914 * manual/nptl.texi: Renamed to ...
4915 * manual/threads.texi: ... this.
4916 * manual/Makefile (chapters): Update.
4917
0e2b9cdd
RM
49182013-03-18 Roland McGrath <roland@hack.frob.com>
4919
4920 [BZ #14812]
4921 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4922 on argument names, not just descriptions.
0e2b9cdd
RM
4923 * malloc/memusagestat.c (options): Likewise.
4924 * nss/getent.c (options): Likewise.
63270c24
RM
4925
49262013-03-18 Benno Schulenberg <bensberg@justemail.net>
4927
4928 [BZ #14812]
4929 * iconv/iconv_prog.c (options): Put N_ translation marker
4930 on argument names, not just descriptions.
4931 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4932
b2e1393c
OB
49332013-03-18 Ondrej Bilka <neleai@seznam.cz>
4934
4935 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4936 implementation which is faster on all x86_64 architectures.
4937 Tested on AMD, Intel Nehalem, SNB, IVB.
4938 * sysdeps/x86_64/strnlen.S: Likewise.
4939
4940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4941 Remove all multiarch strlen and strnlen versions.
4942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4943 Remove strlen and strnlen related parts.
4944
4945 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4946 Inline strlen part.
4947 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4948
4949 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4950 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4952 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4953 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4954 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4955
ec4ff04d
CD
49562013-03-17 Carlos O'Donell <carlos@redhat.com>
4957
4958 * manual/memory.texi (Malloc Tunable Parameters):
4959 Sort parameters alphabetically. Add comments for missing entries.
4960
cd18e90a
DM
49612013-03-17 David S. Miller <davem@davemloft.net>
4962
4963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4964
2a185d32
JM
49652013-03-16 Joseph Myers <joseph@codesourcery.com>
4966
d2f9799e
JM
4967 [BZ #15283]
4968 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4969 for arguments at most half maximum finite value.
4970 * math/libm-test.inc (j0_test): Add more tests.
4971 (j1_test): Likewise.
4972 (y0_test): Likewise.
4973 (y1_test): Likewise.
4974 * sysdeps/i386/fpu/libm-test-ulps: Update.
4975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4976
2a185d32
JM
4977 [BZ #14155]
4978 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4979 1 / x and functions P and Q for arguments above 0x1p256L.
4980 (__ieee754_y0l): Likewise.
4981 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4982 (__ieee754_y1l): Likewise.
4983 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4984 (j1_test): Likewise.
4985 (y0_test): Likewise.
4986 (y1_test): Likewise.
4987
6cbec759
TS
49882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4989
4990 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4991 variable.
4992
bc16e260
RM
49932013-03-15 Roland McGrath <roland@hack.frob.com>
4994
aefc9b8c
RM
4995 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4996 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4997 zero since it's initialized to EXEC_PAGESIZE.
4998
bc16e260
RM
4999 * sysdeps/unix/sysv/linux/ldsodefs.h
5000 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5001 * sysdeps/generic/ldsodefs.h: ... here.
5002
a57da955
TS
50032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5004
af00a34d
TS
5005 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5006
495ded2c
TS
5007 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5008 math/test-snan.c.
5009 * math/test-snan.c: Renamed from
5010 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5011 * math/Makefile (tests): Add test-snan.
5012 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5013 test-powerpc-snan.
5014
777b0332
TS
5015 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5016 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5017 functions.
5018 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5019 __builtin_nan family of functions.
5020 * math/libm-test.inc (initialize): Initialize qnan_value with
5021 __builtin_nan family of functions.
5022 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5023 Remove variables.
5024 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5025 Remove functions.
5026 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5027 storage class. Initialize qNaN_var and sNaN_var with
5028 __builtin_nan and __builtin_nans families of functions,
5029 respectively.
5030
64d063b8
TS
5031 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5032 (sqrt_test): Remove duplicate test with qNaN input.
5033 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5034 (round_test, signbit_test, significand_test): Note missing +/-Inf
5035 as well as qNaN tests.
5036
67e971f1
TS
5037 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5038 qNaN_var. Fix a few strings, too.
5039 * math/libm-test.inc (nan_value): Rename to qnan_value.
5040 * math/gen-libm-test.pl (%beautify): Adjust to that.
5041 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5042 * math/test-misc.c (main): Likewise.
5043 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5044 to __qnan_bytes, and __qnan_union, respectively.
5045 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5046 Likewise.
5047 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5048 and lqnanval, respectively.
5049 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5050 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5051 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5052 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5053
64487e12
TS
5054 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5055 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5056 doubles.
5057
e015e27b
TS
5058 * math/test-misc.c (main): Fix copy'n'pastos.
5059 * misc/tst-efgcvt.c (special): Likewise.
5060
a57da955
TS
5061 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5062 Remove declarations.
5063
1e380345
SP
50642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5065
5066 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5067 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5068 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5069 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5070
ef26eece
AZ
50712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5072
5073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5074 macro to return vdso values correctly in IFUNC implementations.
5075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5076 Optimization by using IFUNC.
5077
8cfdb7e0
SP
50782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 Richard Henderson <rth@redhat.com>
5080 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5081
5082 * Makefile.in (bench): New target.
5083 * NEWS: Mention the benchmark framework.
5084 * Rules (bench): Likewise.
5085 (binaries-bench): Generate binaries for functions to
5086 benchmark.
5087 * benchtests/Makefile: New makefile for benchmark tests.
5088 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5089 programs.
5090 * benchtests/exp-inputs: New input file for EXP function.
5091 * benchtests/pow-inputs: New input file for POW function.
5092 * scripts/bench.pl: New script to generate source files for
5093 benchmark programs.
5094
bcda9880
SP
50952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5096
d22ca8cd
SP
5097 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5099 computations on mantissa. Use macros for rounding and
5100 division.
5101 (denorm): Likewise.
5102 (__dbl_mp): Likewise.
5103 (add_magnitudes): Likewise.
5104 (sub_magnitudes): Likewise.
5105 (__mul): Likewise.
5106 (__sqr): Likewise.
5107 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5108 powers of two in terms of TWOPOW macro.
5109 (mp_no): Make type of mantissa as MANTISSA_T.
5110 [!RADIXI]: Define RADIXI.
5111 [!TWO52]: Define TWO52.
5112 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5113
bcda9880
SP
5114 * manual/nptl.texi (cindex): Modify threads to pthreads.
5115
06d5adfb
JM
51162013-03-15 Joseph Myers <joseph@codesourcery.com>
5117
5118 * sysdeps/x86_64/preconfigure: Regenerated.
5119
41c7328e
JM
51202013-03-14 Joseph Myers <joseph@codesourcery.com>
5121
5122 [BZ #14155]
5123 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5124 0x1p28 and above.
5125 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5126 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5127 0x1p28 and above.
5128 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5129 * math/libm-test.inc (j0_test): Do not allow one spurious
5130 underflow exception.
5131 (y1_test): Likewise.
5132
e25cfa60
SP
51332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5134
0409959c
SP
5135 * manual/Makefile (chapters): Add nptl.
5136 * manual/debug.texi (Debugging Support): Add link to Threads
5137 chapter.
5138 * manual/nptl.texi: New file.
5139
e25cfa60
SP
5140 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5141
58a1335e
PB
51422013-03-14 Petr Baudis <pasky@ucw.cz>
5143
5144 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5145 for non-NULL pointer before the memory validity test. Pointed
5146 out by Holger Brunck <holger.brunck@keymile.com>.
5147
9dc7c64f
AS
51482013-03-13 Andreas Schwab <schwab@suse.de>
5149
5150 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5151 instead of .os.
5152
54206aa6
JM
51532013-03-13 Joseph Myers <joseph@codesourcery.com>
5154
5155 * timezone/zic.c: Update from tzcode 2013b.
5156
e98cdb38
CD
51572013-03-12 Carlos O'Donell <carlos@redhat.com>
5158
5159 * manual/install.texi (Configuring and compiling):
5160 Mention i686 and i586.
5161 * INSTALL: Regenerate.
5162
9967e003
RM
51632013-03-12 Roland McGrath <roland@hack.frob.com>
5164
5165 * sysdeps/init_array/elf-init.c: New file.
5166 * csu/elf-init.c
5167 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5168 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5169
5170 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5171 __gmon_start__ as global, but as static with a .preinit_array pointer.
5172 * sysdeps/init_array/gmon-start.c: New file. Use that.
5173 * sysdeps/init_array/crti.S: New file, empty except for comments.
5174 * sysdeps/init_array/crtn.S: Likewise.
5175
e6b5a293 51762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5177
5178 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5179 definining bcopy.
80f844c9
OB
5180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5181 Remove Prefer_SSE_for_memop.
5182 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5183 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5184 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5186 memset-x86-64.
80f844c9 5187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5188 Remove bzero, memset ifunc support.
80f844c9
OB
5189 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5191 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5192 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5193
fb6b0fcb
AS
51942013-03-11 Andreas Schwab <schwab@suse.de>
5195
5196 [BZ #15234]
5197 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5198 by SHLIB_COMPAT.
5199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5200 (GLIBC_2.16): Remove pthread_atfork.
5201
3e6bd4b1
PP
52022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5203
5204 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5205 (ptestcases.h): Likewise.
5206
222d7f00
RM
52072013-03-08 Roland McGrath <roland@hack.frob.com>
5208
5209 * Makeconfig ($(common-objpfx)config.status): Depend on
5210 sysdeps/*/preconfigure{,.in} too.
5211
1ba4f030
JM
52122013-03-08 Joseph Myers <joseph@codesourcery.com>
5213
a222d91a
JM
5214 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5215 (__free_hook): Use void * instead of __malloc_ptr_t.
5216 (__malloc_hook): Likewise.
5217 (__realloc_hook): Likewise.
5218 (__memalign_hook): Likewise.
5219 (__after_morecore_hook): Likewise.
5220 * malloc/arena.c (save_malloc_hook): Likewise.
5221 (save_free_hook): Likewise.
5222 * malloc/hooks.c (malloc_hook_ini): Likewise.
5223 (realloc_hook_ini): Likewise.
5224 (memalign_hook_ini): Likewise.
5225 * malloc/malloc.c (malloc_hook_ini): Likewise.
5226 (realloc_hook_ini): Likewise.
5227 (memalign_hook_ini): Likewise.
5228 (__free_hook): Likewise.
5229 (__malloc_hook): Likewise.
5230 (__realloc_hook): Likewise.
5231 (__memalign_hook): Likewise.
5232 (__libc_malloc): Likewise.
5233 (__libc_free): Likewise.
5234 (__libc_realloc): Likewise.
5235 (__libc_memalign): Likewise.
5236 (__libc_valloc): Likewise.
5237 (__libc_pvalloc): Likewise.
5238 (__libc_calloc): Likewise.
5239 (__posix_memalign): Likewise.
5240 * malloc/morecore.c (__sbrk): Likewise.
5241 (__default_morecore): Likewise.
5242
5cc45e10
JM
5243 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5244
dd54b864
JM
5245 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5246 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5247 __malloc_ptrdiff_t.
5248
1ba4f030
JM
5249 * malloc/malloc.h (__malloc_size_t): Remove macro.
5250 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5251 __malloc_size_t.
5252 (old_memalign_hook): Likewise.
5253 (old_realloc_hook): Likewise.
5254 (struct hdr): Likewise.
5255 (flood): Likewise.
5256 (mallochook): Likewise.
5257 (memalignhook): Likewise.
5258 (reallochook): Likewise.
5259 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5260 (tr_old_realloc_hook): Likewise.
5261 (tr_old_memalign_hook): Likewise.
5262 (tr_mallochook): Likewise.
5263 (tr_reallochook): Likewise.
5264 (tr_memalignhook): Likewise.
5265
edf66e57
AZ
52662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5269 default_ldbl_pack and using as default implementation.
5270 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5271 implementation.
5272 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5273 redundant definition.
5274 (ldbl_insert_mantissa): Likewise.
5275 (ldbl_canonicalize): Likewise.
5276 (ldbl_nearbyint): Likewise.
5277 (ldbl_pack): Rename to ldbl_pack_ppc.
5278 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5279 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5280 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5281
6d9145d8
SP
52822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5283
5284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5285 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5287 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5289 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5290 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5291 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5292
4dd4e157
AJ
52932013-03-07 Andreas Jaeger <aj@suse.de>
5294
5295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5296 bits/mman-linux.h.
5297
adbb8027
SP
52982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5299
ce544b5b
SP
5300 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5301 Include mpa.h and declare __MPEXP.
5302 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5303 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5304 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5306 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5307 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5308 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5309
4cc149fd
SP
5310 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5311 (__slowpow): Use long double EXPL and LOGL functions to
5312 compute POW.
5313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5314 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5315 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5317 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5318 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5319
e6ebd4a7
SP
5320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5321 intermediate variable to calculate exponent.
5322 (__sqr): Likewise.
5323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5324 Likewise.
5325 (__sqr): Likewise.
5326
82a9811d
SP
5327 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5328 [!NO__SQR]: Define __sqr.
5329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5330 and NO__SQR. Remove all code except __mul and __sqr. Include
5331 sysdeps/ieee754/dbl-64/mpa.c.
5332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5333
adbb8027
SP
5334 [BZ #12723]
5335 * posix/Makefile (tests): Add tst-pathconf.
5336 * posix/tst-pathconf.c: New test case.
5337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5338 _PC_PIPE_BUF.
5339 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5340
39120df9
PF
53412013-03-06 Patsy Franklin <pfrankli@redhat.com>
5342
5343 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5344
67525cb8
AJ
53452013-03-06 Andreas Jaeger <aj@suse.de>
5346
664a9ce4
AJ
5347 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5348 definition via __MAP_ANONYMOUS.
5349
8e39047d
AJ
5350 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5351 it's not part of Linux headers.
5352
67525cb8
AJ
5353 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5354 (MAP_HUGE_MASK): Define.
5355
5356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5357 Define.
5358 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5359 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5360 Define.
5361 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5362 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5363 Define.
5364 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5366 Define.
5367 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5368
5369 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5370 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5371 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5372 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5373 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5374 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5375
5376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5377 Handle f2fs.
5378
5379 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5380 Handle f2fs and efivarfs.
5381
5382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5383 f2fs.
5384
5385 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5386 (EFIVARFS_MAGIC): Add.
5387 (F2FS_LINK_MAX): Add.
5388
e1b42695
PP
53892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5390
5391 * stdio-common/vfprintf.c: Replace __builtin_expect with
5392 __glibc_unlikely.
5393
2d67d91a
JM
53942013-03-06 Joseph Myers <joseph@codesourcery.com>
5395
5396 [BZ #13550]
5397 * sysdeps/generic/bp-sym.h: Remove file.
5398 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5399 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5400 <bp-sym.h> and <bp-asm.h>.
5401 (__longjmp): Don't use BP_SYM.
5402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5403 and <bp-asm.h>.
5404 (memcpy): Don't use BP_SYM.
5405 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5406 <bp-sym.h> and <bp-asm.h>.
5407 (memcpy): Don't use BP_SYM.
5408 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5409 <bp-asm.h>.
5410 (memcpy): Don't use BP_SYM.
5411 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5412 <bp-asm.h>.
5413 (memset): Don't use BP_SYM.
5414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5416 (__bzero): Don't use BP_SYM.
5417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5420 <bp-sym.h> and <bp-asm.h>.
5421 (memcmp): Don't use BP_SYM. Remove comment about bounded
5422 pointers.
5423 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5424 <bp-sym.h> and <bp-asm.h>.
5425 (memcpy): Don't use BP_SYM.
5426 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5427 <bp-sym.h> and <bp-asm.h>.
5428 (memset): Don't use BP_SYM.
5429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5431 (__bzero): Don't use BP_SYM.
5432 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5433 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5435 <bp-sym.h> and <bp-asm.h>.
5436 (strncmp): Don't use BP_SYM. Remove comment about bounded
5437 pointers.
5438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5439 <bp-sym.h> and <bp-asm.h>.
5440 (memcpy): Don't use BP_SYM.
5441 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5442 <bp-sym.h> and <bp-asm.h>.
5443 (memset): Don't use BP_SYM.
5444 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5445 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5446 (__bzero): Don't use BP_SYM.
5447 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5448 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5450 <bp-sym.h> and <bp-asm.h>.
5451 (__memchr): Don't use BP_SYM.
5452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5453 <bp-sym.h> and <bp-asm.h>.
5454 (memcmp): Don't use BP_SYM. Remove comment about bounded
5455 pointers.
5456 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5457 <bp-sym.h> and <bp-asm.h>.
5458 (memcpy): Don't use BP_SYM.
5459 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5460 <bp-sym.h> and <bp-asm.h>.
5461 (__mempcpy): Don't use BP_SYM.
5462 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5463 <bp-sym.h> and <bp-asm.h>.
5464 (__memrchr): Don't use BP_SYM.
5465 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5466 <bp-sym.h> and <bp-asm.h>.
5467 (memset): Don't use BP_SYM.
5468 (__bzero): Likewise.
5469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5470 <bp-sym.h> and <bp-asm.h>.
5471 (__rawmemchr): Don't use BP_SYM.
5472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5473 <bp-sym.h> and <bp-asm.h>.
5474 (__STRCMP): Don't use BP_SYM.
5475 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5476 <bp-sym.h> and <bp-asm.h>.
5477 (strchr): Don't use BP_SYM.
5478 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5479 <bp-sym.h> and <bp-asm.h>.
5480 (__strchrnul): Don't use BP_SYM.
5481 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5482 <bp-sym.h> and <bp-asm.h>.
5483 (strlen): Don't use BP_SYM.
5484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5485 <bp-sym.h> and <bp-asm.h>.
5486 (strncmp): Don't use BP_SYM. Remove comment about bounded
5487 pointers.
5488 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5489 <bp-sym.h> and <bp-asm.h>.
5490 (__strnlen): Don't use BP_SYM.
5491 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5492 <bp-sym.h> and <bp-asm.h>.
5493 (__GI__setjmp): Don't use BP_SYM.
5494 (_setjmp): Likewise.
5495 (__sigsetjmp): Likewise.
5496 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5497 (L(start_addresses)): Don't use BP_SYM.
5498 (_start): Likewise.
5499 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5500 <bp-asm.h>.
5501 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5502 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5503 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5504 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5505 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5506 <bp-asm.h>.
5507 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5508 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5509 about bounded pointers.
5510 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5511 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5512 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5513 <bp-asm.h>.
5514 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5515 about bounded pointers. Remove GKM FIXME comments.
5516 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5517 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5518 <bp-asm.h>.
5519 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5520 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5521 Remove GKM FIXME comments.
5522 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5523 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5524 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5525 <bp-asm.h>.
5526 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5527 about bounded pointers. Remove GKM FIXME comment.
5528 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5529 and <bp-asm.h>.
5530 (strncmp): Don't use BP_SYM. Remove comment about bounded
5531 pointers.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5533 <bp-sym.h> and <bp-asm.h>.
5534 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5536 <bp-sym.h> and <bp-asm.h>.
5537 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5538 comment.
5539
cdcf361f
PP
55402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5541
5542 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5543 call free(NULL).
5544
3c4a2b15
DM
55452013-03-05 David S. Miller <davem@davemloft.net>
5546
5547 * po/es.po: Update from translation team.
5548
cdcf361f 55492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5550
5551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5552 <bits/mman-linux.h>.
5553 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5554 is fine.
5555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5556 <bits/mman-linux.h> to end of file.
5557 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5558 is fine.
5559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5560 <bits/mman-linux.h> to end of file.
5561 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5562 is fine.
5563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5564 <bits/mman-linux.h> to end of file.
5565
5566 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5567 (MCL_CURRENT, MCL_FUTURE): Define here.
5568
5f67c04f
AK
55692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5570
8a4473cc 5571 [BZ #15232]
5f67c04f
AK
5572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5573 attribute_hidden.
5574 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5575
c3e94a95
AK
55762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5577
5578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5579 fourth parameter needed for rt_sigprocmask syscall.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5581 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5582 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5583 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5584 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5585 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5586
cfb6382a
JM
55872013-03-04 Joseph Myers <joseph@codesourcery.com>
5588
5589 [BZ #13550]
5590 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5591 comment about bounded pointers.
5592 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5593 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5594
539d8e01
AJ
55952013-03-04 Andreas Jaeger <aj@suse.de>
5596
5597 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5598 common definitions.
5599
5600 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5601 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5602 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5606
2e167a70 56072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5608
5609 [BZ #15055]
5610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5611 __ieee754_sqrl instead of __sqrl.
5612
68508633
JM
56132013-03-01 Joseph Myers <joseph@codesourcery.com>
5614
5615 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5616 * sysdeps/powerpc/fpu_control.h: ... here.
5617 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5618 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5619 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5620 * sysdeps/powerpc/bits/mathinline.h: ... here.
5621
7775448e
RM
56222013-03-01 Roland McGrath <roland@hack.frob.com>
5623
5624 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5625 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5626 to just [NEED_DL_SYSINFO_DSO].
5627 * elf/dl-support.c: Likewise.
5628 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5629 * elf/rtld.c (dl_main): Likewise.
5630 * elf/setup-vdso.h (setup_vdso): Likewise.
5631 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5632 * sysdeps/unix/sysv/linux/dl-sysdep.c
5633 (_dl_discover_osversion): Likewise.
5634
4e9b5995
CD
56352013-03-01 Carlos O'Donell <carlos@redhat.com>
5636
5637 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5638 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5639
e23872c8
SP
56402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5641
e5c74c63
SP
5642 * NEWS: Mention libm performance improvements and non-x86 PI
5643 futex support.
5644
e23872c8
SP
5645 * csu/libc-start.c (__pthread_initialize_minimal): Change
5646 function arguments.
5647 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5648
b5510883
JM
56492013-02-28 Joseph Myers <joseph@codesourcery.com>
5650
5651 [BZ #13550]
5652 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5653 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5654 <bp-sym.h> and <bp-asm.h>.
5655 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5657 and <bp-asm.h>.
5658 (memcpy): Don't use BP_SYM.
5659 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5660 <bp-asm.h>.
5661 (__mpn_add_n): Don't use BP_SYM.
5662 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5663 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5664 and <bp-asm.h>.
5665 (__mpn_addmul_1): Don't use BP_SYM.
5666 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5667 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5668 <bp-sym.h>.
5669 (_setjmp): Don't use BP_SYM.
5670 (__novmx_setjmp): Likewise.
5671 (__GI__setjmp): Likewise.
5672 (__vmx_setjmp): Likewise.
5673 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5674 <bp-sym.h>.
5675 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5676 (__bzero): Don't use BP_SYM.
5677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5679 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5680 <bp-sym.h> and <bp-asm.h>.
5681 (memcpy): Don't use BP_SYM.
5682 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5683 <bp-sym.h> and <bp-asm.h>.
5684 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5686 <bp-sym.h> and <bp-asm.h>.
5687 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5688 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5689 <bp-asm.h>.
5690 (__mpn_lshift): Don't use BP_SYM.
5691 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5692 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5693 <bp-asm.h>.
5694 (memset): Don't use BP_SYM.
5695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5697 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5698 <bp-asm.h>.
5699 (__mpn_mul_1): Don't use BP_SYM.
5700 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5702 <bp-sym.h> and <bp-asm.h>.
5703 (memcmp): Don't use BP_SYM.
5704 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5705 <bp-sym.h> and <bp-asm.h>.
5706 (memcpy): Don't use BP_SYM.
5707 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (memset): Don't use BP_SYM.
5710 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5711 <bp-sym.h> and <bp-asm.h>.
5712 (strncmp): Don't use BP_SYM.
5713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5714 <bp-sym.h> and <bp-asm.h>.
5715 (memcpy): Don't use BP_SYM.
5716 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5717 <bp-sym.h> and <bp-asm.h>.
5718 (memset): Don't use BP_SYM.
5719 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5720 <bp-sym.h> and <bp-asm.h>.
5721 (__memchr): Don't use BP_SYM.
5722 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5723 <bp-sym.h> and <bp-asm.h>.
5724 (memcmp): Don't use BP_SYM.
5725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5726 <bp-sym.h> and <bp-asm.h>.
5727 (memcpy): Don't use BP_SYM.
5728 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5729 <bp-sym.h> and <bp-asm.h>.
5730 (__mempcpy): Don't use BP_SYM.
5731 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5732 <bp-sym.h> and <bp-asm.h>.
5733 (__memrchr): Don't use BP_SYM.
5734 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5735 <bp-sym.h> and <bp-asm.h>.
5736 (memset): Don't use BP_SYM.
5737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5738 <bp-sym.h> and <bp-asm.h>.
5739 (__rawmemchr): Don't use BP_SYM.
5740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5741 <bp-sym.h> and <bp-asm.h>.
5742 (__STRCMP): Don't use BP_SYM.
5743 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5744 <bp-sym.h> and <bp-asm.h>.
5745 (strchr): Don't use BP_SYM.
5746 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5747 <bp-sym.h> and <bp-asm.h>.
5748 (__strchrnul): Don't use BP_SYM.
5749 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5750 <bp-sym.h> and <bp-asm.h>.
5751 (strlen): Don't use BP_SYM.
5752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5753 <bp-sym.h> and <bp-asm.h>.
5754 (strncmp): Don't use BP_SYM.
5755 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5756 <bp-sym.h> and <bp-asm.h>.
5757 (__strnlen): Don't use BP_SYM.
5758 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5759 <bp-asm.h>.
5760 (__mpn_rshift): Don't use BP_SYM.
5761 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5762 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (__sigsetjmp): Don't use BP_SYM.
5765 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5766 (L(start_addresses)): Don't use BP_SYM.
5767 (_start): Likewise.
5768 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5769 <bp-asm.h>.
5770 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5771 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5772 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5773 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5774 <bp-asm.h>.
5775 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5776 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5777 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5778 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5779 <bp-asm.h>.
5780 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5781 comments.
5782 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5783 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5784 <bp-asm.h>.
5785 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5786 FIXME comments.
5787 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5788 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5789 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5790 <bp-asm.h>.
5791 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5792 comment.
5793 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5794 and <bp-asm.h>.
5795 (strncmp): Don't use BP_SYM,
5796 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5797 <bp-asm.h>.
5798 (__mpn_sub_n): Don't use BP_SYM.
5799 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5800 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5801 and <bp-asm.h>.
5802 (__mpn_submul_1): Don't use BP_SYM.
5803 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5805 <bp-sym.h> and <bp-asm.h>.
5806 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5808 <bp-sym.h> and <bp-asm.h>.
5809 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5810 comment.
5811
8d19fe64
SP
58122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5813
5814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5815 Use ZK to minimize writes to Z.
5816 (sub_magnitudes): Simplify code a bit.
5817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5818 Use ZK to minimize writes to Z.
5819 (sub_magnitudes): Simplify code a bit.
5820
85bd816a
RM
58212013-02-27 Roland McGrath <roland@hack.frob.com>
5822
5823 * csu/gmon-start.c: Add special exception to license text.
5824
b5977bf2
RH
58252013-02-27 Richard Henderson <rth@redhat.com>
5826
5827 * scripts/config.guess: Update from config.git.
5828 * scripts/config.sub: Likewise.
5829
11d6e2f2
SP
58302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5831
09c14ed2
SP
5832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5833
a688864e
SP
5834 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5835
6295157a
SP
5836 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5837
b8de2202
SP
5838 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5839
11d6e2f2
SP
5840 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5841
7e80ddb8
RM
58422013-02-26 Roland McGrath <roland@hack.frob.com>
5843
5844 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5845 [$(build-shared = yes].
7e80ddb8 5846
7da6d9ed
SP
58472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5848
45f05884
SP
5849 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5850 (__mul): Reduce iterations for calculating mantissa.
5851
2236d359
SP
5852 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5853 MPTWO.
5854 (__mpranred): Likewise.
5855
7da6d9ed
SP
5856 [BZ #15160]
5857 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5858 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5859
b7688c42
PE
58602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5861
5862 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5863 Define __attribute__.
5864
53a5c423
SP
58652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5868 unused.
5869 * posix/regex_internal.h (__attribute): Remove.
5870 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5871 (re_string_context_at): Likewise.
5872 (bitset_not): Use __attribute__ and mark function as possibly
5873 unused.
5874 (bitset_merge): Likewise.
5875 (bitset_mask): Likewise.
5876 (re_string_char_size_at): Likewise.
5877 (re_string_wchar_at): Likewise.
5878 (re_string_elem_size_at): Likewise.
5879
60f5a8b5
SP
58802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5881
2a983a2e
SP
5882 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5883 code.
5884 (cc32): Likewise.
5885
e69804d1
SP
5886 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5887 (__acr): Likewise.
5888 (__cpy): Likewise.
5889 (norm): Likewise.
5890 (denorm): Likewise.
5891 (__dbl_mp): Likewise.
5892 (add_magnitudes): Likewise.
5893 (sub_magnitudes): Likewise.
5894 (__mul): Likewise.
5895 (__inv): Likewise.
5896
2f22a1e8
SP
5897 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5898 style.
5899
8930ddc7
SP
5900 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5901 style.
5902
dc60cb11
SP
5903 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5904 code.
5905
60f5a8b5
SP
5906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5907 up changes with default code.
5908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5909 Likewise.
5910
b4d1fd33
AM
59112013-02-24 Allan McRae <allan@archlinux.org>
5912
faf6f8bc
AM
5913 * manual/socket.texi (The Internet Namespace): Order menu items
5914 to match that in the file.
5915
b4d1fd33
AM
5916 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5917 node listing of the info page menu.
5918
2366713d
JM
59192013-02-21 Joseph Myers <joseph@codesourcery.com>
5920
5921 [BZ #13550]
5922 * sysdeps/i386/bp-asm.h: Remove file.
5923 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5924 (PARMS): Do not use macros from bp-asm.h.
5925 (S1): Likewise.
5926 (S2): Likewise.
5927 (SIZE): Likewise.
5928 (__mpn_add_n): Do not use BP_SYM
5929 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5930 "bp-asm.h".
5931 (PARMS): Do not use macros from bp-asm.h.
5932 (S1): Likewise.
5933 (SIZE): Likewise.
5934 (__mpn_addmul_1): Do not use BP_SYM
5935 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5936 "bp-asm.h".
5937 (PARMS): Do not use macros from bp-asm.h.
5938 (SIGMSK): Likewise.
5939 (_setjmp): Likewise. Do not use BP_SYM.
5940 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5941 "bp-asm.h".
5942 (PARMS): Do not use macros from bp-asm.h.
5943 (SIGMSK): Likewise.
5944 (setjmp): Likewise. Do not use BP_SYM.
5945 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5946 "bp-asm.h".
5947 (PARMS): Do not use macros from bp-asm.h.
5948 (__frexp): Do not use BP_SYM.
5949 (frexp): Likewise.
5950 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5951 "bp-asm.h".
5952 (PARMS): Do not use macros from bp-asm.h.
5953 (__frexpf): Do not use BP_SYM.
5954 (frexpf): Likewise.
5955 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5956 "bp-asm.h".
5957 (PARMS): Do not use macros from bp-asm.h.
5958 (__frexpl): Do not use BP_SYM.
5959 (frexpl): Likewise.
5960 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5961 "bp-asm.h".
5962 (PARMS): Do not use macros from bp-asm.h.
5963 (__remquo): Do not use BP_SYM.
5964 (remquo): Likewise.
5965 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5966 "bp-asm.h".
5967 (PARMS): Do not use macros from bp-asm.h.
5968 (__remquof): Do not use BP_SYM.
5969 (remquof): Likewise.
5970 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5971 "bp-asm.h".
5972 (PARMS): Do not use macros from bp-asm.h.
5973 (__remquol): Do not use BP_SYM.
5974 (remquol): Likewise.
5975 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5976 "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (DEST): Likewise.
5979 (SRC): Likewise.
5980 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5981 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5982 "bp-asm.h".
5983 (PARMS): Do not use macros from bp-asm.h.
5984 (strlen): Do not use BP_SYM.
5985 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5986 "bp-asm.h".
5987 (PARMS): Do not use macros from bp-asm.h.
5988 (S1): Likewise.
5989 (S2): Likewise.
5990 (SIZE): Likewise.
5991 (__mpn_add_n): Do not use BP_SYM.
5992 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5993 "bp-asm.h".
5994 (PARMS): Do not use macros from bp-asm.h.
5995 (S1): Likewise.
5996 (SIZE): Likewise.
5997 (__mpn_addmul_1): Do not use BP_SYM.
5998 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5999 weak_alias.
6000 (bzero): Likewise.
6001 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6002 "bp-asm.h".
6003 (PARMS): Do not use macros from bp-asm.h.
6004 (S): Likewise.
6005 (SIZE): Likewise.
6006 (__mpn_lshift): Do not use BP_SYM.
6007 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6008 "bp-asm.h".
6009 (PARMS): Do not use macros from bp-asm.h.
6010 (DEST): Likewise.
6011 (SRC): Likewise.
6012 (LEN): Likewise.
6013 (memcpy): Likewise. Do not use BP_SYM.
6014 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6015 libc_hidden_def and weak_alias.
6016 (mempcpy): Do not use BP_SYM in weak_alias.
6017 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6018 "bp-asm.h".
6019 (PARMS): Do not use macros from bp-asm.h.
6020 (DEST): Likewise.
6021 (LEN): Likewise.
6022 [!BZERO_P] (CHR): Likewise.
6023 (memset): Likewise. Do not use BP_SYM.
6024 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6025 "bp-asm.h".
6026 (PARMS): Do not use macros from bp-asm.h.
6027 (S1): Likewise.
6028 (SIZE): Likewise.
6029 (__mpn_mul_1): Do not use BP_SYM.
6030 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6031 "bp-asm.h".
6032 (PARMS): Do not use macros from bp-asm.h.
6033 (S): Likewise.
6034 (SIZE): Likewise.
6035 (__mpn_rshift): Do not use BP_SYM.
6036 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6037 "bp-asm.h".
6038 (PARMS): Do not use macros from bp-asm.h.
6039 (STR): Likewise.
6040 (CHR): Likewise.
6041 (strchr): Likewise. Do not use BP_SYM.
6042 (index): Do not use BP_SYM in weak_alias.
6043 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6044 "bp-asm.h".
6045 (PARMS): Do not use macros from bp-asm.h.
6046 (DEST): Likewise.
6047 (SRC): Likewise.
6048 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6049 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6050 "bp-asm.h".
6051 (PARMS): Do not use macros from bp-asm.h.
6052 (strlen): Do not use BP_SYM.
6053 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6054 "bp-asm.h".
6055 (PARMS): Do not use macros from bp-asm.h.
6056 (S1): Likewise.
6057 (S2): Likewise.
6058 (SIZE): Likewise.
6059 (__mpn_sub_n): Do not use BP_SYM.
6060 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6061 "bp-asm.h".
6062 (PARMS): Do not use macros from bp-asm.h.
6063 (S1): Likewise.
6064 (SIZE): Likewise.
6065 (__mpn_submul_1): Do not use BP_SYM.
6066 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6067 "bp-asm.h".
6068 (PARMS): Do not use macros from bp-asm.h.
6069 (S1): Likewise.
6070 (S2): Likewise.
6071 (SIZE): Likewise.
6072 (__mpn_add_n): Do not use BP_SYM.
6073 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6074 weak_alias.
6075 (bzero): Likewise.
6076 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6077 "bp-asm.h".
6078 (PARMS): Do not use macros from bp-asm.h.
6079 (BLK2): Likewise.
6080 (LEN): Likewise.
6081 (memcmp): Do not use BP_SYM.
6082 (bcmp): Do not use BP_SYM in weak_alias.
6083 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6084 "bp-asm.h".
6085 (PARMS): Do not use macros from bp-asm.h.
6086 (DEST): Likewise.
6087 (SRC): Likewise.
6088 (LEN): Likewise.
6089 (memcpy): Likewise. Do not use BP_SYM.
6090 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6091 "bp-asm.h".
6092 (PARMS): Do not use macros from bp-asm.h.
6093 (DEST): Likewise.
6094 (SRC): Likewise.
6095 (LEN): Likewise.
6096 (memmove): Likewise. Do not use BP_SYM.
6097 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6098 "bp-asm.h".
6099 (PARMS): Do not use macros from bp-asm.h.
6100 (DEST): Likewise.
6101 (SRC): Likewise.
6102 (LEN): Likewise.
6103 (__mempcpy): Likewise. Do not use BP_SYM.
6104 (mempcpy): Do not use BP_SYM in weak_alias.
6105 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6106 "bp-asm.h".
6107 (PARMS): Do not use macros from bp-asm.h.
6108 (DEST): Likewise.
6109 (LEN): Likewise.
6110 [!BZERO_P] (CHR): Likewise.
6111 (memset): Likewise. Do not use BP_SYM.
6112 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6113 "bp-asm.h".
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (STR2): Likewise.
6116 (strcmp): Do not use BP_SYM.
6117 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6118 "bp-asm.h".
6119 (PARMS): Do not use macros from bp-asm.h.
6120 (STR): Likewise.
6121 (DELIM): Likewise.
6122 [USE_AS_STRTOK_R] (SAVE): Likewise.
6123 (FUNCTION): Likewise. Do not use BP_SYM.
6124 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6125 aliases.
6126 (strtok_r): Likewise.
6127 (__GI___strtok_r): Likewise.
6128 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6129 (PARMS): Do not use macros from bp-asm.h.
6130 (S): Likewise.
6131 (SIZE): Likewise.
6132 (__mpn_lshift): Do not use BP_SYM.
6133 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6134 (PARMS): Do not use macros from bp-asm.h.
6135 (STR): Likewise.
6136 (CHR): Likewise.
6137 (__memchr): Do not use BP_SYM.
6138 (memchr): Do not use BP_SYM in weak_alias.
6139 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6140 (PARMS): Do not use macros from bp-asm.h.
6141 (BLK2): Likewise.
6142 (LEN): Likewise.
6143 (memcmp): Do not use BP_SYM.
6144 (bcmp): Do not use BP_SYM in weak_alias.
6145 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6146 (PARMS): Do not use macros from bp-asm.h.
6147 (S1): Likewise.
6148 (SIZE): Likewise.
6149 (__mpn_mul_1): Do not use BP_SYM.
6150 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (STR): Likewise.
6154 (CHR): Likewise.
6155 (__rawmemchr): Do not use BP_SYM.
6156 (rawmemchr): Do not use BP_SYM in weak_alias.
6157 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6158 (PARMS): Do not use macros from bp-asm.h.
6159 (S): Likewise.
6160 (SIZE): Likewise.
6161 (__mpn_rshift): Do not use BP_SYM.
6162 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (SIGMSK): Likewise.
6165 (__sigsetjmp): Likewise. Do not use BP_SYM.
6166 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6167 (_start): Do not use BP_SYM.
6168 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6169 (PARMS): Do not use macros from bp-asm.h.
6170 (DEST): Likewise.
6171 (SRC): Likewise.
6172 (__stpcpy): Likewise. Do not use BP_SYM.
6173 (stpcpy): Do not use BP_SYM in weak_alias.
6174 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6175 "bp-asm.h".
6176 (PARMS): Do not use macros from bp-asm.h.
6177 (DEST): Likewise.
6178 (SRC): Likewise.
6179 (LEN): Likewise.
6180 (__stpncpy): Likewise. Do not use BP_SYM.
6181 (stpncpy): Do not use BP_SYM in weak_alias.
6182 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6183 (PARMS): Do not use macros from bp-asm.h.
6184 (STR): Likewise.
6185 (CHR): Likewise.
6186 (strchr): Likewise. Do not use BP_SYM.
6187 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6188 "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (STR): Likewise.
6191 (CHR): Likewise.
6192 (__strchrnul): Likewise. Do not use BP_SYM.
6193 (strchrnul): Do not use BP_SYM in weak_alias.
6194 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6195 "bp-asm.h".
6196 (PARMS): Do not use macros from bp-asm.h.
6197 (STOP): Likewise.
6198 (strcspn): Do not use BP_SYM.
6199 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6200 "bp-asm.h".
6201 (PARMS): Do not use macros from bp-asm.h.
6202 (STR): Likewise.
6203 (STOP): Likewise.
6204 (strpbrk): Likewise. Do not use BP_SYM.
6205 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6206 "bp-asm.h".
6207 (PARMS): Do not use macros from bp-asm.h.
6208 (STR): Likewise.
6209 (CHR): Likewise.
6210 (strrchr): Likewise. Do not use BP_SYM.
6211 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6212 (PARMS): Do not use macros from bp-asm.h.
6213 (SKIP): Likewise.
6214 (strspn): Do not use BP_SYM.
6215 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6216 (PARMS): Do not use macros from bp-asm.h.
6217 (STR): Likewise.
6218 (DELIM): Likewise.
6219 (SAVE): Likewise.
6220 (FUNCTION): Likewise. Do not use BP_SYM.
6221 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6222 aliases.
6223 (strtok_r): Likewise.
6224 (__GI___strtok_r): Likewise.
6225 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6226 (PARMS): Do not use macros from bp-asm.h.
6227 (S1): Likewise.
6228 (S2): Likewise.
6229 (SIZE): Likewise.
6230 (__mpn_sub_n): Do not use BP_SYM.
6231 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6232 "bp-asm.h".
6233 (PARMS): Do not use macros from bp-asm.h.
6234 (S1): Likewise.
6235 (SIZE): Likewise.
6236 (__mpn_submul_1): Do not use BP_SYM.
6237 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6238 <bp-sym.h>.
6239 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6240 and <bp-asm.h>.
6241 (PARMS): Do not use macros from bp-asm.h.
6242 (FLAGS): Likewise.
6243 (PTID): Likewise.
6244 (TLS): Likewise.
6245 (CTID): Likewise.
6246 (__clone): Do not use BP_SYM.
6247 (clone): Do not use BP_SYM in weak_alias.
6248 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6249 and <bp-asm.h>.
6250 (PARMS): Do not use macros from bp-asm.h.
6251 (LEN): Likewise.
6252 (__mmap64): Do not use BP_SYM.
6253 (mmap64): Do not use BP_SYM in weak_alias.
6254 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6255 <bp-sym.h> and <bp-asm.h>.
6256 (PARMS): Do not use macros from bp-asm.h.
6257 (__posix_fadvise64_l64): Do not use BP_SYM.
6258 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6259 (PARMS): Do not use macros from bp-asm.h.
6260 (NSOPS): Likewise.
6261 (semtimedop): Do not use BP_SYM.
6262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6263 and <bp-asm.h>.
6264
582a3cff
AM
62652013-02-21 Allan McRae <allan@archlinux.org>
6266
6267 * manual/message.texi (Charset conversion in gettext):
6268 Move @end statement to beginning of line.
6269
bab8a695
SP
62702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6271
80945231
SP
6272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6273 static.
6274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6275 Likewise.
6276
bab8a695
SP
6277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6278 (denorm): Likewise.
6279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6281
e21d7aa7
AK
62822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6283
6284 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6285 tail-call to the resolved function if pltexit isn't needed.
6286
4c7a4263
SP
62872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6288
6289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6290 or Y being zero as being unlikely.
6291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6292 Likewise.
6293
41f49342
CD
62942013-02-20 Carlos O'Donell <carlos@redhat.com>
6295
6296 * manual/nss.texi (System Databases and Name Service Switch):
6297 Remove frobnicate @pxref.
6298
50022a93
TS
62992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6300
6301 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6302 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6303
08cbd996
PM
63042013-02-20 Petr Machata <pmachata@redhat.com>
6305
6306 * elf/elf.h (R_ARM_TARGET1): New macro.
6307 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6308 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6309 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6310 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6311 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6312 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6313 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6314 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6315 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6316 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6317 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6318 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6319 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6320 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6321 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6322 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6323 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6324 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6325 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6326 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6327 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6328 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6329 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6330 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6331 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6332 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6333 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6334 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6335 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6336 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6337 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6338 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6339 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6340 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6341 (R_ARM_THM_GOT_BREL12): Likewise.
6342 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6343 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6344 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6345 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6346 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6347 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6348 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6349 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6350 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6351
c7b275d6
TS
63522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6353
6354 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6355 __attribute_used__ to __attribute__ ((unused)).
6356
20cd7fb3
SP
63572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6358
6359 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6360 powerpc mpa.c.
6361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6362 comment formatting.
6363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6364
92945b52
JM
63652013-02-19 Joseph Myers <joseph@codesourcery.com>
6366
6367 [BZ #13550]
6368 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6369 Remove macro.
6370 (ENTER): Remove both macro definitions.
6371 (LEAVE): Likewise.
6372 (CHECK_BOUNDS_LOW): Likewise.
6373 (CHECK_BOUNDS_HIGH): Likewise.
6374 (CHECK_BOUNDS_BOTH): Likewise.
6375 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6376 (RETURN_BOUNDED_POINTER): Likewise.
6377 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6378 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6379 (POP_ERRNO_LOCATION_RETURN): Likewise.
6380 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6381 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6382 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6383 macros.
6384 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6385 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6386 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6387 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6388 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6389 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6390 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6391 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6392 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6393 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6394 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6395 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6396 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6397 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6398 removed macros.
6399 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6400 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6401 macros.
6402 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6403 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6404 * sysdeps/i386/i586/memset.S (memset): Likewise.
6405 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6407 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6408 macros.
6409 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6410 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6411 Change uses of L(2) to L(out).
6412 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6413 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6414 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6415 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6416 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6417 removed macros.
6418 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6419 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6420 macros.
6421 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6422 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6423 (RETURN): Do not use macro LEAVE.
6424 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6425 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6426 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6427 * sysdeps/i386/i686/memset.S (memset): Likewise.
6428 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6429 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6430 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6432 Likewise.
6433 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6434 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6435 L(1_2) and L(1_3) into L(1).
6436 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6437 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6438 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6439 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6440 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6441 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6442 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6443 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6444 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6445 macros.
6446 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6447 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6448 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6449 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6450 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6451 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6452 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6453 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6454 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6455 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6456 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6457 * sysdeps/i386/strspn.S (strspn): Likewise.
6458 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6459 conditional code.
6460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6461 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6462 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6463 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6464 L(1_3) into L(1_1).
6465 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6466 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6467 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6468 macros.
6469 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6470
2389741a
JJ
64712013-02-19 Jakub Jelinek <jakub@redhat.com>
6472
6473 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6474 macro.
6475
2016b3cd
SP
64762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6477
e4f22324
SP
6478 * math/atest-exp.c (exp_mpn): Remove ROUND.
6479 * math/atest-exp2.c (exp_mpn): Likewise.
6480 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6481
2016b3cd
SP
6482 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6483 * stdlib/tst-tls-atexit-lib.c: Likewise.
6484 * stdlib/tst-tls-atexit.c: Likewise.
6485
4be9b544
MF
64862013-02-18 Mike Frysinger <vapier@gentoo.org>
6487
6488 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6489 and __attribute_alloc_size__.
6490
2f62b9ee
MF
64912013-02-18 Mike Frysinger <vapier@gentoo.org>
6492
6493 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6494 __attribute_alloc_size__.
6495 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6496 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6497
6ff444c4
MF
64982013-02-18 Mike Frysinger <vapier@gentoo.org>
6499
6500 * include/programs/xmalloc.h: New file.
6501 * catgets/gencat.c: Include it.
6502 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6503 * elf/pldd.c: Likewise.
6504 * iconv/iconv_charmap.c: Likewise.
6505 * iconv/iconvconfig.c: Likewise.
6506 * iconv/strtab.c: Likewise.
6507 * locale/programs/locale.c: Likewise.
6508 * locale/programs/localedef.h: Likewise.
6509 * locale/programs/simple-hash.c: Likewise.
6510 * nscd/nscd.h: Likewise.
6511 * nss/makedb.c: Likewise.
6512 * sysdeps/generic/ldconfig.h: Likewise.
6513
be179c8a
SP
65142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
ba384f6e
SP
6516 * Versions.def: Add GLIBC_2.18.
6517 * include/link.h (struct link_map): New member l_tls_dtor_count.
6518 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6519 (__call_tls_dtors): Likewise.
6520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6521 __cxa_thread_atexit_impl.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6523 Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6527 Likewise.
6528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6529 Likewise.
6530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6532 Likewise.
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6534 Likewise.
6535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6537 Likewise.
6538 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6539 (tests): Add test case tst-tls-atexit.
6540 (modules-names): Add shared library for tst-tls-atexit.
6541 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6542 (GLIBC_PRIVATE): Add __call_tls_dtors.
6543 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6544 for libstdc++.
6545 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6546 * stdlib/tst-tls-atexit.c: New test case.
6547 * stdlib/tst-tls-atexit-lib.c: New test case.
6548
ffaa74cf 6549 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6550
be179c8a
SP
6551 * elf/Versions (ld): Add _dl_find_dso_for_object.
6552 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6553 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6554 (dl_open_worker): Use _dl_find_dso_for_object.
6555 * elf/dl-sym.c (do_sym): Likewise.
6556 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6557
f78b5caa
AK
65582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6559
6560 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6561 Syntactic changes only.
6562 (_dl_runtime_profile): Do a tail-call to the resolved function.
6563
29691210
JM
65642013-02-17 Joseph Myers <joseph@codesourcery.com>
6565
6566 [BZ #13550]
6567 * sysdeps/x86_64/bp-asm.h: Remove file.
6568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6569 <bp-sym.h> and <bp-asm.h>.
6570 (__clone): Do not use BP_SYM.
6571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6572 <bp-sym.h> and <bp-asm.h>.
6573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6574 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6575 "bp-asm.h".
6576 (_setjmp): Do not use BP_SYM.
6577 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6578 "bp-asm.h".
6579 (setjmp): Do not use BP_SYM.
6580 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6581 libc_hidden_def.
6582 (mempcpy): Do not use BP_SYM in weak_alias.
6583 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6584 "bp-asm.h".
6585 (strchr): Do not use BP_SYM.
6586 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6587 "bp-asm.h".
6588 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6589 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6590 (_start): Do not use BP_SYM.
6591 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6592 "bp-asm.h".
6593 (strcat): Do not use BP_SYM.
6594 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6595 "bp-asm.h".
6596 (STRCMP): Do not use BP_SYM.
6597 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6598 "bp-asm.h".
6599 (STRCPY): Do not use BP_SYM.
6600 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6601 "bp-asm.h".
6602 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6603 "bp-asm.h".
6604 (FUNCTION): Do not use BP_SYM.
6605 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6606 weak_alias.
6607 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6608
f238fd19
AJ
66092013-02-17 Andreas Jaeger <aj@suse.de>
6610
6611 * time/Versions: Sort entries.
6612 * string/Versions: Likewise.
6613 * resolv/Versions: Likewise.
6614 * posix/Versions: Likewise.
6615 * iconv/Versions: Likewise.
6616 * elf/Versions: Likewise.
6617 * wcsmbs/Versions: Likewise.
6618
bd07f23c 66192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6620
22af19f9
SP
6621 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6622 loop termination condition.
6623
4709fe76
SP
6624 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6625 variable to calculate EZ.
6626 (__sqr): Likewise.
2d0e0f29
SP
6627
6628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6629 the lower precision input.
6630
daaa7713
JM
66312013-02-15 Joseph Myers <joseph@codesourcery.com>
6632
6633 [BZ #13550]
6634 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6635 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6636 (run-via-rtld-prefix): Do not handle %-bp tests.
6637 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6638 (all-object-suffixes): Remove .ob.
6639 (bppfx): Remove variable.
6640 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6641 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6642 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6643 [$(build-bounded) = yes] (libtype.ob): Likewise.
6644 * Makerules (elide-routines.ob): Remove variable.
6645 (do-tests-clean): Do not handle *-bp.out.
6646 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6647 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6648 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6649 (tests): Do not include $(tests-bp.out).
6650 (xtests): Do not include $(xtests-bp.out).
6651 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6652 [$(build-bounded) = yes] ($(addprefix
6653 $(objpfx),$(binaries-bounded))): Remove rule.
6654 ($(objpfx)%-bp.out): Remove rule.
6655 * config.make.in (build-bounded): Remove variable.
6656 * crypt/Makefile [$(build-bounded) = yes]
6657 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6658 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6659 append to variable.
6660 [$(build-bounded) = yes] (install-lib): Likewise.
6661 [$(build-bounded) = yes] (generated): Likewise.
6662 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6663 Remove rule.
6664 * intl/Makefile [$(build-bounded) = yes]
6665 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6666 * math/Makefile [$(build-bounded) = yes]
6667 ($(tests:%=$(objpfx)%-bp): Likewise.
6668 * misc/Makefile [$(build-bounded) = yes]
6669 ($(objpfx)tst-tsearch-bp): Likewise.
6670 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6671 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6672 Remove dependency.
6673 * string/Makefile (o-objects.ob): Remove variable.
6674 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6675 (CFLAGS-.ob): Remove variable.
6676 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6677 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6678 both definitions of variable.
6679 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6680 (ASFLAGS-.ob): Remove variable.
6681
e97ed6dd
JM
66822013-02-14 Joseph Myers <joseph@codesourcery.com>
6683
2bdd4ca6
JM
6684 [BZ #13550]
6685 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6686 Remove __BOUNDED_POINTERS__ from condition.
6687 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6688 * string/bits/string2.h [!__NO_STRING_INLINES &&
6689 !__BOUNDED_POINTERS__]: Likewise.
6690 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6691 Likewise.
6692 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6693 Remove conditional code.
6694 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6695 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6696 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6697 condition.
6698
e97ed6dd
JM
6699 [BZ #13550]
6700 * csu/libc-start.c: Do not include <bp-sym.h>.
6701 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6702 * elf/dl-open.c: Do not include <bp-sym.h>.
6703 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6704 * math/fegetenv.c: Do not include <bp-sym.h>.
6705 (fegetenv): Do not use BP_SYM in versioned symbols.
6706 * nptl/sysdeps/pthread/bits/libc-lockP.h
6707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6708 <bp-sym.h>.
6709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6710 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6712 (__pthread_mutex_destroy): Likewise.
6713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6714 (__pthread_mutex_lock): Likewise.
6715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6716 (__pthread_mutex_trylock): Likewise.
6717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6718 (__pthread_mutex_unlock): Likewise.
6719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6720 (__pthread_mutexattr_init): Likewise.
6721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6722 (__pthread_mutexattr_destroy): Likewise.
6723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6724 (__pthread_mutexattr_settype): Likewise.
6725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6726 (__pthread_rwlock_init): Likewise.
6727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6728 (__pthread_rwlock_destroy): Likewise.
6729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6730 (__pthread_rwlock_rdlock): Likewise.
6731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6732 (__pthread_rwlock_tryrdlock): Likewise.
6733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6734 (__pthread_rwlock_wrlock): Likewise.
6735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6736 (__pthread_rwlock_trywrlock): Likewise.
6737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6738 (__pthread_rwlock_unlock): Likewise.
6739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6740 (__pthread_key_create): Likewise.
6741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6742 (__pthread_setspecific): Likewise.
6743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6744 (__pthread_getspecific): Likewise.
6745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6746 Likewise.
6747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6748 (_pthread_cleanup_push_defer): Likewise.
6749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6750 (_pthread_cleanup_pop_restore): Likewise.
6751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6752 (pthread_setcancelstate): Likewise.
6753 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6754 <bp-sym.h>.
6755 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6756 (memchr): Do not use BP_SYM in weak_alias.
6757 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6758 (fegetenv): Do not use BP_SYM in versioned symbols.
6759 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6760 (fesetenv): Do not use BP_SYM in versioned symbols.
6761 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6762 (feupdateenv): Do not use BP_SYM in versioned symbols.
6763 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6764 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6765 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6766 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6767 (open64): Do not use BP_SYM in weak_alias.
6768 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6769 (fegetenv): Do not use BP_SYM in versioned symbols.
6770 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6771 (fesetenv): Do not use BP_SYM in versioned symbols.
6772 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6773 (feupdateenv): Do not use BP_SYM in versioned symbols.
6774 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6775 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6776 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6777 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6778 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6779 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6781 <bp-sym.h>.
6782 (__libc_start_main): Do not use BP_SYM.
6783
d6752ccd
SP
67842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6785
cb57ce60
SP
6786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6787 redundant return line.
6788 (norm): Likewise.
6789 (denorm): Likewise.
6790 (dbl_mp): Likewise.
6791 (sub_magnitudes): Likewise.
6792 (__add): Likewise.
6793 (__sub): Likewise.
6794 (__mul): Likewise.
6795 (__inv): Likewise.
6796 (__dvd): Likewise.
6797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6798 (norm): Likewise.
6799 (denorm): Likewise.
6800 (dbl_mp): Likewise.
6801 (sub_magnitudes): Likewise.
6802 (__add): Likewise.
6803 (__sub): Likewise.
6804 (__mul): Likewise.
6805 (__inv): Likewise.
6806 (__dvd): Likewise.
6807
f414520d
SP
6808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6809 instead of __mul.
6810 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6811 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6812 (cc32): Likewise.
6813
d6752ccd
SP
6814 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6815 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6817 of __mul for squares.
6818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6819 function
6820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6821 Likewise.
6822 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6824
70d9946a
JM
68252013-02-13 Joseph Myers <joseph@codesourcery.com>
6826
6827 [BZ #13550]
6828 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6829 code.
6830 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6831 prototype or function definition. Rename ubp_* variables and
6832 parameters. Remove argv definitions conditional on
6833 [__BOUNDED_POINTERS__].
6834 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6835 * elf/dl-runtime.c (_dl_fixup): Likewise.
6836 * include/set-hooks.h (RUN_HOOK): Likewise.
6837 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6838 definition.
6839 * string/strcpy.c (strcpy): Do not use __unbounded.
6840 * sysdeps/generic/frame.h (struct layout): Likewise.
6841 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6842 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6843 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6844 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6845 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6846 (__backtrace): Likewise.
6847 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6848 use __ptrvalue.
6849 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6850 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6851 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6852 Likewise.
6853 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6854 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6855 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6856 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6857 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6858 Do not use __unbounded.
6859 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6860 Rename __unboundedrlimits parameter to rlimits in prototype.
6861 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6862 Do not use __unbounded.
6863 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6864 not use __ptrvalue.
6865 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6866 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6867 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6868 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6869 __ptrvalue or __unbounded.
6870 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6871 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6872 use __unbounded.
6873 (__new_msgctl): Do not use __ptrvalue.
6874 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6875 __unbounded.
6876 (__libc_msgrcv): Do not use __ptrvalue.
6877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6878 startup_info): Do not use __unbounded.
6879 (__libc_start_main): Likewise. Rename ubp_* variables and
6880 parameters. Remove argv definitions conditional on
6881 [__BOUNDED_POINTERS__].
6882 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6883 __ptrvalue.
6884 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6885 use __unbounded.
6886 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6887 or __ptrvalue.
6888 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6889 use __unbounded.
6890 (__new_shmctl): Do not use __ptrvalue.
6891 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6892 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6893 Likewise.
6894 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6896 (__libc_sigaction): Likewise.
6897 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6898 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6899 Likewise.
6900 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6901
cc7834d6
OB
69022013-02-13 Ondřej Bílka <neleai@seznam.cz>
6903
ffb1ec7b 6904 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6905
6906 * string/mempcpy.c: Implement by calling memcpy.
6907
bdf02814
SP
69082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
c2af38aa
SP
6910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6911
4e92d59e
SP
6912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6913 evaluation.
6914
909279a5
SP
6915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6916 values in the mantissa.
6917
bdf02814
SP
6918 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6919 minimize writes to Z.
6920 (sub_magnitudes): Simplify code a bit.
6921
cd525923
RM
69222013-02-12 Roland McGrath <roland@hack.frob.com>
6923
6924 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6925 from the message. The linker prefixes all warnings with that already.
6926
7e2f0d2d
AS
69272013-02-12 Andreas Schwab <schwab@suse.de>
6928
a445af0b
AS
6929 [BZ #15078]
6930 * posix/regexec.c (extend_buffers): Add parameter min_len.
6931 (check_matching): Pass minimum needed length.
6932 (clean_state_log_if_needed): Likewise.
6933 (get_subexp): Likewise.
6934 * posix/Makefile (tests): Add bug-regex34.
6935 (bug-regex34-ENV): Define.
6936 * posix/bug-regex34.c: New file.
6937
7e2f0d2d
AS
6938 [BZ #11561]
6939 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6940 elements compare against the byte sequence of it, not its name.
6941 * posix/Makefile (tests): Add bug-regex35.
6942 (bug-regex35-ENV): Define.
6943 * posix/bug-regex35.c: New file.
6944
a175b684
TV
69452013-02-11 Tom de Vries <tom@codesourcery.com>
6946
6947 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6948 comment.
6949 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6950 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6951 (CHECK_EOL): Add undef.
6952
310998fe 69532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6954
6955 * bits/stdlib-bsearch.h: New file.
6956 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6957 * stdlib/stdlib.h: Likewise.
41eda41d 6958
8ded91fb
RM
69592013-02-11 Roland McGrath <roland@hack.frob.com>
6960
6961 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6962 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6963 declaration.
6964 * manual/search.texi (Array Search Function): Add missing const in
6965 lfind prototype.
6966 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6967 declaration to use rlim_t.
6968 (Basic Scheduling Functions): Remove erroneous const from
6969 sched_getparam prototype. Remove erroneous * from
6970 sched_get_priority_max and sched_get_priority_min prototypes.
6971 (Resource Usage): Fix summary @comment on vtimes to refer to
6972 sys/vtimes.h rather than vtimes.h.
6973 Add missing *s in vtimes prototype.
6974 (Limits on Resources): Fix ulimit prototype to return long int.
6975 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6976 prototypes to use long int rather than double.
6977 (BSD Random): Fix initstate and setstate to use char *, not void *.
6978 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6979 prototype to make second argument 'struct aiocb64 *const[]'.
6980 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6981 (Status of AIO Operations): Remove erroneous const in aio_return and
6982 aio_return64 prototypes.
6983 (Synchronizing I/O): Fix sync prototype to return void.
6984 * manual/startup.texi (Suboptions): Remove an erroneous const in
6985 getsubopt prototype.
6986 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6987 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6988 use size_t rather than int.
6989 (Scanning All Users): Likewise for getpwent_r.
6990 (Setting Groups): Add missing const to setgroups prototype.
6991 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6992 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6993 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6994 'const void *' rather than 'const char *'.
6995 (Host Address Functions): Likewise for inet_ntop.
6996 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6997 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6998 ssize_t for return value.
6999 (Sending Data): Likewise for send, sendto, sendmsg.
7000 (Socket Option Functions): Add a missing const in setsockopt prototype.
7001 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7002 use wchar_t for the argument.
7003 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7004 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7005 take no arguments.
7006 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7007 double/float/long double for second argument.
7008 Fix return types of significand, significandf, significandl.
7009 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7010 argument in fchmod prototype.
7011 (File Owner): Use uid_t and gid_t in fchown prototype.
7012 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7013 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7014 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7015 use 'const struct dirent **' as argument types to CMP function pointer
7016 argument.
7017 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7018 (File Times): Fix summary magic @comment for struct utimbuf and utime
7019 to refer to utime.h, not time.h.
7020 * manual/string.texi (Argz Functions): Add missing const in
7021 argz_extract and argz_next prototypes.
7022 (Finding Tokens in a String): Likewise for basename.
7023 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7024 (Copying and Concatenation): Fix typo in wmemmove prototype.
7025 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7026 (Signal Stack): Remove erroneous const in sigstack prototype.
7027 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7028 prototype.
7029 (Simple Calendar Time): Likewise for stime.
7030 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7031 prototype.
7032 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7033 say sys/sysctl.h instead.
7034 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7035 and vsyslog prototypes.
7036
fe77fe6d
TV
70372013-02-11 Tom de Vries <tom@codesourcery.com>
7038
7039 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7040 Remove.
7041
3a09b620
RM
70422013-02-11 Roland McGrath <roland@hack.frob.com>
7043
7044 * misc/sys/mman.h: Fix typo in mremap comment.
7045
550a0b89
RM
70462013-02-08 Roland McGrath <roland@hack.frob.com>
7047
7048 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7049 the '\0' terminator.
7050
a2da1673
JM
70512013-02-08 Joseph Myers <joseph@codesourcery.com>
7052
7053 [BZ #13550]
7054 * debug/segfault.c: Don't include <bp-checks.h>.
7055 * sysdeps/generic/bp-checks.h: Remove file.
7056 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7057 (__GETDENTS): Don't use CHECK_N.
7058 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7059 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7060 (__getgroups): Don't use CHECK_N.
7061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7062 (setgroups): Don't use CHECK_N.
7063 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7064 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7065 (__libc_msgrcv): Don't use CHECK_N.
7066 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7067 (__libc_msgsnd): Don't use CHECK_N.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7069 <bp-checks.h>.
7070 (__libc_pread): Don't use CHECK_N.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7072 include <bp-checks.h>.
7073 (__libc_pread64): Don't use CHECK_N.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7075 include <bp-checks.h>.
7076 (__libc_pwrite): Don't use CHECK_N.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7078 include <bp-checks.h>.
7079 (__libc_pwrite64): Don't use CHECK_N.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7081 <bp-checks.h>.
7082 (__libc_pread): Don't use CHECK_N.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7084 include <bp-checks.h>.
7085 (__libc_pread64): Don't use CHECK_N.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7087 include <bp-checks.h>.
7088 (__libc_pwrite): Don't use CHECK_N.
7089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7090 include <bp-checks.h>.
7091 (__libc_pwrite64): Don't use CHECK_N.
7092 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7093 (do_pread): Don't use CHECK_N.
7094 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7095 (do_pread64): Don't use CHECK_N.
7096 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7097 (do_pwrite): Don't use CHECK_N.
7098 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7099 (do_pwrite64): Don't use CHECK_N.
7100 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7101 (__libc_readv): Don't use CHECK_N.
7102 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7103 (semop): Don't use CHECK_N.
7104 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7105 <bp-checks.h>.
7106 (semtimedop): Don't use CHECK_N.
7107 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7108 (__libc_pread): Don't use CHECK_N.
7109 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7110 <bp-checks.h>.
7111 (__libc_pread64): Don't use CHECK_N.
7112 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7113 <bp-checks.h>.
7114 (__libc_pwrite): Don't use CHECK_N.
7115 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7116 <bp-checks.h>.
7117 (__libc_pwrite64): Don't use CHECK_N.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7119 <bp-checks.h>.
7120 (__libc_msgrcv): Don't use CHECK_N.
7121 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7122 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7123 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7124 (__libc_writev): Don't use CHECK_N.
7125
b84660a8
RM
71262013-02-08 Roland McGrath <roland@hack.frob.com>
7127
7f3e75f8
RM
7128 * string/strcpy.c: Removed unused variable.
7129
b84660a8
RM
7130 * Makeconfig (+sysdep-includes): Define with := rather than =.
7131 Use an existing include/ subdir of each sysdeps dir before it.
7132
471514d3
CD
71332013-02-08 Carlos O'Donell <carlos@redhat.com>
7134
7135 * nscd/connection.c (register_traced_file): Comment function.
7136 [HAVE_INOTIFY] (union __inev): Define.
7137 [HAVE_INOTIFY] (inotify_check_files): New function.
7138 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7139 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7140 clear_db_cache.
7141 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7142
b2d3c3be
CD
71432013-02-08 Carlos O'Donell <carlos@redhat.com>
7144
7145 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7146 loaded if not already and that a failure is permanent.
7147
b39949d2
CD
71482013-02-08 Carlos O'Donell <carlos@redhat.com>
7149
ddacd1db 7150 [BZ #15006]
b39949d2
CD
7151 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7152 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7153
b2c9eff4
JM
71542013-02-08 Joseph Myers <joseph@codesourcery.com>
7155
f3aae3f3
JM
7156 [BZ #13550]
7157 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7158 (CHECK_1_NULL_OK): Likewise.
7159 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7160 (__fxstat): Do not use CHECK_1.
7161 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7162 <bp-checks.h>.
7163 (___fxstat64): Do not use CHECK_1.
7164 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7165 <bp-checks.h>.
7166 (__fxstatat): Do not use CHECK_1.
7167 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7168 <bp-checks.h>.
7169 (__fxstatat64): Do not use CHECK_1.
7170 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7171 <bp-checks.h>.
7172 (__fxstat): Do not use CHECK_1.
7173 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7174 <bp-checks.h>.
7175 (__fxstatat): Do not use CHECK_1.
7176 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7177 <bp-checks.h>.
7178 (__getresgid): Do not use CHECK_1.
7179 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7180 <bp-checks.h>.
7181 (__getresuid): Do not use CHECK_1.
7182 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7183 <bp-checks.h>.
7184 (__lxstat): Do not use CHECK_1.
7185 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7186 <bp-checks.h>.
7187 (__old_msgctl): Do not use CHECK_1.
7188 (__new_msgctl): Likewise.
7189 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7190 <bp-checks.h>.
7191 (__new_setrlimit): Do not use CHECK_1.
7192 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7193 <bp-checks.h>.
7194 (__old_shmctl): Do not use CHECK_1.
7195 (__new_shmctl): Likewise.
7196 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7197 <bp-checks.h>.
7198 (__xstat): Do not use CHECK_1.
7199 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7200 (__lxstat): Do not use CHECK_1.
7201 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7202 <bp-checks.h>.
7203 (___lxstat64): Do not use CHECK_1.
7204 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7205 (__old_msgctl): Do not use CHECK_1.
7206 (__new_msgctl): Likewise.
7207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7208 <bp-checks.h>.
7209 (__gettimeofday): Do not use CHECK_1.
7210 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7211 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7212 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7213 <bp-checks.h>.
7214 (__gettimeofday): Do not use CHECK_1.
7215 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7216 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7217 (__new_shmctl): Do not use CHECK_1.
7218 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7219 <bp-checks.h>.
7220 (do_sigtimedwait): Do not use CHECK_1.
7221 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7222 <bp-checks.h>.
7223 (do_sigwaitinfo): Do not use CHECK_1.
7224 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7225 <bp-checks.h>.
7226 (msgctl): Do not use CHECK_1.
7227 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7228 <bp-checks.h>.
7229 (shmctl): Do not use CHECK_1.
7230 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7231 (ustat): Do not use CHECK_1.
7232 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7233 <bp-checks.h>.
7234 (__fxstat): Do not use CHECK_1.
7235 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7236 <bp-checks.h>.
7237 (__fxstatat): Do not use CHECK_1.
7238 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7239 <bp-checks.h>.
7240 (__lxstat): Do not use CHECK_1.
7241 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7242 <bp-checks.h>.
7243 (__xstat): Do not use CHECK_1.
7244 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7245 (__xstat): Do not use CHECK_1.
7246 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7247 (___xstat64): Do not use CHECK_1.
7248
b2c9eff4
JM
7249 [BZ #13550]
7250 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7251 definitions.
7252 (CHECK_BOUNDS_HIGH): Likewise.
7253 * string/strcpy.c: Do not include <bp-checks.h>.
7254 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7255
f1d70dad
RM
72562013-02-07 Roland McGrath <roland@hack.frob.com>
7257
7258 * nscd/nscd-client.h (__nscd_drop_map_ref):
7259 Add __attribute__ ((unused)).
7260 * nis/nss-nisplus.h (niserr2nss): Likewise.
7261
7262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7263 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7264
7265 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7266 Remove inline keyword.
7267 * include/rounding-mode.h (round_away): Likewise.
7268 * libio/wfileops.c (adjust_wide_data): Likewise.
7269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7270 (__m128i_strloadu_tolower): Likewise.
7271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7272 (__m128i_strloadu_tolower): Likewise.
7273 * time/mktime.c (ydhms_diff): Likewise.
7274 * locale/elem-hash.h (elem_hash): Likewise.
7275 * locale/setlocale.c (setdata): Likewise.
7276 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7277 (re_string_wchar_at): Likewise.
7278 (bitset_not, bitset_merge, bitset_mask): Likewise.
7279 [!(__GNUC__ > 3)] (inline): Remove macro.
7280 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7281 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7282 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7283 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7284 * string/memcmp.c (memcmp_bytes): Likewise.
7285 * locale/programs/locarchive.c (compute_hashval): Likewise.
7286 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7287 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7288 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7289 * nss/getent.c (print_rpc, print_protocols): Likewise.
7290 (print_passwd, print_group, print_aliases): Likewise.
7291 * nis/nss-nisplus.h (niserr2nss): Likewise.
7292 * nscd/connections.c (restart_p): Likewise.
7293 Change return type to bool.
7294
eab55bfb
RM
72952013-02-05 Roland McGrath <roland@hack.frob.com>
7296
7bd642f5
RM
7297 * Makeconfig (all-Depend-files): Add existing
7298 $(sorted-subdirs:=/Depend) files.
7299 (all-subdirs): Remove nss.
7300 * sysdeps/unix/inet/Subdirs: Add it here instead.
7301 * hesiod/Depend: New file.
7302
573c29b2
RM
7303 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7304 instead of calling alloca.
7305
b2e25af0
RM
7306 * io/lseek.c (__lseek): Rename to __libc_lseek.
7307 Define __lseek as an alias.
7308
eab55bfb
RM
7309 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7310
9a0d1941
CD
73112013-02-04 Carlos O'Donell <carlos@redhat.com>
7312
7313 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7314 else clause and remove check for non-standard endianness.
7315
b83bbec4
DM
73162013-02-04 David S. Miller <davem@davemloft.net>
7317
7318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7319
6277fdab
JM
73202013-02-04 Joseph Myers <joseph@codesourcery.com>
7321
7322 [BZ #13550]
7323 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7324 (__ubp_memchr): Remove prototype.
7325 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7326 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7327 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7328 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7329 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7330 Remove alias.
7331 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7332 (__ubp_memchr): Likewise.
7333 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7334 (__ubp_memchr): Likewise.
7335 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7336 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7337 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7338 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7339 CHECK_STRING.
7340 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7341 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7342 (__getcwd): Do not use CHECK_STRING.
7343 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7344 <bp-checks.h>.
7345 (__real_chown): Do not use CHECK_STRING.
7346 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7347 <bp-checks.h>.
7348 (fchownat): Do not use CHECK_STRING.
7349 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7350 CHECK_STRING.
7351 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7352 <bp-checks.h>.
7353 (__lchown): Do not use CHECK_STRING.
7354 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7355 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7356 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7357 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7359 include <bp-checks.h>.
7360 (truncate64): Do not use CHECK_STRING.
7361 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7362 <bp-checks.h>.
7363 (__real_chown): Do not use CHECK_STRING.
7364 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7365 <bp-checks.h>.
7366 (__lchown): Do not use CHECK_STRING.
7367 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7368 <bp-checks.h>.
7369 (__chown): Do not use CHECK_STRING.
7370 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7371 <bp-checks.h>.
7372 (truncate64): Do not use CHECK_STRING.
7373 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7374 Likewise.
7375 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7376 (__xmknod): Do not use CHECK_STRING.
7377 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7378 <bp-checks.h>.
7379 (__xmknodat): Do not use CHECK_STRING.
7380 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7381 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7382
903ae060
AS
73832013-02-04 Andreas Schwab <schwab@suse.de>
7384
7385 [BZ #14142]
7386 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7387 * include/netdb.h: Likewise for h_errno.
7388 * elf/tst-stackguard1.c: Include <tls.h>.
7389
542f9466
JK
73902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7391
7392 * elf/link.h (struct link_map): Extend the l_addr comment.
7393 * include/link.h (struct link_map): Likewise.
7394
e782a927
JM
73952013-02-01 Joseph Myers <joseph@codesourcery.com>
7396
7397 [BZ #13550]
7398 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7399 (BOUNDED_1): Remove macro.
7400 * debug/backtrace.c: Don't include <bp-checks.h>.
7401 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7402 (__backtrace): Likewise.
7403 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7404 <bp-checks.h>.
7405 (__backtrace): Don't use BOUNDED_1.
7406 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7407 <bp-checks.h>.
7408 (__backtrace): Don't use BOUNDED_1.
7409 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7410 (__backtrace): Don't use BOUNDED_1.
7411 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7412 (shmat): Don't use BOUNDED_N.
7413
8cf28c5e
JM
74142013-01-31 Joseph Myers <joseph@codesourcery.com>
7415
3a7ac8a0
JM
7416 [BZ #13550]
7417 * sysdeps/generic/bp-start.h: Remove file.
7418 * csu/libc-start.c: Don't include <bp-start.h>.
7419 (LIBC_START_MAIN): Set up __environ directly instead of using
7420 INIT_ARGV_and_ENVIRON.
7421 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7422 <bp-start.h>.
7423
f3499f95
JM
7424 [BZ #13550]
7425 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7426 definitions.
7427 (CHECK_FCNTL): Likewise.
7428 (CHECK_N_PAGES): Likewise.
7429
32a45bea
JM
7430 [BZ #13550]
7431 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7432 definitions.
7433 (CHECK_SIGSET_NULL_OK): Likewise.
7434 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7435 <bp-checks.h>.
7436 (sigpending): Don't use CHECK_SIGSET.
7437 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7438 <bp-checks.h>.
7439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7440 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7441 <bp-checks.h>.
7442 (do_sigsuspend): Don't use CHECK_SIGSET.
7443 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7444 use CHECK_SIGSET.
7445 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7446 (do_sigwait): Don't use CHECK_SIGSET.
7447 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7448 use CHECK_SIGSET.
7449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7450 include <bp-checks.h>.
7451 (sigpending): Don't use CHECK_SIGSET.
7452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7453 include <bp-checks.h>.
7454 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7455 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7456 <bp-checks.h>.
7457 (sigpending): Don't use CHECK_SIGSET.
7458 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7459 <bp-checks.h>.
7460 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7461
2e8a5c8c
JM
7462 [BZ #13550]
7463 * sysdeps/generic/bp-semctl.h: Remove file.
7464 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7465 <bp-checks.h> and <bp-semctl.h>.
7466 (__old_semctl): Don't use CHECK_SEMCTL.
7467 (__new_semctl): Likewise.
7468 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7469 and <bp-semctl.h>.
7470 (__old_semctl): Don't use CHECK_SEMCTL.
7471 (__new_semctl): Likewise.
7472 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7473 <bp-checks.h> and <bp-semctl.h>.
7474 (__old_semctl): Don't use CHECK_SEMCTL.
7475 (__new_semctl): Likewise.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7477 <bp-checks.h> and <bp-semctl.h>.
7478 (semctl): Don't use CHECK_SEMCTL.
7479
c2d54929
JM
7480 [BZ #13550]
7481 * Makerules (elide-bp-thunks): Remove variable.
7482 (elide-routines.oS): Don't use $(elide-bp-thunks).
7483 (elide-routines.os): Likewise.
7484 (elide-routines.o): Likewise.
7485 (elide-routines.op): Likewise.
7486 (elide-routines.og): Likewise.
7487 (objects): Don't use $(bp-thunks).
7488 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7489 include.
7490 (common-generated): Do not add s-proto-bp.d.
7491 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7492 (int): Likewise.
7493 (typ): Likewise.
7494 Do not generate makefile rules for bounded-pointer thunks.
7495 * sysdeps/generic/bp-thunks.h: Remove file.
7496 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7497 * sysdeps/unix/s-proto-bp.S: Likewise.
7498
8cf28c5e
JM
7499 [BZ #15062]
7500 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7501 parts of result separately when argument is not close to line from
7502 -i to i and one part of argument is small.
7503 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7504 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7505 * math/libm-test.inc (cacos_test): Add more tests.
7506 (casin_test): Likewise.
7507 (casinh_test): Likewise.
7508 * sysdeps/i386/fpu/libm-test-ulps: Update.
7509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7510
c4e33b8d
DM
75112013-01-31 David S. Miller <davem@davemloft.net>
7512
7513 * po/de.po: Update from translation team.
7514
3b60b421
MK
75152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7516
7517 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7518
bb931195
TS
75192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7520
b5a5da23
TS
7521 * configure.in (_AC_PROG_CC_C89): New definition.
7522 * configure: Regenerate.
7523
bb931195
TS
7524 * configure.in (AC_PROG_CPP): New definition.
7525 * configure: Regenerate.
7526
8c53a12c
JM
75272013-01-23 Joseph Myers <joseph@codesourcery.com>
7528
7529 * debug/tst-backtrace.h: New file.
7530 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7531 (ret): Remove variable.
7532 (x): Likewise.
7533 (FAIL): Remove macro.
7534 (NO_INLINE): Likewise.
7535 (fn1): Use match function instead of strstr.
7536 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7537 (ret): Remove variable.
7538 (x): Likewise.
7539 (FAIL): Remove macro.
7540 (NO_INLINE): Likewise.
7541 (fn): Use match function instead of strstr.
7542 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7543 (ret): Remove variable.
7544 (x): Likewise.
7545 (FAIL): Remove macro.
7546 (NO_INLINE): Likewise.
7547 (handle_signal): Use match function instead of strstr.
7548 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7549 (ret): Remove variable.
7550 (x): Likewise.
7551 (FAIL): Remove macro.
7552 (NO_INLINE): Likewise.
7553 (handle_signal): Use match function instead of strstr.
7554
4858fa2a
RM
75552013-01-23 Roland McGrath <roland@hack.frob.com>
7556
7557 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7558
bae8e7f5
DM
75592013-01-23 David S. Miller <davem@davemloft.net>
7560
7561 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7562 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7563 argument of CAS if possible.
7564 * sysdeps/sparc/sparc64/bits/atomic.h
7565 (__arch_compare_and_exchange_val_32_acq): Likewise.
7566 (__arch_compare_and_exchange_val_64_acq): Likewise.
7567
9cbbc4ae
PT
75682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7569
7570 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7571 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7572 Include <limits.h>.
67b3f58c 7573 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7574
5655a0b5
AC
75752013-01-23 Adam Conrad <adconrad@0c3.net>
7576
7577 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7578 (LDFLAGS-tst-array5): Likewise.
7579
052aff95
JM
75802013-01-23 Joseph Myers <joseph@codesourcery.com>
7581
7582 [BZ #15036]
7583 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7584 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7585 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7586 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7587
7c1e01aa
DM
75882013-01-21 David S. Miller <davem@davemloft.net>
7589
7590 * sysdeps/sparc/backtrace.c: New file.
7591 * sysdeps/sparc/sparc32/backtrace.h: New file.
7592 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7593 * sysdeps/sparc/sparc64/backtrace.h: New file.
7594 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7595 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7596 -funwind-tables.
7597
ab087e0a
AS
75982013-01-21 Andreas Schwab <schwab@suse.de>
7599
7600 [BZ #15020]
7601 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7602 closed its stdout.
7603
ed689c2f
AS
76042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7605
7606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7607 "mpa2.h".
7608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7609
31d470ac
JM
76102013-01-18 Joseph Myers <joseph@codesourcery.com>
7611 Mark Mitchell <mark@codesourcery.com>
7612 Tom de Vries <tom@codesourcery.com>
7613 Paul Pluzhnikov <ppluzhnikov@google.com>
7614
7615 * debug/tst-backtrace2.c: New file.
7616 * debug/tst-backtrace3.c: Likewise.
7617 * debug/tst-backtrace4.c: Likewise.
7618 * debug/tst-backtrace5.c: Likewise.
7619 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7620 (CFLAGS-tst-backtrace3.c): Likewise.
7621 (CFLAGS-tst-backtrace4.c): Likewise.
7622 (CFLAGS-tst-backtrace5.c): Likewise.
7623 (LDFLAGS-tst-backtrace2): Likewise.
7624 (LDFLAGS-tst-backtrace3): Likewise.
7625 (LDFLAGS-tst-backtrace4): Likewise.
7626 (LDFLAGS-tst-backtrace5): Likewise.
7627 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7628 tst-backtrace4 and tst-backtrace5.
7629
90567f30 76302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7631 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7632
7633 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7634 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7635 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7636 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7638 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7639 "+r" and remove output regs list as redundant. Add explicit inline
7640 asm to specify register of return val to work around compiler codegen
7641 bug. Remove (int) cast on return value. Add return type parameter to
7642 use in macro so that this macro does not truncate return value for
7643 64-bit values.
7644 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7645 pass to INTERNAL_VSYSCALL_NCS.
7646 (INLINE_VSYSCALL): Add 'long int' as return type to
7647 INTERNAL_VSYSCALL_NCS macro invocation.
7648 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7649 INTERNAL_VSYSCALL_NCS macro invocation.
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7651
d3b9ea61
SP
76522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7653
0b57daeb
SP
7654 [BZ #14496]
7655 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7656 Fix application of SIMD FP exception mask.
7657
caa99d06
SP
7658 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7659 mp_no from a power of two.
7660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7661 __mpexp_twomm1. Use __pow_mp.
7662
d3b9ea61
SP
7663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7664 multiplication.
7665
1dbaee3c
DM
76662013-01-17 David S. Miller <davem@davemloft.net>
7667
7668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7669
728d7b43
JM
76702013-01-17 Joseph Myers <joseph@codesourcery.com>
7671
7672 [BZ #15023]
7673 * include/complex.h: Condition contents on [!_COMPLEX_H].
7674 (__kernel_casinhf): New prototype.
7675 (__kernel_casinh): Likewise.
7676 (__kernel_casinhl): Likewise.
7677 * math/Makefile (libm_calls): Add k_casinh.
7678 * math/k_casinh.c: New file.
7679 * math/k_casinhf.c: Likewise.
7680 * math/k_casinhl.c: Likewise.
7681 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7682 finite nonzero arguments.
7683 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7684 finite nonzero arguments.
7685 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7686 finite nonzero arguments.
7687 * math/s_casinh.c: Do not include <float.h>.
7688 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7689 * math/s_casinhf.c: Do not include <float.h>.
7690 (__casinhf): Move code for finite nonzero arguments to
7691 k_casinhf.c.
7692 * math/s_casinhl.c: Do not include <float.h>.
7693 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7694 redefine.
7695 (__casinhl): Move code for finite nonzero arguments to
7696 k_casinhl.c.
7697 * math/libm-test.inc (cacos_test): Add more tests.
7698 * sysdeps/i386/fpu/libm-test-ulps: Update.
7699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7700
2a26ef3a
PT
77012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7702
7703 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7704 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7705 [!HAVE_MREMAP]: Remove [defined linux] case.
7706 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7707
a897655d
SP
77082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7709
7710 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7711
881ebe89 77122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7713
7714 * elf/elf.h (R_386_SIZE32): New relocation.
7715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7716 R_386_SIZE32.
7717 (elf_machine_rela): Likewise.
7718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7719 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7720
59981e9b
JM
77212013-01-17 Joseph Myers <joseph@codesourcery.com>
7722
7723 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7724 (FP_FAST_FMA): Do not define.
7725 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7726 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7727 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7728 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7729 !_SOFT_FLOAT]: Likewise.
7730 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7732 value.
7733 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7734 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7735 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7736 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7737 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7738 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7739 file.
7740
cfa8054f
AS
77412013-01-16 Andreas Schwab <schwab@suse.de>
7742
7743 [BZ #14327]
7744 * include/stdlib.h (__mktemp): Add declaration.
7745 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7746 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7747
dd930cc5
SP
77482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7749
881ebe89
SP
7750 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7751 definitions.
7752 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7753 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7754 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7755 definitions here.
7756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7757 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7758 definitions.
7759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7760 and ONE.
7761 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7762 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7763 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7764 definitions.
7765 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7766 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7767 definitions.
7768 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7769
dd930cc5
SP
7770 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7771
c19a9f89
DM
77722013-01-15 David S. Miller <davem@davemloft.net>
7773
1aa61767
DM
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7775 trunc{,f} to libm-sysdep_routes.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7778 file.
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7781 file.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7783 file.
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7786 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7792
c42d5e98
DM
7793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7794 nearbyint{,f} to libm-sysdep_routes.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7797 New file.
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7799 file.
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7801 New file.
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7803 file.
7804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7807 file.
7808 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7810 file.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7813 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7814
c19a9f89
DM
7815 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7816 libc_feholdexcept and libc_fesetenv.
7817
357679d2
MF
78182013-01-15 Mike Frysinger <vapier@gentoo.org>
7819
7820 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7821
65a82e3d
DM
78222013-01-14 David S. Miller <davem@davemloft.net>
7823
8b954ab9
DM
7824 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7825 (SPARC_ASM_VIS2_IFUNC): Likewise.
7826 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7828 use of 'siam' instruction.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7830 Likewise.
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7832 Likewise.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7834 Likewise.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7840 file.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7842 file.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7844 file.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7846 file.
7847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7852 new VIS2 routines.
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7856 Likewise.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7862 routines to libm-sysdep_routines.
7863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7864
65a82e3d
DM
7865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7866 fdim/fdimf to libm-sysdep_routines.
7867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7868 file.
7869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7871 file.
7872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7875 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7876 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7877 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7878 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7879
e34ab705
SP
78802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7881
2a91b573
SP
7882 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7883 to optimize copies.
7884
1066a534
SP
7885 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7888
e34ab705
SP
7889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7890 local variable MPTWO.
7891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7892 Likewise.
7893
aba5e596
MF
78942013-01-13 Mike Frysinger <vapier@gentoo.org>
7895
7896 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7897 GLOB_NOESCAPE.
7898
e557e9e5
MF
78992013-01-13 Mike Frysinger <vapier@gentoo.org>
7900
7901 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7902
0428cec9
MF
79032013-01-13 Mike Frysinger <vapier@gentoo.org>
7904
7905 * manual/pattern.texi (glob_t): Document gl_flags.
7906 (glob64_t): Likewise.
7907
8794a964
DM
79082013-01-11 David S. Miller <davem@davemloft.net>
7909
66438c3f
RM
7910 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7911 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7912 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7913 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7914 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7915 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7916 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7917 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7918 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7919 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7920 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7921 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7922 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7923
4ae4244d
DM
7924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7925 sparc V9 rather than using V8 code.
7926 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7927 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7928
8794a964
DM
7929 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7930 Move to...
7931 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7932 Here.
7933
6270516e
RM
79342013-01-11 Roland McGrath <roland@hack.frob.com>
7935
7936 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7937 not in the main loop.
7938 * configure: Regenerated.
7939
6a57d931
JM
79402013-01-11 Joseph Myers <joseph@codesourcery.com>
7941
7942 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7943 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7944 to just #else.
7945 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7946 [!__GLIBC_HAVE_LONG_LONG] case.
7947 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7948 condition to just #else.
7949 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7950 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7951 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7952 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7953 unconditional.
7954 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7955 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7956 #elif condition to just #else.
7957 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7958 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7959 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7960 #elif condition to just #else.
7961
0e8529e9
SE
79622013-01-11 Steve Ellcey <sellcey@mips.com>
7963
7964 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7965 (EF_MIPS_ARCH_64): Fix value.
7966 (EF_MIPS_ARCH_32R2): New.
7967 (EF_MIPS_ARCH_64R2): New.
7968
740b3dbe
L
79692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 * Makeconfig (+link-pie-before-libc): New.
7972 (+link-pie-after-libc): Likewise.
7973 (+link-pie-tests): Likewise.
7974 (+link-pie): Rewritten.
7975 (link-before-libc): Remove $(config-LDFLAGS).
7976 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7977 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7978 (config-LDFLAGS): Renamed to ...
7979 (rtld-LDFLAGS): This.
7980 (rtld-tests-LDFLAGS): New macro.
7981 (link-libc-rpath-link): Likewise.
7982 (link-libc-tests-rpath-link): Likewise.
7983 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7984 (link-libc): Prepand $(link-libc-rpath-link).
7985 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7986 (test-program-prefix): New macro.
7987 (test-via-rtld-prefix): Likewise.
7988 (test-program-cmd): Likewise.
7989 (host-test-program-cmd): Likewise.
7990 * Makefile ($(common-objpfx)testrun.sh): Replace
7991 $(run-program-prefix) with $(test-program-prefix).
7992 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7993 $(rtld-LDFLAGS).
7994 ($(common-objpfx)shlib.lds): Likewise.
7995 (build-module-helper): Likewise.
7996 ($(common-objpfx)format.lds): Likewise.
7997 * Rules (binaries-pie-tests): New.
7998 (binaries-pie-notests): Likewise.
7999 (binaries-pie): Rewritten.
8000 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8001 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8002 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8003 (make-test-out): Replace $(host-built-program-cmd) with
8004 $(host-test-program-cmd).
8005 * config.make.in (build-hardcoded-path-in-tests): New variable.
8006 * configure.in (--enable-hardcoded-path-in-tests): New configure
8007 option.
8008 (hardcoded_path_in_tests): New AC_SUBST.
8009 * configure: Regenerated.
8010 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8011 $(built-program-cmd) with $(test-program-cmd).
8012 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8013 (test_program_cmd): This.
8014 * elf/Makefile ($(objpfx)order.out): Run test with
8015 $(test-program-prefix).
8016 ($(objpfx)order2.out): Likewise.
8017 ($(objpfx)tst-initorder.out): Likewise.
8018 ($(objpfx)tst-initorder2.out): Likewise.
8019 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8020 $(test-program-cmd).
8021 ($(objpfx)tst-array1-static.out): Likewise.
8022 ($(objpfx)tst-array2.out): Likewise.
8023 ($(objpfx)tst-array3.out): Likewise.
8024 ($(objpfx)tst-array4.out): Likewise.
8025 ($(objpfx)tst-array5.out): Likewise.
8026 ($(objpfx)tst-array5-static.out): Likewise.
8027 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8028 $(test-program-cmd).
8029 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8030 $(run-program-prefix) with $(test-program-prefix).
8031 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8032 (test_program_prefix): This.
8033 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8034 $(run-program-prefix) with $(test-program-prefix).
8035 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8036 (test_program_prefix): This.
8037 * iconvdata/tst-tables.sh: Likewise.
8038 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8039 $(run-program-prefix) with $(test-program-prefix).
8040 ($(objpfx)tst-translit.out): Likewise.
8041 ($(objpfx)tst-gettext2.out): Likewise.
8042 ($(objpfx)tst-gettext4.out): Likewise.
8043 ($(objpfx)tst-gettext6.out): Likewise.
8044 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8045 (test_program_prefix): This.
8046 * intl/tst-gettext2.sh: Likewise.
8047 * intl/tst-gettext4.sh Likewise.
8048 * intl/tst-gettext6.sh: Likewise.
8049 * intl/tst-translit.sh: Likewise.
8050 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8051 with $(test-program-cmd).
8052 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8053 $(run-program-prefix) with $(test-program-prefix).
8054 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8055 (test_program_prefix): This.
8056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8057 $(run-program-prefix) with $(test-program-prefix).
8058 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8059 (test_program_prefix): This.
8060 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8061 * posix/Makefile ($(objpfx)globtest.out): Replace
8062 $(run-via-rtld-prefix) and $(test-wrapper) with
8063 $(test-program-prefix) and $(test-via-rtld-prefix).
8064 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8065 $(test-program-prefix).
8066 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8067 $(host-test-program-cmd).
8068 (tst-spawn-ARGS): Likewise.
8069 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8070 $(test-program-prefix).
8071 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8072 (test_via_rtld_prefix): This.
8073 (test_wrapper): Renamed to ...
8074 (test_program_prefix): This.
8075 (run_program_prefix): Replaced by test_program_prefix.
8076 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8077 (test_program_prefix): This.
8078 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8079 with $(host-test-program-cmd).
8080 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8081 $(run-program-prefix) with $(test-program-prefix).
8082 ($(objpfx)tst-printf.out): Likewise.
8083 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8084 $(test-program-cmd).
8085 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8086 (test_program_prefix): This.
8087 * stdio-common/tst-unbputc.sh: Likewise.
8088 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8089 $(run-program-prefix) with $(test-program-prefix).
8090 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8091 (test_program_prefix): This.
8092 * string/Makefile ($(objpfx)tst-svc.out): Replace
8093 $(built-program-cmd) with $(test-program-cmd).
8094
c6fe55cf
AJ
80952013-01-11 Andreas Jaeger <aj@suse.de>
8096
8097 [BZ #15003]
8098 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8099 value. Sync with Linux 3.7.
8100
9e6919c8
DM
81012013-01-10 David S. Miller <davem@davemloft.net>
8102
8103 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8104 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8105 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8106
1c9f1a02
RM
81072013-01-10 Roland McGrath <roland@hack.frob.com>
8108
8109 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8110 never set.
8111 * configure: Regenerated.
8112
b9de2dde
DM
81132013-01-10 David S. Miller <davem@davemloft.net>
8114
8115 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8116 sparc V9 rather than using V8 code.
8117 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8118 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8119
e7f68ef4
RM
81202013-01-10 Roland McGrath <roland@hack.frob.com>
8121
8122 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8123 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8124 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8125 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8126 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8127 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8128 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8129 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8130 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8131 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8132 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8133 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8134 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8135 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8136 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8137 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8138 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8139 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8140 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8141 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8142 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8143 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8144 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8145 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8146 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8147 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8148 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8149
5a47cc9c
DM
81502013-01-10 David S. Miller <davem@davemloft.net>
8151
8152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8153
4cf8f209
L
81542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8155
8156 * posix/Makefile (tests-static): New variable.
8157 (tests): Add $(tests-static).
8158 (tst-exec-static-ARGS): New variable.
8159 (tst-spawn-static-ARGS): Likewise.
8160 * posix/tst-exec-static.c: New file.
8161 * posix/tst-spawn-static.c: Likewise.
8162 * posix/tst-exec.c: Support run directly.
8163 * posix/tst-spawn.c: Likewise.
8164
fed0faa1
JM
81652013-01-10 Joseph Myers <joseph@codesourcery.com>
8166
828beb13
JM
8167 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8168 long.
8169 * math/bits/mathcalls.h (llrint): Likewise.
8170 (llround): Likewise.
8171 * stdlib/stdlib.h (struct drand48_data): Likewise.
8172 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8173 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8174 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8175 Likewise.
8176 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8177 Likewise.
8178 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8179 (elf_greg_t): Likewise.
8180 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8181 (__jmp_buf): Likewise.
8182 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8183 definitions.
8184 (llrint): Likewise, for all definitions.
8185 (llrintl): Likewise.
8186
fed0faa1
JM
8187 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8188 Remove [__GNUC__] condition.
8189 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8190 condition to just [__USE_ISOC99].
8191 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8192
1a20cb20
L
81932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8194
8195 [BZ #14200]
8196 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8197 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8198 defined.
8199 (_POSIX_V6_ILP32_OFF32): Likewise.
8200 (_XBS5_ILP32_OFF32): Likewise.
8201 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8202 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8203
751b85f7
SP
82042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
7490eb81
SP
8206 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8207
751b85f7
SP
8208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8209 doubles __mpexp_twomm1. Adjust usage.
8210 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8211 Remove.
8212
988197f0
AS
82132013-01-10 Andreas Schwab <schwab@suse.de>
8214
8215 [BZ #14964]
8216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8217 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8218
e83d7298
DM
82192013-01-09 David S. Miller <davem@davemloft.net>
8220
034ed64b 8221 [BZ #15003]
e83d7298
DM
8222 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8223 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8224 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8225 TCP_FASTOPEN): Define.
8226 (tcp_repair_opt): New structure.
8227 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8228 enum values.
8229 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8230 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8231 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8232 (tcp_cookie_transactions): New structure.
8233
d5e0b9bd
AB
82342013-01-09 Anton Blanchard <anton@samba.org>
8235
8236 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8240
0c07e3ea
JM
82412013-01-09 Joseph Myers <joseph@codesourcery.com>
8242
8243 * include/features.h (__USE_ANSI): Remove.
8244
232f7002
RM
82452013-01-09 Roland McGrath <roland@hack.frob.com>
8246
ad98e30c
RM
8247 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8248
232f7002
RM
8249 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8250
950c99ca
SP
82512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8252
b5792741
SP
8253 * sysdeps/s390/fpu/libm-test-ulps: Update.
8254
47cf2278
SP
8255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8256
950c99ca
SP
8257 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8258 (__acr): Likewise.
8259 (__cpy): Likewise.
8260 (norm): Likewise.
8261 (denorm): Likewise.
8262 (__mp_dbl): Likewise.
8263 (__dbl_mp): Likewise.
8264 (add_magnitudes): Likewise.
8265 (sub_magnitudes): Likewise.
8266 (__add): Likewise.
8267 (__sub): Likewise.
8268 (__mul): Likewise.
8269 (__inv): Likewise.
8270 (__dvd): Likewise.
8271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8272 (__acr): Likewise.
8273 (__cpy): Likewise.
8274 (norm): Likewise.
8275 (denorm): Likewise.
8276 (__mp_dbl): Likewise.
8277 (__dbl_mp): Likewise.
8278 (add_magnitudes): Likewise.
8279 (sub_magnitudes): Likewise.
8280 (__add): Likewise.
8281 (__sub): Likewise.
8282 (__mul): Likewise.
8283 (__inv): Likewise.
8284 (__dvd): Likewise.
8285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8286 (__acr): Likewise.
8287 (__cpy): Likewise.
8288 (norm): Likewise.
8289 (denorm): Likewise.
8290 (__mp_dbl): Likewise.
8291 (__dbl_mp): Likewise.
8292 (add_magnitudes): Likewise.
8293 (sub_magnitudes): Likewise.
8294 (__add): Likewise.
8295 (__sub): Likewise.
8296 (__mul): Likewise.
8297 (__inv): Likewise.
8298 (__dvd): Likewise.
8299
eede9df9
JM
83002013-01-08 Joseph Myers <joseph@codesourcery.com>
8301
8302 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8303 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8304 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8305 2 && __USE_EXTERN_INLINES]: Likewise.
8306
c40ea3d9
AJ
83072013-01-08 Andreas Jaeger <aj@suse.de>
8308
8309 [BZ# 14985]
8310 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8311 Remove.
8312 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8313 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8314
2ccdea26
AB
83152013-01-07 Anton Blanchard <anton@samba.org>
8316
8317 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8318 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8319 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8320 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8321 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8322 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8323 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8324 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8327 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8328 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8329 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8331 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8332 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8334 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8335 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8337 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8338 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8340 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8341 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8343 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8344 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8347 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8349 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8350 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8351 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8352 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8353 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8354 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8355 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8356 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8357 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8358 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8359 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8360
a9708fed
JM
83612013-01-07 Joseph Myers <joseph@codesourcery.com>
8362
375607b9
JM
8363 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8364 (__MALLOC_PMT): Likewise.
8365 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8366 [__GNUC__], only on [_LIBC].
8367 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8368 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8369 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8370 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8371 forward declaration.
8372 (realloc_hook_ini): Likewise.
8373 (memalign_hook_ini): Likewise.
8374 (__libc_memalign): Do not use __MALLOC_PMT in variable
8375 declaration.
8376 (__libc_valloc): Likewise.
8377 (__libc_pvalloc): Likewise.
8378 (__libc_calloc): Likewise.
8379 (__posix_memalign): Likewise.
8380
a9708fed
JM
8381 [BZ #14996]
8382 * math/s_casinh.c: Include <float.h>.
8383 (__casinh): Do not do computation with squaring and square root
8384 for large arguments.
8385 * math/s_casinhf.c: Include <float.h>.
8386 (__casinhf): Do not do computation with squaring and square root
8387 for large arguments.
8388 * math/s_casinhl.c: Include <float.h>.
8389 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8390 (__casinhl): Do not do computation with squaring and square root
8391 for large arguments.
8392 * math/libm-test.inc (casin_test): Add more tests.
8393 (casinh_test): Likewise.
8394 * sysdeps/i386/fpu/libm-test-ulps: Update.
8395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396
afec409a
L
83972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8400 (__x86_64_raw_data_cache_size): Likewise.
8401 (__x86_64_data_cache_size_half): Likewise.
8402 (__x86_64_raw_data_cache_size_half): Likewise.
8403 (__x86_64_shared_cache_size): Likewise.
8404 (__x86_64_raw_shared_cache_size): Likewise.
8405 (__x86_64_shared_cache_size_half): Likewise.
8406 (__x86_64_raw_shared_cache_size_half): Likewise.
8407 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8408 to ...
8409 (__x86_data_cache_size): This.
8410 (__x86_64_raw_data_cache_size): Renamed to ...
8411 (__x86_raw_data_cache_size): This.
8412 (__x86_64_data_cache_size_half): Renamed to ...
8413 (__x86_data_cache_size_half): This.
8414 (__x86_64_raw_data_cache_size_half): Renamed to ...
8415 (__x86_raw_data_cache_size_half): This.
8416 (__x86_64_shared_cache_size): Renamed to ...
8417 (__x86_shared_cache_size): This.
8418 (__x86_64_raw_shared_cache_size): Renamed to ...
8419 (__x86_raw_shared_cache_size): This.
8420 (__x86_64_shared_cache_size_half): Renamed to ...
8421 (__x86_shared_cache_size_half): This.
8422 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8423 (__x86_raw_shared_cache_size_half): This.
8424 * sysdeps/x86_64/memcpy.S: Updated.
8425 * sysdeps/x86_64/memset.S: Likewise.
8426 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8428 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8429
0b3986d0
DM
84302013-01-04 David S. Miller <davem@davemloft.net>
8431
8432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8433
e47686e9
AS
84342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8435
d643bac1
AS
8436 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8437 1 to avoid redefinition warning.
8438 (__USE_GNU): Don't define.
8439 (init_signaling_nan): Protoize.
8440
e47686e9
AS
8441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8442
b18decba
SP
84432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8444
fffb407f
SP
8445 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8447 (__cpymn): Likewise.
8448 (norm): Remove commented code.
8449 (denorm): Likewise.
8450 (__mp_dbl): Likewise.
8451 (__inv): Likewise.
8452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8453 (__cpymn): Likewise.
8454 (norm): Remove commented code.
8455 (denorm): Likewise.
8456 (__mp_dbl): Likewise.
8457 (__inv): Likewise.
8458
b18decba
SP
8459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8460 mp_no value for 1.0 and 2.0.
8461 (norm): Use RADIXI instead of radixi.d.
8462 (denorm): Likewise.
8463 (__mul): Use 0.0 instead of zero.d.
8464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8465 mp_no value for 1.0 and 2.0.
8466 (norm): Use RADIXI instead of radixi.d.
8467 (denorm): Likewise.
8468 (__mul): Use 0.0 instead of zero.d.
8469
cdc1c96f
JM
84702013-01-04 Joseph Myers <joseph@codesourcery.com>
8471
8472 [BZ #14994]
8473 * math/s_casinh.c (__casinh): Reduce finite argument to first
8474 quadrant then set signs of results at the end.
8475 * math/s_casinhf.c (__casinhf): Likewise.
8476 * math/s_casinhl.c (__casinhl): Likewise.
8477 * math/libm-test.inc (casin_test): Add more tests.
8478 (casinh_test): Likewise.
8479 * sysdeps/i386/fpu/libm-test-ulps: Update.
8480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8481
302913e1
SP
84822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8483
6420d207
SP
8484 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8485
a9e48ab4
SP
8486 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8487
b7837264
SP
8488 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8489 declarations.
8490 (denorm): Likewise.
8491 (__mp_dbl): Likewise.
8492 (__inv): Likewise.
8493
f8af25d2
SP
8494 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8495 and adjust the header comment.
8496
302913e1
SP
8497 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8498 variable name from declaration.
8499
5d7dd1ca
L
85002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8503 Initialize COMMON_CPUID_INDEX_7 element.
8504 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8505 (CPUID_RTM): Likewise.
8506 (HAS_RTM): Likewise.
8507 (COMMON_CPUID_INDEX_7): New enum.
8508
2f5f40f4
AS
85092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8510
8511 [BZ #14981]
8512 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8513 size is zero, record memory as freed.
8514
4056f4a0
AJ
85152013-01-03 Andreas Jaeger <aj@suse.de>
8516
8517 * po/ia.po: Add new Interlingua translation.
8518
ab15736f 85192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8520
8521 * locale/programs/localedef.c: Fix description of '--posix' flag.
8522
568035b7
JM
85232013-01-02 Joseph Myers <joseph@codesourcery.com>
8524
e6898b8d
JM
8525 * NEWS: Update dates in second copyright notice.
8526 * README: Update copyright dates in example.
8527 * manual/libc.texinfo: Update copyright dates.
8528 * scripts/test-installation.pl: Update copyright date in --version
8529 output.
8530
0e2f9562
JM
8531 * hurd/ctty-input.c: Fix copyright notice formatting.
8532 * hurd/ctty-output.c: Likewise.
8533 * hurd/dtable.c: Likewise.
8534 * hurd/hurd-raise.c: Likewise.
8535 * hurd/hurdprio.c: Likewise.
8536 * hurd/msgportdemux.c: Likewise.
8537 * misc/sys/file.h: Likewise.
8538 * misc/sys/ioctl.h: Likewise.
8539 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8540 * sysdeps/mach/hurd/chdir.c: Likewise.
8541 * sysdeps/mach/hurd/fchdir.c: Likewise.
8542 * sysdeps/mach/hurd/rename.c: Likewise.
8543 * sysdeps/mach/hurd/rmdir.c: Likewise.
8544 * sysdeps/mach/hurd/seekdir.c: Likewise.
8545 * sysdeps/mach/hurd/setsid.c: Likewise.
8546 * sysdeps/posix/wait3.c: Likewise.
8547
568035b7
JM
8548 * All files with FSF copyright notices: Update copyright dates
8549 using scripts/update-copyrights.
8550 * intl/plural.c: Regenerated.
8551 * locale/programs/charmap-kw.h: Likewise.
8552 * locale/programs/locfile-kw.h: Likewise.
8553
da08f647
SP
85542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8555
0f5477af
SP
8556 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8557 four values.
8558
44e0d4c2
SP
8559 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8560 calculation loop and add branch prediction.
8561
4d55b4e5
SP
8562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8563 check access beyond bounds of m1np.
8564
da08f647
SP
8565 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8566 MPTWO.
8567 (__inv): Remove local variable MPTWO to use the global
8568 constant.
8569 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8570 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8571 variable MPTWO.
8572 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8573 MP3HALFS static const.
8574
8e051029
DM
85752013-01-01 David S. Miller <davem@davemloft.net>
8576
8577 * po/ca.po: Update from translation team.
8578
f4cf5f2d
JM
85792013-01-01 Joseph Myers <joseph@codesourcery.com>
8580
8581 * scripts/update-copyrights: New file.
8582 * Makeconfig: Reformat copyright notice.
8583 * ctype/ctype.h: Likewise.
8584 * debug/swprintf_chk.c: Likewise.
8585 * elf/dl-cache.c: Likewise.
8586 * elf/dl-debug.c: Likewise.
8587 * elf/dl-object.c: Likewise.
8588 * grp/initgroups.c: Likewise.
8589 * hurd/Makefile: Likewise.
8590 * hurd/hurd/signal.h: Likewise.
8591 * hurd/hurdfault.c: Likewise.
8592 * hurd/hurdioctl.c: Likewise.
8593 * hurd/hurdlookup.c: Likewise.
8594 * hurd/intr-msg.c: Likewise.
8595 * iconv/gconv_open.c: Likewise.
8596 * libio/swprintf.c: Likewise.
8597 * locale/lc-ctype.c: Likewise.
8598 * locale/nl_langinfo.c: Likewise.
8599 * mach/Machrules: Likewise.
8600 * mach/Makefile: Likewise.
8601 * malloc/obstack.h: Likewise.
8602 * manual/Makefile: Likewise.
8603 * manual/tsort.awk: Likewise.
8604 * misc/bits/stab.def: Likewise.
8605 * nis/nis_print_group_entry.c: Likewise.
8606 * nis/nis_table.c: Likewise.
8607 * nis/nss_compat/compat-pwd.c: Likewise.
8608 * nis/nss_compat/compat-spwd.c: Likewise.
8609 * po/Makefile: Likewise.
8610 * posix/fnmatch.c: Likewise.
8611 * posix/regex.h: Likewise.
8612 * resolv/Makefile: Likewise.
8613 * resolv/nss_dns/dns-network.c: Likewise.
8614 * resolv/res_hconf.c: Likewise.
8615 * scripts/gen-sorted.awk: Likewise.
8616 * soft-fp/soft-fp.h: Likewise.
8617 * stdio-common/printf.h: Likewise.
8618 * stdlib/monetary.h: Likewise.
8619 * stdlib/random.c: Likewise.
8620 * stdlib/random_r.c: Likewise.
8621 * sysdeps/generic/Makefile: Likewise.
8622 * sysdeps/gnu/Makefile: Likewise.
8623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8651 * sysdeps/mach/hurd/errnos.awk: Likewise.
8652 * sysdeps/mach/hurd/fork.c: Likewise.
8653 * sysdeps/mach/hurd/getcwd.c: Likewise.
8654 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8655 * sysdeps/mach/hurd/mmap.c: Likewise.
8656 * sysdeps/mach/hurd/utimes.c: Likewise.
8657 * sysdeps/mach/hurd/xmknod.c: Likewise.
8658 * sysdeps/posix/profil.c: Likewise.
8659 * sysdeps/posix/readdir_r.c: Likewise.
8660 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8661 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8662 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8663 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8667 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8669 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8670 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8671 * sysdeps/pthread/lio_listio.c: Likewise.
8672 * sysdeps/sparc/dl-procinfo.h: Likewise.
8673 * sysdeps/unix/i386/sysdep.S: Likewise.
8674 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8675 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8676 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8677 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8679 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8680 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8681 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8682 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8683 * sysdeps/wordsize-32/divdi3.c: Likewise.
8684 * time/sys/time.h: Likewise.
8685 * wcsmbs/Makefile: Likewise.
8686
0549fbba
DM
86872013-01-01 David S. Miller <davem@davemloft.net>
8688
a141f1a7
DM
8689 * po/fr.po: Update from translation team.
8690
0549fbba
DM
8691 * catgets/gencat.c: Update copyright year.
8692 * csu/version.c: Likewise.
8693 * debug/catchsegv.sh: Likewise.
8694 * debug/pcprofiledump.c: Likewise.
8695 * debug/xtrace.sh: Likewise.
8696 * elf/ldconfig.c: Likewise.
8697 * elf/ldd.bash.in: Likewise.
8698 * elf/pldd.c: Likewise.
8699 * elf/sotruss.ksh: Likewise.
8700 * elf/sprof.c: Likewise.
8701 * iconv/iconv_prog.c: Likewise.
8702 * iconv/iconvconfig.c: Likewise.
8703 * locale/programs/locale.c: Likewise.
8704 * locale/programs/localedef.c: Likewise.
8705 * login/programs/pt_chown.c: Likewise.
8706 * malloc/memusage.sh: Likewise.
8707 * malloc/memusagestat.c: Likewise.
8708 * malloc/mtrace.pl: Likewise.
8709 * nscd/nscd.c: Likewise.
8710 * nss/getent.c: Likewise.
8711 * nss/makedb.c: Likewise.
8712 * posix/getconf.c: Likewise.
8713
18ea052c
SP
87142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8715
8716 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8717 numbers.
8718
9c89fca6
MF
87192012-12-30 Mike Frysinger <vapier@gentoo.org>
8720
8721 * math/bits/mathcalls.h (modf): Use __nonnull.
8722
085ec079
SP
87232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8724
8725 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8726 (split): Use macro CN instead of the bare value.
8727 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8728 could be used.
8729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8730 instead of the bare value.
8731 (power1): Likewise.
8732
6d9f97e1
SP
87332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8734
d63f73be
SP
8735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8736 __ATAN_TWOM.
8737 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8738
6d9f97e1
SP
8739 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8740 their values.
8741 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8743 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8744 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8745
4c4febf5
AJ
87462012-12-28 Andreas Jaeger <aj@suse.de>
8747
af5843ef
AJ
8748 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8749 values are from Linux 3.7.
8750
4c4febf5
AJ
8751 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8752 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8753
99136f82
SP
87542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8755
2f216c3c 8756 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8757 TRUE case.
8758
99136f82
SP
8759 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8760 (norm): Likewise.
8761 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8762 variables with preprocessor constants.
8763 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8764 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8765 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8766
7fffbdff
BH
87672012-12-27 Bruno Haible <bruno@clisp.org>
8768
8769 [BZ #14317]
8770 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8771 only if needed.
8772
b76eb5f0
SP
87732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8774
31a7fe5c
SP
8775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8776 and use variable directly.
8777 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8778
b76eb5f0
SP
8779 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8780 MPONE.
8781 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8782 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8783 variable MPONE.
8784 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8786 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8787 include directive. Remove local variable MPONE.
8788 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8789 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8790 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8791
2c8bfe7d
DM
87922012-12-25 David S. Miller <davem@davemloft.net>
8793
8794 * version.h (RELEASE): Set to "development".
8795 (VERSION): Set to "2.17.90".
8796 * NEWS: Add 2.18 section.
8797
147d03b0
DM
87982012-12-21 David S. Miller <davem@davemloft.net>
8799
8800 * po/hr.po: Update from translation team.
8801
a8ebb2b9
AK
88022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8803
8804 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8805
95b4f1b6
SE
88062012-12-19 Steve Ellcey <sellcey@mips.com>
8807
b2d94007 8808 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8809
cedb2a90
MS
88102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8811
8812 * manual/contrib.texi (Contributors): Spelling correction.
8813
bbf527d6
DM
88142012-12-15 David S. Miller <davem@davemloft.net>
8815
8816 * po/ru.po: Update from translation team.
8817
bc38c906
DM
88182012-12-13 David S. Miller <davem@davemloft.net>
8819
85429b1a
DM
8820 * NEWS: Mention IFUNC testsuite enhancements.
8821
d283e353
DM
8822 * po/pl.po: Update from translation team.
8823 * po/bg.po: Likewise.
8824
bc38c906
DM
8825 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8826 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8827
a181b0d7
DM
88282012-12-11 David S. Miller <davem@davemloft.net>
8829
4641d57e
DM
8830 * po/sv.po: Update from translation team.
8831
f7bc6495
DM
8832 * po/vi.po: Update from translation team.
8833
6fc9048f
DM
8834 * po/cs.po: Update from translation team.
8835
a181b0d7
DM
8836 * po/de.po: Update from translation team.
8837 * po/eo.po: Likewise.
8838 * po/nl.po: Likewise.
8839
f70bfe80
SP
88402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8841
3c8b4190
SP
8842 [BZ #14246]
8843 * manual/argp.texi (Argp Helper Functions): Move node to follow
8844 Argp Parsing State.
8845
f70bfe80
SP
8846 [BZ #14872]
8847 * manual/conf.texi (Limits on File System Capacity): Mention if
8848 terminating null is included in the max size.
8849
188f0adf
AJ
88502012-12-10 Andreas Jaeger <aj@suse.de>
8851
8852 * po/cs.po: Update from translation team.
8853
56e7d3ad
SP
88542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8855
8856 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8857 void pointer and cast to uintptr_t.
8858 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8859 path.
8860 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8861 * sysdeps/s390/s390-64/memset.S: Likewise.
8862
76f2d2ea 88632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8864
8865 [BZ #14833]
8866 * menual/message.texi (Message Translation): Fix typos.
8867 (Helper programs for gettext): Likewise.
8868
67cbf9a2
AS
88692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8870
8871 [BZ #14898]
8872 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8873 Change to -1.
8874
682d0e9a
DM
88752012-12-07 David S. Miller <davem@davemloft.net>
8876
8877 * po/libc.pot: Update.
8878
573cd484
RH
88792012-12-07 Richard Henderson <rth@redhat.com>
8880
7e9da188 8881 [BZ #10114]
573cd484
RH
8882 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8883 normal/normal case to before the switch.
8884 (_FP_DIV): Likewise.
8885
e933a943
MF
88862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8887 Mike Frysinger <vapier@gentoo.org>
8888
8889 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8890 check for __NR_fadvise64_64.
8891
82123268
CM
88922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8893
8894 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8895 0, not just to plain "0" as a statement.
8896 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8897 with cw.
8898
d9814526
JM
88992012-12-06 Joseph Myers <joseph@codesourcery.com>
8900
8901 * NEWS: Use sourceware.org in Bugzilla URL.
8902
7728c574
SP
89032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8904
f16946dd
SP
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8906 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8907
5704bbcb
SP
8908 * stdio-common/tst-put-error.c (do_test): Add newline to the
8909 padded test to ensure flush.
8910
17aa0516
JL
89112012-12-05 Jeff Law <law@redhat.com>
8912
8913 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8914
363313b5
JM
89152012-12-05 Joseph Myers <joseph@codesourcery.com>
8916
effbd42a
JM
8917 * README: Don't refer to ports add-on as distributed separately.
8918 Mention AArch64 in list of systems supported in the ports add-on.
8919
87600365
JM
8920 * LICENSES: Add more non-FSF copyright and license notices.
8921
a0d7066a
JM
8922 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8923 ((unused)).
8924
66ca5a5b
JM
8925 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8926
363313b5
JM
8927 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8928 10000 as width of padded output.
8929
b37984ad
JM
89302012-12-04 Joseph Myers <joseph@codesourcery.com>
8931
9003570a
JM
8932 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8933
b37984ad
JM
8934 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8935 variable LX with __attribute__ ((unused)).
8936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8937 Likewise.
8938 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8940 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8941 with __attribute__ ((unused)).
8942
c8df52ec
DM
89432012-12-04 David S. Miller <davem@abraco.davemloft.net>
8944
8945 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8946
b3b099af
JM
89472012-12-04 Joseph Myers <joseph@codesourcery.com>
8948
c33aa6e3
JM
8949 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8950 (CFLAGS-nldbl-acos.c): New variable.
8951 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8953 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8954 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8955 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8956 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8957 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8958 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8959 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8960 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8961 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8962 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8963 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8964 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8965 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8966 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8967 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8972 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8973 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8974 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8975 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8976 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8977 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8978 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8979 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9016 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9017 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9018 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9019 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9020 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9021 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9022 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9023 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9024 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9025 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9026 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9031 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9032 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9033 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9034 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9035 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9036 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9037 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9038 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9039 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9040 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9041 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9042 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9043 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9044 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9045 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9046 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9047 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9048
20f0018d
JM
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9051
b3b099af
JM
9052 [BZ #14914]
9053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9054 whole low double instead of just low 47 bits when splitting values
9055 into two parts.
9056
029264d1
AM
90572012-12-03 Allan McRae <allan@archlinux.org>
9058
9059 * manual/stdio.texi (Predefined Printf Handlers): Remove
9060 @hsep and @vsep usage.
9061
c9d6789e
MF
90622012-12-03 Mike Frysinger <vapier@gentoo.org>
9063
9064 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9065 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9066
4b7634a5
JL
90672012-12-03 Jeff Law <law@redhat.com>
9068
9069 * time/sys/time.h (settimeofday): Do not mark TV argument
9070 as __nonnull.
9071
eb6cbd24
MF
90722012-12-01 Mike Frysinger <vapier@gentoo.org>
9073
9074 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9075 when currently writing and seek to current position when not.
9076 * libio/Makefile (tests): Remove bug-fclose1.
9077 * libio/bug-fclose1.c: Delete.
9078
f638872a
JM
90792012-12-01 Joseph Myers <joseph@codesourcery.com>
9080
9081 * manual/arith.texi (feenableexcept): Fix typo.
9082 (fedisableexcept): Likewise.
9083
48085d14
RM
90842012-11-30 Roland McGrath <roland@hack.frob.com>
9085
9086 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9087 second, differently-typed declaration, rather than a cast.
9088
1a538b9f
SP
90892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9090
9091 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9092 * include/rpc/svc.h: ... here.
9093
d07f2ff1 90942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9095
9096 [BZ #13013]
9097 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9098 depending n and resplen2 to catch cases where answer
9099 equals answerp2.
9100
c93ec1f0
CD
91012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9102
9103 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9104 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9105
37db69de
MF
91062012-11-29 Mike Frysinger <vapier@gentoo.org>
9107
9108 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9109
e10c4e4f
RM
91102012-11-29 Roland McGrath <roland@hack.frob.com>
9111
9112 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9113
2af1b328
JL
91142012-11-28 Jeff Law <law@redhat.com>
9115
9116 [BZ #13761]
9117 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9118 dataset_temporary. Track alloca usage into alloca_used.
9119 If dataset is large allocate and release it via malloc/free.
9120
111db5b1
FW
91212012-06-04 Florian Weimer <fweimer@redhat.com>
9122
f06cc227 9123 [BZ #14197]
111db5b1
FW
9124 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9125
dd694abd
DM
91262012-11-28 David S. Miller <davem@davemloft.net>
9127
9128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9129
9984dd01
JM
91302012-11-28 Joseph Myers <joseph@codesourcery.com>
9131
9132 [BZ #14803]
9133 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9134 of pi/2 rounded to nearest to 64 bits.
9135 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9136 nearest to 64 bits.
9137 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9138 bits.
9139
14bc93a9
JL
91402012-11-28 Jeff Law <law@redhat.com>
9141 Martin Osvald <mosvald@redhat.com>
9142
9143 [BZ #14889]
9144 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9145 * sunrpc/svc.c: Include time.h.
9146 (__svc_accept_failed): New function.
9147 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9148 any reason other than EINTR, call __svc_accept_failed.
9149 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9150 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9151
e3c6aa3a
AS
91522012-11-28 Andreas Schwab <schwab@suse.de>
9153
9154 * scripts/abilist.awk: Also handle indirect functions in .opd
9155 section.
9156
1bead169
JM
91572012-11-28 Joseph Myers <joseph@codesourcery.com>
9158
9159 [BZ #13881]
9160 * sysdeps/x86/fpu/powl_helper.c: New file.
9161 * sysdeps/x86/fpu/Makefile: Likewise.
9162 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9163 (p3): New object.
9164 (__ieee754_powl): Use __powl_helper for finite arguments except
9165 integer exponents below 8.
9166 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9167 (p3): New object.
9168 (__ieee754_powl): Use __powl_helper for finite arguments except
9169 integer exponents below 8.
9170 * math/libm-test.inc (pow_test): Add more tests and enable some
9171 previously disabled tests.
9172 * sysdeps/i386/fpu/libm-test-ulps: Update.
9173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9174
0817d63d
SP
91752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9176 Carlos O'Donell <carlos_odonell@mentor.com>
9177
9178 * nss/makedb.c (is_prime): Assert that input is odd and greater
9179 than 4. Note that fact in a comment too.
9180 (next_prime): Add 4 to input.
9181
de2fd463
SP
91822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9183
9184 [BZ #11741]
9185 * libio/Makefile (tests): Add test case tst-fwrite-error.
9186 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9187 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9188 * libio/tst-fwrite-error.c: New test case.
9189
c515fb51
L
91902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9191
9192 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9193 before casting to void *.
9194 * include/libc-internal.h (__pointer_type): New macro.
9195 (__integer_if_pointer_type_sub): Likewise.
9196 (__integer_if_pointer_type): Likewise.
9197 (cast_to_integer): Likewise.
9198 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9199 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9200 before casting to atomic64_t.
9201 (atomic_exchange_acq): Likewise.
9202 (__arch_exchange_and_add_body): Likewise.
9203 (__arch_add_body): Likewise.
9204 (atomic_add_negative): Likewise.
9205 (atomic_add_zero): Likewise.
9206
4cf77aa9
JM
92072012-11-26 Joseph Myers <joseph@codesourcery.com>
9208
9209 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9210 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9211 (add_fdes): Likewise.
9212 (linear_search_fdes): Likewise.
9213 (binary_search_unencoded_fdes): Likewise.
9214
d260b3b4
AS
92152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9216
9217 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9218
67060746
AC
92192012-11-24 Adam Conrad <adconrad@0c3.net>
9220
9221 * configure.in: Autodetect C++ header directories.
9222 * configure: Regenerated.
9223
800938a1
MF
92242012-11-23 Mike Frysinger <vapier@gentoo.org>
9225
9226 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9227
4e6e34e6
AS
92282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9229
9230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9231
7c7feb47
JM
92322012-11-22 Joseph Myers <joseph@codesourcery.com>
9233
7184dcdf
JM
9234 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9235 LDBL_MANT_DIG == 106]: Disable some tests.
9236 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9237 Likewise.
9238 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9239 Likewise.
9240
0a42601f
JM
9241 [BZ #14871]
9242 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9243 input for small inputs. Return +/- pi/2 for large inputs.
9244 * math/libm-test.inc (atan_test): Add more tests.
9245
79c9b9fe
JM
9246 * sysdeps/generic/unwind-dw2-fde-glibc.c
9247 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9248 __attribute__ ((unused)).
9249
c60d3bf2
JM
9250 [BZ #14645]
9251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9252 x * y if x and y are nonzero and z is zero.
9253
ef1e0867
JM
9254 [BZ #14811]
9255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9256 nonzero exponents with absolute value below 0x1p-117 to +/-
9257 0x1p-117.
9258
1468ded3
JM
9259 [BZ #14869]
9260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9261 up arguments below 2**-450, not just those below 2**-500.
9262 * math/libm-test.inc (hypot_test): Add another test.
9263
8e27e3cc
JM
9264 [BZ #14868]
9265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9266 Return a+b for ratio over 2**120, not 2**60.
9267 * math/libm-test.inc (hypot_test): Add another test.
9268
c9c0279b
JM
9269 * math/libm-test.inc (clog_test): Use
9270 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9271 (clog10_test): Likewise.
9272
7c7feb47
JM
9273 [BZ #6778]
9274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9275
fff1530e
AS
92762012-11-22 Andreas Schwab <schwab@suse.de>
9277
9278 * sysdeps/i386/fpu/libm-test-ulps: Update.
9279
94558d30
PT
92802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9281
9282 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9283 printf output with newline.
9284
7e1be741
L
92852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9286
6bfea974
L
9287 [BZ #14865]
9288 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9289 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9290 -z nodlopen, -z initfirst and -z execstack support.
9291 * configure: Regenerated.
9292
7e1be741
L
9293 * elf/elf.h (DF_1_NODIRECT): New macro.
9294 (DF_1_IGNMULDEF): Likewise.
9295 (DF_1_NOKSYMS): Likewise.
9296 (DF_1_NOHDR): Likewise.
9297 (DF_1_EDITED): Likewise.
9298 (DF_1_NORELOC): Likewise.
9299 (DF_1_SYMINTPOSE): Likewise.
9300 (DF_1_GLOBAUDIT): Likewise.
9301 (DF_1_SINGLETON): Likewise.
9302 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9303 DT_1_SUPPORTED_MASK bits.
9304 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9305
105ce2ce
CD
93062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9307
9308 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9309
123be9de
TS
93102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9311
d072f3f7
TS
9312 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9313 macro.
9314
123be9de
TS
9315 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9316 (sendmmsg): Move declarations...
9317 * socket/sys/socket.h: ... here.
9318 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9319 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9320 include it from...
9321 * socket/recvmmsg.c: ... this new file.
9322 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9323 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9324 definition of __sendmmsg hidden.
9325 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9326 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9327 Move ENOSYS stub into and include it from...
9328 * socket/sendmmsg.c: ... this new file.
9329 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9330 (sysdep_routines): Move recvmmsg and sendmmsg...
9331 * socket/Makefile (routines): ... here.
9332 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9333 (GLIBC_PRIVATE): Add __sendmmsg.
9334 * include/sys/socket.h (__sendmmsg): Add declarations.
9335 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9336 sendmmsg.
9337
cf9a5d18
JM
93382012-11-20 Joseph Myers <joseph@codesourcery.com>
9339
9340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9341 variable I1 with __attribute__ ((unused)).
9342 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9343
ecd4caf9
JM
93442012-11-19 Joseph Myers <joseph@codesourcery.com>
9345
be14d48f
JM
9346 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9347 DUMMY variables with __attribute__ ((unused)).
9348
ecd4caf9
JM
9349 * bits/byteswap.h: Include <bits/types.h>.
9350 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9351
986cab95
PT
93522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9353
9354 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9355 string_t. Do not manually set errno.
9356 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9357 length with __strnlen. Make sure to both set errno and return it on
9358 failure.
9359
6d33cc9d
DM
93602012-11-19 David S. Miller <davem@davemloft.net>
9361
9362 With help from Joseph Myers.
9363 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9364 very large arguments properly.
9365 * math/libm-test.inc (atan_test): New tests.
9366 (atan2_test): New tests.
9367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9369
ee663277
JM
93702012-11-19 Joseph Myers <joseph@codesourcery.com>
9371
877f2d8e
JM
9372 [BZ #14856]
9373 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9374 Define to 3.
9375
116fc08a
JM
9376 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9377 [POSIX] (EADDRNOTAVAIL): Likewise.
9378 [POSIX] (EAFNOSUPPORT): Likewise.
9379 [POSIX] (EALREADY): Likewise.
9380 [POSIX] (ECONNABORTED): Likewise.
9381 [POSIX] (ECONNREFUSED): Likewise.
9382 [POSIX] (ECONNRESET): Likewise.
9383 [POSIX] (EDESTADDRREQ): Likewise.
9384 [POSIX] (EDQUOT): Likewise.
9385 [POSIX] (EHOSTUNREACH): Likewise.
9386 [POSIX] (EIDRM): Likewise.
9387 [POSIX] (EISCONN): Likewise.
9388 [POSIX] (ELOOP): Likewise.
9389 [POSIX] (EMULTIHOP): Likewise.
9390 [POSIX] (ENETDOWN): Likewise.
9391 [POSIX] (ENETUNREACH): Likewise.
9392 [POSIX] (ENOBUFS): Likewise.
9393 [POSIX] (ENODATA): Likewise.
9394 [POSIX] (ENOLINK): Likewise.
9395 [POSIX] (ENOMSG): Likewise.
9396 [POSIX] (ENOPROTOOPT): Likewise.
9397 [POSIX] (ENOSR): Likewise.
9398 [POSIX] (ENOSTR): Likewise.
9399 [POSIX] (ENOTCONN): Likewise.
9400 [POSIX] (ENOTSOCK): Likewise.
9401 [POSIX] (EOPNOTSUPP): Likewise.
9402 [POSIX] (EOVERFLOW): Likewise.
9403 [POSIX] (EPROTO): Likewise.
9404 [POSIX] (EPROTONOSUPPORT): Likewise.
9405 [POSIX] (EPROTOTYPE): Likewise.
9406 [POSIX] (ESTALE): Likewise.
9407 [POSIX] (ETIME): Likewise.
9408 [POSIX] (ETXTBSY): Likewise.
9409 [POSIX] (EWOULDBLOCK): Likewise.
9410 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9411 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9412 [POSIX] (SEEK_CUR): Likewise.
9413 [POSIX] (SEEK_END): Likewise.
9414 [POSIX || UNIX98] (mode_t): Do not require.
9415 [POSIX] (off_t): Likewise.
9416 [POSIX] (pid_t): Likewise.
9417 [POSIX] (sys/stat.h): Do not allow header.
9418 [POSIX] (unistd.h): Likewise.
9419 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9420 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9421 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9422 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9423 require.
9424 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9425 sigevent): Specify elements.
9426 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9427 entry.
9428 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9429 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9430
a483863f
JM
9431 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9432 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9433 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9434 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9435 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9436 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9437 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9438 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9439 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9440 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9441 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9442 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9443 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9444 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9445 Likewise.
9446 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9447 Likewise.
9448 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9449 Likewise.
9450 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9451 Likewise.
9452 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9453 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9454 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9455 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9456 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9457 Specify lower bound on value.
9458 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9459 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9462 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9463 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9464 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9465 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9466 value.
9467 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9468 as optional.
9469 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9477 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9478 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9479 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9480 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9481 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9482 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9485 entry.
9486 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9487 optional.
9488 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9494 Likewise.
9495 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9496 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9497 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9500 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9501 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9502 as optional.
9503 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9507 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9508 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9509 specify as optional.
9510 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9513 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9514 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9515 [XPG3] (NL_LANGMAX): Likewise.
9516 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9517 [POSIX || XPG3] (NL_NMAX): Likewise.
9518 [POSIX || XPG3] (NL_SETMAX): Likewise.
9519 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9520 [XPG3] (NZERO): Likewise.
9521 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9522 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9523 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9524 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9525 (REG_ERANGE): Expect.
9526 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9527 optional-constant.
9528 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9529 Use (void) in prototype.
9530 [POSIX] (*_t): Allow.
9531 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9532 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9533 (WRDE_BADVAL): Expect.
9534
5ba924e3
JM
9535 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9536 expect.
9537 [XPG3 || XPG4] (O_RSYNC): Likewise.
9538 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9539 Likewise.
9540 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9541 [XPG3 || XPG4] (sigqueue): Likewise.
9542 [XPG3 || XPG4] (sigtimedwait): Likewise.
9543 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9544 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9545 [XPG3 || XPG4] (vsnprintf): Likewise.
9546 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9547 Likewise.
9548 [XPG3 || XPG4] (blksize_t): Likewise.
9549 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9550 Likewise.
9551 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9552 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9553 [XPG3 || XPG4] (struct itimerspec): Likewise.
9554 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9555 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9556 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9557 [XPG3 || XPG4] (clockid_t): Likewise.
9558 [XPG3 || XPG4] (timer_t): Likewise.
9559 [XPG3 || XPG4] (clock_getres): Likewise.
9560 [XPG3 || XPG4] (clock_gettime): Likewise.
9561 [XPG3 || XPG4] (clock_settime): Likewise.
9562 [XPG3 || XPG4] (nanosleep): Likewise.
9563 [XPG3 || XPG4] (timer_create): Likewise.
9564 [XPG3 || XPG4] (timer_delete): Likewise.
9565 [XPG3 || XPG4] (timer_gettime): Likewise.
9566 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9567 [XPG3 || XPG4] (timer_settime): Likewise.
9568 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9569 [XPG3 || XPG4] (getlogin_r): Likewise.
9570 [XPG3 || XPG4] (pread): Likewise.
9571 [XPG3 || XPG4] (pthread_atfork): Likewise.
9572 [XPG3 || XPG4] (pwrite): Likewise.
9573
ee663277
JM
9574 [BZ #14835]
9575 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9576 <bits/siginfo.h>.
9577
942caa16
PT
95782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9579
e19af380
PT
9580 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9581 finalizing MALLSTREAM.
9582
942caa16
PT
9583 * sysdeps/mach/hurd/syncfs.c: New file.
9584
cfde9b46
SP
95852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
9587 [BZ #14719]
9588 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9589 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9591 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9592 (_nss_dns_gethostbyname4_r): Likewise.
9593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9594 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9595
f6da27e5
PH
95962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9597
9598 [BZ #13763]
9599 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9600
6665d4a2
SM
96012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9602
1f51ee92
SM
9603 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9604 * elf/cache.c (print_entry): Print ",AArch64" for
9605 FLAG_AARCH64_LIB64
9606
6665d4a2
SM
9607 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9608 * elf/cache.c (print_entry): Print ",hard-float" for
9609 FLAG_ARM_LIBHF.
9610
05b227bd
DM
96112012-11-18 David S. Miller <davem@davemloft.net>
9612
9613 With help from Joseph Myers.
9614 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9615 cutoff to 2**-13.
9616 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9617 cutoff to 2**-25.
9618 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9619 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9620 small.
9621 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9622 * math/libm-test.inc (y0_test): New tests.
9623 (y1_test): New tests.
9624 * sysdeps/i386/fpu/libm-test-ulps: Update.
9625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9627
786b0b67
AS
96282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9629
9630 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9631 64-bit targets.
9632 * configure: Regenerated.
9633
8e18b86d
DM
96342012-11-17 David S. Miller <davem@davemloft.net>
9635
9636 [BZ #14811]
9637 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9638 nonzero exponents with absolute value below 0x1p-128 to +/-
9639 0x1p-128.
9640
531f1ae0
JM
96412012-11-17 Joseph Myers <joseph@codesourcery.com>
9642
12df29e2
JM
9643 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9644
150dc1a0
JM
9645 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9646
531f1ae0
JM
9647 * posix/getconf-speclist.c: New file.
9648 * posix/posix-envs.def: Likewise.
9649 * posix/confstr.c (START_ENV_GROUP): New macro.
9650 (END_ENV_GROUP): Likewise.
9651 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9652 (KNOWN_PRESENT_ENV_STRING): Likewise.
9653 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9654 (UNKNOWN_ENVIRONMENT): Likewise.
9655 (confstr): Include posix-envs.def instead of handling
9656 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9657 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9658 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9659 (END_ENV_GROUP): Likewise.
9660 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9661 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9662 (UNKNOWN_ENVIRONMENT): Likewise.
9663 (__sysconf): Include posix-envs.def instead of handling associated
9664 cases directly here.
9665 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9666 preprocessing getconf-speclist.c rather than running getconf or
9667 generating empty file.
9668
a93f9cbc
PT
96692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9670
9671 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9672
d64d9f87
AL
96732012-11-16 Andrej Lajovic <natrij@gmail.com>
9674
9675 [BZ #14672]
9676 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9677
447885eb
DM
96782012-11-16 David S. Miller <davem@davemloft.net>
9679
9680 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9681 smaller than LDBL_EPSILON/2.0L, just return xm1.
9682
bcbf9830
L
96832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 * elf/tst-array1.c (init): Set constructor priority to 1000.
9686 (fini): Set destructor priority to 1000.
9687 * elf/tst-array2dep.c: Likewise.
9688
2b766585
SP
96892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9690
9691 [BZ #11741]
9692 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9693 (_IO_new_file_xsputn): Also return EOF if none of the input
9694 data was written when overflow failed.
9695 * libio/iopadn.c (_IO_padn): Likewise.
9696 * libio/iowpadn.c (_IO_wpadn): Likewise.
9697 * stdio-common/tst-put-error.c: Add copyright notice.
9698 (do_test): Add case for printing padded string.
9699 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9700 _IO_padn returned error.
9701 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9702 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9703 return EOF.
9704
b1848fde
SP
97052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9706
9707 * libio/libioP.h: Add comment note that the references to C++
9708 bits are now obsolete.
9709
2fd89785
MS
97102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9711
9712 * math/libm-test.inc (check_complex): Use asprintf.
9713
e3ea5409
JM
97142012-11-14 Joseph Myers <joseph@codesourcery.com>
9715
9716 * debug/pcprofiledump.c (print_version): Update copyright year.
9717 * malloc/memusagestat.c (print_version): Likewise.
9718
2e64d265
L
97192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 [BZ #14831]
9722 * elf/Makefile (tests): Add tst-audit8.
9723 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9724 ($(objpfx)tst-audit8.out): New target.
9725 (tst-audit8-ENV): New variable.
9726 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9727 audit if l_reloc_result is NULL.
9728 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9729 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9730 * elf/tst-audit8.c: New file.
9731
c485e4d2
MS
97322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9733
9734 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9735 * misc/Makefile (CFLAGS-select.c): Define.
9736 * posix/Makefile (CFLAGS-pause.c): Define.
9737
3a0d900a
DM
97382012-11-13 David S. Miller <davem@davemloft.net>
9739
9740 * crypt/Makefile: Move test targets after toplevel Rules
9741 inclusion. Grab any necessary sysdep routines when linking.
9742 * crypt/md5.c (md5_process_block): Remove define, we will always
9743 name it __md5_process_block.
9744 (md5_finish_ctx): Update md5_process_block call.
9745 (md5_stream): Likewise.
9746 (md5_process_bytes): Likewise.
9747 (md5_process_block): Rename to __md5_process_block and move to ...
9748 * crypt/md5-block.c: ... here.
9749 * crypt/sha256.c (sha256_process_block): Move to ...
9750 * crypt/sha256-block.c: ... here.
9751 * crypt/sha512.c (sha512_process_block): Move to ...
9752 * crypt/sha512-block.c: ... here.
9753 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9754 path.
9755 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9756 * sysdeps/sparc/sparc64/multiarch/Makefile
9757 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9758 crypt subdir.
9759 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9760 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9761 multiarch changes.
9762 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9763 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9764 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9765 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9766 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9767 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9768 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9769 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9771 file.
9772 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9774 file.
9775 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9776
8ca89318
JM
97772012-11-13 Joseph Myers <joseph@codesourcery.com>
9778
e27d476a
JM
9779 * timezone/tzselect.ksh: Update from tzcode git revision
9780 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9781 * timezone/zdump.c: Likewise.
9782 * timezone/zic.c: Likewise.
9783 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9784 in TZVERSION setting, not $(PKGVERSION).
9785 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9786 REPORT_BUGS_TO settings.
9787
8ca89318
JM
9788 [BZ #14838]
9789 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9790 macro.
9791
47594329
MS
97922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9793
9794 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9795 detection to immediately after _FP_ROUND().
9796 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9797 bits are 0.
9798
640ac3f1
DM
97992012-11-11 David S. Miller <davem@davemloft.net>
9800
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9802 inttypes.h
9803 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9804 __close rather than their public counterparts.
9805
3d2577bb
JM
98062012-11-10 Joseph Myers <joseph@codesourcery.com>
9807
9808 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9809 file.
9810 [UNIX98] (sem_timedwait): Do not expect.
9811 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9812 [XPG4 || UNIX98] (sockatmark): Do not expect.
9813 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9814 (clock_getcpuclockid): Do not expect.
9815 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9816 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9817 Do not expect.
9818 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9819 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9820 [UNIX98] (vwscanf): Likewise.
9821 [UNIX98] (vswscanf): Likewise.
9822
fb1ae1ee
JM
98232012-11-09 Joseph Myers <joseph@codesourcery.com>
9824
9ec6f8bd
JM
9825 * timezone/version.h: Remove file.
9826 * timezone/README: Do not refer to version.h.
9827 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9828 $(objpfx)version.h.
9829 ($(objpfx)zdump.o): Likewise.
c3f81911 9830 ($(objpfx)version.h): New target.
9ec6f8bd 9831
0aa8f8a1
JM
9832 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9833 2012i.
9834 * timezone/README: Don't mention modification to tzselect.ksh.
9835 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9836 work on unmodified tzselect.ksh. Substitute version numbers in
9837 tzselect.ksh.
9838
4e87147f
JM
9839 * Makefile (format-me): Remove.
9840 (INSTALL): Adjust indentation. Use commands directly instead of
9841 using $(format-me).
9842
8b748aed
JM
9843 * aclocal.m4 (ACX_PKGVERSION): New macro.
9844 (ACX_BUGURL): Likewise.
9845 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9846 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9847 (REPORT_BUGS_TO): Likewise.
9848 * configure: Regenerated.
9849 * config.h.in (PKGVERSION): New macro.
9850 (REPORT_BUGS_TO): Likewise.
9851 * config.make.in (PKGVERSION): New variable.
9852 (PKGVERSION_TEXI): Likewise.
9853 (REPORT_BUGS_TO): Likewise.
9854 (REPORT_BUGS_TEXI): Likewise.
9855 * Makefile (format-me): Use -I$(common-objpfx)manual.
9856 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9857 ($(common-objpfx)manual/%): New target.
9858 (manual/%): Remove target.
9859 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9860 (print_version): Use PKGVERSION.
9861 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9862 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9863 and REPORT_BUGS_TO.
9864 ($(objpfx)xtrace): Likewise.
9865 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9866 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9867 (print_version): Use PKGVERSION.
9868 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9869 (do_version): Use PKGVERSION.
9870 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9871 REPORT_BUGS_TO.
9872 (common-ldd-rewrite): Likewise.
9873 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9874 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9875 (print_version): Use PKGVERSION.
9876 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9877 * elf/pldd.c (argp_program_bug_address): Remove variable.
9878 (more_help): New function.
9879 (argp): Use more_help.
9880 (print_version): Use PKGVERSION.
9881 * elf/sln.c (main): Use PKGVERSION.
9882 (usage): Use REPORT_BUGS_TO.
9883 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9884 (top level): Use PKGVERSION.
9885 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9886 (print_version): Use PKGVERSION.
9887 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9888 (print_version): Use PKGVERSION.
9889 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9890 (print_version): Use PKGVERSION.
9891 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9892 (print_version): Use PKGVERSION.
9893 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9894 (print_version): Use PKGVERSION.
9895 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9896 (print_version): Use PKGVERSION.
9897 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9898 and BUGURL.
9899 ($(objpfx)memusage): Likewise.
9900 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9901 (do_version): Use PKGVERSION.
9902 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9903 (print_version): Use PKGVERSION.
9904 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9905 ($PKGVERSION): New variable.
9906 ($REPORT_BUGS_TO): Likewise.
9907 (usage): Use $REPORT_BUGS_TO.
9908 (top level): Use $PKGVERSION.
9909 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9910 ($(objpfx)pkgvers.texi): New rule.
9911 ($(objpfx)stamp-pkgvers): Likewise.
9912 * manual/install.texi: Include pkgvers.texi.
9913 (--with-pkgversion): Document new configure option.
9914 (--with-bugurl): Likewise.
9915 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9916 than necessarily for this particular distribution. Use
9917 REPORT_BUGS_TO for where to report bugs.
9918 * INSTALL: Regenerated.
9919 * manual/libc.texinfo: Include pkgvers.texi.
9920 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9921 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9922 (print_version): Use PKGVERSION.
9923 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9924 (print_version): Use PKGVERSION.
9925 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9926 (print_version): Use PKGVERSION.
9927 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9928 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9929 macro.
9930 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9931 (print_version): Use PKGVERSION.
9932 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9933 (print_version): Use PKGVERSION.
9934 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9935 and PKGVERSION.
9936
92e4b6a9
JM
9937 * timezone/checktab.awk: Update from tzcode 2012i.
9938 * timezone/ialloc.c: Likewise.
9939 * timezone/private.h: Likewise.
9940 * timezone/scheck.c: Likewise.
9941 * timezone/tzfile.h: Likewise.
9942 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9943 (TZVERSION): Hardcode tzcode version number.
9944 * timezone/zdump.c: Update from tzcode 2012i.
9945 * timezone/zic.c: Likewise.
9946 * timezone/version.h: New file.
9947 * timezone/README: Describe version.h. Update upstream location.
9948
9bde902c
JM
9949 [BZ #14824]
9950 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9951 (mktemp): Enable declaration.
9952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9956 Likewise.
9957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9958 Likewise.
9959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9960 Likewise.
9961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9962 Likewise.
9963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9964 Likewise.
9965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9966 Likewise.
9967
fb1ae1ee
JM
9968 [BZ #14821]
9969 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9970 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9971 for copies of such integer values.
9972 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9973 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9974
2c1adbcb
AJ
99752012-11-09 Andreas Jaeger <aj@suse.de>
9976
9977 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9978 definitions and declarations that are provided by
9979 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9980
d0f8457e
AK
99812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9982
3a235abb 9983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9984 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9985 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9986 definition.
9987
57241e26
MS
99882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9989
9990 * elf/elf.h: Update comment before AArch64 relocations.
9991
60e8270d
DM
99922012-11-07 David S. Miller <davem@davemloft.net>
9993
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9995 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9996 (__start_context): Declare.
9997 (__makecontext_ret): Delete.
9998 (__makecontext): Hook up __start_context instead of
9999 __makecontext_ret.
10000 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10001 (sysdep_routines): Add __start_context when in stdlib.
10002
0fbb0fbc
JM
100032012-11-07 Joseph Myers <joseph@codesourcery.com>
10004
10005 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10006 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10007 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10008 hardcoded "nm".
10009 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10010 (READELF): New variable. Use it instead of hardcoded "readelf".
10011
eb48db7e
L
100122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10013
10014 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10015 * sysdeps/x86/Makefile: Here.
10016 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10017 * sysdeps/x86/tst-xmmymm.sh: This.
10018
05bcf62a
JM
100192012-11-07 Joseph Myers <joseph@codesourcery.com>
10020
c4b6cf53
JM
10021 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10022 expectations.
10023 [UNIX98] (pthread_barrier_t): Do not expect.
10024 [UNIX98] (pthread_barrierattr_t): Likewise.
10025 [UNIX98] (pthread_spinlock_t): Likewise.
10026 [UNIX98] (pthread_barrier_destroy): Likewise.
10027 [UNIX98] (pthread_barrier_init): Likewise.
10028 [UNIX98] (pthread_barrier_wait): Likewise.
10029 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10030 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10031 [UNIX98] (pthread_barrierattr_init): Likewise.
10032 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10033 [UNIX98] (pthread_getcpuclockid): Likewise.
10034 [UNIX98] (pthread_mutex_timedlock): Likewise.
10035 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10036 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10037 [UNIX98] (pthread_sigmask): Likewise.
10038 [UNIX98] (pthread_spin_destroy): Likewise.
10039 [UNIX98] (pthread_spin_init): Likewise.
10040 [UNIX98] (pthread_spin_lock): Likewise.
10041 [UNIX98] (pthread_spin_trylock): Likewise.
10042 [UNIX98] (pthread_spin_unlock): Likewise.
10043 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10044 Do not expect.
10045 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10046 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10047 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10048 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10049 [XPG3 || XPG4] (pthread_key_t): Likewise.
10050 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10051 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10052 [XPG3 || XPG4] (pthread_once_t): Likewise.
10053 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10054 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10055 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10056 [XPG3 || XPG4] (pthread_t): Likewise.
10057
cbe6e120
JM
10058 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10059 not expect.
10060 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10061
1b126443
JM
10062 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10063 Change function return type to int.
10064
b961a573
JM
10065 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10066 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10067 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10068 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10069 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10070 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10071 [!POSIX] (posix_madvise): Likewise.
10072 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10073 && !UNIX98].
10074 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10075 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10076 (mode_t): Likewise.
10077 (posix_mem_offset): Likewise.
10078 (posix_typed_mem_get_info): Likewise.
10079 (posix_typed_mem_open): Likewise.
10080
9e188909
JM
10081 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10082 Change condition to [XOPEN2K8].
10083
05bcf62a
JM
10084 * conform/conformtest.pl: Preprocess allow-header data with -x c
10085 instead of from stdin.
10086 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10087 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10088 [C99-based standards] (cerfc): Likewise.
10089 [C99-based standards] (cexp2): Likewise.
10090 [C99-based standards] (cexpm1): Likewise.
10091 [C99-based standards] (clog10): Likewise.
10092 [C99-based standards] (clog1p): Likewise.
10093 [C99-based standards] (clog2): Likewise.
10094 [C99-based standards] (clgamma): Likewise.
10095 [C99-based standards] (ctgamma): Likewise.
10096 [C99-based standards] (cerff): Likewise.
10097 [C99-based standards] (cerfcf): Likewise.
10098 [C99-based standards] (cexp2f): Likewise.
10099 [C99-based standards] (cexpm1f): Likewise.
10100 [C99-based standards] (clog10f): Likewise.
10101 [C99-based standards] (clog1pf): Likewise.
10102 [C99-based standards] (clog2f): Likewise.
10103 [C99-based standards] (clgammaf): Likewise.
10104 [C99-based standards] (ctgammaf): Likewise.
10105 [C99-based standards] (cerfl): Likewise.
10106 [C99-based standards] (cerfcl): Likewise.
10107 [C99-based standards] (cexp2l): Likewise.
10108 [C99-based standards] (cexpm1l): Likewise.
10109 [C99-based standards] (clog10l): Likewise.
10110 [C99-based standards] (clog1pl): Likewise.
10111 [C99-based standards] (clog2l): Likewise.
10112 [C99-based standards] (clgammal): Likewise.
10113 [C99-based standards] (ctgammal): Likewise.
10114 * conform/data/inttypes.h-data [C99-based standards]: Include
10115 stdint.h-data. Remove all expectations for stdint.h contents.
10116 [C99-based standards] (PRI*): Do not allow.
10117 [C99-based standards] (SCN*): Likewise.
10118 [C99-based standards] (*_t): Likewise.
10119 [C99-based-standards] (PRId8): Expect macro.
10120 [C99-based-standards] (PRIi8): Likewise.
10121 [C99-based-standards] (PRIo8): Likewise.
10122 [C99-based-standards] (PRIu8): Likewise.
10123 [C99-based-standards] (PRIx8): Likewise.
10124 [C99-based-standards] (PRIX8): Likewise.
10125 [C99-based-standards] (SCNd8): Likewise.
10126 [C99-based-standards] (SCNi8): Likewise.
10127 [C99-based-standards] (SCNo8): Likewise.
10128 [C99-based-standards] (SCNu8): Likewise.
10129 [C99-based-standards] (SCNx8): Likewise.
10130 [C99-based-standards] (PRIdLEAST8): Likewise.
10131 [C99-based-standards] (PRIiLEAST8): Likewise.
10132 [C99-based-standards] (PRIoLEAST8): Likewise.
10133 [C99-based-standards] (PRIuLEAST8): Likewise.
10134 [C99-based-standards] (PRIxLEAST8): Likewise.
10135 [C99-based-standards] (PRIXLEAST8): Likewise.
10136 [C99-based-standards] (SCNdLEAST8): Likewise.
10137 [C99-based-standards] (SCNiLEAST8): Likewise.
10138 [C99-based-standards] (SCNoLEAST8): Likewise.
10139 [C99-based-standards] (SCNuLEAST8): Likewise.
10140 [C99-based-standards] (SCNxLEAST8): Likewise.
10141 [C99-based-standards] (PRIdFAST8): Likewise.
10142 [C99-based-standards] (PRIiFAST8): Likewise.
10143 [C99-based-standards] (PRIoFAST8): Likewise.
10144 [C99-based-standards] (PRIuFAST8): Likewise.
10145 [C99-based-standards] (PRIxFAST8): Likewise.
10146 [C99-based-standards] (PRIXFAST8): Likewise.
10147 [C99-based-standards] (SCNdFAST8): Likewise.
10148 [C99-based-standards] (SCNiFAST8): Likewise.
10149 [C99-based-standards] (SCNoFAST8): Likewise.
10150 [C99-based-standards] (SCNuFAST8): Likewise.
10151 [C99-based-standards] (SCNxFAST8): Likewise.
10152 [C99-based-standards] (PRId16): Likewise.
10153 [C99-based-standards] (PRIi16): Likewise.
10154 [C99-based-standards] (PRIo16): Likewise.
10155 [C99-based-standards] (PRIu16): Likewise.
10156 [C99-based-standards] (PRIx16): Likewise.
10157 [C99-based-standards] (PRIX16): Likewise.
10158 [C99-based-standards] (SCNd16): Likewise.
10159 [C99-based-standards] (SCNi16): Likewise.
10160 [C99-based-standards] (SCNo16): Likewise.
10161 [C99-based-standards] (SCNu16): Likewise.
10162 [C99-based-standards] (SCNx16): Likewise.
10163 [C99-based-standards] (PRIdLEAST16): Likewise.
10164 [C99-based-standards] (PRIiLEAST16): Likewise.
10165 [C99-based-standards] (PRIoLEAST16): Likewise.
10166 [C99-based-standards] (PRIuLEAST16): Likewise.
10167 [C99-based-standards] (PRIxLEAST16): Likewise.
10168 [C99-based-standards] (PRIXLEAST16): Likewise.
10169 [C99-based-standards] (SCNdLEAST16): Likewise.
10170 [C99-based-standards] (SCNiLEAST16): Likewise.
10171 [C99-based-standards] (SCNoLEAST16): Likewise.
10172 [C99-based-standards] (SCNuLEAST16): Likewise.
10173 [C99-based-standards] (SCNxLEAST16): Likewise.
10174 [C99-based-standards] (PRIdFAST16): Likewise.
10175 [C99-based-standards] (PRIiFAST16): Likewise.
10176 [C99-based-standards] (PRIoFAST16): Likewise.
10177 [C99-based-standards] (PRIuFAST16): Likewise.
10178 [C99-based-standards] (PRIxFAST16): Likewise.
10179 [C99-based-standards] (PRIXFAST16): Likewise.
10180 [C99-based-standards] (SCNdFAST16): Likewise.
10181 [C99-based-standards] (SCNiFAST16): Likewise.
10182 [C99-based-standards] (SCNoFAST16): Likewise.
10183 [C99-based-standards] (SCNuFAST16): Likewise.
10184 [C99-based-standards] (SCNxFAST16): Likewise.
10185 [C99-based-standards] (PRId32): Likewise.
10186 [C99-based-standards] (PRIi32): Likewise.
10187 [C99-based-standards] (PRIo32): Likewise.
10188 [C99-based-standards] (PRIu32): Likewise.
10189 [C99-based-standards] (PRIx32): Likewise.
10190 [C99-based-standards] (PRIX32): Likewise.
10191 [C99-based-standards] (SCNd32): Likewise.
10192 [C99-based-standards] (SCNi32): Likewise.
10193 [C99-based-standards] (SCNo32): Likewise.
10194 [C99-based-standards] (SCNu32): Likewise.
10195 [C99-based-standards] (SCNx32): Likewise.
10196 [C99-based-standards] (PRIdLEAST32): Likewise.
10197 [C99-based-standards] (PRIiLEAST32): Likewise.
10198 [C99-based-standards] (PRIoLEAST32): Likewise.
10199 [C99-based-standards] (PRIuLEAST32): Likewise.
10200 [C99-based-standards] (PRIxLEAST32): Likewise.
10201 [C99-based-standards] (PRIXLEAST32): Likewise.
10202 [C99-based-standards] (SCNdLEAST32): Likewise.
10203 [C99-based-standards] (SCNiLEAST32): Likewise.
10204 [C99-based-standards] (SCNoLEAST32): Likewise.
10205 [C99-based-standards] (SCNuLEAST32): Likewise.
10206 [C99-based-standards] (SCNxLEAST32): Likewise.
10207 [C99-based-standards] (PRIdFAST32): Likewise.
10208 [C99-based-standards] (PRIiFAST32): Likewise.
10209 [C99-based-standards] (PRIoFAST32): Likewise.
10210 [C99-based-standards] (PRIuFAST32): Likewise.
10211 [C99-based-standards] (PRIxFAST32): Likewise.
10212 [C99-based-standards] (PRIXFAST32): Likewise.
10213 [C99-based-standards] (SCNdFAST32): Likewise.
10214 [C99-based-standards] (SCNiFAST32): Likewise.
10215 [C99-based-standards] (SCNoFAST32): Likewise.
10216 [C99-based-standards] (SCNuFAST32): Likewise.
10217 [C99-based-standards] (SCNxFAST32): Likewise.
10218 [C99-based-standards] (PRId64): Likewise.
10219 [C99-based-standards] (PRIi64): Likewise.
10220 [C99-based-standards] (PRIo64): Likewise.
10221 [C99-based-standards] (PRIu64): Likewise.
10222 [C99-based-standards] (PRIx64): Likewise.
10223 [C99-based-standards] (PRIX64): Likewise.
10224 [C99-based-standards] (SCNd64): Likewise.
10225 [C99-based-standards] (SCNi64): Likewise.
10226 [C99-based-standards] (SCNo64): Likewise.
10227 [C99-based-standards] (SCNu64): Likewise.
10228 [C99-based-standards] (SCNx64): Likewise.
10229 [C99-based-standards] (PRIdLEAST64): Likewise.
10230 [C99-based-standards] (PRIiLEAST64): Likewise.
10231 [C99-based-standards] (PRIoLEAST64): Likewise.
10232 [C99-based-standards] (PRIuLEAST64): Likewise.
10233 [C99-based-standards] (PRIxLEAST64): Likewise.
10234 [C99-based-standards] (PRIXLEAST64): Likewise.
10235 [C99-based-standards] (SCNdLEAST64): Likewise.
10236 [C99-based-standards] (SCNiLEAST64): Likewise.
10237 [C99-based-standards] (SCNoLEAST64): Likewise.
10238 [C99-based-standards] (SCNuLEAST64): Likewise.
10239 [C99-based-standards] (SCNxLEAST64): Likewise.
10240 [C99-based-standards] (PRIdFAST64): Likewise.
10241 [C99-based-standards] (PRIiFAST64): Likewise.
10242 [C99-based-standards] (PRIoFAST64): Likewise.
10243 [C99-based-standards] (PRIuFAST64): Likewise.
10244 [C99-based-standards] (PRIxFAST64): Likewise.
10245 [C99-based-standards] (PRIXFAST64): Likewise.
10246 [C99-based-standards] (SCNdFAST64): Likewise.
10247 [C99-based-standards] (SCNiFAST64): Likewise.
10248 [C99-based-standards] (SCNoFAST64): Likewise.
10249 [C99-based-standards] (SCNuFAST64): Likewise.
10250 [C99-based-standards] (SCNxFAST64): Likewise.
10251 [C99-based-standards] (PRIdMAX): Likewise.
10252 [C99-based-standards] (PRIiMAX): Likewise.
10253 [C99-based-standards] (PRIoMAX): Likewise.
10254 [C99-based-standards] (PRIuMAX): Likewise.
10255 [C99-based-standards] (PRIxMAX): Likewise.
10256 [C99-based-standards] (PRIXMAX): Likewise.
10257 [C99-based-standards] (SCNdMAX): Likewise.
10258 [C99-based-standards] (SCNiMAX): Likewise.
10259 [C99-based-standards] (SCNoMAX): Likewise.
10260 [C99-based-standards] (SCNuMAX): Likewise.
10261 [C99-based-standards] (SCNxMAX): Likewise.
10262 [C99-based-standards] (PRIdPTR): Likewise.
10263 [C99-based-standards] (PRIiPTR): Likewise.
10264 [C99-based-standards] (PRIoPTR): Likewise.
10265 [C99-based-standards] (PRIuPTR): Likewise.
10266 [C99-based-standards] (PRIxPTR): Likewise.
10267 [C99-based-standards] (PRIXPTR): Likewise.
10268 [C99-based-standards] (SCNdPTR): Likewise.
10269 [C99-based-standards] (SCNiPTR): Likewise.
10270 [C99-based-standards] (SCNoPTR): Likewise.
10271 [C99-based-standards] (SCNuPTR): Likewise.
10272 [C99-based-standards] (SCNxPTR): Likewise.
10273 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10274 allow.
10275 * conform/data/stdint.h-data: Update comments to clarify
10276 requirements.
10277 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10278 type.
10279 [C99-based standards] (INT8_MAX): Likewise.
10280 [C99-based standards] (INT16_MIN): Likewise.
10281 [C99-based standards] (INT16_MAX): Likewise.
10282 [C99-based standards] (INT32_MIN): Likewise.
10283 [C99-based standards] (INT32_MAX): Likewise.
10284 [C99-based standards] (INT64_MIN): Likewise.
10285 [C99-based standards] (INT64_MAX): Likewise.
10286 [C99-based standards] (UINT8_MAX): Likewise.
10287 [C99-based standards] (UINT16_MAX): Likewise.
10288 [C99-based standards] (UINT32_MAX): Likewise.
10289 [C99-based standards] (UINT64_MAX): Likewise.
10290 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10291 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10292 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10293 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10294 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10295 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10296 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10297 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10298 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10299 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10300 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10301 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10302 [C99-based standards] (INT_FAST8_MIN): Likewise.
10303 [C99-based standards] (INT_FAST8_MAX): Likewise.
10304 [C99-based standards] (INT_FAST16_MIN): Likewise.
10305 [C99-based standards] (INT_FAST16_MAX): Likewise.
10306 [C99-based standards] (INT_FAST32_MIN): Likewise.
10307 [C99-based standards] (INT_FAST32_MAX): Likewise.
10308 [C99-based standards] (INT_FAST64_MIN): Likewise.
10309 [C99-based standards] (INT_FAST64_MAX): Likewise.
10310 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10311 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10312 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10313 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10314 [C99-based standards] (INTPTR_MIN): Likewise.
10315 [C99-based standards] (INTPTR_MAX): Likewise.
10316 [C99-based standards] (UINTPTR_MAX): Likewise.
10317 [C99-based standards] (INTMAX_MIN): Likewise.
10318 [C99-based standards] (INTMAX_MAX): Likewise.
10319 [C99-based standards] (UINTMAX_MAX): Likewise.
10320 [C99-based standards] (PTRDIFF_MIN): Likewise.
10321 [C99-based standards] (PTRDIFF_MAX): Likewise.
10322 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10323 [C99-based standards] (SIZE_MAX): Likewise.
10324 [C99-based standards] (WCHAR_MAX): Likewise.
10325 [C99-based standards] (WINT_MAX): Likewise.
10326 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10327 constraint on value.
10328 [C99-based standards] (WCHAR_MIN): Likewise.
10329 [C99-based standards] (WINT_MIN): Likewise.
10330 [C99-based standards] (*_t): Allow.
10331 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10332 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10333 Include math.h-data and complex.h-data. Remove all expectations
10334 of math.h and complex.h contents.
10335 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10336 at end of line.
10337 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10338 (struct tm): Expect tag.
10339 [C99-based-standards] (wcstof): Expect function.
10340 [C99-based-standards] (wcstold): Likewise.
10341 [C99-based-standards] (wcstoll): Likewise.
10342 [C99-based-standards] (wcstoull): Likewise.
10343 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10344 macro-int-constant. Specify type.
10345 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10346 constraint on value.
10347 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10348 Specify type.
10349 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10350 Specify value.
10351 [ISO C standards]: Do not allow headers.
10352 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10353 wcs[abcdefghijklmnopqrstuvwxyz]*.
10354 [ISO C standards] (*_t): Do not allow.
10355 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10356 Expect function.
10357 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10358 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10359 Specify type.
10360 [ISO C standards]: Do not allow headers.
10361 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10362 is[abcdefghijklmnopqrstuvwxyz]*.
10363 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10364 to[abcdefghijklmnopqrstuvwxyz]*.
10365 [ISO C standards] (*_t): Do not allow.
10366 * conform/data/stdalign.h-data: New file.
10367 * conform/data/stdbool.h-data: Likewise.
10368 * conform/data/stdnoreturn.h-data: Likewise.
10369
7514feb8
RM
103702012-11-07 Roland McGrath <roland@hack.frob.com>
10371
10372 [BZ #14815]
10373 * manual/filesys.texi (Directory Entries): Typo fix.
10374 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10375
19b2ecfc
MS
103762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10377
10378 * elf/elf.h (EM_AARCH64): New macro.
10379 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10380 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10381 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10382 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10383 (R_AARCH64_TLSDESC): Likewise.
10384 (NT_ARM_TLS): Likewise.
10385 (NT_ARM_HW_BREAK): Likewise.
10386 (NT_ARM_HW_WATCH): Likewise.
10387
60e235ee
JM
103882012-11-07 Joseph Myers <joseph@codesourcery.com>
10389
10390 [BZ #14811]
10391 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10392 (__ieee754_powl): Saturate nonzero exponents with absolute value
10393 below 0x1p-79 to +/- 0x1p-79.
10394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10395 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10396 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10397 nonzero exponents with absolute value below 0x1p-32 to +/-
10398 0x1p-32.
10399 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10400 (__ieee754_powl): Saturate nonzero exponents with absolute value
10401 below 0x1p-79 to +/- 0x1p-79.
10402 * math/libm-test.inc (pow_test): Add more tests.
10403
0ab234b7
AK
104042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10405
10406 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10407 _dl_s390_cap_flags with kernel. Increase string length.
10408 (_dl_s390_platforms): Add z196 and zEC12.
10409
45832f74
JM
104102012-11-07 Joseph Myers <joseph@codesourcery.com>
10411
10412 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10413 Change XOPEN21K to XOPEN2K.
10414
19218757
MK
104152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10416
10417 * string/memmove.c: Use memcpy when possible.
10418
c5f45721
AJ
104192012-11-06 Andreas Jaeger <aj@suse.de>
10420
10421 * po/eo.po: Update from translation team.
10422
82477c28
JM
104232012-11-06 Joseph Myers <joseph@codesourcery.com>
10424
10425 [BZ #14793]
10426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10427 exponent and small x and y exponents, scale x or y up. Increase
10428 by 2 the exponent used in scaling up.
10429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10431 * math/libm-test.inc (fma_test): Add more tests.
10432 (fma_test_towardzero): Likewise.
10433 (fma_test_downward): Likewise.
10434 (fma_test_upward): Likewise.
10435
99252c8c
JM
104362012-11-05 Joseph Myers <joseph@codesourcery.com>
10437
acfa885f
JM
10438 [BZ #14805]
10439 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10440 fenv_t *.
10441
99252c8c
JM
10442 [BZ #14801]
10443 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10444 namespace for names of struct fields.
10445 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10446 fenv_t fields.
10447 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10448 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10449
d6d98dea
ST
104502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10451
10452 [BZ #3665]
10453 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10454
e10bb107
TS
104552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10456
10457 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10458 PTR_DEMANGLE.
10459
10460 [BZ #5246]
10461 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10462 PTR_DEMANGLE.
10463
a0c2940d
JM
104642012-11-04 Joseph Myers <joseph@codesourcery.com>
10465
10466 [BZ #14797]
10467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10468 definitely overflow as x * y not x * y + z.
10469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10471 * math/libm-test.inc (fma_test): Add more tests.
10472 (fma_test_towardzero): Likewise.
10473 (fma_test_downward): Likewise.
10474 (fma_test_upward): Likewise.
10475
b830319d
TS
104762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10477
10478 [BZ #157]
10479
10480 * include/stub-tag.h: Remove file.
10481 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10482 '#include' of it.
10483 * manual/maint.texi (Porting): Don't reference it.
10484 * Makerules ($(objpfx)stubs): Likewise.
10485 * dirent/closedir.c: Don't include <stub-tag.h>.
10486 * dirent/dirfd.c: Likewise.
10487 * dirent/fdopendir.c: Likewise.
10488 * dirent/getdents.c: Likewise.
10489 * dirent/getdents64.c: Likewise.
10490 * dirent/opendir.c: Likewise.
10491 * dirent/readdir.c: Likewise.
10492 * dirent/readdir64.c: Likewise.
10493 * dirent/readdir64_r.c: Likewise.
10494 * dirent/readdir_r.c: Likewise.
10495 * dirent/rewinddir.c: Likewise.
10496 * dirent/seekdir.c: Likewise.
10497 * dirent/telldir.c: Likewise.
10498 * gmon/profil.c: Likewise.
10499 * grp/setgroups.c: Likewise.
10500 * inet/if_index.c: Likewise.
10501 * io/access.c: Likewise.
10502 * io/chdir.c: Likewise.
10503 * io/chmod.c: Likewise.
10504 * io/chown.c: Likewise.
10505 * io/close.c: Likewise.
10506 * io/dup.c: Likewise.
10507 * io/dup2.c: Likewise.
10508 * io/dup3.c: Likewise.
10509 * io/euidaccess.c: Likewise.
10510 * io/faccessat.c: Likewise.
10511 * io/fchdir.c: Likewise.
10512 * io/fchmod.c: Likewise.
10513 * io/fchmodat.c: Likewise.
10514 * io/fchown.c: Likewise.
10515 * io/fchownat.c: Likewise.
10516 * io/fcntl.c: Likewise.
10517 * io/flock.c: Likewise.
10518 * io/fstatfs.c: Likewise.
10519 * io/fstatfs64.c: Likewise.
10520 * io/fstatvfs.c: Likewise.
10521 * io/fstatvfs64.c: Likewise.
10522 * io/futimens.c: Likewise.
10523 * io/fxstat.c: Likewise.
10524 * io/fxstat64.c: Likewise.
10525 * io/fxstatat.c: Likewise.
10526 * io/fxstatat64.c: Likewise.
10527 * io/getcwd.c: Likewise.
10528 * io/isatty.c: Likewise.
10529 * io/lchmod.c: Likewise.
10530 * io/lchown.c: Likewise.
10531 * io/link.c: Likewise.
10532 * io/linkat.c: Likewise.
10533 * io/lseek.c: Likewise.
10534 * io/lseek64.c: Likewise.
10535 * io/lxstat64.c: Likewise.
10536 * io/mkdir.c: Likewise.
10537 * io/mkdirat.c: Likewise.
10538 * io/mkfifo.c: Likewise.
10539 * io/mkfifoat.c: Likewise.
10540 * io/open.c: Likewise.
10541 * io/open64.c: Likewise.
10542 * io/openat.c: Likewise.
10543 * io/openat64.c: Likewise.
10544 * io/pipe.c: Likewise.
10545 * io/pipe2.c: Likewise.
10546 * io/poll.c: Likewise.
10547 * io/posix_fadvise.c: Likewise.
10548 * io/posix_fadvise64.c: Likewise.
10549 * io/posix_fallocate.c: Likewise.
10550 * io/posix_fallocate64.c: Likewise.
10551 * io/read.c: Likewise.
10552 * io/readlink.c: Likewise.
10553 * io/readlinkat.c: Likewise.
10554 * io/rmdir.c: Likewise.
10555 * io/sendfile.c: Likewise.
10556 * io/sendfile64.c: Likewise.
10557 * io/statfs.c: Likewise.
10558 * io/statfs64.c: Likewise.
10559 * io/statvfs.c: Likewise.
10560 * io/statvfs64.c: Likewise.
10561 * io/symlink.c: Likewise.
10562 * io/symlinkat.c: Likewise.
10563 * io/ttyname.c: Likewise.
10564 * io/ttyname_r.c: Likewise.
10565 * io/umask.c: Likewise.
10566 * io/unlink.c: Likewise.
10567 * io/unlinkat.c: Likewise.
10568 * io/utime.c: Likewise.
10569 * io/utimensat.c: Likewise.
10570 * io/write.c: Likewise.
10571 * io/xmknod.c: Likewise.
10572 * io/xmknodat.c: Likewise.
10573 * io/xstat.c: Likewise.
10574 * io/xstat64.c: Likewise.
10575 * login/getpt.c: Likewise.
10576 * login/grantpt.c: Likewise.
10577 * login/unlockpt.c: Likewise.
10578 * math/e_acoshl.c: Likewise.
10579 * math/e_acosl.c: Likewise.
10580 * math/e_asinl.c: Likewise.
10581 * math/e_atan2l.c: Likewise.
10582 * math/e_atanhl.c: Likewise.
10583 * math/e_coshl.c: Likewise.
10584 * math/e_expl.c: Likewise.
10585 * math/e_fmodl.c: Likewise.
10586 * math/e_gammal_r.c: Likewise.
10587 * math/e_hypotl.c: Likewise.
10588 * math/e_j0l.c: Likewise.
10589 * math/e_j1l.c: Likewise.
10590 * math/e_jnl.c: Likewise.
10591 * math/e_lgammal_r.c: Likewise.
10592 * math/e_log10l.c: Likewise.
10593 * math/e_log2l.c: Likewise.
10594 * math/e_logl.c: Likewise.
10595 * math/e_powl.c: Likewise.
10596 * math/e_rem_pio2l.c: Likewise.
10597 * math/e_sinhl.c: Likewise.
10598 * math/e_sqrtl.c: Likewise.
10599 * math/fclrexcpt.c: Likewise.
10600 * math/fedisblxcpt.c: Likewise.
10601 * math/feenablxcpt.c: Likewise.
10602 * math/fegetenv.c: Likewise.
10603 * math/fegetexcept.c: Likewise.
10604 * math/fegetround.c: Likewise.
10605 * math/feholdexcpt.c: Likewise.
10606 * math/fesetenv.c: Likewise.
10607 * math/fesetround.c: Likewise.
10608 * math/feupdateenv.c: Likewise.
10609 * math/fgetexcptflg.c: Likewise.
10610 * math/fraiseexcpt.c: Likewise.
10611 * math/fsetexcptflg.c: Likewise.
10612 * math/ftestexcept.c: Likewise.
10613 * math/k_cosl.c: Likewise.
10614 * math/k_rem_pio2l.c: Likewise.
10615 * math/k_sinl.c: Likewise.
10616 * math/k_tanl.c: Likewise.
10617 * math/s_asinhl.c: Likewise.
10618 * math/s_atanl.c: Likewise.
10619 * math/s_cbrtl.c: Likewise.
10620 * math/s_erfl.c: Likewise.
10621 * math/s_expm1l.c: Likewise.
10622 * math/s_log1pl.c: Likewise.
10623 * math/s_tanhl.c: Likewise.
10624 * misc/acct.c: Likewise.
10625 * misc/brk.c: Likewise.
10626 * misc/chflags.c: Likewise.
10627 * misc/chroot.c: Likewise.
10628 * misc/fchflags.c: Likewise.
10629 * misc/fgetxattr.c: Likewise.
10630 * misc/flistxattr.c: Likewise.
10631 * misc/fremovexattr.c: Likewise.
10632 * misc/fsetxattr.c: Likewise.
10633 * misc/fsync.c: Likewise.
10634 * misc/ftruncate.c: Likewise.
10635 * misc/futimes.c: Likewise.
10636 * misc/futimesat.c: Likewise.
10637 * misc/getdomain.c: Likewise.
10638 * misc/getdtsz.c: Likewise.
10639 * misc/gethostid.c: Likewise.
10640 * misc/gethostname.c: Likewise.
10641 * misc/getloadavg.c: Likewise.
10642 * misc/getpagesize.c: Likewise.
10643 * misc/getsysstats.c: Likewise.
10644 * misc/getxattr.c: Likewise.
10645 * misc/gtty.c: Likewise.
10646 * misc/ioctl.c: Likewise.
10647 * misc/lgetxattr.c: Likewise.
10648 * misc/listxattr.c: Likewise.
10649 * misc/llistxattr.c: Likewise.
10650 * misc/lremovexattr.c: Likewise.
10651 * misc/lsetxattr.c: Likewise.
10652 * misc/lutimes.c: Likewise.
10653 * misc/madvise.c: Likewise.
10654 * misc/mincore.c: Likewise.
10655 * misc/mlock.c: Likewise.
10656 * misc/mlockall.c: Likewise.
10657 * misc/mmap.c: Likewise.
10658 * misc/mprotect.c: Likewise.
10659 * misc/msync.c: Likewise.
10660 * misc/munlock.c: Likewise.
10661 * misc/munlockall.c: Likewise.
10662 * misc/munmap.c: Likewise.
10663 * misc/preadv.c: Likewise.
10664 * misc/preadv64.c: Likewise.
10665 * misc/ptrace.c: Likewise.
10666 * misc/pwritev.c: Likewise.
10667 * misc/pwritev64.c: Likewise.
10668 * misc/readv.c: Likewise.
10669 * misc/reboot.c: Likewise.
10670 * misc/remap_file_pages.c: Likewise.
10671 * misc/removexattr.c: Likewise.
10672 * misc/revoke.c: Likewise.
10673 * misc/select.c: Likewise.
10674 * misc/setdomain.c: Likewise.
10675 * misc/setegid.c: Likewise.
10676 * misc/seteuid.c: Likewise.
10677 * misc/sethostid.c: Likewise.
10678 * misc/sethostname.c: Likewise.
10679 * misc/setregid.c: Likewise.
10680 * misc/setreuid.c: Likewise.
10681 * misc/setxattr.c: Likewise.
10682 * misc/sstk.c: Likewise.
10683 * misc/stty.c: Likewise.
10684 * misc/swapoff.c: Likewise.
10685 * misc/swapon.c: Likewise.
10686 * misc/sync.c: Likewise.
10687 * misc/syncfs.c: Likewise.
10688 * misc/syscall.c: Likewise.
10689 * misc/truncate.c: Likewise.
10690 * misc/ualarm.c: Likewise.
10691 * misc/usleep.c: Likewise.
10692 * misc/ustat.c: Likewise.
10693 * misc/utimes.c: Likewise.
10694 * misc/vhangup.c: Likewise.
10695 * misc/writev.c: Likewise.
10696 * posix/_exit.c: Likewise.
10697 * posix/alarm.c: Likewise.
10698 * posix/execve.c: Likewise.
10699 * posix/fexecve.c: Likewise.
10700 * posix/fork.c: Likewise.
10701 * posix/fpathconf.c: Likewise.
10702 * posix/getaddrinfo.c: Likewise.
10703 * posix/getegid.c: Likewise.
10704 * posix/geteuid.c: Likewise.
10705 * posix/getgid.c: Likewise.
10706 * posix/getgroups.c: Likewise.
10707 * posix/getlogin.c: Likewise.
10708 * posix/getlogin_r.c: Likewise.
10709 * posix/getpgid.c: Likewise.
10710 * posix/getpid.c: Likewise.
10711 * posix/getppid.c: Likewise.
10712 * posix/getresgid.c: Likewise.
10713 * posix/getresuid.c: Likewise.
10714 * posix/getsid.c: Likewise.
10715 * posix/getuid.c: Likewise.
10716 * posix/glob64.c: Likewise.
10717 * posix/nanosleep.c: Likewise.
10718 * posix/pathconf.c: Likewise.
10719 * posix/pause.c: Likewise.
10720 * posix/posix_madvise.c: Likewise.
10721 * posix/pread.c: Likewise.
10722 * posix/pread64.c: Likewise.
10723 * posix/pwrite.c: Likewise.
10724 * posix/pwrite64.c: Likewise.
10725 * posix/sched_getaffinity.c: Likewise.
10726 * posix/sched_getp.c: Likewise.
10727 * posix/sched_gets.c: Likewise.
10728 * posix/sched_primax.c: Likewise.
10729 * posix/sched_primin.c: Likewise.
10730 * posix/sched_rr_gi.c: Likewise.
10731 * posix/sched_setaffinity.c: Likewise.
10732 * posix/sched_setp.c: Likewise.
10733 * posix/sched_sets.c: Likewise.
10734 * posix/sched_yield.c: Likewise.
10735 * posix/setgid.c: Likewise.
10736 * posix/setlogin.c: Likewise.
10737 * posix/setpgid.c: Likewise.
10738 * posix/setresgid.c: Likewise.
10739 * posix/setresuid.c: Likewise.
10740 * posix/setsid.c: Likewise.
10741 * posix/setuid.c: Likewise.
10742 * posix/sleep.c: Likewise.
10743 * posix/spawni.c: Likewise.
10744 * posix/sysconf.c: Likewise.
10745 * posix/times.c: Likewise.
10746 * posix/wait.c: Likewise.
10747 * posix/wait3.c: Likewise.
10748 * posix/wait4.c: Likewise.
10749 * posix/waitpid.c: Likewise.
10750 * resolv/gai_sigqueue.c: Likewise.
10751 * resource/getpriority.c: Likewise.
10752 * resource/getrlimit.c: Likewise.
10753 * resource/getrusage.c: Likewise.
10754 * resource/nice.c: Likewise.
10755 * resource/setpriority.c: Likewise.
10756 * resource/setrlimit.c: Likewise.
10757 * resource/ulimit.c: Likewise.
10758 * rt/aio_cancel.c: Likewise.
10759 * rt/aio_fsync.c: Likewise.
10760 * rt/aio_read.c: Likewise.
10761 * rt/aio_sigqueue.c: Likewise.
10762 * rt/aio_suspend.c: Likewise.
10763 * rt/aio_write.c: Likewise.
10764 * rt/clock_getres.c: Likewise.
10765 * rt/clock_gettime.c: Likewise.
10766 * rt/clock_nanosleep.c: Likewise.
10767 * rt/clock_settime.c: Likewise.
10768 * rt/lio_listio.c: Likewise.
10769 * rt/mq_close.c: Likewise.
10770 * rt/mq_getattr.c: Likewise.
10771 * rt/mq_notify.c: Likewise.
10772 * rt/mq_open.c: Likewise.
10773 * rt/mq_receive.c: Likewise.
10774 * rt/mq_send.c: Likewise.
10775 * rt/mq_setattr.c: Likewise.
10776 * rt/mq_timedreceive.c: Likewise.
10777 * rt/mq_timedsend.c: Likewise.
10778 * rt/mq_unlink.c: Likewise.
10779 * rt/shm_open.c: Likewise.
10780 * rt/shm_unlink.c: Likewise.
10781 * rt/timer_create.c: Likewise.
10782 * rt/timer_delete.c: Likewise.
10783 * rt/timer_getoverr.c: Likewise.
10784 * rt/timer_gettime.c: Likewise.
10785 * rt/timer_settime.c: Likewise.
10786 * setjmp/__longjmp.c: Likewise.
10787 * setjmp/setjmp.c: Likewise.
10788 * signal/kill.c: Likewise.
10789 * signal/killpg.c: Likewise.
10790 * signal/raise.c: Likewise.
10791 * signal/sigaction.c: Likewise.
10792 * signal/sigaltstack.c: Likewise.
10793 * signal/sigblock.c: Likewise.
10794 * signal/sigignore.c: Likewise.
10795 * signal/sigintr.c: Likewise.
10796 * signal/signal.c: Likewise.
10797 * signal/sigpause.c: Likewise.
10798 * signal/sigpending.c: Likewise.
10799 * signal/sigqueue.c: Likewise.
10800 * signal/sigreturn.c: Likewise.
10801 * signal/sigset.c: Likewise.
10802 * signal/sigsetmask.c: Likewise.
10803 * signal/sigstack.c: Likewise.
10804 * signal/sigsuspend.c: Likewise.
10805 * signal/sigtimedwait.c: Likewise.
10806 * signal/sigvec.c: Likewise.
10807 * signal/sigwait.c: Likewise.
10808 * signal/sigwaitinfo.c: Likewise.
10809 * signal/sysv_signal.c: Likewise.
10810 * socket/accept.c: Likewise.
10811 * socket/accept4.c: Likewise.
10812 * socket/bind.c: Likewise.
10813 * socket/connect.c: Likewise.
10814 * socket/getpeername.c: Likewise.
10815 * socket/getsockname.c: Likewise.
10816 * socket/getsockopt.c: Likewise.
10817 * socket/isfdtype.c: Likewise.
10818 * socket/listen.c: Likewise.
10819 * socket/recv.c: Likewise.
10820 * socket/recvfrom.c: Likewise.
10821 * socket/recvmsg.c: Likewise.
10822 * socket/send.c: Likewise.
10823 * socket/sendmsg.c: Likewise.
10824 * socket/sendto.c: Likewise.
10825 * socket/setsockopt.c: Likewise.
10826 * socket/shutdown.c: Likewise.
10827 * socket/sockatmark.c: Likewise.
10828 * socket/socket.c: Likewise.
10829 * socket/socketpair.c: Likewise.
10830 * stdio-common/ctermid.c: Likewise.
10831 * stdio-common/cuserid.c: Likewise.
10832 * stdio-common/remove.c: Likewise.
10833 * stdio-common/rename.c: Likewise.
10834 * stdio-common/renameat.c: Likewise.
10835 * stdio-common/tempname.c: Likewise.
10836 * stdlib/getcontext.c: Likewise.
10837 * stdlib/makecontext.c: Likewise.
10838 * stdlib/setcontext.c: Likewise.
10839 * stdlib/swapcontext.c: Likewise.
10840 * stdlib/system.c: Likewise.
10841 * streams/fattach.c: Likewise.
10842 * streams/fdetach.c: Likewise.
10843 * streams/getmsg.c: Likewise.
10844 * streams/getpmsg.c: Likewise.
10845 * streams/putmsg.c: Likewise.
10846 * streams/putpmsg.c: Likewise.
10847 * sysdeps/unix/bsd/getpt.c: Likewise.
10848 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10849 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10850 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10852 Likewise.
10853 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10854 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10855 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10856 * sysvipc/msgctl.c: Likewise.
10857 * sysvipc/msgget.c: Likewise.
10858 * sysvipc/msgrcv.c: Likewise.
10859 * sysvipc/msgsnd.c: Likewise.
10860 * sysvipc/semctl.c: Likewise.
10861 * sysvipc/semget.c: Likewise.
10862 * sysvipc/semop.c: Likewise.
10863 * sysvipc/semtimedop.c: Likewise.
10864 * sysvipc/shmat.c: Likewise.
10865 * sysvipc/shmctl.c: Likewise.
10866 * sysvipc/shmdt.c: Likewise.
10867 * sysvipc/shmget.c: Likewise.
10868 * termios/tcdrain.c: Likewise.
10869 * termios/tcflow.c: Likewise.
10870 * termios/tcflush.c: Likewise.
10871 * termios/tcgetattr.c: Likewise.
10872 * termios/tcgetpgrp.c: Likewise.
10873 * termios/tcsendbrk.c: Likewise.
10874 * termios/tcsetattr.c: Likewise.
10875 * termios/tcsetpgrp.c: Likewise.
10876 * time/adjtime.c: Likewise.
10877 * time/clock.c: Likewise.
10878 * time/getitimer.c: Likewise.
10879 * time/gettimeofday.c: Likewise.
10880 * time/setitimer.c: Likewise.
10881 * time/settimeofday.c: Likewise.
10882 * time/stime.c: Likewise.
10883 * time/time.c: Likewise.
10884
108852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10886
a20492cf
PT
10887 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10888 /usr/old/bin.
10889
72e182e3
PT
10890 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10891 instead of spaces.
10892 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10893
fbeafede
JM
108942012-11-03 Joseph Myers <joseph@codesourcery.com>
10895
5b5b04d6
JM
10896 [BZ #14796]
10897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10898 FE_TONEAREST before applying Dekker multiplication and Knuth
10899 addition. Clear inexact exceptions and check for exact zero
10900 results afterwards.
10901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10902 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10904 * math/libm-test.inc (fma_test): Add more tests.
10905 (fma_test_towardzero): Likewise.
10906 (fma_test_downward): Likewise.
10907 (fma_test_upward): Likewise.
10908 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10909 function.
10910 (libc_fesetround): New macro.
10911 (libc_fesetroundf): Likewise.
10912 (libc_fesetroundl): Likewise.
10913 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10914 function.
10915 (libc_fesetround_387): Likewise.
10916 (libc_fesetroundf): New macro.
10917 (libc_fesetround): Likewise.
10918 (libc_fesetroundl): Likewise.
10919 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10920 function.
10921 (libc_fesetroundf): New macro.
10922 (libc_fesetround): Likewise.
10923 (libc_fesetroundl): Likewise.
10924 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10925 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10926 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10927 libm_hidden_ver.
10928 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10929 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10930 libm_hidden_def.
10931 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10932 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10933 libm_hidden_ver.
10934 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10935 libm_hidden_def.
10936
fbeafede
JM
10937 [BZ #3439]
10938 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10939 integer constant usable in #if and use that to give value to enum
10940 constant.
10941 (FE_DIVBYZERO): Likewise.
10942 (FE_UNDERFLOW): Likewise.
10943 (FE_OVERFLOW): Likewise.
10944 (FE_INVALID): Likewise.
10945 (FE_INVALID_SNAN): Likewise.
10946 (FE_INVALID_ISI): Likewise.
10947 (FE_INVALID_IDI): Likewise.
10948 (FE_INVALID_ZDZ): Likewise.
10949 (FE_INVALID_IMZ): Likewise.
10950 (FE_INVALID_COMPARE): Likewise.
10951 (FE_INVALID_SOFTWARE): Likewise.
10952 (FE_INVALID_SQRT): Likewise.
10953 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10954 (FE_TONEAREST): Likewise.
10955 (FE_TOWARDZERO): Likewise.
10956 (FE_UPWARD): Likewise.
10957 (FE_DOWNWARD): Likewise.
10958 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10959 (FE_DIVBYZERO): Likewise.
10960 (FE_OVERFLOW): Likewise.
10961 (FE_UNDERFLOW): Likewise.
10962 (FE_INEXACT): Likewise.
10963 (FE_TONEAREST): Likewise.
10964 (FE_DOWNWARD): Likewise.
10965 (FE_UPWARD): Likewise.
10966 (FE_TOWARDZERO): Likewise.
10967 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10968 (FE_UNDERFLOW): Likewise.
10969 (FE_OVERFLOW): Likewise.
10970 (FE_DIVBYZERO): Likewise.
10971 (FE_INVALID): Likewise.
10972 (FE_TONEAREST): Likewise.
10973 (FE_TOWARDZERO): Likewise.
10974 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10975 (FE_OVERFLOW): Likewise.
10976 (FE_UNDERFLOW): Likewise.
10977 (FE_DIVBYZERO): Likewise.
10978 (FE_INEXACT): Likewise.
10979 (FE_TONEAREST): Likewise.
10980 (FE_TOWARDZERO): Likewise.
10981 (FE_UPWARD): Likewise.
10982 (FE_DOWNWARD): Likewise.
10983 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10984 (FE_DIVBYZERO): Likewise.
10985 (FE_OVERFLOW): Likewise.
10986 (FE_UNDERFLOW): Likewise.
10987 (FE_INEXACT): Likewise.
10988 (FE_TONEAREST): Likewise.
10989 (FE_DOWNWARD): Likewise.
10990 (FE_UPWARD): Likewise.
10991 (FE_TOWARDZERO): Likewise.
10992
105ca950
CM
109932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10994
10995 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10996
a542b389
AS
109972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10998
10999 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11000 commands. Quote $PWD.
11001 (blacklist_exports): Don't use remove_newlines. Replace "declare
11002 -x" by "export".
11003 (remove_newlines): Remove.
11004
f62c8abc
L
110052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11006
11007 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11008 * stdlib/stdlib.h (atof): Moved to ...
11009 * include/bits/stdlib-float.h: Here. New file.
11010 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11011 * stdlib/bits/stdlib-float.h: New file.
11012 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11013 -mno-sse -mno-mmx.
11014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11015 <xmmintrin.h>.
11016
0155d5b2
JM
110172012-11-02 Joseph Myers <joseph@codesourcery.com>
11018
a68d0680
JM
11019 * conform/conformtest.pl (@headers): Add fenv.h.
11020 * conform/data/fenv.h-data: New file.
11021 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11022 include of <math/fenv.h>.
11023
caf7f573
JM
11024 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11025 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11026 && !UNIX98]. Enables tests for XOPEN2K8.
11027 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11028 POSIX2008]: Likewise.
11029
6c073ad6
JM
11030 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11031 (struct rusage): Do not expect type or its members.
11032
0155d5b2
JM
11033 [BZ #3439]
11034 * math/math.h (FP_NAN): Define macro to integer constant usable in
11035 #if and use that to give value to enum constant.
11036 (FP_INFINITE): Likewise.
11037 (FP_ZERO): Likewise.
11038 (FP_SUBNORMAL): Likewise.
11039 (FP_NORMAL): Likewise.
11040
b5dcacb4
AS
110412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11042
11043 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11044 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11045 arguments.
11046
f7934be8
RM
110472012-11-02 Roland McGrath <roland@hack.frob.com>
11048
11049 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11050 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11051 autoconf-time if not.
11052 * configure.in: Remove AC_PREREQ.
11053
d7d08bde
TMQMF
110542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11055
11056 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11057 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11058 of the internal implementation.
11059
dcdae19a
JM
110602012-11-02 Joseph Myers <joseph@codesourcery.com>
11061
11062 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11063 except include of <misc/sys/syslog.h>.
11064
d6cffd3e
AS
110652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11066
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11068 function returns with a NULL context exit with zero.
11069
b3563932
TMQMF
110702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11071
11072 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11073
b288a93d
L
110742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11075
11076 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11077 (run_program_cmd): This.
11078 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11079 (tst_langinfo): New variable. Use it.
11080
a2421a68
SAS
110812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11082
11083 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11084 floating point opcodes.
11085
6f796e1b
TS
110862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11087
7402596b
TS
11088 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11089 variable.
11090
d0d4f868
TS
11091 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11092
6f796e1b
TS
11093 * sysdeps/mach/hurd/powerpc: Remove directory.
11094 * sysdeps/mach/powerpc: Likewise.
11095
4da224a2
AS
110962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11097
11098 * scripts/check-local-headers.sh: Ignore c++ headers.
11099
341dd673
TS
111002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11101
11102 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11103 __libc_cleanup_region_start argument.
11104
473611b2
JM
111052012-11-01 Joseph Myers <joseph@codesourcery.com>
11106
11107 [BZ #14784]
11108 [BZ #14785]
11109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11110 x * y using scaling, not as x * y + z.
11111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11113 * math/libm-test.inc (fma_test): Add more tests.
11114 (fma_test_towardzero): Likewise.
11115 (fma_test_downward): Likewise.
11116 (fma_test_upward): Likewise.
11117
4078da3d
TS
111182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11119
11120 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11121
903252aa
JM
111222012-10-31 Joseph Myers <joseph@codesourcery.com>
11123
11124 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11125 New variable.
11126
cbc818d0
TS
111272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11128
11129 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11130
5a03cb1e
AS
111312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11132
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11134 Fix sort order.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11136 Likewise.
11137
90aff2ff
TMQMF
111382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11139
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11141 Fix the order of the list for glibc 2.17.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11143 Likewise.
11144
1818fcb7
AS
111452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11146
11147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11148
ef82f4da
JM
111492012-10-31 Joseph Myers <joseph@codesourcery.com>
11150
16a0e2ec
JM
11151 [BZ #14610]
11152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11153 for low part of x being zero before using __atanl (y).
11154 * math/libm-test.inc (atan2_test): Add another test.
11155
0eb69512
JM
11156 * manual/install.texi (Configuring and compiling): Document
11157 general use of test-wrapper and test-wrapper-env.
11158 * INSTALL: Regenerated.
11159
ef82f4da
JM
11160 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11161 (__fma): Do not extract and scale down low bits on after-rounding
11162 systems when result rounded to normal precision would have normal
11163 exponent.
11164 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11165 (__fmal): Do not extract and scale down low bits on after-rounding
11166 systems when result rounded to normal precision would have normal
11167 exponent.
11168 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11169 (__fmal): Do not extract and scale down low bits on after-rounding
11170 systems when result rounded to normal precision would have normal
11171 exponent.
11172 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11173 macro.
11174 (fma_test): Add more tests.
11175 (fma_test_towardzero): Likewise.
11176 (fma_test_downward): Likewise.
11177 (fma_test_upward): Likewise.
11178
954ef0d9
L
111792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11180
11181 * sysdeps/i386/tininess.h: Renamed to ...
11182 * sysdeps/x86/tininess.h: This.
11183 * sysdeps/x86_64/tininess.h: Removed.
11184
df61ffb2
JM
111852012-10-30 Joseph Myers <joseph@codesourcery.com>
11186
11187 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11188 input. Use $(build-program-cmd).
11189 ($(objpfx)tst-array1-static.out): Likewise.
11190 ($(objpfx)tst-array2.out): Likewise.
11191 ($(objpfx)tst-array3.out): Likewise.
11192 ($(objpfx)tst-array4.out): Likewise.
11193 ($(objpfx)tst-array5.out): Likewise.
11194 ($(objpfx)tst-array5-static.out): Likewise.
11195
01767843
CM
111962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11197
47cc1490
CM
11198 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11199 if defined.
11200
01767843
CM
11201 * nss/nsswitch.h (nss_interface_function): Provide new
11202 macro for use with NSS functions.
11203 * grp/initgroups.c: Use new macro.
11204 * nss/getXXbyYY.c: Likewise.
11205 * nss/getXXbyYY_r.c: Likewise.
11206 * nss/getXXent.c: Likewise.
11207 * nss/getXXent_r.c: Likewise.
11208 * sysdeps/posix/getaddrinfo.c: Likewise.
11209
8321aa97
AJ
112102012-10-30 Andreas Jaeger <aj@suse.de>
11211
11212 * po/ru.po: Update Russion translation from translation project.
11213
2a27fd6d
JM
112142012-10-30 Joseph Myers <joseph@codesourcery.com>
11215
8627a232
JM
11216 [BZ #14152]
11217 [BZ #14783]
11218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11219 result and shift together with sticky bit instead of replicating
11220 round-to-nearest rounding.
11221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11223 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11224 missing underflow exceptions.
11225 (fma_test_towardzero): Add more tests.
11226 (fma_test_downward): Likewise.
11227 (fma_test_upward): Likewise.
11228
2a27fd6d
JM
11229 [BZ #14047]
11230 * sysdeps/generic/tininess.h: New file.
11231 * sysdeps/i386/tininess.h: Likewise.
11232 * sysdeps/sh/tininess.h: Likewise.
11233 * sysdeps/x86_64/tininess.h: Likewise.
11234 * stdlib/tst-strtod-underflow.c: Likewise.
11235 * stdlib/tst-tininess.c: Likewise.
11236 * stdlib/strtod_l.c: Include <tininess.h>.
11237 (round_and_return): Do not set errno for exact underflow cases.
11238 Force an underflow exception when setting errno for underflow.
11239 Determine underflow based on rounding to normal precision if
11240 TININESS_AFTER_ROUNDING.
11241 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11242 ERANGE for exact underflow cases.
11243 * stdlib/Makefile (tests): Add tst-tininess and
11244 tst-strtod-underflow.
11245 ($(objpfx)tst-tininess): Use $(link-libm).
11246 ($(objpfx)tst-strtod-underflow): Likewise.
11247
e7170363
AJ
112482012-10-30 Andreas Jaeger <aj@suse.de>
11249
e5088dc6
AJ
11250 [BZ#14767]
11251 * elf/Makefile (tests): Remove conditional for have-initfini-array
11252 since this is now always required and the variable does not exist
11253 anymore.
11254 (tests-static): Likewise.
11255 (modules-names): Likewise.
11256
e7170363 11257 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11258
11259 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11260 merged with constructor/destructor.
11261 (init_array): Likewise.
11262 * elf/tst-array2dep.c (fini_array): Likewise.
11263 (init_array): Likewise.
11264
60457d8a
MF
112652012-10-29 Mike Frysinger <vapier@gentoo.org>
11266
11267 * manual/message.texi: Delete @cartouche tags.
11268
8bece752
PT
112692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11270
94ce799f
PT
11271 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11272 EOPNOTSUPP.
11273 * sysdeps/mach/hurd/fsync.c: Likewise.
11274
8bece752
PT
11275 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11276 [_POSIX_REALTIME_SIGNALS]: Change condition to
11277 [_POSIX_REALTIME_SIGNALS > 0].
11278
86ebe6b1
AJ
112792012-10-27 Andreas Jaeger <aj@suse.de>
11280
11281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11282 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11284 [__WORDSIZE != 64]: Likewise.
11285
54399c08
L
112862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11287
11288 * iconvdata/tst-table.sh: Remove ${SHELL}.
11289 * iconvdata/tst-tables.sh: Likewise.
11290
e2211bed
DM
112912012-10-25 David S. Miller <davem@davemloft.net>
11292
11293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11294 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11295 of strtoull.
11296
f303f97c
DM
11297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11298 ifunc-impl-list.c
11299 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11300 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11301 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11302 file.
11303
1e9d84cd
RM
113042012-10-25 Roland McGrath <roland@hack.frob.com>
11305
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11307 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11308 __getdirentries.
11309
df381762
JM
113102012-10-25 Joseph Myers <joseph@codesourcery.com>
11311 Jim Blandy <jimb@codesourcery.com>
11312
11313 * scripts/cross-test-ssh.sh: New file.
11314 * manual/install.texi (Configuring and compiling): Document use of
11315 cross-test-ssh.sh.
11316 * INSTALL: Regenerated.
11317
bff64913
PT
113182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11319
11320 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11321 EOPNOTSUPP.
11322
25fe8932
JM
113232012-10-25 Joseph Myers <joseph@codesourcery.com>
11324
11325 * Makeconfig (run-program-prefix): Fix comment.
11326
cc1290d0
JM
113272012-10-24 Joseph Myers <joseph@codesourcery.com>
11328 Jim Blandy <jimb@codesourcery.com>
11329
11330 * Makeconfig (test-wrapper): New variable,
11331 (test-wrapper-env): Likewise.
11332 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11333 (run-built-tests): Define to yes.
11334 (run-program-prefix): Use $(test-wrapper).
11335 (built-program-cmd): Likewise.
11336 * Rules (make-test-out): Use $(test-wrapper-env) and
11337 $(host-built-program-cmd).
11338 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11339 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11340 tst-pathopt.sh.
11341 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11342 $(test-wrapper-env) to tst-rtld-load-self.sh.
11343 ($(objpfx)order2.out): Use $(test-wrapper).
11344 ($(objpfx)tst-initorder.out): Likewise.
11345 ($(objpfx)tst-initorder2.out): Likewise.
11346 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11347 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11348 (test_wrapper_env): New variable. Use it to run ld.so.
11349 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11350 Use it to run ld.so.
11351 (test_wrapper_env): Likewise.
11352 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11353 $(test-wrapper) to run-iconv-test.sh.
11354 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11355 (ICONV): Use $test_wrapper.
11356 * posix/Makefile ($(objpfx)globtest.out): Pass
11357 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11358 globtest.sh, not $(run-program-prefix).
11359 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11360 (test_wrapper): Likewise.
11361 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11362 set together with run_via_rtld_prefix.
11363 (run_program_prefix): Define in terms of test_wrapper and
11364 run_via_rtld_prefix.
11365
6e6249d0
RM
113662012-10-24 Roland McGrath <roland@hack.frob.com>
11367
11368 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11369 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11370 Targets removed.
11371
11372 [BZ #14743]
11373 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11374 Declare __clock_getres, __clock_gettime, __clock_settime,
11375 __clock_nanosleep, and __clock_getcpuclockid.
11376 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11377 Remove librt_hidden_def (clock_gettime).
11378 * sysdeps/unix/clock_gettime.c: Likewise.
11379 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11381 * rt/clock_getres.c: Define __clock_getres as an alias.
11382 * sysdeps/posix/clock_getres.c: Likewise.
11383 * rt/clock_settime.c: Define __clock_settime as an alias.
11384 * sysdeps/unix/clock_settime.c: Likewise.
11385 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11386 * sysdeps/unix/clock_nanosleep.c: Likewise.
11387 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11388 * rt/clock-compat.c: New file.
11389 * rt/Makefile (librt-routines): Add clock-compat and move
11390 $(clock-routines) to ...
11391 (routines): ... here, new variable.
11392 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11393 Don't add get_clockfreq here.
11394 * rt/Versions (libc: GLIBC_2.17): New version set.
11395 Add clock_* symbols here.
11396 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11398 (GLIBC_2.17): Add clock_* symbols.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11403 Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11405 Likewise.
11406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11410 * NEWS: Mention the move.
11411
11412 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11413 Use __open, __read, __close rather than their public counterparts.
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11415 (__get_clockfreq_via_cpuinfo): Likewise.
11416 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11417 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11418
11419 * config.h.in (HAVE_IFUNC): New #undef.
11420 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11421 was successful.
11422 * configure: Regenerated.
11423
0cae3f4b
MF
114242012-10-24 Mike Frysinger <vapier@gentoo.org>
11425
11426 * configure.in: Move READELF check to start of file.
11427 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11428 libc_cv_asm_gnu_indirect_function in the process.
11429 * configure: Regenerated.
11430
8175a253
MF
114312012-10-24 Mike Frysinger <vapier@gentoo.org>
11432
11433 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11434 send the output to /dev/null.
11435 (libc_cv_cc_with_libunwind): Likewise.
11436 (libc_cv_as_noexecstack): Likewise.
11437 * configure: Regenerate.
11438
0708a7d1
JM
114392012-10-24 Joseph Myers <joseph@codesourcery.com>
11440
10b40d85
JM
11441 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11442
0708a7d1
JM
11443 * posix/globtest.sh (TMPDIR): Do not set.
11444 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11445 (testout): Likewise.
11446
9fddec1a
AJ
114472012-10-24 Andreas Jaeger <aj@suse.de>
11448
3a8db22f
AJ
11449 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11450 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11451 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11452 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11453 posix_fadvise64, posix_fallocate64.
11454
9fddec1a
AJ
11455 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11456 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11457 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11458 Likewise.
11459 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11460 Likewise.
11461 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11462
11463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11464 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11465 <bits/fcntl-linux.h>.
11466 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11467
11468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11469 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11470 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11471 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11472 [__WORDSIZE != 64]: Likewise.
11473
ebfd1bbd
JM
114742012-10-23 Joseph Myers <joseph@codesourcery.com>
11475
03ac099f
JM
11476 * Makeconfig (run-built-tests): New variable.
11477 * Rules [$(cross-compiling) = yes]: Change condition to
11478 [$(run-built-tests) = no].
11479 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11480 to [$(run-built-tests) = yes].
11481 * elf/Makefile [$(cross-compiling) = no]: Likewise
11482 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11483 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11484 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11485 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11486 * io/Makefile [$(cross-compiling) = no]: Likewise.
11487 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11488 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11489 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11490 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11491 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11492 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11493 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11494 * string/Makefile [$(cross-compiling) = no]: Likewise.
11495
ebfd1bbd
JM
11496 * posix/Makefile ($(objpfx)globtest.out): Pass
11497 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11498 $(rtld-installed-name).
11499 * posix/globtest.sh (elf_objpfx): Remove variable.
11500 (rtld_installed_name): Likewise.
11501 (library_path): Likewise.
11502 (run_program_prefix): New variable. Use for running globtest
11503 binary.
11504
166bca24
JB
115052012-10-23 Jim Blandy <jimb@codesourcery.com>
11506 Joseph Myers <joseph@codesourcery.com>
11507
11508 * Makeconfig (host-built-program-cmd): New variable.
11509 * elf/Makefile (tst-stackguard1-ARGS): Use
11510 $(host-built-program-cmd).
11511 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11512 (tst-spawn-ARGS): Likewise.
11513 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11514
88866099
JM
115152012-10-23 Joseph Myers <joseph@codesourcery.com>
11516 Jim Blandy <jimb@codesourcery.com>
11517
11518 * Makeconfig (run-via-rtld-prefix): New variable.
11519 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11520 (built-program-cmd): Likewise.
11521
b4b4c296
AJ
115222012-10-22 Andreas Jaeger <aj@suse.de>
11523
11524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11525 __O_RSYNC if it exists, otherwise to O_SYNC.
11526
6fb54a22
JB
115272012-10-22 Jim Blandy <jimb@codesourcery.com>
11528 Joseph Myers <joseph@codesourcery.com>
11529
11530 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11531 /dev/null.
11532 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11533 from /dev/null
11534 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11535 /dev/null.
11536
481b90b9
AJ
115372012-10-22 Andreas Jaeger <aj@suse.de>
11538
2a0e2669
AJ
11539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11540 Define always.
11541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11542
76e38f9a
AJ
11543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11544 bits/fcntl-linux.h.
11545
7cd37b43
AJ
11546 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11547 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11548
481b90b9
AJ
11549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11550 to __O_LARGEFILE.
11551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11552 to __O_LARGEFILE.
11553
aba75984
JB
115542012-10-21 Jim Blandy <jimb@codesourcery.com>
11555 Joseph Myers <joseph@codesourcery.com>
11556
11557 * config.make.in (NM): New variable.
11558
88d4247f
AJ
115592012-10-21 Andreas Jaeger <aj@suse.de>
11560
11561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11562 definitions and declarations that are provided by
11563 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11564
f2eed205
L
115652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11566
11567 [BZ #14683]
11568 * elf/Makefile (tests-static): Add tst-leaks1-static.
11569 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11570 ($(objpfx)tst-leaks1-static): New rule.
11571 ($(objpfx)tst-leaks1-static-mem): Likewise.
11572 (tst-leaks1-static-ENV): New macro.
11573 * elf/dl-open.c (dl_open_worker): Check the main application
11574 only if SHARED is defined.
11575 * elf/tst-leaks1-static.c: New file.
11576
335e6931
AJ
115772012-10-20 Andreas Jaeger <aj@suse.de>
11578
11579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11580 generic values for Linux.
11581 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11582 and declarations that are provided by <bits/fcntl-linux.h> and
11583 include <bits/fcntl-linux.h>.
11584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11586
ac5c94d3
RM
115872012-10-20 Roland McGrath <roland@hack.frob.com>
11588
11589 * io/fcntl.h: Move include of <bits/types.h> to the top and
11590 include it unconditionally.
11591
de54b33a
L
115922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11593
228cfb01
L
11594 * wcsmbs/Makefile (tests-ifunc): New variable.
11595 (tests): Add $(tests-ifunc).
11596 * wcsmbs/test-wcschr-ifunc.c: New file.
11597 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11598 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11599 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11600 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11601 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11602
69f07e5f
L
11603 * string/Makefile (tests-ifunc): New variable.
11604 (tests): Add $(tests-ifunc).
11605 * string/test-memccpy.c (TEST_NAME): New macro.
11606 * string/test-memchr.c (TEST_NAME): Likewise.
11607 * string/test-memcmp.c (TEST_NAME): Likewise.
11608 * string/test-memcpy.c (TEST_NAME): Likewise.
11609 * string/test-memmem.c (TEST_NAME): Likewise.
11610 * string/test-memmove.c (TEST_NAME): Likewise.
11611 * string/test-memset.c (TEST_NAME): Likewise.
11612 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11613 * string/test-stpcpy.c (TEST_NAME): Likewise.
11614 * string/test-stpncpy.c (TEST_NAME): Likewise.
11615 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11616 * string/test-strcasestr.c (TEST_NAME): Likewise.
11617 * string/test-strcat.c (TEST_NAME): Likewise.
11618 * string/test-strchr.c (TEST_NAME): Likewise.
11619 * string/test-strcmp.c(TEST_NAME): Likewise.
11620 * string/test-strcpy.c (TEST_NAME): Likewise.
11621 * string/test-strcspn.c (TEST_NAME): Likewise.
11622 * string/test-strlen.c (TEST_NAME): Likewise.
11623 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11624 * string/test-strncmp.c (TEST_NAME): Likewise.
11625 * string/test-strncpy.c (TEST_NAME): Likewise.
11626 * string/test-strnlen.c (TEST_NAME): Likewise.
11627 * string/test-strpbrk.c (TEST_NAME): Likewise.
11628 * string/test-strrchr.c (TEST_NAME): Likewise.
11629 * string/test-strspn.c (TEST_NAME): Likewise.
11630 * string/test-strstr.c (TEST_NAME): Likewise.
11631 * string/test-bcopy-ifunc.c: New file.
11632 * string/test-bzero-ifunc.c: Likewise.
11633 * string/test-memccpy-ifunc.c: Likewise.
11634 * string/test-memchr-ifunc.c: Likewise.
11635 * string/test-memcmp-ifunc.c: Likewise.
11636 * string/test-memcpy-ifunc.c: Likewise.
11637 * string/test-memmem-ifunc.c: Likewise.
11638 * string/test-memmove-ifunc.c: Likewise.
11639 * string/test-mempcpy-ifunc.c: Likewise.
11640 * string/test-memset-ifunc.c: Likewise.
11641 * string/test-rawmemchr-ifunc.c: Likewise.
11642 * string/test-stpcpy-ifunc.c: Likewise.
11643 * string/test-stpncpy-ifunc.c: Likewise.
11644 * string/test-strcasecmp-ifunc.c: Likewise.
11645 * string/test-strcasestr-ifunc.c: Likewise.
11646 * string/test-strcat-ifunc.c: Likewise.
11647 * string/test-strchr-ifunc.c: Likewise.
11648 * string/test-strchrnul-ifunc.c: Likewise.
11649 * string/test-strcmp-ifunc.c: Likewise.
11650 * string/test-strcpy-ifunc.c: Likewise.
11651 * string/test-strcspn-ifunc.c: Likewise.
11652 * string/test-strlen-ifunc.c: Likewise.
11653 * string/test-strncasecmp-ifunc.c: Likewise.
11654 * string/test-strncat-ifunc.c: Likewise.
11655 * string/test-strncmp-ifunc.c: Likewise.
11656 * string/test-strncpy-ifunc.c: Likewise.
11657 * string/test-strnlen-ifunc.c: Likewise.
11658 * string/test-strpbrk-ifunc.c: Likewise.
11659 * string/test-strrchr-ifunc.c: Likewise.
11660 * string/test-strspn-ifunc.c: Likewise.
11661 * string/test-strstr-ifunc.c: Likewise.
11662
de54b33a
L
11663 * debug/Makefile (tests-ifunc): New variable.
11664 (tests): Add $(tests-ifunc).
11665 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11666 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11667 * debug/test-stpcpy_chk-ifunc.c: New file.
11668 * debug/test-strcpy_chk-ifunc.c: Likewise.
11669
88481c16
SP
116702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11671
11672 [BZ #13601]
11673 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11674 header is not read in.
11675
135948bd
JM
116762012-10-19 Joseph Myers <joseph@codesourcery.com>
11677
89f1c388
JM
11678 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11679 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11680 directly. Pass built executable to script as
11681 $(built-program-cmd).
11682 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11683 $testprogram without using LD_LIBRARY_PATH and $ldso.
11684
e40a0d21
JM
11685 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11686 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11687 $(rtld-installed-name).
11688 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11689 (rtld_installed_name): Likewise.
11690 (library_path): Likewise.
11691 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11692 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11693 $(run-program-prefix) to tst-tables.sh.
11694 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11695 it to run tst-table-from and tst-table-to.
11696 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11697 Pass it to tst-table.sh.
11698 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11699 $(run-program-prefix) to tst-gettext.sh.
11700 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11701 tst-translit.sh.
11702 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11703 tst-gettext2.sh.
11704 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11705 to run tst-gettext.
11706 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11707 to run tst-gettext2.
11708 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11709 to run tst-translit.
11710 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11711 $(run-program-prefix) to tst-mtrace.sh.
11712 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11713 to run tst-mtrace.
11714 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11715 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11716 $(rtld-installed-name).
11717 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11718 (rtld_installed_name): Likewise.
11719 (run_program_prefix): New variable. Use it to run wordexp-test.
11720
728e272a
JM
11721 * Makeconfig (ARCH): Remove all definitions.
11722 (machine): Likewise.
11723 [ARCH]: Remove conditional code.
11724 [!objdir]: Give error.
11725 [!objdir] (objpfx): Remove.
11726 [!objdir] (common-objpfx): Likewise.
11727 [!objdir] (common-objdir): Likewise.
11728 * configure.in (config_makefile): Remove. Hardcode Makefile in
11729 AC_CONFIG_FILES call.
11730 * configure: Regenerated.
11731
d528cdcf
JM
11732 [BZ #13888]
11733 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11734 or TMPDIR.
11735 (testout): Likewise.
11736
135948bd
JM
11737 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11738 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11739 $(rtld-installed-name).
11740 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11741 (rtld_installed_name): Likwise.
11742 (runit): Remove function.
11743 (run_getconf): New variable, Use it for running getconf binary.
11744
38c78296
L
117452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11746
11747 [BZ #14716]
11748 * string/test-memmem.c (check_result): New function.
11749 (do_one_test): Use it.
11750 (check1): New function.
11751 (test_main): Use it.
11752
d077f65f
MT
117532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11754
11755 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11756
ced52c71
JM
117572012-10-18 Joseph Myers <joseph@codesourcery.com>
11758
11759 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11760 (_G_LSEEK64): Likewise.
11761 (_G_MMAP64): Likewise.
11762 (_G_FSTAT64): Likewise.
11763 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11764 (_G_LSEEK64): Likewise.
11765 (_G_MMAP64): Likewise.
11766 (_G_FSTAT64): Likewise.
11767 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11768 unconditional. Call __mmap64 directly.
11769 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11770 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11771 __lseek64 directly.
11772 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11773 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11774 __mmap64 directly.
11775 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11776 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11777 __lseek64 directly.
11778 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11779 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11780 __lseek64 directly.
11781 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11782 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11783 __lseek64 directly.
11784 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11785 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11786 __fxstat64 directly.
11787 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11788 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11789 unconditional.
11790 (freopen64) [!_G_OPEN64]: Remove conditional code.
11791 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11792 unconditional.
11793 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11794 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11795 unconditional.
11796 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11797 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11798 unconditional.
11799 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11800 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11801 unconditional.
11802 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11803 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11804 unconditional.
11805 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11806 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11807 unconditional.
11808 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11809 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11810 unconditional.
11811 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11812
b741de23
SP
118132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11814
11815 [BZ #12140]
11816 * manual/memory.texi (Malloc Tunable Parameters): Add note
11817 about free list pointers overwriting some perturb bytes.
11818 Wording suggested by Roland McGrath.
11819
f9b9d9c9
JM
118202012-10-17 Joseph Myers <joseph@codesourcery.com>
11821
11822 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11823 (lgamma_test): Likewise.
11824 (tgamma_test): Likewise.
11825
172a631a
FW
118262012-10-16 Florian Weimer <fweimer@redhat.com>
11827
11828 [BZ #14700]
11829 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11830 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11831
e9f37252
MK
118322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11833
11834 * NEWS: Mention BZ #14716.
11835 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11836 when removing AVAILABLE1_USES_J macro.
11837
d394eb74
L
118382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11839
11840 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11841 (__bswap_64): __uint64_t for unsigned 64-bit int.
11842
ca38dc17
AS
118432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11844
11845 * include/string.h (memmem): Declare libc hidden alias.
11846 * string/memmem.c (memmem): Define libc hidden alias.
11847 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11848 __read, __close instead of open, read, close.
11849
9a387d1f
L
118502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11851
ac49ecaf
L
11852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11853 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11854 global and hidden.
11855 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11856 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11857 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11858 Likewise.
11859 (__rawmemchr_sse2): Likewise.
11860 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11861 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11862 (__strchr_sse2): Likewise.
11863 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11864 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11865 (__strcasecmp_sse2): Likewise.
11866 (__strncasecmp_sse2): Likewise.
11867 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11868 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11869 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11870 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11871 (__strrchr_sse2): Likewise.
11872 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11873 ifunc-impl-list.c.
11874 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11875 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11876 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11877 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11878 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11880 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11881 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11882 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11883 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11884 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11885 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11886 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11887 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11888 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11889 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11890 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11891 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11892 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11893 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11894 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11895 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11896 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11897 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11898 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11900 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11901 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11902 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11903 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11904
b090e8ea
L
11905 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11906 global and hidden.
11907 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11908 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11909 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11910 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11911 Likewise.
11912 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11913 Likewise.
11914 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11915 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11916 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11917 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11918 ifunc-impl-list.c.
11919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11921 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11929 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11930 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11931 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11932 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11933 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11935 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11936 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11937 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11943 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11944 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11945 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11946 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11947 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11953 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11960
11dd4af6
L
11961 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11962 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11963 * include/ifunc-impl-list.h: New file.
11964 * misc/ifunc-impl-list.c: Likewise.
11965 * misc/Makefile (routines): Add ifunc-impl-list.
11966 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11967 * string/test-string.h: Include <ifunc-impl-list.h>.
11968 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11969 impl_array): New variables.
11970 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11971 are defined.
11972 (test_init): Call __libc_ifunc_impl_list to initialize
11973 func_list if TEST_IFUNC and TEST_NAME are defined.
11974
9a387d1f
L
11975 * string/Makefile (strop-tests): Add bcopy and bzero.
11976 * string/test-bcopy.c: New file.
11977 * string/test-bzero.c: Likewise.
11978 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11979 defined.
11980 * string/test-memset.c: Support bzero test if TEST_BZERO is
11981 defined.
11982 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11983 __libc_memmove.
11984 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11985 __libc_memset.
11986 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11987 of memset.
11988
472371b9
JM
119892012-10-10 Joseph Myers <joseph@codesourcery.com>
11990
1e4a9536
JM
11991 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11992 * configure: Regenerated.
11993
d173d12e
JM
11994 * Makeconfig (+link-static-before-libc): Don't include
11995 $(link-static-libc).
11996
472371b9
JM
11997 * libio/libio.h (_IO_pos_t): Remove.
11998
89a3ad0b
AO
119992012-10-10 Alexandre Oliva <aoliva@redhat.com>
12000
12001 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12002 McGrath.
12003
e7451425
AO
120042012-10-10 Alexandre Oliva <aoliva@redhat.com>
12005
12006 * crypt/crypt-entry.c: Include fips-private.h.
12007 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12008 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12009 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12010 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12011
4ba74a35
AO
120122012-10-10 Alexandre Oliva <aoliva@redhat.com>
12013
12014 * crypt/crypt-private.h: Include stdbool.h.
12015 (_ufc_setup_salt_r): Return bool.
12016 * crypt/crypt-entry.c: Include errno.h.
12017 (__crypt_r): Return NULL with EINVAL for bad salt.
12018 * crypt/crypt_util.c (bad_for_salt): New.
12019 (_ufc_setup_salt_r): Check that salt is long enough and within
12020 the specified alphabet.
12021 * crypt/badsalttest.c: New file.
12022 * crypt/Makefile (tests): Add it.
12023 ($(objpfx)badsalttest): New.
12024
f96f1242
MK
120252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12026
12027 * NEWS: Add entry for BZ #14602.
12028
0e8e0c1c
JM
120292012-10-09 Joseph Myers <joseph@codesourcery.com>
12030
12031 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12032 type-generic.
12033 * math/libm-test.inc: Update comment listing what functions and
12034 macros are tested.
12035 (isgreater_test): New function.
12036 (isgreaterequal_test): Likewise.
12037 (isless_test): Likewise.
12038 (islessequal_test): Likewise.
12039 (islessgreater_test): Likewise.
12040 (isunordered_test): Likewise.
12041 (main): Call the new functions.
12042
273edc5e
RM
120432012-10-09 Roland McGrath <roland@hack.frob.com>
12044
b8493de0
RM
12045 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12046 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12047 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12048 * sysdeps/i386/configure: Regenerated.
12049 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12050 * sysdeps/mach/configure: Regenerated.
12051 * sysdeps/mach/hurd/configure: Regenerated.
12052 * sysdeps/powerpc/configure: Regenerated.
12053 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12054 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12055 * sysdeps/s390/s390-32/configure: Regenerated.
12056 * sysdeps/s390/s390-64/configure: Regenerated.
12057 * sysdeps/sh/configure: Regenerated.
12058 * sysdeps/sparc/configure: Regenerated.
12059 * sysdeps/unix/sysv/linux/configure: Regenerated.
12060 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12061 * sysdeps/x86_64/configure: Regenerated.
12062
273edc5e
RM
12063 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12064 defined. Don't check if MAP is NULL.
12065
c8450f70
JM
120662012-10-09 Joseph Myers <joseph@codesourcery.com>
12067
12068 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12069 (_G_stat64): Likewise.
12070 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12071 (_G_stat64): Likewise.
12072 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12073 instead of struct _G_stat64.
12074 * libio/fileops.c (mmap_remap_check): Likewise.
12075 (decide_maybe_mmap): Likewise.
12076 (_IO_new_file_seekoff): Likewise.
12077 (_IO_file_stat): Likewise.
12078 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12079 _G_off64_t.
12080 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12081 instead of struct _G_stat64.
12082 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12083
57e605ba
MK
120842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12085
12086 [BZ #14602]
12087 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12088 Replace with ...
12089 (CHECK_EOL): New macro.
12090 (two_way_short_needle): Check beginning of haystack for EOL. Use
12091 CHECK_EOL.
12092 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12093 Replace with CHECK_EOL.
12094 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12095 Replace with CHECK_EOL.
12096
ef1bb361
JM
120972012-10-08 Joseph Myers <joseph@codesourcery.com>
12098
12099 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12100 type-generic.
12101 * math/libm-test.inc: Update comment listing what functions and
12102 macros are tested.
12103 (finite_test): New function.
12104 (isinf_test): Likewise.
12105 (isnan_test): Likewise.
12106 (fpclassify_test): Test subnormal input.
12107 (isfinite_test): Likewise.
12108 (isnormal_test): Likewise.
12109 (main): Call the new functions.
12110
55f11534
JN
121112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12112
12113 [BZ #14660]
12114 * Makerules (%.dynsym): Force C locale when running
12115 $(OBJDUMP) --dynamic-syms.
12116
1ab29350
AS
121172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12118
12119 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12120 <stdint.h>.
12121
f1ecb7ef
DM
121222012-10-06 David S. Miller <davem@davemloft.net>
12123
12124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12125 upper 32-bits of the length value in %o2 since we use branch-on-register
12126 tests which consider the entire 64-bit register.
12127
5d41d91a
L
121282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12129
12130 * string/test-strstr.c (check2): Add a test for page boundary.
12131
3baddb72
DM
121322012-10-05 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12135 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12136 file.
12137 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12138 sysdep_routines.
12139 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12140 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12141 and bzero when HWCAP_SPARC_CRYPTO is present.
12142
9cee5585
L
121432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12144
d7e0dab9
L
12145 [BZ #14602]
12146 * string/test-strstr.c (check2): New function.
12147 (test_main): Call check2.
12148
03759f47
L
12149 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12150 and bug-strchr1.
12151 * string/bug-strcasestr1.c (do_test): Moved to ...
12152 * string/test-strcasestr.c (check1): Here. New function.
12153 (do_one_test): Break out result checking code into ...
12154 (check_result): This. New function.
12155 (do_one_test): Call check_result.
12156 (test_main): Call check1.
12157 * string/bug-strchr1.c (do_test): Moved to ...
12158 * string/test-strchr.c (check1): Here. New function.
12159 (do_one_test): Break out result checking code into ...
12160 (check_result): This. New function.
12161 (do_one_test): Call check_result.
12162 (test_main): Call check1.
12163 * string/bug-strstr1.c (main): Moved to ...
046f153e 12164 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12165 (do_one_test): Break out result checking code into ...
12166 (check_result): This. New function.
12167 (do_one_test): Call check_result.
12168 (test_main): Call check1.
12169 * string/bug-strcasestr1.c: Removed.
12170 * string/bug-strchr1.c: Likewise.
12171 * string/bug-strstr1.c: Likewise.
12172
53cea63e
L
12173 * elf/Makefile (dl-routines): Add hwcaps.
12174 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12175 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12176 (_dl_important_hwcaps): Moved to ...
12177 * elf/dl-hwcaps.c: Here. New file.
12178 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12179
9cee5585 12180 [BZ #14557]
bb859b06
L
12181 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12182 if IS_IN_rtld isn't defined.
12183
9cee5585
L
12184 * elf/dl-support.c (_dl_sysinfo_map): New.
12185 Include "get-dynamic-info.h" and "setup-vdso.h".
12186 (_dl_non_dynamic_init): Call setup_vdso.
12187 * elf/dynamic-link.h: Don't include <assert.h>.
12188 (elf_get_dynamic_info): Moved to ...
12189 * elf/get-dynamic-info.h: Here. New file.
12190 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12191 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12192 * elf/setup-vdso.h: Here. New file.
12193 * elf/rtld.c: Include "setup-vdso.h".
12194 (dl_main): Call setup_vdso.
12195
23c31b76
JM
121962012-10-05 Joseph Myers <joseph@codesourcery.com>
12197
28234b07
JM
12198 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12199 creal in comment listing functions tested. List finite, isinf,
12200 isnan, isless, islessequal, isgreater, isgreaterequal,
12201 islessgreater, isunordered, lgamma_r and pow10 as functions and
12202 macros not tested. Mention which functions not tested are aliases
12203 for other functions. Fix typo. Note that signs of NaNs are not
12204 tested.
12205
23c31b76
JM
12206 * scripts/config.guess: Update from config.git.
12207 * scripts/config.sub: Likewise.
12208
9043e228
RM
122092012-10-04 Roland McGrath <roland@hack.frob.com>
12210
12211 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12212 * misc/madvise.c (madvise): Renamed to __madvise.
12213 Make madvise a weak alias.
12214 * include/sys/mman.h: Declare __madvise.
12215 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12216 * sysdeps/unix/syscalls.list
12217 (madvise): Make __madvise the strong name, and madvise a weak alias.
12218 * sysdeps/unix/sysv/linux/syscalls.list
12219 (madvise, mmap): Remove redundant entries.
12220 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12221 * malloc/malloc.c (mtrim): Likewise.
12222 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12223
f57f8055
RM
122242012-10-03 Roland McGrath <roland@hack.frob.com>
12225
12226 * sysdeps/mach/hurd/dl-cache.c: File removed.
12227 * config.h.in (USE_LDCONFIG): New #undef.
12228 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12229 * configure: Regenerated.
12230 * elf/Makefile (dl-routines): Add dl-cache only under
12231 [$(use-ldconfig) = yes].
12232 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12233 cache on [USE_LDCONFIG].
12234 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12235 [USE_LDCONFIG].
12236 * elf/rtld.c (dl_main): Likewise.
12237
5bb0c10a
PT
122382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12239
12240 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12241 _SC_LEVEL4_CACHE_LINESIZE.
12242
010188c6
RM
122432012-10-03 Roland McGrath <roland@hack.frob.com>
12244
12245 * sysdeps/unix/bsd/confstr.h: File removed.
12246
b6c5ec07
AO
122472012-10-02 Alexandre Oliva <aoliva@redhat.com>
12248
12249 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12250 sys/sdt-config.h.
12251
408223d4
RM
122522012-10-02 Roland McGrath <roland@hack.frob.com>
12253
12254 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12255 Make 'mapoff' field ElfW(Off) rather than off_t.
12256
bb9510dc
DL
122572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12258
fc997c6e
DL
12259 * nscd/Makefile: Remove nscd-cflags and all its users.
12260 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12261 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12262
bb9510dc
DL
12263 [BZ #10631]
12264 * malloc.c (malloc_printerr): Clarify error message.
12265
05699367
L
122662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 [BZ #14648]
12269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12270 Set bit_FMA_Usable if FMA is supported.
12271 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12272 macro.
12273 (bit_FMA4_Usable): Updated.
12274 (index_FMA_Usable): New macro.
12275 (CPUID_FMA): Likewise
12276 (HAS_FMA): Defined with bit_FMA_Usable.
12277
51367701
RM
122782012-10-01 Roland McGrath <roland@hack.frob.com>
12279
12280 * bits/types.h (__swblk_t): Type removed.
12281 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12282 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12284 (__SWBLK_T_TYPE): Likewise.
12285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12286 (__SWBLK_T_TYPE): Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12288 (__SWBLK_T_TYPE): Likewise.
12289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12290 (__SWBLK_T_TYPE): Likewise.
12291
4d57bf63 122922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12293 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12294
12295 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12296 (xdr_mapname): Use YPMAXMAP as maxsize.
12297 (xdr_peername): Use YPMAXPEER as maxsize.
12298 (xdr_keydat): Use YPAXRECORD as maxsize.
12299 (xdr_valdat): Use YPMAXRECORD as maxsize.
12300
93c65d43
RM
123012012-10-01 Roland McGrath <roland@hack.frob.com>
12302
497a03d6
RM
12303 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12304
93c65d43
RM
12305 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12306 * csu/init-first.c: ... here.
12307 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12308 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12311 * sysdeps/i386/init-first.c: File removed.
12312 * sysdeps/sh/init-first.c: File removed.
12313
bec749fd
JM
123142012-10-01 Joseph Myers <joseph@codesourcery.com>
12315
12316 [BZ #14645]
12317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12318 if x * y might underflow to zero and z is zero.
12319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12321 * math/libm-test.inc (min_subnorm_value): New variable.
12322 (fma_test): Add more tests.
12323 (fma_test_towardzero): Likewise.
12324 (fma_test_downward): Likewise
12325 (fma_test_upward): Likewise.
12326 (initialize): Set min_subnorm_value.
12327
8ec5b013
JM
123282012-09-29 Joseph Myers <joseph@codesourcery.com>
12329
12330 [BZ #14638]
12331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12332 0 + 0.
12333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12334 mode for addition resulting in exact zero.
12335 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12337 exact 0 + 0.
12338 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12340 * math/libm-test.inc (fma_test): Add more tests.
12341 (fma_test_towardzero): New function.
12342 (fma_test_downward): Likewise.
12343 (fma_test_upward): Likewise.
12344 (main): Call the new functions.
12345
b1fa802e
DM
123462012-09-28 David S. Miller <davem@davemloft.net>
12347
12348 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12349
d3b9fd9e
RM
123502012-09-28 Roland McGrath <roland@hack.frob.com>
12351
ea4d37b3
RM
12352 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12353 instead of SIGALRM.
12354
ac51c949
RM
12355 * sysdeps/gnu/_G_config.h: Moved to ...
12356 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12357 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12358 * sysdeps/generic/_G_config.h: ... here.
12359
28c195f7
RM
12360 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12361
848917f9
RM
12362 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12363
6bacf05b
RM
12364 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12365 Conditionalize target on [libnss_test1.so-version].
12366
91363dbb
RM
12367 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12368
cc87f7d8
RM
12369 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12370 (elfobjdir): Move out of conditionals.
12371
b1c608fe
RM
12372 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12373 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12374 (__nss_lookup_function): Conditionalize label remove_from_tree on
12375 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12376
1d9a6d96
DM
123772012-09-28 David S. Miller <davem@davemloft.net>
12378
12379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12380 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12381 file.
12382 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12383 sysdep_routines.
12384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12386 when HWCAP_SPARC_CRYPTO is present.
12387
72581615
PT
123882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12389
12390 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12391
715a900c
JL
123922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12393
12394 [BZ #6530]
12395 * stdio-common/vfprintf.c (process_string_arg): Revert
12396 2000-07-22 change.
12397
123982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12399
12400 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12401 for testcase.
12402 * stdio-common/tst-sprintf.c: Include <locale.h>
12403 (main): Test sprintf's handling of incomplete multibyte
12404 characters.
12405
9bac1d86
L
124062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12407
12408 * elf/dl-runtime.c (VERSYMIDX): Removed.
12409 * elf/dl-version.c (VERSYMIDX): Likewise.
12410 * elf/do-rel.h (VERSYMIDX): Likewise.
12411 (VALIDX): Likewise.
12412 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12413 * elf/rtld.c (VALIDX): Likewise.
12414 (ADDRIDX): Likewise.
9bac1d86
L
12415 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12416 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12417 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12418 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12419 (VALIDX): Likewise.
12420 (ADDRIDX): Likewise.
9bac1d86 12421
b31606c0
PT
124222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12423
12424 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12425
11541177
JL
124262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12427
12428 [BZ #11438]
12429 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12430 to global scope.
12431 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12432 addresses are in the same scope as 192.0.2/24.
12433 * posix/gai.conf: Document new scope table defaults.
12434
adb26fae
SP
124352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12436
12437 [BZ #5298]
12438 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12439 for ftell. Compute offsets from write pointers instead.
12440 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12441
4573c6b0
SP
124422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12443
12444 [BZ #14543]
12445 * libio/Makefile (tests): New test case tst-fseek.
12446 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12447 combination works in wide mode.
12448 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12449 state when the external buffer state changes.
12450
aa9bbfe6
DM
124512012-09-27 David S. Miller <davem@davemloft.net>
12452
12453 [BZ #14376]
12454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12455 pass reloc->r_addend in as the 'high' argument to
12456 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12457
784421e7
DM
12458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12459
c39bc8b8
PT
124602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12461
12462 * rt/tst-aio2.c: Include <pthread.h>.
12463 * rt/tst-aio3.c: Likewise.
12464
1ccc2399
SE
124652012-09-27 Steve Ellcey <sellcey@mips.com>
12466
12467 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12468
31ed4153
L
124692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12470
25f5f885
L
12471 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12472 contents on [SHARED].
31ed4153 12473
b7bfe116
MP
124742012-09-26 Marek Polacek <polacek@redhat.com>
12475
12476 [BZ #14530]
12477 [BZ #13741]
12478 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12479 for C++ and GCC <4.3 as well as for non GCC compilers.
12480
43c4edba
MT
124812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12482
12483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12484
6a1bf82f
RM
124852012-09-25 Roland McGrath <roland@hack.frob.com>
12486
12487 * Makefile.in (all, install): Declare with .PHONY.
12488 Reported by Michael Hope <michael.hope@linaro.org>.
12489
8ad11b9a
TMQMF
124902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12491
12492 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12493 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12494 system header.
12495 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12496 Likewise.
12497 (sydep_routines): Add the new and the internal functions.
12498 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12499 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12501 (GLIBC_2.17): Add the new function.
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12503 (GLIBC_2.17): Likewise.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12505 (GLIBC_2.17): Likewise.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12507 (GLIBC_2.17): Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12509
7e2fca8d
AM
125102012-09-25 Alan Modra <amodra@gmail.com>
12511
12512 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12513 Add release barrier before setting once_control to say
12514 initialisation is done. Add hints on lwarx. Use macro in
12515 place of isync.
12516 (clear_once_control): Add release barrier.
12517
b87c4b24
JM
125182012-09-25 Joseph Myers <joseph@codesourcery.com>
12519
d032e0d2
JM
12520 [BZ #13629]
12521 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12522 specially.
12523 * math/s_clog10.c (__clog10): Likewise.
12524 * math/s_clog10f.c (__clog10f): Likewise.
12525 * math/s_clog10l.c (__clog10l): Likewise.
12526 * math/s_clogf.c (__clogf): Likewise.
12527 * math/s_clogl.c (__clogl): Likewise.
12528 * math/Makefile (libm-calls): Add x2y2m1.
12529 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12530 (__x2y2m1): Likewise.
12531 (__x2y2m1l): Likewise.
12532 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12533 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12536 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12537 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12538 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12539 * sysdeps/i386/fpu/libm-test-ulps: Update.
12540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12541
b87c4b24
JM
12542 [BZ #14621]
12543 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12544 int as type of variable DEPTH.
12545 (glob): Use size_t instead of int as type of variables NEWCOUNT
12546 and OLD_PATHC.
12547
6d3bf199
LD
125482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12549
22bf5c17
LD
12550 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12551 Add s_sincosf-sse2.
12552 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12553 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12554 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12555 macros for using routine as __sincosf_ia32.
12556 Use macro for function declaration and weak_alias.
12557 * sysdeps/i386/fpu/libm-test-ulps: Update.
12558
12559 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12561
12562 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12563 subnormal argument.
12564 * math/s_cexpf.c (__cexpf): Likewise.
12565 * math/s_csinf.c (__csinf): Likewise.
12566 * math/s_csinhf.c (__csinhf): Likewise.
12567 * math/s_ctanf.c (__ctanf): Likewise.
12568 * math/s_ctanhf.c (__ctanhf): Likewise.
12569 * math/s_ccosh.c (__ccoshf): Likewise.
12570 * math/s_cexp.c (__cexpl): Likewise.
12571 * math/s_csin.c (__csin): Likewise.
12572 * math/s_csinh.c (__csinh): Likewise.
12573 * math/s_ctan.c (__ctan): Likewise.
12574 * math/s_ctanh.c (ctanh): Likewise.
12575 * math/s_ccoshl.c (__ccoshl): Likewise.
12576 * math/s_cexpl.c (__cexpl): Likewise.
12577 * math/s_csinl.c (__csinl): Likewise.
12578 * math/s_csinhl.c (__csinhl): Likewise.
12579 * math/s_ctanl.c (__ctanl): Likewise.
12580 * math/s_ctanhl.c (__ctanhl): Likewise.
12581
203e5603
JM
125822012-09-25 Joseph Myers <joseph@codesourcery.com>
12583
12584 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12585 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12586 (_IO_off_t): Define to __off_t, not _G_off_t.
12587 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12588 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12589 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12590 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12591 type of __dummy and __dummy2 fields.
12592 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12593 (_G_ssize_t): Likewise.
12594 (_G_off_t): Likewise.
12595 (_G_pid_t): Likewise.
12596 (_G_uid_t): Likewise.
12597 (_G_wchar_t): Likewise.
12598 (_G_wint_t): Likewise.
12599 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12600 (_G_ssize_t): Likewise.
12601 (_G_off_t): Likewise.
12602 (_G_pid_t): Likewise.
12603 (_G_uid_t): Likewise.
12604 (_G_wchar_t): Likewise.
12605 (_G_wint_t): Likewise.
12606 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12607 (_G_ssize_t): Likewise.
12608 (_G_off_t): Likewise.
12609 (_G_pid_t): Likewise.
12610 (_G_uid_t): Likewise.
12611 (_G_wchar_t): Likewise.
12612 (_G_wint_t): Likewise.
12613
9fab36eb
SP
126142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12615
12616 * malloc/arena.c: Include malloc-sysdep.h.
12617 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12618 is sufficient to shrink the heap or an unmap is needed.
12619 * sysdeps/generic/malloc-sysdep.h: New file. Define
12620 new function check_may_shrink_heap.
12621 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12622 new function check_may_shrink_heap.
12623
2b4f00d1
SP
126242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12625
12626 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12627 comments.
12628
9a9028b1
DL
126292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12630
57c69bef
DL
12631 * catgets/test-gencat.sh: Add "set -e".
12632 * elf/tst-pathopt.sh: Likewise.
12633 * grp/tst_fgetgrent.sh: Likewise.
12634 * iconvdata/run-iconv-test.sh: Likewise.
12635 * intl/tst-gettext.sh: Likewise.
12636 * intl/tst-gettext2.sh: Likewise.
12637 * intl/tst-gettext4.sh: Likewise.
12638 * intl/tst-gettext6.sh: Likewise.
12639 * intl/tst-translit.sh: Likewise.
12640 * io/ftwtest-sh: Likewise.
12641 * libio/test-freopen.sh: Likewise.
12642 * malloc/tst-mtrace.sh: Likewise.
12643 * posix/globtest.sh: Likewise.
12644 * posix/tst-getconf.sh: Likewise.
12645 * posix/wordexp-tst.sh: Likewise.
12646 * stdio-common/tst-printf.sh: Likewise.
12647 * stdio-common/tst-unbputc.sh: Likewise.
12648 * stdlib/tst-fmtmsg.sh: Likewise.
12649 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12650 * catgets/Makefile: Do not specify -e option when running
12651 testsuite shell scripts.
12652 * elf/Makefile: Likewise.
12653 * grp/Makefile: Likewise.
12654 * iconvdata/Makefile: Likewise.
12655 * intl/Makefile: Likewise.
12656 * io/Makefile: Likewise.
12657 * libio/Makefile: Likewise.
12658 * malloc/Makefile: Likewise.
12659 * posix/Makefile: Likewise.
12660 * stdio-common/Makefile: Likewise.
12661 * stdlib/Makefile: Likewise.
12662 * sysdeps/x86_64/Makefile: Likewise.
12663
9a9028b1
DL
12664 * io/ftwtest-sh: Add copyright header.
12665 * posix/globtest.sh: Likewise.
12666 * posix/tst-getconf.sh: Likewise.
12667 * posix/wordexp-tst.sh: Likewise.
12668 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12669
ced6f16e
L
126702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12671
94b32c39
L
12672 [BZ #13679]
12673 * Makeconfig (+link): Defined as $(+link-static) if
12674 $(build-shared) isn't yes.
12675 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12676 isn't yes.
12677 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12678
189e935b
L
12679 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12680
ced6f16e
L
12681 [BZ #14562]
12682 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12683 new chunk size with MALLOC_ALIGN_MASK.
12684
a9f8e53a
JM
126852012-09-24 Joseph Myers <joseph@codesourcery.com>
12686
12687 [BZ #5044]
12688 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12689 <rounding-mode.h>.
12690 (__printf_fphex): Determine rounding using get_rounding_mode and
12691 round_away.
12692 * stdio-common/tst-printf-round.c (struct hex_test): New
12693 structure.
12694 (hex_tests): New variable.
12695 (test_hex_in_one_mode): New function.
12696 (do_test): Also run tests for hex float output.
12697
43153109
JM
126982012-09-21 Joseph Myers <joseph@codesourcery.com>
12699
12700 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12701 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12702 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12703 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12704 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12705 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12706 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12707 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12708
8a26625d
JM
127092012-09-20 Joseph Myers <joseph@codesourcery.com>
12710
12711 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12712 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12713 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12714 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12715
f3fd569c
DL
127162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12717
12718 [BZ #14579]
12719 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12720 mode only.
12721 * elf/tst-rtld-load-self.sh: New test.
12722 * elf/Makefile: Run it.
12723
63bbedd4
JM
127242012-09-18 Joseph Myers <joseph@codesourcery.com>
12725
12726 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12727 (tst-writev-ENV): Remove.
12728 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12729
626f8b6a
CM
127302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12731
12732 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12733
b7aaa4d6
JM
127342012-09-17 Joseph Myers <joseph@codesourcery.com>
12735
12736 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12737 unconditional.
12738 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12739 Likewise.
12740 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12741 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12742 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12743 Likewise.
12744
65513990
L
127452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 [BZ #14587]
12748 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12749 * config.make.in (have-cpp-asm-debuginfo): Removed.
12750 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12751 * configure: Regenerated.
12752
784761be
JM
127532012-09-14 Joseph Myers <joseph@codesourcery.com>
12754
12755 [BZ #5044]
12756 * stdio-common/printf_fp.c: Include <stdbool.h> and
12757 <rounding-mode.h>.
12758 (___printf_fp): Determine rounding using get_rounding_mode and
12759 round_away.
12760 * stdio-common/tst-printf-round.c: New file.
12761 * stdio-common/Makefile (tests): Add tst-printf-round.
12762 (link-libm): New variable.
12763 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12764
9503345f
L
127652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 [BZ #14576]
12768 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12769 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12770 Likewise.
12771 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12772 Likewise.
12773
ad35fc00
JM
127742012-09-13 Joseph Myers <joseph@codesourcery.com>
12775
12776 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12777 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12778 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12779 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12780
6c9b0f68
JM
127812012-09-12 Joseph Myers <joseph@codesourcery.com>
12782
12783 [BZ #14518]
12784 * include/rounding-mode.h: New file.
12785 * sysdeps/generic/get-rounding-mode.h: Likewise.
12786 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12787 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12788 (MAX_VALUE): New macro.
12789 (MIN_VALUE): Likewise.
12790 (overflow_value): New function.
12791 (underflow_value): Likewise.
12792 (round_and_return): Use overflow_value and underflow_value to
12793 determine return values in overflow and underflow cases. Use
12794 round_away to determine rounding depending on rounding mode.
12795 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12796 determine return values in overflow and underflow cases.
12797 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12798 (struct test_results): New structure.
12799 (struct test): Use struct test_results to store expected results
12800 for all rounding modes.
12801 (TEST): Include expected results for all rounding modes.
12802 (test_in_one_mode): New function.
12803 (do_test): Use test_in_one_mode to compute and check results.
12804 Check results for all rounding modes.
12805 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12806 $(link-libm).
12807
19fcedd5
AM
128082012-12-09 Allan McRae <allan@archlinux.org>
12809
1e9d84cd 12810 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12811
8bbfd2f1
JM
128122012-09-11 Joseph Myers <joseph@codesourcery.com>
12813
12814 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12815 (_G_int32_t): Likewise.
12816 (_G_uint16_t): Likewise.
12817 (_G_uint32_t): Likewise.
12818 (_G_HAVE_BOOL): Likewise.
12819 (_G_HAVE_ATEXIT): Likewise.
12820 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12821 (_G_HAVE_IO_FILE_OPEN): Likewise.
12822 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12823 (_G_int32_t): Likewise.
12824 (_G_uint16_t): Likewise.
12825 (_G_uint32_t): Likewise.
12826 (_G_HAVE_BOOL): Likewise.
12827 (_G_HAVE_ATEXIT): Likewise.
12828 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12829 (_G_HAVE_IO_FILE_OPEN): Likewise.
12830 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12831 (_G_int32_t): Likewise.
12832 (_G_uint16_t): Likewise.
12833 (_G_uint32_t): Likewise.
12834 (_G_HAVE_BOOL): Likewise.
12835 (_G_HAVE_ATEXIT): Likewise.
12836 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12837 (_G_HAVE_IO_FILE_OPEN): Likewise.
12838
b1dc5912
L
128392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12840
12841 * csu/libc-tls.c: Update copyright years.
12842
0e886ef9
JM
128432012-09-10 Joseph Myers <joseph@codesourcery.com>
12844
28361c5e
JM
12845 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12846 [!_G_USING_THUNKS]: Remove conditional code.
12847 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12848 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12849
0e886ef9
JM
12850 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12851 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12852 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12853 (_G_VTABLE_LABEL_PREFIX): Likewise.
12854 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12855 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12856 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12857 (_G_VTABLE_LABEL_PREFIX): Likewise.
12858 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12859 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12860 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12861 (_G_VTABLE_LABEL_PREFIX): Likewise.
12862 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12863
bcba7aa2
L
128642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 * libio/Makefile: Include ../Makeconfig before tests.
12867 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12868 only if $(build-shared) is yes.
12869
06585ee8
L
12870 * iconv/gconv_db.c: Update copyright years.
12871
80ccd52c
LD
128722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12873
12874 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12875 unwind info if defined PIC. Fix special cases description.
12876 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12877
12878 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12879 DP_HI_MASK entry.
12880 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12881
691bc9c1
L
128822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12883
3d9b46b3
L
12884 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12885
de2139a9
L
12886 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12887 is NULL.
12888
5ca78dd0
L
12889 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12890 (LDLIBS-tst-chk4): This.
12891 (LDFLAGS-tst-chk5): Renamed to ...
12892 (LDLIBS-tst-chk5): This.
12893 (LDFLAGS-tst-chk6): Renamed to ...
12894 (LDLIBS-tst-chk6): This.
12895 (LDFLAGS-tst-lfschk4): Renamed to ...
12896 (LDLIBS-tst-lfschk4): This.
12897 (LDFLAGS-tst-lfschk5): Renamed to ...
12898 (LDLIBS-tst-lfschk5): This.
12899 (LDFLAGS-tst-lfschk6): Renamed to ...
12900 (LDLIBS-tst-lfschk6): This.
12901
691bc9c1
L
12902 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12903 on $(common-objpfx)soversions.mk.
12904
65cafb1c
JM
129052012-09-07 Joseph Myers <joseph@codesourcery.com>
12906
12907 [BZ #10014]
12908 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12909 example host name.
12910
c78ab094
SP
129112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12912
12913 * malloc/arena.c (arena_get_retry): New function that gets
12914 another arena for the caller to try its request on.
12915 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12916 current arena cannot fulfill the request.
12917 (__libc_memalign): Likewise.
12918 (__libc_memalign): Likewise.
12919 (__libc_pvalloc): Likewise.
12920 (__libc_calloc): Likewise.
12921
01f49f59
JT
129222012-09-05 John Tobey <john.tobey@gmail.com>
12923
12924 [BZ #13542]
12925 * manual/arith.texi (Operations on Complex): Fix description
12926 of carg branch cut.
12927
4c23fed5
JM
129282012-09-06 Joseph Myers <joseph@codesourcery.com>
12929
1d3c8572
JM
12930 [BZ #10014]
12931 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12932 host name.
12933
4c23fed5
JM
12934 [BZ #10038]
12935 * manual/memory.texi (Memory): Make order of menu items match
12936 order of sections.
12937
04570aaa
L
129382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12939
12940 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12941 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12942 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12943
b80af2f4
L
129442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * csu/libc-tls.c (static_dtv): Renamed to ...
12947 (_dl_static_dtv): This. Make it global.
12948 (_dl_initial_dtv): Removed.
12949 (__libc_setup_tls): Updated.
12950 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12951 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12952 DL_INITIAL_DTV.
12953
2abe9f15
PM
129542012-09-06 Petr Machata <pmachata@redhat.com>
12955
12956 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12957 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12958 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12959 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12960
0948c3af
L
129612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12962
12963 [BZ #14545]
12964 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12965 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12966 freeing dtv[-1].
12967
a5055ad1
L
129682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12969
12970 [BZ #14544]
12971 * Makeconfig (link-static-before-libc): Replace $(+prector)
12972 with $(+prectorT).
12973 (link-static-after-libc): Replace $(+postctor) with
12974 $(+postctorT).
12975 (link-bounded): Replace $(+prector)/$(+postctor) with
12976 $(+prectorT)/$(+postctorT).
12977 (+prectorT): New macro.
12978 (+postctorT): Likewise.
12979
ed8c2ecd
JM
129802012-09-06 Joseph Myers <joseph@codesourcery.com>
12981
12982 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12983 (round_str): Handle values above the maximum for IBM long double
12984 as inexact.
12985 * stdlib/tst-strtod-round.c (tests): Regenerated.
12986
14c996c8
AK
129872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12988
12989 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12990 assembler flag.
12991 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12992 zarch_nohighgprs around the zarch optimized routines.
12993 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12994 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12995 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12996 for zarch.
12997
430d6ce6
DM
129982012-09-05 David S. Miller <davem@davemloft.net>
12999
13000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13001
ff04dda4
DM
13002 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13003 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13004 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13005 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13006 entries.
13007
24d4e01b
AO
130082012-09-05 Alexandre Oliva <aoliva@redhat.com>
13009
13010 * malloc/arena.c: Fold copyright years.
13011 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13012
61d58174
AO
130132012-09-05 Alexandre Oliva <aoliva@redhat.com>
13014
13015 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13016
20196a5e
AO
130172012-09-05 Alexandre Oliva <aoliva@redhat.com>
13018
13019 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13020
5c447383
AO
130212012-09-05 Alexandre Oliva <aoliva@redhat.com>
13022
13023 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13024 change internal state upon failure.
13025
fad64255
AO
130262012-09-05 Alexandre Oliva <aoliva@redhat.com>
13027
13028 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13029 * malloc/memusage.c (mmap): Likewise.
13030 (mmap64, mremap): Likewise. Adjust name in comment.
13031
1ffb8c90
SP
130322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13033
13034 * libio/fileops.c: Fix typos in comments.
13035 * libio/oldfileops.c: Likewise.
13036 * libio/wfileops.c: Likewise.
13037
6ef9cc37
SP
130382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13039
13040 [BZ #1349]
13041 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13042 (tst-malloc-usable-ENV): Set environment for test case.
13043 * malloc/hooks.c (malloc_check_get_size): New function to get
13044 requested size.
13045 * malloc/malloc.c (musable): Use malloc_check_get_size.
13046 * malloc/tst-malloc-usable.c: New test case.
13047
4d038ae3
AS
130482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13049
13050 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13051
c4e85184
AM
130522012-09-05 Allan McRae <allan@archlinux.org>
13053
b9dafc56 13054 [BZ #13966]
c4e85184
AM
13055 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13056 determine header location.
13057 * configure: Regenerated.
13058
e1343020
AS
130592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13060
13061 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13062 float format.
13063 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13064 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13065 format.
e1343020
AS
13066 (test): Regenerate.
13067
0a9f1987
DM
130682012-09-04 David S. Miller <davem@davemloft.net>
13069
13070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13072 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13073
29237804
FW
130742012-09-04 Florian Weimer <fweimer@redhat.com>
13075
13076 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13077 failures.
13078
edb3cb88
FW
13079 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13080
60160d83
JM
130812012-09-04 Joseph Myers <joseph@codesourcery.com>
13082
13083 [BZ #9914]
13084 * libio/iogetdelim.c: Include <limits.h>.
13085 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13086 + len + 1 would overflow.
13087
bcd6c8dc
AJ
130882012-09-03 Andreas Jaeger <aj@suse.de>
13089
13090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13091 * sysdeps/i386/fpu/libm-test-ulps: Update.
13092
4ffffbd2
LD
130932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13094
13095 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13096 Add s_sinf-sse2, s_conf-sse2.
13097
13098 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13099 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13100 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13101 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13102
13103 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13104 for using routine as __sinf_ia32.
13105 Use macro for function declaration and weak_alias.
13106 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13107 for using routine as __cosf_ia32.
13108 Use macro for function declaration and weak_alias.
13109
13110 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13111 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13112
13113 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13114 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13116
13117 * math/libm-test.inc (cos_test): Add more test cases.
13118 (sin_test): Likewise.
13119 (sincos_test): Likewise.
13120
511fa286
AK
131212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13122
13123 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13124 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13125 hidden.
13126 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13127
5f30cfec
L
131282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 [BZ #14538]
13131 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13132 first element of the GOT.
13133 (elf_machine_load_address): Return the difference between
13134 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13135
0786794f
AM
131362012-09-01 Allan McRae <allan@archlinux.org>
13137
5f30cfec
L
13138 [BZ #13412]
13139 * configure.in (AWK): Require gawk version 3.0 or later.
13140 * configure: Regenerated.
0786794f 13141
26889eac
JM
131422012-09-01 Joseph Myers <joseph@codesourcery.com>
13143
13144 * sysdeps/unix/sysv/linux/kernel-features.h
13145 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13147 [__NR_clock_getres]: Make code unconditional.
13148 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13149 (clock_getcpuclockid): Remove code left unreachable by removal of
13150 conditionals.
13151 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13152 code unconditional.
13153 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13154 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13155 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13156 Make code unconditional.
13157 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13158 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13159 * sysdeps/unix/sysv/linux/clock_settime.c
13160 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13161 conditional code.
13162 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13163 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13164
d22e28b0
L
131652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 [BZ #14476]
13168 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13169 scripts/test-installation.pl.
13170
13171 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13172 and $ld_so_version if it is set.
13173
050af9c4
SP
131742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13175
13176 [BZ #14516]
13177 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13178 failure if reading from procfs failed.
13179 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13180
ad845c0b
JM
131812012-08-27 Joseph Myers <joseph@codesourcery.com>
13182
13183 * sysdeps/unix/sysv/linux/kernel-features.h
13184 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13185 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13186 Remove conditional code.
13187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13188 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13189 Remove conditional code.
13190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13191 * sysdeps/unix/sysv/linux/i386/fxstat.c
13192 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13194 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13195 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13197 * sysdeps/unix/sysv/linux/i386/lxstat.c
13198 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13200 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13201 Remove conditional code.
13202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13203 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13204 Remove conditional code.
13205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13207 <kernel-features.h>.
13208 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13209 Remove.
13210 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13211 Remove conditional code.
13212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13213 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13214 Remove conditional.
13215
5dbf56af
MF
132162012-08-27 Mike Frysinger <vapier@gentoo.org>
13217
13218 [BZ #5400]
13219 * NEWS: Add fixed bug number.
13220
d6e70f43
JM
132212012-08-27 Joseph Myers <joseph@codesourcery.com>
13222
7efb4737
JM
13223 [BZ #14519]
13224 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13225 underflowing exponent in case of negative sign.
13226 * stdlib/tst-strtod-round-data: Add more tests.
13227 * stdlib/tst-strtod-round.c (tests): Regenerated.
13228
af92131a
JM
13229 [BZ #3479]
13230 * stdlib/strtod_l.c (NDIG): Remove.
13231 (HEXNDIG): Likewise.
13232 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13233 smallest representable value.
13234 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13235 lie within an exact representation of 1/2 ulp of the result.
13236 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13237 unconditionally.
13238 (TENS_P9_IDX): Define unconditionally.
13239 (TENS_P9_SIZE): Likewise.
13240 (TENS_P10_IDX): Likewise.
13241 (TENS_P10_SIZE): Likewise.
13242 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13243 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13244 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13245 entries for 10^2^13 and 10^2^14.
13246 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13247 (TENS_P13_IDX): Define.
13248 (TENS_P13_SIZE): Likewise.
13249 (TENS_P14_IDX): Likewise.
13250 (TENS_P14_SIZE): Likewise.
13251 (_fpioconst_pow10): Change array size to
13252 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13253 unconditional.
13254 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13255 1024]: Add entries for 10^2^13 and 10^2^14.
13256 [LAST_POW10 > _LAST_POW10]: Remove #error.
13257 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13258 (_fpioconst_pow10): Change array size to
13259 FPIOCONST_POW10_ARRAY_SIZE.
13260 * stdlib/gen-fpioconst.c: New file.
13261 * stdlib/gen-tst-strtod-round.c: Likewise.
13262 * stdlib/tst-strtod-round-data: Likewise.
13263 * stdlib/tst-strtod-round.c: Likewise.
13264 * stdlib/Makefile (tests): Add tst-strtod-round.
13265
d6e70f43
JM
13266 [BZ #14459]
13267 * stdlib/strtod_l.c: Include <stdint.h>.
13268 (NDEBUG): Do not define.
13269 (round_and_return): Change EXPONENT parameter to type intmax_t.
13270 Rearrange calculations to avoid internal overflow possibilities.
13271 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13272 Rearrange calculations to avoid internal overflow possibilities.
13273 Assert that number fits inside MPNSIZE limbs.
13274 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13275 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13276 calculations and add assertions to avoid internal overflow
13277 possibilities. Add casts to avoid signed/unsigned operations.
13278 * stdlib/tst-strtod-overflow.c: New file.
13279 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13280
1f529f7d
MP
132812012-08-25 Marek Polacek <polacek@redhat.com>
13282
13283 * time/time.h: Fix some typos in comments.
13284
59a629f1
RM
132852012-08-23 Roland McGrath <roland@hack.frob.com>
13286
13287 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13288 * posix/tst-rfc3484-2.c: Likewise.
13289 * posix/tst-rfc3484-3.c: Likewise.
13290
d3bafbc9
SM
132912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13292
13293 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13294 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13295
4efcc022
JM
132962012-08-23 Joseph Myers <joseph@codesourcery.com>
13297
13298 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13299 #include of fxstatat64.c.
13300
3cc3ef96
RM
133012012-08-22 Roland McGrath <roland@hack.frob.com>
13302
f04e2132
RM
13303 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13304 * shadow/getspent_r.c: Likewise.
13305 * shadow/getspnam.c: Likewise.
13306 * shadow/getspnam_r.c: Likewise.
13307 * gshadow/getsgent.c: Likewise.
13308 * gshadow/getsgent_r.c: Likewise.
13309 * gshadow/getsgnam.c: Likewise.
13310 * gshadow/getsgnam_r.c: Likewise.
13311 * inet/getnetbyad.c: Likewise.
13312 * inet/getnetbyad_r.c: Likewise.
13313 * inet/getnetbynm.c: Likewise.
13314 * inet/getnetbynm_r.c: Likewise.
13315 * inet/getnetent.c: Likewise.
13316 * inet/getnetent_r.c: Likewise.
13317 * inet/getproto.c: Likewise.
13318 * inet/getproto_r.c: Likewise.
13319 * inet/getprtent.c: Likewise.
13320 * inet/getprtent_r.c: Likewise.
13321 * inet/getprtname.c: Likewise.
13322 * inet/getprtname_r.c: Likewise.
13323 * inet/getrpcbyname.c: Likewise.
13324 * inet/getrpcbyname_r.c: Likewise.
13325 * inet/getrpcbynumber.c: Likewise.
13326 * inet/getrpcbynumber_r.c: Likewise.
13327 * inet/getrpcent.c: Likewise.
13328 * inet/getrpcent_r.c: Likewise.
13329 * inet/getaliasent.c: Likewise.
13330 * inet/getaliasent_r.c: Likewise.
13331 * inet/getaliasname.c: Likewise.
13332 * inet/getaliasname_r.c: Likewise.
13333 * nscd/getgrgid_r.c: Likewise.
13334 * nscd/getgrnam_r.c: Likewise.
13335 * nscd/gethstbyad_r.c: Likewise.
13336 * nscd/gethstbynm3_r.c: Likewise.
13337 * nscd/getpwnam_r.c: Likewise.
13338 * nscd/getpwuid_r.c: Likewise.
13339 * nscd/getsrvbynm_r.c: Likewise.
13340 * nscd/getsrvbypt_r.c: Likewise.
13341 * nscd/gai.c: Likewise.
13342
c53d909c
RM
13343 * configure.in (build_nscd): New substituted variable, set
13344 by --disable-build-nscd and defaults to $use_nscd.
13345 * configure: Regenerated.
13346 * config.make.in (build-nscd): New substituted variable.
13347 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13348 Change conditional to require [$(build-nscd) = yes] as well.
13349 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13350
3cc3ef96
RM
13351 [BZ# 13696]
13352 * configure.in (use_nscd): New substituted variable, set by
13353 --disable-nscd. If enabled, define USE_NSCD.
13354 * configure: Regenerated.
13355 * config.h.in: Add USE_NSCD.
13356 * config.make.in (use-nscd): New substituted variable.
13357 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13358 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13359 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13360 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13361 (CFLAGS-getgrnam_r.c): Likewise.
13362 (CFLAGS-initgroups.c): Likewise.
13363 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13364 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13365 Variables removed.
13366 * inet/getnetgrent_r.c
13367 (nscd_setnetgrent): New function, broken out of ...
13368 (setnetgrent): ... here. Call it.
13369 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13370 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13371 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13372 * nscd/Makefile (routines, aux): Move definitions after include of
13373 Makeconfig. Conditionalize on [$(use-nscd) != no].
13374 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13375 Conditionalize on [USE_NSCD].
13376 (is_nscd, nscd_init_cb): Likewise.
13377 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13378 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13379 * nss/nss_db/db-init.c: Likewise.
13380 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13381 [USE_NSCD].
13382 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13383 (make_request): Use it.
13384 (cache_valid_p): New function.
13385 (__check_pf): Use it.
13386 * NEWS: Add item for --disable-nscd.
13387
07e51550
DL
133882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13389
13390 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13391 to support sed >= 4.2.1-20-ga9bf076.
13392 * configure: Regenerated.
13393
35a5b08b
RM
133942012-08-22 Roland McGrath <roland@hack.frob.com>
13395
13396 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13397 Conditionalize whole body on [IREL].
13398
8479f23a
JL
133992012-08-22 Jeff Law <law@redhat.com>
13400
13401 [BZ #14505]
13402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13403 if the family is PF_UNSPEC.
13404
48da0b21
MF
134052012-08-22 Mike Frysinger <vapier@gentoo.org>
13406
13407 * Makerules (lib-version): Rename from V.
13408 (install-lib-nosubdir): Change V to lib-version.
13409
15d0da8c
WS
134102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13411
13412 [BZ #14252]
13413 * powerpc32/power6/wcschr.c: New file.
13414 * powerpc32/power6/wcscpy.c: New file.
13415 * powerpc32/power6/wcsrchr.c: New file.
13416 * powerpc64/power6/wcschr.c: New file.
13417 * powerpc64/power6/wcscpy.c: New file.
13418 * powerpc64/power6/wcsrchr.c: New file.
13419
bcca0895
MK
134202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13421
13422 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13423 (two_way_short_needle): Use it.
5a4aaa33
RM
13424 * string/strstr.c (AVAILABLE1_USES_J): Define.
13425 * string/strcasestr.c: Likewise.
99677e57
MK
13426
13427 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13428 array references.
13429 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13430
400726de
MK
13431 [BZ #11607]
13432 * NEWS: Add an entry.
13433 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13434 define their defaults.
13435 (two_way_short_needle): Detect end-of-string on-the-fly.
13436 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13437 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13438 * string/bug-strcasestr1.c: New test.
13439 * string/Makefile: Run it.
13440
20a71f2c
MK
134412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13442
13443 [BZ #11607]
13444 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13445 the first character.
13446
21ad0558
RM
134472012-08-21 Roland McGrath <roland@hack.frob.com>
13448
13449 * csu/elf-init.c (__libc_csu_irel): Function removed.
13450 * csu/libc-start.c (apply_irel): New function.
13451 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13452
0e1d9911
JM
134532012-08-21 Joseph Myers <joseph@codesourcery.com>
13454
13455 * sysdeps/unix/sysv/linux/kernel-features.h
13456 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13457 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13458 <kernel-features.h>.
13459 [__NR_fadvise64_64]: Make code unconditional.
13460 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13461 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13462 !__NR_fadvise64_64)]: Likewise.
13463 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13464 !__NR_fadvise64_64))]: Likewise.
13465 [__NR_fadvise64]: Make code unconditional.
13466 [!__NR_fadvise64]: Remove conditional code.
13467 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13468 <kernel-features.h>.
13469 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13470 unconditional.
13471 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13472 conditional code.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13474 not include <kernel-features.h>.
13475 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13476 unconditional.
13477 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13478 conditional code.
13479 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13480 include <kernel-features.h>.
13481 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13482 unconditional.
13483 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13484 conditional code.
13485
14a50c9d
WS
134862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13487
13488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13489 slight instruction rearrangements per scrollpipe analysis.
13490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13491
c0f4faf0
RM
134922012-08-20 Roland McGrath <roland@hack.frob.com>
13493
696da859
RM
13494 * manual/syslog.texi (syslog; vsyslog, closelog):
13495 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13496 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13497
c0f4faf0
RM
13498 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13499 DSOCAPS to match condition on defining it.
13500
348363b2
JM
135012012-08-20 Joseph Myers <joseph@codesourcery.com>
13502
a35cbf28
JM
13503 * sysdeps/unix/sysv/linux/kernel-features.h
13504 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13506 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13507 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13509 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13510 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13512 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13513 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13514
445f7ecd
JM
13515 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13516 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13517
348363b2
JM
13518 * sysdeps/unix/sysv/linux/kernel-features.h
13519 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13520 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13521 unconditional.
13522 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13523 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13524 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13525 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13526 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13527 Make code unconditional.
13528 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13529 (__mmap64) [!__NR_mmap2]: Likewise.
13530 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13531 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13532 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13533 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13534 [__NR_mmap2]: Make code unconditional.
13535 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13536 (__mmap64) [!__NR_mmap2]: Likewise.
13537
bc5bc0e5
AK
135382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13539
13540 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13541
88d506de
AJ
135422012-08-18 Andreas Jaeger <aj@suse.de>
13543
13544 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13545
493387d2
MF
135462012-08-18 Mike Frysinger <vapier@gentoo.org>
13547
13548 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13549 * include/unistd.h (__have_sock_cloexec): Likewise.
13550 (__have_pipe2): Likewise.
13551 (__have_dup3): Likewise.
13552
a277af22
MF
135532012-08-18 Mike Frysinger <vapier@gentoo.org>
13554
13555 [BZ #9685]
13556 * include/unistd.h (__have_pipe2): Change define into an extern int.
13557 (__have_dup3): Likewise.
13558 * socket/have_sock_cloexec.c: Include fcntl.h.
13559 (__have_pipe2): New variable.
13560 (__have_dup3): Likewise.
13561
fdab8fd3
MF
135622012-08-17 Mike Frysinger <vapier@gentoo.org>
13563
13564 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13565
31035e80
MP
135662012-08-17 Marek Polacek <polacek@redhat.com>
13567
13568 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13569 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13570
3bd9e993
RM
135712012-08-17 Roland McGrath <roland@hack.frob.com>
13572
c91c505f
RM
13573 * configure.in: Add AC_SUBST for sysheaders.
13574 * configure: Regenerated.
13575 * config.make.in (sysheaders): New substituted variable.
13576
7c6f9d53
RM
13577 * sysdeps/unix/mkfifo.c: Moved ...
13578 * sysdeps/posix/mkfifo.c: ... here.
13579 * sysdeps/unix/mkfifoat.c: Moved ...
13580 * sysdeps/posix/mkfifoat.c: ... here.
13581
13582 * sysdeps/unix/utime.c: Moved ...
13583 * sysdeps/posix/utime.c: ... here.
13584
13585 * sysdeps/unix/time.c: Moved ...
13586 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13587 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13588 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13589
13590 * sysdeps/unix/nice.c: Moved ...
13591 * sysdeps/posix/nice.c: ... here.
13592
13593 * sysdeps/unix/alarm.c: Moved ...
13594 * sysdeps/posix/alarm.c: ... here.
13595
3bd9e993
RM
13596 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13597
d1f09384
JL
135982012-08-17 Jeff Law <law@redhat.com>
13599
13600 * intl/Makefile (codeset_mo): New variable.
13601 ($(codeset_mo)): New target.
13602 (tst-codeset.out): Depend on that. Remove explicit rule.
13603 (tst-gettext3.out, tst-gettext5.out): Likewise.
13604 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13605 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13606 * intl/tst-codeset.sh: Remove.
13607 * intl/tst-gettext3.sh: Likewise.
13608 * intl/tst-gettext5.sh: Likewise.
13609
2ae1ae5c
RM
136102012-08-17 Roland McGrath <roland@hack.frob.com>
13611
c31fdb83
RM
13612 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13613 * sysdeps/unix/syscalls.list: ... here.
13614
a0844057
RM
13615 * sysdeps/posix/getaddrinfo.c
13616 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13617 (gaiconf_init, gaiconf_reload): Use them.
13618 [!_STATBUF_ST_NSEC]
13619 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13620 Define using time_t rather than struct timespec.
13621
750c1f2a
RM
13622 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13623 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13624 Macros removed.
13625 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13626 [!NO_THREADS].
13627 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13628 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13629 Likewise.
13630
2ae1ae5c
RM
13631 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13632 __libc_cleanup_push argument.
13633
e66a42f5
RM
13634 * bits/param.h: New file.
13635 * misc/sys/param.h: New file.
13636 * include/sys/param.h: New file.
13637 * misc/Makefile (headers): Add bits/param.h.
13638 * sysdeps/generic/sys/param.h: File removed.
13639 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13640 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13641 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13642 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13643
b7c08a66
RM
13644 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13645 last change.
13646
b2e1c562
RM
13647 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13648 [_IO_MTSAFE_IO].
13649 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13650 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13651 New macros.
13652
c75ccd4c
RM
13653 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13654 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13655 rather than -D_IO_MTSAFE_IO conditionally.
13656 * stdio-common/Makefile (CPPFLAGS): Likewise.
13657 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13658 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13659 Use $(libio-mtsafe).
13660 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13661 of -D_IO_MTSAFE_IO.
13662 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13663 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13664 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13665 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13666 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13667 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13668 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13669 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13670 (CFLAGS-fread_u_chk.c): Likewise.
13671 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13672 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13673 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13674 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13675 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13676 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13677 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13678 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13679 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13680
13681 * libio/Makefile: Test [$(libc-reentrant) = yes]
13682 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13683
13684 * Makeconfig
13685 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13686 * sysdeps/pthread/configure: File removed.
13687 * sysdeps/pthread/Makeconfig: New file.
13688 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13689 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13690
d9195db8
GB
136912012-08-16 Gary Benson <gbenson@redhat.com>
13692
13693 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13694 unmapping the first object in a namespace.
13695
86466cd9
RM
136962012-08-16 Roland McGrath <roland@hack.frob.com>
13697
13698 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13699 (__internal_setnetgrent): ... this. Add internal_function to
13700 definition. Add libc_hidden_def.
13701 (setnetgrent): Update caller.
13702 (internal_endnetgrent): Renamed to ...
13703 (__internal_endnetgrent): ... this. Add internal_function to
13704 definition. Add libc_hidden_def.
13705 (endnetgrent): Update caller.
13706 (internal_getnetgrent_r): Renamed to ...
13707 (__internal_getnetgrent_r): ... this. Add internal_function to
13708 definition. Add libc_hidden_def.
13709 (__getnetgrent_r): Update caller.
13710 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13711
c3c8283c
JM
137122012-08-16 Joseph Myers <joseph@codesourcery.com>
13713
13714 * stdlib/longlong.h: Update from GCC.
13715
db1ee0a8
RM
137162012-08-16 Roland McGrath <roland@hack.frob.com>
13717
13718 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13719 on _QL, which is set by umul_ppmm but never used.
13720 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13721 variables, which are set by GMP macros but never used.
13722 * stdio-common/_itowa.c (_itowa): Likewise.
13723 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13724 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13725
30f69637
CD
137262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13727
13728 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13729 struct La_sh_regs is not constant.
13730 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13731 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13732 and struct La_sparc64_regs are not constant.
13733
93a78ac4
JM
137342012-08-16 Joseph Myers <joseph@codesourcery.com>
13735
13736 * sysdeps/unix/sysv/linux/kernel-features.h
13737 (__ASSUME_POSIX_TIMERS): Remove.
13738 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13739 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13740 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13741 Make code unconditional.
13742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13743 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13744 Make code unconditional.
13745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13746 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13747 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13748 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13749 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13750 Make code unconditional.
13751 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13752 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13753 (__libc_missing_posix_timers): Remove.
13754
dd924cd7
RM
137552012-08-15 Roland McGrath <roland@hack.frob.com>
13756
4b4f2771
RM
13757 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13758 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13759
601c888b
RM
13760 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13761
176790a7
RM
13762 * elf/dl-sym.c: Include <stdlib.h>.
13763
329bc018
RM
13764 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13765 constants, which avoids warnings in 32-bit builds.
13766
e04e272d
RM
13767 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13768 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13769
952bf94a
RM
13770 * misc/lseek.c: File moved to ...
13771 * io/lseek.c: ... here.
13772
7c99b50a
RM
13773 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13774
dd924cd7
RM
13775 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13776 shifting LEN more than 31 bits at once.
13777
b3f479a8
LD
137782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13779
13780 [BZ #14195]
8c4ae0d4
RM
13781 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13782 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13783 * string/test-strncasecmp.c (check1): Renamed to...
13784 (bz12205): ...this.
13785 (bz14195): Add new testcase for two empty input strings and N > 0.
13786 (test_main): Call new testcase, adapt for renamed function.
13787
9c55864e
AJ
137882012-08-15 Andreas Jaeger <aj@suse.de>
13789
13790 [BZ #14090]
13791 * crypt/md5test2.c: New test, based on test supplied by Serge
13792 Belyshev <belyshev@depni.sinp.msu.ru>.
13793 * crypt/Makefile (xtests): Add md5test-giant..
13794 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13795
02dcb6c5
PE
137962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13797
13798 [BZ #14090]
13799 * crypt/md5.c (md5_process_block): Don't assume the buffer
13800 length is less than 2**32.
13801 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13802 length is less than 2**64.
13803
a3f95dcc
RM
138042012-08-15 Roland McGrath <roland@hack.frob.com>
13805
be75d758
RM
13806 * string/str-two-way.h: Include <sys/param.h>.
13807 (MAX): Macro removed.
13808
7312ca90
RM
13809 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13810 Move #define and #undef of memmove to just before and after
13811 including <string.h>.
13812
9a0a5486
RM
13813 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13814 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13815 and after including <string.h>. Move declarations of
13816 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13817 to before #include "string/memmove.c".
13818
67cc348d
RM
13819 * include/dirent.h: Declare __getdirentries.
13820
a3f95dcc
RM
13821 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13822 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13823
ca98e171
MF
138242012-08-14 Mike Frysinger <vapier@gentoo.org>
13825
13826 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13827 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13828 * sysdeps/i386/configure: Regenerated.
13829 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13830 STABS_CURRENT_FILE, and STABS_FUN.
13831 (END): Remove call to STABS_FUN_END.
13832 (STABS_CURRENT_FILE1): Delete.
13833 (STABS_CURRENT_FILE): Likewise.
13834 (STABS_FUN): Likewise.
13835 (STABS_FUN_END): Likewise.
13836 (STABS_FUN2): Likewise.
13837 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13838 * sysdeps/x86_64/configure: Regenerated.
13839
5908bf46
RM
138402012-08-14 Roland McGrath <roland@hack.frob.com>
13841
13842 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13843 * elf/dl-lookup.c: Likewise.
5908bf46 13844
f2c05b9e
JM
138452012-08-14 Joseph Myers <joseph@codesourcery.com>
13846
13847 * sysdeps/unix/sysv/linux/kernel-features.h
13848 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13849 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13850 unconditionally.
13851 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13852 unconditionally.
13853 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13854 condition on __ASSUME_CLONE_THREAD_FLAGS.
13855
e11f5155
AJ
138562012-08-14 Andreas Jaeger <aj@suse.de>
13857
13858 * sysdeps/i386/fpu/libm-test-ulps: Update.
13859
51a9ba86
MK
138602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13861
2fdd4f78
AJ
13862 * include/atomic.h (atomic_exchange_and_add): Split into ...
13863 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13864 New atomic macros.
51a9ba86 13865
ba6cba9e
MT
138662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13867
13868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13869
42443a47
JL
138702012-08-13 Jeff Law <law@redhat.com>
13871
13872 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13873 null byte in the output string.
13874
121dce05
JM
138752012-08-10 Joseph Myers <joseph@codesourcery.com>
13876
13877 * sysdeps/unix/sysv/linux/kernel-features.h
13878 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13879 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13880 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13881 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13882 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13883 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13884 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13885
bf51f568
JL
138862012-08-09 Jeff Law <law@redhat.com>
13887
13888 [BZ #13939]
13889 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13890 When avoid_arena is set, don't retry in the that arena. Pick the
13891 next one, whatever it might be.
13892 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13893 (arena_lock): Pass in new parameter to arena_get2.
13894 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13895 arena_get2.
13896 (__libc_malloc): Unify retrying after main arena failure with
13897 __libc_memalign version.
13898 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13899
f85fa270
L
139002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13901
13902 [BZ #14166]
13903 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13904 to __redirect_strstr.
13905 (__strstr_sse42): Use typeof __redirect_strstr.
13906 (__strstr_ia32): Likewise.
13907 (__libc_strstr): New prototype.
13908 (strstr): Renamed to ...
13909 (__libc_strstr): This.
13910 (strstr): New strong alias of __libc_strstr.
13911 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13912 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13913 __redirect_time.
13914 Include <time.h>.
13915 (__libc_time): New prototype.
13916 (time_ifunc): Replace time with __libc_time.
13917 (time): New strong alias and hidden definition of __libc_time.
13918 (__GI_time): Remove strong alias.
13919 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13920 Include <stddef.h>.
13921 (memmove): Redefined to __redirect_memmove.
13922 (__memmove_sse2): Use typeof __redirect_memmove.
13923 (__memmove_ssse3): Likewise.
13924 (__memmove_ssse3_back): Likewise.
13925 (__libc_memmove): New prototype.
13926 (memmove): Renamed to ...
13927 (__libc_memmove): This.
13928 (memmove): New strong alias of __libc_memmove.
13929
33b4a91e
MS
139302012-08-08 Mark Salter <msalter@redhat.com>
13931
13932 * elf/elf.h
13933 (R_MN10300_TLS_GD): Define.
13934 (R_MN10300_TLS_LD): Likewise.
13935 (R_MN10300_TLS_LDO): Likewise.
13936 (R_MN10300_TLS_GOTIE): Likewise.
13937 (R_MN10300_TLS_IE): Likewise.
13938 (R_MN10300_TLS_LE): Likewise.
13939 (R_MN10300_TLS_DTPMOD): Likewise.
13940 (R_MN10300_TLS_DTPOFF): Likewise.
13941 (R_MN10300_TLS_TPOFF): Likewise.
13942 (R_MN10300_SYM_DIFF): Likewise.
13943 (R_MN10300_ALIGN): Likewise.
13944 (R_MN10300_NUM): Update.
13945
b36137f1
JM
139462012-08-08 Joseph Myers <joseph@codesourcery.com>
13947
13948 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13949 Remove.
13950
cdd915fd
RM
139512012-08-08 Roland McGrath <roland@hack.frob.com>
13952
a2433aac
RM
13953 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13954
cdd915fd
RM
13955 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13956 sysdeps/unix -> sysdeps/posix move.
13957 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13958
bf9b740a
AM
139592012-08-07 Allan McRae <allan@archlinux.org>
13960
13961 [BZ #14303]
13962 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13963 (SUNOS_CPP): Likewise.
13964 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13965 not found.
13966 (open_input): Call CPP using execvp.
13967
93df14ee
JM
139682012-08-07 Joseph Myers <joseph@codesourcery.com>
13969
13970 * sysdeps/unix/sysv/linux/kernel-features.h
13971 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13972 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13973 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13974 (__ASSUME_WAITID_SYSCALL): Likewise.
13975 * sysdeps/unix/sysv/linux/dl-execstack.c
13976 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13977 code unconditional.
13978 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13979 conditional code.
13980 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13981 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13982 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13983 code.
13984 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13985 unconditional.
13986 [__ASSUME_WAITID_SYSCALL]: Likewise.
13987 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13988
d34689de
RM
139892012-08-07 Roland McGrath <roland@hack.frob.com>
13990
a281decc
RM
13991 * sysdeps/unix/closedir.c: Renamed to ...
13992 * sysdeps/posix/closedir.c: ... here.
13993 * sysdeps/unix/dirfd.c: Renamed to ...
13994 * sysdeps/posix/dirfd.c: ... here.
13995 * sysdeps/unix/dirstream.h: Renamed to ...
13996 * sysdeps/posix/dirstream.h: ... here.
13997 * sysdeps/unix/fdopendir.c: Renamed to ...
13998 * sysdeps/posix/fdopendir.c: ... here.
13999 * sysdeps/unix/opendir.c: Renamed to ...
14000 * sysdeps/posix/opendir.c: ... here.
14001 * sysdeps/unix/readdir.c: Renamed to ...
14002 * sysdeps/posix/readdir.c: ... here.
14003 * sysdeps/unix/readdir_r.c: Renamed to ...
14004 * sysdeps/posix/readdir_r.c: ... here.
14005 * sysdeps/unix/rewinddir.c: Renamed to ...
14006 * sysdeps/posix/rewinddir.c: ... here.
14007 * sysdeps/unix/seekdir.c: Renamed to ...
14008 * sysdeps/posix/seekdir.c: ... here.
14009 * sysdeps/unix/telldir.c: Renamed to ...
14010 * sysdeps/posix/telldir.c: ... here.
14011 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14012 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14013 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14014 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14015
22895b47
RM
14016 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14017 * bits/fcntl.h: ... here.
14018
707a53b6
RM
14019 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14020 not 0.
14021 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14022 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14023 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14024 (struct flock): Move l_start, l_len to the beginning.
14025 Use __pid_t for l_pid.
14026 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14027 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14028 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14029 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14030 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14031 [__USE_LARGEFILE64] (struct flock64): New type.
14032 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14033
f0bd3e25
RM
14034 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14035 * bits/dirent.h: ... here.
14036
d34689de
RM
14037 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14038 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14039
6dad2c06
JM
140402012-08-07 Joseph Myers <joseph@codesourcery.com>
14041
14042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14043 Change from 2.6.0 to 2.6.16.
14044 * sysdeps/unix/sysv/linux/configure: Regenerated.
14045 * sysdeps/unix/sysv/linux/kernel-features.h
14046 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14047 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14048 version.
14049 (__ASSUME_UTIMES): Likewise.
14050 (__ASSUME_CLONE_STOPPED): Remove.
14051 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14052 architectures, not kernel version.
14053 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14054 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14055 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14056 (__ASSUME_WAITID_SYSCALL): Likewise.
14057 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14058 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14059 * README: State 2.6.16 as minimum Linux kernel version. Do not
14060 refer to older versions.
14061
03af9520
RM
140622012-08-06 Roland McGrath <roland@hack.frob.com>
14063
8e49df1d
RM
14064 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14065 Define alphasort64 as an alias.
14066 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14067 Define versionsort64 as an alias.
14068 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14069 Define scandir64 as an alias.
14070 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14071 Define scandirat64 as an alias.
14072 * dirent/alphasort64.c (alphasort64):
14073 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14074 * dirent/versionsort64.c: Likewise.
14075 * dirent/scandir64.c: Likewise.
14076 * dirent/scandirat64.c: Likewise.
14077 * sysdeps/wordsize-64/alphasort.c: File removed.
14078 * sysdeps/wordsize-64/alphasort64.c: File removed.
14079 * sysdeps/wordsize-64/scandir.c: File removed.
14080 * sysdeps/wordsize-64/scandir64.c: File removed.
14081 * sysdeps/wordsize-64/scandirat.c: File removed.
14082 * sysdeps/wordsize-64/scandirat64.c: File removed.
14083 * sysdeps/wordsize-64/versionsort.c: File removed.
14084 * sysdeps/wordsize-64/versionsort64.c: File removed.
14085 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14086 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14087 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14088 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14089 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14090 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14091 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14093
14094 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14096 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14098 [defined __arch64__ || defined __sparcv9]
14099 (__INO_T_MATCHES_INO64_T): New macro.
14100 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14101 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14102 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14103 * sysdeps/unix/sysv/linux/bits/dirent.h
14104 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14105 (_DIRENT_MATCHES_DIRENT64): New macro.
14106
03af9520
RM
14107 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14108 Define lockf64 as an alias.
14109 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14110 Define fseeko64 as an alias.
14111 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14112 Define ftello64 as an alias.
14113 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14114 Define _IO_fgetpos64 and fgetpos64 as aliases.
14115 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14116 Define _IO_fsetpos64 and fsetpos64 as aliases.
14117 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14118 Conditionalize body on this.
14119 * libio/fseeko64.c: Likewise.
14120 * libio/ftello64.c: Likewise.
14121 * libio/iofgetpos64.c: Likewise.
14122 * libio/iofsetpos64.c: Likewise.
14123 * sysdeps/wordsize-64/lockf.c: File removed.
14124 * sysdeps/wordsize-64/lockf64.c: File removed.
14125 * sysdeps/wordsize-64/fseeko.c: File removed.
14126 * sysdeps/wordsize-64/fseeko64.c: File removed.
14127 * sysdeps/wordsize-64/ftello.c: File removed.
14128 * sysdeps/wordsize-64/ftello64.c: File removed.
14129 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14130 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14131 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14132 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14133 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14135 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14136 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14137 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14138 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14139 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14143
14144 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14146 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14148 [defined __arch64__ || defined __sparcv9]
14149 (__OFF_T_MATCHES_OFF64_T): New macro.
14150 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14151 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14153 (__OFF_T_MATCHES_OFF64_T): New macro.
14154
c5757acd
L
141552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14156
14157 * stdlib/secure-getenv.c (__secure_getenv): Replace
14158 GLIBC_2_16 with GLIBC_2_17.
14159
3a31811e
L
141602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14161
14162 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14164
faa2bccb
DM
141652012-08-03 David S. Miller <davem@davemloft.net>
14166
14167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14168
85fe1997
JM
141692012-08-03 Joseph Myers <joseph@codesourcery.com>
14170
14171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14172 Remove.
14173 (__ASSUME_CORRECT_SI_PID): Likewise.
14174 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14175 (__ASSUME_TMPFS_NAME): Likewise.
14176 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14177 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14178 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14179 (HAVE_AUX_SECURE): Make definition unconditional.
14180 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14181 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14182
4f75b7a0
RM
141832012-08-03 Roland McGrath <roland@hack.frob.com>
14184
14185 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14186 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14187 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14188 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14189 __eloop_threshold instead of SYMLOOP_MAX.
14190
14191 * sysdeps/generic/eloop-threshold.h: New file.
14192 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14193 of MAXSYMLINKS.
14194 * elf/chroot_canon.c (chroot_canon): Likewise.
14195
7aab07e4
JM
141962012-08-03 Joseph Myers <joseph@codesourcery.com>
14197
14198 [BZ #13717]
14199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14200 Change to 2.6.0 everywhere.
14201 * sysdeps/unix/sysv/linux/configure: Regenerated.
14202 * sysdeps/unix/sysv/linux/kernel-features.h
14203 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14204 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14205 kernel versions.
14206 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14207 (__ASSUME_FUTEX_REQUEUE): Remove.
14208 (__ASSUME_STATFS64): Define unconditionally.
14209 (__ASSUME_AT_SECURE): Likewise.
14210 (__ASSUME_CORRECT_SI_PID): Likewise.
14211 (__ASSUME_TGKILL): Define without depending on kernel version for
14212 i386.
14213 (__ASSUME_UTIMES): Likewise.
14214 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14215 kernel version.
14216 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14217 (__ASSUME_TMPFS_NAME): Likewise.
14218 * README: Update reference to Linux kernel versions.
14219
b67e9372
MP
142202012-08-02 Marek Polacek <polacek@redhat.com>
14221
1f529f7d 14222 [BZ# 14150]
b67e9372
MP
14223 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14224 libc_cv_asm_type_prefix with %.
14225 * configure: Regenerated.
d2441631
RM
14226 * include/libc-symbols.h: Remove comment about
14227 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14228 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14229 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14230 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14231 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14232 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14233 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14234 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14235 * elf/tst-unique2mod1.c: Likewise.
14236 * elf/tst-unique1mod2.c: Likewise.
14237 * elf/tst-unique1mod1.c: Likewise.
14238 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14239 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14240 Replace ASM_TYPE_DIRECTIVE with .type.
14241 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14242 * sysdeps/i386/sysdep.h: Likewise.
14243 * sysdeps/x86_64/sysdep.h: Likewise.
14244 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14246 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14247 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14248 * sysdeps/powerpc/powerpc32/sysdep.h:
14249 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14250 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14251 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14252 * sysdeps/i386/fpu/e_powf.S: Likewise.
14253 * sysdeps/i386/fpu/e_expl.S: Likewise.
14254 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14255 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14256 * sysdeps/i386/fpu/e_pow.S: Likewise.
14257 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14259 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14260 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14261 * sysdeps/i386/fpu/e_log2.S: Likewise.
14262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14263 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14264 * sysdeps/i386/fpu/e_powl.S: Likewise.
14265 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14266 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14267 * sysdeps/i386/fpu/e_logl.S: Likewise.
14268 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14269 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14270 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14271 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14272 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14273 * sysdeps/i386/fpu/e_log.S: Likewise.
14274 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14275 * sysdeps/i386/fpu/e_logf.S: Likewise.
14276 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14277 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14278 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14279 * sysdeps/i386/fpu/e_log10.S: Likewise.
14280 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14281 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14282 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14283 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14284 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14285 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14286 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14287 * sysdeps/i386/i686/strtok.S: Likewise.
14288 * sysdeps/i386/i386-mcount.S: Likewise.
14289 * sysdeps/i386/strtok.S: Likewise.
14290 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14291 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14293 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14294 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14296 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14297 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14298 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14299 * sysdeps/x86_64/_mcount.S: Likewise.
14300 * sysdeps/x86_64/strtok.S: Likewise.
14301 * sysdeps/sh/_mcount.S: Likewise.
14302
2747bf9a
RM
143032012-08-01 Roland McGrath <roland@hack.frob.com>
14304
14305 * libio/iofopen.c: Include <fcntl.h>.
14306 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14307 (_IO_fopen64, fopen64): Define as aliases.
14308 * libio/iofopen64.c: Include <fcntl.h>.
14309 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14310 Conditionalize body on this.
14311 * sysdeps/wordsize-64/iofopen.c: File removed.
14312 * sysdeps/wordsize-64/iofopen64.c: File removed.
14313
3fb791b8
MP
143142012-08-01 Marek Polacek <polacek@redhat.com>
14315
14316 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14317 Use dlfcn directly instead of a variable.
14318 (binfmt-subdir): Do not define.
14319 (dlfcn): Likewise.
14320
a9f1039f
JM
143212012-08-01 Joseph Myers <joseph@codesourcery.com>
14322
23bddc06
JM
14323 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14324 Remove all definitions.
14325 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14326 <kernel-features.h>.
14327 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14328 (miss_F_GETOWN_EX): Remove all definitions.
14329 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14330 macro definition.
14331 [!__ASSUME_FCNTL64]: Remove conditional code.
14332 [__ASSUME_FCNTL64]: Make code unconditional.
14333 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14334 <kernel-features.h>.
14335 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14336 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14337 (lockf64) [__NR_fcntl64]: Make code unconditional.
14338 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14339
a9f1039f
JM
14340 * sysdeps/unix/sysv/linux/kernel-features.h
14341 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14342 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14343 Make code unconditional.
14344 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14345 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14347 [__NR_vfork]: Make code unconditional.
14348 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14349 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14351 [__NR_vfork]: Make code unconditional.
14352 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14353 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14354
09c0ee5f
RM
143552012-08-01 Roland McGrath <roland@hack.frob.com>
14356
48aec5b9
RM
14357 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14358 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14359
cd97c966
RM
14360 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14361 Define mkstemp64 as an alias.
3f55550c
RM
14362 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14363 Define mkstemps64 as an alias.
cd97c966
RM
14364 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14365 Define mkostemp64 as an alias.
b8625cfc
RM
14366 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14367 Define mkostemps64 as an alias.
cd97c966
RM
14368 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14369 Conditionalize body on this.
14370 * misc/mkostemp64.c: Likewise.
b8625cfc 14371 * misc/mkostemps64.c: Likewise.
3f55550c 14372 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14373 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14374 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14375 * sysdeps/wordsize-64/mkostemp.c: File removed.
14376 * sysdeps/wordsize-64/mkstemp.c: File removed.
14377 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14381
09c0ee5f
RM
14382 [BZ #14138]
14383 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14384 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14385 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14386 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14387
14388 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14389 compat_symbol macros from <shlib-compat.h> rather than the underlying
14390 default_symbol_version and symbol_version macros, so that DEFAULT
14391 lines in shlib-versions are respected.
14392 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14393
7e66ee51
FW
143942012-08-01 Florian Weimer <fweimer@redhat.com>
14395
14396 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14397 Declare with warn_unused_result.
14398 (setgid, setregid, setegid, setresgid): Likewise.
14399 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14400 Likewise.
14401 * WUR-REPORT: Remove set*id functions.
14402
d2a54255
PT
144032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14404
14405 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14406
7ecdb005
RM
144072012-07-31 Roland McGrath <roland@hack.frob.com>
14408
b4180a5e 14409 [BZ #10191]
789bd351
RM
14410 * include/sys/socket.h (__libc_accept, __libc_accept4):
14411 Add attribute_hidden.
14412 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14413
40ce302d
RM
14414 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14415 use of PTR_MANGLE.
14416 * inet/getnetgrent_r.c (setup): Likewise.
14417
7ecdb005
RM
14418 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14419
e2eabb2c
DM
144202012-07-31 David S. Miller <davem@davemloft.net>
14421
14422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14423
d0419dbf
JM
144242012-07-31 Joseph Myers <joseph@codesourcery.com>
14425
14426 [BZ #13629]
14427 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14428 value between 1.0 and 2.0 and smaller part has absolute value less
14429 than 1.0.
14430 * math/s_clog10.c (__clog10): Likewise.
14431 * math/s_clog10f.c (__clog10f): Likewise.
14432 * math/s_clog10l.c (__clog10l): Likewise.
14433 * math/s_clogf.c (__clogf): Likewise.
14434 * math/s_clogl.c (__clogl): Likewise.
14435 * math/libm-test.inc (clog_test): Add more tests.
14436 (clog10_test): Likewise.
14437 * sysdeps/i386/fpu/libm-test-ulps: Update.
14438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14439
2bc13872
FW
144402012-07-31 Florian Weimer <fweimer@redhat.com>
14441
14442 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14443 Exit with zero in case no suitable GID is found, and write a
14444 message to standard error.
14445
bea9b193
RM
144462012-07-30 Roland McGrath <roland@hack.frob.com>
14447
14448 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14449 rather than to 1.
14450 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14451 (MAXPATHLEN): Removed.
14452 (NOGROUP, NODEV): New macros.
14453 (setbit, clrbit, isset, isclr): New macros.
14454 (howmany, roundup, powerof2): New macros.
14455 (DEV_BSIZE): New macro.
14456
14457 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14458 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14459
14460 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14461 definition on [!__NO_LONG_DOUBLE_MATH].
14462
14463 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14464 PTR_MANGLE and PTR_DEMANGLE.
14465
14466 * socket/accept4.c (accept4): Rename to __libc_accept4.
14467 Define accept4 as a weak alias.
14468
14469 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14470 on [_DIRENT_HAVE_D_TYPE].
14471 * io/ftw.c (ftw_dir): Likewise.
14472
14473 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14474
14475 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14476
14477 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14478 Use the BSD numbers rather than the arbitrary ones we had.
14479 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14480 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14481 (SIGXCPU, SIGXFSZ): New macros.
14482 (_NSIG): Now 32.
14483
14484 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14485 initializer on [_LIBC_REENTRANT].
14486
14487 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14488 definitions inside [_POSIX_MAPPED_FILES].
14489
14490 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14491
14492 * dirent/opendir.c: Include <fcntl.h>.
14493
14494 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14495 (__libc_getspecific): Likewise.
14496 (__libc_key_create): Likewise.
14497
14498 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14499 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14500 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14501 (tmpfile64): Define as alias.
14502 * sysdeps/wordsize-64/tmpfile.c: File removed.
14503 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14504 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14506
14507 * stdio-common/vfscanf.c: Include <stdbool.h>.
14508 * nss/makedb.c: Likewise.
14509 * stdio-common/_i18n_number.h: Likewise.
14510 * argp/argp-help.c: Likewise.
14511 * posix/wordexp.c: Likewise.
14512 * sysdeps/posix/spawni.c: Likewise.
14513 * nss/nss_files/files-initgroups.c: Likewise.
14514 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14515 * nss/nss_files/files-initgroups.c: Likewise.
14516 * nss/nss_db/db-netgrp.c: Likewise.
14517 * nss/nss_db/db-initgroups.c: Likewise.
14518 * io/fchmodat.c: Include <sys/stat.h>.
14519
14520 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14521 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14522
14523 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14524 [HAVE_MMAP].
14525
14526 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14527 Add multiple inclusion protection.
14528
e5abc686
DM
145292012-07-27 David S. Miller <davem@davemloft.net>
14530
14531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14532
815e6fa3
GB
145332012-07-27 Gary Benson <gbenson@redhat.com>
14534
14535 [BZ #14298]
14536 * elf/rtld.c: Include <stap-probe.h>.
14537 (dl_main): Added static probes "init_start" and "init_complete".
14538 * elf/dl-load.c: Include <stap-probe.h>.
14539 (lose): Take new parameter "nsid".
14540 Added static probe "map_failed".
14541 (_dl_map_object_from_fd): Pass namespace id to lose.
14542 Added static probe "map_start".
14543 (open_verify): Pass namespace id to lose.
14544 * elf/dl-open.c: Include <stap-probe.h>.
14545 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14546 and "reloc_complete".
14547 * elf/dl-close.c: Include <stap-probe.h>.
14548 (_dl_close_worker): Added static probes "unmap_start" and
14549 "unmap_complete".
14550 * elf/rtld-debugger-interface.txt: New file documenting the above.
14551
9f98c16c
RM
145522012-07-26 Roland McGrath <roland@hack.frob.com>
14553
14554 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14555 rather than a string variable.
14556 * sunrpc/rpc_main.c (h_output): Likewise.
14557 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14558
f3c22df3
PT
145592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14560
14561 * inet/check_native.c: New file.
14562
3129cfc6
JM
145632012-07-26 Joseph Myers <joseph@codesourcery.com>
14564
da865e95
JM
14565 [BZ #13629]
14566 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14567 if larger part has absolute value 1.0.
14568 * math/s_clog10.c (__clog10): Likewise.
14569 * math/s_clog10f.c (__clog10f): Likewise.
14570 * math/s_clog10l.c (__clog10l): Likewise.
14571 * math/s_clogf.c (__clogf): Likewise.
14572 * math/s_clogl.c (__clogl): Likewise.
14573 * math/libm-test.inc (clog_test): Add more tests.
14574 (clog10_test): Likewise.
14575 * sysdeps/i386/fpu/libm-test-ulps: Update.
14576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14577
3129cfc6
JM
14578 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14579 (pltexit): Likewise.
14580 (La_regs): Likewise.
14581 (La_retval): Likewise.
14582 (int_retval): Likewise.
14583 Update #error for removed macros to refer only to definitions in
14584 tst-audit.h.
14585 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14586 macro.
14587 (pltexit): Likewise.
14588 (La_regs): Likewise.
14589 (La_retval): Likewise.
14590 (int_retval): Likewise.
14591 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14592 macro.
14593 (pltexit): Likewise.
14594 (La_regs): Likewise.
14595 (La_retval): Likewise.
14596 (int_retval): Likewise.
14597 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14598 macro.
14599 (pltexit): Likewise.
14600 (La_regs): Likewise.
14601 (La_retval): Likewise.
14602 (int_retval): Likewise.
14603 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14604 macro.
14605 (pltexit): Likewise.
14606 (La_regs): Likewise.
14607 (La_retval): Likewise.
14608 (int_retval): Likewise.
14609 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14610 macro.
14611 (pltexit): Likewise.
14612 (La_regs): Likewise.
14613 (La_retval): Likewise.
14614 (int_retval): Likewise.
14615 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14616 macro.
14617 (pltexit): Likewise.
14618 (La_regs): Likewise.
14619 (La_retval): Likewise.
14620 (int_retval): Likewise.
14621 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14622 macro definitions in tst-audit.h.
14623 * sysdeps/i386/tst-audit.h: New file.
14624 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14625 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14626 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14627 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14628 * sysdeps/sh/tst-audit.h: Likewise.
14629 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14630 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14631 * sysdeps/x86_64/tst-audit.h: Likewise.
14632
bfc07087
AJ
146332012-07-26 Andreas Jaeger <aj@suse.de>
14634
b1b2aaf8
AJ
14635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14636 ptrace.
14637
14638 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14639 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14640 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14641 PTRACE_O_MASK.
14642 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14643 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14644 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14645
bfc07087
AJ
14646 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14647 value.
14648
14649 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14650 _sigsys.
14651 (si_call_addr, si_syscall, si_arch): Define new macro.
14652 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14653 _sigsys.
14654 (si_call_addr, si_syscall, si_arch): Define new marcro.
14655 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14656 _sigsys.
14657 (si_call_addr, si_syscall, si_arch): Define new macro.
14658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14659 _sigsys.
14660 (si_call_addr, si_syscall, si_arch): Define new macro.
14661
89b4b02f
JM
146622012-07-25 Joseph Myers <joseph@codesourcery.com>
14663
14664 [BZ #13717]
14665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14666 Change to 2.4.21 where previously 2.4.1.
14667 * sysdeps/unix/sysv/linux/configure: Regenerated.
14668 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14669 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14670 Linux kernel version.
14671 (__ASSUME_STD_AUXV): Remove.
14672 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14673 kernel version.
14674 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14675 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14676 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14677 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14678 (__ASSUME_NETLINK_SUPPORT): Likewise.
14679 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14680 (__no_netlink_support): Remove conditional definition.
14681 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14682 Remove.
14683 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14684 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14685 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14686 (if_nameindex_ioctl): Remove.
14687 (if_nameindex_netlink): Do not handle __no_netlink_support.
14688 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14689 code.
14690 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14691 Remove conditional code.
14692 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14693 code.
14694 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14695 unconditional.
14696 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14697 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14698 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14699 Remove.
14700 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14701 [!__ASSUME_STD_AUXV]: Remove conditional code.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14703 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14704 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14706 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14707 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14708 code.
14709 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14711 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14712 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14713 conditional code.
14714 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14716 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14717 code.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14719 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14720 conditional code.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14722 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14723 code unconditional.
14724 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14725 conditional code.
14726 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14727 unconditional.
14728 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14729 conditional code.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14731 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14732 unconditional.
14733 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14734 conditional code.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14736 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14737 code unconditional.
14738 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14739 conditional code.
14740 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14741 unconditional.
14742 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14743 conditional code.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14745 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14746 code unconditional.
14747 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14748 conditional code.
14749 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14750 unconditional.
14751 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14752 conditional code.
14753
842a39cd
AS
147542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14755
14756 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14757 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14758 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14759 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14760 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14761 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14762 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14763 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14764 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14765 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14766 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14767 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14768 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14769 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14771 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14772 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14774 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14776 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14777 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14778 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14779
84b3fd84
FW
147802012-07-25 Florian Weimer <fweimer@redhat.com>
14781
14782 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14783 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14784 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14785 Introduce __libc_secure_getenv.
0c7936d5
FW
14786 * stdlib/Versions (2.17): Add secure_getenv
14787 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14788 * stdlib/secure-getenv.c: Rename __secure_getenv to
14789 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14790 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14791 * stdlib/tst-secure-getenv.c: New.
14792 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14793 * manual/startup.texi (Environment Access): Document
14794 secure_getenv.
84b3fd84
FW
14795 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14796 __libc_secure_getenv.
14797 * inet/ruserpass.c (ruserpass): Likewise.
14798 * malloc/mtrace.c (mtrace): Likewise.
14799 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14800 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14801 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14802 * sysdeps/posix/tempname.c: Likewise. Evaluate
14803 HAVE_SECURE_GETENV.
14804 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14805 __secure_getenv to __libc_secure_getenv.
84b3fd84 14806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14808 Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14810 Likewise.
14811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14818
56e49b71
JM
148192012-07-25 Joseph Myers <joseph@codesourcery.com>
14820
14821 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14822 (struct La_i86_retval): Likewise.
14823 (struct La_x86_64_regs): Likewise.
14824 (struct La_x86_64_retval): Likewise.
14825 (struct La_x32_regs): Likewise.
14826 (struct La_x32_retval): Likewise.
14827 (struct La_ppc32_regs): Likewise.
14828 (struct La_ppc32_retval): Likewise.
14829 (struct La_ppc64_regs): Likewise.
14830 (struct La_ppc64_retval): Likewise.
14831 (struct La_sh_regs): Likewise.
14832 (struct La_sh_retval): Likewise.
14833 (struct La_s390_32_regs): Likewise.
14834 (struct La_s390_32_retval): Likewise.
14835 (struct La_s390_64_regs): Likewise.
14836 (struct La_s390_64_retval): Likewise.
14837 (struct La_sparc32_regs): Likewise.
14838 (struct La_sparc32_retval): Likewise.
14839 (struct La_sparc64_regs): Likewise.
14840 (struct La_sparc64_retval): Likewise.
14841 (struct audit_ifaces): Remove architecture-specific pltenter and
14842 pltexit members.
14843 * sysdeps/i386/ldsodefs.h: New file.
14844 * sysdeps/powerpc/ldsodefs.h: Likewise.
14845 * sysdeps/s390/ldsodefs.h: Likewise.
14846 * sysdeps/sh/ldsodefs.h: Likewise.
14847 * sysdeps/sparc/ldsodefs.h: Likewise.
14848 * sysdeps/x86_64/ldsodefs.h: Likewise.
14849
354691b7
MP
148502012-07-25 Marek Polacek <polacek@redhat.com>
14851
14852 [BZ #6808]
14853 * math/libm-test.inc (yn_test): Add another test.
14854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14855 to ERANGE when the result is +-Inf.
14856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14857 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14858 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14859 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14860
bf9e2071
JM
148612012-07-24 Joseph Myers <joseph@codesourcery.com>
14862
14863 * conform/data/time.h-data (NULL): Use macro-constant. Require
14864 equal to 0.
14865 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14866 clock_t.
14867 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14868
57633811
TS
148692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14870
14871 * configure.in <sysdeps resolving>: Correct printing
14872 Implies_before.
14873 * configure: Regenerate.
14874
c23c33b0
TS
148752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14876
14877 * math/w_ilogb.c: Include <limits.h>.
14878 * math/w_ilogbl.c: Likewise.
14879
b5982523
JM
148802012-07-20 Joseph Myers <joseph@codesourcery.com>
14881
14882 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14883 va_copy. Document allowing for unavailable va_copy only as
14884 pre-C99 compatibility.
14885 * manual/string.texi (Copying and Concatenation): Use va_copy
14886 instead of __va_copy in concat example.
14887
ac4ea442
PT
148882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14889
14890 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14891 (__sendto): Use create_address_port. Initialize APORT and deallocate
14892 it if not null.
14893
f98eafbd
PT
14894 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14895 with O_NOLINK passed to __file_name_lookup.
14896
898c7aab
PT
14897 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14898 with O_NOLINK passed to __file_name_lookup.
14899
0ced335a
PT
14900 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14901 negative N or less than NGIDS.
14902
b3404dbd
PT
14903 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14904 type to string_t. Set ERANGE as errno and return it if NAME is not big
14905 enough. Use memcpy instead of strncpy.
14906
0f48659e
JM
149072012-07-20 Joseph Myers <joseph@codesourcery.com>
14908
14909 * elf/Makefile (check-data): Remove.
14910 (localplt.data): New vpath directive.
14911 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14912 instead of $(check-data).
14913 * scripts/data/localplt-generic.data: Move to ...
14914 * sysdeps/generic/localplt.data: ... here.
14915 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14916 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14917 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14919 ... here.
14920 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14922 ... here.
14923 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14925 ... here.
14926 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14928 ... here.
14929 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14931 ... here.
14932 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14934 ... here.
14935
d37cbdaa
AZ
149362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14937
14938 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14939 PPC32 and PPC64 files.
14940 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14941 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14942
46f85fc2
AK
149432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14944
14945 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14946 __makecontext_ret to ...
14947 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14948 ... here and call exit if uc_link is NULL. New file.
14949 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14950 __makecontext_ret.S.
14951 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14952 __makecontext_ret to ...
14953 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14954 ... here and call exit if uc_link is NULL. New file.
14955 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14956 __makecontext_ret.S.
14957
08f43f9b
AK
149582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14959
14960 * elf/elf.h (R_390_IRELATIVE): New definition.
14961 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14962 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14963 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14964 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14965 (elf_machine_lazy_rel): Likewise.
14966 * sysdeps/s390/dl-irel.h: New file.
14967 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14968 * sysdeps/s390/s390-64/memset.S: New asm code.
14969 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14970 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14972 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14973 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14974 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14975 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14976 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14977 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14978 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14979 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14980 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14981 * sysdeps/s390/s390-32/memset.S: New asm code.
14982 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14983
3b05db33
MP
149842012-07-17 Marek Polacek <polacek@redhat.com>
14985
14986 [BZ #14349]
14987 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14988 * sysdeps/s390/s390-64/configure.in: Likewise.
14989 * sysdeps/sparc/configure.in: Likewise.
14990 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14991 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14992 * sysdeps/i386/configure.in: Likewise.
14993 * sysdeps/x86_64/configure.in: Likewise.
14994 * sysdeps/sh/configure.in: Likewise.
14995 * sysdeps/s390/s390-32/configure: Regenerated.
14996 * sysdeps/s390/s390-64/configure: Likewise.
14997 * sysdeps/x86_64/configure: Likewise.
14998 * sysdeps/sh/configure: Likewise.
14999 * sysdeps/powerpc/powerpc64/configure: Likewise.
15000 * sysdeps/powerpc/powerpc32/configure: Likewise.
15001 * sysdeps/sparc/configure: Likwise.
15002 * sysdeps/i386/configure: Likewise.
15003
a66877c6
MP
15004 * elf/dl-open.c: Comment fixes.
15005
cfc82fd8
JM
150062012-07-17 Joseph Myers <joseph@codesourcery.com>
15007
bd29910a
JM
15008 * Makefile [CXX] (check-data): Remove.
15009 [CXX] (c++-types.data): New vpath directive.
15010 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15011 vpath. Do not allow for C++ type data being missing.
15012 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15013 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15014 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15015 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15016 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15017 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15018 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15020 ... here.
15021 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15023 ... here.
15024 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15026 ... here.
15027 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15029 ... here.
15030 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15032 ... here.
15033 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15035 ... here.
15036 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15038 ... here.
15039 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15041
cfc82fd8
JM
15042 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15043 definitions to architecture-specific files.
15044 (TLS_IE): Likewise.
15045 (TLS_LD): Likewise.
15046 (TLS_GD): Likewise.
15047 * sysdeps/i386/tls-macros.h: New file.
15048 * sysdeps/powerpc/tls-macros.h: Likewise.
15049 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15050 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15051 * sysdeps/sh/tls-macros.h: Likewise.
15052 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15053 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15054 * sysdeps/x86_64/tls-macros.h: Likewise.
15055
f7db3170
TS
150562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15057
07cbfc23
TS
15058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15059 zero value for regular exit case.
15060
f7db3170
TS
15061 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15062 (__start_context): Preserve zero value for regular exit case.
15063
dc97c227
TS
150642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15065 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15066
15067 * manual/setjmp.texi (setcontext): Clarify normal process
15068 termination when uc_link is the null pointer.
15069 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15070 exit call.
15071
d0cd7d02
AS
150722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15073
15074 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15075 preprocessor. Test for each exception mask separately.
15076
dd318934
AJ
150772012-07-16 Andreas Jaeger <aj@suse.de>
15078
15079 * po/ru.po: Update from translation team.
15080
8048311a
JM
150812012-07-15 Joseph Myers <joseph@codesourcery.com>
15082
15083 * conform/data/string.h-data (NULL): Use macro-constant. Require
15084 equal to 0.
15085 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15086 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15087 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15088 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15090
b637d46e
AJ
150912012-07-13 Andreas Jaeger <aj@suse.de>
15092
15093 * po/fr.po: Update from translation team.
15094
541428fe
MP
150952012-07-12 Marek Polacek <polacek@redhat.com>
15096
15097 [BZ #14173]
15098 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15099 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15100 loop condition.
15101
ec332e94
JM
151022012-07-12 Joseph Myers <joseph@codesourcery.com>
15103
15104 [BZ #13717]
15105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15106 Change to 2.4.1 where previously 2.4.0.
15107 * sysdeps/unix/sysv/linux/configure: Regenerated.
15108 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15109 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15110 version.
15111 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15112 (__ASSUME_AT_CLKTCK): Remove.
15113 (__ASSUME_AT_PAGESIZE): Likewise.
15114 (__ASSUME_AT_XID): Likewise.
15115 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15116 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15117 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15118 unconditionally.
15119 (HAVE_AUX_PAGESIZE): Likewise.
15120 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15121 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15122 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15123
7b6e99be
JB
151242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15125
15126 [BZ #14307]
15127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15128 the temporary buffer used to invoke __gethostbyname2_r,
15129 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15130 host_data / struct gaih_addrtuple.
15131 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15132 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15133 header file nss/nsswitch.h.
15134 * nss/nsswitch.h (global scope): Add definition of implementation
15135 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15136 resolv/nss_dns/dns-host.c).
15137
608404eb
AJ
151382012-07-11 Andreas Jaeger <aj@suse.de>
15139
15140 * po/fr.po: Update from translation team.
15141
71220aca
AJ
15142 * po/sv.po: Update from translation team
15143 * po/fr.po: Another update from translation team.
15144
28cfe843
AZ
151452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15146
15147 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15148 for subnormals or multiply small sinh result by itself.
15149 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15151
6b90f981
DM
151522012-07-11 David S. Miller <davem@davemloft.net>
15153
15154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15155
c6825772
AS
151562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15157
15158 [BZ #14347]
15159 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15160 (INTERNAL_MARK): Shift it here.
15161
7b8e0d49
MP
151622012-07-10 Marek Polacek <polacek@redhat.com>
15163
15164 [BZ #14151]
15165 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15166 libc_cv_asm_global_directive with .globl.
15167 * configure: Regenerated.
15168 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15169 with .globl.
15170 * sysdeps/i386/configure: Regenerated.
15171 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15172 with .globl.
15173 * sysdeps/x86_64/configure: Regenerated.
15174 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15175 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15176 * elf/tst-unique2mod2.c: Likewise.
15177 * elf/tst-unique2mod1.c: Likewise.
15178 * elf/tst-unique1mod2.c: Likewise.
15179 * elf/tst-unique1mod1.c: Likewise.
15180 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15181 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15182 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15183 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15184 * sysdeps/mach/sysdep.h: Likewise.
15185 * sysdeps/i386/sysdep.h: Likewise.
15186 * sysdeps/i386/i386-mcount.S: Likewise.
15187 * sysdeps/x86_64/_mcount.S: Likewise.
15188 * sysdeps/x86_64/sysdep.h: Likewise.
15189 * sysdeps/sh/_mcount.S: Likewise.
15190 * sysdeps/sh/sysdep.h: Likewise.
15191 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15192 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15193 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15194 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15195 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15196 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15197 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15198 * locale/localeinfo.h: Likewise.
15199 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15200 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15201
6c55cda3
RM
152022012-07-09 Roland McGrath <roland@hack.frob.com>
15203
15204 [BZ #14336]
15205 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15206 system".
15207 * manual/message.texi (The Uniforum approach): Likewise.
15208 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15209 (glibc iconv Implementation): Likewise.
15210
638a572e
JM
152112012-07-09 Joseph Myers <joseph@codesourcery.com>
15212
15213 [BZ #14337]
15214 * math/s_clog.c (__clog): Avoid scaling a value down where that
15215 could result in underflow.
15216 * math/s_clog10.c (__clog10): Likewise.
15217 * math/s_clog10f.c (__clog10f): Likewise.
15218 * math/s_clog10l.c (__clog10l): Likewise.
15219 * math/s_clogf.c (__clogf): Likewise.
15220 * math/s_clogl.c (__clogl): Likewise.
15221 * math/libm-test.inc (clog_test): Add more tests.
15222 (clog10_test): Likewise.
15223 * sysdeps/i386/fpu/libm-test-ulps: Update.
15224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15225
261f4859
AS
152262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15227
0abaf3e4
AS
15228 [BZ #14283]
15229 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15230 by 7 not 8 to examine high bit of fractional part.
15231
261f4859
AS
15232 [BZ #14042]
15233 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15234 for call to __mcount_internal.
15235 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15236 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15237 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15238
f17ac40d
JM
152392012-07-06 Joseph Myers <joseph@codesourcery.com>
15240
9ad63c23
JM
15241 [BZ #14154]
15242 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15243 approximation for values within 0x1p-13f of an odd multiple of
15244 pi/4.
15245 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15246 exception. Add more tests.
15247 * sysdeps/i386/fpu/libm-test-ulps: Update.
15248
f17ac40d
JM
15249 [BZ #6778]
15250 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15251 inputs and return -1 for them. Do not check for +Inf in case not
15252 reachable for +Inf.
15253 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15254 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15256 and return -1 for them. Do not check for +Inf in case not
15257 reachable for +Inf.
15258 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15259 define.
15260 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15261 and return -1 for them. Do not check for +Inf in case not
15262 reachable for +Inf.
15263 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15264 spurious underflow.
15265 * sysdeps/i386/fpu/libm-test-ulps: Update.
15266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15267
fb21f89b
MF
152682012-07-06 Mike Frysinger <vapier@gentoo.org>
15269
15270 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15271
cdfe2c5e
JM
152722012-07-05 Joseph Myers <joseph@codesourcery.com>
15273
15274 [BZ #14157]
15275 [BZ #14331]
15276 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15277 could result in spurious underflow. Scale down values above
15278 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15279 * math/s_csqrtf.c (__csqrtf): Likewise.
15280 * math/s_csqrtl.c (__csqrtl): Likewise.
15281 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15282 spurious underflow.
15283 * sysdeps/i386/fpu/libm-test-ulps: Update.
15284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285
70d35b67
AS
152862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15287
704bc459
AS
15288 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15289 xopen-msg.sed.
15290 * catgets/xopen-msg.awk: New file.
15291 * catgets/xopen-msg.sed: Removed.
15292
70d35b67
AS
15293 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15294 po2text.sed.
15295 * intl/po2test.awk: New file.
15296 * intl/po2test.sed: Removed.
15297
ca61cf32
JM
152982012-07-04 Joseph Myers <joseph@codesourcery.com>
15299
15300 [BZ #14328]
15301 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15302 or multiply small sinh result by itself.
15303 * math/s_ctanf.c (__ctanf): Likewise.
15304 * math/s_ctanh.c (__ctanh): Likewise.
15305 * math/s_ctanhf.c (__ctanhf): Likewise.
15306 * math/s_ctanhl.c (__ctanhl): Likewise.
15307 * math/s_ctanl.c (__ctanl): Likewise.
15308 * math/libm-test.inc (ctan_test_tonearest): New function.
15309 (ctan_test_towardzero): Likewise.
15310 (ctan_test_downward): Likewise.
15311 (ctan_test_upward): Likewise.
15312 (ctanh_test_tonearest): Likewise.
15313 (ctanh_test_towardzero): Likewise.
15314 (ctanh_test_downward): Likewise.
15315 (ctanh_test_upward): Likewise.
15316 (main): Call these new functions.
15317 * sysdeps/i386/fpu/libm-test-ulps: Update.
15318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15319
ca48a46a
MF
153202012-07-03 Mike Frysinger <vapier@gentoo.org>
15321
15322 * .gitignore: Delete /ports entry.
15323
9d63d37d
AJ
153242012-07-03 Andreas Jaeger <aj@suse.de>
15325
15326 * po/bg.po: Update from translation team.
15327 * po/cs.po: Likewise.
15328 * po/de.po: Likewise.
15329 * po/hr.po: Likewise.
15330 * po/nl.pl: Likewise.
15331 * po/pl.po: Likewise.
15332 * po/vi.po: Likewise.
15333
370ca3d2
JM
153342012-07-03 Joseph Myers <joseph@codesourcery.com>
15335
95f5a9a8
JM
15336 * Makeconfig [!+link] (+link-before-libc): New variable.
15337 [!+link] (+link-after-libc): Likewise.
15338 [!+link] (+link-tests): Likewise.
15339 [!+link] (+link): Define in terms of $(+link-before-libc) and
15340 $(+link-after-libc).
15341 [!+link-static] (+link-static-before-libc): New variable.
15342 [!+link-static] (+link-static-after-libc): Likewise.
15343 [!+link-static] (+link-static-tests): Likewise.
15344 [!+link-static] (+link-static): Define in terms of
15345 $(+link-static-before-libc) and $(+link-static-after-libc).
15346 [build-shared] (link-libc-before-gnulib): New variable.
15347 [build-shared] (link-libc-tests): Likewise.
15348 [build-shared] (link-libc): Define in terms of
15349 $(link-libc-before-gnulib).
15350 [!build-shared] (link-libc-tests): New variable.
15351 (link-libc-static-tests): New variable.
15352 [!gnulib] (gnulib-arch): New variable.
15353 [!gnulib] (gnulib-tests): Likewise.
15354 [!gnulib] (static-gnulib-arch): Likewise.
15355 [!gnulib] (static-gnulib-tests): Likewise.
15356 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15357 Define with "=" instead of ":=".
15358 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15359 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15360 * Rules (binaries-all-notests): New variable.
15361 (binaries-all-tests): Likewise.
15362 (binaries-static-notests): Likewise.
15363 (binaries-static-tests): Likewise.
15364 (binaries-all): Define using $(binaries-all-notests) and
15365 $(binaries-all-tests).
15366 (binaries-static): Define using $(binaries-static-notests) and
15367 $(binaries-static-tests).
15368 (binaries-shared-tests): New variable.
15369 (binaries-shared-notests): Likewise.
15370 (binaries-shared): Remove variable.
15371 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15372 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15373 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15374 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15375 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15376 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15377 * elf/Makefile (sln-modules): New variable.
15378 (extra-objs): Add $(sln-modules:=.o).
15379 (ldconfig-modules): Add static-stubs.
15380 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15381 * elf/static-stubs.c: New file.
15382
7a845b2c
JM
15383 [BZ #14283]
15384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15385 by 7 not 8 to examine high bit of fractional part. Use volatile
15386 variables when splitting into final array of floats if
15387 __FLT_EVAL_METHOD__ != 0.
15388 * math/libm-test.inc (cos_test): Add another test.
15389 (sin_test): Likewise.
15390 * sysdeps/i386/fpu/libm-test-ulps: Update.
15391
e2283f38
JM
15392 [BZ #14273]
15393 * math/libm-test.inc (cosh_test): Add more tests.
15394
370ca3d2
JM
15395 * version.h (RELEASE): Set to "development".
15396 (VERSION): Set to "2.16.90".
15397
ee9247c3
CD
153982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15399
15400 * NEWS: Update copyright. Remove last-updated date.
15401 Mention math library bug fixes and timezone data changes.
15402 * README: Mention GNU/Hurd, x32, and HPPA support status.
15403
4648c381
TS
154042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15405
15406 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15407
aac78a43
AJ
154082012-06-27 Andreas Jaeger <aj@suse.de>
15409
15410 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15411
ed3dbfad
AJ
154122012-06-25 Andreas Jaeger <aj@suse.de>
15413
15414 * sysdeps/s390/fpu/libm-test-ulps: Update.
15415
4d0ee855
AS
154162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15417 Thomas Schwinge <thomas@codesourcery.com>
15418
15419 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15420 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15422 fanotify_mark.
15423
af1bce34
TS
154242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15425
a9fa33ba
TS
15426 * sysdeps/mach/start.c: Remove file.
15427 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15428 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15429 * sysdeps/sh/init-first.c: Likewise.
15430
58f902b8
TS
15431 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15432 registers for frame unwinding purposes, add CFI directives.
15433 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15434 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15435 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15436 Likewise.
15437
1518f58b
TS
15438 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15439 __fortify_fail returning.
15440 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15441
db9b5059
TS
15442 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15443 sysdeps/sh/____longjmp_chk.S.
15444 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15445 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15446 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15447 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15448
967705fe
TS
15449 * sysdeps/sh/abort-instr.h: New file.
15450 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15451 process in case exit returns.
15452
a9def8c4
TS
15453 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15454 initialize the GOT register before use.
15455
2a649725
TS
15456 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15457 calculation of ARGC > 4.
15458
af1bce34
TS
15459 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15460 meaningful names to some local labels.
15461
d230f50a
KK
154622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15463 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15464
15465 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15466 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15467 (__arch_compare_and_exchange_val_16_acq): Likewise.
15468 (__arch_compare_and_exchange_val_32_acq): Likewise.
15469 (atomic_exchange_and_add): Fix gUSA sequence.
15470 (atomic_add): Likewise.
15471 (atomic_add_negative): Likewise.
15472 (atomic_add_zero): Likewise.
15473 (atomic_bit_test_set): Likewise.
15474
0479b305
AS
154752012-06-22 Andreas Schwab <schwab@redhat.com>
15476
15477 [BZ #13579]
15478 * include/link.h (struct link_map): Add l_free_initfini.
15479 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15480 l_initfini.
15481 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15482 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15483 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15484 set.
15485
0e3933b9
CD
154862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15487
15488 * configure.in: Use AC_LANG_SOURCE.
15489 * configure: Regenerate.
15490
4248b1b1
RM
154912012-06-22 Roland McGrath <roland@hack.frob.com>
15492
15493 * configure.in (libc_cv_localstatedir): New substituted variable.
15494 * configure: Regenerated.
15495 * config.make.in (localstatedir): New variable, substituted from
15496 libc_cv_localstatedir.
15497 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15498 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15499 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15500 * sysdeps/gnu/configure: Regenerated.
15501
006dd861
JL
155022012-06-21 Jeff Law <law@redhat.com>
15503
15504 [BZ #14277]
15505 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15506 free. Simplify list management for _LIBC case.
15507
79662d42
JM
155082012-06-21 Joseph Myers <joseph@codesourcery.com>
15509
b7abb4bf
JM
15510 [BZ #14273]
15511 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15512 Clear sign bit of 64-bit integer value before comparing against
15513 overflow value.
15514
79662d42
JM
15515 * sysdeps/mach/configure: Regenerated.
15516
1f150908
L
155172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15518
15519 [BZ #14278]
15520 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15521
28363bbf
JL
155222012-06-21 Jeff Law <law@redhat.com>
15523
15524 [BZ #13882]
15525 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15526 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15528 * elf/dl-open.c (dl_open_worker): Likewise.
15529
09615db4
CD
155302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15531
15532 * scripts/list-sources.sh: Scan PORTS for translations.
15533 * po/libc.pot: Regenerated.
15534
2174c6dd
AJ
155352012-06-21 Andreas Jaeger <aj@suse.de>
15536
15537 [BZ #12194]
15538 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15539 warning.
15540 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15541 * bits/byteswap-16.h (__bswap_16): Likewise.
15542 * bits/byteswap.h (__bswap_constant_16): Likewise.
15543
3ee947b1
L
155442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15545
15546 [BZ #14117]
a2f34833
L
15547 * sysdeps/i386/fpu_control.h: Removed.
15548 * sysdeps/x86_64/fpu_control.h: Moved to ...
15549 * sysdeps/x86/fpu_control.h: Here.
15550
3ee947b1
L
15551 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15552 (_FPU_SETCW): Likewise.
15553
ed1825f8
L
155542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15555
25f1282a
L
15556 [BZ #14117]
15557 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15558 * sysdeps/x86/fpu/bits/mathinline.h: This.
15559 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15560
ed1825f8
L
15561 [BZ #14050]
15562 [BZ #14117]
15563 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15564 functions if __x86_64__ is defined.
15565
36d54b74
CLT
155662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15567
15568 * string/endian.h: Add !__ASSEMBLER__ condition for including
15569 conversion interfaces.
15570
10285c21
JM
155712012-06-15 Joseph Myers <joseph@codesourcery.com>
15572
15573 [BZ #14241]
15574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15575 of ABS(x) in calculating zero to negative powers other than odd
15576 integers.
15577 * math/libm-test.inc (pow_test): Add more tests.
15578
06c5abbd
AJ
155792012-06-15 Andreas Jaeger <aj@suse.de>
15580
15581 * manual/contrib.texi (Contributors): Update entry of Liubov
15582 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15583 Machado Filho.
15584
a3aeac40
CH
155852012-06-15 Cyril Hrubis <metan@ucw.cz>
15586
15587 * string/string.h: Add __wur to GNU version of strerror_r.
15588
49bdf4c1
L
155892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15590
15591 [BZ #14229]
15592 * string/Makefile (tests): Add tst-strtok_r.
15593 * string/tst-strtok_r.c: New file.
15594 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15595 RAX_LP/RDX_LP on SAVE_PTR.
15596
834f9b8d
RM
155972012-06-14 Roland McGrath <roland@hack.frob.com>
15598
15599 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15600
75fa1921
JM
156012012-06-14 Joseph Myers <joseph@codesourcery.com>
15602
15603 * libm_test.inc (csqrt_test): Allow more spurious underflow
15604 exceptions.
15605 (j0_test): Likewise.
15606 (j1_test): Likewise.
15607 (y0_test): Likewise.
15608 (y1_test): Likewise.
15609
771766df
CD
156102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15611
15612 * po/Makefile (libc.pot): Use UTF-8 charset.
15613
ceb9e56b
PP
156142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15615
15616 [BZ #14210]
15617 Suppress sign-conversion warning from FD_SET.
15618 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15619 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15620 not unsigned long int.
15621 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15622
ddb28975
L
156232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15624
15625 [BZ #14050]
15626 [BZ #14117]
15627 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15628 __extern_always_inline instead of __extern_inline.
15629 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15630 (__signbit): Likewise.
15631 (__signbitl): Support C++ namespace.
15632 (lrintf): New inline function.
15633 (lrint): Likewise.
15634 (llrintf): Likewise.
15635 (llrint): Likewise.
15636 (fmaxf): Likewise.
15637 (fmax): Likewise.
15638 (fminf): Likewise.
15639 (fmin): Likewise.
15640 (rint): Likewise.
15641 (rintf): Likewise.
15642 (ceil): Likewise.
15643 (ceilf): Likewise.
15644 (floor): Likewise.
15645 (floorf): Likewise.
15646 (nearbyint): Likewise.
15647 (nearbyintf): Likewise.
15648
d7b4fb26
TS
156492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15650
15651 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15652 non-default versions.
15653
eb55f5c2
RM
156542012-06-11 Roland McGrath <roland@hack.frob.com>
15655
15656 [BZ #14218]
15657 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15658
366af02c
TS
156592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15660
99ff6e5c
TS
15661 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15662 (FE_UPWARD, FE_DOWNWARD): Don't define.
15663 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15664 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15665
366af02c
TS
15666 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15667 reading it.
15668 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15669 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15670
793ea851
KK
156712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15672
15673 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15675 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15676 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15677
a728a38f
L
156782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15679
15680 [BZ #14117]
c08010c7
L
15681 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15682 * sysdeps/i386/fpu/Implies: New file.
15683 * sysdeps/x86_64/fpu/Implies: Likewise.
15684 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15685 * sysdeps/x86/fpu/bits/fenv.h: This.
15686
a728a38f
L
15687 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15688 __SSE_MATH__.
15689
6e230d11
SP
156902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15691
15692 [BZ #14134]
15693 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15694 character 0xffff that matches the last element of the
15695 conversion table.
15696
1b671feb
AZ
156972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15698
15699 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15700 fmodl commit.
15701
6043738b
AZ
157022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15703
15704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15705 values higher than 25.6283.
15706
34ae0b32
AZ
157072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15708
15709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15710 subnormal exponent extraction and add some __builtin_expect.
15711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15712 Fix for subnormal mantissa calculation.
15713
1214ec8f
MF
157142012-06-04 Mike Frysinger <vapier@gentoo.org>
15715
15716 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15717 cpu2 is -1 and errno is not ENOSYS.
15718
f3d1f93c
L
157192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 [BZ #14117]
0e4a3cd7
L
15722 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15723 * sysdeps/x86/bits/string.h: This.
15724 * sysdeps/x86_64/bits/string.h: Removed.
15725
6704c645
L
15726 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15727 if not compiling for x86-64, but compiling for >= i486.
15728
48495318
L
15729 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15730 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15731
14adcbfc
L
15732 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15733 New macro from Linux kernel 3.4.0.
15734 (FP_XSTATE_MAGIC2): Likewise.
15735 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15736 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15737 (struct _fpx_sw_bytes): New struct.
15738 (struct _xsave_hdr): Likewise.
15739 (struct _ymmh_state): Likewise.
15740 (struct _xstate): Likewise.
15741
68e408ab
L
15742 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15743 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15745 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15746 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15747 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15748
f3d1f93c
L
15749 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15751 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15752 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15753 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15754 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15755
d9dc34cd
TMQMF
157562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15757
15758 [BZ #13743]
15759 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15760 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15761 (sysdep_headers): Include sys/platform/ppc.h.
15762 * sysdeps/powerpc/test-gettimebase.c: Test for
15763 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15764 * manual/Makefile (appendices): Include platform.texi.
15765 * manual/contrib.texi (Contributors): Update @node pointers.
15766 * manual/maint.texi (Maintenance): Likewise.
15767 (Platform): New node.
15768 * manual/platform.texi: New file. Document the new features.
15769
4af3879c
SP
157702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15771 Jakub Jelinek <jakub@redhat.com>
15772
15773 [BZ #14188]
15774 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15775 where __builtin_expect is unavailable.
15776
2fd6ff13
DM
157772012-06-03 David S. Miller <davem@davemloft.net>
15778
15779 * stdlib/longlong.h: Updated from GCC.
15780
173f7220
AS
157812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15782
15783 [BZ #14042]
15784 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15785 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15786 __mcount_internal.
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15788 (GLIBC_2.16): Likewise.
15789
f34a1c6f
L
157902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15791
15792 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15793
88a4576f
JM
157942012-06-01 Joseph Myers <joseph@codesourcery.com>
15795
ea32bcdd
JM
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15797 (default-abi): New variable.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15799 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15800 variable.
15801 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15802 Likewise.
15803 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15804 Likewise.
15805 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15806 Likewise.
15807
88a4576f
JM
15808 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15809 definition. Document in comment.
15810
402fe938
DM
158112012-06-01 David S. Miller <davem@davemloft.net>
15812
15813 * stdlib/longlong.h: Updated from GCC.
15814
3553723f
L
158152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15816
15817 [BZ #14117]
3bd872c4
L
15818 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15819 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15820 sys/debugreg.h sys/io.h here.
15821 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15822 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15823 sys/io.h.
15824 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15825 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15826 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15827 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15828 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15829 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15830
3553723f
L
15831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15832 Define only if __x86_64__ is defined.
15833
4842e4fe
JM
158342012-06-01 Joseph Myers <joseph@codesourcery.com>
15835
c5bfe3d5
JM
15836 [BZ #14048]
15837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15838 Use int64_t for variable i.
15839 * math/libm-test.inc (fmod_test): Add more tests.
15840
4842e4fe
JM
15841 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15842 z computation is not scheduled after fetestexcept.
15843 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15844 Use math_force_eval instead of asm to ensure calculation scheduled
15845 before exception test.
15846 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15847 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15848
efb73488
AJ
158492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15850
15851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15852 computation is not scheduled after fetestexcept.
15853
29bcce7c
L
158542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15855
15856 [BZ #14117]
15857 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15858 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15859
73a68f94
AZ
158602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15861
15862 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15863 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15864
67b6df78
L
158652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15866
edf2933a 15867 [BZ #14117]
ebc64a18
L
15868 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15869 <bits/wordsize.h>.
15870 (__WCHAR_MIN): Support __WORDSIZE == 64.
15871 (__WCHAR_MAX): Likewise.
15872
edf2933a
L
15873 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15874 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15875
57c6cf40
L
15876 [BZ #14183]
15877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15878 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15879
67b6df78 15880 [BZ #14117]
8eb6281e
L
15881 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15882 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15883
aac639f4
L
15884 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15885 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15886
67b6df78
L
15887 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15888 Defined to 1 if __x86_64__ isn't defined.
15889 (_STAT_VER_LINUX_OLD): New.
15890 (st_atime): Remove duplicate.
15891 (st_mtime): Likewise.
15892 (st_ctime): Likewise.
15893
1c2cfe81
DM
158942012-05-31 David S. Miller <davem@davemloft.net>
15895
15896 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15897 entries.
15898
5be8418c
AS
158992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15900
e7725326
AS
15901 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15902 gen-libm-test.pl.
15903
5be8418c
AS
15904 [BZ #14132]
15905 * elf/dl-reloc.c: Include <_itoa.h>.
15906 (_dl_reloc_bad_type): Remove use of INTUSE.
15907 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15908 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15909 * stdio-common/psiginfo.c (psiginfo): Likewise.
15910 * stdio-common/psignal.c (psignal): Likewise.
15911 * string/strsignal.c (strsignal): Likewise.
15912 * include/signal.h (_sys_siglist): Declare hidden proto.
15913 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15914 INTVARDEF with libc_hidden_data_def.
15915 * stdio-common/itoa-udigits.c: Likewise.
15916 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15917 (_itoa_lower_digits_internal): Remove declaration.
15918 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15919 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15920 (_sys_sigabbrev_internal): Remove aliases.
15921 (_sys_siglist): Define hidden alias.
15922
507352f1
MT
159232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15924
15925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15926 bits/sysctl.h.
15927
42bbb1c3
L
159282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15929
15930 [BZ #14117]
6bd784b6
L
15931 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15932 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15933
8bca20f0
L
15934 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15935 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15936 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15937 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15938 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15939 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15940
f9e890a9
L
15941 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15943 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15944
471101a1
L
15945 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15946 with __addr.
15947 (insw): Likewise.
15948 (insl): Likewise.
15949 (outsb): Likewise.
15950 (outsw): Likewise.
15951 (outsl): Likewise.
15952
6451c862
L
15953 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15954 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15955 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15956
a254b8c9
L
15957 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15958 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15959 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15960 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15961 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15962 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15963
b8dfdd92
L
15964 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15965 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15966
578cd270
L
15967 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15968 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15969
de662f5f
L
15970 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15972 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15973
25653439
L
15974 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15975 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15976 to ...
15977 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15978
6bad24a0
L
15979 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15980 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15981 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15982
42bbb1c3
L
15983 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15984 for x86-64.
15985 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15986
2d10d547
JM
159872012-05-31 Joseph Myers <joseph@codesourcery.com>
15988
15989 * math/math.h (M_El): Use two more decimal places.
15990 (M_LOG2El): Likewise.
15991 (M_LOG10El): Likewise.
15992 (M_LN2l): Likewise.
15993 (M_LN10l): Likewise.
15994 (M_PIl): Likewise.
15995 (M_PI_2l): Likewise.
15996 (M_PI_4l): Likewise.
15997 (M_1_PIl): Likewise.
15998 (M_2_PIl): Likewise.
15999 (M_2_SQRTPIl): Likewise.
16000 (M_SQRT2l): Likewise.
16001 (M_SQRT1_2l): Likewise.
16002
f230c29b
DM
160032012-05-31 David S. Miller <davem@davemloft.net>
16004
16005 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16006 values between float registers.
16007 * sysdeps/sparc/sparc64/memset.S: Likewise.
16008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16009
fed806c3
MF
160102012-05-31 Mike Frysinger <vapier@gentoo.org>
16011
16012 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16013 -D_FORTIFY_SOURCE=1.
16014 (CPPFLAGS-tst-longjmp_chk.c): Define.
16015 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16016 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16017 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16018 CFLAGS-tst-wchar-h.c.
16019
30917259
MP
160202012-05-31 Marek Polacek <polacek@redhat.com>
16021
16022 [BZ #14132]
16023 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16024 __endmntent_internal): Remove declaration.
16025 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16026 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16027 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16028
1c58d5dc
DM
160292012-05-30 David S. Miller <davem@davemloft.net>
16030
16031 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16032 (___Q_simulate_exceptions): Use real FP ops rather than writing
16033 into the %fsr.
16034 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16035 Likewise.
16036
7dc00e0d
L
160372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16038
16039 [BZ #14117]
0bd53985
L
16040 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16041 * sysdeps/x86/bits/xtitypes.h: This.
16042
3a257e66
L
16043 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16044 * sysdeps/x86/bits/wordsize.h: This.
16045
62f62904
L
16046 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16047 * sysdeps/x86/bits/huge_vall.h: This.
16048
404fe9d9
L
16049 * sysdeps/i386/bits/select.h: Removed.
16050 * sysdeps/x86_64/bits/select.h: Renamed to ...
16051 * sysdeps/x86/bits/select.h: This.
16052
d48d0446
L
16053 * sysdeps/i386/bits/setjmp.h: Removed.
16054 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16055 * sysdeps/x86/bits/setjmp.h: This.
16056
7dc00e0d
L
16057 * sysdeps/i386/bits/mathdef.h: Removed.
16058 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16059 * sysdeps/x86/bits/mathdef.h: This.
16060
03277f8f
AS
160612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16062
16063 [BZ #14132]
16064 * include/sys/socket.h (__connect_internal)
16065 (__libc_sa_len_internal): Remove declaration.
16066 (__connect, __libc_sa_len): Declare hidden_proto.
16067 (SA_LEN): Remove use of INTUSE.
16068 * socket/connect.c: Add libc_hidden_def.
16069 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16070 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16071 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16072 alias.
16073 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16075 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16076 of adding _internal alias.
16077
13764867
L
160782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16079
16080 [BZ #14117]
6bd97696
L
16081 * sysdeps/i386/bits/link.h: Removed.
16082 * sysdeps/i386/bits/linkmap.h: Likewise.
16083 * sysdeps/x86_64/bits/link.h: Renamed to ...
16084 * sysdeps/x86/bits/link.h: This.
16085 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16086 * sysdeps/x86/bits/linkmap.h: This.
16087
f726f0bb
L
16088 * sysdeps/i386/bits/endian.h: Removed.
16089 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16090 * sysdeps/x86/bits/endian.h: This.
16091
13764867
L
16092 * sysdeps/i386/bits/byteswap.h: Removed.
16093 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16094 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16095 * sysdeps/x86/bits/byteswap.h: This.
16096 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16097 * sysdeps/x86/bits/byteswap-16.h: This.
16098 * sysdeps/i386/Implies: Add x86.
16099 * sysdeps/x86_64/Implies: Likewise.
16100
ae251b0b
DM
161012012-05-30 David S. Miller <davem@davemloft.net>
16102
16103 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16104 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16106 (FP_TRAPPING_EXCEPTIONS): Define.
16107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16108 (FP_TRAPPING_EXCEPTIONS): Define.
16109 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16110 subnormals only when inexact has been signalled or underflow
16111 exceptions are enabled.
16112 (_FP_PACK_CANONICAL): Likewise.
16113
d5c90867
L
161142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16115
16116 [BZ #14183]
16117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16118 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16119
63f1549e
RH
161202012-05-30 Richard Henderson <rth@twiddle.net>
16121
8d8f2279
RH
16122 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16123 with #ifndef NOT_IN_libc.
16124
63f1549e
RH
16125 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16126 marked to avoid plt entry.
16127
0ab0291b
L
161282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 [BZ #14112]
16131 * Makeconfig (default-abi): New macro.
16132 (abi-includes): Likewise.
16133 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16134 $(abi-$(default-abi)-lib-soname) for soname if defined.
16135 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16136 abi-variants.
16137 * Makefile (installed-stubs): Likewise.
16138 * include/stubs-biarch.h: Removed.
16139 * scripts/lib-names.awk: Only handle one library at a time.
16140 * scripts/soversions.awk: Remove WORDSIZE support.
16141 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16142 entries.
16143 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16144 Removed.
16145 (syscall-list-default-condition): Likewise.
16146 (syscall-list-default-condition): Likewise.
16147 (syscall-list-includes): Likewise.
16148 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16149 syscall-list-* with abi-*. Handle undefined abi-variants.
16150 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16151 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16152 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16153 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16154 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16155 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16156 Removed.
16157 (syscall-list-32-options): Likewise.
16158 (syscall-list-32-condition): Likewise.
16159 (syscall-list-64-options): Likewise.
16160 (syscall-list-64-condition): Likewise.
16161 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16162 macro.
16163 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16164 Renamed to ...
16165 (abi-*): This.
16166 (abi-64-ld-soname): New macro.
16167 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16168 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16169 Renamed to ...
16170 (abi-*): This.
16171 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16172 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16173
4da0431d
JM
161742012-05-30 Joseph Myers <joseph@codesourcery.com>
16175
3a85279c
JM
16176 * sysdeps/unix/sysv/linux/kernel-features.h
16177 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16178 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16179 include <kernel-features.h>.
16180 [!__NR_ftruncate64]: Remove conditional code.
16181 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16182 [__NR_ftruncate64]: Make code unconditional.
16183 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16184 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16185 include <kernel-features.h>.
16186 [!__NR_ftruncate64]: Remove conditional code.
16187 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16188 [__NR_ftruncate64]: Make code unconditional.
16189 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16191 include <kernel-features.h>.
16192 [!__NR_ftruncate64]: Remove conditional code.
16193 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16194 [__NR_ftruncate64]: Make code unconditional.
16195 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16197 include <kernel-features.h>.
16198 [!__NR_ftruncate64]: Remove conditional code.
16199 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16200 [__NR_ftruncate64]: Make code unconditional.
16201 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16202
4da0431d
JM
16203 * configure.in (libc_cv_fpie): Weaken to a compile test using
16204 LIBC_TRY_CC_OPTION.
16205 * configure: Regenerated.
16206
11ef492c
AK
162072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16208
16209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16213 Refreshed.
16214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16220 Refreshed.
16221
d66ef399
DM
162222012-05-27 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16225 (___Q_zero): New.
16226 (__Q_simulate_exceptions): Return void. Change to simulate
16227 exceptions by writing into the %fsr.
16228 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16229 (__Qp_handle_exceptions): Likewise.
16230 (numbers): Delete.
16231 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16232 __Qp_handle_exceptions.
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16234 __Qp_handle_exceptions.
16235 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16236 as unused and give dummy FP_RND_NEAREST initializer.
16237 (FP_INHIBIT_RESULTS): Define.
16238 (___Q_simulate_exceptions): Update declaration.
16239 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16240 formatting.
16241 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16242 as unused and give dummy FP_RND_NEAREST initializer.
16243 (__Qp_handle_exceptions): Update declaration.
16244 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16245 formatting.
16246
04fb54b5
TS
162472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16248
16249 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16250 the temporary FPU control word.
16251 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16252 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16254 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16255 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16256 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16257 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16259 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16260 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16261 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16262
3f99608f
KK
162632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16264
16265 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16266 fields.
16267
65a4de4e
CLT
162682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16269
16270 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16271 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16272 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16273 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16274 Likewise.
16275 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16276 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16277 Likewise.
16278
15749d40
UD
162792012-05-27 Ulrich Drepper <drepper@gmail.com>
16280
16281 * po/h.po: Update from translation team.
16282
25dbcb27
AS
162832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16284
3d3f8e55
AS
16285 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16286
25dbcb27
AS
16287 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16288 handling of denormals.
16289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16290 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16291 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16292 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16296 Likewise.
16297
7ad47a80 162982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16299
16300 [BZ #14152]
16301 * math/libm-test.inc (fma_test): Don't always expect underflow
16302 exception.
16303
9c6ea9fa
SP
163042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16305
16306 [BZ #12416]
16307 * elf/tst-execstack.c: Include stackinfo.h.
16308 (do_test): Adjust test case to ensure that pthread_getattr_np
16309 behaviour remains the same after marking stack executable.
16310
a8239222
JM
163112012-05-25 Joseph Myers <joseph@codesourcery.com>
16312
16313 * sysdeps/unix/sysv/linux/kernel-features.h
16314 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16315 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16316 kernel-features.h.
16317 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16318 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16319 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16320 kernel-features.h.
16321 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16322 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16323
918b5606
L
163242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16325
16326 * configure.in: Define the default includes to being none.
16327 * configure: Regenerated.
16328
3a097cc7
RM
163292012-05-25 Roland McGrath <roland@hack.frob.com>
16330
8422c9a5
RM
16331 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16332 * sysdeps/x86_64/setjmp.S: Likewise.
16333 * sysdeps/i386/bsd-setjmp.S: Likewise.
16334 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16335 * sysdeps/i386/setjmp.S: Likewise.
16336 * sysdeps/i386/__longjmp.S: Likewise.
16337 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16338 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16339
3a097cc7
RM
16340 * include/stap-probe.h: New file.
16341 * configure.in: Handle --enable-systemtap.
16342 * configure: Regenerated.
16343 * config.h.in (USE_STAP_PROBE): New #undef.
16344 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16345 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16346 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16347
21708942
JM
163482012-05-25 Joseph Myers <joseph@codesourcery.com>
16349
16350 [BZ #13717]
16351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16352 to 2.4.0 where earlier.
16353 * sysdeps/unix/sysv/linux/configure: Regenerated.
16354 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16355 <kernel-features.h>.
16356 [__ASSUME_32BITUIDS]: Make code unconditional.
16357 [!__ASSUME_32BITUIDS]: Remove conditional code.
16358 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16359 <kernel-features.h>.
16360 [__ASSUME_32BITUIDS]: Make code unconditional.
16361 [!__ASSUME_32BITUIDS]: Remove conditional code.
16362 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16363 [__ASSUME_32BITUIDS]: Make code unconditional.
16364 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16365 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16366 <kernel-features.h>.
16367 [__ASSUME_32BITUIDS]: Make code unconditional.
16368 [!__ASSUME_32BITUIDS]: Remove conditional code.
16369 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16370 <kernel-features.h>.
16371 [__ASSUME_32BITUIDS]: Make code unconditional.
16372 [!__ASSUME_32BITUIDS]: Remove conditional code.
16373 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16374 <kernel-features.h>.
16375 [__ASSUME_32BITUIDS]: Make code unconditional.
16376 [!__ASSUME_32BITUIDS]: Remove conditional code.
16377 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16378 <kernel-features.h>.
16379 [__ASSUME_32BITUIDS]: Make code unconditional.
16380 [!__ASSUME_32BITUIDS]: Remove conditional code.
16381 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16382 <kernel-features.h>.
16383 [__ASSUME_32BITUIDS]: Make code unconditional.
16384 [!__ASSUME_32BITUIDS]: Remove conditional code.
16385 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16386 <kernel-features.h>.
16387 [__ASSUME_32BITUIDS]: Make code unconditional.
16388 [!__ASSUME_32BITUIDS]: Remove conditional code.
16389 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16390 <kernel-features.h>.
16391 [__ASSUME_32BITUIDS]: Make code unconditional.
16392 [!__ASSUME_32BITUIDS]: Remove conditional code.
16393 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16394 <kernel-features.h>.
16395 [__ASSUME_32BITUIDS]: Make code unconditional.
16396 [!__ASSUME_32BITUIDS]: Remove conditional code.
16397 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16398 <kernel-features.h>.
16399 [__ASSUME_32BITUIDS]: Make code unconditional.
16400 [!__ASSUME_32BITUIDS]: Remove conditional code.
16401 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16402 <kernel-features.h>.
16403 [__ASSUME_32BITUIDS]: Make code unconditional.
16404 [!__ASSUME_32BITUIDS]: Remove conditional code.
16405 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16406 <kernel-features.h>.
16407 [__NR_setresgid] (__setresgid): Do not declare.
16408 [__ASSUME_32BITUIDS]: Make code unconditional.
16409 [!__ASSUME_32BITUIDS]: Remove conditional code.
16410 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16411 <kernel-features.h>.
16412 [__NR_setresuid] (__setresuid): Do not declare.
16413 [__ASSUME_32BITUIDS]: Make code unconditional.
16414 [!__ASSUME_32BITUIDS]: Remove conditional code.
16415 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16416 <kernel-features.h>.
16417 [__ASSUME_32BITUIDS]: Make code unconditional.
16418 [!__ASSUME_32BITUIDS]: Remove conditional code.
16419 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16420 <kernel-features.h>.
16421 [__ASSUME_32BITUIDS]: Make code unconditional.
16422 [!__ASSUME_32BITUIDS]: Remove conditional code.
16423 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16424 <kernel-features.h>.
16425 [__ASSUME_32BITUIDS]: Make code unconditional.
16426 [!__ASSUME_32BITUIDS]: Remove conditional code.
16427 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16428 <kernel-features.h>.
16429 [__ASSUME_32BITUIDS]: Make code unconditional.
16430 [!__ASSUME_32BITUIDS]: Remove conditional code.
16431 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16432 <kernel-features.h>.
16433 [__ASSUME_32BITUIDS]: Make code unconditional.
16434 [!__ASSUME_32BITUIDS]: Remove conditional code.
16435 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16436 <kernel-features.h>.
16437 [__ASSUME_32BITUIDS]: Make code unconditional.
16438 [!__ASSUME_32BITUIDS]: Remove conditional code.
16439 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16440 <kernel-features.h>.
16441 [__ASSUME_32BITUIDS]: Make code unconditional.
16442 [!__ASSUME_32BITUIDS]: Remove conditional code.
16443 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16444 <kernel-features.h>.
16445 [__ASSUME_32BITUIDS]: Make code unconditional.
16446 [!__ASSUME_32BITUIDS]: Remove conditional code.
16447 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16448 <kernel-features.h>.
16449 [__ASSUME_32BITUIDS]: Make code unconditional.
16450 [!__ASSUME_32BITUIDS]: Remove conditional code.
16451 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16452 <kernel-features.h>.
16453 [__ASSUME_32BITUIDS]: Make code unconditional.
16454 [!__ASSUME_32BITUIDS]: Remove conditional code.
16455 * sysdeps/unix/sysv/linux/kernel-features.h
16456 (__ASSUME_SETRESUID_SYSCALL): Remove.
16457 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16458 (__ASSUME_32BITUIDS): Likewise.
16459 (__ASSUME_LDT_WORKS): Likewise.
16460 (__ASSUME_O_DIRECTORY): Likewise.
16461 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16462 architecture but not kernel version.
16463 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16464 (__ASSUME_MMAP2_SYSCALL): Likewise.
16465 (__ASSUME_STAT64_SYSCALL): Likewise.
16466 (__ASSUME_IPC64): Likewise.
16467 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16468 <kernel-features.h>.
16469 [__ASSUME_32BITUIDS]: Make code unconditional.
16470 [!__ASSUME_32BITUIDS]: Remove conditional code.
16471 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16472 <kernel-features.h>.
16473 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16474 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16475 132096]: Remove conditional code.
16476 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16477 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16478 <kernel-features.h>.
16479 [__ASSUME_32BITUIDS]: Make code unconditional.
16480 [!__ASSUME_32BITUIDS]: Remove conditional code.
16481 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16482 <kernel-features.h>.
16483 [__ASSUME_32BITUIDS]: Make code unconditional.
16484 [!__ASSUME_32BITUIDS]: Remove conditional code.
16485 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16486 <kernel-features.h>.
16487 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16488 unconditional.
16489 (__setresgid): Do not declare.
16490 [__ASSUME_32BITUIDS]: Make code unconditional.
16491 [!__ASSUME_32BITUIDS]: Remove conditional code.
16492 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16493 <kernel-features.h>.
16494 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16495 unconditional.
16496 (__setresuid): Do not declare.
16497 [__ASSUME_32BITUIDS]: Make code unconditional.
16498 [!__ASSUME_32BITUIDS]: Remove conditional code.
16499 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16500 <kernel-features.h>.
16501 [__ASSUME_32BITUIDS]: Make code unconditional.
16502 [!__ASSUME_32BITUIDS]: Remove conditional code.
16503 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16504 <kernel-features.h>.
16505 [__ASSUME_32BITUIDS]: Make code unconditional.
16506 [!__ASSUME_32BITUIDS]: Remove conditional code.
16507
a386f1cc
RH
165082012-05-25 Richard Henderson <rth@twiddle.net>
16509
16510 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16511 dl_hwcap to ifunc resolver.
16512 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16513 elf_ifunc_invoke.
16514 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16515 dl_hwcap to ifunc resolver.
16516 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16517
b6550497
JM
165182012-05-24 Joseph Myers <joseph@codesourcery.com>
16519
16520 [BZ #14153]
16521 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16522 for |x| <= 2**-26, not 2**-57.
16523 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16524 exception.
16525
b0bc23a1
JL
165262012-05-24 Jeff Law <law@redhat.com>
16527
16528 * stdio-common/Makefile (tests): Add bug25.
16529 * stdio-common/bug25.c: New test.
16530
347c92e9
L
165312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16532
16533 [BZ #13576]
16534 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16535 multiple of MALLOC_ALIGNMENT in size.
16536 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16537
6bcc8b3f
JM
165382012-05-24 Joseph Myers <joseph@codesourcery.com>
16539
16540 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16541 Require >= 256.
16542 (FILENAME_MAX): Use macro-int-constant.
16543 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16544 (_IOFBF): Use macro-int-constant.
16545 (_IOLBF): Likewise.
16546 (_IONBF): Likewise.
16547 (SEEK_CUR): Likewise.
16548 (SEEK_END): Likewise.
16549 (SEEK_SET): Likewise.
16550 (TMP_MAX): Likewise.
16551 (EOF): Use macro-int-constant. Require < 0.
16552 (NULL): Use macro-constant. Require == 0.
16553 (stdin): Require type to be FILE *.
16554 (stdout): Likewise.
16555 (stderr): Likewise.
16556 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16557 macro-int-constant.
16558 (EXIT_SUCCESS): Likewise.
16559 (NULL): Use macro-constant. Require == 0.
16560 (RAND_MAX): Use macro-int-constant.
16561 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16562 [C99-based standards] (strtof): Require function.
16563 [C99-based standards] (strtold): Likewise.
16564 [C99-based standards] (strtoll): Likewise.
16565 [C99-based standards] (strtoull): Likewise.
16566 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16567 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16568 [ISO || ISO99 || ISO11] (math.h): Likewise.
16569 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16570 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16572
d18ea0c5
AS
165732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16574
16575 [BZ #14132]
56d25bb8
AS
16576 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16577 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16578 * intl/dgettext.c (DCGETTEXT): Likewise.
16579 * intl/gettext.c (DCGETTEXT): Likewise.
16580 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16581 * posix/regex_internal.h (gettext): Likewise.
16582 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16583 Remove declaration.
16584 * include/argz.h (__argz_count_internal)
16585 (__argz_stringify_internal): Remove declaration.
16586 (__argz_count, __argz_stringify): Declare hidden proto.
16587 * intl/dcgettext.c: Remove use of INTDEF.
16588 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16589 * string/argz-stringify.c: Likewise.
16590 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16591 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16592 Declare hidden proto.
d18ea0c5
AS
16593 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16594 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16595 Declare hidden proto.
16596 * include/stdio.h (__asprintf_internal): Don't declare.
16597 (__asprintf): Don't define as macro. Declare hidden proto.
16598 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16599 (__fsetlocking): Declare hidden proto.
16600 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16601 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16602 hidden proto.
16603 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16604 (_IO_setlinebuf): Remove use of INTUSE.
16605 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16606 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16607 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16608 Remove declaration.
16609 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16610 (_IO_do_flush): Remove use of INTUSE.
16611 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16612 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16613 (_IO_adjust_column, _IO_least_wmarker)
16614 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16615 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16616 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16617 (_IO_default_doallocate, _IO_wdefault_doallocate)
16618 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16619 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16620 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16621 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16622 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16623 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16624 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16625 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16626 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16627 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16628 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16629 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16630 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16631 proto.
16632 (_IO_flush_all_internal, _IO_adjust_column_internal)
16633 (_IO_default_uflow_internal, _IO_default_finish_internal)
16634 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16635 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16636 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16637 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16638 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16639 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16640 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16641 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16642 (_IO_file_close_internal, _IO_file_close_it_internal)
16643 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16644 (_IO_file_init_internal, _IO_file_attach_internal)
16645 (_IO_file_fopen_internal, _IO_file_read_internal)
16646 (_IO_file_sync_internal, _IO_file_seek_internal)
16647 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16648 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16649 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16650 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16651 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16652 (_IO_list_all_internal, _IO_link_in_internal)
16653 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16654 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16655 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16656 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16657 (_IO_do_write_internal, _IO_padn_internal)
16658 (_IO_getline_info_internal, _IO_getline_internal)
16659 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16660 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16661 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16662 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16663 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16664 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16665 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16666 with libc_hidden_ver, remove use of INTUSE.
16667 * libio/genops.c: Likewise.
16668 * libio/freopen.c: Likewise.
16669 * libio/freopen64.c: Likewise.
16670 * libio/iofclose.c: Likewise.
16671 * libio/iofdopen.c: Likewise.
16672 * libio/iofflush.c: Likewise.
16673 * libio/iofflush_u.c: Likewise.
16674 * libio/iofgets.c: Likewise.
16675 * libio/iofgets_u.c: Likewise.
16676 * libio/iofopen.c: Likewise.
16677 * libio/iofopncook.c: Likewise.
16678 * libio/iofread.c: Likewise.
16679 * libio/iofread_u.c: Likewise.
16680 * libio/ioftell.c: Likewise.
16681 * libio/iofwrite.c: Likewise.
16682 * libio/iogetline.c: Likewise.
16683 * libio/iogets.c: Likewise.
16684 * libio/iogetwline.c: Likewise.
16685 * libio/iopadn.c: Likewise.
16686 * libio/iopopen.c: Likewise.
16687 * libio/ioseekoff.c: Likewise.
16688 * libio/ioseekpos.c: Likewise.
16689 * libio/iosetbuffer.c: Likewise.
16690 * libio/iosetvbuf.c: Likewise.
16691 * libio/ioungetc.c: Likewise.
16692 * libio/ioungetwc.c: Likewise.
16693 * libio/iovdprintf.c: Likewise.
16694 * libio/iovsprintf.c: Likewise.
16695 * libio/iovsscanf.c: Likewise.
16696 * libio/memstream.c: Likewise.
16697 * libio/obprintf.c: Likewise.
16698 * libio/oldfileops.c: Likewise.
16699 * libio/oldiofclose.c: Likewise.
16700 * libio/oldiofdopen.c: Likewise.
16701 * libio/oldiofopen.c: Likewise.
16702 * libio/oldiopopen.c: Likewise.
16703 * libio/oldstdfiles.c: Likewise.
16704 * libio/putc.c: Likewise.
16705 * libio/setbuf.c: Likewise.
16706 * libio/setlinebuf.c: Likewise.
16707 * libio/stdfiles.c: Likewise.
16708 * libio/strops.c: Likewise.
16709 * libio/vasprintf.c: Likewise.
16710 * libio/vscanf.c: Likewise.
16711 * libio/vsnprintf.c: Likewise.
16712 * libio/vswprintf.c: Likewise.
16713 * libio/wfiledoalloc.c: Likewise.
16714 * libio/wfileops.c: Likewise.
16715 * libio/wgenops.c: Likewise.
16716 * libio/wmemstream.c: Likewise.
16717 * libio/wstrops.c: Likewise.
16718 * libio/__fpurge.c: Likewise.
16719 * libio/__fsetlocking.c: Likewise.
16720 * assert/assert.c: Likewise.
16721 * debug/fgets_chk.c: Likewise.
16722 * debug/fgets_u_chk.c: Likewise.
16723 * debug/fread_chk.c: Likewise.
16724 * debug/fread_u_chk.c: Likewise.
16725 * debug/gets_chk.c: Likewise.
16726 * debug/obprintf_chk.c: Likewise.
16727 * debug/vasprintf_chk.c: Likewise.
16728 * debug/vdprintf_chk.c: Likewise.
16729 * debug/vsnprintf_chk.c: Likewise.
16730 * debug/vsprintf_chk.c: Likewise.
16731 * malloc/mtrace.c: Likewise.
16732 * misc/error.c: Likewise.
16733 * misc/syslog.c: Likewise.
16734 * stdio-common/asprintf.c: Likewise.
16735 * stdio-common/fxprintf.c: Likewise.
16736 * stdio-common/getw.c: Likewise.
16737 * stdio-common/isoc99_fscanf.c: Likewise.
16738 * stdio-common/isoc99_scanf.c: Likewise.
16739 * stdio-common/isoc99_vfscanf.c: Likewise.
16740 * stdio-common/isoc99_vscanf.c: Likewise.
16741 * stdio-common/isoc99_vsscanf.c: Likewise.
16742 * stdio-common/printf-prs.c: Likewise.
16743 * stdio-common/printf_fp.c: Likewise.
16744 * stdio-common/printf_fphex.c: Likewise.
16745 * stdio-common/printf_size.c: Likewise.
16746 * stdio-common/putw.c: Likewise.
16747 * stdio-common/scanf.c: Likewise.
16748 * stdio-common/sprintf.c: Likewise.
16749 * stdio-common/tmpfile.c: Likewise.
16750 * stdio-common/vfprintf.c: Likewise.
16751 * stdio-common/vfscanf.c: Likewise.
16752 * stdlib/strfmon_l.c: Likewise.
16753 * sunrpc/openchild.c: Likewise.
16754 * sunrpc/xdr_stdio.c: Likewise.
16755 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16756 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16757
d6c33fda
RM
167582012-05-24 Roland McGrath <roland@hack.frob.com>
16759
c1487492
RM
16760 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16761
16762 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16763 in the third column, to generate for the shared library an IFUNC
16764 that uses _dl_vdso_vsym.
16765 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16766 * Makeconfig (object-suffixes-noshared): New variable.
16767
16768 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16769 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16770 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16771 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16772
d6c33fda
RM
16773 [BZ #14132]
16774 * include/sys/time.h (__gettimeofday): Remove macro.
16775 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16776 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16777 Remove INTDEF.
16778 (__gettimeofday): Add libc_hidden_def.
16779 (gettimeofday): Add libc_hidden_weak.
16780 * sysdeps/mach/gettimeofday.c: Likewise.
16781 * sysdeps/posix/gettimeofday.c: Likewise.
16782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16783 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16785 (__gettimeofday_internal): Remove strong_alias.
16786 (__gettimeofday): Add libc_hidden_def.
16787 (gettimeofday): Add libc_hidden_weak.
16788 * sysdeps/unix/syscalls.list (gettimeofday):
16789 Remove __gettimeofday_internal alias.
16790
b5a2bbe6
L
167912012-05-24 Daniel Jacobowitz <drow@false.org>
16792 H.J. Lu <hongjiu.lu@intel.com>
16793
16794 [BZ #12495]
16795 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16796 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16797 (largebin_index_32_big): New.
16798 (largebin_index): Use it for 16-byte alignment.
16799 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16800 correction with front_misalign.
16801
cfba4fda
L
168022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16803
7f907421
L
16804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16806 Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16808 Likewise.
16809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16810 Likewise.
16811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16812 Likewise.
16813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16814 Likewise.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16816 Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16818 Likewise.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16820 Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16822 Likewise.
16823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16824 Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16826 Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16828 Likewise.
16829
cfba4fda
L
16830 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16831 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16832
80bad0cc
JM
168332012-05-24 Joseph Myers <joseph@codesourcery.com>
16834
7a25eb06
JM
16835 [BZ #10846]
16836 [BZ #14036]
16837 * math/libm-test.inc (exp_test): Add test from bug 14036.
16838 (pow_test): Add test from bug 10846.
16839
795405f9
JM
16840 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16841 and other flags.
16842 (special_function): Do not include flags in test name.
16843 (parse_args): Likewise.
16844 * sysdeps/i386/fpu/libm-test-ulps: Update.
16845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16846 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16847 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16849
80bad0cc
JM
16850 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16851 exceptions.
16852 * math/libm-test.inc ("Philosophy"): Update comment about
16853 exception testing.
16854 (UNDERFLOW_EXCEPTION): New macro.
16855 (UNDERFLOW_EXCEPTION_OK): Likewise.
16856 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16857 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16858 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16859 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16860 (INVALID_EXCEPTION_OK): Update value.
16861 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16862 (OVERFLOW_EXCEPTION_OK): Likewise.
16863 (IGNORE_ZERO_INF_SIGN): Likewise.
16864 (test_exceptions): Handle underflow exceptions.
16865 (acos_test): Update for underflow exception expectations.
16866 (cexp_test): Likewise.
16867 (clog_test): Likewise.
16868 (clog10_test): Likewise.
16869 (csqrt_test): Likewise.
16870 (ctan_test): Likewise.
16871 (ctanh_test): Likewise.
16872 (exp_test): Likewise.
16873 (exp10_test): Likewise.
16874 (exp2_test): Likewise.
16875 (expm1_test): Likewise.
16876 (fma_test): Likewise.
16877 (j0_test): Likewise.
16878 (jn_test): Likewise.
16879 (nexttoward_test): Likewise.
16880 (pow_test): Likewise.
16881 (scalbn_test): Likewise.
16882 (scalbln_test): Likewise.
16883 (tan_test): Likewise.
16884 (y1_test): Likewise.
16885 * sysdeps/i386/fpu/libm-test-ulps: Update.
16886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16887
9e0e3d0b
DM
168882012-05-23 David S. Miller <davem@davemloft.net>
16889
16890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16891 (__libc_sigaction): Remove unused local variables.
16892
ccd0a08f
L
168932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16896
62bdf9a6
PE
168972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16898
f8591f80
PE
16899 mktime: avoid signed integer overflow
16900 * time/mktime.c (__mktime_internal): Do not mishandle the case
16901 where diff == INT_MIN.
16902
94c7d826
PE
16903 mktime: simplify computation of average
16904 * time/mktime.c (ranged_convert): Use new time_t_avg function
16905 instead of rolling our own (probably-slower) code.
16906
ce73d683
PE
16907 mktime: do not assume signed right shift propagates sign bit
16908 * time/mktime.c (isdst_differ): New static function.
16909 (__mktime_internal): No need to normalize tm_isdst now.
16910 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16911 tm_isdst values.
16912
72a22e59
PE
16913 mktime: merge another wrapv change from gnulib
16914 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16915 from some compilers.
16916
68605433
PE
16917 mktime: remove incorrect attempt at unusual arithmetics
16918 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16919 The code didn't really work on such machines anyway.
16920 (TYPE_MINIMUM): Assume two's complement.
16921 (twos_complement_arithmetic): Verify that long_int and time_t
16922 are two's complement (or unsigned, in the latter case).
16923
03cf7fe3
PE
16924 mktime: check signed shifts on long_int and time_t, too
16925 * time/mktime.c (SHR): Check that shifts work as desired
16926 on the types long_int and time_t too, as SHR is used on
16927 such types.
16928
f04dfbc2
PE
16929 mktime: do not assume 'long' is wide enough
16930 * time/mktime.c (verify): Move decl up.
16931 (long_int): New type.
16932 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16933 to remove assumption in the code that 'long' is wide enough to
16934 store year values. This assumption is not true on x32 and on
16935 some non-glibc platforms.
16936
62bdf9a6
PE
16937 mktime: merge wrapv change from gnulib
16938 * time/mktime.c (WRAPV): New macro.
16939 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16940 (guess_time_tm, __mktime_internal): Do not assume that signed
16941 integer overflow wraps around; modern compilers generate code
16942 where this assumption is no longer valid.
16943
5e292e4f
L
169442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16947 Replace "jmp L(pseudo_end)" with "ret".
16948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16949 Likewise.
16950
8caf8c87
AJ
169512012-05-23 Andreas Jaeger <aj@suse.de>
16952
16953 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16954 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16955
1a09dc56
AJ
169562012-05-23 Andreas Jaeger <aj@suse.de>
16957 Maximilian Attems <max@stro.at>
16958
16959 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16960 New macros.
16961
1c87aba0
L
169622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16965 code so that pseudo_end is just ret and the stack pointer is
16966 correct also for static library in error case.
16967
40e45bd5
JM
169682012-05-23 Joseph Myers <joseph@codesourcery.com>
16969
c2670533
JM
16970 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16971 move to syscalls.list.
16972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16976
40e45bd5
JM
16977 * manual/install.texi (Running make install): Do not mention Linux
16978 kernel version for which pt_chown is not needed.
16979 (Linux): Do not mention problems with nscd with 2.0 kernels.
16980 * INSTALL: Regenerated.
16981
be08eda5
AJ
169822012-05-23 Andreas Jaeger <aj@suse.de>
16983
16984 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16985 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16986 macro.
16987 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16989 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16991 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16994 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16996 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16997 * sysdeps/unix/sysv/linux/bits/in.h
16998 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16999
a6a056bb
RM
170002012-05-22 Roland McGrath <roland@hack.frob.com>
17001
17002 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17003 (PREPARE_VERSION): Just use assert instead, it will be elided
17004 under [NDEBUG] anyway.
17005
c9009328
L
170062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17007
17008 * sysdeps/unix/sysv/linux/Makefile: Include
17009 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17010 (sysdep_routines): Remove sysctl.
c9009328
L
17011 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17012 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17013 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17015 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17016
73338355
AJ
170172012-05-22 Andreas Jaeger <aj@suse.de>
17018
17019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17020 that pseudo_end is just ret and the stack pointer is correct also
17021 for static library in error case.
17022
d44638b0
PP
170232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17024
17025 [BZ #14122]
17026 * nss/nsswitch.c (defconfig_entries): New variable.
17027 (__nss_database_lookup): Don't leak defconfig entries.
17028 (nss_parse_service_list): Don't leak on error paths.
17029 (free_database_entries): New function.
17030 (free_defconfig): New function.
17031 (free_mem): Move common code to free_database_entries.
17032
31a39bd8
L
170332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17034
da0331a8
L
17035 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17036 Add arch_prctl.
17037 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17038
31a39bd8
L
17039 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17040 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17042 New macro.
17043 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17044 (INTERNAL_SYSCALL_TYPES): Likewise.
17045 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17046 (LOAD_REGS_TYPES_[1-6]): Likewise.
17047 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17048 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17049
45470df3
AZ
170502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17051
17052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17053 copysignl for GLIBC_2_0.
17054 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17055 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17057 logbl for GLIBC_2_0.
17058 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17059 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17060
98a61bcb
L
170612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17062
a4f6e481
L
17063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17064 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17065
f63d5db6
L
17066 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17067 Use "neg %eax".
17068
98a61bcb
L
17069 * time/mktime.c: Update copyright years.
17070
95770f14
PE
170712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17072
6226efbd
PE
17073 mktime: merge comment-quoting-style change from gnulib
17074 * time/mktime.c: Quote 'like this' in comments.
17075 The GNU coding standards suggest that we no longer quote `like this',
17076 as "`" and "'" are typically rendered asymmetrically nowadays.
17077 The typical gnulib style is to quote 'like this' when quoting
17078 code, and "like this" when quoting English.
17079
b99e4f78
PE
17080 * time/mktime.c (compile-command): Add "-I.".
17081
643e01e6
PE
17082 mktime: merge mktime-internal.h change from gnulib
17083 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17084
2554247d
PE
17085 mktime: merge time_r change from gnulib
17086 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17087
826dd0ab
PE
17088 mktime: merge DEBUG change from gnulib
17089 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17090 case system <time.h> has a #define.
17091
bd83aabe
PE
17092 mktime: merge <sys/types.h> change from gnulib
17093 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17094 since <time.t> is now guaranteed to define time_t.
17095
95770f14
PE
17096 mktime: merge HAVE_CONFIG_H change from gnulib
17097 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17098
5e1a27a9
L
170992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17100
0e44a77e
L
17101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17102 Use "neg %eax".
17103
5e1a27a9
L
17104 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17105 __rlim_t cast.
17106 (struct rusage): Use anonymous union to pad each field to
17107 __syscall_slong_t.
17108
46259bec
DM
171092012-05-21 David S. Miller <davem@davemloft.net>
17110
17111 * Makefules (o-iterator): Remove .s cases.
17112 (compile-command.s): Delete.
17113 (COMPILE.s): Delete.
17114 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17115
59f0c22e
JM
171162012-05-21 Joseph Myers <joseph@codesourcery.com>
17117
17118 * configure.in (libc_cv_predef_stack_protector): Only consider
17119 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17120 * configure: Regenerated.
17121
20c07380
L
171222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17123
bbb3154b
L
17124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17125 New macro. Use R*LP on int and pointer.
17126 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17127 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17128 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17129 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17130
20c07380
L
17131 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17132 [__WORDSIZE_TIME64_COMPAT32] instead of
17133 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17134 (struct utmp): Likewise.
17135 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17136 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17137 Renamed to ...
17138 (__WORDSIZE_TIME64_COMPAT32): This.
17139 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17140 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17141 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17142 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17143 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17144 (__WORDSIZE_TIME64_COMPAT32): New macro.
17145
d8d1017e
AJ
171462012-05-21 Andreas Jaeger <aj@suse.de>
17147
17148 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17149 only if [SHARED]. Add prototype for __wcschr_ia32.
17150
6c7fb145
RM
171512012-05-21 Roland McGrath <roland@hack.frob.com>
17152
17153 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17154 of %rbp unmolested in the jmp_buf while mangling the low bits.
17155 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17156 unmolested high bits of %rbp while demangling the low bits.
17157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17158
66274218
AJ
171592012-05-21 Andreas Jaeger <aj@suse.de>
17160
07c58f8f
AJ
17161 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17162 * sunrpc/svc_simple.c: Use it for registerrpc.
17163 * sunrpc/xcrypt.c: Use it for passwd2des.
17164
66274218
AJ
17165 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17166
61f65140
L
171672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17168
17169 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17170 Don't define if [__SYSCALL_WORDSIZE != 32].
17171 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17172 New macro.
17173
5fefb436
AJ
171742012-05-21 Bruno Haible <bruno@clisp.org>
17175 Andreas Jaeger <aj@suse.de>
17176
17177 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17178 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17179 inptr and inend for must_buffer_ch.
17180 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17181 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17182 * stdio-common/Makefile (tests): Remove bug15.
17183 (bug15-ENV): Remove macro.
17184 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17185 anymore.
17186
d8e272ab
AJ
171872012-05-19 Andreas Jaeger <aj@suse.de>
17188 Roland McGrath <roland@hack.frob.com>
17189
17190 * manual/contrib.texi: Completely rewritten. It contains now an
17191 alphabetical list of contributors and their contributions.
17192
4a56a162
RH
171932012-05-21 Richard Henderson <rth@twiddle.net>
17194
17195 * misc/getauxval.c (__getauxval): Use unsigned long int.
17196 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17197 (getauxval): Use unsigned long int.
17198
d024d23c
L
171992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17200
17201 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17202
cbc00a03
RM
172032012-05-21 Roland McGrath <roland@hack.frob.com>
17204
17205 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17206 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17207 __alignof__ (long double).
17208
478143fa
AZ
172092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17210
17211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17212
c7683a6d
RH
172132012-05-20 Richard Henderson <rth@twiddle.net>
17214
17215 * misc/getauxval.c: New file.
17216 * misc/sys/auxv.h: New file.
17217 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17218 (routines): Add getauxval.
17219 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17220 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17221 * elf/dl-sysdep.c (_dl_auxv): Remove.
17222 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17223 * elf/dl-support.c (_dl_auxv): New variable.
17224 (_dl_aux_init): Initialize it.
17225 * manual/startup.texi (Auxiliary Vector): New node.
17226 * sysdeps/generic/bits/hwcap.h: New file.
17227 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17228 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17229 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17230 * sysdeps/sparc/sysdep.h: ... here. Include it.
17231 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17234 Update.
c7683a6d
RH
17235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17243
a6f1845d
AZ
172442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17245
17246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17247
cbcbe830
DM
172482012-05-19 David S. Miller <davem@davemloft.net>
17249
17250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17251
e0b16cc2
JM
172522012-05-19 Joseph Myers <joseph@codesourcery.com>
17253
17254 [BZ #14123]
17255 * math/s_ccosh.c: Include <float.h>
17256 (__ccosh): Avoid internal overflow calculating sinh and cosh
17257 values before multiplying by sin and cos values.
17258 * math/s_ccoshf.c: Likewise.
17259 * math/s_ccoshl.c: Likewise.
17260 * math/s_csin.c: Likewise.
17261 * math/s_csinf.c: Likewise.
17262 * math/s_csinl.c: Likewise.
17263 * math/s_csinh.c: Likewise.
17264 * math/s_csinhf.c: Likewise.
17265 * math/s_csinhl.c: Likewise.
17266 * math/libm-test.inc (ccos_test): Add more tests.
17267 (ccosh_test): Likewise.
17268 (csin_test): Likewise.
17269 (csinh_test): Likewise.
17270 * sysdeps/i386/fpu/libm-test-ulps: Update.
17271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17272
6ad13e08
L
172732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17274
f66f0ce8
L
17275 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17276 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17277
6ad13e08
L
17278 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17279
b1d072a7
JM
172802012-05-19 Joseph Myers <joseph@codesourcery.com>
17281
17282 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17283 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17284 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17285 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17286 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17287 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17288 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17289 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17290 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17291 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17292 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17293 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17294 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17295 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17296 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17297 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17298 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17299 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17300 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17301 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17302 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17303 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17304 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17305 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17306 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17307 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17308 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17309 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17310 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17311 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17312 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17313
9eae47cb
AJ
173142012-05-18 Andreas Jaeger <aj@suse.de>
17315
17316 * csu/.gitignore: Delete.
17317
bb07f69f
L
173182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17321 (timex): Use __syscall_slong_t.
17322
e6bdb741
AJ
173232012-05-18 Andreas Jaeger <aj@suse.de>
17324 Carlos O'Donell <carlos_odonell@mentor.com>
17325
17326 * manual/install.texi (Configuring and compiling): Update
17327 description about files modified in the source directory.
d6c33fda 17328 * INSTALL: Regenerated.
e6bdb741 17329
1b74487e
L
173302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17331
17332 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17333 value. Use "or" to set return value to -1.
17334 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17335 negate return value.
17336
a88b64b9
TMQMF
173372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17338
17339 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17340 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17341 failure if the compiler has Graphite support disabled.
17342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17343 Likewise.
17344 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17345 CFLAGS-memmove.c): Likewise.
17346 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17347 Likewise.
17348
3707636e
L
173492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17350
610b8622
L
17351 * sysdeps/x86_64/x32/_itoa.h: New file.
17352
7cd195df
L
17353 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17354 getdents system call only if kernel and user dirents have the
17355 same d_ino and d_off.
17356
94b07d20
L
17357 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17358 LLONG_MAX != LONG_MAX.
17359 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17360 (_fitoa_word): Likewise.
17361
18298070
L
17362 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17363 years.
17364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17365 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17366 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17367
553c7ea4
L
17368 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17369 include <bits/wordsize.h>. Check __x86_64__ instead of
17370 __WORDSIZE.
17371 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17372 if __x86_64__ is defined. Use anonymous union on fpstate.
17373
3707636e
L
17374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17375 anonymous union.
17376
b53ef01a
AS
173772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17378
37fb1dc0
AS
17379 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17380 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17382 Refer to _rtld_local_ro instead of _rtld_global_ro.
17383 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17384 Likewise.
17385 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17386 Likewise.
17387 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17388 Likewise.
17389 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17390 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17391 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17392
b53ef01a
AS
17393 * sysdeps/powerpc/powerpc32/dl-machine.c
17394 (__elf_machine_runtime_setup) [PROF]: Don't reference
17395 _dl_prof_resolve.
17396
7a185db2
AJ
173972012-05-18 Andreas Jaeger <aj@suse.de>
17398
17399 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17400 function only available for GCCs before 3.4 since GCC 3.4
17401 introduced a builtin.
17402 (lrint): Likewise.
17403 (llrintf): Likewise.
17404 (llrint): Likewise.
17405 (fmaxf): Likewise.
17406 (fmax): Likewise.
17407 (fminf): Likewise.
17408 (fmin): Likewise.
17409 (rint): Likewise.
17410 (rintf): Likewise.
17411 (nearbyint): Likewise.
17412 (nearbyintf): Likewise.
17413 (ceil): Likewise.
17414 (ceilf): Likewise.
17415 (floor): Likewise.
17416 (floorf): Likewise.
17417
3e5aef87
L
174182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17419
428bd707
L
17420 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17421 on both fields and cast pointer to __syscall_ulong_t.
17422
3e5aef87
L
17423 * bits/types.h (__fsword_t): New type.
17424 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17425 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17427 (__FSWORD_T_TYPE): Likewise.
17428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17429 (__FSWORD_T_TYPE): Likewise.
17430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17431 (__FSWORD_T_TYPE): Likewise.
17432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17433 (__FSWORD_T_TYPE): Likewise.
17434 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17435 __SWORD_TYPE with __fsword_t.
17436 (statfs64): Likewise.
17437
1ba7c3dc
DM
174382012-05-17 David S. Miller <davem@davemloft.net>
17439
17440 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17441
59910343
AJ
174422012-05-17 Andreas Jaeger <aj@suse.de>
17443
17444 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17445 warning.
17446
2e4c1e9e
L
174472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17448
17449 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17450
de7f5ce7
AJ
174512012-05-17 Andreas Jaeger <aj@suse.de>
17452
17453 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17454 when it is used.
17455
286abc3d
CM
174562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17457
17458 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17459
477cc68e
L
174602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17461
17462 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17463 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17464
1a0994f5
CD
174652012-05-17 Andreas Jaeger <aj@suse.de>
17466 Carlos O'Donell <carlos_odonell@mentor.com>
17467
17468 [BZ #14059]
17469 * sysdeps/x86_64/multiarch/init-arch.h
17470 (bit_YMM_Usable): Rename to...
17471 (bit_AVX_Usable): ... this.
17472 (bit_FMA4_Usable): New macro.
17473 (bit_XMM_state): New macro.
17474 (bit_YMM_state): New macro.
17475 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17476 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17477 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17478 (CPUID_OSXSAVE): New macro.
17479 (CPUID_AVX): New macro.
17480 (CPUID_FMA4): New macro.
17481 (index_YMM_Usable): Rename to...
17482 (index_AVX_Usable): ... this.
17483 (HAS_AVX): Use HAS_ARCH_FEATURE.
17484 (HAS_FMA4): Likewise.
17485 (HAS_YMM_USABLE): Remove.
17486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17487 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17488 are present.
17489 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17490 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17491 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17492 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17493 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17494
0af797de
CM
174952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17496
17497 * math/libm-test.c: Support platforms without multiple rounding modes.
17498 * math/bug-nextafter.c: Support platforms without FP exceptions.
17499 * math/bug-nexttoward.c: Likewise.
17500 * math/test-fenv.c: Likewise.
17501 * math/test-misc.c: Likewise.
17502 * stdlib/bug-getcontext.c: Likewise.
17503
e39745ff
AJ
175042012-05-17 Andreas Jaeger <aj@suse.de>
17505
17506 * manual/examples/search.c (critter_cmp): Change signature to
17507 avoid warnings.
17508 * manual/string.texi (Collation Functions): Likewise.
17509
48970aba
L
175102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 * bits/types.h: Fold copyright years.
17513 * bits/typesizes.h: Likewise.
17514 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17518 * time/time.h: Likewise.
17519
bedee953
PP
175202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17521
17522 [BZ #208]
17523 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17524 in instead of returning them. Return void.
17525 (__libc_mallinfo): Accumulate over all arenas.
17526 (__malloc_stats): Adjust for change in int_mallinfo interface.
17527
61653dfb
RM
175282012-05-16 Roland McGrath <roland@hack.frob.com>
17529
30b99d79
RM
17530 [BZ #10375]
17531 * configure.in (NM): Add AC_CHECK_TOOL for it.
17532 (libc_extra_cflags): New substituted variable.
17533 Check for -fstack-protector being used implicitly.
17534 * configure: Regenerated.
17535 * config.make.in (config-extra-cflags): New variable,
17536 gets @libc_extra_cflags@.
17537 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17538
61653dfb
RM
17539 [BZ #10375]
17540 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17541 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17542 * configure: Regenerated.
17543 * config.make.in (CPPUNDEFS): New substituted variable.
17544 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17545 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17546 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17547
661768bb
L
175482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17549
17550 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17551 (mq_attr): Use __syscall_slong_t.
17552
d4261567
L
175532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17554
17555 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17556 Check __x86_64__ instead of __WORDSIZE.
17557 (_STAT_VER_LINUX): Likewise.
17558 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17559 __syscall_ulong_t and __syscall_slong_t.
17560 (stat64): Likewise.
17561
cf3ff365
L
175622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17563
17564 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17565
76cf3e4d
L
175662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17567
17568 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17569
a637753a
L
175702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17573 __syscall_ulong_t.
17574
d5e05119
L
17575 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17576 include <bits/wordsize.h>. Check __x86_64__ instead of
17577 __WORDSIZE.
17578 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17579 defined.
17580 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17581
f62ee380
L
17582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17583 include <bits/wordsize.h>. Check __x86_64__ instead of
17584 __WORDSIZE.
17585 (user_regs_struct): Use "__extension__ unsigned long long"
17586 instead of "unsigned long" if __x86_64__ is defined.
17587 (user): Likewise. Pad after pointer field if __ILP32__ is
17588 defined.
17589
4e124ced
JM
175902012-05-16 Joseph Myers <joseph@codesourcery.com>
17591
6a3951a0
JM
17592 * configure.in (makeinfo): Require version 4.5 or later. Allow
17593 versions 5 to 9.
17594 * configure: Regenerated.
17595 * manual/install.texi (texinfo): Increase version requirement to
17596 4.5 or later.
17597 * INSTALL: Regenerated.
17598
4e124ced
JM
17599 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17600
953ca31a
L
176012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17602
17603 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17604
617aca05
L
17605 * sysdeps/x86_64/x32/ffs.c: New file.
17606
5762f7ae
L
17607 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17608 __syscall_ulong_t.
17609 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17610 defined. Use __syscall_ulong_t.
17611 (shminfo): Use __syscall_ulong_t.
17612 (shm_info): Likewise.
17613
a26b6856
L
17614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17615 __syscall_ulong_t.
17616
cb2b9ef7
L
17617 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17618 <bits/wordsize.h>.
17619 (msgqnum_t): Use __syscall_ulong_t.
17620 (msglen_t): Likewise.
17621 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17622 __syscall_ulong_t.
17623
34683bb0
L
17624 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17625 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17626
84a68786
L
17627 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17628
48baa5f1
L
17629 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17630 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17631
180be88b
L
17632 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17633 __syscall_slong_t.
17634
5e90c8ad
L
17635 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17636 include <bits/wordsize.h>. Check __x86_64__ instead of
17637 __WORDSIZE.
17638
23dfb58b
L
17639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17640 "unsigned long long int" if __x86_64__ is defined.
17641 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17642
ce5d54b0
L
17643 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17644 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17645 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17646
13dc9eac
L
17647 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17648 <stdint.h>.
17649 (GET_PC): Cast to uintptr_t first.
17650 (GET_FRAME): Likewise.
17651 (GET_STACK): Likewise.
17652
a7895d15
L
17653 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17655 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17657 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17659 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17660 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17661 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17664 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17666 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17668 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17670 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17674 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17676 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17677 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17678 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17680 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17682
656416c9
AS
176832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17684
5bd66283
AS
17685 * Makerules (+depfiles): Also collect depfiles from .oS in
17686 $(extra-objs).
17687 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17688 .oS, $(libnldbl-routines)).
17689
656416c9
AS
17690 * Makerules (native-compile-mkdep-flags): Define.
17691 * sunrpc/Makefile (extra-objs): Add $(addprefix
17692 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17693 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17694 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17695 calling $(make-target-directory).
17696
a46f2169
L
176972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17698
17699 * bits/types.h (__snseconds_t): Removed.
17700 * time/time.h (struct timespec): Replace __snseconds_t with
17701 __syscall_slong_t.
17702 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17703 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17704 Likewise.
17705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17706 (__SNSECONDS_T_TYPE): Likewise.
17707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17708 (__SNSECONDS_T_TYPE): Likewise.
17709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17710 (__SNSECONDS_T_TYPE): Likewise.
17711
6af6528b
L
177122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17713
17714 * sysdeps/mach/hurd/bits/typesizes.h
17715 (__SYSCALL_SLONG_TYPE): New macro.
17716 (__SYSCALL_ULONG_TYPE): Likewise.
17717
de986b56
L
177182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17719
17720 * bits/types.h (__syscall_slong_t): New type.
17721 (__syscall_ulong_t): Likewise.
17722
17723 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17724 (__SYSCALL_ULONG_TYPE): Likewise.
17725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17726 (__SYSCALL_SLONG_TYPE): Likewise.
17727 (__SYSCALL_ULONG_TYPE): Likewise.
17728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17729 (__SYSCALL_SLONG_TYPE): Likewise.
17730 (__SYSCALL_ULONG_TYPE): Likewise.
17731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17732 (__SYSCALL_SLONG_TYPE): Likewise.
17733 (__SYSCALL_ULONG_TYPE): Likewise.
17734
85736dc7
L
177352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17736
17737 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17738 Add sigaltstack-offsets.sym.
17739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17740 <sigaltstack-offsets.h>.
17741 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17742 longjmp_msg pointer.
17743 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17744 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17745 signal stack.
17746 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17747
cc03b296
JM
177482012-05-15 Joseph Myers <joseph@codesourcery.com>
17749
a9538892
JM
17750 * elf/stackguard-macros.h: Remove file.
17751 * sysdeps/generic/stackguard-macros.h: New file.
17752 * sysdeps/i386/stackguard-macros.h: Likewise.
17753 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17754 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17755 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17756 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17757 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17758 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17759 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17760 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17761 <elf/stackguard-macros.h>.
17762
cc03b296
JM
17763 [BZ #14109]
17764 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17765 __aligned__ in attribute.
17766 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17767 (gregset_t): Likewise.
17768
93171016
L
177692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17772 * sysdeps/x86_64/64/Implies-after: Here. New file.
17773 * sysdeps/x86_64/x32/Implies-after: New file.
17774
d86813a0
L
177752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17776
17777 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17778 and access return value for _dl_profile_fixup. Use R10_LP to
17779 load frame size.
17780
2953ec75
L
177812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17782
17783 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17784
3b550e9e
L
177852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17786
17787 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17788 * sysdeps/x86_64/x32/sysdep.h: New file.
17789
eda41706
L
177902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17791
17792 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17793 * sysdeps/x86_64/setjmp.S: Likewise.
17794
9ea01d93
AZ
177952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17796
17797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17798 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17799 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17800 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17801 remove unused global constant.
17802
02a91938
CM
178032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17804
17805 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17806 include of <not-cancel.h>.
17807
6540185f
RM
178082012-05-15 Roland McGrath <roland@hack.frob.com>
17809
17810 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17811
509072a0
AJ
178122012-05-15 Jeff Law <law@redhat.com>
17813 Andreas Jaeger <aj@suse.de>
17814
17815 [BZ #13594]
17816 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17817 out from...
17818 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17819 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17820 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17821 code changing __hst_map_handle.map.
17822
ba75122d
RM
178232012-05-15 Roland McGrath <roland@hack.frob.com>
17824
17825 * configure.in (sysnames): Look for Implies-before and Implies-after
17826 files.
17827 * configure: Regenerated.
17828
890d8bd8
L
178292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17830
17831 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17832 8-byte data alignment with LP_SIZE alignment.
17833
f6ee6623
L
178342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17837 into R10_LP.
17838
ea2626f6
L
178392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17842
085f715e
L
178432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17844
17845 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17848 Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17850
be8498fc
L
178512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17852
17853 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17854 (stackinfo_sub_sp): Likewise.
17855
70bc83b9
L
178562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17857
17858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17859 RAX_LP.
17860
9bc0b730
L
178612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17862
17863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17864 into R*_LP.
17865
6d2850e7
L
178662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17867
17868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17869 sizes into R*_LP.
17870
3cb84561
L
178712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17872
17873 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17874
54e2ed81
L
178752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17876
17877 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17878 into R11_LP and load __x86_64_shared_cache_size_half into
17879 R8_LP.
17880
8a17f349
L
178812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17884 R8_LP.
17885
777b1eea
AZ
178862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17887
17888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17889 logb for POWER7.
17890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17891 logbf for POWER7.
17892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17893 logbl for POWER7.
17894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17895 powerpc32/power7/fpu/s_logb.c via #include.
17896 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17897 powerpc32/power7/fpu/s_logbf.c via #include.
17898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17899 powerpc32/power7/fpu/s_logbl.c via #include.
17900
d20d4ac2
JM
179012012-05-15 Joseph Myers <joseph@codesourcery.com>
17902
17903 * README.libm: Remove file.
17904
6cdef1ab
L
179052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17908 count for x32. Use R*_LP and omit operand-size suffix.
17909
0b254d8f
L
179102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17913 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17914 * sysdeps/x86_64/x32/shlib-versions: New file.
17915
ceb809dc
RM
179162012-05-14 Roland McGrath <roland@hack.frob.com>
17917
17918 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17919 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17920 Use _dl_fatal_printf instead.
17921
37f1abd4
JM
179222012-05-14 Joseph Myers <joseph@codesourcery.com>
17923
17924 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17925 set if not set by the user. Do not allow for being unset.
17926 * sysdeps/unix/sysv/linux/configure: Regenerated.
17927
11de3a33
L
179282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17931 the `q' suffix from lea and replace .quad with ASM_ADDR.
17932
e02f153a
L
179332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17936 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17937 instead of $17.
17938 (PTR_DEMANGLE): Likewise.
17939
520ae0fd
L
179402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17941
17942 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17943 (LP_OP): Likewise.
17944 (ASM_ADDR): Likewise.
17945 (RAX_LP): Likewise.
17946 (RBP_LP): Likewise.
17947 (RBX_LP): Likewise.
17948 (RCX_LP): Likewise.
17949 (RDI_LP): Likewise.
17950 (RSI_LP): Likewise.
17951 (RSP_LP): Likewise.
17952 (R8_LP): Likewise.
17953 (R9_LP): Likewise.
17954 (R10_LP): Likewise.
17955 (R10_LP): Likewise.
17956 (R11_LP): Likewise.
17957 (R12_LP): Likewise.
17958 (R13_LP): Likewise.
17959 (R14_LP): Likewise.
17960 (R15_LP): Likewise.
17961
b985be81
L
179622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 * sysdeps/x86_64/x32/dl-machine.h: New file.
17965
6a4888ff
AJ
179662012-05-14 Andreas Jaeger <aj@suse.de>
17967
17968 * manual/Makefile (subdir): Remove export of subdir.
17969 (all): Remove target.
17970 (.PHONY): Remove all from list.
17971 (mkinstalldirs): Remove.
17972 (.PHONY): Remove installdirs from list.
17973 ($(inst_infodir)/libc.info): Use make-target-directory.
17974 (installdirs): Remove.
17975 (subdir_%): Remove.
17976 (glibc-targets): Remove.
17977 (lib): Remove.
17978 (stubs): Remove.
17979 ($(objpfx)stubs ../po/manual.pot): Remove.
17980 ($(objpfx)stamp%): Remove.
17981 (make-target-directory): Remove.
17982 (subdir_install): Remove.
17983 (routines): Remove.
17984 (aux): Remove.
17985 (sources): Remove.
17986 (objects): Remove.
17987 (headers): Remove.
17988
17989 [BZ #13750]
17990 * manual/.gitignore: Remove, it's not needed anymore.
17991 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17992 all files in it.
17993 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17994 directory.
17995 (texis): Renamed to $(objpfx)texis.
17996 (texis-path): New, contains path to generated files.
17997 (chapters.%): Use texis-path for complete path, add extra argument
17998 libc-texinfo.sh.
17999 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18000 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18001 (summary,texi, stamp-summary): Use complete path of
18002 files. Generate files in build dir.
18003 (dir-add.texi): Build in build dir.
18004 (libm-err.texi,stamp-libm-err): Likewise.
18005 (version.texi, stamp-version): Likewise.
18006 (.%c.texi): Likewise.
18007 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18008 (mostlyclean): Remove target.
18009 (realclean): Remove target.
18010 (generated): Add new variable with contents from mostlyclean and
18011 realclean, remove entries duplicated in common-mostlyclean, add
18012 stamp-libm-err and stamp-version.
18013 (generated-dirs): Add libc directory.
18014 ($(inst_infodir)/libc.info): Install files from build dir.
18015
18016 * manual/install.texi (Configuring and compiling): Adjust since
18017 the info files are not part of the tar ball anymore.
18018
7ac77294
AJ
180192012-05-14 Andreas Jaeger <aj@suse.de>
18020
18021 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18022 variable.
18023
ffb7875d
JM
180242012-05-14 Joseph Myers <joseph@codesourcery.com>
18025
18026 [BZ #13717]
18027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18028 to 2.2.0 where earlier.
18029 * sysdeps/unix/sysv/linux/configure: Regenerated.
18030 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18031 Remove conditional code.
18032 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18033 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18034 Remove conditional code.
18035 [!__NR_lchown]: Likewise.
18036 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18037 [__NR_lchown]: Likewise.
18038 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18039 comment referencing __ASSUME_LCHOWN_SYSCALL.
18040 * sysdeps/unix/sysv/linux/i386/sigaction.c
18041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18043 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18044 Remove conditional code.
18045 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18046 (__protocol_available): Remove #if 0 code.
18047 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18048 conditional code.
18049 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18050 * sysdeps/unix/sysv/linux/kernel-features.h
18051 (__ASSUME_GETCWD_SYSCALL): Don't define.
18052 (__ASSUME_REALTIME_SIGNALS): Likewise.
18053 (__ASSUME_PREAD_SYSCALL): Likewise.
18054 (__ASSUME_PWRITE_SYSCALL): Likewise.
18055 (__ASSUME_POLL_SYSCALL): Likewise.
18056 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18057 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18058 non-SPARC.
18059 (__ASSUME_SIOCGIFNAME): Don't define.
18060 (__ASSUME_MSG_NOSIGNAL): Likewise.
18061 (__ASSUME_SENDFILE): Define unconditionally.
18062 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18063 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18064 conditional code.
18065 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18066 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18067 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18068 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18069 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18070 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18071 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18073 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18076 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18082 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18085 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18088 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18089 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18091 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18094 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18096 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18097 Remove conditional code.
18098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18099 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18100 Remove conditional code.
18101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18102 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18103 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18104 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18105 Remove conditional code.
18106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18107 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18108 Remove conditional code.
18109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18110 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18111 Remove conditional code.
18112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18113 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18114 Remove conditional code.
18115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18116 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18117 Remove conditional code.
18118 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18119 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18122 * sysdeps/unix/sysv/linux/sigaction.c
18123 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18124 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18125 * sysdeps/unix/sysv/linux/sigpending.c
18126 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18127 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18128 * sysdeps/unix/sysv/linux/sigprocmask.c
18129 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18130 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18131 * sysdeps/unix/sysv/linux/sigsuspend.c
18132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18134 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18135 (__libc_missing_rt_sigs): Remove.
18136 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18137 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18138 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18139 Remove conditional code.
18140 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18141 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18142 return 1.
18143 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18144 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18146 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18147
1bfb7291
AJ
181482012-05-14 Andreas Jaeger <aj@suse.de>
18149
caae5a81
AJ
18150 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18151 it's not used in glibc.
18152 (__coshm1): Likewise.
18153 (__acosh1p): Likewise.
18154 (__sgn): Likewise.
18155
1bfb7291
AJ
18156 * manual/string.texi (Copying and Concatenation): Add missing
18157 variable in concat example.
18158 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18159
c044d724
L
181602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18161
144c5467 18162 [BZ #14103]
c044d724
L
18163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18164 __builtin_clzl with __builtin_clzll.
18165
2523c62b
L
181662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18167
18168 [BZ #14104]
18169 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18170 libc_freeres_ptr.
18171
d7bb4c42
LD
181722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18173
18174 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18175 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18176 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18177 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18178
9dc4e1fb
MF
181792012-05-14 Mike Frysinger <vapier@gentoo.org>
18180
18181 * NEWS: Update ia64 info.
18182
c7df0112
AS
181832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18184
18185 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18186 used as bcopy.
18187
dc70356c
TS
181882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18189
18190 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18191 * sysdeps/unix/syscalls.list (dup3): Likewise.
18192 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18193 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18194
9fb1a21f
L
181952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18196
18197 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18198 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18199
4822a2a5
L
182002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18201
18202 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18203 thread pointer.
18204 (TLS_IE): Use mov/add instead of movq/addq to load thread
18205 pointer.
18206 (TLS_GD_PREFIX): New.
18207 (TLS_GD): Use it.
18208
842b81d6
DM
182092012-05-11 David S. Miller <davem@davemloft.net>
18210
18211 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18212 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18213 (_FPU_SETCW): Likewise.
18214
1cf463cd
L
182152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18216
18217 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18218 is 32-byte aligned.
18219
60cc4a18
AS
182202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18221
18222 [BZ #11837]
18223 * iconvdata/gb18030.c: Update tables.
18224 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18225 characters specially.
18226 (BODY for TO_LOOP): Add encoding of missing ranges.
18227
febb44a4
TS
182282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18229
18230 [BZ #13673]
18231 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18232 * sysdeps/mach/hurd/dup3.c: Likewise.
18233 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18234 * sysdeps/powerpc/memmove.c:: Likewise.
18235
0a10fb9e
L
182362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18239 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18240
df8a552f
L
182412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18242
18243 * elf/elf.h (R_X86_64_RELATIVE64): New.
18244 (R_X86_64_NUM): Updated.
18245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18246 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18247 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18248 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18249 tst-quad1pie tst-quad2pie
18250 (modules-names): Add tst-quadmod1 tst-quadmod2.
18251 ($(objpfx)tst-quad1): New dependency.
18252 ($(objpfx)tst-quad2): Likewise.
18253 ($(objpfx)tst-quad1pie): Likewise.
18254 ($(objpfx)tst-quad2pie): Likewise.
18255 * sysdeps/x86_64/tst-quad1.c: New file.
18256 * sysdeps/x86_64/tst-quad1pie.c: New file.
18257 * sysdeps/x86_64/tst-quad2.c: Likewise.
18258 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18259 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18260 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18261 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18262 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18263
f34d6f84
ST
182642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18265
f42d41d1
ST
18266 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18267 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18268 * streams/stropts.h (t_scalar_t): Define type.
18269
3c3571fc
ST
18270 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18271 (_PATH_PRESERVE): Set to "/var/lib".
18272 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18273
61f06bd3
ST
18274 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18275 instead of int.
18276
918d4d71
ST
18277 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18278 if __dir_mkfile succeeded.
18279
f34d6f84
ST
18280 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18281 checking for _hurd_dtablesize. Unlock it right after having
18282 finished _hurd_dtable allocation.
18283
10589b4a
TS
182842012-05-10 Thomas Schwinge <thomas@schwinge.name>
18285
674cdbc7
TS
18286 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18287 * sysdeps/mach/hurd/configure: Regenerated.
18288 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18289 special-casing to...
18290 * sysdeps/gnu/configure.in: ... this new file.
18291 * sysdeps/unix/sysv/linux/configure: Regenerated.
18292 * sysdeps/gnu/configure: New generated file.
18293
8e41b99f
TS
18294 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18295 for Linux: use nsec instead of usec, as well as:
18296 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18297 members of type struct timespec.
18298 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18299 New macros.
18300 (struct stat64): Likewise.
18301 (_STATBUF_ST_NSEC): New macro.
18302 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18303
10589b4a
TS
18304 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18305 __strtoul_internal rather than strtoul.
18306
63643c85
PT
183072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18308
18309 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18310 and reject them.
18311
3faebe6a
ST
183122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18313
18314 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18315 which preserves existing values.
18316 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18317
c6474b07
PT
183182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18319
18320 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18321 TIMEOUT values. Return EINVAL for NFDS values either negative or
18322 greater than FD_SETSIZE.
18323
1043890b
ST
183242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18325
18326 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18327 allocated, call __vm_protect to finish enabling the existing space, and
18328 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18329 allocate the remainder.
18330
37ed8b9b
PT
183312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18332
18333 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18334 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18335
db653660
ST
183362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18337
37ed8b9b
PT
18338 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18339 sysdeps/mach/hurd/readlink.c.
b29d4053 18340
db653660
ST
18341 * posix/tst-sysconf.c (posix_options): Only use
18342 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18343 _POSIX_SYNCHRONIZED_IO when they are defined
18344 * sysdeps/mach/hurd/bits/posix_opt.h:
18345 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18346 (_XOPEN_REALTIME): Undefine macro.
18347 (_XOPEN_REALTIME_THREADS): Undefine macro.
18348 (_XOPEN_SHM): Undefine macro.
18349 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18350 macro to -1.
18351 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18352 macro to -1.
18353 (_POSIX_ASYNC_IO): Undefine macro.
18354 (_POSIX_PRIORITIZED_IO): Undefine macro.
18355 (_POSIX_SPIN_LOCKS): Define macro to -1.
18356
ee16e894
ST
18357 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18358 SA_NODEFER, SA_RESETHAND.
18359 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18360 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18361 F_DUPFD_CLOEXEC.
18362
6103ae3b
TS
183632012-05-10 Thomas Schwinge <thomas@schwinge.name>
18364
18365 * elf/Makefile (pldd-modules): Define unconditionally.
18366
80b4e5f3
TS
183672012-05-10 Thomas Schwinge <thomas@schwinge.name>
18368
18369 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18370
edadcbd6
ST
183712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18372
18373 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18374 Return ENOENT when name is empty.
18375 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18376
80694780
TS
183772012-05-10 Thomas Schwinge <thomas@schwinge.name>
18378
1792c087
TS
18379 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18380
80694780
TS
18381 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18382
6b645f0d
ST
183832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18384
80694780
TS
18385 Fix mlock in all cases except non-readable pages.
18386 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18387 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18388
6b645f0d
ST
18389 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18390 (__mkdir): When path is `/', just fail with EEXIST.
18391 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18392
e468f8a3
TS
183932012-05-10 Thomas Schwinge <thomas@schwinge.name>
18394
18395 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18396 <sys/uio.h> (for writev).
18397 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18398 and <sys/param.h> (for MIN).
18399
a4186cff
PT
184002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18401
18402 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18403 REQUESTED_TIME. Properly set the remaining time and return EINTR
18404 if interrupted.
18405
510bbf14
TS
184062012-05-10 Thomas Schwinge <thomas@schwinge.name>
18407
18408 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18409 Depend on against $(link-rpcuserlibs).
18410
5d5722e8
ST
184112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18412
a4186cff
PT
18413 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18414 (__libc_stack_end): Do not use attribute_relro.
18415 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18416 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18417 to libthread-provided value.
a4186cff
PT
18418 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18419 attribute_relro.
5d5722e8 18420
37233df9
TS
184212012-05-10 Thomas Schwinge <thomas@schwinge.name>
18422
be971a2b
TS
18423 [BZ #3748]
18424 * bits/libc-lock.h (__libc_once_get): New macro.
18425 * sysdeps/mach/bits/libc-lock.h: Likewise.
18426 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18427 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18428 instead of using implementation details.
18429
37233df9
TS
18430 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18431 * libio/freopen.c: Likewise.
18432 * libio/freopen64.c: Likewise.
18433 * misc/syslog.c: Likewise.
18434 * nscd/connections.c: Likewise.
18435 * nscd/netgroupcache.c: Likewise.
18436 * sysdeps/posix/getcwd.c: Likewise.
18437
38de94a5
RM
184382012-05-10 Roland McGrath <roland@hack.frob.com>
18439
18440 * math/w_ilogbf.c: Add #include <limits.h>.
18441
67530489
ST
184422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18443
a4186cff 18444 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18445 path instead of returning without unlocking.
18446
67530489
ST
18447 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18448 immediate-write ioctls.
18449 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18450
5aa3a74a
TS
184512012-05-10 Thomas Schwinge <thomas@schwinge.name>
18452
18bad2ae
TS
18453 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18454 __builtin_frame_address instead of making assumptions about the
18455 location of the return address relative to DATA. Force early load of
18456 the return address.
18457 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18458 __builtin_frame_address.
18459
5aa3a74a
TS
18460 dup3 for GNU Hurd.
18461 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18462 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18463 implement dup3 and do some further code clean-ups.
18464 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18465 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18466
ecd0de9a
ST
184672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18468
cd9fa985
ST
18469 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18470
a4186cff
PT
18471 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18472 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18473 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18474 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18475 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18476 d->port.lock.
802ca5a5 18477
a4186cff
PT
18478 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18479 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18480 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18481
bcf55240
TS
184822012-05-10 Thomas Schwinge <thomas@schwinge.name>
18483
6960eb42
TS
18484 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18485 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18486 definitions.
18487
eb43375f
TS
18488 accept4 for GNU Hurd.
18489 * include/sys/socket.h (__libc_accept4): New prototype.
18490 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18491 to implement __libc_accept4.
18492 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18493 __libc_accept4.
18494 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18495
bcf55240
TS
18496 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18497 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18498 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18499 signal-defines.sym.
18500
6178c55b
ST
185012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18502
a4186cff 18503 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18504
6f080c2f
TS
185052012-05-10 Thomas Schwinge <thomas@schwinge.name>
18506
18507 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18508 assertion on O_CLOEXEC flag.
18509 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18510 * hurd/intern-fd.c: Likewise.
18511 * hurd/port2fd.c: Likewise.
18512
bcfe3a54
ST
185132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18514
18515 [BZ #3906]
18516 * bits/in.h (IPV6_PKTINFO): Define new macro.
18517 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18518
89c9aa49
AZ
185192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18520
18521 [BZ #13954]
18522 [BZ #13955]
18523 [BZ #13956]
18524 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18525 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18526 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18527 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18529 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18530 * math/libm-test.inc (logb_test) : Additional logb tests.
18531
021db4be
AJ
185322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18533 Andreas Jaeger <aj@suse.de>
18534
18535 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18536 * configure: Regenerated.
18537 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18538 * config.make.in (link-obsolete-rpc): New substituted variable.
18539 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18540 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18541 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18542 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18543 so that libc.a contains the symbols.
18544 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18545 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18546 * sunrpc/auth_none.c: Likewise.
18547 * sunrpc/auth_unix.c: Likewise.
18548 * sunrpc/authdes_prot.c: Likewise.
18549 * sunrpc/authuxprot.c: Likewise.
18550 * sunrpc/clnt_gen.c: Likewise.
18551 * sunrpc/clnt_perr.c: Likewise.
18552 * sunrpc/clnt_raw.c: Likewise.
18553 * sunrpc/clnt_simp.c: Likewise.
18554 * sunrpc/clnt_tcp.c: Likewise.
18555 * sunrpc/clnt_udp.c: Likewise.
18556 * sunrpc/clnt_unix.c: Likewise.
18557 * sunrpc/des_crypt.c: Likewise.
18558 * sunrpc/des_soft.c: Likewise.
18559 * sunrpc/get_myaddr.c: Likewise.
18560 * sunrpc/key_call.c: Likewise.
18561 * sunrpc/key_prot.c: Likewise.
18562 * sunrpc/netname.c: Likewise.
18563 * sunrpc/pm_getmaps.c: Likewise.
18564 * sunrpc/pm_getport.c: Likewise.
18565 * sunrpc/pmap_clnt.c: Likewise.
18566 * sunrpc/pmap_prot.c: Likewise.
18567 * sunrpc/pmap_prot2.c: Likewise.
18568 * sunrpc/pmap_rmt.c: Likewise.
18569 * sunrpc/publickey.c: Likewise.
18570 * sunrpc/rpc_cmsg.c: Likewise.
18571 * sunrpc/rpc_common.c: Likewise.
18572 * sunrpc/rpc_dtable.c: Likewise.
18573 * sunrpc/rpc_prot.c: Likewise.
18574 * sunrpc/rpc_thread.c: Likewise.
18575 * sunrpc/rtime.c: Likewise.
18576 * sunrpc/svc.c: Likewise.
18577 * sunrpc/svc_auth.c: Likewise.
18578 * sunrpc/svc_raw.c: Likewise.
18579 * sunrpc/svc_run.c: Likewise.
18580 * sunrpc/svc_tcp.c: Likewise.
18581 * sunrpc/svc_udp.c: Likewise.
18582 * sunrpc/svc_unix.c: Likewise.
18583 * sunrpc/svcauth_des.c: Likewise.
18584 * sunrpc/xcrypt.c: Likewise.
18585 * sunrpc/xdr.c: Likewise.
18586 * sunrpc/xdr_array.c: Likewise.
18587 * sunrpc/xdr_float.c: Likewise.
18588 * sunrpc/xdr_intXX_t.c: Likewise.
18589 * sunrpc/xdr_mem.c: Likewise.
18590 * sunrpc/xdr_rec.c: Likewise.
18591 * sunrpc/xdr_ref.c: Likewise.
18592 * sunrpc/xdr_sizeof.c: Likewise.
18593 * sunrpc/xdr_stdio.c: Likewise.
18594
b5c086a2
RM
185952012-05-10 Roland McGrath <roland@hack.frob.com>
18596
18597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18598 change. Update copyright years.
18599
6d74dd09
JM
186002012-05-10 Joseph Myers <joseph@codesourcery.com>
18601
18602 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18603
28e72501
MK
186042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18605 Joseph Myers <joseph@codesourcery.com>
18606 Paul Pluzhnikov <ppluzhnikov@google.com>
18607
18608 [BZ #14012]
18609 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18610 requiring rpcgen.
18611 [cross-compiling] (extra-libs): Likewise.
18612 [cross-compiling] (extra-libs-others): Likewise.
18613 [cross-compiling] (librpcsvc-routines): Likewise.
18614 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18615 [cross-compiling] (omit-deps): Likewise.
18616 (sunrpc-CPPFLAGS): New variable.
18617 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18618 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18619 (cross-rpcgen-objs): New variable.
18620 (extra-objs): Append $(cross-rpcgen-objs).
18621 ($(cross-rpcgen-objs)): New rule.
18622 ($(objpfx)cross-rpcgen): Likewise.
18623 (rpcgen-cmd): Define to use $(built-program-file). Expand
18624 comment.
18625 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18626 ($(objpfx)x%.stmp): Likewise.
18627 * sunrpc/proto.h [IS_IN_build] (_): Define.
18628 [IS_IN_build] (_libc_intl_domainname): Likewise.
18629
c8c59454
L
186302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18631
18632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18633 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18634 and R_X86_64_TPOFF64.
18635
6f27cd16
JM
186362012-05-10 Joseph Myers <joseph@codesourcery.com>
18637
18638 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18639 sysdeps/unix/sysv/syscalls.list.
18640 (stime): Likewise.
18641 (utime): Likewise.
18642 * sysdeps/unix/sysv/syscalls.list: Remove file.
18643
02467e1c
PE
186442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18645
18646 [BZ #3440]
18647 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18648 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18649 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18650 (__LC_IDENTIFICATION): Make these macros useful in #if
18651 expressions, as required by C99.
18652
da392631
AS
186532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18654
18655 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18656 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18657 after this.
18658
8115f29b
L
186592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18660
18661 * stdlib/longlong.h: Updated from GCC.
18662
bdd74070
AJ
186632012-05-09 Andreas Jaeger <aj@suse.de>
18664
edfe0dbe
AJ
18665 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18666 default is first entry.
18667 (run_mode): Set type.
18668 (main): Remove informal message about syslog.
18669 (options): Fix typo.
18670
bcfe3a54
ST
18671 [BZ #14053]
18672 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18673 to asm.
bcfe3a54
ST
18674 (lrint): Likewise.
18675 (llrintf): Likewise.
18676 (llrint): Likewise.
18677 (rint): Likewise.
18678 (rintf): Likewise.
18679 (nearbyint): Likewise.
18680 (nearbyintf): Likewise.
bdd74070 18681
91d8d69e
AJ
186822012-05-09 Andreas Jaeger <aj@suse.de>
18683 Pedro Alves <palves@redhat.com>
18684
18685 * nscd/nscd.c (run_mode): Use enum.
18686 (main): Cleanup coding style issue.
18687
bb90b80b
AJ
186882012-05-09 Alexandre Oliva <aoliva@redhat.com>
18689 Andreas Jaeger <aj@suse.de>
18690
bcfe3a54
ST
18691 * nscd/nscd.c (go_background): Replaced with...
18692 (run_mode): ... this.
bb90b80b 18693 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18694 (options): Add -F --foreground.
18695 (main): Implement it.
18696 (parse_opt): Parse it.
bb90b80b 18697
1a4b75a1
AJ
186982012-05-09 Andreas Jaeger <aj@suse.de>
18699
18700 [BZ #14083]
18701 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18702 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18703 -Wconversion warning.
18704 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18705 Likewise.
18706
b1cc2472
JM
187072012-05-09 Joseph Myers <joseph@codesourcery.com>
18708
18709 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18710 == 0.
18711 (LC_ALL): Use macro-int-constant.
18712 (LC_COLLATE): Likewise.
18713 (LC_CTYPE): Likewise.
18714 (LC_MESSAGES): Likewise.
18715 (LC_MONETARY): Likewise.
18716 (LC_NUMERIC): Likewise.
18717 (LC_TIME): Likewise.
18718 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18719 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18721 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18722 Specify type.
18723 [C99-based standards] (float_t): Expect type.
18724 [C99-based standards] (double_t): Expect type.
18725 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18726 type.
18727 [C99-based standards] (HUGE_VALL): Likewise.
18728 [C99-based standards] (INFINITY): Likewise.
18729 [C99-based standards] (NAN): Likewise.
18730 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18731 [C99-based standards] (FP_NAN): Likewise.
18732 [C99-based standards] (FP_NORMAL): Likewise.
18733 [C99-based standards] (FP_SUBNORMAL): Likewise.
18734 [C99-based standards] (FP_ZERO): Likewise.
18735 [C99-based standards] (FP_FAST_FMA): Use
18736 optional-macro-int-constant. Specify type. Require == 1.
18737 [C99-based standards] (FP_FAST_FMAF): Likewise.
18738 [C99-based standards] (FP_FAST_FMAL): Likewise.
18739 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18740 [C99-based standards] (FP_ILOGBNAN): Likewise.
18741 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18742 Specify type.
18743 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18744 [C99-based standards] (math_errhandling): Specify type.
18745 [ISO99 || ISO11] (signgam): Do not allow.
18746 [non-C99-based standards] (copysignf): Do not allow.
18747 [non-C99-based standards] (exp2f): Likewise.
18748 [non-C99-based standards] (log2f): Likewise.
18749 [non-C99-based standards] (modff): Allow.
18750 [non-C99-based standards] (erff): Do not allow.
18751 [non-C99-based standards] (erfcf): Likewise.
18752 [non-C99-based standards] (gammaf): Likewise.
18753 [non-C99-based standards] (hypotf): Likewise.
18754 [non-C99-based standards] (j0f): Likewise.
18755 [non-C99-based standards] (j1f): Likewise.
18756 [non-C99-based standards] (jnf): Likewise.
18757 [non-C99-based standards] (lgammaf): Likewise.
18758 [non-C99-based standards] (tgammaf): Likewise.
18759 [non-C99-based standards] (y0f): Likewise.
18760 [non-C99-based standards] (y1f): Likewise.
18761 [non-C99-based standards] (ynf): Likewise.
18762 [non-C99-based standards] (isnanf): Likewise.
18763 [non-C99-based standards] (acoshf): Likewise.
18764 [non-C99-based standards] (asinhf): Likewise.
18765 [non-C99-based standards] (atanhf): Likewise.
18766 [non-C99-based standards] (cbrtf): Likewise.
18767 [non-C99-based standards] (expm1f): Likewise.
18768 [non-C99-based standards] (ilogbf): Likewise.
18769 [non-C99-based standards] (log1pf): Likewise.
18770 [non-C99-based standards] (logbf): Likewise.
18771 [non-C99-based standards] (nextafterf): Likewise.
18772 [non-C99-based standards] (remainderf): Likewise.
18773 [non-C99-based standards] (rintf): Likewise.
18774 [non-C99-based standards] (scalbf): Likewise.
18775 [non-C99-based standards] (copysignl): Likewise.
18776 [non-C99-based standards] (exp2l): Likewise.
18777 [non-C99-based standards] (log2l): Likewise.
18778 [non-C99-based standards] (modfl): Allow.
18779 [non-C99-based standards] (erfl): Do not allow.
18780 [non-C99-based standards] (erfcl): Likewise.
18781 [non-C99-based standards] (gammal): Likewise.
18782 [non-C99-based standards] (hypotl): Likewise.
18783 [non-C99-based standards] (j0l): Likewise.
18784 [non-C99-based standards] (j1l): Likewise.
18785 [non-C99-based standards] (jnl): Likewise.
18786 [non-C99-based standards] (lgammal): Likewise.
18787 [non-C99-based standards] (tgammal): Likewise.
18788 [non-C99-based standards] (y0l): Likewise.
18789 [non-C99-based standards] (y1l): Likewise.
18790 [non-C99-based standards] (ynl): Likewise.
18791 [non-C99-based standards] (isnanl): Likewise.
18792 [non-C99-based standards] (acoshl): Likewise.
18793 [non-C99-based standards] (asinhl): Likewise.
18794 [non-C99-based standards] (atanhl): Likewise.
18795 [non-C99-based standards] (cbrtl): Likewise.
18796 [non-C99-based standards] (expm1l): Likewise.
18797 [non-C99-based standards] (ilogbl): Likewise.
18798 [non-C99-based standards] (log1pl): Likewise.
18799 [non-C99-based standards] (logbl): Likewise.
18800 [non-C99-based standards] (nextafterl): Likewise.
18801 [non-C99-based standards] (remainderl): Likewise.
18802 [non-C99-based standards] (rintl): Likewise.
18803 [non-C99-based standards] (scalbl): Likewise.
18804 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18805 [non-C99-based standards] (FP_*): Do not allow.
18806 [C99-based standards] (FP_*): Change to
18807 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18808 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18809 allow.
18810 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18811 (SIG_ERR): Likewise.
18812 [X/Open-based standards] (SIG_HOLD): Likewise.
18813 (SIG_IGN): Likewise.
18814 (SIGABRT): Use macro-int-constant. Specify type. Require
18815 positive value.
18816 (SIGFPE): Likewise.
18817 (SIGILL): Likewise.
18818 (SIGINT): Likewise.
18819 (SIGSEGV): Likewise.
18820 (SIGTER): Likewise.
18821 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18822 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18823 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18824 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18825 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18826 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18827 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18828 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18829 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18830 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18831 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18832 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18833 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18834 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18835 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18836 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18837 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18838 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18839 [X/Open-based standards] (SIGTRAP): Likewise.
18840 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18841 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18842 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18843 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18844 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18845 allow.
18846
b9f1922d
IW
188472012-05-08 Ian Wienand <ianw@vmware.com>
18848
18849 [BZ #14080]
18850 * time/tzset.c (__tzset_parse_tz): Update default rules for
18851 daylight time changes in the Energy Policy Act of 2005.
18852
1db86e88
AJ
188532012-05-09 Andreas Jaeger <aj@suse.de>
18854
18855 [BZ #13983]
18856 * elf/ldconfig.c (parse_conf): Change string to make clear that
18857 ldconfig only issued a warning if ld.so.conf does not exist.
18858
dee4a4e3
DM
188592012-05-08 David S. Miller <davem@davemloft.net>
18860
ee0db190
DM
18861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18862 movxtod instead of popping the value on the stack.
18863
dee4a4e3
DM
18864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18865
6a43ec98
CD
188662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18867
18868 * config.h.in: Add HAVE_ARM_PCS_VFP.
18869
05c2c961
RMG
188702012-05-08 Roland Mc Grath <roland@hack.frob.com>
18871
bcfe3a54
ST
18872 [BZ #13979]
18873 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18874 checking but the checks are disabled for any reason.
05c2c961 18875
4b30f61a
L
188762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18877
18878 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18879 and ELF64_R_TYPE with ELFW(R_TYPE).
18880
eee2bc67
JM
188812012-05-08 Joseph Myers <joseph@codesourcery.com>
18882
7ea5391a
JM
18883 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18884 (ulimit): Likewise.
18885
eee2bc67
JM
18886 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18887 (settimeofday): Likewise.
18888
abb66a67
MF
188892012-05-08 Mike Frysinger <vapier@gentoo.org>
18890
18891 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18892 a struct th_u2 inside the union, and move tu_block/tu_code into
18893 a new th_u3 union of tu_block/tu_code inside of that. Move
18894 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18895 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18896 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18897 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18898 (th_stuff): Change to th_u1.tu_stuff.
18899 (th_data): Define.
18900 (th_msg): Change to th_u1.th_u2.tu_data.
18901
7f18b530
DM
189022012-05-07 David S. Miller <davem@davemloft.net>
18903
05760585
DM
18904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18905
7f18b530
DM
18906 [BZ #14074]
18907 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18908 (SETUP_PIC_REG): Use it.
18909 (SETUP_PIC_REG_LEAF): Use it.
18910
495fd99f
JM
189112012-05-07 Joseph Myers <joseph@codesourcery.com>
18912
18913 [BZ #13885]
18914 [BZ #13923]
18915 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18916 USE_AS_EXPM1L.
18917 (EXPL_FINITE): Likewise.
18918 (FLDLOG): Likewise.
18919 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18920 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18921 e_expl.S.
18922 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18923 USE_AS_EXPM1L.
18924 (EXPL_FINITE): Likewise.
18925 (FLDLOG): Likewise.
18926 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18927 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18928 e_expl.S.
18929 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18930 test of -max_value argument for long double.
18931 * sysdeps/i386/fpu/libm-test-ulps: Update.
18932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18933
6693d694
DM
189342012-05-06 David S. Miller <davem@davemloft.net>
18935
18936 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18937 quad soft-float symbols whose references which are compiler
18938 generated.
18939 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18940
6c23e11c
JM
189412012-05-06 Joseph Myers <joseph@codesourcery.com>
18942
d8b82cad
JM
18943 [BZ #13884]
18944 [BZ #13914]
18945 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18946 USE_AS_EXP10L.
18947 (EXPL_FINITE): Likewise.
18948 (FLDLOG): Likewise.
18949 (c0): Likewise.
18950 (c1): Likewise.
18951 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18952 Adjust comments for base varying.
18953 (__expl_finite): Change alias to EXPL_FINITE.
18954 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18955 e_expl.S.
18956 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18957 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18959 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18960 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18961 USE_AS_EXP10L.
18962 (EXPL_FINITE): Likewise.
18963 (FLDLOG): Likewise.
18964 (c0): Likewise.
18965 (c1): Likewise.
18966 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18967 Adjust comments for base varying.
18968 (__expl_finite): Change alias to EXPL_FINITE.
18969 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18970 tests for bugs.
18971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18972
6c23e11c
JM
18973 [BZ #14064]
18974 * math/libm-test.inc (check_float_internal): Correct ulp
18975 calculation for subnormal expected results.
18976
29ba805c
AJ
189772012-05-06 Andreas Jaeger <aj@suse.de>
18978
18979 * Makeconfig (+math-flags): New, set to -frounding-math.
18980 (+cflags): Add +math-flags so that all of glibc gets compiled with
18981 it.
18982
18983 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18984
7b17aeda
JM
189852012-05-05 Joseph Myers <joseph@codesourcery.com>
18986
5779f134
JM
18987 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18988 Disable one test.
18989
41498f4d
JM
18990 [BZ #13787]
18991 [BZ #13922]
18992 [BZ #14036]
18993 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18994 (__ieee754_expl): Allow for and saturate large arguments.
18995 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18996 (u_threshold): Likewise.
18997 (__exp): Call __ieee754_exp before checking for overflow and
18998 underflow.
18999 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19000 (u_threshold): Likewise.
19001 (__expf): Call __ieee754_expf before checking for overflow and
19002 underflow.
19003 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19004 (u_threshold): Likewise.
19005 (__expl): Call __ieee754_expl before checking for overflow and
19006 underflow.
19007 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19008 (__ieee754_expl): Allow for and saturate large arguments.
19009 * math/libm-test.inc (exp_test): Add another test. Do not allow
19010 missing overflow exception on overflow.
19011 (expm1_test): Do not allow missing overflow exception on overflow.
19012
6698b8bf
JM
19013 * sysdeps/i386/fpu/e_expl.c: Move to ...
19014 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19015 rather than using inline asm.
19016 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19017 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19018 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19019
7b17aeda
JM
19020 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19021 (nice): Likewise.
19022 (poll): Likewise.
19023 (signal): Likewise.
19024 (time): Likewise.
19025 (times): Likewise.
19026
f7c85819
JM
190272012-05-04 Joseph Myers <joseph@codesourcery.com>
19028
19029 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19030 sysdeps/unix/common/syscalls.list.
19031 (fchmod): Likewise.
19032 (fchown): Likewise.
19033 (ftruncate): Likewise.
19034 (getrusage): Likewise.
19035 (gettimeofday): Likewise.
19036 (setpgid): Likewise.
19037 (setregid): Likewise.
19038 (setreuid): Likewise.
19039 (sigaction): Likewise.
19040 (truncate): Likewise.
19041 (vhangup): Likewise.
19042 * sysdeps/unix/common/syscalls.list: Remove file.
19043 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19044 * sysdeps/unix/sysv/linux/Implies: Likewise.
19045
336270d0
L
190462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19047
19048 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19050 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19051 Moved to ...
19052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19053 Here.
19054 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19055 to ...
19056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19057 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19058 to ...
19059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19060 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19061 to ...
19062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19063 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19064 to ...
19065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19066 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19067 to ...
19068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19069 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19070 to ...
19071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19072 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19073 to ...
19074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19075 Here.
19076 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19077 to ...
19078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19079 Here.
19080 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19081 to ...
19082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19083 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19084 Moved to ...
19085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19086 Here.
19087 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19088 to ...
19089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19090
d128e450
JM
190912012-05-04 Joseph Myers <joseph@codesourcery.com>
19092
fa8ee516
JM
19093 * sysdeps/unix/common/bits/dirent.h: Remove file.
19094 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19095
d128e450
JM
19096 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19097 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19098 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19099 * sysdeps/unix/bsd/isatty.c: Likewise.
19100 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19101 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19102 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19103
ff8faaf0 191042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19105
62881be4 19106 [BZ #13563]
31dc8730
AZ
19107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19108 long double comparison inaccuracies.
19109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19111
6fef930c
AS
191122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19113
19114 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19116
8f203e6c
JM
191172012-05-04 Joseph Myers <joseph@codesourcery.com>
19118
19119 [BZ #14049]
19120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19121 nonzero digits before rounding a hex value.
19122 * stdlib/tst-strtod.c (tests): Add another test.
19123
5197d9c2
AK
191242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19125
19126 * sysdeps/s390/fpu/libm-test-ulps: Update.
19127
f0c1dedf
AJ
191282012-05-03 Andreas Jaeger <aj@suse.de>
19129
19130 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19131 does not get optimized out.
19132 (malloc_opt_barrier): New.
19133
a65ef2ae 191342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19135 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19136
2b942cb7 19137 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19138 intermediate file deletion.
2b942cb7 19139 (generated): Add .symlist files.
a65ef2ae 19140
54b71e02
JM
191412012-05-03 Joseph Myers <joseph@codesourcery.com>
19142
19143 [BZ #13775]
19144 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19145 Redirect under this condition.
19146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19147 [__USE_GNU] (__dprintf_chk): Not under this condition.
19148 [__USE_GNU] (__vdprintf_chk): Likewise.
19149 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19150 under this condition.
19151 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19152 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19153 [__USE_XOPEN2K8] (vdprintf): Likewise.
19154 [__USE_GNU] (__dprintf_chk): Not under this condition.
19155 [__USE_GNU] (__vdprintf_chk): Likewise.
19156 [__USE_GNU] (dprintf): Likewise.
19157 [__USE_GNU] (vdprintf): Likewise.
19158
d3dfcc41
RM
191592012-05-03 Roland McGrath <roland@hack.frob.com>
19160
19161 * elf/Makefile (common-generated): Set this instead of generated for
19162 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19163 $(all-built-dso)-derived lists.
19164
7ac30cc5
AJ
191652012-05-03 Andreas Jaeger <aj@suse.de>
19166
0c51e550
AJ
19167 * sysdeps/i386/fpu/libm-test-ulps: Update.
19168
7ac30cc5
AJ
19169 * FAQ: Removed.
19170 * FAQ.in: Likewise.
19171 * scripts/gen-FAQ.pl: Likewise.
19172 * manual/install.texi (Installation): Point to online location of
19173 FAQ.
19174 * Makefile (files-for-dist): Remove FAQ.
19175 (FAQ): Remove.
19176
d4c2917f
AM
191772012-05-02 Allan McRae <allan@archlinux.org>
19178
19179 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19180 (LDFLAGS-reldepmod5.so): Likewise.
19181 (LDFLAGS-reldep6mod1.so): Likewise.
19182 (LDFLAGS-reldep6mod4.so): Likewise.
19183 (LDFLAGS-reldep8mod3.so): Likewise.
19184 (LDFLAGS-unload4mod1.so): Likewise.
19185 (LDFLAGS-unload4mod2.so): Likewise.
19186 (LDFLAGS-tst-initorder): Likewise.
19187 (LDFLAGS-tst-initordera2.so): Likewise.
19188 (LDFLAGS-tst-initordera3.so): Likewise.
19189 (LDFLAGS-tst-initordera4.so): Likewise.
19190 (LDFLAGS-tst-initorderb2.so): Likewise.
19191 (LDFLAGS-noload): Likewise.
19192 (LDFLAGS-next): Likewise.
19193 (LDFLAGS-order2mod1.so): Likewise.
19194 (LDFLAGS-order2mod2.so): Likewise.
19195 (LDFLAGS-tst-initorder2): Likewise.
19196 (LDFLAGS-tst-initorder2a.so): Likewise.
19197 (LDFLAGS-tst-initorder2b.so): Likewise.
19198 (LDFLAGS-tst-initorder2c.so): Likewise.
19199 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19200
d77f993f
DM
192012012-05-02 David S. Miller <davem@davemloft.net>
19202
19203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19204
171a70b4
PP
192052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19206
19207 [BZ #14055]
19208 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19209
0be196ad
AJ
192102012-05-02 Andreas Jaeger <aj@suse.de>
19211
19212 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19213 since we manipulate rounding mode.
19214 (CPPFLAGS-test-idouble.c): Likewise.
19215 (CPPFLAGS-test-ifloat.c): Likewise.
19216 (CFLAGS-test-ldouble.c): Likewise.
19217 (CFLAGS-test-double.c): Likewise.
19218 (CFLAGS-test-float.c): Likewise.
19219 (CFLAGS-test-misc.c): Likewise.
19220 (CFLAGS-test-test-fenv.c): Likewise.
19221
4f9d04aa
AZ
192222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19223
2b942cb7
RM
19224 [BZ #2550]
19225 [BZ #2570]
19226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19227 comparisons to determine direction to adjust input.
4f9d04aa 19228
82a79e7d
RM
192292012-05-01 Roland McGrath <roland@hack.frob.com>
19230
f5a01ca9
RM
19231 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19232 output to the target.
19233
90fe4186
RM
19234 * scripts/localplt.awk: New file.
19235 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19236 (check-localplt-CFLAGS): Variable removed.
19237 ($(all-built-dso:=.jmprel)): New static pattern rule.
19238 (generated): Add those targets.
19239 (localplt-built-dso): New variable.
19240 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19241
19242 * elf/check-localplt.c: File removed.
19243
82397ed6
RM
19244 * scripts/check-execstack.awk: New file.
19245 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19246 (check-execstack-CFLAGS): Variable removed.
19247 ($(objpfx)check-execstack.h): Target removed.
19248 ($(objpfx)execstack-default): New target.
19249 (generated): Add that instead of check-execstack.h.
19250 ($(all-built-dso:=.phdr)): New static pattern rule.
19251 (generated): Add those targets.
19252 * elf/check-execstack.c: File removed.
19253
82a79e7d
RM
19254 * scripts/check-textrel.awk: New file.
19255 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19256 (check-textrel-CFLAGS): Variable removed.
19257 (all-built-dso): Use := to define.o
19258 ($(all-built-dso:=.dyn)): New static pattern rule.
19259 (generated): Add those targets.
19260 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19261 * config.make.in (READELF): New substituted variable.
19262 * elf/check-textrel.c: File removed.
19263
62fde54f 192642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19265
615605c9
JM
19266 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19267 allow.
19268 * conform/data/ctype.h-data [C99-based standards] (isblank):
19269 Expect function.
19270 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19271 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19273 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19274 Specify type. Require positive value.
19275 (EILSEQ): Likewise.
19276 (ERANGE): Likewise.
19277 [ISO || POSIX] (EILSEQ): Do not expect.
19278 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19279 Specify type. Require positive value.
19280 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19295 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19303 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19315 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19316 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19317 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19318 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19321 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19322 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19323 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19324 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19326 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19327 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19328 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19329 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19330 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19331 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19332 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19333 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19348 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19349 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19350 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19351 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19354 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19355 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19356 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19357 Require >= 2.
19358 (FLT_ROUNDS): Expect as macro, not constant.
19359 (FLT_MANT_DIG): Use macro-int-constant.
19360 (DBL_MANT_DIG): Likewise.
19361 (LDBL_MANT_DIG): Likewise.
19362 (FLT_DIG): Likewise.
19363 (DBL_DIG): Likewise.
19364 (LDBL_DIG): Likewise.
19365 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19366 (DBL_MIN_EXP): Likewise.
19367 (LDBL_MIN_EXP): Likewise.
19368 (FLT_MAX_EXP): Use macro-int-constant.
19369 (DBL_MAX_EXP): Likewise.
19370 (LDBL_MAX_EXP): Likewise.
19371 (FLT_MAX_10_EXP): Likewise.
19372 (DBL_MAX_10_EXP): Likewise.
19373 (LDBL_MAX_10_EXP): Likewise.
19374 (FLT_MAX): Use macro-constant.
19375 (DBL_MAX): Likewise.
19376 (LDBL_MAX): Likewise.
19377 (FLT_EPSILON): Use macro-constant. Give upper bound.
19378 (DBL_EPSILON): Likewise.
19379 (LDBL_EPSILON): Likewise.
19380 (FLT_MIN): Likewise.
19381 (DBL_MIN): Likewise.
19382 (LDBL_MIN): Likewise.
19383 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19384 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19385 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19386 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19387 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19388 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19389 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19390 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19391 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19392 [ISO11] (FLT_TRUE_MIN): Likewise.
19393 [ISO11] (LDBL_TRUE_MIN): Likewise.
19394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19395 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19396 (SCHAR_MIN): Use macro-int-constant. Specify type.
19397 (SCHAR_MAX): Likewise.
19398 (UCHAR_MAX): Likewise.
19399 (CHAR_MIN): Likewise.
19400 (CHAR_MAX): Likewise.
19401 (MB_LEN_MAX): Use macro-int-constant.
19402 (SHRT_MIN): Use macro-int-constant. Specify type.
19403 (SHRT_MAX): Likewise.
19404 (USHRT_MAX): Likewise.
19405 (INT_MAX): Likewise.
19406 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19407 bound negative.
19408 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19409 bound with "U".
19410 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19411 bound with "L".
19412 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19413 bound negative. Suffix upper bound with "L".
19414 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19415 bound with "UL".
19416 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19417 Specify type.
19418 [C99-based standards] (LLONG_MAX): Likewise.
19419 [C99-based standards] (ULLONG_MAX): Likewise.
19420 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19421 == 0.
19422 [ISO11] (max_align_t): Require type.
19423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19424
c9140a62
JM
19425 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19426 from $CFLAGS, without defining away __attribute__ calls.
19427 (checknamespace): Use $CFLAGS_namespace.
19428
9af0bf29
JM
19429 * conform/conformtest.pl (@keywords): Only include C99 keywords
19430 for standards based on C99 or C11.
19431
343222a2
JM
19432 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19433 Disable tests.
19434 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19435 UNIX98]: Likewise.
19436
661f8cf0
JM
19437 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19438 usability of symbols in #if.
19439
ee74b9cb
JM
19440 * conform/conformtest.pl: If macro or constant types start
19441 "promoted:", expect the symbol to be of the following type
19442 promoted by the integer promotions.
62fde54f 19443
aafc49b3
JM
19444 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19445 in one place. Also handle "macro-constant".
19446
fefdf574
JM
19447 * conform/conformtest.pl: Only accept expected macro values with
19448 "==". Parse all "macro" lines in one place.
19449 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19450
f2d922fe
JM
19451 * conform/conformtest.pl: Handle braced types on "constant" lines
19452 instead of handling "typed-constant".
19453 * conform/data/signal.h-data: Use "constant" instead of
19454 "typed-constant".
19455
d22956c9
JM
19456 * conform/conformtest.pl: Handle "optional-" at start of lines in
19457 one place rather than duplicating several cases. Handle each
19458 format of "macro" line with initial "optional-".
19459
028e2e38
JM
19460 * conform/conformtest.pl: Only accept expected constant or
19461 optional-constant values with "==". Parse all "constant" lines in
19462 one place. Parse all "optional-constant" lines in one place.
19463 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19464 * conform/data/fmtmsg.h-data: Likewise.
19465 * conform/data/netinet/in.h-data: Likewise.
19466 * conform/data/tar.h-data: Likewise.
19467 * conform/data/limits.h-data: Use "==" form on "constant" and
19468 "optional-constant" lines.
19469
1b8f2850
JM
19470 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19471 Use -std=c99 for XOPEN2K.
19472 (@knownproblems): Remove.
19473 (newtoken): Don't check %isknown.
19474
a05a144b
JM
19475 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19476 Do not expect macro.
19477 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19478 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19479 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19482 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19483 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19484 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19489 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19490 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19507 [XPG3] (acosh): Likewise.
19508 [XPG3] (asinh): Likewise.
19509 [XPG3] (atanh): Likewise.
19510 [XPG3] (cbrt): Likewise.
19511 [XPG3] (expm1): Likewise.
19512 [XPG3] (ilogb): Likewise.
19513 [XPG3] (log1p): Likewise.
19514 [XPG3] (logb): Likewise.
19515 [XPG3] (nextafter): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19518 [XPG3] (remainder): Likewise.
19519 [XPG3] (rint): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19527 [UNIX98 || XOPEN2K] (scalb): Expect.
19528 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19529 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19665
73c5ebe3
JM
19666 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19667 _XOPEN_SOURCE_EXTENDED for XPG4.
19668
39c33b6c
JM
19669 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19670
62fde54f
JM
19671 * Makeconfig (localtime): Remove variable.
19672 (inst_localtime-file): Likewise.
19673
0741d64c
AS
196742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19675
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19677 Update.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19679 Update.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19681 Update.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19683 Update.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19685 Update.
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19687 Update.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19689 Update.
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19691 Update.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19693 Update.
19694
7cb029ee
JM
196952012-05-01 Joseph Myers <joseph@codesourcery.com>
19696
19697 [BZ #2550]
19698 [BZ #2570]
19699 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19700 comparisons to determine direction to adjust input.
19701 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19702 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19704 Likewise.
19705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19706 Likewise.
19707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19708 Likewise.
19709 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19710 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19711 Likewise.
19712 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19713 Likewise.
19714 * math/libm-test.inc (nexttoward_test): Add more tests.
19715
412bd966
AS
197162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19717
19718 [BZ #14040]
19719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19720 in version GLIBC_2.1, not GLIBC_2.0.
19721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19722 Likewise.
19723
9568c0c2
JM
197242012-04-30 Joseph Myers <joseph@codesourcery.com>
19725
adfbc8ac
JM
19726 [BZ #13942]
19727 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19728 (1 - x) * (1 + x).
19729 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19730 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19731 * math/libm-test.inc (acos_test): Add more tests.
19732 (asin_test): Likewise.
19733 * sysdeps/i386/fpu/libm-test-ulps: Update.
19734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735
5ba3cc69
JM
19736 [BZ #14034]
19737 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19738 of square root.
19739 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19740 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19741 * math/libm-test.inc (acos_test_tonearest): New function.
19742 (acos_test_towardzero): Likewise.
19743 (acos_test_downward): Likewise.
19744 (acos_test_upward): Likewise.
19745 (asin_test_tonearest): Likewise.
19746 (asin_test_towardzero): Likewise.
19747 (asin_test_downward): Likewise.
19748 (asin_test_upward): Likewise.
19749 (main): Call the new functions.
19750 * sysdeps/i386/fpu/libm-test-ulps: Update.
19751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19752
9568c0c2
JM
19753 [BZ #13884]
19754 [BZ #13924]
19755 * math/e_exp10.c: Include <float.h>.
19756 (__ieee754_exp10): Handle underflow here rather than multiplying
19757 large negative argument by M_LN10.
19758 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19759 of __ieee754_expf.
19760 * math/e_exp10l.c: Include <float.h>.
19761 (__ieee754_exp10l): Handle underflow here rather than multiplying
19762 large negative argument by M_LN10l.
19763 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19764 spurious overflow exception on underflow.
19765
5ac3ea17
MP
197662012-04-29 Marek Polacek <polacek@redhat.com>
19767
19768 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19769 (__fortify_function): New macro.
19770 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19771 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19772 __extern_always_inline.
19773 * libio/bits/stdio2.h: Likewise.
19774 * libio/bits/stdio.h: Likewise.
19775 * string/string.h: Likewise.
19776 * string/bits/string3.h: Likewise.
19777 * include/stdio.h: Likewise.
19778 * stdlib/bits/stdlib.h: Likewise.
19779 * stdlib/stdlib.h: Likewise.
19780 * rt/bits/mqueue2.h: Likewise.
19781 * rt/mqueue.h: Likewise.
19782 * posix/bits/unistd.h: Likewise.
19783 * posix/unistd.h: Likewise.
19784 * io/bits/poll2.h: Likewise.
19785 * io/bits/fcntl2.h: Likewise.
19786 * io/fcntl.h: Likewise.
19787 * io/sys/poll.h: Likewise.
19788 * misc/bits/syslog.h: Likewise.
19789 * misc/bits/syslog-ldbl.h: Likewise.
19790 * misc/sys/syslog.h: Likewise.
19791 * socket/bits/socket2.h: Likewise.
19792 * socket/sys/socket.h: Likewise.
19793 * debug/tst-chk1.c: Likewise.
19794 * wcsmbs/bits/wchar2.h: Likewise.
19795 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19796 * wcsmbs/wchar.h: Likewise.
19797
ecf0ebfb
AJ
197982012-04-29 Andreas Jaeger <aj@suse.de>
19799
19800 * Makerules (tests): Remove enable-check-abi protection.
19801 (check-abi-warn): Remove.
19802 (check-abi-%): Remove check-abi-warn usage.
19803
19804 * configure.in: Remove check-abi configure option.
19805 * configure: Regenerated.
19806 * config.make.in (enable-check-abi): Remove.
19807
6d5c57fa
AS
198082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19809
24c5d07e 19810 [BZ #14033]
ded5180a
AS
19811 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19812 double functions to double *_finite functions.
19813
7e0d315d
AS
19814 [BZ #13941]
19815 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19816 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19817 LDBL_MIN_EXP.
19818 * stdio-common/Makefile (tests): Add tst-sprintf3.
19819 * stdio-common/tst-sprintf3.c: New file.
19820
6d5c57fa
AS
19821 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19822 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19823
0749ff8b
JM
198242012-04-28 Joseph Myers <joseph@codesourcery.com>
19825
19826 * conform/conformtest.pl: Remove duplicate typed-constant
19827 handling.
19828
8dbd5d7b
DM
198292012-04-28 David S. Miller <davem@davemloft.net>
19830
19831 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19832 (check-abi-%): Remove AWK script prerequisite and explicit
19833 abilist directory.
19834 (check-abi): Rewrite to just diff the symlist with the abilist.
19835 (config-tls, config-abi-config): Delete, no longer used.
19836 (update-abi-%): Remove AWK script and explicit abilist directory.
19837 (update-abi): Rewrite to simply compare and conditionally copy the
19838 symlist and the sysdep abilist file. Remove update-abi-config
19839 checks.
19840 * abilist/ld.abilist: Remove.
19841 * abilist/libBrokenLocale.abilist: Remove.
19842 * abilist/libanl.abilist: Remove.
19843 * abilist/libcrypt.abilist: Remove.
19844 * abilist/libdl.abilist: Remove.
19845 * abilist/librt.abilist: Remove.
19846 * abilist/libthread_db.abilist: Remove.
19847 * abilist/libutil.abilist: Remove.
19848 * scripts/extract-abilist.awk: Remove.
19849 * scripts/merge-abilist.awk: Remove.
19850 * sysdeps/generic/libcidn.abilist: New file.
19851 * sysdeps/generic/libnss_compat.abilist: New file.
19852 * sysdeps/generic/libnss_db.abilist: New file.
19853 * sysdeps/generic/libnss_dns.abilist: New file.
19854 * sysdeps/generic/libnss_files.abilist: New file.
19855 * sysdeps/generic/libnss_hesiod.abilist: New file.
19856 * sysdeps/generic/libnss_nis.abilist: New file.
19857 * sysdeps/generic/libnss_nisplus.abilist: New file.
19858 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19859 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19860 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19861 file.
19862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19863 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19864 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19865 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19866 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19867 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19868 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19869 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19870 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19871 file.
19872 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19873 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19874 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19875 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19876 file.
19877 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19878 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19879 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19880 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19881 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19882 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19883 file.
19884 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19885 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19886 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19887 file.
19888 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19890 New file.
19891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19892 New file.
19893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19894 New file.
19895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19896 New file.
19897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19898 New file.
19899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19900 New file.
19901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19902 New file.
19903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19904 New file.
19905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19906 New file.
19907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19908 New file.
19909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19910 New file.
19911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19912 New file.
19913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19914 New file.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19916 file.
19917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19918 New file.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19920 New file.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19922 file.
19923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19924 New file.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19926 New file.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19928 file.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19930 New file.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19932 New file.
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19934 New file.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19936 New file.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19938 New file.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19940 New file.
19941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19943 file.
19944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19945 New file.
19946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19947 file.
19948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19949 file.
19950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19951 file.
19952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19953 file.
19954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19955 file.
19956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19957 New file.
19958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19959 file.
19960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19961 file.
19962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19963 New file.
19964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19965 file.
19966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19968 file.
19969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19970 New file.
19971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19972 file.
19973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19974 file.
19975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19976 file.
19977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19978 file.
19979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19980 file.
19981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19982 New file.
19983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19984 file.
19985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19986 file.
19987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19988 New file.
19989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19990 file.
19991 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19992 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19993 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19994 file.
19995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19996 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19997 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19998 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19999 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20000 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20001 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20002 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20003 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20004 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20007 file.
20008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20009 New file.
20010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20011 file.
20012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20013 file.
20014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20015 file.
20016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20017 file.
20018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20019 file.
20020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20021 New file.
20022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20023 New file.
20024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20025 file.
20026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20027 New file.
20028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20029 file.
20030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20032 file.
20033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20034 New file.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20036 file.
20037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20038 file.
20039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20040 file.
20041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20042 file.
20043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20044 file.
20045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20046 New file.
20047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20048 New file.
20049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20050 file.
20051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20052 New file.
20053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20054 file.
20055
41d73a1b
JM
200562012-04-28 Joseph Myers <joseph@codesourcery.com>
20057
20058 * conform/conformtest.pl: Fix typo in handling typed-constant from
20059 allow-header.
20060
28aeeda4
JM
200612012-04-27 Joseph Myers <joseph@codesourcery.com>
20062
adae8f5e
JM
20063 * README: Cut down references to pre-2.6 Linux kernels and
20064 Linuxthreads. Update lists of configurations in libc and ports
20065 and sort alphabetically. Say "or newer" with Linux kernel version
20066 requirements.
20067
28aeeda4
JM
20068 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20069
a462cb63
RA
200702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20071
20072 [BZ #887]
20073 * math/libm-test.inc (logb_test_downward): New test to expose
20074 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20075 rounding mode.
20076
6ad3493e
JM
200772012-04-27 Joseph Myers <joseph@codesourcery.com>
20078
20079 [BZ #14027]
20080 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20081 to be done.
20082 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20083 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20084
2ce4f015
JM
200852012-04-26 Joseph Myers <joseph@codesourcery.com>
20086
5aeb141a
JM
20087 * sysdeps/unix/i386/brk.S: Remove file.
20088 * sysdeps/unix/i386/dl-brk.S: Likewise.
20089 * sysdeps/unix/i386/pipe.S: Likewise.
20090 * sysdeps/unix/i386/sigreturn.S: Likewise.
20091 * sysdeps/unix/i386/syscall.S: Likewise.
20092 * sysdeps/unix/i386/vfork.S: Likewise.
20093 * sysdeps/unix/i386/wait.S: Likewise.
20094
7143acae
JM
20095 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20096 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20097
2ce4f015
JM
20098 * configure.in (arm*-none*): Do not allow without
20099 --enable-hacker-mode.
20100 (netbsd*): Remove case setting base_os.
20101 (386bsd*): Likewise.
20102 (freebsd*): Likewise.
20103 (bsdi*): Likewise.
20104 (osf*): Likewise.
20105 (sunos*): Likewise.
20106 (ultrix*): Likewise.
20107 (newsos*): Likewise.
20108 (dynix*): Likewise.
20109 (*bsd*): Likewise.
20110 (sysv*): Likewise.
20111 (isc*): Likewise.
20112 (esix*): Likewise.
20113 (sco*): Likewise.
20114 (minix*): Likewise.
20115 (irix4*): Likewise.
20116 (irix6*): Likewise.
20117 (solaris[2-9]*): Likewise.
20118 (none): Likewise.
20119 * configure: Regenerated.
20120
0ac229c8
AZ
201212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20122
20123 [BZ #11521]
20124 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20125 overflow or cancellation in calculating denominator.
20126 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20128 down expression to avoid unexpected rounding in newer GCCs.
20129 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20130
33f244f4
DM
201312012-04-26 David S. Miller <davem@davemloft.net>
20132
20133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20134 long-double compat symbols.
20135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20148
cfa1f3e8
DM
201492012-04-25 David S. Miller <davem@davemloft.net>
20150
20151 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20152 HWCAP_* values only after the memory barriers have been defined.
20153 (atomic_full_barrier): Define.
20154 (atomic_read_barrier): Define.
20155 (atomic_write_barrier): Define.
20156
6e236b92
SP
201572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20158
20159 * shlib-versions: Add libgcc_s version information.
20160 * sysdeps/generic/libgcc_s.h: Remove.
20161 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20162 libgcc_s.h.
20163 * sysdeps/gnu/unwind-resume.c: Likewise.
20164 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20165
aab39a09
DM
201662012-04-25 David S. Miller <davem@davemloft.net>
20167
20168 * sysdeps/unix/sparc/brk.S: Delete.
20169 * sysdeps/unix/sparc/dl-brk.S: Delete.
20170 * sysdeps/unix/sparc/pipe.S: Delete.
20171 * sysdeps/unix/sparc/sysdep.S: Delete.
20172 * sysdeps/unix/sparc/sysdep.h: Delete.
20173 * sysdeps/unix/sparc/vfork.S: Delete.
20174 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20175 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20177 ret_ERRVAL, r0, r1, MOVE): Define.
20178 (JUMPTARGET): Remove.
20179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20180 sysdeps/unix/sparc/sysdep.h
20181 (ENTRY, END): Remove.
20182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20183
a3cc4f48
JM
201842012-04-25 Joseph Myers <joseph@codesourcery.com>
20185
2ed8cda2
JM
20186 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20187 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20188 -DIS_IN_build.
20189
35d76d59
JM
20190 * timezone/README: Update upstream location and email address for
20191 tzcode and tzdata.
20192 * timezone/zdump.c: Update from tzcode 2012b.
20193 * timezone/zic.c: Likewise.
20194
a3cc4f48
JM
20195 * configure.in (libc_cv_as_needed): Remove test.
20196 * configure: Regenerated.
20197 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20198 conditional definition.
20199 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20200 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20201 * config.make.in (have-as-needed): Remove variable.
20202
ceab42c3
SP
202032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20204 Paul Pluzhnikov <ppluzhnikov@google.com>
20205
20206 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20207 strings correctly.
20208
3ce2865f
CLT
202092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20210
20211 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20212 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20213 * sysdeps/sh/strlen.S: Likewise.
20214
f37e0d68
JM
202152012-04-24 Joseph Myers <joseph@codesourcery.com>
20216
ae186e9a
JM
20217 * sysdeps/unix/fork.S: Remove file.
20218 * sysdeps/unix/i386/fork.S: Likewise.
20219 * sysdeps/unix/sparc/fork.S: Likewise.
20220
b96914af
JM
20221 * sysdeps/unix/system.c: Remove file.
20222 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20223
f37e0d68
JM
20224 * sysdeps/unix/getegid.S: Remove file.
20225 * sysdeps/unix/geteuid.S: Likewise.
20226
87ef29ca
RM
202272012-04-24 Roland McGrath <roland@hack.frob.com>
20228
83bcd236
RM
20229 * scripts/check-localplt.awk: New file.
20230 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20231 of diff.
20232 * scripts/data/localplt-generic.data: Add a comment.
20233
87ef29ca
RM
20234 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20235 NODE when __dir_mkfile failed.
20236 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20237 Reported by Ludovic Courtès <ludo@gnu.org>.
20238
e5a6e567
AJ
202392012-04-24 Andreas Jaeger <aj@suse.de>
20240
20241 * Makerules (common-clean): Also remove gen-as-const-headers
20242 files.
20243
c1820385
JM
202442012-04-24 Joseph Myers <joseph@codesourcery.com>
20245
20246 * Makerules (native-compile): Do not change working directory for
20247 build. Use $(OUTPUT_OPTION) in command.
20248 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20249
94e02fc4
AZ
202502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20251
20252 [BZ #13886]
20253 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20254 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20255 * math/libm-test.inc (floor_test): Add more tests.
20256 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20257
3a533ca3
JM
202582012-04-24 Joseph Myers <joseph@codesourcery.com>
20259
940ab4b3
JM
20260 * sysdeps/unix/getdents.c: Remove file.
20261 * sysdeps/unix/sysv/getdents.c: Likewise.
20262 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20263
90e037bd
JM
20264 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20265 sysdeps/unix/mman/syscalls.list.
20266 (mmap): Likewise.
20267 (mprotect): Likewise.
20268 (msync): Likewise.
20269 (munmap): Likewise.
20270 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20271 * sysdeps/unix/mman/syscalls.list: Remove.
20272 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20273
3a533ca3
JM
20274 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20275 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20276 * configure: Regenerated.
20277 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20278 $(libgcc_s_suffix).
20279 * config.make.in (libgcc_s_suffix): Remove variable.
20280
1ad743de
JM
202812012-04-23 Joseph Myers <joseph@codesourcery.com>
20282
4ad451e2
JM
20283 * sysdeps/unix/sysv/gethostname.c: Move to ...
20284 * sysdeps/posix/gethostname.c: ... here.
20285
5e37ce39
JM
20286 * sysdeps/unix/execve.S: Remove file.
20287
1ad743de
JM
20288 * sysdeps/unix/_exit.S: Remove file.
20289
4e681b5b
AJ
202902012-04-23 Andreas Jaeger <aj@suse.de>
20291
20292 [BZ #13739]
20293 * manual/Makefile: Remove make dist support, there's no
20294 need for a stand-alone documentation tar ball.
20295 (TEXI2DVI): Define always, it's not in Makeconfig.
20296 (dist): Removed.
20297 (tar-it): Removed.
20298 (edition): Removed.
20299 (glibc-doc-$(edition).tar): Removed
20300 (%.Z): Removed.
20301 (%.gz): Removed.
20302 (%.uu): Removed.
20303 (ETAGS): Remove, it's in Makeconfig.
20304 (move-if-change): Remove, it's in Makeconfig.
20305
38686a03 203062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20307
20308 [BZ #13970]
20309 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20310 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20311 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20312 (strtod_l, strtof_l, strtold_l): Remove __wur.
20313 It is not necessarily an error to ignore strtol's return value.
20314 One can reliably look at the stored endptr to decide whether
20315 the number had valid syntax.
20316
7c0616fa
AJ
203172012-04-21 Andreas Jaeger <aj@suse.de>
20318
803cb6b7 20319 [BZ #13739]
7c0616fa
AJ
20320 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20321
b0fe253f
JM
203222012-04-21 Joseph Myers <joseph@codesourcery.com>
20323
20324 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20325 * sysdeps/unix/sysv/Versions: Remove file.
20326
8280f22d
MT
203272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20328
20329 [BZ #13927]
20330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20331
75ce411f 203322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20333
20334 [BZ #7064]
20335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20336 version from __vm86.
20337
097d59fa
JM
203382012-04-20 Joseph Myers <joseph@codesourcery.com>
20339
a90f3bcb
JM
20340 * sysdeps/unix/common/lxstat.c: Remove file.
20341 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20342
edc7ea78
JM
20343 * sysdeps/unix/sysv/Makefile: Remove file.
20344
cb78c221
JM
20345 * sysdeps/unix/sysv/direct.h: Remove file.
20346
efa6a45f
JM
20347 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20348 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20349 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20350 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20351 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20352 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20353 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20354
9c9f2d0c
JM
20355 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20356
4541c83b
JM
20357 * sysdeps/unix/xmknod.c: Remove file.
20358 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20359
f5d153a0
JM
20360 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20361
aa746595
JM
20362 * sysdeps/unix/sysv/i386/time.S: Remove file.
20363
cce5905e
JM
20364 * sysdeps/unix/fxstat.c: Remove file.
20365 * sysdeps/unix/xstat.c: Likewise.
20366 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20367
37fa3841
JM
20368 * sysdeps/unix/sysv/sigaction.c: Remove file.
20369
ff1962a3
JM
20370 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20371 (sysdep_headers): Remove variable.
20372 [termio.h not in sysdep_headers] (generated): Likewise.
20373 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20374 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20375 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20376 * sysdeps/unix/sysv/tcflow.c: Likewise.
20377 * sysdeps/unix/sysv/tcflush.c: Likewise.
20378 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20379 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20380 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20381 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20382 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20383
e7740d31
JM
20384 * sysdeps/unix/siglist.c: Remove file.
20385
ee06f18b
JM
20386 * sysdeps/unix/getppid.S: Remove file.
20387
097d59fa
JM
20388 * sysdeps/unix/mkdir.c: Remove file.
20389 * sysdeps/unix/rmdir.c: Likewise.
20390
ff3d51ec
AS
203912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20392
20393 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20394 ERR_MAX value.
20395 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20396 errlist-compat value.
20397
50f81fd7
DM
203982012-04-18 David S. Miller <davem@davemloft.net>
20399
20400 * sysdeps/generic/memcopy.h (reg_char): Delete.
20401 * debug/strcat_chk.c: Use char, not reg_char.
20402 * debug/strcpy_chk.c: Likewise.
20403 * debug/strncat_chk.c: Likewise.
20404 * debug/strncpy_chk.c: Likewise.
20405 * string/memchr.c: Likewise.
20406 * string/memrchr.c: Likewise.
20407 * string/rawmemchr.c: Likewise.
20408 * string/strcat.c: Likewise.
20409 * string/strchr.c: Likewise.
20410 * string/strchrnul.c: Likewise.
20411 * string/strcmp.c: Likewise.
20412 * string/strcpy.c: Likewise.
20413 * string/strncat.c: Likewise.
20414 * string/strncmp.c: Likewise.
20415 * string/strncpy.c: Likewise.
20416
8ff41c46
WS
204172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20418
20419 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20420 __builtin_memcopy is called when src and dest ranges are known to not
20421 overlap.
20422
6b652f46
WS
204232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20424
20425 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20426 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20427 fwd_align_merge macro call.
20428 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20429 bwd_align_merge macro call.
20430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20431
b282631e
WS
204322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20433
20434 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20435 bwd_align_merge macros.
20436 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20437 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20438 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20439
95aa737c
DM
204402012-04-18 David S. Miller <davem@davemloft.net>
20441
20442 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20443
7a99a614
AJ
204442012-04-18 Andreas Jaeger <aj@suse.de>
20445
20446 [BZ# 6794]
20447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20448 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20449 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20450
20451 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20452 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20453 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20454
20455 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20456 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20457 Adjust for changed ldbl-128 files.
20458
20459 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20460 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20461 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20462
e5270c23
DM
204632012-04-17 David S. Miller <davem@davemloft.net>
20464
20465 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20466
fb5e92c9
AS
204672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20468
20469 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20470 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20471 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20472 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20473 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20474 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20475
76da7265
AZ
204762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20477
20478 [BZ #6794]
20479 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20480 * math/libm-test.inc: Add ilogb errno and exception tests.
20481 * math/w_ilogb.c: New file: ilogb wrapper.
20482 * math/w_ilogbf.c: New file: ilogbf wrapper.
20483 * math/w_ilogbl.c: New file: ilogbl wrapper.
20484 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20485 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20486 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20487 exception being thrown with 0.0 as argument.
20488 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20489 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20490 exception being thrown with 0.0 as argument.
20491 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20492 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20493 exception being thrown with 0.0 as argument.
20494 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20495 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20496 exception being thrown with 0.0 as argument.
20497 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20498 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20499 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20500 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20501 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20502 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20503 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20504 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20505 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20506
0396e69d
PB
205072012-04-17 Petr Baudis <pasky@ucw.cz>
20508
20509 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20510 with altivec.
20511
750b5926
MP
205122012-04-16 Marek Polacek <polacek@redhat.com>
20513
20514 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20515
751728a1
MP
205162012-04-16 Marek Polacek <polacek@redhat.com>
20517
20518 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20519 operands of fdivp instruction.
20520
34a27407
L
205212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20522
20523 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20524 * elf/tst-auditmod3b.c: Likewise.
20525 * elf/tst-auditmod4b.c: Likewise.
20526 * elf/tst-auditmod5b.c: Likewise.
20527 * elf/tst-auditmod6b.c: Likewise.
20528 * elf/tst-auditmod6c.c: Likewise.
20529 * elf/tst-auditmod7b.c: Likewise.
20530 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20531 * sysdeps/x86_64/preconfigure.in: Likewise.
20532 * sysdeps/x86_64/preconfigure: Regenerated.
20533
7e73e17d
L
205342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20535
20536 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20537 __ILP32__.
20538
c7a6ab72
AB
205392012-04-13 Antoine Balestrat <merkil33@gmail.com>
20540
20541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20542 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20543
a9e8e0e0
CL
205442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20545
20546 [BZ #13973]
20547 * locale/iso-639.def: Fix gl language name. Spotted by
20548 Yaron Shahrabani.
20549
ec98af7d
RM
205502012-04-12 Roland McGrath <roland@hack.frob.com>
20551
20552 [BZ #2074]
20553 * libio/libio.h (__io_write_fn): Update comment.
20554
247c3ede
PB
205552012-04-12 Petr Baudis <pasky@ucw.cz>
20556
20557 [BZ #2074]
20558 * stdio.texi (Hook Functions): The user provided writer function
20559 is not allowed to return -1.
20560
55939d6d
DM
205612012-04-11 David S. Miller <davem@davemloft.net>
20562
20563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20564
90020f5a
MF
205652012-04-11 Mike Frysinger <vapier@gentoo.org>
20566
20567 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20568 Add a leading slash to rtkaio.
20569
288f9098
JM
205702012-04-11 Jim Meyering <meyering@redhat.com>
20571
90020f5a
MF
20572 [BZ #11959]
20573 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20574 It is not necessarily an error to ignore fwrite's return
20575 value. One can reliably use ferror to test for errors after
20576 the fact.
288f9098 20577
4be2b570
L
205782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20579
20580 * bits/types.h (__snseconds_t): New type.
20581 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20582
20583 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20585 (__SNSECONDS_T_TYPE): Likewise.
20586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20587 (__SNSECONDS_T_TYPE): Likewise.
20588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20589 (__SNSECONDS_T_TYPE): Likewise.
20590
288f9098 205912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20592
20593 [BZ #2636]
20594 * manual/time.texi (Processor Time): Return type of times is
20595 elapsed real time since an arbitrary point in the past.
20596 (CPU Time): Move CLK_TCK from here...
20597 (Processor Time): ...to here. Correct description.
20598 * manual/conf.texi (Constants for Sysconf): Correct description of
20599 _SC_CLK_TCK.
20600
d7dd4413
DM
206012012-04-10 David S. Miller <davem@davemloft.net>
20602
20603 [BZ #13967]
20604 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20605 where the is a gap between DT_REL(A) and DT_JMPREL.
20606
b46068fc
L
206072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20608
20609 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20610 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20611 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20612
73d65cc3
SP
206132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
20615 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20616 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20617 (dl_main): Handle --inhibit-cache.
20618 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20619 _dl_inhibit_cache.
20620 * elf/dl-load.c (_dl_map_object): Use it.
20621 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20622
bcc8d661
JM
206232012-04-09 Joseph Myers <joseph@codesourcery.com>
20624
8f9a2fae
JM
20625 [BZ #13872]
20626 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20627 (__ieee754_powl): Saturate large exponents rather than testing for
20628 overflow of y*log2(x).
20629 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20630 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20631 exceptions.
20632
bcc8d661
JM
20633 [BZ #11521]
20634 * math/s_ctan.c: Include <float.h>.
20635 (__ctan): Avoid internal overflow or cancellation in calculating
20636 denominator.
20637 * math/s_ctanf.c: Likewise.
20638 * math/s_ctanl.c: Likewise.
20639 * math/s_ctanh.c: Likewise.
20640 * math/s_ctanhf.c: Likewise.
20641 * math/s_ctanhl.c: Likewise.
20642 * math/libm-test.inc (ctan_test): Add more tests.
20643 (ctanh_test): Likewise.
20644 * sysdeps/i386/fpu/libm-test-ulps: Update.
20645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20646
823fbbb4
AJ
206472012-04-09 Andreas Jaeger <aj@suse.de>
20648
03879793
AJ
20649 [BZ #6894]
20650 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20651 is an optional BSD extension.
20652
823fbbb4
AJ
20653 [BZ #10254]
20654 * manual/stdio.texi (Opening Streams): Document additional fopen
20655 parameters.
20656
8de131cb
RM
206572012-04-09 Roland McGrath <roland@hack.frob.com>
20658
20659 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20660 %eax without telling the compiler.
20661
c0ed9d7d
CD
206622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20663
20664 [BZ # 13963]
20665 * manual/install.texi: Use sourceware.org.
20666
c483f6b4
JM
206672012-04-09 Joseph Myers <joseph@codesourcery.com>
20668
d7dd9453
JM
20669 [BZ #13873]
20670 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20671 (__ieee754_pow): Generate overflow and underflow using huge*huge
20672 and tiny*tiny rather than just returning constant infinity or zero
20673 for large exponents.
20674 * math/libm-test.inc (pow_test): Require overflow exceptions for
20675 applicable cases of large exponents.
20676
c483f6b4
JM
20677 [BZ #706]
20678 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20679 (__ieee754_pow): Use iterative multiplication algorithm only for
20680 integer exponents with absolute value below 1024. Check for odd
20681 integer exponents when using algorithm for real exponents.
20682 * math/libm-test.inc (pow_test): Add more tests.
20683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20684
d2de7579
JM
206852012-04-08 Joseph Myers <joseph@codesourcery.com>
20686
20687 [BZ #13705]
20688 * math/libm-test.inc (exp_test): Do not allow overflow exception
20689 on underflow test.
20690
f77f1232
AJ
206912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20692
20693 [BZ #13705]
20694 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20695 instead of __kernel_standard_f.
20696
3884932b
MF
206972012-04-08 Mike Frysinger <vapier@gentoo.org>
20698
20699 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20700 * sysdeps/x86_64/memset_chk.S: Likewise.
20701
54472e9c
AJ
207022012-04-08 Andreas Jaeger <aj@suse.de>
20703
6ab0fbfc
AJ
20704 [BZ #10153]
20705 * manual/startup.texi (Environment Access): Describe return value
20706 for putenv and setenv.
20707
61efba8c
AJ
20708 [BZ #6895]
20709 * manual/filesys.texi (Directory Entries): Add description for
20710 DT_LNK.
20711
95c3f29a
AJ
20712 [BZ #6890]
20713 * manual/filesys.texi (Directory Entries): Clarify that it's file
20714 system not operating system in the description of DT_UNKNOWN.
20715
54472e9c
AJ
20716 [BZ #6578]
20717 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20718
624254b1
SC
207192012-04-08 Stephen Compall <s11@member.fsf.org>
20720
20721 [BZ #6649]
20722 * manual/llio.texi (Opening and Closing Files): Add cross
20723 reference to explain mode argument.
20724
1e4920e0
MF
207252012-04-07 Mike Frysinger <vapier@gentoo.org>
20726
20727 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20728 * sysdeps/x86_64/memset_chk.S: Likewise.
20729
5ed848f3
DM
207302012-04-07 David S. Miller <davem@davemloft.net>
20731
20732 * elf/elf.h (R_SPARC_WDISP10): Define.
20733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20734 R_SPARC_SIZE32.
20735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20736 R_SPARC_SIZE64 and R_SPARC_H34.
20737
96154cd8
CD
207382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20739
20740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20741 conditions and remove no longer applicable assertion.
20742
9904dc47
L
207432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20744
20745 * bits/byteswap.h: Include <features.h>.
20746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20748
f8887d0a
L
207492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20750
20751 * bits/byteswap.h (__bswap_16): Removed.
20752 Include <bits/byteswap-16.h> to get __bswap_16.
20753 * sysdeps/i386/bits/byteswap.h: Likewise.
20754 * sysdeps/s390/bits/byteswap.h: Likewise.
20755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20756 * bits/byteswap-16.h: New file.
20757 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20758 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20759 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20760 * string/Makefile (headers): Add bits/byteswap-16.h.
20761
62470f60
PP
207622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20763
20764 [BZ #13895]
20765 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20766 extra indirection.
20767 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20768 * nss/tst-nss-static.c: New.
20769
4dad7bab
RM
207702012-04-06 Robert Millan <rmh@gnu.org>
20771
20772 [BZ #6486]
20773 * manual/llio.texi (File Position Primitive): lseek
20774 refers to WHENCE when it really means OFFSET.
20775
e9142a17
AJ
207762012-04-06 Andreas Jaeger <aj@suse.de>
20777
2c040eff
AJ
20778 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20779 strncmp declarations.
20780
e9142a17
AJ
20781 * abilist/libc.abilist: Add __poll and __ppoll.
20782
ff9f1c5f
DM
207832012-04-05 David S. Miller <davem@davemloft.net>
20784
dcd2ae90
DM
20785 * scripts/check-local-headers.sh: Accept a host triplet in the
20786 path matched by the exclude regexp.
20787
993eb054
DM
20788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20789 definition.
20790 * sysdeps/powerpc/powerpc32/dl-machine.h
20791 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20792 * sysdeps/s390/s390-32/dl-machine.h
20793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20794 * sysdeps/sparc/sparc32/dl-machine.h
20795 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20796 * sysdeps/sparc/sparc64/dl-machine.h
20797 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20798
ff9f1c5f
DM
20799 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20800 lazy binding.
48e2e132 20801 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20802 undefined symbol errors.
20803
48e2e132 20804 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20805 DT_NEEDED entries.
20806
e80d6f94
MM
208072012-04-05 Michael Matz <matz@suse.de>
20808
20809 [BZ #13592]
20810 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20811
349fa79f
AJ
208122012-04-05 Andreas Jaeger <aj@suse.de>
20813
20814 [BZ #13908]
20815 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20816 comment.
20817
f402708f
KK
208182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20819
20820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20821 which ROUND is no valid rounding mode.
20822
2ecccfc9
KK
208232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20824
20825 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20826 read again.
20827 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20828
8a53f50f
KK
208292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20830
20831 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20832 an exception using FPU order intentionally.
20833
208342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20835
20836 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20837 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20838 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20839 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20840
d653abb7
SJ
208412012-04-05 Simon Josefsson <simon@josefsson.org>
20842
20843 [BZ #12340]
20844 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20845 EINVAL when BUFLEN is too smal.
20846
c3b1bf7d
TS
208472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20848
20849 [BZ #13553]
20850 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20851 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20852
b1aa60f3
AJ
208532012-04-03 Andreas Jaeger <aj@suse.de>
20854
c3b1bf7d 20855 [BZ #13938]
67f60a26
AJ
20856 * manual/setjmp.texi (System V contexts): Fix sentence.
20857
b1aa60f3
AJ
20858 [BZ #13926]
20859 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20860 New macro for this case.
20861 [!__GNUC__] (__bswap_64): New inline function for this case.
20862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20863 * bits/byteswap.h: Likewise.
20864 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20865 ull, guard with __GLIBC_HAVE_LONG_LONG.
20866
20867 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20868 __GLIBC_HAVE_LONG_LONG.
20869
20870 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20871 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20872
39c59c35
TMQMF
208732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20874
20875 [BZ #13691]
20876 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20877 inptr and inend, rather than using last_ch.
20878
135ffda8
DM
208792012-04-02 David S. Miller <davem@davemloft.net>
20880
20881 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20882 * stdio-common/printf-parse.h (read_int): Change return type to
20883 'int', return -1 on INT_MAX overflow.
20884 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20885 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20886 overflows INT_MAX. Check for overflow of in-format-string precision
20887 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20888 SIZE_MAX not INT_MAX for integer overflow test.
20889 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20890 skip the construct in the format string but do not record anything.
20891 * stdio-common/bug22.c: Adjust to test both width/prevision
20892 INT_MAX overflow as well as total length INT_MAX overflow. Check
20893 explicitly for proper errno values.
20894
228c019e
TS
208952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20896
302cadd3
TS
20897 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20898 CHAR_MAX.
20899 * string/test-strcmp.c [! WIDE]: Likewise.
20900 * time/tst-mktime2.c: Likewise for INT_MAX.
20901 * string/test-string.h: #include <sys/param.h> for MIN.
20902
228c019e
TS
20903 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20904 * sysdeps/i386/init-first.c (init): Likewise.
20905 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20906 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20907 * sysdeps/sh/init-first.c (init): Likewise.
20908
cfa633f5
UD
209092012-04-01 Ulrich Drepper <drepper@gmail.com>
20910
20911 * po/ru.po: Update from translation team.
d1635ef8 20912 * po/vi.po: Likewise.
cfa633f5 20913
6cd0a5ea
SP
209142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20915
20916 * resolv/nss_dns/dns-host.c: Merge copyright years.
20917
4b43400f
LD
209182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20919
20920 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20921 Optimize memcpy with prefetch if
20922 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20923 src, dst pointers have unequal 16 byte alignments.
20924
48c41d04
SP
209252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20926
20927 [BZ #13928]
20928 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20929 from a CNAME entry and return the minimum ttl for the query.
20930 (gaih_getanswer_slice): Likewise.
20931
b8dc394d
JL
209322012-03-30 Jeff Law <law@redhat.com>
20933
20934 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20935 due to long keys.
20936 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20937 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20938
2f5a5ed0
JL
20939 * resolv/nss_dns/dns-host.c: Update copyright year.
20940
1d39e359
UD
209412012-03-30 Ulrich Drepper <drepper@gmail.com>
20942
c030f70c 20943 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20944 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20945
1d39e359
UD
20946 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20947 comments for sendmmsg.
20948
209492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20950
20951 [BZ #13691]
20952 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20953 with only 1 character between 0x0041 and 0x01b0.
20954 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20955 * wcsmbs/tst-mbsnrtowcs.c: New file.
20956
20fde227
DM
209572012-03-29 David S. Miller <davem@davemloft.net>
20958
20959 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20960 small copies by hand.
20961
984a4237
JL
209622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20963
20964 [BZ #13761]
20965 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20966 _nss_compat_initgroups_dyn): Fall back to malloc/free
20967 for large group memberships.
20968
18c9d62b
DM
209692012-03-28 David S. Miller <davem@davemloft.net>
20970
88d85d4f
DM
20971 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20972 that branches into memcpy.
20973 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20976 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20978 bits.
20979 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20980 implementation too.
20981 * sysdeps/sparc/mempcpy.S: New file.
20982
e5aa83e1
DM
20983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20984 the IFUNC routine in the libc case.
20985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20986
88570753
DM
20987 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20988 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20989 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20990 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20991 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20992 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20993 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20994 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20995
249d7567
DM
20996 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20997 loop to 256 bytes instead of 64 bytes and fix test signedness.
20998
18c9d62b
DM
20999 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21000 * sysdeps/sparc/sparc32/Makefile: rather than here...
21001 * sysdeps/sparc/sparc64/Makefile: and here.
21002
05f3d1f6
UD
210032012-03-28 Ulrich Drepper <drepper@gmail.com>
21004
21005 * malloc/mallocbug.c: Avoid warnings about unused variables.
21006
86ae07a8
JL
210072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21008
21009 [BZ #13760]
21010 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21011 in the right place. Discard and retry query if response is
21012 larger than input buffer size.
21013
41bf21a1
JM
210142012-03-28 Joseph Myers <joseph@codesourcery.com>
21015
d6270972
JM
21016 [BZ #369]
21017 [BZ #2678]
21018 [BZ #3866]
21019 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21020 x for large integer exponent.
21021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21022 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21023 sign of result as needed afterwards.
21024 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21025 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21026 result for underflowing pow the same as for overflow.
21027 (__kernel_standard_l): Handle powl overflow and underflow here
21028 rather than calling __kernel_standard.
21029 * math/libm-test.inc (pow_test): Add more tests.
21030
414fca03 21031 [BZ #3868]
41bf21a1
JM
21032 [BZ #13879]
21033 [BZ #13910]
21034 [BZ #13911]
21035 [BZ #13912]
21036 [BZ #13913]
21037 [BZ #13915]
21038 [BZ #13916]
21039 [BZ #13917]
21040 [BZ #13918]
21041 [BZ #13919]
21042 [BZ #13920]
21043 [BZ #13921]
21044 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21045 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21046 (__kernel_standard_l): New function.
21047 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21048 __kernel_standard.
21049 * math/w_acosl.c (__acosl): Likewise.
21050 * math/w_asinl.c (__asinl): Likewise.
21051 * math/w_atan2l.c (__atan2l): Likewise.
21052 * math/w_atanhl.c (__atanhl): Likewise.
21053 * math/w_coshl.c (__coshl): Likewise.
21054 * math/w_exp10l.c (__exp10l): Likewise.
21055 * math/w_exp2l.c (__exp2l): Likewise.
21056 * math/w_fmodl.c (__fmodl): Likewise.
21057 * math/w_hypotl.c (__hypotl): Likewise.
21058 * math/w_j0l.c (__j0l, __y0l): Likewise.
21059 * math/w_j1l.c (__j1l, __y1l): Likewise.
21060 * math/w_jnl.c (__jnl, __ynl): Likewise.
21061 * math/w_lgammal.c (__lgammal): Likewise.
21062 * math/w_log10l.c (__log10l): Likewise.
21063 * math/w_log2l.c (__log2l): Likewise.
21064 * math/w_logl.c (__logl): Likewise.
21065 * math/w_powl.c (__powl): Likewise.
21066 * math/w_remainderl.c (__remainderl): Likewise.
21067 * math/w_scalbl.c (sysv_scalbl): Likewise.
21068 * math/w_sinhl.c (__sinhl): Likewise.
21069 * math/w_sqrtl.c (__sqrtl): Likewise.
21070 * math/w_tgammal.c (__tgammal): Likewise.
21071 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21072 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21073 * math/libm-test.inc (acos_test): Add more tests.
21074 (acosh_test): Likewise.
21075 (asin_test): Likewise.
21076 (atanh_test): Likewise.
21077 (exp_test): Likewise.
21078 (exp10_test): Likewise.
21079 (exp2_test): Likewise.
21080 (expm1_test): Likewise.
21081 (lgamma_test): Likewise.
21082 (log_test): Likewise.
21083 (log10_test): Likewise.
21084 (log1p_test): Likewise.
21085 (log2_test): Likewise.
21086 (pow_test): Do not allow some spurious overflow exceptions.
21087 (sqrt_test): Add more tests.
21088 (tgamma_test): Likewise.
21089 (y0_test): Likewise.
21090 (y1_test): Likewise.
21091 (yn_test): Likewise.
21092
dd62fda6
AB
210932012-03-27 Anton Blanchard <anton@samba.org>
21094
21095 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21096 MAP_HUGETLB.
21097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21100
1e3cdfda
AJ
211012012-03-27 David S. Miller <davem@davemloft.net>
21102
b855ab85
DM
21103 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21104
1e3cdfda
AJ
21105 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21106 have-as-vis3 check.
21107
211082012-03-27 Andreas Jaeger <aj@suse.de>
21109
21110 * sysdeps/x86_64/elf/configure.in: Moved to ...
21111 * sysdeps/x86_64/configure.in: ... here.
21112 * sysdeps/x86_64/elf/start.S: Moved to ...
21113 * sysdeps/x86_64/start.S: ... here.
21114 * sysdeps/x86_64/elf/configure: Delete.
21115
21116 * sysdeps/x86_64/configure.in: Merge contents from
21117 sysdeps/i386/configure.in (without i686 check).
21118
21119 * sysdeps/i386/elf/Versions: Merge into ...
21120 * sysdeps/i386/Versions: ... this.
21121 * sysdeps/i386/elf/Versions: Delete file.
21122 * sysdeps/i386/elf/start.S: Moved to ...
21123 * sysdeps/i386/start.S: ...here.
21124 * sysdeps/i386/elf/configure.in: Merge into...
21125 * sysdeps/i386/configure.in: ...here.
21126 * sysdeps/i386/elf/configure.in: Delete file.
21127 * sysdeps/i386/elf/configure: Delete file.
21128
21129 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21130 * debug/backtracesyms.c: ... here.
21131 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21132 * debug/backtracesymsfd.c: ... here.
21133 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21134 * sysdeps/generic/ifunc-sel.h: ... here.
21135
21136 * sysdeps/unix/i386/start.c: Delete file.
21137 * sysdeps/unix/sparc/start.c: Delete file.
21138 * sysdeps/unix/start.c: Delete file.
21139
21140 * sysdeps/sh/elf/configure.in: Moved to ...
21141 * sysdeps/sh/configure.in: ... here.
21142 * sysdeps/sh/elf/start.S: Moved to ...
21143 * sysdeps/sh/start.S: ... here.
21144 * sysdeps/sh/elf/configure: Delete file.
21145
21146 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21147 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21148 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21149 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21150 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21151 * sysdeps/powerpc/powerpc64/start.S: here.
21152 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21153 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21154 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21155 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21156 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21157
21158 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21159 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21160 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21161 * sysdeps/powerpc/powerpc32/start.S: ... here.
21162 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21163 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21164 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21165
21166 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21167 * sysdeps/powerpc/ifunc-sel.h: ... here.
21168 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21169 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21170
21171 * sysdeps/sparc/elf/configure.in: Moved to ...
21172 * sysdeps/sparc/configure.in: ... here.
21173 * sysdeps/sparc/elf/configure: Delete file.
21174 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21175 * sysdeps/sparc/sparc32/start.S: ... here.
21176 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21177 * sysdeps/sparc/sparc64/start.S: ... here.
21178 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21179 * sysdeps/sparc/sparc32/Makefile: ... this.
21180 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21181 * sysdeps/sparc/sparc64/Makefile: ... this.
21182
21183 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21184 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21185 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21186 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21187 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21188 * sysdeps/s390/s390-32/setjmp.S: ... here.
21189 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21190 * sysdeps/s390/s390-32/configure.in: ... here.
21191 * sysdeps/s390/s390-32/elf/configure: Delete file.
21192 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21193 * sysdeps/s390/s390-32/start.S: ... here.
21194
21195 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21196 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21197 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21198 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21199 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21200 * sysdeps/s390/s390-64/setjmp.S: ... here.
21201 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21202 * sysdeps/s390/s390-64/configure.in: ... here
21203 * sysdeps/s390/s390-64/elf/configure: Delete file.
21204 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21205 * sysdeps/s390/s390-64/start.S: ... here.
21206 * sysdeps/s390/s390-64/elf/configure: Delete.
21207
21208 * configure.in: Remove support for elf directories in sysdeps.
21209
21210 * configure: Regenerated.
21211 * sysdeps/i386/configure: Regenerated.
21212 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21213 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21214 * sysdeps/s390/s390-32/configure: Regenerated.
21215 * sysdeps/s390/s390-64/configure: Regenerated.
21216 * sysdeps/sh/configure: Regenerated.
21217 * sysdeps/sparc/configure: Regenerated.
21218 * sysdeps/x86_64/configure: Regenerated.
21219
a3f61311
AS
212202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21221
c876e002
AS
21222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21223
a3f61311
AS
21224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21225 denormal result into account.
21226
ac4c54f0
RM
212272012-03-25 Roland McGrath <roland@hack.frob.com>
21228
21229 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21230 Reported by Allan McRae <allan@archlinux.org>.
21231
6a9b9c02
JL
212322012-03-23 Jeff Law <law@redhat.com>
21233
21234 * nss/getnssent.c (__nss_getent): Fix typo.
21235
4c42a0c1
DM
212362012-03-23 David S. Miller <davem@davemloft.net>
21237
21238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21239
1532c7ac
L
212402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21241
21242 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21243 to pad to uint64_t for each field.
21244 (dl_tls_index): Replace unsigned long with uint64_t.
21245
3ff42526
PP
212462012-03-23 Daniel Jacobowitz <dmj@google.com>
21247 Paul Pluzhnikov <ppluzhnikov@google.com>
21248
21249 [BZ #6528]
21250 * grp/Makefile (otherlibs): Don't set it.
21251 * inet/Makefile (otherlibs): Likewise.
21252 * login/Makefile (otherlibs): Likewise.
21253 * nscd/Makefile (otherlibs): Likewise.
21254 * posix/Makefile (otherlibs): Likewise.
21255 * pwd/Makefile (otherlibs): Likewise.
21256 * rt/Makefile (otherlibs): Likewise.
21257 * sunrpc/Makefile (otherlibs): Likewise.
21258 * nss/Makefile (otherlibs): Likewise.
21259 Add libnss_files to routines and static-only-routines.
21260 ($(objpfx)getent): Remove rule.
21261 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21262 static-only-routines.
21263
7c69cd14
JM
212642012-03-22 Joseph Myers <joseph@codesourcery.com>
21265
21266 [BZ #13892]
21267 * math/s_cexp.c: Include <float.h>.
21268 (__cexp): Handle exp result overflowing not necessarily
21269 overflowing both real and imaginary parts of result.
21270 * math/s_cexpf.c: Likewise.
21271 * math/s_cexpl.c: Likewise.
21272 * math/libm-test.inc (cexp_test): Add more tests.
21273 * sysdeps/i386/fpu/libm-test-ulps: Update.
21274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21275
81b035fe
L
212762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21277
21278 * include/link.h (ELFW): New macro.
21279 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21280 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21281
1da7940c
L
212822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21283
21284 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21285 with uint64_t.
21286
b749dbb9
L
212872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21288
21289 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21290 declaration.
21291 (struct La_x32_retval): Likewise.
21292
2ff87f3f
L
212932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21294
21295 * sysdeps/x86_64/preconfigure.in: New file.
21296 * sysdeps/x86_64/preconfigure: New generated file.
21297
c0df8e69
JM
212982012-03-22 Joseph Myers <joseph@codesourcery.com>
21299
48e44791
JM
21300 [BZ #13824]
21301 * math/e_exp2l.c: Include <float.h>.
21302 (__ieee754_exp2l): Handle overflow and underflow cases
21303 separately. Only pass fractional part of argument to
21304 __ieee754_expl.
21305 * math/libm-test.inc (exp2_test): Add more tests.
21306
c0df8e69
JM
21307 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21308 negating x to take absolute value.
21309 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21310 Likewise.
21311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21313 Likewise.
21314 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21315 computing low part if x was negated.
21316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21317
c8e43ba7
L
213182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21319
21320 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21321 la_x32_gnu_pltexit.
21322 (pltexit): Cast int_retval to ptrdiff_t.
21323 * elf/tst-auditmod3b.c: Likewise.
21324 * elf/tst-auditmod4b.c: Likewise.
21325 * elf/tst-auditmod5b.c: Likewise.
21326 * elf/tst-auditmod6b.c: Likewise.
21327 * elf/tst-auditmod6c.c: Likewise.
21328 * elf/tst-auditmod7b.c: Likewise.
21329
21330 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21331 and x32_gnu_pltexit.
21332
21333 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21334 __ELF_NATIVE_CLASS.
21335 (La_x32_regs): New macro.
21336 (La_x32_retval): Likewise.
21337 (la_x32_gnu_pltenter): New function prototype.
21338 (la_x32_gnu_pltexit): Likewise.
21339
7998fa78
AS
213402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21341
dcb33988
AS
21342 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21343 exponent.
21344
233fc563
AS
21345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21346
7998fa78
AS
21347 * configure.in (libc_cv_cc_nofma): Check for option to disable
21348 generation of FMA instructions.
21349 * configure: Regenerate.
21350 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21351 * sysdeps/ieee754/dbl-64/Makefile: New file.
21352 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21353 Remove brandred-fma4.
21354 (CFLAGS-brandred-fma4.c): Remove.
21355 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21356 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21357 define.
21358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21359 define.
21360
8e95c99a
L
213612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21362
21363 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21364 LLONG_MAX != LONG_MAX.
21365 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21366 (_fitoa_word): Likewise.
21367 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21368 LLONG_MAX != LONG_MAX.
21369 * stdio-common/_itowa.h: Include <_itoa.h>.
21370 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21371 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21372 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21373 only if not defined.
21374 (_ITOA_WORD_TYPE): Likewise.
21375 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21376 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21377
6f4db457
DM
213782012-03-21 David S. Miller <davem@davemloft.net>
21379
21380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21381
7785fe5a
L
213822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21383
21384 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21385 of x86_64 when setting libc_cv_slibdir, libdir and
21386 libc_cv_localedir.
21387 * sysdeps/unix/sysv/linux/configure: Regenerated.
21388
4535cd55
JM
213892012-03-21 Joseph Myers <joseph@codesourcery.com>
21390
21391 * manual/lang.texi (Old Varargs): Remove section.
21392 (How Variadic): Update menu.
21393 (va_start): Do not mention varargs.h.
21394
17228132
TS
213952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21396 Joseph Myers <joseph@codesourcery.com>
21397
21398 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21399 link test.
21400 * configure: Regenerated.
21401
8149f976
TS
214022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21403
05f3d1f6
UD
21404 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21405 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21406 conformtest.pl
8149f976 21407
1a4ac776
JM
214082012-03-21 Joseph Myers <joseph@codesourcery.com>
21409
be22ce65
JM
21410 * NOTES: Remove.
21411 * Makefile (files-for-dist): Remove NOTES.
21412 (NOTES): Remove rule.
21413 * README: Don't refer to NOTES.
21414 * manual/creature.texi: Don't include macros.texi.
21415 * manual/intro.texi (creature.texi): Remove comment referring to
21416 NOTES.
21417
40b601fb
JM
21418 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21419 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21420 * configure: Regenerated.
21421 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21422 LIBC_TRY_CC_OPTION.
21423 (libc_cv_as_i686): Likewise.
21424 (libc_cv_cc_avx): Likewise.
21425 (libc_cv_cc_sse2avx): Likewise.
21426 (libc_cv_cc_fma4): Likewise.
21427 (libc_cv_cc_novzeroupper): Likewise.
21428 * sysdeps/i386/configure: Regenerated.
21429
1a4ac776
JM
21430 [BZ #13883]
21431 * sysdeps/i386/fpu/s_cexp.S: Remove.
21432 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21433 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21434 * math/libm-test.inc (cexp_test): Add more tests.
21435 * sysdeps/i386/fpu/libm-test-ulps: Update.
21436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21437
a458e7fe
AM
214382012-03-21 Allan McRae <allan@archlinux.org>
21439
21440 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21441
0cb7efc5
JM
214422012-03-21 Joseph Myers <joseph@codesourcery.com>
21443
21444 [BZ #13871]
21445 * math/w_exp2.c: Do not include <float.h>.
21446 (o_threshold, u_threshold): Remove.
21447 (__exp2): Calculate result before checking finiteness and calling
21448 __kernel_standard.
21449 * math/w_exp2f.c: Likewise.
21450 * math/w_exp2l.c: Likewise.
21451 * math/libm-test.inc (exp2_test): Require overflow exception for
21452 1e6 input.
2460d3aa
JM
21453
21454 [BZ #3866]
21455 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21456 range of signed 64-bit integers before using fistpll. Remove
21457 checks for whether integers fit in mantissa bits.
21458 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21459 the range of signed 32-bit integers before using fistpl. Remove
21460 checks for whether integers fit in mantissa bits.
21461 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21462 (__ieee754_powl): Test for y outside the range of signed 64-bit
21463 integers before using fistpll. Reduce 64-bit values to 63-bit
21464 ones as needed.
21465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21466 divide-by-zero is raised for zero to large negative powers.
21467 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21468 (__ieee754_powl): Test for y outside the range of signed 64-bit
21469 integers before using fistpll. Reduce 64-bit values to 63-bit
21470 ones as needed.
21471 * math/libm-test.inc (pow_test): Add more tests.
21472
eb96ffb0
L
214732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21476 <stdio-common/_itoa.h>.
21477 * debug/segfault.c: Likewise.
21478 * elf/dl-cache.c: Likewise.
21479 * elf/dl-minimal.c: Likewise.
21480 * elf/dl-misc.c: Likewise.
21481 * elf/dl-sysdep.c: Likewise.
21482 * elf/dl-version.c: Likewise.
21483 * elf/rtld.c: Likewise.
21484 * hurd/hurdsock.c: Likewise.
21485 * hurd/lookup-retry.c: Likewise.
21486 * malloc/malloc.c: Likewise.
21487 * malloc/mtrace.c: Likewise.
21488 * nscd/nscd_getgr_r.c: Likewise.
21489 * nscd/nscd_getpw_r.c: Likewise.
21490 * nscd/nscd_getserv_r.c: Likewise.
21491 * posix/getopt_init.c: Likewise.
21492 * posix/wordexp.c: Likewise.
21493 * stdio-common/_itoa.c: Likewise.
21494 * stdio-common/printf_fphex.c: Likewise.
21495 * stdio-common/vfprintf.c: Likewise.
21496 * string/_strerror.c: Likewise.
21497 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21498 * sysdeps/i386/i686/hp-timing.h: Likewise.
21499 * sysdeps/mach/_strerror.c: Likewise.
21500 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21501 * sysdeps/mach/hurd/sethostid.c: Likewise.
21502 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21503 * sysdeps/mach/xpg-strerror.c: Likewise.
21504 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21505 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21506 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21507 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21508 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21509 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21510 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21511 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21512 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21513 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21514 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21515 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21517 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21518 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21519 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21520 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21521 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21522 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21523 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21524 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21525
21526 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21527
21528 * stdio-common/_itoa.h: Moved to ...
21529 * sysdeps/generic/_itoa.h: Here.
21530
21531 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21532
21533 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21534 instead of "_itoa.h" and "_itowa.h".
21535 * stdio-common/vfprintf.: Likewise.
21536
d1af992d
L
215372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21538
21539 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21540 <bits/wordsize.h>.
21541 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21542 (__signbit): Likwise.
21543 (llrintf): Likwise.
21544 (llrint): Likwise.
21545
114883e0
L
215462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21547
21548 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21549 __WORDSIZE != 64.
21550
c135cc1b
JM
215512012-03-20 Joseph Myers <joseph@codesourcery.com>
21552
21553 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21554 OVERFLOW_EXCEPTION_OK.
21555 * math/libm-test.inc ("Philosophy"): Update comment about
21556 exception testing.
21557 (OVERFLOW_EXCEPTION): Define.
21558 (OVERFLOW_EXCEPTION_OK): Likewise.
21559 (INVALID_EXCEPTION_OK): Renumber.
21560 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21561 (IGNORE_ZERO_INF_SIGN): Likewise.
21562 (test_exceptions): Handle FE_OVERFLOW.
21563 (exp10_test): Expect overflow exceptions.
21564 (exp2_test): Likewise.
21565 (expm1_test): Likewise.
21566 (nextafter_test): Likewise.
21567 (pow_test): Likewise.
21568 (scalbn_test): Likewise.
21569 (scalbln_test): Likewise.
21570
95443d88
L
215712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21572
21573 * sysdeps/x86_64/bits/atomic.h
21574 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21575 64bit integer.
21576 (atomic_exchange_acq): Likewise.
21577 (__arch_exchange_and_add_body): Likewise.
21578 (__arch_add_body): Likewise.
21579 (atomic_add_negative): Likewise.
21580 (atomic_add_zero): Likewise.
21581
490df6c4
L
215822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21583
c2722551 21584 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21585 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21586
5e52b189
L
215872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21588
21589 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21590 Check __x86_64__ instead of __WORDSIZE.
21591
a9879d4c
L
215922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21593
21594 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21595
5df98260
DM
215962012-03-19 David S. Miller <davem@davemloft.net>
21597
e1497744
DM
21598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21599
5df98260
DM
21600 * sysdeps/sparc/fpu/fenv_private.h: New file.
21601 * sysdeps/sparc/fpu/math_private.h: Use it.
21602 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21603 Remove.
21604 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21605 (libc_feholdexcept_setroundl): Remove.
21606 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21607 Remove.
21608 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21609 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21610
b4c35121
L
216112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21612
21613 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21614 int64_t instead of long int.
21615 (INSERT_WORDS64): Likwise.
21616
56965fd7
L
216172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21618
21619 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21620 _Unwind_GetCFA return to _Unwind_Ptr first.
21621
83d1aec8
JM
216222012-03-19 Joseph Myers <joseph@codesourcery.com>
21623
1897ad44
JM
21624 [BZ #13629]
21625 * math/s_clog.c: Include <float.h>.
21626 (__clog): Scale large or subnormal inputs.
21627 * math/s_clogf.c: Likewise.
21628 * math/s_clogl.c: Likewise.
21629 * math/s_clog10.c: Include <float.h>.
21630 (M_LOG10_2): Define.
21631 (__clog10): Scale large or subnormal inputs.
21632 * math/s_clog10f.c: Likewise.
21633 * math/s_clog10l.c: Likewise.
21634 * math/libm-test.inc (clog_test): Add more tests.
21635 (clog10_test): Likewise.
21636 * sysdeps/i386/fpu/libm-test-ulps: Update.
21637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21638
7726d6a9
JM
21639 [BZ #11451]
21640 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21641 x and y.
21642 * math/libm-test.inc (atan2_test): Add another test.
21643
83d1aec8
JM
21644 * Makerules (common-objdir-compile): Remove.
21645 * sysdeps/unix/Makefile (config-generated): Do not add
21646 $(unix-generated) to variable.
21647 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21648 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21649 Remove rule.
21650 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21651 Likewise.
21652 [generic bits/local_lim.h] (before-compile): Do not append to
21653 variable.
21654 [generic bits/local_lim.h] (common-generated): Likewise.
21655 [generic sys/param.h] (before-compile): Do not append to variable.
21656 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21657 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21658 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21659 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21660 include.
21661 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21662 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21663 [generic sys/param.h] ($(addprefix
21664 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21665 [generic sys/param.h] (common-generated): Do not append to
21666 variable.
21667 [generic sys/param.h] (sysdep_headers): Likewise.
21668 [generic bits/errno.h] (before-compile): Do not append to
21669 variable.
21670 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21671 rule.
21672 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21673 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21674 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21675 [generic bits/errno.h] (common-generated): Do not append to
21676 variable.
21677 [generic bits/ioctls.h] (before-compile): Do not append to
21678 variable.
21679 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21680 rule.
21681 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21682 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21683 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21684 rule.
21685 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21686 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21687 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21688 [generic bits/ioctls.h] (common-generated): Do not append to
21689 variable.
21690 [generic sys/syscall.h] (syscall.h): Remove variable.
21691 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21692 rule.
21693 [generic sys/syscall.h] (before-compile): Do not append to
21694 variable.
21695 [generic sys/syscall.h] (common-generated): Likewise.
21696 * sysdeps/unix/errnos-tmpl.c: Remove file.
21697 * sysdeps/unix/errnos.awk: Likewise.
21698 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21699 * sysdeps/unix/ioctls.awk: Likewise.
21700 * sysdeps/unix/mk-local_lim.c: Likewise.
21701 * sysdeps/unix/snarf-ioctls: Likewise.
21702
4851a949
RH
217032012-03-19 Richard Henderson <rth@twiddle.net>
21704
bd37f2ee
RH
21705 * sysdeps/i386/fpu/fenv_private.h: New file.
21706 * sysdeps/i386/fpu/math_private.h: Use it.
21707 (math_opt_barrier, math_force_eval): Remove.
21708 (libc_feholdexcept_setround_53bit): Remove.
21709 (libc_feupdateenv_53bit): Remove.
21710 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21711 (math_opt_barrier, math_force_eval): Remove.
21712 (libc_feholdexcept): Remove.
21713 (libc_feholdexcept_setround): Remove.
21714 (libc_fetestexcept, libc_fesetenv): Remove.
21715 (libc_feupdateenv_test): Remove.
21716 (libc_feupdateenv, libc_feholdsetround): Remove.
21717 (libc_feresetround): Remove.
21718
d0adc922
RH
21719 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21720 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21721
0fe0f1f8
RH
21722 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21723 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21724 (libc_feupdateenv_testl): New.
21725 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21726 (libc_feupdateenv_testf): New.
21727 (libc_feupdateenv): Use libc_feupdateenv_test.
21728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21729 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21730
eb92c487
RH
21731 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21732 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21733 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21734 (libc_feresetround_noex): New.
21735 (libc_feresetround_noexf): New.
21736 (libc_feresetround_noexl): New.
21737 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21738 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21739 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21740 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21741 SET_RESTORE_ROUND.
21742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21744 (__cos): Likewise.
21745 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21747 SET_RESTORE_ROUND_NOEX.
21748 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21749 SET_RESTORE_ROUND_NOEXF.
21750 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21751 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21752 (libc_feholdsetroundf): New.
21753 (libc_feresetround, libc_feresetroundf): New.
21754
7d2e8012
RH
21755 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21756 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21757 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21758
b4dabbb4
RH
21759 * sysdeps/generic/math_private.h: Include <fenv.h>.
21760 (default_libc_feholdexcept): New.
21761 (default_libc_feholdexcept_setround): New.
21762 (default_libc_fesetenv, default_libc_feupdateenv): New.
21763 (libc_feholdexcept): Only define if undefined.
21764 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21765 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21766 (libc_feholdexcept_setroundl): Likewise.
21767 (libc_feholdexcept_setround_53bit): Likewise.
21768 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21769 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21770 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21771 (libc_feupdateenv_53bit): Likewise.
21772 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21773 (libc_feholdexcept): Convert from macro to inline function.
21774 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21775 (libc_fesetenv, libc_feupdateenv): Likewise.
21776
4851a949
RH
21777 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21778 not previously defined.
21779 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21780 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21781 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21782 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21783 * sysdeps/ieee754/flt-32/math_private.h: New file.
21784 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21785 math_private.h below SET_FLOAT_WORD.
21786 (__isnan, __isinf_ns, __finite): Remove.
21787 (__isnanf, __isinf_nsf, __finitef): Remove.
21788
e79d442e
AS
217892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21790
21791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21792
90b80344
DM
217932012-03-17 David S. Miller <davem@davemloft.net>
21794
21795 [BZ #6471]
21796 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21797 for 2.16.
21798
edc21804
DM
217992012-03-16 David S. Miller <davem@davemloft.net>
21800
77e927af
DM
21801 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21802 warnings.
21803
374976dd
DM
21804 [BZ #6471]
21805 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21806 properly.
21807 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21808 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21809 sysdep_routines when subdir is sysvipc.
21810 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21811 __getshmlba helper.
21812
edc21804
DM
21813 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21814
473c3ef3
L
218152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21816
21817 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21818 [__LP64__].
21819
eb0f39b6
L
218202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21823 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21824 (__lround): Renamed to ...
21825 (__llround): This. Replace long int with long long int.
21826 Define lround functions as aliases of llround functions.
21827 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21828
6b6cd74b
L
218292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21830
21831 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21832 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21833 adresses to uintptr_t. Replace "long int" and "unsigned long
21834 int" with "greg_t" on va_arg.
21835
f1a77b01
L
218362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21837
21838 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21839 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21840
21841 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21842 Move e_machine check before EI_CLASS check. Handle x32
21843 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21844 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21845 SKIP_EM_IA_64 and include
21846 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21847
21848 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21849 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21850 (add_system_dir): New macro.
21851
21852 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21853 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21854
11b90b9f
JM
218552012-03-16 Joseph Myers <joseph@codesourcery.com>
21856
c36e1d23
JM
21857 [BZ #2551]
21858 [BZ #2552]
21859 [BZ #2553]
21860 [BZ #2554]
21861 [BZ #2562]
21862 [BZ #2563]
21863 [BZ #2565]
21864 [BZ #2566]
21865 [BZ #2576]
21866 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21867 (y0): Likewise.
21868 * math/w_j0f.c (j0f): Likewise.
21869 (y0f): Likewise.
21870 * math/w_j0l.c (__j0l): Likewise.
21871 (__y0l): Likewise.
21872 * math/w_j1.c (j1): Likewise.
21873 (y1): Likewise.
21874 * math/w_j1f.c (j1f): Likewise.
21875 (y1f): Likewise.
21876 * math/w_j1l.c (__j1l): Likewise.
21877 (__y1l): Likewise.
21878 * math/w_jn.c (jn): Likewise.
21879 (yn): Likewise.
21880 * math/w_jnf.c (jnf): Likewise.
21881 (ynf): Likewise.
21882 * math/w_jnl.c (__jnl): Likewise.
21883 (__ynl): Likewise.
21884 * math/libm-test.inc (j0_test): Add more tests.
21885 (j1_test): Likewise.
21886 (jn_test): Likewise. Add trailing semicolon to existing test.
21887 (y0_test): Likewise.
21888 (y1_test): Likewise.
21889 * sysdeps/i386/fpu/libm-test-ulps: Update.
21890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21891
11b90b9f
JM
21892 [BZ #13851]
21893 [BZ #13854]
21894 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21895 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21896 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21897 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21898 (__tanl): Set errno for infinite argument.
21899 * sysdeps/i386/fpu/mptan.c: Remove.
21900 * sysdeps/i386/fpu/s_tan.S: Likewise.
21901 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21902 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21903 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21904 * math/libm-test.inc (tan_test): Add more tests and enable more
21905 tests for double and long double.
21906 * sysdeps/i386/fpu/libm-test-ulps: Update.
21907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21908
6a1bd2a1
JK
219092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21910
21911 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21912 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21913
10a803e0
RM
219142012-03-16 Roland McGrath <roland@hack.frob.com>
21915
21916 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21917 * configure.in: Use it for both main tree and add-ons.
21918 * configure: Regenerated.
21919
f196c7f7
L
219202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21923
8848d99d
JM
219242012-03-16 Joseph Myers <joseph@codesourcery.com>
21925
96cbe7f4
JM
21926 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21927 in comment.
21928
8848d99d
JM
21929 [BZ #13851]
21930 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21931 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21932 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21935 infinite argument.
21936 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21938 != 0 for prec == 2.
21939 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21940 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21941 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21942 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21943 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21944 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21945 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21946 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21947 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21948 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21949 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21950 * math/libm-test.inc (cos_test): Add more tests and enable more
21951 tests for long double.
21952 (sin_test): Likewise.
21953 (sincos_test): Likewise.
21954 * sysdeps/i386/fpu/libm-test-ulps: Update.
21955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21956
dd7f4703
DM
219572012-03-16 David S. Miller <davem@davemloft.net>
21958
21959 * sysdeps/sparc/fpu/math_private.h: New file.
21960
006f1daa
DM
219612012-03-15 David S. Miller <davem@davemloft.net>
21962
c0c83bc8
DM
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21964 file.
e6a62e18 21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21967 file.
e6a62e18
DM
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21974 sysdep routines.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21976
88cb87d9
DM
21977 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21978 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21979
006f1daa 21980 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21982 sparc-ifunc.h
006f1daa 21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21985 Likewise.
21986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21987 Likewise.
006f1daa
DM
21988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21992 Likewise.
006f1daa
DM
21993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21998 Likewise.
21999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22000 Likewise.
006f1daa
DM
22001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22025
11e0098e
AS
220262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22027
22028 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22029 scaling.
22030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22031
e85b09d0
AJ
220322012-03-15 Andreas Jaeger <aj@suse.de>
22033
22034 [BZ #13852]
22035 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22036 ieee754/flt-32 implementation for sin, cos and sincos.
22037 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22038 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22039 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22040 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22041 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22042 ieee754/flt-32 implementation for tan.
22043
22044 * math/libm-test.inc (cos_test): Enable some large input tests for
22045 float as well
22046 (sin_test): Likewise.
22047 (sincos_test): Likewise.
22048 (tan_test): Add tests for large input.
22049
22050 * sysdeps/i386/fpu/libm-test-ulps: Update.
22051
81c64153
AJ
220522012-03-15 Andreas Jaeger <aj@suse.de>
22053
22054 [BZ #13658]
22055 * math/libm-test.inc (cos_test): Add more test cases.
22056 (sin_test): Likewise.
22057 (sincos_test): Likewise.
22058
7bbfa5c6
AJ
220592012-03-15 Andreas Jaeger <aj@suse.de>
22060
22061 [BZ #13837]
22062 * math/libm-test.inc (cos_test): Add a test case for large input
22063 value.
22064 (sin_test): Likewise.
22065 (sincos_test): Likewise.
22066
220672012-03-15 Andreas Jaeger <aj@suse.de>,
22068 Joseph Myers <joseph@codesourcery.com>
22069
22070 [BZ #13658]
0671f479 22071 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22072 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22073 * sysdeps/i386/fpu/branred.c: Likewise.
22074 * sysdeps/i386/fpu/dosincos.c: Likewise.
22075 * sysdeps/i386/fpu/mpa.c: Likewise.
22076 * sysdeps/i386/fpu/s_cos.S: Likewise.
22077 * sysdeps/i386/fpu/s_sin.S: Likewise.
22078 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22079 * sysdeps/i386/fpu/sincos32.c: Likewise.
22080
22081 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22082 Define.
22083 (libc_feupdateenv_53bit): Define.
22084 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22085 Define.
22086 (libc_feupdateenv_53bit): Define.
22087
22088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22089 53 bit (without extend i386 double precision).
22090
22091 * math/libm-test.inc (sincos_test): Add tests for large input.
22092 (sin): Likewise.
22093 (cos): Likewise.
22094
22095 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22096
9cad04ea
AS
220972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22098
22099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22100
f7062b9a
DM
221012012-03-15 David S. Miller <davem@davemloft.net>
22102
22103 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22104 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22105 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22106 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22119 file.
f7062b9a 22120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22122 file.
f7062b9a 22123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22125 file.
f7062b9a 22126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22128 file.
f7062b9a
DM
22129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22131 fmin/fmax sysdep routines.
22132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22133
7bd951ff
DM
221342012-03-14 David S. Miller <davem@davemloft.net>
22135
559398ab
DM
22136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22165 routines.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22167 file.
559398ab 22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22170 file.
559398ab 22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22173 file.
559398ab 22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22176 file.
559398ab 22177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22179 file.
559398ab 22180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22182 file.
22183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22184 file.
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22186 file.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22188 file.
22189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22190 New file.
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22192 file.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22194 file.
559398ab 22195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22197 file.
559398ab 22198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22200 file.
559398ab 22201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22203 file.
559398ab 22204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22206 VIS3 routines.
559398ab
DM
22207
22208 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22209 New file.
22210
5a1c1e32
DM
22211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22212
eae47a36
DM
22213 * sysdeps/sparc/configure.in: New file.
22214 * sysdeps/sparc/configure: Generate.
22215 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22216 * configure: Regenerate.
22217 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22218 * config.make.in (have-as-vis3): New.
22219 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22220 available use -Av9d instead of -Av9a.
22221 * sysdeps/sparc/sparc64/Makefile: Likewise.
22222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22224 New file.
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22226 file.
22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22228 New file.
22229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22230 file.
eae47a36
DM
22231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22236
c0c83bc8
DM
22237 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22238 fzeros/fnegs to load 0x80000000 into a float register instead of
22239 using the stack.
7bd951ff
DM
22240 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22241
bd951ccb
JM
222422012-03-14 Joseph Myers <joseph@codesourcery.com>
22243
22244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22245 bits/syscall.h.
22246 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22247 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22248 ($(inst_includedir)/bits/syscall.h): Remove rule.
22249 ($(objpfx)bits/syscall.d): Include instead of
22250 $(objpfx)syscall-list.d.
22251 (generated): Change syscall-list.h and syscall-list.d to
22252 bits/syscall.h and bits/syscall.d.
22253
bb4e6db2
RM
222542012-03-14 Roland McGrath <roland@hack.frob.com>
22255
22256 [BZ #13846]
22257 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22258
aa4a2ae1
JM
222592012-03-14 Joseph Myers <joseph@codesourcery.com>
22260
e456826d
JM
22261 [BZ #13841]
22262 * math/s_csqrt.c: Include <float.h>.
22263 (__csqrt): Scale large or subnormal inputs.
22264 * math/s_csqrtf.c: Likewise.
22265 * math/s_csqrtl.c: Likewise.
22266 * math/libm-test.inc (csqrt_test): Add more tests.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269
aa4a2ae1
JM
22270 [BZ #13840]
22271 * math/libm-test.inc (hypot_test): Add more tests.
22272
7c10fd35
DM
222732012-03-13 David S. Miller <davem@davemloft.net>
22274
22275 [BZ #13840]
22276 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22277 double-precision for the calculation instead of scaling.
22278
f453b98b
JM
222792012-03-13 Joseph Myers <joseph@codesourcery.com>
22280
22281 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22282 manipulate bits before adding and subtracting TWO52[sx].
22283 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22284 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22285 Likewise.
22286 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22287
09a3453f
DM
222882012-03-13 David S. Miller <davem@davemloft.net>
22289
8e59da90
DM
22290 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22291 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22293 rtld-global-offsets.h
22294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22295
2a8ab7f2
DM
22296 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22297 large parameters.
22298
10f62770
DM
22299 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22300
5f0bdb18
DM
22301 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22302 'err' in the ifdef scope in which it is actually used.
22303
09a3453f
DM
22304 * nss/nss_db/db-init.c: Include string.h
22305
b4b2eb5e
DM
223062012-03-12 David S. Miller <davem@davemloft.net>
22307
98bb2f1c
DM
22308 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22309 masking out of the most significant byte of random value used.
22310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22311 Fix coding style in previous change.
22312
b4b2eb5e
DM
22313 * sysdeps/unix/sysv/linux/kernel-features.h
22314 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22315 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22316 expression.
22317 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22318 later.
22319
6e226b09
DM
223202012-03-11 David S. Miller <davem@davemloft.net>
22321
a1bcbd40
DM
22322 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22323 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22325 for 'resultvar' otherwise things get truncated on 64-bit.
22326
cb9d6174
DM
22327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22328 Fix masking out of the most significant byte of random value used.
22329
6e226b09
DM
22330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22331
058c132d
AS
223322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22333
22334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22335
2d2cd515
DM
223362012-03-09 David S. Miller <davem@davemloft.net>
22337
22338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22339 variables with appropriate CPP guards.
22340 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22341 frame pointer, not the stack pointer. Correct layout comments. Fix test
22342 on resulting framesize and the management of the outregs buffer for pltexit.
22343 Preserve floating point return values across _dl_call_pltexit call.
22344 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22345 framesize and the management of the outregs buffer for pltexit.
22346 Preserve floating point return values across _dl_call_pltexit
22347 call.
22348 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22349 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22350 (print_exit): Fix format string for return register value.
22351
9a07f9d0
JM
223522012-03-10 Joseph Myers <joseph@codesourcery.com>
22353
22354 * sunrpc/Makefile (others): Add rpcgen.
22355 ($(objpfx)rpcgen): Remove special build rule and dependency on
22356 libc.
22357 * sunrpc/rpcgen.c: New file.
22358
547b5e30
PE
223592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22360
c524201a
PE
22361 [BZ #13673]
22362 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22363 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22364 * sysdeps/i386/crti.S: Likewise.
22365 * sysdeps/i386/crtn.S: Likewise.
22366 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22367 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22368 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22369 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22370 * sysdeps/sh/crti.S: Likewise.
22371 * sysdeps/sh/crtn.S: Likewise.
22372 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22373
7b6235f2
PE
22374 [BZ #13673]
22375 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22376 with URL.
22377 * locale/programs/locfile-kw.gperf: Likewise.
22378 * locale/programs/charmap-kw.h: Regenerated.
22379 * locale/programs/locfile-kw.h: Likewise.
22380
547b5e30
PE
22381 [BZ #13673]
22382 * intl/plural.y: Replace FSF snail mail address with URL.
22383 * intl/plural.c: Regenerated.
22384
5f0a5dae
RH
223852012-03-09 Richard Henderson <rth@twiddle.net>
22386
22387 * include/math_private.h: Remove file.
22388 * math/math_private.h: Move file ...
22389 * sysdeps/generic/math_private.h: ... here.
22390
b8c03620
RH
22391 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22392 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22393 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22394
4e234f5d 22395 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22396 and <math_private.h>.
22397 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22398 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22399 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22400 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22401 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22457 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22481 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22484 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22485 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22486 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22487 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22488 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22489 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22490 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22491 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22492 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22494 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22495 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22496 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22497 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22498 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22499 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22500 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22501 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22502 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22503 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22504 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22505 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22507 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22508 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22509 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22510 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22511 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22512 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22513 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22514 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22515 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22516 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22517 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22518 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22519 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22520 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22521 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22522 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22523 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22524 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22525 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22526 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22527 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22528 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22529 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22530 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22531 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22532 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22533 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22534 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22535 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22536 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22537 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22538 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22540 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22541 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22542 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22543 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22544 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22545 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22546 * sysdeps/ieee754/k_standard.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22669 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22674 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22679 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22707 * sysdeps/ieee754/s_lib_version.c: Likewise.
22708 * sysdeps/ieee754/s_matherr.c: Likewise.
22709 * sysdeps/ieee754/s_signgam.c: Likewise.
22710 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22711 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22712 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22713 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22714 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22715 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22716 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22717 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22718 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22719 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22720 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22721 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22722 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22723 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22724 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22725 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22726 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22727 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22728 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22731
1991fa03
JM
227322012-03-09 Joseph Myers <joseph@codesourcery.com>
22733
22734 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22735 * sunrpc/rpc_main.c: Likewise.
22736 * sunrpc/rpc_svcout.c: Likewise.
22737
60d6f5a6
DM
227382012-03-09 David S. Miller <davem@davemloft.net>
22739
22740 * include/math_private.h: New file.
22741
4962050e
JM
227422012-03-09 Joseph Myers <joseph@codesourcery.com>
22743
02a6f887
JM
22744 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22745 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22746 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22747 from <bits/socket_type.h>.
22748 (enum __socket_type): Don't define here.
22749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22751 bits/socket_type.h.
22752
c6e013c1
JM
22753 [BZ #13566]
22754 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22755 checking __USE_GNU.
22756
4962050e
JM
22757 * Makerules ($(inst_includedir)/%.h): New rule.
22758 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22759 (install-others): Remove variable setting.
22760 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22761
38842f45
RH
227622012-03-08 Richard Henderson <rth@twiddle.net>
22763
67bb6da6
RH
22764 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22765 from macro to inline function; merge with the
22766 !__LIBC_INTERNAL_MATH_INLINES version.
22767 (__ieee754_sqrtf): Likewise.
22768
15194b4b
RH
22769 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22770 to inline function.
22771 (__rintf, __floor, __floorf): Likewise.
22772
64e21ede
RH
22773 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22774 macro to inline function.
22775 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22776
38842f45
RH
22777 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22778 not <math/math_private.h>.
22779
c64bf5fe
DM
227802012-03-08 David S. Miller <davem@davemloft.net>
22781
22782 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22783 copyright year.
22784 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22785
82d86f28
TS
227862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22787
22788 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22789 normalization.
22790 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22791 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22792
aea5d727
UD
227932012-03-08 Ulrich Drepper <drepper@gmail.com>
22794
22795 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22796 be defined individually, they must be defined as a block. Define
22797 S for printing a string instead of hidint the different by using a
22798 macro for adding the 'l'.
22799 * stdio-common/tst-fphex-wide.c: Adjust.
22800
70bca0a3
MP
228012012-03-07 Marek Polacek <polacek@redhat.com>
22802
22803 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22804
65b81130
MP
228052012-03-08 Marek Polacek <polacek@redhat.com>
22806
22807 [BZ #13806]
22808 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22809 * stdio-common/tst-fphex.c: Define a few macros to make the
22810 test reusable. Use them.
22811 * stdio-common/tst-fphex-wide.c: New file.
22812
07037eeb
JM
228132012-03-08 Joseph Myers <joseph@codesourcery.com>
22814
a7a93d50
JM
22815 [BZ #6911]
22816 * manual/macros.texi (gnusystems): New macro.
22817 (nongnusystems): Likewise.
22818 (gnulinuxhurdsystems): Likewise.
22819 (gnuhurdsystems): Likewise..
22820 (gnulinuxsystems): Likewise.
22821 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22822 variants of the GNU system, not "GNU system".
22823 * manual/conf.texi: Likewise.
22824 * manual/errno.texi: Likewise. Update example of errno macro
22825 expansion.
22826 * manual/filesys.texi: Likewise.
22827 (getumask): Document as specific to GNU/Hurd.
22828 * manual/install.texi: Likewise. Reword some references to
22829 GNU/Linux.
22830 * manual/intro.texi: Likewise.
22831 * manual/io.texi: Likewise.
22832 (File Name Portability): Detail which constraints are inapplicable
22833 to all GNU systems and which are only inapplicable to GNU/Hurd.
22834 * manual/job.texi: Likewise.
22835 * manual/llio.texi: Likewise.
22836 (O_NOCTTY): Document as present on GNU/Linux.
22837 * manual/maint.texi: Likewise.
22838 * manual/memory.texi: Likewise.
22839 * manual/pattern.texi: Likewise.
22840 * manual/pipe.texi: Likewise.
22841 * manual/process.texi: Likewise.
22842 * manual/resource.texi: Likewise.
22843 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22844 child on GNU/Hurd.
22845 * manual/setjmp.texi: Likewise.
22846 * manual/signal.texi: Likewise.
22847 * manual/startup.texi: Likewise.
22848 * manual/stdio.texi: Likewise.
22849 * manual/terminal.texi: Likewise.
22850 (ONLCR): Document as POSIX.
22851 (OXTABS): Document availability on GNU/Linux as XTABS.
22852 (ONOEOT): Document availability separately from other bits.
22853 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22854 * manual/time.texi: Likewise.
22855 * manual/users.texi: Likewise.
22856 * INSTALL: Regenerated.
22857 * sysdeps/gnu/errlist.c: Regenerated.
22858
07037eeb
JM
22859 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22860 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22861 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22862 puts.
22863 * configure: Regenerated.
22864
d1d3431a
JM
228652012-03-07 Joseph Myers <joseph@codesourcery.com>
22866
af6a1e37
JM
22867 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22868 default includes instead of AC_HEADER_CHECK.
22869 * sysdeps/i386/configure: Regenerated.
22870
d1d3431a
JM
22871 [BZ #10716]
22872 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22873 * math/s_cacoshf.c (__cacoshf): Likewise.
22874 * math/s_cacoshl.c (__cacoshl): Likewise.
22875 * math/s_casinh.c (__casinh): Set signs of result from argument.
22876 * math/s_casinhf.c (__casinhf): Likewise.
22877 * math/s_casinhl.c (__casinhl): Likewise.
22878 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22879 (casinh_test): Add more tests.
22880 * sysdeps/i386/fpu/libm-test-ulps: Update.
22881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22882
482ff4da
UD
228832012-03-07 Ulrich Drepper <drepper@gmail.com>
22884
872fda05
UD
22885 * po/zh_TW.po: Update from translation team.
22886
a4300c7a
UD
22887 * login/Makefile (distribute): Remove variable.
22888 * catgets/Makefile: Likewise.
22889 * mach/Makefile: Likewise.
22890 * malloc/Makefile: Likewise.
22891 * misc/Makefile: Likewise.
22892 * iconv/Makefile: Likewise.
22893 * nscd/Makefile: Likewise.
22894 * hurd/Makefile: Likewise.
22895 * manual/Makefile: Likewise.
22896 * locale/Makefile: Likewise.
22897 * intl/Makefile: Likewise.
22898 * conform/Makefile: Likewise.
22899 * nss/Makefile: Likewise.
22900 * time/Makefile: Likewise.
22901 * soft-fp/Makefile: Likewise.
22902 * dirent/Makefile: Likewise.
22903 * gmon/Makefile: Likewise.
22904 * po/Makefile: Likewise.
22905 * rt/Makefile: Likewise.
22906 * socket/Makefile: Likewise.
22907 * math/Makefile: Likewise.
22908 * signal/Makefile: Likewise.
22909 * debug/Makefile: Likewise.
22910 * elf/Makefile: Likewise.
22911 * timezone/Makefile: Likewise.
22912 * stdlib/Makefile: Likewise.
22913 * iconvdata/Makefile: Likewise.
22914 * sunrpc/Makefile: Likewise.
22915 * io/Makefile: Likewise.
22916 * argp/Makefile: Likewise.
22917 * inet/Makefile: Likewise.
22918 * hesiod/Makefile: Likewise.
22919 * grp/Makefile: Likewise.
22920 * csu/Makefile: Likewise.
22921 * wctype/Makefile: Likewise.
22922 * crypt/Makefile: Likewise.
22923 * libio/Makefile: Likewise.
22924 * string/Makefile: Likewise.
22925 * nis/Makefile: Likewise.
22926 * resolv/Makefile: Likewise.
22927 * stdio-common/Makefile: Likewise.
22928 * wcsmbs/Makefile: Likewise.
22929 * dlfcn/Makefile: Likewise.
22930 * posix/Makefile: Likewise.
22931
3b7c4e74 22932 [BZ #6959]
482ff4da
UD
22933 * timezone/Makefile: Don't install timezone files, just the programs
22934 and scripts.
22935
f72ed77d
UD
229362012-03-06 Ulrich Drepper <drepper@gmail.com>
22937
a000466f
UD
22938 * nss/databases.def: Add missing gshadow entry.
22939
f72ed77d
UD
22940 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22941
a53b7a4e
MP
229422012-03-06 Marek Polacek <polacek@redhat.com>
22943
22944 [BZ #13726]
22945 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22946 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22947 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22948 * stdio-common/tst-long-dbl-fphex.c: New file.
22949
e9258400
DM
229502012-03-06 David S. Miller <davem@davemloft.net>
22951
22952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22953 (set_obp_int): New function.
22954 (get_obp_int): New function.
22955 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22956 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22957 Avoid unused variable warnings on 'val' and use builtin_expect.
22958 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22959 __builtin_expect.
e9258400
DM
22960 (INLINE_CLONE_SYSCALL): Likewise.
22961
3bd2c723
DM
229622012-03-05 David S. Miller <davem@davemloft.net>
22963
22964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22965
bbb78d03
AS
229662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22967
884c5db4
AS
22968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22969
bbb78d03
AS
22970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22971 only for |x| >= 40.
22972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22973
1c9f702a 229742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22975
22976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22977 Replace gettimeofday with __vdso_gettimeofday.
22978
7be16f82
RM
22979 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22980 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22981 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22982
22983 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22984 time with __vdso_time.
22985
ed58a00f
JM
229862012-03-05 Joseph Myers <joseph@codesourcery.com>
22987
22988 * manual/lang.texi (size_t): Note types to which size_t may be
22989 equivalent with the GNU C Library, but do not describe when
22990 differences between them are significant.
22991
30ee4ced
AJ
229922012-03-05 Andreas Jaeger <aj@suse.de>
22993
22994 * sysdeps/i386/fpu/libm-test-ulps: Update.
22995
b7cd39e8
JM
229962012-03-05 Joseph Myers <joseph@codesourcery.com>
22997
22998 [BZ #3976]
22999 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23000 (__ieee754_pow): Save and restore rounding mode and use
23001 round-to-nearest for main computations.
23002 * math/libm-test.inc (pow_test_tonearest): New function.
23003 (pow_test_towardzero): Likewise.
23004 (pow_test_downward): Likewise.
23005 (pow_test_upward): Likewise.
23006 (main): Call the new functions.
23007 * sysdeps/i386/fpu/libm-test-ulps: Update.
23008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23009
23010 [BZ #3976]
23011 * math/libm-test.inc (cosh_test_tonearest): New function.
23012 (cosh_test_towardzero): Likewise.
23013 (cosh_test_downward): Likewise.
23014 (cosh_test_upward): Likewise.
23015 (sinh_test_tonearest): Likewise.
23016 (sinh_test_towardzero): Likewise.
23017 (sinh_test_downward): Likewise.
23018 (sinh_test_upward): Likewise.
23019 (main): Call the new functions.
23020 * sysdeps/i386/fpu/libm-test-ulps: Update.
23021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23022
6c6a98c9
TV
230232012-03-05 Tom de Vries <tom@codesourcery.com>
23024
23025 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23026 default stack guard is set in last bytes.
23027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23028
21bb2d2e 230292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23030
21bb2d2e 23031 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23032
21bb2d2e
AJ
23033 [BZ #13656]
23034 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23035 possibly allocate from heap instead of stack.
23036 * stdio-common/bug-vfprintf-nargs.c: New file.
23037 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23038
c6922934
AS
230392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23040
23041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23042
bc957d53
MP
230432012-03-03 Marek Polacek <polacek@redhat.com>
23044
23045 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23046 * math/math_private.h: Likewise.
23047 * stdlib/tst-strtod.c: Likewise.
23048 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23049 * sysdeps/x86_64/bits/atomic.h: Likewise.
23050
6358490d
DM
230512012-03-02 David S. Miller <davem@davemloft.net>
23052
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23061
01ae168d
RM
230622012-03-02 Roland McGrath <roland@hack.frob.com>
23063
d9a17c07
RM
23064 [BZ #13792]
23065 * manual/examples/README: New file, says the example source files
23066 can be used under GPL>=2.
23067 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23068 line containing just "*/".
23069 * manual/examples/add.c: Add copyright header (GPL>=2).
23070 * manual/examples/argp-ex1.c: Likewise.
23071 * manual/examples/argp-ex2.c: Likewise.
23072 * manual/examples/argp-ex3.c: Likewise.
23073 * manual/examples/argp-ex4.c: Likewise.
23074 * manual/examples/atexit.c: Likewise.
23075 * manual/examples/db.c: Likewise.
23076 * manual/examples/dir.c: Likewise.
23077 * manual/examples/dir2.c: Likewise.
23078 * manual/examples/execinfo.c: Likewise.
23079 * manual/examples/filecli.c: Likewise.
23080 * manual/examples/filesrv.c: Likewise.
23081 * manual/examples/fmtmsgexpl.c: Likewise.
23082 * manual/examples/genpass.c: Likewise.
23083 * manual/examples/inetcli.c: Likewise.
23084 * manual/examples/inetsrv.c: Likewise.
23085 * manual/examples/isockad.c: Likewise.
23086 * manual/examples/longopt.c: Likewise.
23087 * manual/examples/memopen.c: Likewise.
23088 * manual/examples/memstrm.c: Likewise.
23089 * manual/examples/mkfsock.c: Likewise.
23090 * manual/examples/mkisock.c: Likewise.
23091 * manual/examples/mygetpass.c: Likewise.
23092 * manual/examples/pipe.c: Likewise.
23093 * manual/examples/popen.c: Likewise.
23094 * manual/examples/rprintf.c: Likewise.
23095 * manual/examples/search.c: Likewise.
23096 * manual/examples/select.c: Likewise.
23097 * manual/examples/setjmp.c: Likewise.
23098 * manual/examples/sigh1.c: Likewise.
23099 * manual/examples/sigusr.c: Likewise.
23100 * manual/examples/stpcpy.c: Likewise.
23101 * manual/examples/strdupa.c: Likewise.
23102 * manual/examples/strftim.c: Likewise.
23103 * manual/examples/strncat.c: Likewise.
23104 * manual/examples/subopt.c: Likewise.
23105 * manual/examples/swapcontext.c: Likewise.
23106 * manual/examples/termios.c: Likewise.
23107 * manual/examples/testopt.c: Likewise.
23108 * manual/examples/testpass.c: Likewise.
23109 * manual/examples/timeval_subtract.c: Likewise.
23110
01ae168d
RM
23111 [BZ #13792]
23112 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23113 function to ...
23114 * manual/timeval_subtract.c.texi: ... here, new file.
23115
49efa33d
DM
231162012-03-02 David S. Miller <davem@davemloft.net>
23117
23118 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23119
28afd92d
JM
231202012-03-02 Joseph Myers <joseph@codesourcery.com>
23121
804360ed
JM
23122 [BZ #3976]
23123 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23124 (__sin): Save and restore rounding mode and use round-to-nearest
23125 for all computations.
23126 (__cos): Save and restore rounding mode and use round-to-nearest
23127 for all computations.
23128 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23129 <fenv.h>.
23130 (tan): Save and restore rounding mode and use round-to-nearest for
23131 all computations.
23132 * math/libm-test.inc (cos_test_tonearest): New function.
23133 (cos_test_towardzero): Likewise.
23134 (cos_test_downward): Likewise.
23135 (cos_test_upward): Likewise.
23136 (sin_test_tonearest): Likewise.
23137 (sin_test_towardzero): Likewise.
23138 (sin_test_downward): Likewise.
23139 (sin_test_upward): Likewise.
23140 (tan_test_tonearest): Likewise.
23141 (tan_test_towardzero): Likewise.
23142 (tan_test_downward): Likewise.
23143 (tan_test_upward): Likewise.
23144 (main): Call the new functions.
23145 * sysdeps/i386/fpu/libm-test-ulps: Update.
23146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23147
a6d06d7b
JM
23148 [BZ #10135]
23149 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23150 small n, then large n, before computing and testing k+n.
23151 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23153 Likewise.
23154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23155 Likewise.
23156 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23157 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23159 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23163 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23164 * math/libm-test.inc (scalbn_test): Add more tests.
23165 (scalbln_test): Likewise.
23166
07e12bb3
JM
23167 * manual/filesys.texi (mode_t): Describe constraints on size and
23168 signedness, not exact equivalence to a particular type.
23169 (ino_t): Likewise.
23170 (ino64_t): Likewise.
23171 (dev_t): Likewise.
23172 (nlink_t): Likewise.
23173 (blkcnt_t): Likewise.
23174 (blkcnt64_t): Likewise.
23175 * manual/llio.texi (off_t): Likewise.
23176
28afd92d
JM
23177 [BZ #3976]
23178 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23179 (__ieee754_exp): Save and restore rounding mode and use
23180 round-to-nearest for all computations.
23181 * math/libm-test.inc (exp_test_tonearest): New function.
23182 (exp_test_towardzero): Likewise.
23183 (exp_test_downward): Likewise.
23184 (exp_test_upward): Likewise.
23185 (main): Call the new functions.
23186 * sysdeps/i386/fpu/libm-test-ulps: Update.
23187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23188
b1eeb65d
CD
231892012-03-01 Chris Demetriou <cgd@google.com>
23190
23191 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23192 have predictable order.
23193
53362a4b
DM
231942012-03-01 David S. Miller <davem@davemloft.net>
23195
3c969083
DM
23196 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23197
759707de
DM
23198 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23199 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23200 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23201 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23202
dfdb8ff2
DM
23203 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23204 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23205 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23207 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23208 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23209 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23210 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23211 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23212
ead89f96
DM
23213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23214
7f66bd07
DM
23215 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23216 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23217 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23218
53362a4b
DM
23219 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23220 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23221 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23222 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23223 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23226 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23227 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23228 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23229 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23230 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23233 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23235 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23236 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23237 * sysdeps/sparc/elf/configure: Regenerated.
23238
7b1902cb
JM
232392012-03-01 Joseph Myers <joseph@codesourcery.com>
23240
bec039bc
JM
23241 * configure.in (AS, LD): Require binutils 2.20 or later.
23242 * configure: Regenerated.
23243 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23244 as required minimum version.
23245 * INSTALL: Regenerated.
23246
7b1902cb
JM
23247 [BZ #2541]
23248 [BZ #4108]
23249 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23250 before squaring exponent.
23251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23252 bottom long double and 27 bits of top long double before squaring
23253 exponent.
23254 * math/libm-test.inc (erfc_test): Add more tests.
23255 * sysdeps/i386/fpu/libm-test-ulps: Update.
23256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23258
f775c276
KT
232592012-03-01 Kai Tietz <ktietz@redhat.com>
23260
23261 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23262 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23263 containing bit-fields.
23264 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23265 * soft-fp/single.h (_FP_UNION_S): Likewise.
23266 * soft-fp/double.h (_FP_UNION_D): Likewise.
23267
5b8a4d4a
JM
232682012-02-29 Joseph Myers <joseph@codesourcery.com>
23269
0bab47b6
JM
23270 [BZ #13786]
23271 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23272 not include ../strcmp.S.
23273 [USE_AS_STRNCASECMP_L]: Likewise.
23274 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23275 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23276 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23277 (__strncasecmp_l_ia32): Define as alias to
23278 __strncasecmp_l_nonascii.
23279
0fcad3e2
JM
23280 [BZ #5794]
23281 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23282 * sysdeps/i386/fpu/libm-test-ulps: Update.
23283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23284
5b8a4d4a
JM
23285 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287
8fdceb2e
JL
232882012-02-29 Jeff Law <law@redhat.com>
23289
23290 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23291 out of bounds read.
23292
1f393a11
MP
232932012-02-29 Marek Polacek <polacek@redhat.com>
23294
23295 [BZ #13706]
23296 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23297 * elf/Makefile: Add rules to run tst-unused-dep.out.
23298
8847f037
DM
232992012-02-28 David S. Miller <davem@davemloft.net>
23300
23301 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23302 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23305 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23306 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23307
169d7f11
JM
233082012-02-29 Joseph Myers <joseph@codesourcery.com>
23309
23310 * math/libm-test.inc (llround_test): Move one test from
23311 lround_test. Use TEST_f_L in moved test.
23312 (lround_test): Move misplaced test to llround_test. Add testcase
23313 from bug 2561.
23314
39adf059
UD
233152012-02-28 Ulrich Drepper <drepper@gmail.com>
23316
23317 * sysdeps/x86_64/fpu/e_expf.S: New file.
23318 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23319
71b5d1c5
SB
233202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23321
23322 [BZ #13637]
23323 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23324 of remain_len that may cause incomplete multi-byte character and
23325 false match.
23326 * posix/bug-regex33.c: New file.
23327 * posix/Makefile (tests): Add bug-regex33.
23328
1f77f049
JM
233292012-02-28 Joseph Myers <joseph@codesourcery.com>
23330
23331 * manual/macros.texi: New file.
23332 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23333 * manual/libc.texinfo: Include macros.texi.
23334 * manual/creatute.texi: Likewise.
23335 * manual/install.texi: Likewise.
23336 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23337 @glibcadj{} in references to the GNU C Library.
23338 * manual/charset.texi: Likewise.
23339 * manual/conf.texi: Likewise.
23340 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23341 when not using those macros.
23342 * manual/creature.texi: Likewise.
23343 * manual/crypt.texi: Likewise.
23344 * manual/errno.texi: Likewise.
23345 * manual/filesys.texi: Likewise.
23346 * manual/header.texi: Likewise.
23347 * manual/install.texi: Likewise.
23348 * manual/intro.texi: Likewise.
23349 * manual/io.texi: Likewise.
23350 * manual/job.texi: Likewise.
23351 * manual/lang.texi: Likewise.
23352 * manual/libc.texiinfo: Likewise.
23353 * manual/llio.texi: Likewise.
23354 * manual/locale.texi: Likewise.
23355 * manual/maint.texi: Likewise.
23356 * manual/math.texi: Likewise.
23357 * manual/memory.texi: Likewise.
23358 * manual/message.texi: Likewise.
23359 * manual/nss.texi: Likewise.
23360 * manual/pattern.texi: Likewise.
23361 * manual/process.texi: Likewise.
23362 * manual/resource.texi: Likewise.
23363 * manual/search.texi: Likewise.
23364 * manual/setjmp.texi: Likewise.
23365 * manual/signal.texi: Likewise.
23366 * manual/socket.texi: Likewise.
23367 * manual/startup.texi: Likewise.
23368 * manual/stdio.texi: Likewise.
23369 * manual/string.texi: Likewise.
23370 * manual/sysinfo.texi: Likewise.
23371 * manual/syslog.texi: Likewise.
23372 * manual/terminal.texi: Likewise.
23373 * manual/time.texi: Likewise.
23374 * manual/users.texi: Likewise.
23375 * INSTALL: Regenerated.
23376 * NOTES: Regenerated.
d40c5d54 23377 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23378
450bf206
AS
233792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23380
23381 * include/dirent.h: Include <dirstream.h> before
23382 <dirent/dirent.h>.
23383
741a235b
DM
233842012-02-28 David S. Miller <davem@davemloft.net>
23385
23386 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23387 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23388 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23389 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23390
d6b5aa58
DM
233912012-02-27 David S. Miller <davem@davemloft.net>
23392
1aff59a3
DM
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23397
d6b5aa58
DM
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23399 frame pointer instead of stack pointer relative arg slot.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23401 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23402 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23403
433f48bf
CD
234042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23405
23406 [BZ #3992]
23407 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23408
d674b76d
DM
234092012-02-27 David S. Miller <davem@davemloft.net>
23410
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23415 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23416 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23417 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23418 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23419
0e7727f7
JM
234202012-02-27 Joseph Myers <joseph@codesourcery.com>
23421
23422 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23423 later. Allow versions 5-9.
43be4ca2 23424 * configure: Regenerated.
0e7727f7
JM
23425 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23426 required minimum version and 4.6 as recommended version. Do not
23427 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23428 * INSTALL: Regenerated.
0e7727f7 23429
a78bc654
DM
234302012-02-27 David S. Miller <davem@davemloft.net>
23431
428d5830
DM
23432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23436 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23437 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23438 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23439 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23440
a78bc654
DM
23441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23442 manipulate bits before adding and subtracting TWO112[sx].
23443 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23444
4579f81c
RM
234452012-02-27 Roland McGrath <roland@hack.frob.com>
23446
36c8acb4
RM
23447 [BZ #13775]
23448 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23449 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23450 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23451 being in POSIX, because they are in 1003.1-2008.
23452
84ad622b
RM
23453 * rt/tst-aio.c: Include <fcntl.h>.
23454 * rt/tst-aio7.c: Likewise.
23455 * rt/tst-aio64.c: Likewise.
23456
4579f81c
RM
23457 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23458
abd923db
JM
234592012-02-27 Joseph Myers <joseph@codesourcery.com>
23460
23461 * manual/install.texi (--with-headers): Describe headers as
23462 interface headers, not private headers.
23463 (Specific advice for GNU/Linux systems): Describe use of headers
23464 from "make headers_install", not private headers from older
23465 kernels.
43be4ca2 23466 * INSTALL: Regenerated.
abd923db
JM
23467 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23468 Change to 2.6.19.
23469 * sysdeps/unix/sysv/linux/configure: Regenerated.
23470
6664049b
JM
23471 * manual/llio.texi (fclean): Remove documentation.
23472
bb8b6697
JM
23473 * manual/Makefile (libc-texi-generated): New variable. Include
23474 version.texi.
23475 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23476 $(libc-texi-generated), not duplicated list of files.
23477 (version.texi, stamp-version): New rules.
23478 (realclean): Remove $(libc-texi-generated), not individual files
23479 from that list. Do not remove dir-add.texinfo.
23480 * manual/libc.texinfo: Comment out uses of edition numbers and
23481 references to printed manual. Remove last-updated dates.
23482 (EDITION): Comment out.
23483 (ISBN): Likewise.
23484 (VERSION, UPDATED): Remove.
23485 (version.texi): Include.
23486
12e5c3b9
AS
234872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23488
23489 * sysdeps/posix/spawni.c: Include <signal.h>.
23490 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23491 * sysdeps/pthread/aio_fsync.c: Likewise.
23492
4efeffc1 234932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23494
ba63ba08
UD
23495 * conform/Makefile (tests): Run only when not cross-compiling and
23496 when fast-check is not defined.
23497
d94a4670
UD
23498 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23499 * conform/data/limits.h-data: Fixes for POSIX2008.
23500 * conform/run-conformtest.sh: Run all tests.
23501 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23502 headers.
23503 * include/bits/dlfcn.h: Likewise.
23504 * include/langinfo.h: Likewise.
23505 * include/monetary.h: Likewise.
23506 * include/sys/poll.h: Likewise.
23507
23508 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23509 for __USE_GNU.
23510 * posix/spawn.h: Define __need_sigset_t.
23511 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23512 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23513 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23514 to get sigevent_t only.
23515 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23516 only for __USE_GNU.
23517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23518 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23519 process_vm_writev only for __USE_GNU.
23520 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23521
23522 * conform/Makefile: For now ignore errors from run-conformtest.
23523 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23524 POSIX to avoid namespace pollution. Don't prepend headers.
23525 * conform/data/aio.h-data: Fixes for POSIX testing.
23526 * conform/data/fcntl.h-data: Likewise.
23527 * conform/data/glob.h-data: Likewise.
23528 * conform/data/grp.h-data: Likewise.
23529 * conform/data/pthread.h-data: Likewise.
23530 * conform/data/pwd.h-data: Likewise.
23531 * conform/data/signal.h-data: Likewise.
23532 * conform/data/spawn.h-data: Likewise.
23533 * conform/data/stdio.h-data: Likewise.
23534 * conform/data/stdlib.h-data: Likewise.
23535 * conform/data/stropts.h-data: Likewise.
23536 * conform/data/sys/mman.h-data: Likewise.
23537 * conform/data/sys/stat.h-data: Likewise.
23538 * conform/data/sys/types.h-data: Likewise.
23539 * conform/data/sys/wait.h-data: Likewise.
23540 * conform/data/time.h-data: Likewise.
23541 * conform/data/unistd.h-data: Likewise.
23542 * conform/data/utime.h-data: Likewise.
23543
23544 * io/sys/stat.h: fchmod was always in POSIX.
23545 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23546 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23547 * rt/aio.h: Define __need_timespec before including <time.h>.
23548 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23549 struct. Add forward declaration of pthread_attr_t and use it in
23550 sigevent.
23551 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23553 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23554 always remove CLK_TCK definition.
23555
c20105c3
AS
235562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23557
23558 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23559
7a270350
UD
235602012-02-25 Ulrich Drepper <drepper@gmail.com>
23561
31341567
UD
23562 * conform/run-conformtest.sh: New file.
23563 * conform/Makefile: Run run-conformtest for tests.
23564 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23565 support.
23566
23567 * conform/data/uchar.h-data: New file.
23568 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23569 * conform/data/arpa/inet.h-data: Likewise.
23570 * conform/data/assert.h-data: Likewise.
23571 * conform/data/complex.h-data: Likewise.
23572 * conform/data/cpio.h-data: Likewise.
23573 * conform/data/ctype.h-data: Likewise.
23574 * conform/data/dirent.h-data: Likewise.
23575 * conform/data/dlfcn.h-data: Likewise.
23576 * conform/data/errno.h-data: Likewise.
23577 * conform/data/fcntl.h-data: Likewise.
23578 * conform/data/float.h-data: Likewise.
23579 * conform/data/fmtmsg.h-data: Likewise.
23580 * conform/data/fnmatch.h-data: Likewise.
23581 * conform/data/ftw.h-data: Likewise.
23582 * conform/data/glob.h-data: Likewise.
23583 * conform/data/grp.h-data: Likewise.
23584 * conform/data/iconv.h-data: Likewise.
23585 * conform/data/inttypes.h-data: Likewise.
23586 * conform/data/langinfo.h-data: Likewise.
23587 * conform/data/libgen.h-data: Likewise.
23588 * conform/data/limits.h-data: Likewise.
23589 * conform/data/locale.h-data: Likewise.
23590 * conform/data/math.h-data: Likewise.
23591 * conform/data/monetary.h-data: Likewise.
23592 * conform/data/mqueue.h-data: Likewise.
23593 * conform/data/ndbm.h-data: Likewise.
23594 * conform/data/net/if.h-data: Likewise.
23595 * conform/data/netdb.h-data: Likewise.
23596 * conform/data/netinet/in.h-data: Likewise.
23597 * conform/data/nl_types.h-data: Likewise.
23598 * conform/data/poll.h-data: Likewise.
23599 * conform/data/pthread.h-data: Likewise.
23600 * conform/data/pwd.h-data: Likewise.
23601 * conform/data/regex.h-data: Likewise.
23602 * conform/data/sched.h-data: Likewise.
23603 * conform/data/search.h-data: Likewise.
23604 * conform/data/semaphore.h-data: Likewise.
23605 * conform/data/setjmp.h-data: Likewise.
23606 * conform/data/signal.h-data: Likewise.
23607 * conform/data/spawn.h-data: Likewise.
23608 * conform/data/stdarg.h-data: Likewise.
23609 * conform/data/stdio.h-data: Likewise.
23610 * conform/data/stdlib.h-data: Likewise.
23611 * conform/data/string.h-data: Likewise.
23612 * conform/data/strings.h-data: Likewise.
23613 * conform/data/stropts.h-data: Likewise.
23614 * conform/data/sys/ipc.h-data: Likewise.
23615 * conform/data/sys/mman.h-data: Likewise.
23616 * conform/data/sys/msg.h-data: Likewise.
23617 * conform/data/sys/resource.h-data: Likewise.
23618 * conform/data/sys/select.h-data: Likewise.
23619 * conform/data/sys/sem.h-data: Likewise.
23620 * conform/data/sys/shm.h-data: Likewise.
23621 * conform/data/sys/socket.h-data: Likewise.
23622 * conform/data/sys/stat.h-data: Likewise.
23623 * conform/data/sys/statvfs.h-data: Likewise.
23624 * conform/data/sys/time.h-data: Likewise.
23625 * conform/data/sys/timeb.h-data: Likewise.
23626 * conform/data/sys/times.h-data: Likewise.
23627 * conform/data/sys/types.h-data: Likewise.
23628 * conform/data/sys/uio.h-data: Likewise.
23629 * conform/data/sys/un.h-data: Likewise.
23630 * conform/data/sys/utsname.h-data: Likewise.
23631 * conform/data/sys/wait.h-data: Likewise.
23632 * conform/data/syslog.h-data: Likewise.
23633 * conform/data/tar.h-data: Likewise.
23634 * conform/data/termios.h-data: Likewise.
23635 * conform/data/utime.h-data: Likewise.
23636 * conform/data/utmpx.h-data: Likewise.
23637 * conform/data/varargs.h-data: Likewise.
23638 * conform/data/wchar.h-data: Likewise.
23639 * conform/data/wctype.h-data: Likewise.
23640 * conform/data/wordexp.h-data: Likewise.
23641
23642 * include/stropts.h: New file.
23643 * include/uchar.h: New file.
23644 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23645 * include/assert.h: Likewise.
23646 * include/ctype.h: Likewise.
23647 * include/dirent.h: Likewise.
23648 * include/dlfcn.h: Likewise.
23649 * include/fcntl.h: Likewise.
23650 * include/fnmatch.h: Likewise.
23651 * include/glob.h: Likewise.
23652 * include/grp.h: Likewise.
23653 * include/libio.h: Likewise.
23654 * include/locale.h: Likewise.
23655 * include/math.h: Likewise.
23656 * include/net/if.h: Likewise.
23657 * include/netdb.h: Likewise.
23658 * include/netinet/in.h: Likewise.
23659 * include/pthread.h: Likewise.
23660 * include/pwd.h: Likewise.
23661 * include/regex.h: Likewise.
23662 * include/sched.h: Likewise.
23663 * include/search.h: Likewise.
23664 * include/setjmp.h: Likewise.
23665 * include/signal.h: Likewise.
23666 * include/stdio.h: Likewise.
23667 * include/stdlib.h: Likewise.
23668 * include/string.h: Likewise.
23669 * include/sys/cdefs.h: Likewise.
23670 * include/sys/mman.h: Likewise.
23671 * include/sys/msg.h: Likewise.
23672 * include/sys/resource.h: Likewise.
23673 * include/sys/select.h: Likewise.
23674 * include/sys/socket.h: Likewise.
23675 * include/sys/stat.h: Likewise.
23676 * include/sys/statvfs.h: Likewise.
23677 * include/sys/time.h: Likewise.
23678 * include/sys/times.h: Likewise.
23679 * include/sys/uio.h: Likewise.
23680 * include/sys/utsname.h: Likewise.
23681 * include/sys/wait.h: Likewise.
23682 * include/termios.h: Likewise.
23683 * include/time.h: Likewise.
23684 * include/ulimit.h: Likewise.
23685 * include/unistd.h: Likewise.
23686 * include/utime.h: Likewise.
23687 * include/wchar.h: Likewise.
23688 * include/wctype.h: Likewise.
23689 * include/wordexp.h: Likewise.
23690
23691 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23692
7a270350
UD
23693 * time/time.h: TIME_UTC must be a macro.
23694 Make timespec_get available for ISO C11 only as well.
23695
7724defc
UD
236962012-02-24 Ulrich Drepper <drepper@gmail.com>
23697
23698 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23699 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23700
6b1d1d46
JM
237012012-02-24 Joseph Myers <joseph@codesourcery.com>
23702
23703 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23704
0f8bbd69
JM
237052012-02-24 Joseph Myers <joseph@codesourcery.com>
23706
23707 * manual/texinfo.tex: Update to version 2012-01-19.16.
23708
66ab80bc
JM
237092012-02-24 Joseph Myers <joseph@codesourcery.com>
23710
23711 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23712
74981cc5
RM
237132012-02-24 Roland McGrath <roland@hack.frob.com>
23714
ee968201
RM
23715 [BZ #13738]
23716 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23717 * manual/fdl-1.3.texi: New file.
23718 * manual/fdl-1.1.texi: File removed.
23719
74981cc5
RM
23720 [BZ #13738]
23721 * manual/libc.texinfo (FDL_VERSION): New @set.
23722 Use it for mention of FDL in cover text.
23723 (Documentation License): Use it in @include file name.
23724
7bb764bc
JM
237252012-02-22 Joseph Myers <joseph@codesourcery.com>
23726 Roland McGrath <roland@hack.frob.com>
23727
23728 [BZ #5461]
23729 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23730 not LONG_LONG_MAX and LONG_LONG_MIN.
23731 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23732 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23733 name.
23734 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23735
6cbeae47
JM
237362012-02-22 Joseph Myers <joseph@codesourcery.com>
23737
23738 [BZ #2547]
23739 [BZ #11365]
23740 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23741 manipulate bits before adding and subtracting TWO23[sx].
23742 * math/libm-test.inc (nearbyint_test): Add more tests.
23743
fe45ce09
JM
237442012-02-22 Joseph Myers <joseph@codesourcery.com>
23745
23746 [BZ #2548]
23747 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23748 bits before adding and subtracting TWO23[sx].
23749 * math/libm-test.inc (rint_test): Add more tests.
23750 (rint_test_tonearest): Likewise.
23751 (rint_test_towardzero): Likewise.
23752 (rint_test_downward): Likewise.
23753 (rint_test_upward: Likewise.
23754
ff3b3d82
JM
237552012-02-22 Joseph Myers <joseph@codesourcery.com>
23756
23757 [BZ #10110]
23758 * include/stdc-predef.h: New file. Extracted from features.h.
23759 * include/features.h: Include stdc-predef.h.
23760 * Makefile (headers): Add stdc-predef.h.
23761 * CONFORMANCE (Compiler limitations): Update.
23762
ef0aab35
JM
237632012-02-22 Joseph Myers <joseph@codesourcery.com>
23764
23765 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23766
58639409
DM
237672012-02-21 David S. Miller <davem@davemloft.net>
23768
23769 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23770 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23771
c0e70b25
DM
237722012-02-20 David S. Miller <davem@davemloft.net>
23773
23774 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23775 using a normal save/restore sequence, rather than allocating a
23776 dummy stack frame just to store a frame pointer and restore.
23777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23778
fb06851d
JM
237792012-02-21 Joseph Myers <joseph@codesourcery.com>
23780
23781 * manual/install.texi: Fix stray word in line-wrapped comment.
23782
7a8b71c3
DM
237832012-02-20 David S. Miller <davem@davemloft.net>
23784
d510c123
DM
23785 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23786 both binutils and gcc support GOTDATA.
23787
0722d7c2
DM
23788 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23789 "rd %pc" in the PIC register setup sequences.
23790
3d2b3019
DM
23791 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23792 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23793 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23794 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23795 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23797 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23800 (SYSCALL_ERROR_HANDLER): Likewise.
23801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23804 (SYSCALL_ERROR_HANDLER): Likewise.
23805
c80098a9
DM
23806 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23807 (HAVE_GCC_GOTDATA): New.
23808 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23809 relocation support in both binutils and gcc.
23810 * sysdeps/sparc/elf/configure: Regenerate.
23811
3a2545a0
DM
23812 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23813 * sysdeps/sparc/sparc32/elf/configure: Delete.
23814 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23815 * sysdeps/sparc/sparc64/elf/configure: Delete.
23816 * sysdeps/sparc/elf/configure.in: New file.
23817 * sysdeps/sparc/elf/configure: Generate.
23818
7a8b71c3
DM
23819 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23820 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23821 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23822 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23823 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23824
f1e86fca
JM
238252012-02-21 Joseph Myers <joseph@codesourcery.com>
23826
23827 * manual/install.texi: Do not mention specific glibc version
23828 numbers.
23829 * manual/libc.texinfo (VERSION, UPDATED): Update.
23830 (@copying): Use @copyright{} and range of years.
23831
0e7dfaef
JM
238322012-02-21 Joseph Myers <joseph@codesourcery.com>
23833
23834 [BZ #13695]
23835 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23836 [crti.S not in sysdirs] (generated): Do not append.
23837 [crti.S not in sysdirs] (omit-deps): Likewise.
23838 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23839 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23840 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23841 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23842 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23843 Likewise.
23844 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23845 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23846 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23847 * csu/defs.awk: Remove file.
23848 * sysdeps/generic/initfini.c: Likewise.
23849 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23850 variable.
23851 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23852 Likewise.
23853
599af3ca
JM
238542012-02-20 Joseph Myers <joseph@codesourcery.com>
23855
23856 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23857 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23858 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23859 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23860 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23861 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23862 <bits/epoll.h>.
23863 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23864 (__EPOLL_PACKED): Define to empty if not defined by
23865 <bits/epoll.h>.
23866 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23868 bits/epoll.h.
23869
0e499750
JM
238702012-02-20 Joseph Myers <joseph@codesourcery.com>
23871
23872 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23873 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23874 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23875 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23876 <bits/timerfd.h>.
23877 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23879 bits/timerfd.h.
23880
5ad91f6e
JM
238812012-02-20 Joseph Myers <joseph@codesourcery.com>
23882
23883 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23884 in C locale.
23885 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23886 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23887 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23889
06b99b02
AJ
238902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23891
23892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23893 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23894
7638c0fd
AS
238952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23896
23897 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23898 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23899 defined.
23900 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23901 Likewise.
23902 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23903 entry for 2.16.
23904
92221550
AJ
239052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23906
23907 * math/w_acos.c: Use non-signaling floating-point comparisons.
23908 * math/w_acosf.c: Likewise.
23909 * math/w_acosh.c: Likewise.
23910 * math/w_acoshf.c: Likewise.
23911 * math/w_acoshl.c: Likewise.
23912 * math/w_acosl.c: Likewise.
23913 * math/w_asin.c: Likewise.
23914 * math/w_asinf.c: Likewise.
23915 * math/w_asinl.c: Likewise.
23916 * math/w_atanh.c: Likewise.
23917 * math/w_atanhf.c: Likewise.
23918 * math/w_atanhl.c: Likewise.
23919 * math/w_exp2.c: Likewise.
23920 * math/w_exp2f.c: Likewise.
23921 * math/w_exp2l.c: Likewise.
23922 * math/w_j0.c: Likewise.
23923 * math/w_j0f.c: Likewise.
23924 * math/w_j0l.c: Likewise.
23925 * math/w_j1.c: Likewise.
23926 * math/w_j1f.c: Likewise.
23927 * math/w_j1l.c: Likewise.
23928 * math/w_jn.c: Likewise.
23929 * math/w_jnf.c: Likewise.
23930 * math/w_log.c: Likewise.
23931 * math/w_log10.c: Likewise.
23932 * math/w_log10f.c: Likewise.
23933 * math/w_log10l.c: Likewise.
23934 * math/w_log2.c: Likewise.
23935 * math/w_log2f.c: Likewise.
23936 * math/w_log2l.c: Likewise.
23937 * math/w_logf.c: Likewise.
23938 * math/w_logl.c: Likewise.
23939 * math/w_sqrt.c: Likewise.
23940 * math/w_sqrtf.c: Likewise.
23941 * math/w_sqrtl.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23944 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23945 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23947
ebaf36eb
JM
239482012-02-19 Joseph Myers <joseph@codesourcery.com>
23949
23950 [BZ #9739]
23951 * manual/string.texi (strnlen): Use correct parameter name in
23952 equivalent expression.
23953
71c254a6
JM
239542012-02-19 Joseph Myers <joseph@codesourcery.com>
23955
23956 [BZ #11174]
23957 * manual/users.texi (seteuid): Consistently use neweuid for
23958 argument name.
23959
16d2c631
JM
239602012-02-19 Joseph Myers <joseph@codesourcery.com>
23961
23962 [BZ #13704]
23963 * manual/nss.texi (Services in the NSS configuration): Correct
23964 list of services in example configuration file.
23965
cd837b09
NB
239662012-02-19 Nick Bowler <nbowler@draconx.ca>
23967
23968 [BZ #11322]
23969 * manual/arith.texi: Remove statements about negative zero
23970 behaving identically to zero.
23971
02c4bbad
JM
239722012-02-18 Joseph Myers <joseph@codesourcery.com>
23973
23974 [BZ #5993]
23975 * manual/install.texi: Do not document upgrading from libc5.
23976
366842e7
JM
239772012-02-18 Joseph Myers <joseph@codesourcery.com>
23978
23979 [BZ #4596]
23980 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23981
dd54084d
DM
239822012-02-18 David S. Miller <davem@davemloft.net>
23983
23984 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23985 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23986 %o7 across the call.
23987 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23988 instead.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23990 SETUP_PIC_REG_LEAF.
23991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23992 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23993 * sysdeps/sparc/crtn.S: Likewise.
23994
2bcc53a3
UD
239952012-02-17 Ulrich Drepper <drepper@gmail.com>
23996
23997 * aout/Makefile: Remove.
23998
09c093b5
RK
239992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24000
24001 [BZ #13058]
24002 * manual/examples/argp-ex1.c (main): Format definition in GNU
24003 style.
24004 * manual/examples/argp-ex2.c (main): Likewise.
24005 * manual/examples/argp-ex3.c (main): Likewise.
24006 * manual/examples/argp-ex4.c (main): Likewise.
24007 * manual/examples/longopt.c (main): Use new-style prototype
24008 definition.
24009 * manual/examples/strncat.c (main): Specify return type and use
24010 (void) for arguments.
24011 * manual/examples/subopt.c (main): Use char **argv argument.
24012
2ee633a2
JM
240132012-02-17 Joseph Myers <joseph@codesourcery.com>
24014
24015 [BZ #5077]
24016 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24017 rounding modes.
24018
0520adde
FB
240192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24020
24021 [BZ #6907]
24022 * manual/string.texi (strchr): Change when strchrnul is
24023 recommended.
24024
3f4081cd
DGM
240252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24026
24027 [BZ #174]
24028 * manual/locale.texi (setlocale): Document LOCPATH.
24029
d1b10e78
JM
240302012-02-17 Joseph Myers <joseph@codesourcery.com>
24031
24032 [BZ #10210]
24033 * manual/process.texi (execle): Move @dots{} before last argument.
24034
79c6869c
PB
240352012-02-17 Paul Bolle <pebolle@tiscali.nl>
24036
24037 [BZ #12047]
24038 * manual/charset.texi (Generic Charset Conversion): Fix typo
24039 (LC_TYPE -> LC_CTYPE).
24040
cc6e48bc
NB
240412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24042
24043 [BZ #5805]
24044 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24045 (scalbnf): Likewise.
24046 (scalbnl): Likewise.
24047 (scalbln): Likewise.
24048 (scalblnf): Likewise.
24049 (scalblnl): Likewise.
24050 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24051 (vwarnx): Likewise.
24052 (verr): Likewise.
24053 (verrx): Likewise.
24054 * manual/filesys.texi (telldir): Use braces around return type.
24055 * manual/llio.texi (mmap): Add space after comma.
24056 (mmap64): Likewise.
24057 * manual/math.texi (jn): Use @var{} on parameter names.
24058 (jnf): Likewise.
24059 (jnl): Likewise.
24060 (yn): Likewise.
24061 (ynf): Likewise.
24062 (ynl): Likewise.
24063 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24064 line.
24065 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24066 "...".
24067 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24068 (sched_get_priority_max): Likewise.
24069 * manual/signal.texi (sigvec): Add space after comma.
24070 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24071 names.
24072 (if_indextoname): Likewise.
24073 (if_freenameindex): Likewise.
24074 (sendto): Use ',' instead of '.' in prototype.
24075 * manual/startup.texi (syscall): Use @dots{} instead of literal
24076 "...".
24077 * manual/stdio.texi (__fpending): Separate initial words of
24078 paragraph from @deftypefun line.
24079 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24080 "...".
24081 (vsyslog): Use @var{} on parameter names.
24082 * manual/terminal.texi (stty): Use @var{} on parameter names.
24083 * manual/users.texi (getutmp): Use @var{} on parameter names.
24084 (getutmpx): Likewise.
24085
5b23062f
JM
240862012-02-17 Joseph Myers <joseph@codesourcery.com>
24087
24088 [BZ #6884]
24089 * manual/stdio.texi (fopen): Fix typos in description of
24090 ",ccs=STRING".
24091
8dee4833
AJ
240922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24093
24094 [BZ #4026]
24095 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24096 get clock_id definition.
24097
9078ce93
TS
240982012-02-17 Thomas Schwinge <thomas@schwinge.name>
24099
24100 [BZ #4822]
24101 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24102 (madvise): Cast every argument to void on its own.
24103
3835c55f
JM
241042012-02-17 Joseph Myers <joseph@codesourcery.com>
24105
24106 [BZ #9902]
24107 * manual/startup.texi (Exit Status): Fix typo.
24108
35c47e37
JM
241092012-02-17 Joseph Myers <joseph@codesourcery.com>
24110
24111 [BZ #10140]
24112 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24113 * manual/examples/argp-ex2.c: Likewise.
24114 * manual/examples/argp-ex3.c: Likewise.
24115
e3b69ca7
RH
241162012-02-16 Richard Henderson <rth@redhat.com>
24117
24118 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24119 * sysdeps/s390/s390-32/initfini.c: Remove.
24120 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24121 * sysdeps/s390/s390-64/initfini.c: Remove.
24122
df83af67
KK
241232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24124
24125 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24126 compiler output for sysdeps/generic/initfini.c.
24127 * sysdeps/sh/elf/initfini.c: Remove file.
24128
f63f3380
DM
241292012-02-16 David S. Miller <davem@davemloft.net>
24130
fb59b3a4
DM
24131 [BZ #11494]
24132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24133
f63f3380
DM
24134 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24135 * sysdeps/sparc/crti.S: New file.
24136 * sysdeps/sparc/crtn.S: New file.
24137 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24138 * sysdeps/sparc/sparc64/Makefile: Likewise.
24139
df6a4a4a
MF
241402012-02-15 Mike Frysinger <vapier@gentoo.org>
24141
6dd8f3dc 24142 [BZ #3335]
df6a4a4a
MF
24143 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24144
1cac7236
RM
241452012-02-15 Roland McGrath <roland@hack.frob.com>
24146
d2c736f8
RM
24147 [BZ #4822]
24148 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24149
1cac7236
RM
24150 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24151 (write, read, close): Likewise.
24152 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24153
8e475601
JM
241542012-02-15 Joseph Myers <joseph@codesourcery.com>
24155
24156 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24157 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24159 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24160 <bits/signalfd.h>.
24161 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24163 bits/signalfd.h.
24164
ed656b40
MP
241652012-02-14 Marek Polacek <polacek@redhat.com>
24166
24167 * sysdeps/x86_64/crti.S: New file.
24168 * sysdeps/x86_64/crtn.S: New file.
24169 * sysdeps/x86_64/elf/initfini.c: Remove file.
24170
2a979d3a
JM
241712012-02-13 Joseph Myers <joseph@codesourcery.com>
24172
24173 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24174 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24175 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24176 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24177 <bits/inotify.h>.
24178 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24180 bits/inotify.h.
24181
2a418ac3
JM
241822012-02-13 Joseph Myers <joseph@codesourcery.com>
24183
24184 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24185 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24186 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24187 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24188 <bits/eventfd.h>.
24189 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24191 bits/eventfd.h.
24192
fb779be7
TS
241932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24194
e19e83c5
RM
24195 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24196 __feraiseexcept instead of feraiseexcept.
7c35ffed 24197
fb779be7
TS
24198 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24199 nanosleep invocations.
24200 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24201 strings, and add error checking for a nanosleep invocations.
24202
59ba27a6
PE
242032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24204
24205 Replace FSF snail mail address with URLs, as per GNU coding standards.
24206 Most of the snail mail addresses were wrong anyway, and omitting
24207 them makes the source code easier to maintain. Almost all of the
24208 changes are to license notices and to locale LC_IDENTIFICATION
24209 addresses, except for this one:
24210 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24211 not its snail mail address.
24212
57b957eb
RH
242132012-02-09 Richard Henderson <rth@twiddle.net>
24214
af850b1c
RH
24215 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24216 of kernel-features.h.
24217
57b957eb
RH
24218 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24219
6b73181a
MP
242202012-02-08 Marek Polacek <polacek@redhat.com>
24221
24222 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24223 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24224 * sysdeps/gnu/_G_config.h: Likewise.
24225 * sysdeps/generic/_G_config.h: Likewise.
24226
26ecc33a
AS
242272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24228
6c6dbc63
AS
24229 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24230 tests.
24231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24232
e216c012
AS
24233 * sysdeps/powerpc/powerpc32/crti.S: New file.
24234 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24235 * sysdeps/powerpc/powerpc64/crti.S: New file.
24236 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24237
26ecc33a
AS
24238 * Makeconfig (have-initfini): Don't set.
24239 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24240 * configure.in (nopic_initfini): Don't substitute.
24241 * config.h.in (HAVE_INITFINI): Don't #undef.
24242 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24243 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24244
3add8e13
JM
242452012-02-08 Joseph Myers <joseph@codesourcery.com>
24246
24247 Support crti.S and crtn.S provided directly by architectures.
24248 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24249 [crti.S in sysdirs] (omit-deps): Likewise.
24250 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24251 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24252 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24253 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24254 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24255 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24256 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24257 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24258 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24259 compiler output for sysdeps/generic/initfini.c.
24260 * sysdeps/i386/elf/Makefile: Remove file.
24261 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24262
a22f12b4
MP
242632012-02-07 Marek Polacek <polacek@redhat.com>
24264
24265 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24266 * sysdeps/gnu/_G_config.h: Likewise.
24267 * sysdeps/mach/hurd/_G_config.h: Likewise.
24268
148cf100
MP
242692012-02-07 Marek Polacek <polacek@redhat.com>
24270
24271 * math/Makefile (tests): Add tst-CMPLX2.
24272 * math/tst-CMPLX2.c: New file.
24273
cfdc0dd7
AS
242742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24275
84ba42c4
AS
24276 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24277
cfdc0dd7
AS
24278 * math/libm-test.inc (jn_test): Add missing L suffix.
24279
622c86f4
MP
242802012-02-06 Marek Polacek <polacek@redhat.com>
24281
24282 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24283 * sysdeps/i386/fpu/e_powf.S: Likewise.
24284 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24285 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24286 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24287 * sysdeps/i386/fpu/e_pow.S: Likewise.
24288 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24289 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24290 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24291 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24292 * sysdeps/i386/fpu/e_log2.S: Likewise.
24293 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24294 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24295 * sysdeps/i386/fpu/e_powl.S: Likewise.
24296 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24297 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24298 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24299 * sysdeps/i386/fpu/e_logl.S: Likewise.
24300 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24301 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24302 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24303 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24304 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24305 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24306 * sysdeps/i386/fpu/e_log.S: Likewise.
24307 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24308 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24309 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24310 * sysdeps/i386/fpu/e_logf.S: Likewise.
24311 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24312 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24313 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24314 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24315 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24316 * sysdeps/i386/fpu/e_log10.S: Likewise.
24317 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24318 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24319 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24320 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24321 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24322 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24323 * sysdeps/i386/asm-syntax.h: Likewise.
24324 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24325 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24326 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24327 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24328 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24329 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24330 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24331 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24332 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24333 * sysdeps/powerpc/sysdep.h: Likewise.
24334 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24335 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24336
d4a54ac6
JM
243372012-02-06 Joseph Myers <joseph@codesourcery.com>
24338
24339 [BZ #411]
24340 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24341
314054ea
JM
243422012-02-06 Joseph Myers <joseph@codesourcery.com>
24343
24344 * sysdeps/i386/sysdep.h: Include <features.h>.
24345 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24346 version.
24347
d8e0ca50
JM
243482012-02-05 Joseph Myers <joseph@codesourcery.com>
24349
24350 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24351 Define.
24352 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24353 LOAD_PIC_REG_STR.
24354
b1da7dd9
JM
243552012-02-03 Joseph Myers <joseph@codesourcery.com>
24356
24357 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24358 (SETUP_PIC_REG): Use GET_PC_THUNK.
24359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24360 macro.
24361
9a1d9254
JM
243622012-02-03 Joseph Myers <joseph@codesourcery.com>
24363
24364 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24365 for non-PIC compilation.
24366 (SETUP_PIC_REG): Add .p2align directive.
24367 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24368 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24372 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24373 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24374 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24375 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24376 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24378 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24382 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24385 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24386 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24387 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24388 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24389 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24390 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24391 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24393 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24394 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24395 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24396 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24397 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24404 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24405 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24406 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24408
65dc3b75
JM
244092012-02-03 Joseph Myers <joseph@codesourcery.com>
24410
24411 * math/tst-CMPLX.c: Include <stdio.h>.
24412
d55bf177
JM
244132012-01-31 Joseph Myers <joseph@codesourcery.com>
24414
24415 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24416 float.
24417 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24418 * sysdeps/sparc/bits/mathdef.h: Likewise.
24419
69db4f8f
MP
244202012-01-31 Marek Polacek <polacek@redhat.com>
24421
24422 * libio/libio.h: Don't define _PARAMS.
24423 * locale/programs/config.h: Don't define PARAMS.
24424 * stdlib/strtol_l.c: Likewise.
24425 (__strtol_l): Remove PARAMS from the prototype.
24426
41b81892
UD
244272012-01-31 Ulrich Drepper <drepper@gmail.com>
24428
3b49edc0
UD
24429 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24430 names. Just use the correct names. Remove unnecessary wrapper
24431 functions.
24432 * malloc/arena.c: Likewise.
24433 * malloc/hooks.c: Likewise.
24434
41b81892
UD
24435 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24436 ARENA_TEST says not to. Simplify test for creation of a new arena.
24437 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24438
27a25b6e
UD
244392012-01-30 Ulrich Drepper <drepper@gmail.com>
24440
24441 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24442 into tail calls.
24443 (update_get_addr): New function.
24444 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24445 GET_ADDR_MODULE parameter.
24446
c8a89e7d
JM
244472012-01-30 Joseph Myers <joseph@codesourcery.com>
24448
24449 * crypt/cert.c: Remove __STDC__ conditionals.
24450 * crypt/crypt-entry.c: Likewise.
24451 * crypt/crypt_util.c: Likewise.
24452 * libio/filedoalloc.c: Likewise.
24453 * libio/fileops.c: Likewise.
24454 * libio/genops.c: Likewise.
24455 * libio/iofclose.c: Likewise.
24456 * libio/iofdopen.c: Likewise.
24457 * libio/iofopen.c: Likewise.
24458 * libio/iofopen64.c: Likewise.
24459 * libio/iogetdelim.c: Likewise.
24460 * libio/iopopen.c: Likewise.
24461 * libio/obprintf.c: Likewise.
24462 * libio/oldfileops.c: Likewise.
24463 * libio/oldiofclose.c: Likewise.
24464 * libio/oldiofdopen.c: Likewise.
24465 * libio/oldiofopen.c: Likewise.
24466 * libio/oldiopopen.c: Likewise.
24467 * libio/wfiledoalloc.c: Likewise.
24468 * libio/wgenops.c: Likewise.
24469 * locale/programs/xmalloc.c: Likewise.
24470 * misc/syslog.c: Likewise.
24471 * stdio-common/xbug.c: Likewise.
24472 * string/memchr.c: Likewise.
24473 * string/memcmp.c: Likewise.
24474 * string/memrchr.c: Likewise.
24475 * string/rawmemchr.c: Likewise.
24476 * sysdeps/posix/getcwd.c: Likewise.
24477 * time/strftime_l.c: Likewise.
24478
3b100462
JM
244792012-01-30 Joseph Myers <joseph@codesourcery.com>
24480
24481 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24482 * config.make.in (config-cflags-sse2avx): Define.
24483 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24484 Fix typo.
24485
607998af
CM
244862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24487
24488 * scripts/config.guess: Update from upstream config git repository.
24489 * scripts/config.sub: Likewise.
24490
3601428f
CM
244912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24492
3ac8b282
CM
24493 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24494 (EM_NUM): Update.
24495 (R_TILEPRO_*, R_TILEGX_*): New macros.
24496
e034841e
CM
24497 * scripts/firstversions.awk: Fix bug in version range handling.
24498
540d7568
CM
24499 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24500
3601428f
CM
24501 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24502
463de862
CM
24503 * include/sys/epoll.h: New file.
24504 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24505 libc_hidden_def.
24506
73139a76
UD
245072012-01-28 Ulrich Drepper <drepper@gmail.com>
24508
96bc5b45
UD
24509 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24510 Avoid unnecessary __WORDSIZE == 64 test.
24511 (fmaxf): Use VEX format if possible.
24512 (fmax): Likewise.
24513 (fminf): Likewise.
24514 (fmin): Likewise.
24515
56f6f6a2
UD
24516 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24517 * math/math_private.h: Remove libc_fegetround* and
24518 libc_fesetround*.
24519 * sysdeps/i386/configure.in: Check for -msse2avx.
24520 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24521 also if SSE2AVX is defined.
24522 Remove libc_fegetround* and libc_fesetround*.
24523 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24524 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24526 of HAS_YMM_USABLE.
24527 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24528 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24529 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24530 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24531 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24532
73139a76
UD
24533 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24534
d73f93a4
AZ
245352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24536
24537 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24538 size is not set.
24539 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24540
6ee65ed6
UD
245412012-01-27 Ulrich Drepper <drepper@gmail.com>
24542
24543 [BZ #13618]
24544 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24545 relocation.
24546 * Makeconfig (libm): Define.
24547 * elf/Makefile: Add rules to build and run tst-relsort1.
24548 * elf/tst-relsort1.c: New file.
24549 * elf/tst-relsort1mod1.c: New file.
24550 * elf/tst-relsort1mod2.c: New file.
24551
8db21882
JM
245522012-01-27 Joseph Myers <joseph@codesourcery.com>
24553
24554 * math/s_ldexp.c: Remove __STDC__ conditionals.
24555 * math/s_ldexpf.c: Likewise.
24556 * math/s_ldexpl.c: Likewise.
24557 * math/s_nextafter.c: Likewise.
24558 * math/s_nexttowardf.c: Likewise.
24559 * math/s_significand.c: Likewise.
24560 * math/s_significandf.c: Likewise.
24561 * math/s_significandl.c: Likewise.
24562 * math/w_jnl.c: Likewise.
24563 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24564 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24565 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24566 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24567 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24582 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24583 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24584 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24585 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24587 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24588 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24589 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24590 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24591 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24592 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24593 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24594 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24595 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24597 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24598 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24599 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24600 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24601 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24602 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24603 * sysdeps/ieee754/k_standard.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24670 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24679 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24683 * sysdeps/ieee754/s_matherr.c: Likewise.
24684 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24685 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24688
965a54a4
JM
246892012-01-26 Joseph Myers <joseph@codesourcery.com>
24690
24691 * crypt/md5.h: Remove __STDC__ conditionals.
24692 * libio/libioP.h: Likewise.
24693 * locale/programs/config.h: Likewise.
24694 * sysdeps/generic/sysdep.h: Likewise.
24695 * sysdeps/i386/asm-syntax.h: Likewise.
24696 * sysdeps/s390/asm-syntax.h: Likewise.
24697 * sysdeps/unix/sysdep.h: Likewise.
24698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24700
7071ad79
JM
247012012-01-26 Joseph Myers <joseph@codesourcery.com>
24702
24703 * libio/libio.h: Remove __STDC__ conditionals.
24704 * malloc/obstack.h: Likewise.
24705 * math/complex.h: Likewise.
24706 * math/math.h: Likewise.
24707 * sysdeps/generic/_G_config.h: Likewise.
24708 * sysdeps/gnu/_G_config.h: Likewise.
24709 * sysdeps/mach/hurd/_G_config.h: Likewise.
24710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24711 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24712 * sysdeps/sparc/bits/mathdef.h: Likewise.
24713
afc5ed09
UD
247142012-01-26 Ulrich Drepper <drepper@gmail.com>
24715
24716 [BZ #13583]
24717 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24718 Clean up HAS_* macros.
afc5ed09 24719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24720 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24721 possible.
24722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24723 HAS_AVX.
24724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24729
bdb6de1d
JM
247302012-01-25 Joseph Myers <joseph@codesourcery.com>
24731
24732 * elf/tst-unique3.cc (gets): Remove declaration.
24733 * elf/tst-unique3lib.cc (gets): Likewise.
24734 * elf/tst-unique3lib2.cc (gets): Likewise.
24735 * elf/tst-unique4.cc (gets): Likewise.
24736
b15549e6
UD
247372012-01-24 Ulrich Drepper <drepper@gmail.com>
24738
24739 * include/stdio.h: Add C++ protection. Add gets declarations and
24740 definitions.
24741 * debug/tst-chk1.c: Don't declare gets here.
24742 * stdio-common/tst-gets.c: Likewise.
24743
a037381f
JM
247442012-01-24 Joseph Myers <joseph@codesourcery.com>
24745
24746 * posix/glob: Remove directory.
24747
f1d4aa75
JM
247482012-01-24 Joseph Myers <joseph@codesourcery.com>
24749
24750 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24751
81c0c964
PT
247522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24753
24754 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24755 of the non-standard EPFNOSUPPORT.
24756
0ea698ae
ST
247572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24758
24759 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24760 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24761 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24762
d220b117
UD
247632012-01-21 Ulrich Drepper <drepper@gmail.com>
24764
24765 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24766
3e1aa84e
UD
247672012-01-20 Ulrich Drepper <drepper@gmail.com>
24768
24769 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24770 transient errors.
24771 * nscd/grpcache.c (cache_addgr): Likewise.
24772 * nscd/hstcache.c (cache_addhst): Likewise.
24773 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24774 * nscd/pwdcache.c (cache_addpw): Likewise.
24775 * nscd/servicescache.c (cache_addserv): Likewise.
24776
400aa020
UD
247772012-01-16 Ulrich Drepper <drepper@gmail.com>
24778
d77e7869
UD
24779 * malloc/malloc.c: Various cleanups.
24780 * malloc/hooks.c: Likewise.
24781
400aa020
UD
24782 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24783 * stdlib/bug-fmtmsg1.c: New file.
24784
24785 * stdlib/fmtmsg.c (init): Add missing unlock.
24786 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24787
e0a309cf
MP
247882012-01-12 Marek Polacek <polacek@redhat.com>
24789
24790 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24791 and _GNU_SOURCE.
24792
929d11c7
WS
247932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24794
24795 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24796 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24797 macro to ensure uniqueness of label name.
24798 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24799 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24800
41d0e869
UD
248012012-01-11 Ulrich Drepper <drepper@gmail.com>
24802
0cc5ed3b
UD
24803 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24804
41d0e869
UD
24805 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24806 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24807 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24809
a47a831a
UD
248102012-01-10 Ulrich Drepper <drepper@gmail.com>
24811
daa891c0
UD
24812 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24813
24814 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24815 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24816 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24817
e58ef0f2
UD
24818 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24819
a47a831a 24820 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24821 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24822 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24824
24825 * math/bits/math-finite.h: Add ldexp support.
24826
a0bfc9c7
MP
248272012-01-10 Marek Polacek <polacek@redhat.com>
24828
24829 * locale/programs/localedef.h (show_archive_content): Add noreturn
24830 attribute.
24831
d6e97a1d
UD
248322012-01-09 Ulrich Drepper <drepper@gmail.com>
24833
24834 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24835
d5835c26
UD
248362012-01-08 Ulrich Drepper <drepper@gmail.com>
24837
e5f484c6
UD
24838 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24839
d5835c26
UD
24840 * io/Makefile (headers): Add bits/poll2.h.
24841
d1f741e9
WS
248422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24843
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24845 typo #include statement.
24846
ec09c1c4
UD
248472012-01-08 Ulrich Drepper <drepper@gmail.com>
24848
24849 * include/sys/cdefs.h: Define __attribute_alloc_size.
24850 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24851 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24852 * elf/pldd.c: Likewise.
24853 * iconv/iconv_charmap.c: Likewise.
24854 * iconv/iconvconfig.c: Likewise.
24855 * iconv/strtab.c: Likewise.
24856 * locale/programs/locale.c: Likewise.
24857 * locale/programs/localedef.h: Likewise.
24858 * locale/programs/simple-hash.c: Likewise.
24859 * nscd/nscd.h: Likewise.
24860 * nss/makedb.c: Likewise.
24861 * sysdeps/generic/ldconfig.h: Likewise.
24862 * locale/programs/localedef.c: Remove xmalloc prototype.
24863 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24864
20b38e03
PP
248652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24866
24867 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24868 appropriate.
24869
a0da5fe1
UD
248702012-01-08 Ulrich Drepper <drepper@gmail.com>
24871
1d5a644a 24872 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24873 * math/tst-CMPLX.c: New file.
1d5a644a 24874
8784a6db
UD
24875 * math/complex.h (CMPLXL): Fix typo.
24876
d9a216c0
UD
24877 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24878 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24879 GLIBC_2.16.
24880 * debug/tst-chk1.c: Add poll and ppoll tests.
24881 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24882 * include/sys/poll.h: Add hidden proto for ppoll.
24883 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24884 * sysdeps/mach/hurd/ppoll.c: Likewise.
24885 * io/ppoll.c: Likewise.
24886 * debug/poll_chk.c: New file.
24887 * debug/ppoll_chk.c: New file.
24888 * include/bits/poll2.h: New file.
24889 * io/bits/poll2.h: New file.
24890
ac097f5c
UD
24891 [BZ #1350]
24892 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24893
2119dcfa
UD
24894 * configure.in: static is always set to yes. Remove.
24895 * config.make.in: Don't set build-static.
24896 * Makeconfig: Remove use of build-static.
24897 * dlfcn/Makefile: Likewise.
24898 * elf/Makefile: Likewise.
24899 * math/Makefile: Likewise.
24900 * misc/Makefile: Likewise.
24901 * nptl/Makefile: Likewise.
24902 * sysdeps/mach/hurd/Makefile: Likewise.
24903
121766a9
UD
24904 * configure.in: PWD_P is not used anymore.
24905 * config.make.in: Remove PWD_P entry.
24906
51a1d39c 24907 * configure.in: Remove last remnants of RANLIB.
8720d066 24908 No need to check for signed size_t anymore.
215f4bdc
UD
24909 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24910 and IA-64.
3857022a 24911 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24912 * aclocal.m4: Likewise.
24913
d3ed7225
UD
24914 * wcsmbs/mbrtoc16.c: Implement using towc function.
24915 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24916 * wcsmbs/wcsmbsload.c: Likewise.
24917 * iconv/gconv_simple.c: Likewise.
24918 * iconv/gconv_int.h: Likewise.
24919 * iconv/gconv_builtin.h: Likewise.
24920 * iconv/iconv_prog.c: Remove CHAR16 handling.
24921
24922 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24923
24924 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24925
a0da5fe1
UD
24926 * configure.in: Remove --with-elf and --enable-bounded options.
24927 Dont set base_machine for ia64. More non-ELF conditions removed.
24928 Remove testing and setting of leading underscore information.
24929 * config.make.in (build-bounded): Set to no.
24930 * config.h.in: Remove NO_UNDERSCORES entry.
24931 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24932 them.
24933 * csu/start.c: Remove !NO_UNDERSCORE code.
24934 * locale/localeinfo.h: Likewise.
24935 * sysdeps/generic/machine-gmon.h: Likewise.
24936 * sysdeps/generic/sysdep.h: Likewise.
24937 * sysdeps/i386/sysdep.h: Likewise.
24938 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24939 * sysdeps/mach/sysdep.h: Likewise.
24940 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24942 * sysdeps/sh/sysdep.h: Likewise.
24943 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24944 * sysdeps/unix/i386/sysdep.S: Likewise.
24945 * sysdeps/unix/sparc/start.c: Likewise.
24946 * sysdeps/unix/sparc/sysdep.S: Likewise.
24947 * sysdeps/unix/sparc/sysdep.h: Likewise.
24948 * sysdeps/unix/start.c: Likewise.
24949 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24950 * sysdeps/x86_64/sysdep.h: Likewise.
24951
df78418a
UD
249522012-01-07 Ulrich Drepper <drepper@gmail.com>
24953
a784e502
UD
24954 [BZ #13553]
24955 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24956 for non-gcc.
24957 * argp/argp-fmtstream.h: Use const instead __const.
24958 * argp/argp.h: Likewise.
24959 * assert/assert.h: Likewise.
24960 * bits/fenv.h: Likewise.
24961 * bits/sched.h: Likewise.
24962 * bits/sigset.h: Likewise.
24963 * bits/sigthread.h: Likewise.
24964 * catgets/nl_types.h: Likewise.
24965 * conform/data/pthread.h-data: Likewise.
24966 * crypt/crypt-private.h: Likewise.
24967 * crypt/crypt.h: Likewise.
24968 * crypt/crypt_util.c: Likewise.
24969 * ctype/ctype.h: Likewise.
24970 * debug/execinfo.h: Likewise.
24971 * debug/mbsnrtowcs_chk.c: Likewise.
24972 * debug/mbsrtowcs_chk.c: Likewise.
24973 * debug/wcsnrtombs_chk.c: Likewise.
24974 * debug/wcsrtombs_chk.c: Likewise.
24975 * debug/wcstombs_chk.c: Likewise.
24976 * dirent/dirent.h: Likewise.
24977 * dlfcn/dlfcn.h: Likewise.
24978 * elf/neededtest4.c: Likewise.
24979 * grp/grp.h: Likewise.
24980 * gshadow/gshadow.h: Likewise.
24981 * iconv/gconv.h: Likewise.
24982 * iconv/gconv_int.h: Likewise.
24983 * iconv/gconv_simple.c: Likewise.
24984 * iconv/iconv.h: Likewise.
24985 * iconv/loop.c: Likewise.
24986 * iconv/skeleton.c: Likewise.
24987 * include/aio.h: Likewise.
24988 * include/aliases.h: Likewise.
24989 * include/argz.h: Likewise.
24990 * include/arpa/inet.h: Likewise.
24991 * include/assert.h: Likewise.
24992 * include/dirent.h: Likewise.
24993 * include/dlfcn.h: Likewise.
24994 * include/execinfo.h: Likewise.
24995 * include/fcntl.h: Likewise.
24996 * include/fenv.h: Likewise.
24997 * include/glob.h: Likewise.
24998 * include/grp.h: Likewise.
24999 * include/libintl.h: Likewise.
25000 * include/mntent.h: Likewise.
25001 * include/netdb.h: Likewise.
25002 * include/pwd.h: Likewise.
25003 * include/rpc/netdb.h: Likewise.
25004 * include/sched.h: Likewise.
25005 * include/search.h: Likewise.
25006 * include/shadow.h: Likewise.
25007 * include/signal.h: Likewise.
25008 * include/stdio.h: Likewise.
25009 * include/stdlib.h: Likewise.
25010 * include/string.h: Likewise.
25011 * include/sys/socket.h: Likewise.
25012 * include/sys/stat.h: Likewise.
25013 * include/sys/statfs.h: Likewise.
25014 * include/sys/statvfs.h: Likewise.
25015 * include/sys/syslog.h: Likewise.
25016 * include/sys/time.h: Likewise.
25017 * include/sys/uio.h: Likewise.
25018 * include/time.h: Likewise.
25019 * include/unistd.h: Likewise.
25020 * include/utmp.h: Likewise.
25021 * include/wchar.h: Likewise.
25022 * include/wctype.h: Likewise.
25023 * inet/aliases.h: Likewise.
25024 * inet/arpa/inet.h: Likewise.
25025 * inet/netinet/ether.h: Likewise.
25026 * inet/netinet/in.h: Likewise.
25027 * intl/libintl.h: Likewise.
25028 * io/bits/fcntl2.h: Likewise.
25029 * io/fcntl.h: Likewise.
25030 * io/ftw.h: Likewise.
25031 * io/sys/poll.h: Likewise.
25032 * io/sys/stat.h: Likewise.
25033 * io/sys/statfs.h: Likewise.
25034 * io/sys/statvfs.h: Likewise.
25035 * io/utime.h: Likewise.
25036 * libio/bits/stdio.h: Likewise.
25037 * libio/bits/stdio2.h: Likewise.
25038 * libio/libio.h: Likewise.
25039 * libio/libioP.h: Likewise.
25040 * libio/stdio.h: Likewise.
25041 * locale/lc-ctype.c: Likewise.
25042 * locale/locale.h: Likewise.
25043 * login/utmp.h: Likewise.
25044 * malloc/arena.c: Likewise.
25045 * malloc/malloc.c: Likewise.
25046 * malloc/malloc.h: Likewise.
25047 * malloc/mcheck.c: Likewise.
25048 * malloc/mtrace.c: Likewise.
25049 * math/bits/mathcalls.h: Likewise.
25050 * math/fenv.h: Likewise.
25051 * math/math_private.h: Likewise.
25052 * misc/bits/error.h: Likewise.
25053 * misc/bits/syslog.h: Likewise.
25054 * misc/err.h: Likewise.
25055 * misc/error.h: Likewise.
25056 * misc/fstab.h: Likewise.
25057 * misc/mntent.h: Likewise.
25058 * misc/regexp.h: Likewise.
25059 * misc/search.h: Likewise.
25060 * misc/sgtty.h: Likewise.
25061 * misc/sys/mman.h: Likewise.
25062 * misc/sys/syslog.h: Likewise.
25063 * misc/sys/uio.h: Likewise.
25064 * misc/sys/xattr.h: Likewise.
25065 * misc/ttyent.h: Likewise.
25066 * nis/rpcsvc/ypclnt.h: Likewise.
25067 * nss/nss.h: Likewise.
25068 * posix/bits/unistd.h: Likewise.
25069 * posix/fnmatch.h: Likewise.
25070 * posix/glob.h: Likewise.
25071 * posix/sched.h: Likewise.
25072 * posix/spawn.h: Likewise.
25073 * posix/sys/wait.h: Likewise.
25074 * posix/unistd.h: Likewise.
25075 * posix/wordexp.h: Likewise.
25076 * pwd/pwd.h: Likewise.
25077 * resolv/netdb.h: Likewise.
25078 * resource/sys/resource.h: Likewise.
25079 * rt/aio.h: Likewise.
25080 * rt/bits/mqueue2.h: Likewise.
25081 * rt/mqueue.h: Likewise.
25082 * shadow/shadow.h: Likewise.
25083 * signal/signal.h: Likewise.
25084 * socket/send.c: Likewise.
25085 * socket/sendto.c: Likewise.
25086 * socket/sys/socket.h: Likewise.
25087 * stdio-common/printf.h: Likewise.
25088 * stdlib/bits/stdlib.h: Likewise.
25089 * stdlib/fmtmsg.h: Likewise.
25090 * stdlib/monetary.h: Likewise.
25091 * stdlib/stdlib.h: Likewise.
25092 * stdlib/ucontext.h: Likewise.
25093 * streams/stropts.h: Likewise.
25094 * string/argz.h: Likewise.
25095 * string/bits/string2.h: Likewise.
25096 * string/string.h: Likewise.
25097 * string/strings.h: Likewise.
25098 * sunrpc/rpc/auth.h: Likewise.
25099 * sunrpc/rpc/auth_des.h: Likewise.
25100 * sunrpc/rpc/clnt.h: Likewise.
25101 * sunrpc/rpc/netdb.h: Likewise.
25102 * sunrpc/rpc/pmap_clnt.h: Likewise.
25103 * sunrpc/rpc/xdr.h: Likewise.
25104 * sysdeps/generic/inttypes.h: Likewise.
25105 * sysdeps/generic/net/if.h: Likewise.
25106 * sysdeps/generic/sys/swap.h: Likewise.
25107 * sysdeps/gnu/net/if.h: Likewise.
25108 * sysdeps/gnu/utmpx.h: Likewise.
25109 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25110 * sysdeps/i386/i486/bits/string.h: Likewise.
25111 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25112 * sysdeps/s390/bits/string.h: Likewise.
25113 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25114 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25115 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25116 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25117 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25118 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25119 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25120 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25121 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25122 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25123 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25124 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25125 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25126 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25127 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25128 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25129 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25132 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25133 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25134 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25135 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25136 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25137 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25138 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25139 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25141 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25142 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25143 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25144 * sysvipc/sys/ipc.h: Likewise.
25145 * sysvipc/sys/msg.h: Likewise.
25146 * sysvipc/sys/sem.h: Likewise.
25147 * sysvipc/sys/shm.h: Likewise.
25148 * termios/termios.h: Likewise.
25149 * time/sys/time.h: Likewise.
25150 * time/time.h: Likewise.
25151 * wcsmbs/bits/wchar2.h: Likewise.
25152 * wcsmbs/uchar.h: Likewise.
25153 * wcsmbs/wchar.h: Likewise.
25154 * wctype/wctype.h: Likewise.
25155
0269750c
UD
25156 [BZ #13551]
25157 * Makeconfig: Remove all but ELF support including AIX support.
25158 * Makerules: Likewise.
25159 * config.h.in: Likewise.
25160 * config.make.in: Likewise.
25161 * configure: Likewise.
25162 * configure.in: Likewise.
25163 * csu/Makefile: Likewise.
25164 * csu/version.c: Likewise.
25165 * debug/Makefile: Likewise.
25166 * dlfcn/Makefile: Likewise.
25167 * elf/Makefile: Likewise.
25168 * extra-lib.mk: Likewise.
25169 * iconv/Makefile: Likewise.
25170 * include/libc-symbols.h: Likewise.
25171 * include/shlib-compat.h: Likewise.
25172 * resolv/Makefile: Likewise.
25173 * resolv/res_libc.c: Likewise.
25174 * rt/Makefile: Likewise.
25175 * sysdeps/i386/asm-syntax.h: Likewise.
25176 * sysdeps/i386/sysdep.h: Likewise.
25177 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25178 * sysdeps/mach/sysdep.h: Likewise.
25179 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25180 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25181 * sysdeps/s390/asm-syntax.h: Likewise.
25182 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25184 * sysdeps/sh/sysdep.h: Likewise.
25185 * sysdeps/unix/sparc/sysdep.h: Likewise.
25186 * sysdeps/wordsize-32/divdi3.c: Likewise.
25187 * sysdeps/x86_64/sysdep.h: Likewise.
25188
00bbd29b
UD
25189 * argp/Versions: Remove _argp_unlock_xxx.
25190
25191 [BZ #13559]
25192 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25193 * abilist/libBrokenLocale.abilist: Likewise.
25194 * abilist/libanl.abilist: Likewise.
25195 * abilist/libc.abilist: Likewise.
25196 * abilist/libcrypt.abilist: Likewise.
25197 * abilist/libdl.abilist: Likewise.
25198 * abilist/libm.abilist: Likewise.
25199 * abilist/libnsl.abilist: Likewise.
25200 * abilist/libpthread.abilist: Likewise.
25201 * abilist/libresolv.abilist: Likewise.
25202 * abilist/librt.abilist: Likewise.
25203 * abilist/libthread_db.abilist: Likewise.
25204 * abilist/libutil.abilist: Likewise.
25205 * abilist/libnss_db.abilist: New file.
25206
25207 * scripts/abilist.awk: Add support for indirect functions.
25208
a2693a0e
UD
25209 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25210
3f05895f
UD
25211 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25212
ecb6fb48
UD
25213 * shlib-versions: Remove entries for ports architectures.
25214
664f8cb9
UD
25215 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25216 files in ports.
25217 * elf/stackguard-macros.h: Remove support for IA-64.
25218 * elf/tst-auditmod1.c: Likewise.
25219 * sysdeps/generic/ldsodefs.h: Likewise.
25220
7ae81d88
UD
25221 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25222 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25223 configure files.
25224
bdeba135
UD
25225 [BZ #13552]
25226 * configure.in: Remove --enable-omitfp support.
25227 * FAQ.in: Adjust.
25228 * config.make.in: Likewise.
25229 * Makeconfig: Likewise.
25230 * manual/install.texi: Likewise.
25231
d75a0a62
UD
25232 In case anyone cares, the IA-64 architecture could move to ports.
25233 * sysdeps/ia64/*: Removed.
25234 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25235 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25236
dcc9756b
UD
25237 [BZ #13555]
25238 * configure.in: Remove entries for unsupported architectures.
25239
d3761ebc 25240 [BZ #13533]
9954432e
UD
25241 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25242 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25243 routines.
25244 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25245 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25246 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25247 fall back to using wcrtomb.
25248 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25249 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25250 renaming.
25251 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25252 * wcsmbs/tst-c16c32-1.c: New file.
25253
25254 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25255 local variable.
25256
c3a87236
UD
25257 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25258
28926a1b
UD
25259 * elf/tst-unique3.cc: Add explicit declaration of gets.
25260 * elf/tst-unique3lib.cc: Likewise.
25261 * elf/tst-unique3lib2.cc: Likewise.
25262 * elf/tst-unique4.cc: Likewise.
25263
df78418a
UD
25264 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25265
8ecd6b2a
JM
252662012-01-06 Joseph Myers <joseph@codesourcery.com>
25267
25268 [BZ #13566]
25269 * assert/assert.h (static_assert): Don't define for C++.
25270 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25271 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25272
9f115170
UD
252732012-01-03 Ulrich Drepper <drepper@gmail.com>
25274
5e0d0300
UD
25275 * iconv/loop.c (single loop): Fix assertion in storing of
25276 remaining bytes.
25277
9f115170
UD
25278 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25279
81fb02b0
UD
252802012-01-01 Ulrich Drepper <drepper@gmail.com>
25281
25282 * posix/getconf.c: Update copyright year.
25283 * nss/getent.c: Likewise.
a316c1f6 25284 * nss/makedb.c: Likewise.
81fb02b0
UD
25285 * iconv/iconvconfig.c: Likewise.
25286 * iconv/iconv_prog.c: Likewise.
25287 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25288 * elf/pldd.c: Likewise.
25289 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25290 * catgets/gencat.c: Likewise.
25291 * csu/version.c: Likewise.
25292 * elf/ldd.bash.in: Likewise.
25293 * elf/sprof.c (print_version): Likewise.
25294 * locale/programs/locale.c: Likewise.
25295 * locale/programs/localedef.c: Likewise.
a316c1f6 25296 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25297 * nscd/nscd.c (print_version): Likewise.
25298 * debug/xtrace.sh: Likewise.
25299 * malloc/memusage.sh: Likewise.
25300 * malloc/mtrace.pl: Likewise.
25301 * debug/catchsegv.sh: Likewise.
25302
2ba92745
JJ
253032011-12-30 Jakub Jelinek <jakub@redhat.com>
25304
25305 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25306 pure attribute.
25307
dadebdae
UD
253082011-12-24 Ulrich Drepper <drepper@gmail.com>
25309
d3761ebc 25310 [BZ #13533]
db6af3eb
UD
25311 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25312 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25313 transformations.
25314 * iconv/gconv_int.h: Likewise.
25315 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25316 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25317 from libc for GLIBC_2.16.
25318 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25319 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25320 * wcsmbs/uchar.h: Really define mbstate_t.
25321 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25322 * wcsmbs/c16rtomb.c: New file.
25323 * wcsmbs/mbrtoc16.c: New file.
25324 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25325 for C/POSIX locale.
25326 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25327 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25328
dadebdae
UD
25329 * wcsmbs/wchar.h: Add missing __restrict.
25330
67371b56
UD
253312011-12-23 Ulrich Drepper <drepper@gmail.com>
25332
74033a25
UD
25333 [BZ #13532]
25334 * time/Makefile (routines): Add timespec_get.
25335 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25336 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25337 timespec for ISO C11.
25338 * time/timespec_get.c: New file.
25339 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25340 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25341
380d7e87
UD
25342 [BZ #13531]
25343 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25344 * stdlib/stdlib.h: Declare aligned_alloc.
25345 * Versions.def: Add GLIBC_2.16 for libc.
25346 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25347
4e9e7a35
UD
25348 [BZ 13527]
25349 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25350 ISO C11.
25351
380d7e87 25352 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25353 code.
25354
03a71829
UD
25355 [BZ #13528]
25356 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25357
839e283e
UD
25358 [BZ #13529]
25359 * assert/assert.h (static_assert): Define.
25360
ce5294e2 25361 * version.h: Update for 2.16 development version.
90fa7312 25362
8d44e150 25363 [BZ #13526]
d7809905
UD
25364 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25365 _ISOC11_SOURCE.
25366
c0da14cd
UD
25367 * version.h (RELEASE): Bump for 2.15 release.
25368 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25369
530a3249
MP
25370 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25371 Patch by Marek Polacek <mpolacek@redhat.com>.
25372
67371b56
UD
25373 * bits/byteswap.h: Protect long long constants with __extension__.
25374 * sysdeps/i386/bits/byteswap.h: Likewise.
25375 * sysdeps/ia64/bits/byteswap.h: Likewise.
25376 * sysdeps/s390/bits/byteswap.h: Likewise.
25377 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25378
15db4de1
LD
253792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25380
25381 [BZ #13540]
bbe315ea
LD
25382 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25383 destination buffer.
15db4de1
LD
25384 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25385
2b2596b1
MP
253862011-12-23 Marek Polacek <polacek@redhat.com>
25387
25388 * elf/dl-addr.c (determine_info): Add inline keyword.
25389 * elf/tst-auditmod4b.c (check_avx): Likewise.
25390 * elf/tst-auditmod6b.c (check_avx): Likewise.
25391 * elf/tst-auditmod6c.c (check_avx): Likewise.
25392 * elf/tst-auditmod7b.c (check_avx): Likewise.
25393
70c6c246
UD
253942011-12-23 Ulrich Drepper <drepper@gmail.com>
25395
25396 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25397 !__SSE_MATH__.
25398
c044cf14
LD
253992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25400
15db4de1 25401 [BZ #13540]
c044cf14
LD
25402 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25403 processing for last bytes.
25404
6b13d9d9
BH
254052011-08-06 Bruno Haible <bruno@clisp.org>
25406
d455f537
BH
25407 [BZ #13061]
25408 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25409 U+0385, not to U+1FEE.
25410
6b13d9d9
BH
25411 [BZ #13062]
25412 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25413 entry for U+00A5 U+0301.
25414
db910efd
UD
254152011-12-22 Ulrich Drepper <drepper@gmail.com>
25416
27deeafc
UD
25417 [BZ #13166]
25418 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25419 buffer for the output is too small.
25420
aed9d171
UD
25421 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25422 optimization.
25423
db910efd
UD
25424 [BZ #13185]
25425 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25426 SSE flags if possible.
25427
2bd779ae
LD
254282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25429
e7f9dac3 25430 [BZ #13540]
2bd779ae
LD
25431 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25432 processing for last bytes.
25433
154bfc16
JM
254342011-12-22 Joseph Myers <joseph@codesourcery.com>
25435
25436 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25437 (syscall-list-default-options, syscall-list-default-condition)
25438 (syscall-list-includes): Define.
25439 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25440 list of ABIs and options and #if conditions for each ABI. Do not
25441 handle common syscalls between ABIs specially.
25442 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25443 Remove.
25444 (syscall-list-variants, syscall-list-32bit-options)
25445 (syscall-list-32bit-condition, syscall-list-64bit-options)
25446 (syscall-list-64bit-condition): Define.
25447 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25448 (syscall-list-variants, syscall-list-32bit-options)
25449 (syscall-list-32bit-condition, syscall-list-64bit-options)
25450 (syscall-list-64bit-condition): Define.
25451 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25452 Remove.
25453 (syscall-list-variants, syscall-list-32bit-options)
25454 (syscall-list-32bit-condition, syscall-list-64bit-options)
25455 (syscall-list-64bit-condition): Define.
25456 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25457 Remove.
25458 (syscall-list-variants, syscall-list-32bit-options)
25459 (syscall-list-32bit-condition, syscall-list-64bit-options)
25460 (syscall-list-64bit-condition): Define.
25461
21eaf3a5
UD
254622011-12-22 Ulrich Drepper <drepper@gmail.com>
25463
16c6f992
UD
25464 * locale/iso-639.def: Add brx entry.
25465
41043168
UD
25466 [BZ #13328]
25467 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25468 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25469
21eaf3a5
UD
25470 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25471 __feraiseexcept_renamed.
25472
e3a851a2
UD
254732011-12-21 Ulrich Drepper <drepper@gmail.com>
25474
4920765e
UD
25475 [BZ #13538]
25476 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25477 EPOLLET with unsigned values.
25478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25480
e3a851a2
UD
25481 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25482 to large cancellation.
25483 * math/s_cacoshf.c: Likewise.
25484 * math/s_cacoshl.c: Likewise.
25485
b27e24b8
RK
254862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25487
25488 [BZ #13305]
aebefeee 25489 [BZ #12786]
b27e24b8
RK
25490 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25491 * math/s_cacoshf.c: Likewise.
25492 * math/s_cacoshl.c: Likewise.
25493
ee190f67
UD
254942011-12-21 Ulrich Drepper <drepper@gmail.com>
25495
25496 [BZ #13439]
25497 * iconv/gconv.h: Define __GCONV_SWAP.
25498 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25499 * iconvdata/utf-16.c: Likewise.
25500 * iconvdata/utf-32.c: Likewise.
25501
707f25df
AS
255022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25503
25504 [BZ #13524]
25505 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25506 numerator after shifting it by one limb.
25507
d2daaa1e
RÁE
255082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25509
25510 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25511 under [__USE_EXTERN_INLINES].
25512
a4647e72
UD
255132011-12-17 Ulrich Drepper <drepper@gmail.com>
25514
25515 [BZ #13446]
25516 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25517
f0b264f1
AZ
255182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25519
25520 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25521 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25522 optimized code.
25523 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25524 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25525 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25526 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25527 for strncasecmp/strncasecmp_l compilation.
25528 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25529 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25530
8ef4f244
MP
255312011-12-08 Marek Polacek <mpolacek@redhat.com>
25532
25533 [BZ #13484]
25534 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25535 of __asm__.
25536
97ac2654
UD
255372011-12-17 Ulrich Drepper <drepper@gmail.com>
25538
25539 [BZ #13506]
25540 * time/tzfile.c (__tzfile_read): Check values from file header.
25541
91d2a845
WS
255422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25543
25544 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25545 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25546 * powerpc/powerpc32/dl-start.S: Likewise.
25547 * powerpc/powerpc32/elf/start.S: Likewise.
25548 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25549 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25550 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25551 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25552 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25553 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25554 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25555 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25556 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25557 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25558 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25559 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25560 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25561 * powerpc/powerpc32/memset.S: Likewise.
25562 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25563 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25564 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25565 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25566 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25567 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25568 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25569 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25570 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25571 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25572 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25573 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25574 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25575
a1267ba1
AZ
255762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25577
25578 * math/libm-test.inc: Added more nearbyint tests.
25579 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25581 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25583
ad8ac1bd
RL
255842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25585
25586 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25587 FD_CLOEXEC.
25588
1d3e4b61
UD
255892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25590
25591 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25592 Add wcscpy-ssse3 wcscpy-c.
25593 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25594 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25595 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25596 * sysdeps/x86_64/wcschr.S: New file.
25597 * sysdeps/x86_64/wcsrchr.S: New file.
25598 * string/test-strcmp.c: Remove checking of wcscmp function for
25599 wrong alignments.
25600 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25601 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25602 wcsrchr-sse2 wcsrchr-c.
25603 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25604 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25605 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25606 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25607 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25608 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25609 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25610 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25611 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25612 * wcsmbc/wcschr.c (WCSCHR): New macro.
25613
5b330a2d
UD
256142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25615
25616 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25617 * wcsmbs/test-wcsrchr.c: New file.
25618 * string/test-strrchr.c: Add wcsrchr support.
25619 (WIDE): New macro.
25620 * wcsmbs/test-wcscpy.c: New file.
25621 * string/test-strcpy.c: Add wcscpy support.
25622 (WIDE): New macro.
26428b7c 25623
f039c043
UD
256242011-12-10 Ulrich Drepper <drepper@gmail.com>
25625
25626 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25627 the inner loop.
25628
850fb039
AS
256292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25630
25631 [BZ #13472]
25632 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25633
4efbd5cb
UD
256342011-12-04 Ulrich Drepper <drepper@gmail.com>
25635
52ff5dd0 25636 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25637 Minor optimizations.
52ff5dd0 25638
4efbd5cb
UD
25639 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25640 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25641 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25642
8a426e12
UD
256432011-12-03 Ulrich Drepper <drepper@gmail.com>
25644
aff2453d
UD
25645 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25646 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25647 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25648 for gcc to avoid warnings.
25649 * inet/Makefile (tests): Add tst-checks.
25650 * inet/tst-checks.c: New file.
25651
25652 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25653 warning.
25654
25655 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25656 __wmemcmp_sse2.
25657
25658 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25659 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25660
8a426e12
UD
25661 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25662
9bea3473
UD
256632011-12-02 Ulrich Drepper <drepper@gmail.com>
25664
3a965496
UD
25665 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25666 problem.
25667
9bea3473
UD
25668 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25669
f101631b
UD
256702011-11-29 Joseph Myers <joseph@codesourcery.com>
25671
25672 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25673 conditional on GCC version.
25674 (__arch_compare_and_exchange_val_8_acq)
25675 (__arch_compare_and_exchange_val_16_acq)
25676 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25677 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25678 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25679
a98275aa
UD
256802011-12-02 Joseph Myers <joseph@codesourcery.com>
25681
25682 * sysdeps/sh/backtrace.c: New file.
25683
d4cc29a2
AS
256842011-12-02 Andreas Schwab <schwab@redhat.com>
25685
25686 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25687 parenthesis.
25688
6257af2d
AS
256892011-12-01 Andreas Schwab <schwab@redhat.com>
25690
25691 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25692 falling back to utime.
25693
b5f44c1a
AS
256942011-11-30 Andreas Schwab <schwab@redhat.com>
25695
25696 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25697 expectations for float.
25698
f3a6cc0a
AS
256992011-11-29 Andreas Schwab <schwab@redhat.com>
25700
25701 * locale/weight.h (findidx): Add parameter len.
25702 * locale/weightwc.h (findidx): Likewise.
25703 * posix/fnmatch_loop.c (FCT): Adjust caller.
25704 * posix/regcomp.c (build_equiv_class): Likewise.
25705 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25706 * posix/regexec.c (check_node_accept_bytes): Likewise.
25707 * string/strcoll_l.c (STRCOLL): Likewise.
25708 * string/strxfrm_l.c (STRXFRM): Likewise.
25709
9d65ea3a
UD
257102011-11-17 Ulrich Drepper <drepper@gmail.com>
25711
25712 * Makefile.in: Remove CVSOPT handling.
25713 * configure.in: Remove use of AC_REVISION.
25714 * iconvdata/Makefile (distribute): No need to filter out CVS.
25715 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25716 handling.
25717
5583a086
AS
257182011-11-16 Andreas Schwab <schwab@redhat.com>
25719
25720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25721 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25722 [USE_AS_STRNCASECMP_L]: Likewise.
25723 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25724 NO_TLS_DIRECT_SEG_REFS.
25725 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25726 Fix argument offsets for non-PIC.
25727 [USE_AS_STRNCASECMP_L]: Likewise.
25728 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25729 NO_TLS_DIRECT_SEG_REFS.
25730
d62a8200
UD
257312011-11-15 Ulrich Drepper <drepper@gmail.com>
25732
9d65ea3a 25733 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25734 O_CLOEXEC.
25735 * locale/loadlocale.c (_nl_load_locale): Likewise.
25736
09f93bd3
AS
257372011-11-15 Andreas Schwab <schwab@redhat.com>
25738
446514f9
AS
25739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25740 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25741 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25742 (SYSCALL_GETTIME): Set errno on error.
25743
09f93bd3
AS
25744 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25745 count references to noai6ai_cached.
25746
312be3f9
UD
257472011-11-15 Ulrich Drepper <drepper@gmail.com>
25748
25749 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25750
25751 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25752 FD_CLOEXEC for /proc/self/maps.
25753
25754 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25755 FD_CLOEXEC for /proc/meminfo.
25756
25757 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25758 gai.conf.
25759
25760 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25761 FD_CLOEXEC for given file.
25762
25763 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25764
25765 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25766 FD_CLOEXEC for /etc/hosts.
25767 (_gethtent): Likewise.
25768
25769 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25770
25771 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25772 cancellation and set FD_CLOEXEC for /etc/netgroup.
25773
25774 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25775 reading /etc/publickey.
25776
25777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25778 allow cancellation when reading /etc/group.
25779
25780 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25781 cancellation.
25782 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25783
25784 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25785 when using data file.
25786
25787 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25788
25789 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25790 (write_nis_obj): Use "c" and "e" in fopen.
25791
25792 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25793
25794 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25795
25796 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25797
25798 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25799
25800 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25801 locale.alias.
25802
25803 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25804
25805 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25806
25807 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25808
25809 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25810 file parsing and set FD_CLOEXEC.
25811
82af0fa8
UD
258122011-11-14 Ulrich Drepper <drepper@gmail.com>
25813
25814 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25815
a5fb313c
AS
258162011-11-14 Andreas Schwab <schwab@redhat.com>
25817
25818 * malloc/arena.c (arena_get2): Don't call reused_arena when
25819 _int_new_arena failed.
25820
6abf3465
UD
258212011-11-14 Ulrich Drepper <drepper@gmail.com>
25822
25823 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25824 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25825 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25826 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25827 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25828 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25829 to compile strcasecmp and strncasecmp.
25830 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25831 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25832
25833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25834
76e3966e
UD
258352011-11-13 Ulrich Drepper <drepper@gmail.com>
25836
25837 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25838 locale-defines.sym to gen-as-const-headers.
25839 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25840 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25841 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25842 to compile strcasecmp and strncasecmp.
25843 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25844 strcasecmp_l and strncasecmp_l.
25845 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25846 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25847 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25848 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25849 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25850 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25851 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25852 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25853 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25854 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25855 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25856
ab26144e
UD
258572011-11-12 Ulrich Drepper <drepper@gmail.com>
25858
7edb22ef
UD
25859 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25860 result of SYSDEP_GETTIME_CPU to retval.
25861 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25862 parameter list to macro. Remove trailing semicolon. Adjust users.
25863
9694fc44
UD
25864 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25865 variable.
25866
8ad89ef8
UD
25867 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25868 mantissa words.
25869 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25870
0c822ef9
UD
25871 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25872 from unused variable.
25873
874e0564
UD
25874 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25875 DWARF definitions.
25876 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25877 for assembling.
25878
3a2edc79
UD
25879 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25880 over namespaces.
25881
f3c2577f
UD
25882 * sunrpc/rpc_prot.c (rejected): Fix case value.
25883
294ce126
UD
25884 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25885 unsigned long long int to avoid warnings in shift.
25886
5e2b63c6
UD
25887 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25888 of use of trans.
25889 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25890 variable tmp.
25891
e7f4b08e
UD
25892 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25893 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25895
ab26144e
UD
25896 * nis/nis_table.c (nis_list): Use variable of correct type for
25897 result of __follow_path call.
25898
8a6d5255
AZ
258992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25900
25901 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25902 of math functions ceil, trunc, floor, round, and sqrt, when
25903 avaliable on the platform.
25904 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25905 name clash.
25906 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25907 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25908 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25909
aaddc98c
MP
259102011-10-30 Marek Polacek <mpolacek@redhat.com>
25911
25912 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25913 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25914
95b7042b
RM
259152011-11-11 Roland McGrath <roland@hack.frob.com>
25916
25917 * include/unistd.h: Fix __readlink return type.
25918 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25919
57769839
UD
259202011-11-11 Ulrich Drepper <drepper@gmail.com>
25921
25922 * stdlib/ucontext.h: Undo last change for makecontext.
25923
edc5984d
AS
259242011-11-11 Andreas Schwab <schwab@redhat.com>
25925
98591e58
AS
25926 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25927
edc5984d
AS
25928 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25929 * setjmp/setjmp.h: Mark functions as non-leaf.
25930 * setjmp/bits/setjmp2.h: Likewise.
25931 * stdlib/ucontext.h: Likewise.
25932
77cdc054
AS
259332011-11-10 Andreas Schwab <schwab@redhat.com>
25934
25935 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25936 (reused_arena): Don't check arena limit.
25937 (arena_get2): Atomically check arena limit.
25938
fe72eebd
UD
259392011-11-08 Ulrich Drepper <drepper@gmail.com>
25940
5f078c32
UD
25941 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25942 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25943
fe72eebd
UD
25944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25945 instructions.
25946
ae1bc2fa
AS
259472011-11-07 Andreas Schwab <schwab@redhat.com>
25948
7583a88d
AS
25949 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25950 handler when locking.
25951
ae1bc2fa
AS
25952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25953 Fix size of allocated buffer.
25954
10fb0bfa
AS
259552011-11-04 Andreas Schwab <schwab@redhat.com>
25956
998832a4
AS
25957 [BZ #10103]
25958 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25959 declarations for long double functions.
25960 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25961
10fb0bfa
AS
25962 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25963
3d7ba52b
AS
259642011-11-03 Andreas Schwab <schwab@redhat.com>
25965
a9ae54a1
AS
25966 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25967 installed.
25968
3d7ba52b
AS
25969 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25970 is disabled.
25971
bc8db248
ST
259722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25973
25974 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25975
45b96dd6
AS
259762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25977
647776f6
AS
25978 * include/alloca.h (stackinfo_alloca_round): Define.
25979 (extend_alloca): Use it.
25980 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25981 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25982 here.
25983
d91a8b93
AS
25984 * scripts/check-local-headers.sh: Ignore libaudit.h.
25985
45b96dd6
AS
25986 * nscd/Makefile (extra-objs): Make recursively expanded.
25987
432d41ce
UD
259882011-11-01 Ulrich Drepper <drepper@gmail.com>
25989
34372fc6
UD
25990 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25991 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25992
fadb59f8
UD
25993 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25994 * posix/tst-rfc3484-2.c: Likewise.
25995 * posix/tst-rfc3484-3.c: Likewise.
25996
78239589
UD
25997 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25998 process_vm_writev.
25999 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26000 process_vm_writev.
26001 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26002 process_vm_writev from libc using GLIBC_2.15 version.
26003
432d41ce
UD
26004 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26005
02f9c6cf
PP
260062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26007
26008 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26009 stack usage.
26010
3a2c0242
UD
260112011-10-31 Ulrich Drepper <drepper@gmail.com>
26012
f4ec4833
UD
26013 [BZ #13367]
26014 * nss/getent.c (initgroups_keys): Show error message in case no group
26015 names are given.
26016
3a2c0242
UD
26017 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26018 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26019 __bump_nl_timestamp.
26020 * nscd/connections (nscd_init): When host database is served open
26021 netlink socket and request notification about configuration changes.
26022 (main_loop_poll): Track netlink file descriptor and bump timestamp
26023 in case data becomes available.
26024 (main_loop_epoll): Likewise.
26025 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26026 (database_pers_head): Add extra_data fileds.
26027 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26028 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26029 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26030 Adjust caller.
26031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26032 in6ai data, call __free_in6ai.
26033 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26034 Add -DHAVE_NETLINK.
26035 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26036 interface information. Reuse previous data if netlink timestamp
26037 is not changed.
26038 (__bump_nl_timestamp): New function.
26039 (__free_in6ai): New function.
26040
636064eb
UD
260412011-10-30 Ulrich Drepper <drepper@gmail.com>
26042
26043 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26044 close_not_cancel_no_status here.
26045 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26046
9beb2334
UD
260472011-10-29 Ulrich Drepper <drepper@gmail.com>
26048
6ef76f3b
UD
26049 [BZ #13276]
26050 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26051 return value.
26052
0ffc4f3e 26053 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26054 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26055 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26056
cb95113e
UD
260572011-07-03 Andreas Jaeger <aj@suse.de>
26058
26059 [BZ #10709]
26060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26061 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26062 * math/libm-test.inc (sin_test): Add test case.
26063
a1b560ff
UD
260642011-10-29 Ulrich Drepper <drepper@gmail.com>
26065
c9aaface
UD
26066 [BZ #13337]
26067 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26068 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26069
d272e7f1
UD
26070 * elf/chroot_canon.c (chroot_canon): Cleanups.
26071
1bc33071
UD
26072 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26073
1760874d
TJ
26074 [BZ #13335]
26075 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26076 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26077
51d91b18
UD
26078 * string/test-strchr.c: Make usable for strchrnul testing.
26079 * string/test-strchrnul.c: New file.
26080 * string/Makefile (strop-tests): Add strchrnul.
26081
a1b560ff 26082 * po/it.po: Update from translation team.
b611fb81 26083 * po/es.po: Likewise.
a1b560ff 26084
a5b81e1f
UD
260852011-10-28 Ulrich Drepper <drepper@gmail.com>
26086
fd52bc6d
UD
26087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26088 the three constants needed as parameters. Drop the others.
26089 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26090 __m128i_strloadu_tolower.
52e4b9eb
UD
26091 Create and initialize variable zero and use it in all the places
26092 where _mm_setzero_si128 was used.
fd52bc6d 26093
a5b81e1f
UD
26094 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26095 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26096 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26097 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26098 anymore.
26099 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26100 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26101 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26102 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26103 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26104 __mpranred, __mptan.
26105 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26106 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26107 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26108 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26111 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26112 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26113 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26114
b4343346
AS
261152011-10-28 Andreas Schwab <schwab@redhat.com>
26116
0c92d8a8
AS
26117 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26118 redefine if SHARED.
26119 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26120
b4343346
AS
26121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26122 wide char related routines to wcsmbs subdir.
26123
3871f58f
AS
261242011-10-27 Andreas Schwab <schwab@redhat.com>
26125
26126 [BZ #13344]
26127 * misc/sys/cdefs.h (__THROWNL): Define.
26128 * posix/unistd.h: Use __THREADNL instead of __THREAD
26129 for memory synchronization functions.
26130
94d44d9f
RM
261312011-10-26 Roland McGrath <roland@hack.frob.com>
26132
21b64b15 26133 [BZ #13349]
94d44d9f
RM
26134 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26135 doesn't exist.
26136 * manual/stdio.texi (Obstack Streams): Node removed.
26137
f6ce9294
AS
261382011-10-26 Andreas Schwab <schwab@redhat.com>
26139
80479147
AS
26140 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26141 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26142 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26143
f6ce9294
AS
26144 * math/math_private.h (math_force_eval): Allow non-addressable
26145 arguments.
26146 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26147
618280a1
UD
261482011-10-25 Ulrich Drepper <drepper@gmail.com>
26149
e0016b11
UD
26150 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26151 file is not needed.
26152
26153 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26154 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26160 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26161 Add AVX variants.
26162 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26163 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26164 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26165 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26166 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26167 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26168 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26169 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26170 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26171 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26172 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26173 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26175 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26176 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26177 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26179 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26181
26182 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26183 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26184
618280a1
UD
26185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26186 place. Use VEX encoding when compiling for AVX.
26187
37822576
AS
261882011-10-25 Andreas Schwab <schwab@redhat.com>
26189
1f1e1947
AS
26190 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26191 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26192
37822576
AS
26193 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26194
31ea014d
UD
261952011-10-25 Ulrich Drepper <drepper@gmail.com>
26196
d7826aa1 26197 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26198 useless if() expression.
d7826aa1
UD
26199 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26208 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26209 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26210 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26211 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26212 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26213 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26214 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26217 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26218
31ea014d
UD
26219 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26220
16437fec
AS
262212011-10-25 Andreas Schwab <schwab@redhat.com>
26222
26223 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26224 condition.
26225 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26226
31d3cc00
UD
262272011-10-25 Ulrich Drepper <drepper@gmail.com>
26228
26229 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26230 .text section. Avoid duplicate constants.
26231 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26241 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26243 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26246 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26248 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26254 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26255 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26256 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26257 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26258 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26259 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26260 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26261 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26271 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26272 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26273 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26274 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26275 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26276
58985aa9
UD
262772011-10-24 Ulrich Drepper <drepper@gmail.com>
26278
202c9deb
UD
26279 * sysdeps/x86_64/dla.h: Move to ...
26280 * sysdeps/x86_64/fpu/dla.h: ...here.
26281 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26282 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26283
af968f62
UD
26284 * config.make.in: Add have-mfma4 entry.
26285 * configure.in: Substitute libc_cv_cc_fma4.
26286 * math/Makefile (dbl-only-routines): Add sincostab.
26287 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26288 Use __sincostab not sincos.
26289 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26290 name is a macro.
26291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26295 using __copysign.
26296 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26297 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26298 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26299 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26300 and __inv.
26301 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26302 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26303 __copysign.
26304 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26305 define aliases when function name is a macro.
26306 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26307 sysdeps/ieee754/dbl-64/sincos.tbl.
26308 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26309 fma4-enabled routines.
26310 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26311 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26312 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26313 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26314 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26315 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26317 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26318 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26319 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26320 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26321 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26322 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26323 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26324 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26325 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26326 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26327 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26328 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26329 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26330 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26331 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26333 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26334 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26335 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26336 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26337 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26338 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26339 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26340
58985aa9
UD
26341 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26342 rename.
26343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26351
a201fbcf
AS
263522011-10-24 Andreas Schwab <schwab@redhat.com>
26353
26354 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26355
fc2ee42a
LD
263562011-10-23 Ulrich Drepper <drepper@gmail.com>
26357
bb3129bd
UD
26358 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26359
0275fff8
UD
26360 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26361 prediction.
26362 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26363
2fa2ae85
UD
26364 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26365 Remove unused variable magic_bits.
26366 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26367
fc2ee42a
LD
26368 * string/strnlen.c: Define and use STRNLEN macro.
26369 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26370 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26371 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26372 * wcsmbs/wcslen.c: Define and use WCSLEN.
26373 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26374 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26375 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26376 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26377 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26378 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26379 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26380
ce7dd29f
LD
263812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26382
26383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26384 strnlen-sse2-no-bsf.
26385 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26386 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26387 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26388 Add strnlen support.
26389 (USE_AS_STRNLEN): New macro.
26390 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26391 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26392 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26393 * sysdeps/x86_64/wcslen.S: New file.
26394
979c70a3
MZ
263952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26396
26397 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26398 XMM-moves are used for copying on small sizes.
26399
2d09f82f
LD
264002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26401
26402 * wcsmbs/Makefile (strop-tests): Add wcschr.
26403 * wcsmbs/test-wcschr.c: New file.
26404 * string/test-strchr.c: Update.
26405 Add wcschr support.
26406 (WIDE): New macro.
26407
619fccca
LD
264082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26409
2d09f82f 26410 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26411 * wcsmbs/test-wcslen.c: New file.
26412 * string/test-strlen.c: Update.
26413 Add wcslen support.
26414 (WIDE): New macro.
26415
09f699ea
UD
264162011-10-23 Ulrich Drepper <drepper@gmail.com>
26417
26418 * po/it.po: Update from translation team.
26419
95584d3b
LD
264202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26421
26422 * sysdeps/x86_64/wcscmp.S: Update.
26423 Fix wrong comparison semantics.
26424 wcscmp shall use signed comparison not unsigned.
26425 Don't use substraction to avoid overflow bug.
26426 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26427 * wcsmbc/wcscmp.c: Likewise.
26428 * string/test-strcmp.c: Likewise.
26429 Add new tests to check cases with negative values.
26430
c8b3296b
UD
264312011-10-23 Ulrich Drepper <drepper@gmail.com>
26432
26433 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26434 * sysdeps/x86_64/dla.h: ...here. New file.
26435 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26444
246ad57a
AS
264452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26446
26447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26448 __ynl_finite aliases.
26449
a1a87169
UD
264502011-10-22 Ulrich Drepper <drepper@gmail.com>
26451
0d355eb7
UD
26452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26453
a1a87169
UD
26454 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26455 define DLA_FMA.
26456 [DLA_FMA] (EMULV): Use DLA_FMA.
26457 [DLA_FMA] (MUL12): Use EMULV.
26458 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26459 that are not needed.
26460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26467
ee2aafe0
AS
264682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26469
26470 * math/s_nan.c: Undef __nan.
26471 * math/s_nanf.c: Undef __nanf.
26472 * math/s_nanl.c: Undef __nanl.
26473 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26474 "math_private.h".
26475
bc62c2fb
UD
264762011-10-22 Ulrich Drepper <drepper@gmail.com>
26477
77425c63
UD
26478 * math/s_catan.c: Add branch predictions.
26479 * math/s_catanf.c: Likewise.
26480 * math/s_catanh.c: Likewise.
26481 * math/s_catanhf.c: Likewise.
26482 * math/s_catanhl.c: Likewise.
26483 * math/s_catanl.c: Likewise.
26484 * math/s_cexp.c: Likewise.
26485 * math/s_cexpf.c: Likewise.
26486 * math/s_cexpl.c: Likewise.
26487 * math/s_clog.c: Likewise.
26488 * math/s_clog10.c: Likewise.
26489 * math/s_clog10f.c: Likewise.
26490 * math/s_clog10l.c: Likewise.
26491 * math/s_clogf.c: Likewise.
26492 * math/s_clogl.c: Likewise.
26493 * math/s_csqrt.c: Likewise.
26494 * math/s_csqrtf.c: Likewise.
26495 * math/s_csqrtl.c: Likewise.
26496 * math/s_ctanf.c: Likewise.
26497 * math/s_ctanh.c: Likewise.
26498 * math/s_ctanhf.c: Likewise.
26499 * math/s_ctanhl.c: Likewise.
26500 * math/s_ctanl.c: Likewise.
26501
bc62c2fb
UD
26502 * math/math_private.h: Define __nan, __nanf, __nanl.
26503 * math/s_cacosh.c: Include <math_private.h>.
26504 * math/s_cacoshl.c: Likewise.
26505 * math/s_casinh.c: Likewise.
26506 * math/s_casinhf.c: Likewise.
26507 * math/s_casinhl.c: Likewise.
26508 * math/s_ccos.c: Rely entire on ccosh.
26509 * math/s_ccosf.c: Rely entire on ccoshf.
26510 * math/s_ccosl.c: Rely entirely on ccoshl.
26511 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26512 Remove tests for FE_INVALID.
26513 * math/s_ccoshf.c: Likewise.
26514 * math/s_ccoshl.c: Likewise.
26515 * math/s_csin.c: Likewise.
26516 * math/s_csinf.c: Likewise.
26517 * math/s_csinh.c Likewise.
26518 * math/s_csinhf.c: Likewise.
26519 * math/s_csinhl.c: Likewise.
26520 * math/s_csinl.c: Likewise.
26521 * math/s_ctan.c: Likewise.
26522 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26523 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26524 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26525
8ec250a4
UD
265262011-10-21 Ulrich Drepper <drepper@gmail.com>
26527
c196fed8
UD
26528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26529 compilation problems.
26530
8ec250a4
UD
26531 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26532 __builtin_expect.
26533
8d4f46c6
UD
265342011-10-20 Ulrich Drepper <drepper@gmail.com>
26535
ed72b654
UD
26536 * sysdeps/i386/configure.in: Test for -mfma4 option.
26537 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26538 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26539 COMMON_CPUID_INDEX_80000001.
26540 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26541 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26542 use it if FMA3 is not supported.
26543 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26544
8d4f46c6
UD
26545 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26546 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26547
d45c60c2
AS
265482011-10-20 Andreas Schwab <schwab@redhat.com>
26549
26550 [BZ #12892]
26551 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26552 it would create a cycle with a link time dependency.
26553
d9a4d2ab
UD
265542011-10-19 Ulrich Drepper <drepper@gmail.com>
26555
855d1560
UD
26556 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26557 instruction.
26558 * string/Makefile (strop-tests): Add rawmemchr.
26559 * string/test-rawmemchr.c: New file.
26560
d9a4d2ab
UD
26561 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26562 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26563 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26564 when compiling str{,n}casecmp and when AVX is available. Hook up
26565 new optimized code in initializers.
26566
8f3b1ffe
AS
265672011-10-19 Andreas Schwab <schwab@redhat.com>
26568
26569 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26570 __feraiseexcept instead of feraiseexcept.
26571
d38f1dba
UD
265722011-10-18 Ulrich Drepper <drepper@gmail.com>
26573
d9a8d0ab
UD
26574 * math/math_private.h: Define defaults for libc_fetestexcept and
26575 libc_feupdateenv.
26576 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26577 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26578 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26579 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26580 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26581 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26582 libc_fetestexcept and libc_feupdateenv.
26583
4855e3dd
UD
26584 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26585 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26586 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26587 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26588 libc_feholdexcept_setround.
26589
581d30e3
UD
26590 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26591 Add s_nearbyint-c and s_nearbyintf-c.
26592 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26593 nearbyintf inlines.
26594 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26595 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26596 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26597 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26598
d38f1dba
UD
26599 * math/math_private.h: Define defaults for libc_fegetround,
26600 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26601 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26602 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26604 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26605 standard functions.
26606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26607 Remove comments and hacks for old compiler versions.
26608 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26609 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26610 libc_feholdexceptl.
26611
caa6c9d8
AS
266122011-10-18 Andreas Schwab <schwab@redhat.com>
26613
26614 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26615 (__feraiseexcept_renamed): Add __NTH.
26616 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26617 namespace violations.
26618
97c066e6
UD
266192011-10-17 Ulrich Drepper <drepper@gmail.com>
26620
99ce7b04
UD
26621 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26622
1004d182
UD
26623 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26624
228a984d
UD
26625 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26626 recently added interfaces.
26627 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26628
c8553a6a
UD
26629 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26630 about macro parameter expansion.
26631
ed22dcf6
UD
26632 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26633 __NO_MATH_INLINES is defined. Cleanups.
26634
26635 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26636 and __floorf is target has SSE4.1.
26637 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26638 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26639 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26640 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26641
b171c137
UD
26642 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26643 name.
26644 (floorf): Likewise.
26645
97c066e6
UD
26646 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26647
629f62ef
AS
266482011-10-17 Andreas Schwab <schwab@redhat.com>
26649
49a43d80
AS
26650 * misc/sys/cdefs.h: Fix last change.
26651
629f62ef
AS
26652 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26653 database lookup.
26654
e453f6cd
UD
266552011-10-16 Ulrich Drepper <drepper@gmail.com>
26656
aa78043a
UD
26657 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26658
ad0f5cad
UD
26659 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26660 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26665 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26666 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26667 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26668 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26669 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26670 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26671 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26672 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26673 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26674 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26675 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26676 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26677 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26678 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26679 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26680 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26681
26682 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26683 ceil, ceilf, floor, floorf.
26684
26685 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26686 Perform IRELATIVE relocations last.
26687
e453f6cd
UD
26688 * elf/do-rel.h: Add another parameter nrelative, replacing the
26689 local variable with the same name. Change name of the function
26690 to end in Rel or Rela (uppercase).
26691 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26692 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26693 elf_dynamic_do_##reloc function.
26694
fd5bdc09
UD
266952011-10-15 Ulrich Drepper <drepper@gmail.com>
26696
79b195b5
UD
26697 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26698 is sufficient, at least on modern CPUs.
26699
d4a28569
UD
26700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26701
b61099b5
UD
26702 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26703 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26704
bcf01e6d
UD
26705 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26706 __expl_finite.
26707 * math/bits/math-finite.h: Add entries for exp.
26708 * math/e_expl.c: Add __*_finite alias.
26709 * sysdeps/i386/fpu/e_exp.S: Likewise.
26710 * sysdeps/i386/fpu/e_expf.S: Likewise.
26711 * sysdeps/i386/fpu/e_expl.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26713 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26717 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26718 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26719
ba1a0d59
UD
26720 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26721 is sufficient, at least on modern CPUs.
26722
fd5bdc09
UD
26723 * ctype/ctype-info.c (__ctype_init): Define.
26724 * include/ctype.h (__ctype_init): Declare.
26725 (__ctype_b_loc): The variable is always initialized.
26726 (__ctype_toupper_loc): Likewise.
26727 (__ctype_tolower_loc): Likewise.
26728 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26729 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26730
7872cfb0
AS
267312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26732
b468825a
AS
26733 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26734
7872cfb0
AS
26735 * configure.in: Also look in $cxxmachine/include for C++ system
26736 headers.
26737
be13f7bf
LD
267382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26739
26740 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26741 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26742 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26743 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26744 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26745 (USE_AS_WMEMCMP): New macro.
26746 Fixing indents.
26747 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26748 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26749 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26750 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26752 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26753 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26754 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26755 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26756 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26757 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26758 (USE_AS_WMEMCMP): New macro.
26759 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26760 * sysdeps/string/test-memcmp.c: Update.
26761 Fix simple_wmemcmp.
26762 Add new tests.
26763 * wcsmbs/wmemcmp.c: Update.
26764 (WMEMCMP): New macro.
26765 Fix overflow bug.
26766
556a2007
AJ
267672011-10-12 Andreas Jaeger <aj@suse.de>
26768
26769 [BZ #13268]
26770 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26771
538faaa7
UD
267722011-10-15 Ulrich Drepper <drepper@gmail.com>
26773
ab6737ff
UD
26774 * libio/iofwide.c (do_length): Avoid warning.
26775
538faaa7
UD
26776 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26777
396a21b1
UD
267782011-10-14 Ulrich Drepper <drepper@gmail.com>
26779
cdf2901f
UD
26780 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26781
38ad40ce
UD
26782 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26783 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26784 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26785 * sysdeps/i386/i686/fpu/e_log.S: New file.
26786 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26787 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26788
396a21b1
UD
26789 * ctype/ctype.h: Add support for inlined isXXX functions when
26790 compiling C++ code.
26791
6b1f68c9
AS
267922011-10-14 Andreas Schwab <schwab@redhat.com>
26793
349290c0
AS
26794 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26795
6b1f68c9
AS
26796 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26797
f2282d42
RM
267982011-10-13 Roland McGrath <roland@hack.frob.com>
26799
26800 [BZ #13291]
26801 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26802
5298ffa8
AS
268032011-10-13 Andreas Schwab <schwab@redhat.com>
26804
714fad23
AS
26805 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26806 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26807 feraiseexcept.
26808
81dcc7fb
AS
26809 * sysdeps/x86_64/memrchr.S: Check for zero size.
26810
5298ffa8
AS
26811 * string/stratcliff.c: Add memrchr tests.
26812
951fbcec
LD
268132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26814
26815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26816 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26817 rawmemchr-sse2 rawmemchr-sse2-bsf.
26818 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26819 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26820 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26821 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26822 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26823 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26824 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26825 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26826 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26827 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26828 * string/memrchr.c (MEMRCHR): New macro.
26829
0ac5ae23
UD
268302011-10-12 Ulrich Drepper <drepper@gmail.com>
26831
26832 Add integration with gcc's -ffinite-math-only and optimize wrapper
26833 functions in libm.
26834 * Versions.def: Define GLIBC_2.15 version for libm.
26835 * math/Makefile (headers): Add bits/math-finite.h.
26836 * math/bits/math-finite.h: New file.
26837 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26838 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26839 * math/e_acoshl.c: Add __*_finite alias.
26840 * math/e_acosl.c: Likewise.
26841 * math/e_asinl.c: Likewise.
26842 * math/e_atan2l.c: Likewise.
26843 * math/e_atanhl.c: Likewise.
26844 * math/e_coshl.c: Likewise.
26845 * math/e_exp10.c: Likewise.
26846 * math/e_exp10f.c: Likewise.
26847 * math/e_exp10l.c: Likewise.
26848 * math/e_exp2l.c: Likewise.
26849 * math/e_fmodl.c: Likewise.
26850 * math/e_gammal_r.c: Likewise.
26851 * math/e_hypotl.c: Likewise.
26852 * math/e_j0l.c: Likewise.
26853 * math/e_j1l.c: Likewise.
26854 * math/e_jnl.c: Likewise.
26855 * math/e_lgammal_r.c: Likewise.
26856 * math/e_log10l.c: Likewise.
26857 * math/e_log2l.c: Likewise.
26858 * math/e_logl.c: Likewise.
26859 * math/e_powl.c: Likewise.
26860 * math/e_sinhl.c: Likewise.
26861 * math/e_sqrtl.c: Likewise.
26862 * math/e_scalb.c: Completely rewritten and optimized.
26863 * math/e_scalbf.c: Likewise.
26864 * math/e_scalbl.c: Likewise.
26865 * math/w_acos.c: Likewise.
26866 * math/w_acosf.c: Likewise.
26867 * math/w_acosl.c: Likewise.
26868 * math/w_acosh.c: Likewise.
26869 * math/w_acoshf.c: Likewise.
26870 * math/w_acoshl.c: Likewise.
26871 * math/w_asin.c: Likewise.
26872 * math/w_asinf.c: Likewise.
26873 * math/w_asinl.c: Likewise.
26874 * math/w_atan2.c: Likewise.
26875 * math/w_atan2f.c: Likewise.
26876 * math/w_atan2l.c: Likewise.
26877 * math/w_atanh.c: Likewise.
26878 * math/w_atanhf.c: Likewise.
26879 * math/w_atanhl.c: Likewise.
26880 * math/w_exp10.c: Likewise.
26881 * math/w_exp10f.c: Likewise.
26882 * math/w_exp10l.c: Likewise.
26883 * math/w_fmod.c: Likewise.
26884 * math/w_fmodf.c: Likewise.
26885 * math/w_fmodl.c: Likewise.
26886 * math/w_j0.c: Likewise.
26887 * math/w_j0f.c: Likewise.
26888 * math/w_j0l.c: Likewise.
26889 * math/w_j1.c: Likewise.
26890 * math/w_j1f.c: Likewise.
26891 * math/w_j1l.c: Likewise.
26892 * math/w_jn.c: Likewise.
26893 * math/w_jnf.c: Likewise.
26894 * math/w_log.c: Likewise.
26895 * math/w_logf.c: Likewise.
26896 * math/w_logl.c: Likewise.
26897 * math/w_log10.c: Likewise.
26898 * math/w_log10f.c: Likewise.
26899 * math/w_log10l.c: Likewise.
26900 * math/w_log2.c: Likewise.
26901 * math/w_log2f.c: Likewise.
26902 * math/w_log2l.c: Likewise.
26903 * math/w_pow.c: Likewise.
26904 * math/w_powf.c: Likewise.
26905 * math/w_powl.c: Likewise.
26906 * math/w_remainder.c: Likewise.
26907 * math/w_remainderf.c: Likewise.
26908 * math/w_remainderl.c: Likewise.
26909 * math/w_scalb.c: Likewise.
26910 * math/w_scalbf.c: Likewise.
26911 * math/w_scalbl.c: Likewise.
26912 * math/w_sqrt.c: Likewise.
26913 * math/w_sqrtf.c: Likewise.
26914 * math/w_sqrtl.c: Likewise.
26915 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26916 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26917 used.
26918 * math/math_private.h: Declare __kernel_standard_f.
26919 * math/w_cosh.c: Remove cruft and optimize a bit.
26920 * math/w_coshf.c: Likewise.
26921 * math/w_coshl.c: Likewise.
26922 * math/w_exp2.c: Likewise.
26923 * math/w_exp2f.c: Likewise.
26924 * math/w_exp2l.c: Likewise.
26925 * math/w_hypot.c: Likewise.
26926 * math/w_hypotf.c: Likewise.
26927 * math/w_hypotl.c: Likewise.
26928 * math/w_lgamma.c: Likewise.
26929 * math/w_lgamma_r.c: Likewise.
26930 * math/w_lgammaf.c: Likewise.
26931 * math/w_lgammaf_r.c: Likewise.
26932 * math/w_lgammal.c: Likewise.
26933 * math/w_lgammal_r.c: Likewise.
26934 * math/w_sinh.c: Likewise.
26935 * math/w_sinhf.c: Likewise.
26936 * math/w_sinhl.c: Likewise.
26937 * math/w_tgamma.c: Likewise.
26938 * math/w_tgammaf.c: Likewise.
26939 * math/w_tgammal.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26942 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26943 Minor optimizations. Pretty printing. Remove cruft.
26944 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26945 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26946 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26947 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26948 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26949 * sysdeps/i386/fpu/e_asin.S: Likewise.
26950 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26951 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26952 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26953 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26954 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26955 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26956 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26957 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26958 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26959 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26960 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26961 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26962 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26963 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26964 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26965 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26966 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26967 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26968 * sysdeps/i386/fpu/e_log.S: Likewise.
26969 * sysdeps/i386/fpu/e_log10.S: Likewise.
26970 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26971 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26972 * sysdeps/i386/fpu/e_log2.S: Likewise.
26973 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26974 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26975 * sysdeps/i386/fpu/e_logf.S: Likewise.
26976 * sysdeps/i386/fpu/e_logl.S: Likewise.
26977 * sysdeps/i386/fpu/e_pow.S: Likewise.
26978 * sysdeps/i386/fpu/e_powf.S: Likewise.
26979 * sysdeps/i386/fpu/e_powl.S: Likewise.
26980 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26981 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26982 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26983 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26984 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26985 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26986 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26987 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26988 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27014 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27015 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27017 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27018 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27019 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27020 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27021 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27022 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27023 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27024 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27025 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27026 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27030 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27069 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27072 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27074 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27075 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27077 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27080 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27081 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27082 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27083 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27084 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27085 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27086 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27087 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27088 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27089 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27090 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27091 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27092 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27093 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27094 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27095 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27096 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27097 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27098 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27099 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27100 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27101 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27102 (__isnanf): Likewise.
27103 (__isinf_ns): Likewise.
27104 (__isinf_nsf): Likewise.
27105 (__finite): Likewise.
27106 (__finitef): Likewise.
27107 (__ieee754_sqrt): Define as macro.
27108 (__ieee754_sqrtf): Define as macro.
27109 (__ieee754_sqrtl): Define as macro.
27110 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27111 inlined copy.
27112 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27113 __FINITE_MATH_ONLY__ consistent.
27114 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27115
12cc2fcd
AS
271162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27117
a843a204
AS
27118 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27119 of rawmemchr.
27120
12cc2fcd
AS
27121 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27122
c853acd5
UD
271232011-10-09 Ulrich Drepper <drepper@gmail.com>
27124
27125 * po/ja.po: Update from translation team.
27126
c658d255
RM
271272011-10-08 Roland McGrath <roland@hack.frob.com>
27128
110946e4
RM
27129 * locale/programs/locarchive.c (prepare_address_space): New function.
27130 (create_archive, enlarge_archive, open_archive): Use it.
27131
50604220
RM
27132 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27133 inside [SHARED], where it is used.
27134
c658d255
RM
27135 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27136
27137 * nss/getent.c (netgroup_keys): Remove unused variable.
27138 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27139
6a621eb7
UD
271402011-10-08 Ulrich Drepper <drepper@gmail.com>
27141
7edb55ce
UD
27142 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27145 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27146 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27147 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27148 * math/Makefile (libm-calls): Add s_isinf_ns.
27149 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27150 * math/multc3.c: Likewise.
27151 * math/s_casin.c: Likewise.
27152 * math/s_casinf.c: Likewise.
27153 * math/s_casinl.c: Likewise.
27154 * math/s_ccos.c: Likewise.
27155 * math/s_ccosf.c: Likewise.
27156 * math/s_ccosl.c: Likewise.
27157 * math/s_ctan.c: Likewise.
27158 * math/s_ctanf.c: Likewise.
27159 * math/s_ctanh.c: Likewise.
27160 * math/s_ctanhf.c: Likewise.
27161 * math/s_ctanhl.c: Likewise.
27162 * math/s_ctanl.c: Likewise.
27163 * math/w_fmod.c: Likewise.
27164 * math/w_fmodf.c: Likewise.
27165 * math/w_fmodl.c: Likewise.
27166 * math/w_remainder.c: Likewise.
27167 * math/w_remainderf.c: Likewise.
27168 * math/w_remainderl.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27170 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27173 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27174 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27175 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27176 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27177
187da0ae
UD
27178 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27179 of the number.
27180 * stdio-common/printf_fphex.c: Likewise.
27181 * stdio-common/printf_size.c: Likewise.
27182
9277c064
UD
27183 * math/e_exp10.c: Include math_private.h using <...> not "...".
27184 * math/e_exp10f.c: Likewise.
27185 * math/e_exp10l.c: Likewise.
27186 * math/e_exp2l.c: Likewise.
27187 * math/e_j0l.c: Likewise.
27188 * math/e_j1l.c: Likewise.
27189 * math/e_jnl.c: Likewise.
27190 * math/e_lgammal_r.c: Likewise.
27191 * math/e_rem_pio2l.c: Likewise.
27192 * math/e_scalb.c: Likewise.
27193 * math/e_scalbf.c: Likewise.
27194 * math/e_scalbl.c: Likewise.
27195 * math/k_cosl.c: Likewise.
27196 * math/k_sinl.c: Likewise.
27197 * math/k_tanl.c: Likewise.
27198 * math/s_cacoshf.c: Likewise.
27199 * math/s_catan.c: Likewise.
27200 * math/s_catanf.c: Likewise.
27201 * math/s_catanh.c: Likewise.
27202 * math/s_catanhf.c: Likewise.
27203 * math/s_catanhl.c: Likewise.
27204 * math/s_catanl.c: Likewise.
27205 * math/s_ccosh.c: Likewise.
27206 * math/s_ccoshf.c: Likewise.
27207 * math/s_ccoshl.c: Likewise.
27208 * math/s_cexp.c: Likewise.
27209 * math/s_cexpf.c: Likewise.
27210 * math/s_cexpl.c: Likewise.
27211 * math/s_clog.c: Likewise.
27212 * math/s_clog10.c: Likewise.
27213 * math/s_clog10f.c: Likewise.
27214 * math/s_clog10l.c: Likewise.
27215 * math/s_clogf.c: Likewise.
27216 * math/s_clogl.c: Likewise.
27217 * math/s_csin.c: Likewise.
27218 * math/s_csinf.c: Likewise.
27219 * math/s_csinh.c: Likewise.
27220 * math/s_csinhf.c: Likewise.
27221 * math/s_csinhl.c: Likewise.
27222 * math/s_csinl.c: Likewise.
27223 * math/s_csqrt.c: Likewise.
27224 * math/s_csqrtf.c: Likewise.
27225 * math/s_csqrtl.c: Likewise.
27226 * math/s_ctan.c: Likewise.
27227 * math/s_ctanf.c: Likewise.
27228 * math/s_ctanh.c: Likewise.
27229 * math/s_ctanhf.c: Likewise.
27230 * math/s_ctanhl.c: Likewise.
27231 * math/s_ctanl.c: Likewise.
27232 * math/s_ldexp.c: Likewise.
27233 * math/s_ldexpf.c: Likewise.
27234 * math/s_ldexpl.c: Likewise.
27235 * math/s_significand.c: Likewise.
27236 * math/s_significandf.c: Likewise.
27237 * math/s_significandl.c: Likewise.
27238 * math/w_acos.c: Likewise.
27239 * math/w_acosf.c: Likewise.
27240 * math/w_acosh.c: Likewise.
27241 * math/w_acoshf.c: Likewise.
27242 * math/w_acoshl.c: Likewise.
27243 * math/w_acosl.c: Likewise.
27244 * math/w_asin.c: Likewise.
27245 * math/w_asinf.c: Likewise.
27246 * math/w_asinl.c: Likewise.
27247 * math/w_atan2.c: Likewise.
27248 * math/w_atan2f.c: Likewise.
27249 * math/w_atan2l.c: Likewise.
27250 * math/w_atanh.c: Likewise.
27251 * math/w_atanhf.c: Likewise.
27252 * math/w_atanhl.c: Likewise.
27253 * math/w_cosh.c: Likewise.
27254 * math/w_coshf.c: Likewise.
27255 * math/w_coshl.c: Likewise.
27256 * math/w_dremf.c: Likewise.
27257 * math/w_exp10.c: Likewise.
27258 * math/w_exp10f.c: Likewise.
27259 * math/w_exp10l.c: Likewise.
27260 * math/w_exp2.c: Likewise.
27261 * math/w_exp2f.c: Likewise.
27262 * math/w_fmod.c: Likewise.
27263 * math/w_fmodf.c: Likewise.
27264 * math/w_fmodl.c: Likewise.
27265 * math/w_hypot.c: Likewise.
27266 * math/w_hypotf.c: Likewise.
27267 * math/w_hypotl.c: Likewise.
27268 * math/w_j0.c: Likewise.
27269 * math/w_j0f.c: Likewise.
27270 * math/w_j0l.c: Likewise.
27271 * math/w_j1.c: Likewise.
27272 * math/w_j1f.c: Likewise.
27273 * math/w_j1l.c: Likewise.
27274 * math/w_jn.c: Likewise.
27275 * math/w_jnf.c: Likewise.
27276 * math/w_jnl.c: Likewise.
27277 * math/w_lgamma.c: Likewise.
27278 * math/w_lgamma_r.c: Likewise.
27279 * math/w_lgammaf.c: Likewise.
27280 * math/w_lgammaf_r.c: Likewise.
27281 * math/w_lgammal.c: Likewise.
27282 * math/w_lgammal_r.c: Likewise.
27283 * math/w_log.c: Likewise.
27284 * math/w_log10.c: Likewise.
27285 * math/w_log10f.c: Likewise.
27286 * math/w_log10l.c: Likewise.
27287 * math/w_log2.c: Likewise.
27288 * math/w_log2f.c: Likewise.
27289 * math/w_log2l.c: Likewise.
27290 * math/w_logf.c: Likewise.
27291 * math/w_logl.c: Likewise.
27292 * math/w_pow.c: Likewise.
27293 * math/w_powf.c: Likewise.
27294 * math/w_powl.c: Likewise.
27295 * math/w_remainder.c: Likewise.
27296 * math/w_remainderf.c: Likewise.
27297 * math/w_remainderl.c: Likewise.
27298 * math/w_scalb.c: Likewise.
27299 * math/w_scalbf.c: Likewise.
27300 * math/w_scalbl.c: Likewise.
27301 * math/w_sinh.c: Likewise.
27302 * math/w_sinhf.c: Likewise.
27303 * math/w_sinhl.c: Likewise.
27304 * math/w_sqrt.c: Likewise.
27305 * math/w_sqrtf.c: Likewise.
27306 * math/w_sqrtl.c: Likewise.
27307 * math/w_tgamma.c: Likewise.
27308 * math/w_tgammaf.c: Likewise.
27309 * math/w_tgammal.c: Likewise.
27310
6a621eb7
UD
27311 * po/ja.po: Update from translation team.
27312
bf582445
AJ
273132011-09-29 Andreas Jaeger <aj@suse.de>
27314
f9efbf3a
AJ
27315 [BZ #13179]
27316 * sunrpc/netname.c (netname2host): Fix logic.
27317
bf582445
AJ
27318 [BZ #6779]
27319 [BZ #6783]
27320 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27321 correctly.
27322 * math/w_remainder.c (__remainder): Likewise.
27323 * math/w_remainderf.c (__remainderf): Likewise.
27324 * math/libm-test.inc (remainder_test): Add test cases.
27325
48693bea
AK
273262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27327
27328 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27329 sdiv_qrnnd.
27330
42622229
LD
273312011-10-07 Ulrich Drepper <drepper@gmail.com>
27332
27333 * string/test-memcmp.c: Avoid unncessary #defines.
27334 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27335
093ecf92
LD
273362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27337
27338 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27339 Use new sse2 version for core i3 - i7 as it's faster
27340 than sse42 version.
27341 (bit_Prefer_PMINUB_for_stringop): New.
27342 * sysdeps/x86_64/rawmemchr.S: Update.
27343 Replace with faster SSE2 version.
27344 * sysdeps/x86_64/memrchr.S: New file.
27345 * sysdeps/x86_64/memchr.S: Update.
27346 Replace with faster SSE2 version.
27347
fde56e5c
MP
273482011-09-12 Marek Polacek <mpolacek@redhat.com>
27349
27350 * elf/dl-load.c (lose): Add cast to avoid warning.
27351
21fd49a9
UD
273522011-10-07 Ulrich Drepper <drepper@gmail.com>
27353
5a06e643
UD
27354 * po/ca.po: Update from translation team.
27355
684ae515
UD
27356 * inet/getnetgrent_r.c: Hook up nscd.
27357 * nscd/Makefile (routines): Add nscd_netgroup.
27358 (nscd-modules): Add netgroupcache.
27359 (CFLAGS-netgroupcache.c): Define.
27360 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27361 (cache_search): Add const to second parameter.
27362 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27363 INNETGR.
27364 (dbs): Add netgrdb entry.
27365 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27366 (verify_persistent_db): Handle netgrdb.
27367 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27368 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27369 GETFDNETGR.
27370 (netgroup_response_header): Define.
27371 (innetgroup_response_header): Define.
27372 (datahead): Add netgroup_response_header and innetgroup_response_header
27373 elements.
27374 * nscd/nscd.conf: Add entries for netgroup cache.
27375 * nscd/nscd.h (dbtype): Add netgrdb.
27376 (_PATH_NSCD_NETGROUP_DB): Define.
27377 (netgroup_iov_disabled): Declare.
27378 (xmalloc, xcalloc, xrealloc): Move declarations here.
27379 (cache_search): Adjust prototype.
27380 Add netgroup-related prototypes.
27381 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27382 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27383 (__nscd_innetgr): Declare.
27384 * nscd/selinux.c (perms): Use access_vector_t as element type and
27385 add netgroup-related initializers.
27386 * nscd/netgroupcache.c: New file.
27387 * nscd/nscd_netgroup.c: New file.
27388 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27389 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27390 For four parameters use innetgr.
27391 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27392 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27393 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27394 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27395
21fd49a9
UD
27396 * nscd/connections.c (register_traced_file): Don't register file
27397 for disabled databases.
27398
054c0457
UD
273992011-10-06 Ulrich Drepper <drepper@gmail.com>
27400
32b63198
UD
27401 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27402
054c0457
UD
27403 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27404 from tree and freeing node.
27405
64031225
JO
274062011-09-25 Jiri Olsa <jolsa@redhat.com>
27407
27408 * nss/nsswitch.c (__nss_database_lookup): Handle
27409 nss_parse_service_list out of memory case.
27410
0490345c
JO
274112011-09-15 Jiri Olsa <jolsa@redhat.com>
27412
27413 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27414 out of memory case.
27415
3a62d00d
AS
274162011-10-04 Andreas Schwab <schwab@redhat.com>
27417
27418 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27419 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27420 pass it down.
27421 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27422 elf_machine_rela, elf_machine_lazy_rel.
27423 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27424 (ELF_DYNAMIC_DO_REL): Likewise.
27425 (ELF_DYNAMIC_DO_RELA): Likewise.
27426 (ELF_DYNAMIC_RELOCATE): Likewise.
27427 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27428 to ELF_DYNAMIC_DO_REL.
27429 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27430 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27431 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27432 elf_machine_rela.
27433 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27434 skip_ifunc, don't call ifunc function if non-zero.
27435 (elf_machine_rela): Likewise.
27436 (elf_machine_lazy_rel): Likewise.
27437 (elf_machine_lazy_rela): Likewise.
27438 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27439 (elf_machine_lazy_rel): Likewise.
27440 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27441 Likewise.
27442 (elf_machine_lazy_rel): Likewise.
27443 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27444 Likewise.
27445 (elf_machine_lazy_rel): Likewise.
27446 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27447 (elf_machine_lazy_rel): Likewise.
27448 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27449 (elf_machine_lazy_rel): Likewise.
27450 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27451 (elf_machine_lazy_rel): Likewise.
27452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27453 (elf_machine_lazy_rel): Likewise.
27454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27455 (elf_machine_lazy_rel): Likewise.
27456 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27457 (elf_machine_lazy_rel): Likewise.
27458
68577918
UD
274592011-09-28 Ulrich Drepper <drepper@gmail.com>
27460
27461 * nss/nss_files/files-init.c (_nss_files_init): Use static
27462 initialization for all the *_traced_file variables.
27463
68822d74
AS
274642011-09-28 Andreas Schwab <schwab@redhat.com>
27465
27466 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27467
2056100b
RM
274682011-09-27 Roland McGrath <roland@hack.frob.com>
27469
27470 [BZ #13226]
27471 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27472
32c76b63
AS
274732011-09-27 Andreas Schwab <schwab@redhat.com>
27474
27475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27476 Reread the line before reparsing it.
27477
bf972c9d
AS
274782011-09-26 Andreas Schwab <schwab@redhat.com>
27479
27480 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27481
e057a1b5
JM
274822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27483 Maxim Kuvyrkov <maxim@codesourcery.com>
27484 Joseph Myers <joseph@codesourcery.com>
27485
27486 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27487 if needed for __stack_chk_guard.
27488
bc7e1c36
RM
274892011-09-19 Roland McGrath <roland@hack.frob.com>
27490
ecb1482f
RM
27491 * sysdeps/posix/spawni.c (script_execute): Always define it.
27492 It will be optimized away if unused.
27493 (maybe_script_execute): New function.
27494 (__spawni): Call it.
27495
bc7e1c36
RM
27496 * Makerules: Don't include tls.make.
27497 (config-tls): Always set to thread.
27498 * tls.make.c: File removed.
27499
1c3b002b
MF
275002011-09-19 Mike Frysinger <vapier@gentoo.org>
27501
27502 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27503 * config.make.in (CPPFLAGS-config): New substituted variable.
27504
2840865d
UD
275052011-09-15 Ulrich Drepper <drepper@gmail.com>
27506
88738eb6
UD
27507 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27508
cbf645a6 27509 [BZ #13192]
2840865d
UD
27510 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27511 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27512
b402e91a
RM
275132011-09-15 Roland McGrath <roland@hack.frob.com>
27514
27515 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27516 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27518 (CALL_FAIL): Likewise.
27519 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27520 (CALL_FAIL): Macro removed.
27521 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27522
4c1a1f71
UD
275232011-09-15 Ulrich Drepper <drepper@gmail.com>
27524
27525 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27526 for __FINITE_MATH_ONLY__ == 1.
27527
edc121be
AS
275282011-09-15 Andreas Schwab <schwab@redhat.com>
27529
27530 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27531 __ieee754_sqrt instead of sqrt.
27532 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27533 __ieee754_sqrtf instead of sqrtf.
27534 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27535 __floorf instead of floorf.
27536 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27537 __floorf, __truncf instead of floorf, truncf.
27538
cd205654
UD
275392011-09-14 Ulrich Drepper <drepper@gmail.com>
27540
ee4d0315
UD
27541 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27542
cd205654
UD
27543 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27544 __extern_always_inline.
27545 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27546 32-bit.
27547
48b67d71
AS
275482011-09-14 Andreas Schwab <schwab@redhat.com>
27549
27550 * elf/rtld.c (dl_main): Also relocate in dependency order when
27551 doing symbol dependency testing.
27552
1ae12c75
AS
275532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27554
27555 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27556 Always define `refsym'.
27557
995a80df
AS
275582011-09-13 Andreas Schwab <schwab@redhat.com>
27559
e529793b
AS
27560 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27561 (__FD_ELT): Renamed from __FDELT.
27562 * misc/bits/select2.h (__FD_ELT): Likewise.
27563 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27564 __FD_MASK instead of __FDELT, __FDMASK.
27565 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27566 Likewise.
27567 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27568 Likewise.
27569
52d4fef8
AS
27570 * elf/Makefile (gen-ldd): Fix pattern.
27571
995a80df
AS
27572 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27573 (init_tls): Likewise.
27574
8682f8b0
UD
275752011-09-12 Ulrich Drepper <drepper@gmail.com>
27576
27577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27578
de82006d
AS
275792011-09-12 Andreas Schwab <schwab@redhat.com>
27580
a7c8e6a1
AS
27581 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27582 `struct cmsghdr *' instead of `void *'.
27583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27584 Likewise.
27585
0f31fe77
AS
275862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27587
27588 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27589 if non-absolute.
27590 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27591 ldd_rewrite_script.
0f31fe77 27592
32b4c839
UD
275932011-09-11 Ulrich Drepper <drepper@gmail.com>
27594
83cd1420
UD
27595 * configure.in: Remove --with-tls option.
27596 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27597 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27598 out in case it is missing.
27599 * sysdeps/ia64/elf/configure.in: Likewise.
27600 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27601 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27602 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27603 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27604 * sysdeps/sh/elf/configure.in: Likewise.
27605 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27606 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27607 * sysdeps/x86_64/elf/configure.in: Likewise.
27608 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27609 * sysdeps/mach/hurd/tls.h: Likewise.
27610
633f745d
UD
27611 [BZ #13067]
27612 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27613
f318beb8
UD
27614 [BZ #13090]
27615 * configure.in: Fix use of AC_INIT.
27616
32b4c839
UD
27617 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27618
3ce1f295
UD
276192011-09-10 Ulrich Drepper <drepper@gmail.com>
27620
bb016596
UD
27621 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27622 __set_errno.
8e58439c
UD
27623 * malloc/hooks.c: Likewise.
27624
aebae053 27625 [BZ #11929]
02d46fc4
UD
27626 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27627 variables statically.
27628 (narenas): Initialize.
27629 (list_lock): Initialize.
bb016596
UD
27630 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27631 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27632 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27633 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27634 Add initializers to main_arena and mp_.
27635 (malloc_state): Remove pagesize member. Change all users to use
27636 GLRO(dl_pagesize).
27637
27638 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27639 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27640 is always initialized.
27641
22a89187
UD
27642 * malloc/malloc.c: Removed unused configurations and dead code.
27643 * malloc/arena.c: Likewise.
27644 * malloc/hooks.c: Likewise.
02d46fc4 27645 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27646
d063d164
UD
27647 * include/tls.h: Removed. USE___THREAD must always be defined.
27648 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27649 * elf/dl-libc.c: Likewise.
27650 * elf/dl-tsd.c: Likewise.
27651 * include/errno.h: Likewise.
27652 * include/netdb.h: Likewise.
27653 * include/resolv.h: Likewise.
27654 * inet/herrno-loc.c: Likewise.
27655 * inet/herrno.c: Likewise.
27656 * malloc/arena.c: Likewise.
27657 * malloc/hooks.c: Likewise.
27658 * malloc/malloc.c: Likewise.
27659 * resolv/res-state.c: Likewise.
27660 * resolv/res_libc.c: Likewise.
27661 * sysdeps/i386/dl-machine.h: Likewise.
27662 * sysdeps/ia64/dl-machine.h: Likewise.
27663 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27664 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27665 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27666 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27667 * sysdeps/sh/dl-machine.h: Likewise.
27668 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27669 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27670 * sysdeps/unix/i386/sysdep.S: Likewise.
27671 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27672 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27677 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27681 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27682 * sysdeps/x86_64/dl-machine.h: Likewise.
27683 * tls.make.c: Likewise.
27684
3ce1f295
UD
27685 * configure.in: Remove --with-__thread option. Make tests for
27686 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27687 tls_model attribute fail if no support is available. Remove
27688 USE_IN_LIBIO.
27689 * Makeconfig: Adjust for dropped configure option. All features are
27690 now mandatory.
27691 * Makerules: Likewise.
27692 * Versions.def: Likewise.
27693 * argp/argp-fmtstream.c: Likewise.
27694 * argp/argp-fmtstream.h: Likewise.
27695 * argp/argp-help.c: Likewise.
27696 * assert/assert.c: Likewise.
27697 * config.h.in: Likewise.
27698 * config.make.in: Likewise.
27699 * configure: Likewise.
27700 * configure.in: Likewise.
27701 * csu/Versions: Likewise.
27702 * csu/init.c: Likewise.
27703 * elf/tst-audit2.c: Likewise.
27704 * elf/tst-tls10.c: Likewise.
27705 * elf/tst-tls10.h: Likewise.
27706 * elf/tst-tls11.c: Likewise.
27707 * elf/tst-tls12.c: Likewise.
27708 * elf/tst-tls14.c: Likewise.
27709 * elf/tst-tlsmod11.c: Likewise.
27710 * elf/tst-tlsmod12.c: Likewise.
27711 * elf/tst-tlsmod13.c: Likewise.
27712 * elf/tst-tlsmod13a.c: Likewise.
27713 * elf/tst-tlsmod14a.c: Likewise.
27714 * elf/tst-tlsmod15b.c: Likewise.
27715 * elf/tst-tlsmod16a.c: Likewise.
27716 * elf/tst-tlsmod16b.c: Likewise.
27717 * elf/tst-tlsmod7.c: Likewise.
27718 * elf/tst-tlsmod8.c: Likewise.
27719 * elf/tst-tlsmod9.c: Likewise.
27720 * gmon/gmon.c: Likewise.
27721 * grp/fgetgrent_r.c: Likewise.
27722 * grp/putgrent.c: Likewise.
27723 * hurd/fopenport.c: Likewise.
27724 * include/libc-symbols.h: Likewise.
27725 * include/tls.h: Likewise.
27726 * intl/gettextP.h: Likewise.
27727 * intl/loadinfo.h: Likewise.
27728 * locale/global-locale.c: Likewise.
27729 * locale/localeinfo.h: Likewise.
27730 * mach/devstream.c: Likewise.
27731 * malloc/arena.c: Likewise.
27732 * malloc/set-freeres.c: Likewise.
27733 * misc/err.c: Likewise.
27734 * misc/getttyent.c: Likewise.
27735 * misc/mntent_r.c: Likewise.
27736 * posix/getopt.c: Likewise.
27737 * posix/wordexp.c: Likewise.
27738 * pwd/fgetpwent_r.c: Likewise.
27739 * resolv/Versions: Likewise.
27740 * resolv/res_hconf.c: Likewise.
27741 * shadow/fgetspent_r.c: Likewise.
27742 * shadow/putspent.c: Likewise.
27743 * stdio-common/printf_fphex.c: Likewise.
27744 * stdio-common/tmpfile.c: Likewise.
27745 * stdlib/abort.c: Likewise.
27746 * stdlib/fmtmsg.c: Likewise.
27747 * sunrpc/auth_unix.c: Likewise.
27748 * sunrpc/clnt_perr.c: Likewise.
27749 * sunrpc/clnt_tcp.c: Likewise.
27750 * sunrpc/clnt_udp.c: Likewise.
27751 * sunrpc/clnt_unix.c: Likewise.
27752 * sunrpc/openchild.c: Likewise.
27753 * sunrpc/svc_simple.c: Likewise.
27754 * sunrpc/svc_tcp.c: Likewise.
27755 * sunrpc/svc_udp.c: Likewise.
27756 * sunrpc/svc_unix.c: Likewise.
27757 * sunrpc/xdr.c: Likewise.
27758 * sunrpc/xdr_array.c: Likewise.
27759 * sunrpc/xdr_rec.c: Likewise.
27760 * sunrpc/xdr_ref.c: Likewise.
27761 * sunrpc/xdr_stdio.c: Likewise.
27762
1248c1c4
PB
277632011-09-09 Ulrich Drepper <drepper@gmail.com>
27764
27765 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27766
277672011-07-03 Andreas Jaeger <aj@suse.de>
27768
27769 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27770 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27771 regenerate with gen-libm-tests.pl.
27772
277732010-05-12 Petr Baudis <pasky@suse.cz>
27774
27775 [BZ #11589]
27776 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27777 around j0() zero points by switching to j1().
27778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27782
f22e1074
UD
277832011-09-09 Ulrich Drepper <drepper@gmail.com>
27784
f19009c1
UD
27785 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27786 instead of 0.
27787 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27788 instead of 0.
f19009c1
UD
27789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27790 Patch in part by Pavel Roskin <proski@gnu.org>.
27791
3f8cc204
UD
27792 [BZ #13138]
27793 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27794 realloc.
27795 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27796 Free memory block if necessary.
27797
f22e1074
UD
27798 [BZ #12847]
27799 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27800 be NULL. Don't lock in this case.
27801
0a2349f9
RM
278022011-09-09 Roland McGrath <roland@hack.frob.com>
27803
27804 * elf/elf.h (ELFOSABI_GNU): New macro.
27805 (ELFOSABI_LINUX): Define to that.
27806
f3cdd467
DZ
278072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27808
27809 * string/strncat.c (strncat): Undef the symbol in case it has been
27810 defined in bits/string.h.
27811
74718d13
UD
278122011-09-09 Ulrich Drepper <drepper@gmail.com>
27813
633e9e0f
UD
27814 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27815
0a2349f9 27816 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27817 link map.
27818
f9924780
AJ
278192011-08-17 Andreas Jaeger <aj@suse.de>
27820
27821 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27822
7f5517aa
PP
278232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27824 Ian Lance Taylor <iant@google.com>
27825
27826 * math/libm-test.inc (lround_test): New testcase.
27827 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27828
762011fe
UD
278292011-09-08 Ulrich Drepper <drepper@gmail.com>
27830
92963737
UD
27831 * Makefile: Remove support for automatic cvs check-ins.
27832 * Makerules: Likewise.
27833 * config.make.in: Likewise.
27834 * configure.in: Likewise.
27835 * intl/Makefile: Likewise.
27836 * locale/Makefile: Likewise.
27837 * po/Makefile: Likewise.
27838 * posix/Makefile: Likewise.
27839 * sysdeps/gnu/Makefile: Likewise.
27840 * sysdeps/mach/hurd/Makefile: Likewise.
27841 * sysdeps/sparc/sparc32/Makefile: Likewise.
27842
b0727fd8
JS
27843 [BZ #13118]
27844 * posix/Makefile (bug-regex32-ENV): Define.
27845 Patch by John Stanley <jpsinthemix@verizon.net>.
27846
a0f33f99
UD
27847 * misc/Makefile (headers): Add bits/select2.h.
27848 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27849 * misc/bits/select2.h: New file.
27850 * include/bits/select2.h: New file.
27851 * debug/Makefile (routines): Add fdelt_chk.
27852 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27853 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27854 FD_ISSET.
27855 * debug/fdelt_chk.c: New file.
27856
762011fe
UD
27857 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27858 * wcsmbs/test-wmemcmp.c: Likewise.
27859 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27860 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27861
278622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27863
27864 * string/Makefile (strop-tests): Add memcmp.
27865 * string/test-wmemcmp.c: New file.
27866 * string/test-memcmp.c: Add wmemcmp support.
27867
7f513ec8
RM
278682011-09-08 Roland McGrath <roland@hack.frob.com>
27869
0442afb4
RM
27870 [BZ #13153]
27871 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27872 2011-07-19 change.
27873
7f513ec8
RM
27874 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27875 garbage value in a __mach_port_mod_refs call in the cases of the
27876 task-self and thread-self ports.
27877
a12b2239
ST
278782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27879
27880 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27881
610f9ab4
AS
278822011-09-08 Andreas Schwab <schwab@redhat.com>
27883
7f513ec8 27884 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27885
48882a1a
LD
278862011-09-07 Ulrich Drepper <drepper@gmail.com>
27887
b49865be
UD
27888 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27889
fdc86bc9
UD
27890 * elf/dl-libc.c (dlerror_run): Pass back error code from
27891 dl_catch_error.
27892
c966526a
UD
27893 [BZ #13123]
27894 * elf/dl-load.c (lose): Free l_origin if it is valid.
27895
48882a1a
LD
27896 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27897 names.
27898 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27899 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27902 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27903 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27904
77a2a8b4
AZ
279052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27906
27907 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27908 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27909 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27910 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27911 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27912 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27913 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27914 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27915 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27916 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27917
24f579d8
AM
279182011-08-15 Alan Modra <amodra@gmail.com>
27919
27920 [BZ #13092]
27921 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27922 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27923 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27924 ppc_mcount to static-only-routines.
27925 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27926 __mcount_internal.
27927 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27928 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27929
3d4837df
UD
279302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27931
27932 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27933 for finite and infinity parameters.
27934
22700377
WS
279352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27936
27937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27938 and add nop instructions for throughput optimization.
27939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27940
5025581e
WS
279412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27942
27943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27944 aligned copy for power7 with vector-scalar instructions.
27945 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27946
08a300c9
L
279472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27948
27949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27950 AVX check.
27951
59178ef9
AS
279522011-09-07 Andreas Schwab <schwab@redhat.com>
27953
27954 [BZ #13144]
27955 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27956 last change.
27957
e38ba7ab
UD
279582011-09-07 Ulrich Drepper <drepper@gmail.com>
27959
27960 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27961 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27962 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27963 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27964 clock_gettime.
27965
d53a73ac
UD
279662011-09-06 Ulrich Drepper <drepper@gmail.com>
27967
fc8bffcc
UD
27968 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27969 Forgot to demangle the pointer.
27970
ceaa0c5d
UD
27971 * sysdeps/i386/sysdep.h: Define atom_text_section.
27972 * sysdeps/x86_64/sysdep.h: Likewise.
27973 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27974 section with atom_text_section.
27975 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27976 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27977 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27979 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27980
a77d3c17
UD
27981 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27982 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27983 already be defined. Change to take two parameters and don't assign
27984 result to variable. Adjust all users.
27985 Define INTERNAL_GETTIME if not already defined.
27986 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27987 call.
27988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27989 HAVE_CLOCK_GETTIME_VSYSCALL.
27990 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27991
d53a73ac
UD
27992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27993 gettimeofday vsyscall, just use time.
27994
a8f84144
AS
279952011-09-06 Andreas Schwab <schwab@redhat.com>
27996
27997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27998 <errno.h>.
27999
ef606249
UD
280002011-09-06 Ulrich Drepper <drepper@gmail.com>
28001
28002 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28003 syscall on x86-64.
28004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28005 syscall.
28006 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28007 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28008 syscall if possible.
28009
6585cb60
UD
280102011-09-05 Ulrich Drepper <drepper@gmail.com>
28011
28012 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28013 e_ident. Don't pass to find_mapsXX.
28014 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28015
a5f524e4
LD
280162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28017
28018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28019 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28020 * sysdeps/x86_64/multiarch/strchr.S: Update.
28021 Check bit_slow_BSF bit.
28022 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28023 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28024 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28025
554881ef
UD
280262011-09-05 Ulrich Drepper <drepper@gmail.com>
28027
d96de963
UD
28028 [BZ #13134]
28029 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28030 before glibc 2.15.
28031 (tryshell): Define.
28032 (__spawni): Change last parameter to be flag. Test
28033 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28034 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28035 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28036 * posix/spawni.c: Likewise.
28037 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28038 * posix/spawnp.c: Likewise. Change normal version to use
28039 SPAWN_XFLAGS_USE_PATH.
28040 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28041 SPAWN_XFLAGS_TRY_SHELL.
28042
d48e5868
UD
28043 [BZ #13150]
28044 * posix/glob.h: Remove gcc 1.x support.
28045
554881ef
UD
28046 [BZ #13068]
28047 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28048
693fb948
LD
280492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28050
28051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28052 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28053 strrchr-sse2-bsf
28054 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28055 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28056 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28057 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28058 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28059 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28060
1b48c537
UD
280612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28062
49d42c37
UD
28063 * sysdeps/x86_64/wcscmp.S: New file.
28064
1b48c537
UD
28065 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28066 wcscmp-c wcscmp-sse2
28067 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28068 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28069 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28070 * wcsmbs/wcscmp.c: Allow renaming.
28071
15c95c5d
DM
280722011-09-05 David S. Miller <davem@davemloft.net>
28073
28074 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28075 stack slot, rather than the struct return pointer slot.
28076 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28077 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28079 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28080
2f0ad8f3
UD
280812011-09-05 Ulrich Drepper <drepper@gmail.com>
28082
d88ae418
UD
28083 * po/ja.po: Update from translation team.
28084
2f0ad8f3
UD
28085 [BZ #13144]
28086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28087 kernel in 64-bit binaries.
28088
5f4318d1
DM
280892011-09-01 David S. Miller <davem@davemloft.net>
28090
28091 * elf/elf.h (HWCAP_SPARC_*): Move to..
28092 * sysdeps/sparc/sysdep.h: this new file and add new values.
28093 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28094 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28095 _DL_HWCAP_COUNT to 24.
28096 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28097 entries.
28098 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28099 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28100 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28102 instead of magic constants.
28103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28104
3ba57516
DM
281052011-08-31 David S. Miller <davem@davemloft.net>
28106
28107 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28109 Reimplement to do errno handling inline.
28110 (SYSCALL_ERROR_HANDLER): New macro.
28111 (__SYSCALL_STRING): Do not do errno handling in asm.
28112 (__CLONE_SYSCALL_STRING): Delete.
28113 (__INTERNAL_SYSCALL_STRING): Delete.
28114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28115 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28116 (PSEUDO): Reimplement to do errno handling inline.
28117 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28118 (SYSCALL_ERROR_HANDLER): New macro.
28119 (__SYSCALL_STRING): Do not do errno handling in asm.
28120 (__CLONE_SYSCALL_STRING): Delete.
28121 (__INTERNAL_SYSCALL_STRING): Delete.
28122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28123 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28124 i386.
28125 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28126 (inline_syscall*): Add 'err' argument.
28127 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28128 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28129 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28130 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28131
28132 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28133 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28134
2bc17433
AS
281352011-08-30 Andreas Schwab <schwab@redhat.com>
28136
28137 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28138
fbeb5f4d
JO
281392011-08-29 Jiri Olsa <jolsa@redhat.com>
28140
28141 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28142 directive.
28143
ad69cc26
DM
281442011-08-24 David S. Miller <davem@davemloft.net>
28145
28146 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28147
39dd69df
AS
281482011-08-24 Andreas Schwab <schwab@redhat.com>
28149
28150 * elf/Makefile: Add rules to build and run unload8 test.
28151 * elf/unload8.c: New file.
28152 * elf/unload8mod1.c: New file.
28153 * elf/unload8mod1x.c: New file.
28154 * elf/unload8mod2.c: New file.
28155 * elf/unload8mod3.c: New file.
28156
28157 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28158 it wasn't used.
28159
2c0b250a
DM
281602011-08-23 David S. Miller <davem@davemloft.net>
28161
28162 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28163 subtract stack bias.
28164 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28165 %sp not %fp in calculations.
28166 (_JMPBUF_UNWINDS_ADJ): Likewise.
28167
22044b48
DM
28168 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28169 (aio_suspend): Call it to force an exception region around the
28170 AIO_MISC_WAIT() invocation.
28171
2cae4995
AS
281722011-08-23 Andreas Schwab <schwab@redhat.com>
28173
28174 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28175 backslash.
28176
873a772e
AJ
281772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28178
28179 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28180 protection macro.
28181 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28182 and <dl-machine.h>.
28183 (Elf64_FuncDesc): Remove.
28184
25ad0df1
DM
281852011-08-22 David S. Miller <davem@davemloft.net>
28186
28187 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28188 sigaltstack check, add missing cfi directives.
28189 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28190 missing cfi directives, and sigaltstack handling.
28191
e888bcbe
AS
281922011-08-16 Andreas Schwab <schwab@redhat.com>
28193
28194 [BZ #11724]
28195 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28196 object is seen twice.
28197 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28198
28199 * elf/Makefile (distribute): Add tst-initorder2.c.
28200 (tests): Add tst-initorder2.
28201 (modules-names): Add tst-initorder2a tst-initorder2b
28202 tst-initorder2c tst-initorder2d. Add rules to build them.
28203 ($(objpfx)tst-initorder2.out): New rule.
28204 * elf/tst-initorder2.c: New file.
28205 * elf/tst-initorder2.exp: New file.
28206
87162f46
AS
282072011-08-22 Andreas Schwab <schwab@redhat.com>
28208
70538b7f
AS
28209 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28210
f55ffe58
AS
28211 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28212 dependencies back to end of function.
28213
87162f46
AS
28214 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28215 $(elfobjdir)/ld.so.
28216
91b392a4
UD
282172011-08-21 Ulrich Drepper <drepper@gmail.com>
28218
28219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28220 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28222 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28223 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28224 of __vdso_gettimeofday.
28225 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28226 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28227 attribute_hidden.
28228 (_libc_vdso_platform_setup): Remove initialization of
28229 __vdso_gettimeofday and __vdso_time.
28230
5c43483f
UD
282312011-08-20 Ulrich Drepper <drepper@gmail.com>
28232
775a77e7
UD
28233 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28234 and fgetc_unlocked.
28235 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28236 getc_unlocked.
89f447ed 28237
49c74ba9
UD
28238 * elf/dl-open.c (add_to_global): Report additions to the global scope
28239 for LD_DEBUG=scopes.
28240 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28241 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28242
5c43483f
UD
28243 [BZ #13114]
28244 * stdio-common/Makefile (tests): Add bug24.
28245 * stdio-common/bug24.c: New file.
28246
a101b025
AJ
282472011-08-19 Andreas Jaeger <aj@suse.de>
28248
28249 [BZ #13114]
28250 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28251 non-existant file when using close-on-exec mode.
28252
c88f1766
UD
282532011-08-20 Ulrich Drepper <drepper@gmail.com>
28254
0276a718
UD
28255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28256 the very first instruction.
28257
c88f1766
UD
28258 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28259 the CFI state in the end.
28260 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28261 inclusion of dl-trampoline.h.
28262 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28263
51ccffa0
AS
282642011-08-19 Andreas Schwab <schwab@redhat.com>
28265
94d7165f
AS
28266 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28267 expectations for long double.
28268
51ccffa0
AS
28269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28270 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28271
fd708658 282722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28273
28274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28275 artificual limit depends upon the system page size.
28276
44f0a71e
UD
282772011-08-17 Ulrich Drepper <drepper@gmail.com>
28278
28279 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28280 * resolv/Makefile: Define CFLAGS-libresolv.
28281
8de79a24
AS
282822011-08-17 Andreas Schwab <schwab@redhat.com>
28283
28284 * nss/makedb.c (compute_tables): Make variables used in nested
28285 function static.
28286
27724598
UD
282872011-08-17 Ulrich Drepper <drepper@gmail.com>
28288
c5305d88
UD
28289 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28290 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28291 if buffer was too small.
28292
27724598
UD
28293 * elf/pldd.c (main): Attach to all threads in the process.
28294 Rewrite /proc handling to use *at functions.
28295
076fe015
UD
282962011-08-16 Ulrich Drepper <drepper@gmail.com>
28297
174baab3
UD
28298 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28299 specifies first scope to show.
28300 (dl_open_worker): Update callers. Move printing scope of new
28301 object to before the relocation.
44f0a71e 28302 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28303 * sysdeps/generic/ldsodefs.h: Update declaration.
28304
076fe015
UD
28305 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28306 string for the scope number.
28307
a60df2c3
UD
283082011-08-14 Ulrich Drepper <drepper@gmail.com>
28309
28310 * nscd/servicescache.c (cache_addserv): Make sure written is always
28311 initialized.
28312
5e4287d1
RM
283132011-08-14 Roland McGrath <roland@hack.frob.com>
28314
85ae0589
RM
28315 * sysdeps/i386/i486/bits/atomic.h
28316 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28317 statement expression, so as to suppress "set but not used" warning.
28318 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28319
69f63097
RM
28320 * string/strncat.c (STRNCAT): Use prototype definition.
28321
675456ef
RM
28322 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28323 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28324 -Iprograms here.
28325 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28326 (localedef-modules): Add localedef.
28327 (locale-modules): Add locale.
28328
5e4287d1
RM
28329 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28330 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28331 to avoid a warning.
28332
9c96ff23
DM
283332011-08-14 David S. Miller <davem@davemloft.net>
28334
28335 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28336 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28337
f9ddf089
UD
283382011-08-13 Ulrich Drepper <drepper@gmail.com>
28339
44f0a71e 28340 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28341 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28342 * elf/rtld.c (dl_main): Set l_name of vDSO.
28343 Call _dl_show_scope when DL_DEBUG_SCOPES.
28344 (process_dl_debug): Recognize scopes flag and also set it for all.
28345 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28346 Declare _dl_show_scope.
28347
1dc27704
UD
28348 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28349 (do_dlopen): Pass caller_dlopen to dl_open.
28350 (__libc_dlopen_mode): Initialize caller_dlopen.
28351
f9ddf089
UD
28352 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28353 of libc. Make tolower call locale-independent. Optimize a bit by
28354 using isdigit instead of isalnum.
28355 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28356
9ac533d3
UD
283572011-08-12 Ulrich Drepper <drepper@gmail.com>
28358
28359 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28360 was a dependency or dynamically loaded.
28361
89edf2e9
UD
283622011-08-11 Ulrich Drepper <drepper@gmail.com>
28363
8e999d29
UD
28364 * intl/l10nflist.c: Allow architecture-specific pop function.
28365 * sysdeps/x86_64/l10nflist.c: New file.
28366
89edf2e9
UD
28367 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28368 classification.
28369
14d96785
AS
283702011-08-10 Andreas Schwab <schwab@redhat.com>
28371
28372 * include/dirent.h: Add libc_hidden_proto for scandirat and
28373 scandirat64. Don't declare __scandirat64.
28374 * dirent/scandirat.c: Add libc_hidden_def.
28375 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28376 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28377
6761ac04
DM
283782011-08-10 David S. Miller <davem@davemloft.net>
28379
28380 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28381 enum.
28382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28383 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28385
c55fbd1e
UD
283862011-08-09 Ulrich Drepper <drepper@gmail.com>
28387
28388 * Versions.def [libc]: Add GLIBC_2.15.
28389 * dirent/Makefile (routines): Add scandirat and scandirat64.
28390 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28391 GLIBC_2.15.
28392 * dirent/dirent.h: Declare scandirat and scandirat64.
28393 * dirent/scandirat.c: New file.
28394 * dirent/scandirat64.c: New file.
28395 * sysdeps/wordsize-64/scandirat.c: New file.
28396 * sysdeps/wordsize-64/scandirat64.c: New file.
28397 * dirent/opendir.c: Define opendirat.
28398 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28399 using scandirat.
28400 * dirent/scandir64.c: Adjust for scandir.c change.
28401 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28402 __scandirat64, and __scandir_cancel_handler.
28403 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28404 additional parameter and use openat instead of open (outside of ld.so).
28405 Add new __opendir as wrapper around __opendirat.
28406 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28407 here without requiring old scandirat implementation.
28408
879165f2
UD
284092011-08-08 Ulrich Drepper <drepper@gmail.com>
28410
28411 * dirent/scandir.c (cancel_handler): Renamed to
28412 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28413 defined. Adjust users.
28414 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28415 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28416
cb7e923b
UD
284172011-08-04 Ulrich Drepper <drepper@gmail.com>
28418
16292edd
UD
28419 * string/test-string.h (IMPL): Use __STRING to expand name and then
28420 stringify it.
28421
cb7e923b
UD
28422 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28423 of cleanups.
28424
cff82933
LD
284252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28426
28427 * string/Makefile: Update.
28428 (strop-tests): Append strncat.
28429 * string/test-wcscmp.c: New file.
28430 New comprehensive test for wcscmp.
28431 * string/test-strcmp.c: Update.
28432 (WIDE): New define.
28433
9be9bfcc
AS
284342011-07-22 Andreas Schwab <schwab@redhat.com>
28435
28436 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28437 line.
28438
2e96f1c7
AS
284392011-07-26 Andreas Schwab <schwab@redhat.com>
28440
28441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28442 encoding to ACE if AI_IDN.
28443
85188888
JJ
284442011-08-01 Jakub Jelinek <jakub@redhat.com>
28445
28446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28447 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28448
5fa16e9b
LD
284492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28450
28451 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28452 Fix overflow bug in strncat.
28453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28454
28455 * string/test-strncat.c: Update.
28456 Add new tests for checking overflow bugs.
28457
284582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28459
28460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28461 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28462 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28463 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28464 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28465 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28466 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28467 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28468 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28469
28470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28471 (USE_AS_STRCAT): Define.
28472 Add strcat and strncat support.
28473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28474
8c1a459f
AS
284752011-07-25 Andreas Schwab <schwab@redhat.com>
28476
28477 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28478 __n bigger than INT_MAX+1.
28479 (__strncmp_g): Likewise.
28480
bba33c28
UD
284812011-07-23 Ulrich Drepper <drepper@gmail.com>
28482
798be72d
UD
28483 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28484 * libio/stido.h: Likewise.
28485
8accd4dc
UD
28486 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28487 (AF_NFC): Define.
28488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28489 (AF_NFC): Define.
28490
cbff0d96
UD
28491 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28494 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28496
9191c04a
UD
28497 [BZ #13021]
28498 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28499 installed.
28500
bba33c28
UD
28501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28502 typo.
28503 (_dl_x86_64_save_sse): Likewise.
28504
90f139dd
UD
285052011-07-22 Ulrich Drepper <drepper@gmail.com>
28506
1aae088a
UD
28507 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28508 OSXSAVE.
28509 (_dl_x86_64_save_sse): Likewise.
28510
8e2045f5
UD
28511 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28512
90f139dd
UD
28513 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28514
1d002f25
AS
285152011-07-21 Andreas Schwab <schwab@redhat.com>
28516
28517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28518 change.
28519 (_dl_x86_64_save_sse): Use correct AVX check.
28520
21137f89
UD
285212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28522
28523 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28524 bug in strncpy/strncat.
28525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28526
a65c0b7a
UD
285272011-07-21 Ulrich Drepper <drepper@gmail.com>
28528
28529 * string/tester.c (test_strcat): Add tests for different alignments
28530 of source and destination.
28531 (test_strncat): Likewise.
28532
6986b98a
UD
285332011-07-20 Ulrich Drepper <drepper@gmail.com>
28534
90bb2039
UD
28535 [BZ #12852]
28536 * posix/glob.c (glob): Check passed in values before using them in
28537 expressions to avoid some overflows.
28538 (glob_in_dir): Likewise.
28539
5644ef54
UD
28540 [BZ #13007]
28541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28542 check for AVX enablement so that we don't crash with old kernels and
28543 new hardware.
28544 * elf/tst-audit4.c: Add same checks here.
28545 * elf/tst-audit6.c: Likewise.
28546
28547 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28548
bfc9dc9b
AS
285492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28550
28551 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28552
702e64bb
UD
285532011-07-20 Ulrich Drepper <drepper@gmail.com>
28554
28555 * po/cs.po: Update from translation team.
28556 * po/bg.po: Likewise.
28557
295e904f
MP
285582011-07-12 Marek Polacek <mpolacek@redhat.com>
28559
28560 * misc/sys/cdefs.h: Add support for const attribute.
28561 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28562 to gnu_dev_{major,minor,makedev} functions.
28563
3ff94596
MP
285642011-07-20 Marek Polacek <mpolacek@redhat.com>
28565
28566 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28567
28b59fca
AS
285682011-07-20 Andreas Schwab <schwab@redhat.com>
28569
28570 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28571 strlen results.
28572
19df733e
AK
285732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28574
28575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28576 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28577 register in order to avoid conflicts with the soft frame pointer
28578 being held in r11 when necessary.
28579 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28580 (INTERNAL_VSYSCALL_NCS): Likewise.
28581
c8835729
MP
285822011-07-14 Marek Polacek <mpolacek@redhat.com>
28583
28584 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28585 * elf/dl-fini.c (_dl_fini): Adjust caller.
28586 * elf/dl-close.c (_dl_close_worker): Likewise.
28587 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28588
b902330c
MP
285892011-07-15 Marek Polacek <mpolacek@redhat.com>
28590
8991e135
MP
28591 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28592 "aux_cache->nlibs < 0".
28593
b902330c
MP
28594 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28595 in the reload-count case.
28596
99710781
LD
285972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28598
28599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28600 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28601 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28602 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28603 * sysdeps/x86_64/multiarch/strcat.S: New file.
28604 * sysdeps/x86_64/multiarch/strncat.S: New file.
28605 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28606 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28607 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28608 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28609 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28610 (USE_AS_STRCAT): Define.
28611 Add strcat and strncat support.
28612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28614 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28615 * string/strncat.c: Update.
28616 (USE_AS_STRNCAT): Define.
28617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28618 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28619 and i7.
28620 * sysdeps/x86_64/multiarch/init-arch.h
28621 (bit_Prefer_PMINUB_for_stringop): New.
28622 (index_Prefer_PMINUB_for_stringop): Likewise.
28623 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28624 bit_Prefer_PMINUB_for_stringop.
28625
7dc6bd90
UD
286262011-07-19 Ulrich Drepper <drepper@gmail.com>
28627
28628 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28629 buffer64.
28630 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28631 of casting of buffer.
28632 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28633 buffer32 and buffer64.
28634 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28635 writes instead of casting of buffer.
28636 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28637 buffer32.
28638 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28639 casting of buffer.
28640
e0e72284
AS
286412011-07-19 Andreas Schwab <schwab@redhat.com>
28642
28643 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28644
feb1eb0b
UD
286452011-07-19 Ulrich Drepper <drepper@gmail.com>
28646
28647 * nscd/nscd.c (termination_handler): Don't do anything for a database
28648 if it has not yet been initialized.
28649
298711ff
UD
286502011-07-18 Ulrich Drepper <drepper@gmail.com>
28651
28652 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28653
286542011-07-15 Marek Polacek <mpolacek@redhat.com>
28655
28656 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28657
f9d68389
UD
286582011-07-18 Ulrich Drepper <drepper@gmail.com>
28659
28660 * po/nl.po: Update from translation team.
28661 * po/sv.po: Likewise.
28662
db290cf5
RM
286632011-07-16 Roland McGrath <roland@hack.frob.com>
28664
28665 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28666 now disallowed by GCC.
5c550700 28667
fd5e21c7
RM
28668 * configure.in (use-default-link): Default to yes if a test -shared
28669 link meets our qualifications.
28670 * configure: Regenerated.
28671
5c550700
RM
28672 * config.make.in (output-format): New variable.
28673 * configure.in: Check for ld --print-output-format support.
28674 * configure: Regenerated.
28675 * Makerules ($(common-objpfx)format.lds)
28676 [$(output-format) != unknown]: Just use $(output-format),
28677 instead of the linker-script munging.
28678
9fa2c032
RM
286792011-07-14 Roland McGrath <roland@hack.frob.com>
28680
a6928d51
RM
28681 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28682 of $(common-objpfx)shlib.lds.
28683 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28684
661607b3
RM
28685 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28686 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28687
9fa2c032
RM
28688 * configure.in (-z relro check): Adjust test code to add a large
28689 writable data section after it.
28690 * configure: Regenerated.
28691
defe9061
RM
286922011-07-11 Roland McGrath <roland@hack.frob.com>
28693
28694 * configure.in (-z relro check): Fix test code to make the variable
28695 truly const.
28696 * configure: Regenerated.
28697
319b9ad4
UD
286982011-07-11 Ulrich Drepper <drepper@gmail.com>
28699
28700 * nscd/nscd.h (struct traced_file): Define.
28701 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28702 elements. Add traced_files.
28703 (inotify_fd): Declare.
28704 (register_traced_file): Declare.
28705 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28706 (inotify_fd): Export.
28707 (resolv_conf_descr): Remove.
28708 (nscd_init): Move inotify descriptor creation to main.
28709 Don't register files for notification here.
28710 (register_traced_file): New function.
28711 (invalidate_cache): Don't use reset_res to determine whether to call
28712 res_init, go through the list of registered files.
28713 (main_loop_poll): The inotify descriptors are now stored in the
28714 structures for the traced files.
28715 (main_loop_epoll): Likewise
28716 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28717 to __nss_disable_nscd.
28718 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28719 for a database anymore. Check the records for all the registered
28720 files instead.
28721 * nss/Makefile (libnss_files-routines): Add files-init.
28722 (libnss_db-routines): Add db-init.
28723 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28724 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28725 * nss/nss_db/db-init.c: New file.
28726 * nss/nss_files/files-init.c: New file.
28727 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28728 __nss_lookup_function.
28729 (__nss_lookup_function): Call nss_load_library.
28730 (nss_load_all_libraries): New function.
28731 (__nss_disable_nscd): Take parameter with callback function for files
28732 to register. Set is_nscd. Load all the DSOs for the NSS modules
28733 used for the cached services.
28734 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28735 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28736 options for features to all the files in nscd.
28737
28738 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28739
23bee3e8
RM
287402011-07-10 Roland McGrath <roland@hack.frob.com>
28741
28742 * csu/elf-init.c (__libc_csu_init): Comment typo.
28743
46a5b7f0
UD
287442011-07-09 Ulrich Drepper <drepper@gmail.com>
28745
28746 * po/pl.po: Update from translation team.
28747 * po/ja.po: Likewise.
28748 * po/ru.po: Likewise.
28749 * po/ko.po: Likewise.
28750 * po/fr.po: Likewise.
28751
d30cf5bb
RM
287522011-07-09 Roland McGrath <roland@hack.frob.com>
28753
113ddea4
RM
28754 * configure.in (.ctors/.dtors header and trailer check):
28755 Use an empirical test on a built program.
28756 * configure: Regenerated.
28757
574920b4
RM
28758 * configure.in (-z relro check): Use an empirical test on a built DSO.
28759 Detect, but do not require, on ia64.
28760 * configure: Regenerated.
28761
d30cf5bb
RM
28762 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28763 Update tests that use readelf to use $READELF instead.
28764 * configure: Regenerated.
28765
8538fdb3
UD
287662011-07-08 Ulrich Drepper <drepper@gmail.com>
28767
28768 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28769 if the result is not used.
28770
04d08991
AJ
287712011-07-05 Andreas Jaeger <aj@suse.de>
28772
28773 [BZ#9696]
28774 * stdlib/tst-strtod.c: Add testcase.
28775
de283087
AD
287762011-07-07 Ulrich Drepper <drepper@gmail.com>
28777
4e5f31c8 28778 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28779 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28780 The latter has a higher limit. Take additional parameter to pass to
28781 the new function.
28782 (__pathconf): Pass file to __statfs_link_max.
28783 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28784 __statfs_link_max.
28785 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28786 __statfs_link_max.
28787
de283087
AD
28788 [BZ #12868]
28789 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28791 Handle Lustre.
28792 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28793 (__statfs_filesize_max): Likewise.
28794 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28795
c75fa153
AJ
287962011-07-05 Andreas Jaeger <aj@suse.de>
28797
28798 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28799
1a544854
UD
288002011-07-06 Marek Polacek <mpolacek@redhat.com>
28801
28802 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28803 `status' variable.
28804 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28805 Likewise.
28806
6f0eec67
UD
288072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28808
28809 * Makefile (strop-tests): Add strncat.
28810 * string/test-strncat.c: New file.
28811
aae30307
UD
288122011-06-30 Marek Polacek <mpolacek@redhat.com>
28813
28814 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28815
c0cfb5eb
UD
288162011-06-21 Andreas Jaeger <aj@suse.de>
28817
28818 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28819 Copy rule from iconvdata/Makefile.
28820
01636b21
UD
288212011-07-06 Ulrich Drepper <drepper@gmail.com>
28822
28823 [BZ #12922]
28824 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28825 but no long options are defined, just return 'W'.
28826
9895c8bc
UD
288272011-06-22 Marek Polacek <mpolacek@redhat.com>
28828
28829 [BZ #9696]
28830 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28831
5d4cf042
UD
288322011-07-06 Ulrich Drepper <drepper@gmail.com>
28833
28834 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28835 netgroups to read.
960e5535 28836 (innetgr): Likewise.
5d4cf042 28837
751eb97e
RM
288382011-07-05 Roland McGrath <roland@hack.frob.com>
28839
28840 * config.make.in (install_root): Default to $(DESTDIR).
28841
f15f1e45
UD
288422011-07-05 Ulrich Drepper <drepper@gmail.com>
28843
28844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28845
4e34ac6a
RM
288462011-07-02 Roland McGrath <roland@hack.frob.com>
28847
5e9b6af4
RM
28848 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28849
84f9ea0f
RM
28850 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28851 containing directory rather than embedding absolute directory names.
28852
ea5ee9f7
RM
28853 * scripts/check-local-headers.sh: Rewritten using awk.
28854 Match by word, not by line. Print error messages for matches.
28855 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28856
1b74661a
RM
28857 * Makerules [shlib-lds-flags empty]:
28858 ($(common-objpfx)libc_pic.opts): New target.
28859 ($(common-objpfx)libc_pic.os.clean): New target.
28860 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28861
28862 * config.make.in (OBJCOPY): New variable.
28863 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28864 * configure: Regenerated.
28865
f781ef40
RM
28866 * config.make.in (use-default-link): New variable.
28867 * configure.in (use_default_link): Grok --with-default-link to set it.
28868 * configure: Regenerated.
28869 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28870 (shlib-lds, shlib-lds-flags): Define to empty.
28871
2d4fa81e
RM
28872 * Makerules (shlib-lds): New variable.
28873 (shlib-lds-flags): New variable.
28874 (build-shlib, build-moduile, build-module-asneeded): Use it.
28875 ($(common-objpfx)libc.so): Use $(shlib-lds).
28876 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28877 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28878
31fffa6b
RM
28879 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28880 DT_FLAGS/DT_FLAGS_1 with zero flags.
28881
4e34ac6a
RM
28882 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28883 linker script munging.
28884
fcfc776b
UD
288852011-07-02 Ulrich Drepper <drepper@gmail.com>
28886
28887 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28888 as 128-bit value.
28889 * crypt/sha512.c (sha512_process_block): Perform total addition using
28890 128-bit if possible.
28891 (__sha512_finish_ctx): Likewise.
28892 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28893 as 64-bit value.
28894 * crypt/sha256.c (SWAP64): Define.
28895 (sha256_process_block): Perform total addition using 64-bit if
28896 possible.
28897 (__sha256_finish_ctx): Likewise.
28898
99231d9a
UD
288992011-07-01 Ulrich Drepper <drepper@gmail.com>
28900
28901 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28903 * nscd/hstcache.c (cache_addhst): Likewise.
28904 * nscd/grpcache.c (cache_addgr): Likewise.
28905 * nscd/aicache.c (addhstaiX): Likewise
28906 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28907
445b4a53
TK
289082011-07-01 Thorsten Kukuk <kukuk@suse.de>
28909
28910 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28911 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28912 * nscd/hstcache.c (cache_addhst): Likewise.
28913 * nscd/grpcache.c (cache_addgr): Likewise.
28914 * nscd/aicache.c (addhstaiX): Likewise
28915
6d4d8e8e
AS
289162011-07-01 Andreas Schwab <schwab@redhat.com>
28917
28918 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28919 domain only when needed.
28920
89f654c5
AS
289212011-06-30 Andreas Schwab <schwab@redhat.com>
28922
28923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28924 is always restored.
28925
cf3b23ff
UD
289262011-06-29 Ulrich Drepper <drepper@gmail.com>
28927
28928 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28929 are re-adding the entry.
28930 * nscd/servicescache.c (cache_addserv): Likewise.
28931
751626f9
AJ
289322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28933
28934 * sysdeps/generic/dl-irel.h: fix protection against multiple
28935 inclusions.
28936 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28937
9113ea1f
UD
289382011-06-28 Ulrich Drepper <drepper@gmail.com>
28939
5c0b8d90
UD
28940 [BZ #12935]
28941 * malloc/memusage.sh: Fix quoting in message.
28942 * debug/xtrace.sh: Likewise.
28943
9113ea1f
UD
28944 * configure.in: Remove support for --experimental-malloc option, make
28945 it the default.
28946 * config.make.in: Likewise.
28947 * malloc/Makefile: Likewise.
28948
a4172181
AS
289492011-06-27 Andreas Schwab <schwab@redhat.com>
28950
28951 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28952 two-byte characters.
28953
78a7eee7
RM
289542011-06-27 Roland McGrath <roland@hack.frob.com>
28955
62bede13
RM
28956 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28957 AC_CACHE_CHECK invocation.
28958 * configure: Regenerated.
28959
78a7eee7
RM
28960 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28961
5ce33a62
UD
289622011-06-27 Ulrich Drepper <drepper@gmail.com>
28963
034807a9
UD
28964 [BZ #12350]
28965 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28966 bit from old_res_options.
28967
4902da17
UD
28968 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28969
5ce33a62
UD
28970 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28971 value type for setfct.
28972
c2344f56
L
289732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28974
28975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28976 __gettimeofday instead of gettimeofday.
28977
68468076
UD
289782011-06-26 Ulrich Drepper <drepper@gmail.com>
28979
28980 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28981
acb0d739
L
289822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28985
28986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28987 info.
28988
8912479f
L
289892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28992 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28993 strcpy-sse2-unaligned strncpy-sse2-unaligned
28994 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28995 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28996 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28997 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28998 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29001 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29002 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29003 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29004 (STRCPY): Support SSE2 and SSSE3 versions.
29005
d5495a11
UD
290062011-06-24 Ulrich Drepper <drepper@gmail.com>
29007
29008 [BZ #12874]
29009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29010 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29011 kernels which artificially limit size of requests.
29012
0b1cbaae
L
290132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29014
29015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29016 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29017 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29018 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29019 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29020 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29021 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29022 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29023 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29025 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29026 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29027 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29028 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29029 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29031 Enable unaligned load optimization for Intel Core i3, i5 and i7
29032 processors.
29033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29034 Define.
29035 (index_Fast_Unaligned_Load): Define.
29036 (HAS_FAST_UNALIGNED_LOAD): Define.
29037
07f494a0
MP
290382011-06-23 Marek Polacek <mpolacek@redhat.com>
29039
29040 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29041
fa3fc0fe
UD
290422011-06-22 Ulrich Drepper <drepper@gmail.com>
29043
29044 [BZ #12907]
29045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29046 until it is clear that the information is realy needed.
29047 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29048
e12df166
AS
290492011-06-22 Andreas Schwab <schwab@redhat.com>
29050
29051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29052
852eb34d
UD
290532011-06-22 Ulrich Drepper <drepper@gmail.com>
29054
84e2a551
UD
29055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29056 /sys/devices/system/cpu/online if it is usable.
29057
852eb34d
UD
29058 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29059 reading the information from the /proc filesystem to once a second.
29060
6e502e19
UD
290612011-06-21 Andreas Jaeger <aj@suse.de>
29062
29063 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29064 NULL after inclusion of kernel headers.
29065
75d39ff2
UD
290662011-06-21 Ulrich Drepper <drepper@gmail.com>
29067
51f9aa6a
UD
29068 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29069 calls to internal_setent.
29070
c0244a9d
UD
29071 [BZ #12885]
29072 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29073 addresses using gethostbyname4_r ignore IPv4 addresses.
29074
c5e3c2ae
UD
29075 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29076 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29077
75d39ff2
UD
29078 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29079
42675c6f
DM
290802011-06-20 David S. Miller <davem@davemloft.net>
29081
29082 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29083 inclusions.
29084 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29085
29086 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29087 (elf_irel): Use it.
29088 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29089 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29090 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29091 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29092 * sysdeps/x86_64/dl-irel.h: Likewise.
29093
29094 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29095 * elf/dl-sym.c: Likewise.
29096
57912a71
UD
290972011-06-15 Ulrich Drepper <drepper@gmail.com>
29098
29099 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29100 need to dereference resplen2.
29101
ee22793d
AS
291022011-06-14 Andreas Schwab <schwab@redhat.com>
29103
29104 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29105
a9e836b0
UD
291062011-06-15 Ulrich Drepper <drepper@gmail.com>
29107
77fb9117
UD
29108 * Makeconfig: Define vardbdir and inst_vardbdir.
29109 * nss/Makefile: Add rules to install db-Makefile.
29110
40c1b22c
UD
29111 * nss/nss_db/db-XXX.c: Cleanup.
29112
9f2da732
UD
29113 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29114 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29115 GLIBC_PRIVATE.
29116 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29117 * nss/makedb.c: Implement -g option to specify that value strings
29118 are generated and should not be added to table iterated over for
29119 get*ent calls.
29120 * nss/nss_db/db-initgroups.c: New file.
29121
82e9a1f7
UD
29122 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29123 interface.
29124
c41af17e
UD
29125 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29126 (internal_getgrouplist): Adjust to name change.
29127 Update use_initgroups_entry if this is not the first call.
29128 * nss/databases.def: Add initgroups entry.
29129
a9e836b0
UD
29130 * nss/makedb.c (compute_tables): Check result of multiple hash table
29131 sizes to minimize maximum chain length.
29132
2666d441
UD
291332011-06-14 Ulrich Drepper <drepper@gmail.com>
29134
29135 * Versions.def: Add entry for libnss_db.
29136 * shlib-versions: Likewise.
29137 * nss/Makefile: Add rules to build libnss_db.
29138 * nss/Versions: Add libnss_db information. Organize libnss_files
29139 entries better.
29140 * nss/db-Makefile: Add gshadow support. Change rules for the new
29141 makedb progra. Some minor improvements to generate smaller files.
29142 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29143 here from...
29144 * nss/makedb.c: ...here.
29145 Improve database format to be smaller and require less memory at
29146 runtime.
29147 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29148 db anymore.
29149 * nss/nss_db/db-netgrp.c: Likewise.
29150 * nss/nss_db/db-open.c: Likewise.
29151 * nss/nss_files/flies-XXX.x: Adjust comments.
29152 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29153 * nss/nss_files/files-grp.c: Likewise.
29154 * nss/nss_files/files-hosts.c: Likewise.
29155 * nss/nss_files/files-network.c: Likewise.
29156 * nss/nss_files/files-proto.c: Likewise.
29157 * nss/nss_files/files-pwd.c: Likewise.
29158 * nss/nss_files/files-rpc.c: Likewise.
29159 * nss/nss_files/files-service.c: Likewise.
29160 * nss/nss_files/files-sgrp.c: Likewise.
29161 * nss/nss_files/files-spwd.c: Likewise.
29162 * nss/nss_db/db-alias.c: Removed.
29163 * nss/nss_db/dummy-db.h: Removed.
29164
9ee76b5a
UD
291652011-06-02 Ulrich Drepper <drepper@gmail.com>
29166
29167 * nss/makedb.c: Rewritten to not use database library.
29168 * nss/Makefile: Update to build new makedb program.
29169
c71ca1f8
AJ
291702011-06-14 Andreas Jaeger <aj@suse.de>
29171
29172 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29173 memset declaration.
29174
3154bfb8
UD
291752011-06-10 Andreas Schwab <schwab@redhat.com>
29176
29177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29178 tmpbuf.
29179
b350afab
RM
291802011-06-10 Roland McGrath <roland@hack.frob.com>
29181
decd4e50
RM
29182 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29183 * elf/Makefile ($(objpfx)ld.so): Likewise.
29184
5615eaf2
RM
29185 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29186 Don't list ld.so twice in dependencies.
29187
29188 * posix/bug-regex31.c: Include <stdlib.h>.
29189
29190 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29191
29192 * nis/nss_compat/compat-spwd.c
29193 (getspent_next_nss_netgr): Remove unused variable.
29194 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29195
29196 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29197 nonmembers" output to use the right array.
29198
29199 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29200
29201 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29202
29203 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29204 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29205 * catgets/gencat.c (read_input_file): Likewise.
29206 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29207
29208 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29209 variable definition inside #if's controlling its use.
29210
29211 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29212
29213 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29214
29215 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29216
29217 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29218 unreachable code.
29219
29220 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29221
b68e08db
RM
29222 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29223 * configure: Regenerated.
29224
b350afab
RM
29225 * Makerules: Revert last change.
29226 * elf/Makefile: Likewise.
29227
28368601
RM
292282011-06-09 Roland McGrath <roland@hack.frob.com>
29229
29230 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29231 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29232 (reloc-link): Likewise.
29233
11988f8f
UD
292342011-06-09 Ulrich Drepper <drepper@gmail.com>
29235
29236 * elf/Makefile: Add rules to build pldd.
29237 * elf/pldd.c: New file.
29238 * elf/pldd-xx.c: New file.
29239
e80fab37
UD
292402011-06-07 Ulrich Drepper <drepper@gmail.com>
29241
29242 * version.h: Update for 2.15 development version.
29243
9b849836
DM
292442011-06-07 David S. Miller <davem@davemloft.net>
29245
29246 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29247 ifuncs.
29248 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29249 elf_machine_lazy_rel): Likewise.
29250 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29252 elf_machine_lazy_rel): Likewise.
29253 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29254 dl_hwcap via passed in argument.
29255 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29256 Likewise.
29257
5a31b283
AK
292582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29259
29260 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29261
069e52f8
RM
292622011-06-06 Roland McGrath <roland@hack.frob.com>
29263
29264 [BZ #12849]
29265 * manual/fdl-1.1.texi: New file, verbatim from:
29266 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29267 * manual/lgpl-2.1.texi: New file, verbatim from:
29268 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29269 * manual/Makefile (licenses): New variable, list those new file names.
29270 (texis): Use it.
29271 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29272
29273 * manual/fdl.texi: File removed.
29274 * manual/lesser.texi: File removed.
29275 * manual/libc.texinfo (Copying, Documentation License):
29276 Use new @include file names, put @appendix directive before @include.
29277
f16846a5
JJ
292782011-06-04 Jakub Jelinek <jakub@redhat.com>
29279
29280 [BZ #12841]
29281 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29282 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29283 (mq_open): Add __NTH.
29284
3d29045b
L
292852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29286
29287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29288 Assume Intel Core i3/i5/i7 processor if AVX is available.
29289
8c297311
UD
292902011-05-31 Ulrich Drepper <drepper@gmail.com>
29291
29292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29293 typo.
29294
c8fc0c91
UD
292952011-05-31 Andreas Schwab <schwab@redhat.com>
29296
29297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29298 memory. Use alloca_account. Fix memory leak when retrying.
29299
5b27a807
UD
293002011-05-31 Ulrich Drepper <drepper@gmail.com>
29301
356f8bc6
UD
29302 * version.h (RELEASE): Bump for 2.14 release.
29303 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29304
5b27a807
UD
29305 * config.make.in (RANLIB): Remove entry.
29306
01f16ab0
UD
293072011-05-30 Ulrich Drepper <drepper@gmail.com>
29308
41fce8bd
UD
29309 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29310 (libc.pot): Work around missing support for .ksh extension in xgettext.
29311
4769ae77
UD
29312 [BZ #12684]
29313 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29314 if both request failed.
29315 (send_dg): In case of server errors clear resplen or *resplen2.
29316
6b1e7d19
UD
29317 [BZ #12454]
29318 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29319 when there are multiple maps.
29320 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29321 (_dl_fini): Remove test here.
29322
01f16ab0
UD
29323 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29324
b1ebd700
UD
293252011-05-29 Ulrich Drepper <drepper@gmail.com>
29326
7ae22829
UD
29327 [BZ #12350]
29328 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29329 bit from old_res_options.
29330 (gaih_inet): Likewise.
29331
553149f6 29332 [BZ #11099]
18a84741 29333 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29334 as signed.
29335
652ffab1
UD
29336 * resolv/res_init.c (res_setoptions): Make the code more compact.
29337
16985fd0
UD
29338 [BZ #11558]
29339 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29340 set RES_USEVC.
29341
0464f746
UD
29342 [BZ #11634]
29343 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29344
7d17596c
UD
29345 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29346
cf6bbbd7
UD
29347 [BZ #11781]
29348 * malloc/malloc.h: Declare malloc hook variables as volatile.
29349
13f1ab36
UD
29350 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29351 in last patch.
29352
b1ebd700
UD
29353 [BZ #11799]
29354 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29355 raise in the comment.
80e2212d
UD
29356 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29358 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29359
ce67228d
UD
293602011-05-28 Ulrich Drepper <drepper@gmail.com>
29361
8887a920
UD
29362 [BZ #12811]
29363 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29364 grow the buffers more if it already has to be sufficient.
29365 (build_wcs_upper_buffer): Likewise.
29366 * posix/regexec.c (check_matching): Likewise.
29367 (clean_state_log_if_needed): Likewise.
29368 (extend_buffers): Don't enlarge buffers beyond size of the input
29369 buffer.
29370 Patches mostly by Emil Wojak <emil@wojak.eu>.
29371 * posix/bug-regex32.c: New file.
29372 * posix/Makefile (tests): Add bug-regex32.
29373
4f031072
UD
29374 * locale/findlocale.c (_nl_find_locale): Return right away if
29375 _nl_explode_name failed.
29376 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29377
d0478f0c
UD
29378 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29379
de81b246
UD
29380 * debug/xtrace.sh: Unify messages.
29381 * malloc/memusage.sh: Likewise.
29382
c738465a
UD
29383 [BZ #12813]
29384 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29385 time symbol from vDSO. Substitute with vsyscall if not available.
29386 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29387 __vdso_time.
29388
f1f929d7
UD
29389 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29390 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29391 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29392 Add sendmmsg and internal_sendmmsg.
29393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29394 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29395 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29396
ce67228d
UD
29397 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29398 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29400
e57420c6
UD
294012011-05-27 Ulrich Drepper <drepper@gmail.com>
29402
a8509ca5
UD
29403 [BZ #12813]
29404 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29405 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29406 available.
29407 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29408 __vdso_getcpu.
29409
e57420c6
UD
29410 [BZ #12814]
29411 * iconvdata/Makefile (tests): Add bug-iconv9.
29412 * iconvdata/bug-iconv9.c: New file.
29413
4d07db15
AS
294142011-05-27 Andreas Schwab <schwab@redhat.com>
29415
29416 [BZ #12814]
29417 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29418
ea486f69
JJ
294192011-05-25 Jakub Jelinek <jakub@redhat.com>
29420
29421 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29422 (struct user_regs_struct): Change intcs field back to cs.
29423
6f038433
UD
294242011-05-25 Ulrich Drepper <drepper@gmail.com>
29425
29426 * po/ja.po: Update from translation team.
29427
67f86a25
UD
294282011-05-23 Ulrich Drepper <drepper@gmail.com>
29429
29430 [BZ #12795]
29431 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29433
def7fbd6
AS
294342011-05-20 Andreas Schwab <schwab@redhat.com>
29435
29436 * stdlib/longlong.h: Update from GCC.
29437
f50ef8f1
AS
294382011-05-23 Andreas Schwab <schwab@redhat.com>
29439
29440 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29441 parameter name.
29442 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29443 Add parameter name.
29444 (__sysconf): Pass it down.
29445
de7ce8f1
UD
294462011-05-22 Ulrich Drepper <drepper@gmail.com>
29447
f2962a71
UD
29448 [BZ #12671]
29449 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29450 some situations.
29451 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29452 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29453 add in in __libc_use_alloca calls. Adjust callers.
29454 (glob): Use malloc in some situations.
29455
de7ce8f1
UD
29456 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29457 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29458 pltexit.
29459
aec84f53
UD
294602011-05-21 Ulrich Drepper <drepper@gmail.com>
29461
05bb4a68
UD
29462 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29463 and CLOCK_BOOTTIME_ALARM.
29464
7ea72f99
UD
29465 [BZ #12782]
29466 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29467 is returned.
29468
7e4afad5
UD
29469 * string/_strerror.c (__strerror_r): Print negative errors as signed
29470 numbers.
29471
8e211fec
UD
29472 [BZ #12777]
29473 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29474 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29475 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29476
f7d82dc9
UD
29477 * configure.in: Fix typo in redirection and correct removal of test
29478 files in two cases.
29479
cc9e536d
UD
29480 [BZ #12788]
29481 * locale/setlocale.c (new_composite_name): Fix test to check for
29482 identical name of all categories.
29483
aec84f53
UD
29484 [BZ #12792]
29485 * libio/filedoalloc.c (local_isatty): New function.
29486 (_IO_file_doallocate): Use local_isatty.
29487 * stdio-common/perror.c (perror): In case a new stream is used
29488 forward the stream error.
29489 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29490 error flag.
29491
78e64fdc
RT
294922011-05-20 Ulrich Drepper <drepper@gmail.com>
29493
34a9094f
UD
29494 [BZ #11869]
29495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29496 alloca.
29497 * include/alloca.h (extend_alloca_account): Define.
29498
78e64fdc
RT
29499 [BZ #11857]
29500 * posix/regex.h: Fix comments with documentation of user-accessible
29501 fields after compilation and describe correct free'ing of pattern
29502 after re_compile_pattern.
29503 Patch by Reuben Thomas <rrt@sc3d.org>.
29504
457bddfc
RA
295052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29506
29507 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29508 and -mno-altivec to prevent the compiler from using Altivec and/or
29509 VSX instructions when the corresponding registers are not available.
29510
a4527b51
AS
295112011-05-19 Andreas Schwab <schwab@redhat.com>
29512
29513 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29514
ed690b2f
UD
295152011-05-19 Ulrich Drepper <drepper@gmail.com>
29516
29517 * libio/freopen.c (freopen): Use __dup2, not dup2.
29518 * libio/freopen64.c (freopen64): Likewise.
29519
8db73634
L
295202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29521
29522 [BZ #12775]
29523 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29524 * math/Makefile (tests): Add test-powl.
29525 (CFLAGS-test-powl.c): Define.
29526 * math/test-powl.c: New file.
29527
0a197a9d
L
295282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29531
ee30c380
UD
295322011-05-17 Ulrich Drepper <drepper@gmail.com>
29533
29534 [BZ #11837]
29535 * iconvdata/gb18030.c: Update to GB18020-2005.
29536
6ce75379
UD
295372011-05-16 Ulrich Drepper <drepper@gmail.com>
29538
a4b89fd8
AR
29539 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29540 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29541 Patch by Aharon Robbins <arnold@skeeve.com>.
29542
ea389b12
UD
29543 [BZ #11892]
29544 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29545 on the stack.
29546
68a3f91f
UD
29547 [BZ #11895]
29548 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29549 through underflows.
29550
15cc7dd1
UD
29551 [BZ #12766]
29552 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29553 point to strings before performing equality test for error_one_per_line
29554 mode.
29555
f3799213
UD
29556 [BZ #11697]
29557 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29558
d79a9c94
UD
29559 [BZ #11820]
29560 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29561 (struct user_fpregs_struct): Avoid __uint*_t types.
29562
56e5eb46
UD
29563 [BZ #6420]
29564 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29565 symbol info. Use it instead of calling _dl_addr locally.
29566 (lock_and_info): New function.
29567 (tr_freehook): Call lock_and_info and pass symbol info as additional
29568 parameter to tr_where.
29569 (tr_mallochook): Likewise.
29570 (tr_reallochook): Likewise.
29571 (tr_memalignhook): Likewise.
29572
6ce75379
UD
29573 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29574 used and couldn't be at all thread-safe.
29575
f8a3b5bf
UD
295762011-05-15 Ulrich Drepper <drepper@gmail.com>
29577
94b7cc37
UD
29578 * libio/freopen.c (freopen): Don't close old file descriptor
29579 before the new one is opened. Instead dup the new file descriptor
29580 to the old one after the new stream is created.
29581 * libio/freopen64.c (freopen64): Likewise.
29582 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29583 * libio/fileops.c (_IO_new_file_close_it): Handle new
29584 _IO_FLAGS2_NOCLOSE flag.
29585 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29586 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29587 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29588 _IO_FLAGS2_NOCLOSE flag.
29589 * include/unistd.h: Add hidden_proto for dup3.
29590 Define __have_dup3.
29591 * io/dup3.c: Define hidden symbol.
29592 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29593
bd25564e
UD
29594 [BZ #7101]
29595 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29596 when an incomplete long option is used.
29597 * posix/tst-getopt_long1.c: New file.
29598 * posix/Makefile (tests): Add tst-getopt_long1.
29599
c84cfef4
UD
29600 [BZ #10138]
29601 * scripts/config.guess: Update from autoconf-2.68.
29602 * scripts/config.sub: Likewise.
29603
3b85df27
UD
29604 [BZ #10157]
29605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29606 tests into ...
29607 (has_cpuclock): ...this. New function.
29608 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29609 macro here based on has_cpuclock code.
29610
15a856b1
UD
29611 [BZ #10149]
29612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29613 First byte (not low byte) is now always NUL.
29614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29615
05f399e6
UD
29616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29617 Use non-cancelable interfaces.
29618
10a52685 29619 [BZ #9809]
94ecc67d
UD
29620 * locale/iso-639.def: Add entry for Sorani.
29621
f8a3b5bf
UD
29622 [BZ #11901]
29623 * include/stdlib.h: Move include protection to the right place.
29624 Define abort_msg_s. Declare __abort_msg with it.
29625 * stdlib/abort.c (__abort_msg): Adjust type.
29626 * assert/assert.c (__assert_fail_base): New function. Majority
29627 of code from __assert_fail. Allocate memory for __abort_msg with
29628 mmap.
29629 (__assert_fail): Now call __assert_fail_base.
29630 * assert/assert-perr.c: Remove bulk of implementation. Use
29631 __assert_fail_base.
29632 * include/assert.hL Declare __assert_fail_base.
29633 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29634 mmap.
29635 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29636
1af4e298
UD
296372011-05-14 Ulrich Drepper <drepper@gmail.com>
29638
f8a3b5bf 29639 [BZ #11952]
d26dfc60
MG
29640 [BZ #12453]
29641 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29642 until all modules are registered in the DTV.
29643 * elf/Makefile: Add rules to build and run tst-tls19.
29644 * elf/tst-tls19.c: New file.
29645 * elf/tst-tls19mod1.c: New file.
29646 * elf/tst-tls19mod2.c: New file.
29647 * elf/tst-tls19mod3.c: New file.
29648 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29649
2fc54d6f
UD
29650 [BZ #12083]
29651 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29652 correctly.
29653
98d76b46
UD
29654 [BZ #12601]
29655 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29656 two-byte sequence errors.
29657 * iconvdata/Makefile (tests): Add bug-iconv8.
29658 * iconvdata/bug-iconv8.c: New file.
29659
da3c19ef
UD
29660 [BZ #12626]
29661 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29662 buf2 definition.
29663
ca408c15
UD
29664 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29665
d6f67f7d
UD
29666 [BZ #12432]
29667 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29668 (dummy_getcfa): New function.
29669 (init): Get _Unwind_GetCFA address, use dummy if not found.
29670 (backtrace_helper): In recursion check, also check whether CFA changes.
29671 (__backtrace): Completely initialize arg.
29672
1af4e298 29673 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29674 storing incomplete byte sequence in state object. Avoid testing for
29675 guaranteed too small input if we know there is enough data available.
1af4e298 29676
da62f81b
AS
296772011-05-11 Andreas Schwab <schwab@redhat.com>
29678
29679 * Makeconfig (+link-pie): Indent.
29680 * Rules (binaries-pie): Define if $(have-fpie) and
29681 $(build-shared).
29682 (binaries-shared): Also filter out $(binaries-pie).
29683 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29684 * nscd/Makefile (others-pie): Add nscd.
29685 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29686 ($(objpfx)nscd): Remove command override.
29687 * login/Makefile (others-pie): Add pt_chown.
29688 ($(objpfx)pt_chown): Remove command override.
29689 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29690 remove command overrides.
29691
fcabc0f8
UD
296922011-05-13 Ulrich Drepper <drepper@gmail.com>
29693
20030ae6
UD
29694 * libio/tst_putwc.c: Fix error messages.
29695
fcabc0f8
UD
29696 [BZ #12724]
29697 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29698 currently writing and seek to current position when not.
29699 * libio/Makefile (tests): Add bug-fclose1.
29700 * libio/bug-fclose1.c: New file.
29701
320a5dc0
PB
297022011-05-12 Ulrich Drepper <drepper@gmail.com>
29703
29704 [BZ #12511]
29705 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29706 don't set DF_1_NODELETE here.
29707 (do_lookup_x): When entering new entry test for copy relocation
29708 and if necessary set DF_1_NODELETE flag.
29709 * elf/tst-unique4.cc: New file.
29710 * elf/tst-unique4.h: New file.
29711 * elf/tst-unique4lib.cc: New file.
29712 * elf/Makefile: Add rules to build and run tst-unique4.
29713 Patch by Piotr Bury <pbury@goahead.com>.
29714
22836f52
UD
297152011-05-11 Ulrich Drepper <drepper@gmail.com>
29716
f574184a
UD
29717 [BZ #12052]
29718 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29719
e1fb097f
UD
29720 [BZ #12625]
29721 * misc/mntent_r.c (addmntent): Flush the stream after the output
29722
22836f52
UD
29723 [BZ #12393]
29724 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29725 (is_trusted_path_normalize): Skip initial colon. Append slash
29726 to empty buffer. Duplicate is_trusted_path code but allow
29727 constructed patch to be prefix.
29728 (is_dst): Allow $ORIGIN followed by /.
29729 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29730 Correct testing of result of is_trusted_path_normalize
29731 (decompose_rpath): Fix warning.
29732
7b3b0b2a
UD
297332011-05-10 Ulrich Drepper <drepper@gmail.com>
29734
29735 [BZ #11257]
29736 * grp/initgroups.c (internal_getgrouplist): When we found the service
29737 list through the initgroups entry in nsswitch.conf do not always
29738 continue on a successful lookup. Don't always use the
eac80ce2 29739 __nss_group_database value if it is set.
7b3b0b2a
UD
29740 * nss/nsswitch.conf (initgroups): Change action for successful db
29741 lookup to continue for compatibility.
29742
2a81eaa5
UD
297432011-05-09 Ulrich Drepper <drepper@gmail.com>
29744
be97a69e
UD
29745 [BZ #11532]
29746 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29747 and CP774 modules.
29748 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29749 and CP774 modules.
29750 * iconvdata/tst-tables.sh: Likewise.
29751 * iconvdata/cp770.c: New file.
29752 * iconvdata/cp771.c: New file.
29753 * iconvdata/cp772.c: New file.
29754 * iconvdata/cp773.c: New file.
29755 * iconvdata/cp774.c: New file.
29756 * iconvdata/testdata/CP770: New file.
29757 * iconvdata/testdata/CP770..UTF8: New file.
29758 * iconvdata/testdata/CP771: New file.
29759 * iconvdata/testdata/CP771..UTF8: New file.
29760 * iconvdata/testdata/CP772: New file.
29761 * iconvdata/testdata/CP772..UTF8: New file.
29762 * iconvdata/testdata/CP773: New file.
29763 * iconvdata/testdata/CP773..UTF8: New file.
29764 * iconvdata/testdata/CP774: New file.
29765 * iconvdata/testdata/CP774..UTF8: New file.
29766
29767 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29768 END CHARMAP line.
29769 * iconvdata/gen-8bit-gap.sh: Likewise.
29770 * iconvdata/gen-8bit.sh: Likewise.
29771
c1e9e399
UD
29772 * locale/iso-639.def: Add ary entry.
29773
24c55fb3 29774 [BZ #11258]
96b4b1b0
UD
29775 * locale/C-translit.h.in: Add U20A1 transliteration.
29776
bdc2f971
KB
29777 [BZ #12178]
29778 * locale/iso-639.def: Add wae entry.
29779 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29780
2952b117
UD
29781 [BZ #12545]
29782 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29783 for n.
29784
2a81eaa5
UD
29785 [BZ #12711]
29786 * locale/C-translit.h.in: Add entry for U20B9.
29787 Patch by pravin.d.s@gmail.com.
29788
28377d1b
UD
297892011-05-08 Ulrich Drepper <drepper@gmail.com>
29790
7fb90fb8
UD
29791 [BZ #12713]
29792 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29793 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29794 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29795 in rtld. Use *stat64.
7fb90fb8 29796 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29797 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29798 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29799 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29800 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29801 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29802 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29803 __fstatat64 macros.
7fb90fb8
UD
29804 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29805 * dirent/rewinddir.c: Add libc_hidden_def.
29806 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29807 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29808
28377d1b
UD
29809 * include/dirent.h (__alloc_dir): Add flags parameter.
29810 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29811 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29812 __alloc_dir.
29813 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29814 from fdopendir if O_CLOEXEC is already set.
29815
66bdbaa4
AM
298162011-03-15 Alan Modra <amodra@gmail.com>
29817
29818 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29819 l_tls_firstbyte_offset non-zero. Save padding offset in
29820 l_tls_firstbyte_offset for later use.
29821 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29822 freeing static tls block.
29823
95721191
JN
298242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29825
29826 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29827 where #ifdef was intended. The intent is to prevent ARG_MAX from
29828 being defined by the kernel headers.
29829
f87dfb1f
UD
298302011-05-07 Ulrich Drepper <drepper@gmail.com>
29831
29832 [BZ #12734]
29833 * resolv/resolv.h: Define RES_NOTLDQUERY.
29834 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29835 no-tld-query and set RES_NOTLDQUERY.
29836 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29837 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29838 modern BIND to search name as TLD unless forbidden.
29839
47c3cd7a
UD
298402011-05-07 Petr Baudis <pasky@suse.cz>
29841 Ulrich Drepper <drepper@gmail.com>
29842
29843 [BZ #12393]
29844 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29845 (is_trusted_path): ...to here.
c1e9ea35 29846 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29847 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29848 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29849
8a35c912
PP
298502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29851
29852 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29853 __BEGIN/__END_DECLS.
29854
acd41f47
UD
298552011-05-06 Ulrich Drepper <drepper@gmail.com>
29856
29857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29858 NSS_STATUS_NOTFOUND if no record was found.
29859
597df647
AS
298602011-05-05 Andreas Schwab <schwab@redhat.com>
29861
29862 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29863 (headers-not-in-tirpc): Remove rpc/netdb.h
29864 * resolv/netdb.h: Revert last change.
29865
b9af1301
PP
298662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29867
29868 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29869 circular dependency between libgcc.a and libc.a.
29870
4e34d5f5
AS
298712011-05-05 Andreas Schwab <schwab@redhat.com>
29872
29873 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29874 * nis/Makefile: Don't install rpcsvc/*.
29875 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29876 instead of <rpc/types.h>.
29877 (MAXHOSTNAMELEN): Define.
29878
00ee369c
AS
298792011-05-03 Andreas Schwab <schwab@redhat.com>
29880
29881 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29882
0b592a30
MB
298832011-04-28 Maciej Babinski <mbabinski@google.com>
29884
29885 [BZ #12714]
29886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29887 gethostbyname4_r when IPv6 results are possible.
29888
6e04cbbe
UD
298892011-05-02 Ulrich Drepper <drepper@gmail.com>
29890
29891 [BZ #12723]
29892 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29893 _PC_PIPE_BUF handling.
29894
e4ecafe0
BH
298952011-04-30 Bruno Haible <bruno@clisp.org>
29896
29897 [BZ #12717]
29898 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29899 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29900 to 'int'.
29901 * inet/getnameinfo.c (getnameinfo): Likewise.
29902
125ee683
UD
299032011-04-29 Ulrich Drepper <drepper@gmail.com>
29904
29905 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29906 to groups setting in database lookup.
29907 * nss/nsswitch.conf: Add initgroups entry.
29908
b722481a
EB
299092011-04-22 Ulrich Drepper <drepper@gmail.com>
29910
29911 [BZ #12685]
29912 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29913 mode string.
29914 Patch by Eric Blake <eblake@redhat.com>.
29915
4df46dbd
L
299162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29917
29918 * sunrpc/Makefile (need-export-routines): Add svc_run.
29919 (routines): Remove svc_run.
29920 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29921 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29922 * sunrpc/svc_run.c (svc_run): Likewise.
29923 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29924
e84142d2
UD
299252011-04-21 Ulrich Drepper <drepper@gmail.com>
29926
29927 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29928 problem in reallocation in last patch.
29929
877175d8
UD
299302011-04-20 Ulrich Drepper <drepper@gmail.com>
29931
29932 * sunrpc/Makefile: Move inclusion of Rules.
29933
ab8eed78
UD
299342011-04-19 Ulrich Drepper <drepper@gmail.com>
29935
29936 * nss/nss_files/files-initgroups.c: New file.
29937 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29938 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29939 _nss_files_initgroups_dyn.
29940
e3d8f584
RS
299412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29942
29943 * elf/elf.h (R_ARM_IRELATIVE): Define.
29944
af190f45
UD
299452011-04-19 Ulrich Drepper <drepper@gmail.com>
29946
29947 * po/ru.po: Update from translation team.
29948
53cf59ef
UD
299492011-04-17 Ulrich Drepper <drepper@gmail.com>
29950
29951 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29952 dependencies.
29953
4c559bcd
MF
299542011-02-06 Mike Frysinger <vapier@gentoo.org>
29955
29956 [BZ #12653]
29957 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29958 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29962
4420675c
AS
299632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29964
29965 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29966 differing bytes.
29967 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29970
75ea32ab
UD
299712011-04-17 Ulrich Drepper <drepper@gmail.com>
29972
29973 [BZ #12420]
29974 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29975 storing it.
29976 * stdlib/bug-getcontext.c: New file.
29977 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29978
27390476
AK
299792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29980
29981 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29982 instructions into .machine "z9-109".
29983 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29984 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29985
10442705
AK
299862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29987
29988 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29989 between environment variables and auxiliary vector.
29990
7b57bfe5
UD
299912011-04-16 Ulrich Drepper <drepper@gmail.com>
29992
29993 * Makefile: Add rules to build linkobj/libc.so.
29994 * include/libc-symbols.h: Define libc_hidden_nolink.
29995 * include/rpc/auth.h: Mark functions which are to be hidden.
29996 * include/rpc/auth_des.h: Likewise.
29997 * include/rpc/auth_unix.h: Likewise.
29998 * include/rpc/clnt.h: Likewise.
29999 * include/rpc/des_crypt.h: Likewise.
30000 * include/rpc/key_prot.h: Likewise.
30001 * include/rpc/pmap_clnt.h: Likewise.
30002 * include/rpc/pmap_prot.h: Likewise.
30003 * include/rpc/pmap_rmt.h: Likewise.
30004 * include/rpc/rpc_msg.h: Likewise.
30005 * include/rpc/svc.h: Likewise.
30006 * include/rpc/svc_auth.h: Likewise.
30007 * include/rpc/xdr.h: Likewise.
30008 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30009 * nss/Makefile: Likewise.
30010 * sunrpc/Makefile: Don't install headers. Build library with normal
30011 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30012 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30013 for the compat linking library. Remove use of INTDEF/INTUSE.
30014 * sunrpc/auth_none.c: Likewise.
30015 * sunrpc/auth_unix.c: Likewise.
30016 * sunrpc/authdes_prot.c: Likewise.
30017 * sunrpc/authuxprot.c: Likewise.
30018 * sunrpc/clnt_gen.c: Likewise.
30019 * sunrpc/clnt_perr.c: Likewise.
30020 * sunrpc/clnt_raw.c: Likewise.
30021 * sunrpc/clnt_simp.c: Likewise.
30022 * sunrpc/clnt_tcp.c: Likewise.
30023 * sunrpc/clnt_udp.c: Likewise.
30024 * sunrpc/clnt_unix.c: Likewise.
30025 * sunrpc/des_crypt.c: Likewise.
30026 * sunrpc/des_soft.c: Likewise.
30027 * sunrpc/get_myaddr.c: Likewise.
30028 * sunrpc/key_call.c: Likewise.
30029 * sunrpc/key_prot.c: Likewise.
30030 * sunrpc/netname.c: Likewise.
30031 * sunrpc/pm_getmaps.c: Likewise.
30032 * sunrpc/pm_getport.c: Likewise.
30033 * sunrpc/pmap_clnt.c: Likewise.
30034 * sunrpc/pmap_prot.c: Likewise.
30035 * sunrpc/pmap_prot2.c: Likewise.
30036 * sunrpc/pmap_rmt.c: Likewise.
30037 * sunrpc/publickey.c: Likewise.
30038 * sunrpc/rpc_cmsg.c: Likewise.
30039 * sunrpc/rpc_common.c: Likewise.
30040 * sunrpc/rpc_dtable.c: Likewise.
30041 * sunrpc/rpc_prot.c: Likewise.
30042 * sunrpc/rpc_thread.c: Likewise.
30043 * sunrpc/rtime.c: Likewise.
30044 * sunrpc/svc.c: Likewise.
30045 * sunrpc/svc_auth.c: Likewise.
30046 * sunrpc/svc_authux.c: Likewise.
30047 * sunrpc/svc_raw.c: Likewise.
30048 * sunrpc/svc_run.c: Likewise.
30049 * sunrpc/svc_simple.c: Likewise.
30050 * sunrpc/svc_tcp.c: Likewise.
30051 * sunrpc/svc_udp.c: Likewise.
30052 * sunrpc/svc_unix.c: Likewise.
30053 * sunrpc/svcauth_des.c: Likewise.
30054 * sunrpc/xcrypt.c: Likewise.
30055 * sunrpc/xdr.c: Likewise.
30056 * sunrpc/xdr_array.c: Likewise.
30057 * sunrpc/xdr_float.c: Likewise.
30058 * sunrpc/xdr_intXX_t.c: Likewise.
30059 * sunrpc/xdr_mem.c: Likewise.
30060 * sunrpc/xdr_rec.c: Likewise.
30061 * sunrpc/xdr_ref.c: Likewise.
30062 * sunrpc/xdr_sizeof.c: Likewise.
30063 * sunrpc/xdr_stdio.c: Likewise.
30064
e6c61494
UD
300652011-04-10 Ulrich Drepper <drepper@gmail.com>
30066
30067 [BZ #12650]
30068 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30069 * sysdeps/ia64/dl-tls.h: Likewise.
30070 * sysdeps/powerpc/dl-tls.h: Likewise.
30071 * sysdeps/s390/dl-tls.h: Likewise.
30072 * sysdeps/sh/dl-tls.h: Likewise.
30073 * sysdeps/sparc/dl-tls.h: Likewise.
30074 * sysdeps/x86_64/dl-tls.h: Likewise.
30075 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30076
34fe483e
AS
300772011-03-14 Andreas Schwab <schwab@redhat.com>
30078
30079 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30080 rpath element also skip the following colon.
30081 (expand_dynamic_string_token): Add is_path parameter and pass
30082 down to DL_DST_REQUIRED and _dl_dst_substitute.
30083 (decompose_rpath): Call expand_dynamic_string_token with
30084 non-zero is_path. Ignore empty rpaths.
30085 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30086 with zero is_path.
30087
f12a32e6
AS
300882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30089
30090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30091 Make cancelable.
30092
38a7d692
UD
300932011-04-09 Ulrich Drepper <drepper@gmail.com>
30094
30095 [BZ #12655]
30096 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30097 Patch by Filipe David Manana <fdmanana@apache.org>.
30098
e451d22b
AS
300992011-04-07 Andreas Schwab <schwab@redhat.com>
30100
30101 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30102 Maintain aligned stack.
30103 (CHECK_RSP): Remove unused macro.
30104
dedc7c7b
UD
301052011-04-03 Ulrich Drepper <drepper@gmail.com>
30106
30107 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30108 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30109
94521213
UD
301102011-04-02 Ulrich Drepper <drepper@gmail.com>
30111
30112 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30113
8cb700c0 30114 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30115
0354e355
L
301162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30117
30118 [BZ #12518]
30119 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30120 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30121 * sysdeps/x86_64/memmove.c: New file.
30122 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30123 (memcpy): Renamed to ...
30124 (__new_memcpy): This.
30125 (memcpy): Provide GLIBC_2_14 memcpy.
30126 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30127 (memcpy): Provide GLIBC_2_2_5 memcpy.
30128
8593482f
UD
301292011-04-01 Ulrich Drepper <drepper@gmail.com>
30130
30131 [BZ #12631]
30132 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30133
81a5726b
AS
301342011-03-30 Andreas Schwab <schwab@redhat.com>
30135
30136 * misc/syncfs.c: New file.
30137 * misc/Makefile (routines): Add syncfs.
30138 * posix/unistd.h: Declare syncfs.
30139 * sysdeps/unix/syscalls.list: Add syncfs.
30140
00e5419f
AS
301412011-04-01 Andreas Schwab <schwab@redhat.com>
30142
30143 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30144 open_by_handle_at.
30145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30146 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30150 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30152
748876bf
UD
301532011-04-01 Ulrich Drepper <drepper@gmail.com>
30154
658e451d
UD
30155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30162
748876bf
UD
30163 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30164 sync_file_range.c with -fexceptions.
30165 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30166 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30167 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30168 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30169 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30170 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30172 sync_file_range as cancellation point
30173 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30174 now a wrapper around __call_sync_file_range with cancellation handling.
30175 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30176 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30177 function name to __call_sync_file_range.
30178 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30179 Add call_sync_file_range.
748876bf 30180
6e63d5e1
AS
301812011-04-01 Andreas Schwab <schwab@redhat.com>
30182
30183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30184 bits/timex.h.
6e63d5e1 30185
46998f74
UD
301862011-04-01 Ulrich Drepper <drepper@gmail.com>
30187
4c1423ed
UD
30188 * iconv/iconv.h: Fix typo in comment.
30189 * io/fcntl.h: Likewise.
30190 * libio/stdio.h: Likewise.
30191 * posix/spawn.h: Likewise.
30192 * posix/unistd.h: Likewise.
30193 * stdlib/stdlib.h: Likewise.
30194 * time/time.h: Likewise.
30195 * wcsmbs/wchar.h: Likewise.
30196
158648c0
UD
30197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30198 open_by_handle): Add.
30199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30200 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30201 Augment a few comments.
30202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30204 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30207 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30208 open_by_handle.
30209
46998f74
UD
30210 * io/fcntl.h (AT_EMPTY_PATH): Define.
30211
83fe108b
UD
302122011-03-30 Ulrich Drepper <drepper@gmail.com>
30213
30214 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30215 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30216 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30217 to...
30218 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30219 * Versions.def: Add GLIBC_2.14.
30220 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30221 Export.
83fe108b 30222
bb242059
UD
302232011-03-22 Ulrich Drepper <drepper@gmail.com>
30224
30225 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30226 round counter.
30227 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30228
c97a1282
L
302292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30230
30231 [BZ #12597]
30232 * string/test-strncmp.c (do_page_test): New function.
30233 (check2): Likewise.
30234 (test_main): Call check2.
30235 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30236
2a115601
UD
302372011-03-20 Ulrich Drepper <drepper@gmail.com>
30238
30239 [BZ #12587]
30240 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30241 Handle cache information in CPU leaf 4.
30242 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30243
8126d904
UD
302442011-03-18 Ulrich Drepper <drepper@gmail.com>
30245
042c49c6 30246 [BZ #12583]
8126d904
UD
30247 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30248 character representation.
30249 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30250
ccfe366e
RA
302512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30252
30253 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30254 END(__isnan) to END(__isnanf) to match function entry point/label
30255 EALIGN(__isnanf,...).
30256
c6e13027
JJ
302572011-03-10 Jakub Jelinek <jakub@redhat.com>
30258
30259 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30260
33f85a3f
UD
302612011-03-10 Ulrich Drepper <drepper@gmail.com>
30262
028478fa
UD
30263 [BZ #12510]
30264 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30265 copy from the symbol referenced in the relocation to initialize the
30266 used variable.
30267 Patch by Piotr Bury <pbury@goahead.com>.
30268 * elf/Makefile: Add rules to build and tst-unique3.
30269 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30270 * elf/tst-unique3.cc: New file.
30271 * elf/tst-unique3.h: New file.
30272 * elf/tst-unique3lib.cc: New file.
30273 * elf/tst-unique3lib2.cc: New file.
30274
33f85a3f
UD
30275 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30276
03592fc7
MF
302772011-03-10 Mike Frysinger <vapier@gentoo.org>
30278
30279 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30280 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30281 to _start.
03592fc7 30282
6a5ee102
UD
302832011-03-06 Ulrich Drepper <drepper@gmail.com>
30284
30285 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30286 to-be-loaded object along a path to loader is ld.so.
30287
7e4ba49c
HJ
302882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30289 Ulrich Drepper <drepper@gmail.com>
30290
30291 * sysdeps/x86_64/memset.S: After aligning destination, code
30292 branches to different locations depending on the value of
30293 misalignment, when multiarch is enabled. Fix this.
30294
302952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30296
30297 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30298 Set _x86_64_preferred_memory_instruction for AMD processsors.
30299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30300 Set bit_Prefer_SSE_for_memop for AMD processors.
30301
13a804de
UD
303022011-03-04 Ulrich Drepper <drepper@gmail.com>
30303
30304 * libio/fmemopen.c (fmemopen): Optimize a bit.
30305
9d25c392
AS
303062011-03-03 Andreas Schwab <schwab@redhat.com>
30307
30308 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30309
a5543c6a
RM
303102011-03-03 Roland McGrath <roland@redhat.com>
30311
30312 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30313
012d35f7
DM
303142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30315
7e4ba49c 30316 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30317 __bzero_ultra1 instead of __memset_ultra1.
30318
4bff6e01
AS
303192011-02-23 Andreas Schwab <schwab@redhat.com>
30320 Ulrich Drepper <drepper@gmail.com>
30321
30322 [BZ #12509]
30323 * include/link.h (struct link_map): Add l_orig_initfini.
30324 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30325 returning unsuccessfully.
30326 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30327 close of a file loaded at startup, restore the original l_initfini
30328 list.
30329 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30330 list, store the pointer.
30331 * elf/Makefile ($(objpfx)noload-mem): New rule.
30332 (noload-ENV): Define.
30333 (tests): Add $(objpfx)noload-mem.
30334 * elf/noload.c: Include <memcheck.h>.
30335 (main): Call mtrace. Close all opened handles.
30336
f2092faf
AS
303372011-02-17 Andreas Schwab <schwab@redhat.com>
30338
30339 [BZ #12454]
30340 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30341 dependencies are missing.
30342
6c8a2e88
ST
303432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30344
f2092faf 30345 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30346 Hurd needs munmap.
30347 * sysdeps/mach/hurd/ifreq.h: New file.
30348
84a42118
PB
303492011-01-27 Petr Baudis <pasky@suse.cz>
30350 Ulrich Drepper <drepper@gmail.com>
30351
071f805e 30352 [BZ 12445]#
84a42118
PB
30353 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30354 to extend_alloca().
30355 * stdio-common/bug23.c: New file.
30356 * stdio-common/Makefile (tests): Add bug23.
30357
e23fe25b
AS
303582010-09-28 Andreas Schwab <schwab@redhat.com>
30359 Ulrich Drepper <drepper@gmail.com>
30360
30361 [BZ #12489]
30362 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30363 before performing relro protection. At old place add assertion
30364 to make sure nothing changed.
30365
d3f02e10
NS
303662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30367 Glauber de Oliveira Costa <glommer@gmail.com>
30368
30369 * elf/elf.h: Add new ARM TLS relocs.
30370
d55fd7a5
RA
303712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30372
30373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30374 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30375 cast from r3.
30376 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30377 'tests' variable.
30378 * sysdeps/wordsize-64/tst-writev.c: New file.
30379
2206397e
RA
303802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30381
30382 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30383 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30384 insns in _dl_start to prevent a TOC reference before relocs are
30385 resolved.
30386
e9433893
UD
303872011-02-15 Ulrich Drepper <drepper@gmail.com>
30388
30389 [BZ #12469]
30390 * Makeconfig: Remove RANLIB definition.
30391 * Makerules: Don't use RANLIB.
30392 * aclocal.m4: Remove ranlib test.
30393 * configure.in: No need to check for ranlib.
30394 * elf/rtld-Rules: Don't use RANLIB.
30395
f75286c6
ST
303962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30397
8e31c82d
ST
30398 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30399 protection macro.
30400 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30401 inclusion protection macro.
30402
f75286c6
ST
30403 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30404 SIGRTMIN and SIGRTMAX and print information in that case only when
30405 SIGRTMIN is defined.
30406
c1d0e639
JJ
304072011-02-11 Jakub Jelinek <jakub@redhat.com>
30408
30409 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30410 arginfo fn returning -1.
30411
30412 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30413 and thousands string is zero terminated.
30414
edf9294e
AS
304152011-02-03 Andreas Schwab <schwab@redhat.com>
30416
30417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30418 sysdeps/unix/sysv/linux/bits/socket.h.
30419
2b7e92df
ST
304202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30421
edf9294e
AS
30422 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30423 (__CPU_COUNT): Remove old macros.
30424 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30425 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30426 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30427 (__sched_cpualloc, __sched_cpufree): Add declarations.
30428
a4c7ea7b
UD
304292011-02-05 Ulrich Drepper <drepper@gmail.com>
30430
30431 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30432 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30433 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30434 (readdhstai): Return value of addhstaiX call.
30435 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30436 (addgrbyX): Return value returned by cache_addgr.
30437 (readdgrbyname): Return value returned by addgrbyX.
30438 (readdgrbygid): Likewise.
30439 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30440 (addpwbyX): Return value returned by cache_addpw.
30441 (readdpwbyname): Return value returned by addhstbyX.
30442 (readdpwbyuid): Likewise.
30443 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30444 (addservbyX): Return value returned by cache_addserv.
30445 (readdservbyname): Return value returned by addservbyX:
30446 (readdservbyport): Likewise.
30447 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30448 (addhstbyX): Return value returned by cache_addhst.
30449 (readdhstbyname): Return value returned by addhstbyX.
30450 (readdhstbyaddr): Likewise.
30451 (readdhstbynamev6): Likewise.
30452 (readdhstbyaddrv6): Likewise.
30453 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30454 (readdinitgroups): Return value returned by addinitgroupsX.
30455 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30456 (prune_cache): Keep track of timeout value of re-added entries.
30457 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30458 * nscd/nscd.h: Adjust prototypes of readd* functions.
30459
a0bf67cc
RM
304602011-02-04 Roland McGrath <roland@redhat.com>
30461
30462 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30463 (nis_stats): Likewise.
30464 * nis/nis_modify.c (nis_modify): Likewise.
30465 * nis/nis_remove.c (nis_remove): Likewise.
30466 * nis/nis_add.c (nis_add): Likewise.
30467
30468 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30469
30470 * posix/fnmatch_loop.c: Add some consts.
30471
30472 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30473
435b95eb
L
304742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30475
30476 [BZ #12460]
30477 * config.make.in (config-cflags-novzeroupper): Define.
30478 * configure.in: Substitute libc_cv_cc_novzeroupper.
30479 * elf/Makefile (AVX-CFLAGS): Define.
30480 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30481 (CFLAGS-tst-auditmod4a.c): Likewise.
30482 (CFLAGS-tst-auditmod4b.c): Likewise.
30483 (CFLAGS-tst-auditmod6b.c): Likewise.
30484 (CFLAGS-tst-auditmod6c.c): Likewise.
30485 (CFLAGS-tst-auditmod7b.c): Likewise.
30486 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30487
8517b15e
UD
304882011-02-02 Ulrich Drepper <drepper@gmail.com>
30489
30490 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30491 function to the callback.
30492 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30493
10a656fe
AS
304942011-02-02 Andreas Schwab <schwab@redhat.com>
30495
30496 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30497 of errno.
30498
968dad0a
UD
304992011-01-19 Ulrich Drepper <drepper@gmail.com>
30500
9f94d2ea 30501 [BZ #11724]
968dad0a
UD
30502 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30503 of constructors.
30504 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30505 of destructors.
30506 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30507
30508 [BZ #11724]
30509 * elf/Makefile: Add rules to build and run new test.
30510 * elf/tst-initorder.c: New file.
30511 * elf/tst-initorder.exp: New file.
30512 * elf/tst-initordera1.c: New file.
30513 * elf/tst-initordera2.c: New file.
30514 * elf/tst-initordera3.c: New file.
30515 * elf/tst-initordera4.c: New file.
30516 * elf/tst-initorderb1.c: New file.
30517 * elf/tst-initorderb2.c: New file.
30518 * elf/tst-order-a1.c: New file.
30519 * elf/tst-order-a2.c: New file.
30520 * elf/tst-order-a3.c: New file.
30521 * elf/tst-order-a4.c: New file.
30522 * elf/tst-order-b1.c: New file.
30523 * elf/tst-order-b2.c: New file.
30524 * elf/tst-order-main.c: New file.
30525 New test case by George Gensure <werkt0@gmail.com>.
30526
86e92359
UD
305272010-10-01 Andreas Schwab <schwab@redhat.com>
30528
30529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30530 decoding ACE if AI_CANONIDN.
30531
5d5732b0
UD
305322011-01-18 Ulrich Drepper <drepper@gmail.com>
30533
30534 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30535
a77e8cbc
UD
305362011-01-17 Ulrich Drepper <drepper@gmail.com>
30537
6392473f
UD
30538 * version.h (RELEASE): Bump for 2.13 release.
30539 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30540
620a0529
UD
30541 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30542
18ba70a5
UD
30543 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30544 MADV_NOHUGEPAGE.
32465c3e
UD
30545 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30547 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30548 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30549 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30550 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30551
c0dafcf1
UD
30552 * posix/getconf.c: Update copyright year.
30553 * catgets/gencat.c: Likewise.
30554 * csu/version.c: Likewise.
30555 * debug/catchsegv.sh: Likewise.
30556 * debug/xtrace.sh: Likewise.
30557 * elf/ldconfig.c: Likewise.
30558 * elf/ldd.bash.in: Likewise.
30559 * elf/sprof.c (print_version): Likewise.
30560 * iconv/iconv_prog.c: Likewise.
30561 * iconv/iconvconfig.c: Likewise.
30562 * locale/programs/locale.c: Likewise.
30563 * locale/programs/localedef.c: Likewise.
30564 * malloc/memusage.sh: Likewise.
30565 * malloc/mtrace.pl: Likewise.
30566 * nscd/nscd.c (print_version): Likewise.
30567 * nss/getent.c: Likewise.
30568
a77e8cbc
UD
30569 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30570 PF_CAIF, and PF_ALG.
30571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30572
77e8bddf
AS
305732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30574
1f20b93a
AS
30575 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30576 (modules-names): Use them.
30577 (ifunc-test-modules, ifunc-pie-tests): Define.
30578 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30579 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30580 (test-extras): Likewise.
30581 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30582 $(compile-command.c).
30583 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30584 (all-built-dso): Define.
30585 (check-textrel.out, check-execstack.out): Depend on it.
30586
77e8bddf
AS
30587 * configure.in: Don't override --enable-multi-arch.
30588
bc425b33
UD
305892011-01-15 Ulrich Drepper <drepper@gmail.com>
30590
30591 [BZ #6812]
30592 * nscd/hstcache.c (tryagain): Define.
30593 (cache_addhst): Return tryagain not notfound for temporary errors.
30594 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30595 failed.
30596
794c3ad3
UD
305972011-01-14 Ulrich Drepper <drepper@gmail.com>
30598
70181fdd
UD
30599 [BZ #10563]
30600 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30601 to make the syscall.
30602 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30603
794c3ad3
UD
30604 [BZ #12378]
30605 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30606 and fall back to matching as normal character if the string ends before
30607 the matching ']' is found. This is what POSIX requires.
30608 * posix/testfnm.c: Adjust test result.
30609 * posix/globtest.sh: Adjust test result. Add new test.
30610 * posix/tst-fnmatch.input: Likewise.
30611 * posix/tst-fnmatch2.c: Add new test.
30612
68dc9497
AS
306132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30614
30615 * elf/Makefile (check-execstack): Revert last change. Depend on
30616 check-execstack.h.
30617 (check-execstack.h): New target.
30618 (generated): Add check-execstack.h.
30619 * elf/check-execstack.c: Include "check-execstack.h".
30620 (main): Revert last change.
30621 (handle_file): Return zero if GNU_STACK is absent and
30622 DEFAULT_STACK_PERMS doesn't include PF_X.
30623
451f001b
UD
306242011-01-13 Ulrich Drepper <drepper@gmail.com>
30625
cfa28e56
UD
30626 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30627 in child fails because the descriptor is already closed.
8cf8ce17
UD
30628 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30629 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30630 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30631
1086d70d
UD
30632 [BZ #12397]
30633 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30634 syscall.
30635
451f001b
UD
30636 [BZ #10484]
30637 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30638 temporary buffer used to handle multi lookups locally.
a85b5cb4 30639 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30640
08769175
UD
306412011-01-12 Ulrich Drepper <drepper@gmail.com>
30642
30643 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30644 loader is ld.so.
30645
5e49c52e
UD
306462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30647
30648 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30649 alignment for SSE2.
30650
60522a5f
UD
306512011-01-12 Ulrich Drepper <drepper@gmail.com>
30652
30653 [BZ #12394]
30654 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30655 characters. When rounding increased number of integer digits recompute
30656 number of groups.
30657 * stdio-common/tst-grouping.c: New file.
30658 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30659
f257bbd7
UD
306602011-01-09 Ulrich Drepper <drepper@gmail.com>
30661
30662 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30663 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30664
30665 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30666 void.
30667 * bits/select.h: Likewise.
30668
fa9c15cb
UD
306692011-01-08 Ulrich Drepper <drepper@gmail.com>
30670
30671 * po/ja.po: Update from translation team.
30672
16c2895f
DM
306732011-01-04 David S. Miller <davem@sunset.davemloft.net>
30674
30675 [BZ #11155]
30676 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30677 implementation just like for lxstat, fxstatat, et al.
30678
2543fef2
JM
306792010-12-27 Jim Meyering <meyering@redhat.com>
30680
30681 [BZ #12348]
30682 * posix/regexec.c (build_trtable): Return failure indication upon
30683 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30684
98727dbe
UD
306852010-12-25 Ulrich Drepper <drepper@gmail.com>
30686
5bd6dc5c
UD
30687 [BZ #12201]
30688 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30689 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30690 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30691 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30692
97983464
UD
30693 [BZ #12207]
30694 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30695
98727dbe
UD
30696 [BZ #12204]
30697 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30698 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30699
4a531bb0
L
307002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30701
30702 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30703 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30704 script has SORT_BY_INIT_PRIORITY.
30705 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30706 NO_CTORS_DTORS_SECTIONS is defined.
30707 * elf/soinit.c: Likewise.
30708 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30709 NO_CTORS_DTORS_SECTIONS is defined.
30710 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30711 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30712 * sysdeps/sh/init-first.c: Likewise.
30713 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30714
07eb4b71
UD
307152010-12-24 Ulrich Drepper <drepper@gmail.com>
30716
30717 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30718 always use the slow path.
30719
30950a5f
RA
307202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30721
30722 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30723 similar rule which adds the sysdep directories to the header search in
30724 order to pick up the correct platform stackinfo.h.
30725 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30726 perform test if it is, otherwise return successfully without testing.
30727 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30728 DEFAULT_STACK_PERMS define in stackinfo.h.
30729 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30730 defined in stackinfo.h.
30731 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30732 DEFAULT_STACK_PERMS defined in stackinfo.h.
30733 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30734 * sysdeps/ia64/stackinfo.h: Likewise.
30735 * sysdeps/s390/stackinfo.h: Likewise.
30736 * sysdeps/sh/stackinfo.h: Likewise.
30737 * sysdeps/sparc/stackinfo.h: Likewise.
30738 * sysdeps/x86_64/stackinfo.h: Likewise.
30739 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30740 PF_X for powerpc64. Retain PF_X for powerpc32.
30741
db753e2c
UD
307422010-12-19 Ulrich Drepper <drepper@gmail.com>
30743
14b697f7
UD
30744 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30745 accurately.
db753e2c
UD
30746 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30747 GETDENTS_64BIT_ALIGNED.
30748
28300719
UD
307492010-12-14 Ulrich Drepper <dreper@gmail.com>
30750
14b697f7 30751 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30752
4f197237
AS
307532010-12-10 Andreas Schwab <schwab@redhat.com>
30754
dbb0472f
AS
30755 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30756 _GNU_SOURCE.
30757
4f197237
AS
30758 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30759 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30760 Remove __restrict.
30761 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30762 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30763
fb88ac72
UD
307642010-12-09 Ulrich Drepper <drepper@gmail.com>
30765
30766 [BZ #11655]
30767 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30768 are initialized.
30769
42acbb92
JJ
307702010-12-09 Jakub Jelinek <jakub@redhat.com>
30771
30772 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30773
c038d98d
UD
307742010-12-03 Ulrich Drepper <drepper@gmail.com>
30775
30776 * po/it.po: Update from translation team.
30777
3a4a2499
L
307782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30779
30780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30781 unused codes.
30782
1e24cf6e
UD
307832010-11-30 Ulrich Drepper <drepper@gmail.com>
30784
30785 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30786
a7690819
AS
307872010-11-24 Andreas Schwab <schwab@redhat.com>
30788
30789 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30790 specially.
30791 (gaih_getanswer_slice): Likewise.
30792
3bf8d1b1
JJ
307932010-10-20 Jakub Jelinek <jakub@redhat.com>
30794
30795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30796
6db52fbb
PB
307972010-05-31 Petr Baudis <pasky@suse.cz>
30798
30799 [BZ #11149]
30800 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30801 silently even in the chroot mode.
30802
eaca7569
UD
308032010-11-22 Ulrich Drepper <drepper@gmail.com>
30804
30805 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30806 last patch a bit. Pretty printing
30807
3056dcdb
UD
308082010-05-31 Petr Baudis <pasky@suse.cz>
30809
30810 [BZ #10085]
30811 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30812 initialization of skip_initgroups_dyn.
30813
cf7c9078
UD
308142010-11-19 Ulrich Drepper <drepper@gmail.com>
30815
30816 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30817 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30818
a1fb5e3e
UD
308192010-11-16 Ulrich Drepper <drepper@gmail.com>
30820
30821 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30822
3540d66b
AS
308232010-11-11 Andreas Schwab <schwab@redhat.com>
30824
30825 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30826 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30827 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30828 ($(objpfx)tst-fnmatch-mem): New rule.
30829 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30830 * posix/tst-fnmatch.c (main): Call mtrace.
30831
13b69574
L
308322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30833
30834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30835 Support Intel processor model 6 and model 0x2c.
30836
da93d214
LM
308372010-11-10 Luis Machado <luisgpm@br.ibm.com>
30838
30839 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30840 signed comparison.
30841
8ca52c6e
L
308422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30843
30844 [BZ #12205]
30845 * string/test-strncasecmp.c (check_result): New function.
30846 (do_one_test): Use it.
30847 (check1): New function.
30848 (test_main): Use it.
30849 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30850 Support strcasecmp and strncasecmp.
30851
69da074d
UD
308522010-11-08 Ulrich Drepper <drepper@gmail.com>
30853
30854 [BZ #12194]
30855 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30857
ff02d528
L
308582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30859
30860 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30861 IFUNC support.
30862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30863 memset-x86-64.
30864 * sysdeps/x86_64/multiarch/bzero.S: New file.
30865 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30866 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30867 * sysdeps/x86_64/multiarch/memset.S: New file.
30868 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30870 Set bit_Prefer_SSE_for_memop for Intel processors.
30871 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30872 Define.
30873 (index_Prefer_SSE_for_memop): Define.
30874 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30875
344d0b54
LM
308762010-11-04 Luis Machado <luisgpm@br.ibm.com>
30877
30878 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30879 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30880
c0dde15b
UD
308812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30882
30883 [BZ #12191]
30884 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30885 (__x86_64_raw_data_cache_size_half): Likewise.
30886 (__x86_64_raw_shared_cache_size): Likewise.
30887 (__x86_64_raw_shared_cache_size_half): Likewise.
30888
30889 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30890 (__x86_64_raw_data_cache_size_half): Likewise.
30891 (__x86_64_raw_shared_cache_size): Likewise.
30892 (__x86_64_raw_shared_cache_size_half): Likewise.
30893 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30894 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30895 and __x86_64_raw_shared_cache_size_half. Round
30896 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30897 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30898 to multiple of 256 bytes.
30899
0e516e0e
MS
309002010-11-03 Ulrich Drepper <drepper@gmail.com>
30901
30902 [BZ #12167]
30903 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30904 of inacessible symlinks. Verify result of symlink before returning it.
30905 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30906 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30907
0e012e87
ER
309082010-10-28 Erich Ritz <erichritz@gmail.com>
30909
30910 * math/math.h (isinf): Fix typo in comment.
30911
de0ff7bc
UD
309122010-11-01 Ulrich Drepper <drepper@gmail.com>
30913
30914 * po/da.po: Update from translation team.
30915
fa41c84d
UD
309162010-10-26 Ulrich Drepper <drepper@gmail.com>
30917
30918 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30919 is added to the list.
30920
f0967738
AK
309212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30922 Ulrich Drepper <drepper@gmail.com>
30923
30924 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30925 the global list here. Move code to...
30926 (_dl_add_to_namespace_list): ...here. New function.
30927 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30928 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30929 * elf/dl-load.c (lose): Don't remove the element from the list.
30930 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30931 (_dl_map_object): Likewise.
30932
309332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30934
30935 [BZ #12159]
30936 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30937 into all bytes of SSE register.
30938 Patch by Richard Li <richardpku@gmail.com>.
30939
f0967738 309402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30941
30942 [BZ #12140]
30943 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30944 perturbing.
30945
d0b9e94f
MB
309462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30947
30948 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30949 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30950 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30951 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30953 submachine.
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30955
8e9f92e9
AS
309562010-10-22 Andreas Schwab <schwab@redhat.com>
30957
30958 * include/dlfcn.h (__RTLD_SECURE): Define.
30959 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30960 mode & __RTLD_SECURE instead.
30961 (open_path): Rename preloaded parameter to secure.
30962 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30963 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30964 * elf/dl-deps.c (openaux): Likewise.
30965 * elf/rtld.c (struct map_args): Remove is_preloaded.
30966 (map_doit): Don't use it.
30967 (dl_main): Likewise.
30968 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30969 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30970
bc96fbda
AS
309712010-09-09 Andreas Schwab <schwab@redhat.com>
30972
30973 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30974 (sysd-rules-targets): Remove duplicates.
30975 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30976 rtld-%.$o dependency.
30977
22cd1c9b
AS
309782010-10-18 Andreas Schwab <schwab@redhat.com>
30979
30980 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30981 _dl_map_object do it.
30982
18edac48
UD
309832010-10-19 Ulrich Drepper <drepper@gmail.com>
30984
30985 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30986 fast fma builtins, define the macros in the C99 standard.
30987 (FP_FAST_FMAF): Likewise.
30988 (FP_FAST_FMAL): Likewise.
30989 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30990
30991 * bits/mathdef.h: Update copyright year.
30992 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30993
d2050124
MM
309942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30995
30996 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30997 builtins, define the macros in the C99 standard.
30998 (FP_FAST_FMAF): Likewise.
30999 (FP_FAST_FMAL): Likewise.
31000 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31001 multiply/add.
31002 (FP_FAST_FMAF): Likewise.
31003
475facd1
JJ
310042010-10-15 Jakub Jelinek <jakub@redhat.com>
31005
31006 [BZ #3268]
31007 * math/libm-test.inc (fma_test): Some new testcases.
31008 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31010 y and infinite z. Do multiplication by C already in long double.
31011 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31013 y and infinite z. Do bitwise or of inexact bit into u.d.
31014 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31015 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31016 * sysdeps/i386/fpu/s_fma.S: Removed.
31017 * sysdeps/i386/fpu/s_fmal.S: Removed.
31018
7c08a05c
JJ
310192010-10-16 Jakub Jelinek <jakub@redhat.com>
31020
31021 [BZ #3268]
31022 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31024 computation is not scheduled after fetestexcept. Fix value
31025 of minimum denormal long double.
31026
f3f7372d
JJ
310272010-10-14 Jakub Jelinek <jakub@redhat.com>
31028
31029 [BZ #3268]
31030 * math/libm-test.inc (fma_test): Add some more tests.
31031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31032 correctly.
31033
14d43591
AS
310342010-10-15 Andreas Schwab <schwab@redhat.com>
31035
31036 * scripts/data/localplt-s390-linux-gnu.data: New file.
31037 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31038
5e908464
JJ
310392010-10-13 Jakub Jelinek <jakub@redhat.com>
31040
31041 [BZ #3268]
31042 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31043 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31044 instead of dbl-64.
31045 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31046 inlines.
31047 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31049 if one of x and y is very large and the other is subnormal.
31050 * sysdeps/s390/fpu/s_fmaf.c: New file.
31051 * sysdeps/s390/fpu/s_fma.c: New file.
31052 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31053 * sysdeps/powerpc/fpu/s_fma.S: New file.
31054 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31055 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31056 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31057
310582010-10-12 Jakub Jelinek <jakub@redhat.com>
31059
31060 [BZ #3268]
31061 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31062 fma tests.
31063 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31064 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31065 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31066 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31067 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31068 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31070
b833d51f
UD
310712010-10-12 Ulrich Drepper <drepper@redhat.com>
31072
31073 [BZ #12078]
31074 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31075 * posix/bug-regex31.input: Add test case.
31076
1751705d
UD
310772010-10-11 Ulrich Drepper <drepper@gmail.com>
31078
e9b9cbf5
UD
31079 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31080 * posix/bug-regex31.input: New file.
31081
31082 [BZ #12078]
31083 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31084 (parse_sub_exp): Fix last change, use postorder.
31085
ef06edbe
UD
31086 * posix/bug-regex31.c: New file.
31087 * posix/Makefile: Add rules to build and run bug-regex31.
31088
a129c80d
UD
31089 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31090
31091 [BZ #12078]
31092 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31093
b76b818e
UD
31094 [BZ #12108]
31095 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31096 to have entries in sys_siglist.
31097
1751705d
UD
31098 [BZ #12093]
31099 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31100 be NULL.
31101
9ff8d36f
JJ
311022010-10-07 Jakub Jelinek <jakub@redhat.com>
31103
31104 [BZ #3268]
31105 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31106 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31107 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31108 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31109 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31110 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31111 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31112 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31113 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31114 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31115 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31116 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31117 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31118 * math/ftestexcept.c (fetestexcept): Likewise.
31119 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31120 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31121 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31122 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31123 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31124 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31125 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31126
af325969
UD
311272010-10-11 Ulrich Drepper <drepper@gmail.com>
31128
c579b202 31129 [BZ #12107]
af325969
UD
31130 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31131 newline.
31132
67a67b95
UD
311332010-10-06 Ulrich Drepper <drepper@gmail.com>
31134
31135 * string/bug-strstr1.c: New file.
31136 * string/Makefile: Add rules to build and run bug-strstr1.
31137
5fb308bc
EB
311382010-10-05 Eric Blake <eblake@redhat.com>
31139
31140 [BZ #12092]
31141 * string/str-two-way.h (two_way_long_needle): Always clear memory
31142 when skipping input due to the shift table.
31143
45db99c7
UD
311442010-10-03 Ulrich Drepper <drepper@gmail.com>
31145
3b111893
UD
31146 [BZ #12005]
31147 * malloc/mcheck.c: Handle large requests.
31148
45db99c7
UD
31149 [BZ #12077]
31150 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31151 for strncmp and strncasecmp.
31152 * string/stratcliff.c: Add tests for strcmp and strncmp.
31153 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31154
cf7a1eb8
NI
311552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31156
31157 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31158 __set_fpscr.
31159
6484ba5e
AJ
311602010-09-30 Andreas Jaeger <aj@suse.de>
31161
31162 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31163 (CGROUP_SUPER_MAGIC): Define.
31164 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31165 Handle btrfs and cgroup file systems.
31166 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31167 Likewise.
31168
91c42559
LM
311692010-09-27 Luis Machado <luisgpm@br.ibm.com>
31170
31171 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31172 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31173
87a97932
AK
311742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31175
31176 [BZ #12067]
31177 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31178 trying to locate the ELF header.
31179
c21cc9bc
AS
311802010-09-27 Andreas Schwab <schwab@redhat.com>
31181
31182 [BZ #11611]
31183 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31184 Mask out sign-bit copies when constructing f_fsid.
31185
315970f6
PB
311862010-09-24 Petr Baudis <pasky@suse.cz>
31187
31188 * debug/stack_chk_fail_local.c: Add missing licence exception.
31189 * debug/warning-nop.c: Likewise.
31190
1ac7a2c7
JM
311912010-09-15 Joseph Myers <joseph@codesourcery.com>
31192
31193 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31194 implementing getdents64 using getdents syscall, set d_type if
31195 __ASSUME_GETDENTS32_D_TYPE.
31196
56801c50
AS
311972010-09-16 Andreas Schwab <schwab@redhat.com>
31198
31199 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31200 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31201
dda51327
UD
312022010-09-21 Ulrich Drepper <drepper@redhat.com>
31203
31204 [BZ #12037]
31205 * posix/unistd.h: Undo change of feature selection for ftruncate from
31206 2010-01-11.
31207
8ffcee4a
UD
312082010-09-20 Ulrich Drepper <drepper@redhat.com>
31209
a545ecd9 31210 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31211 detection.
31212
e24f0a8b
AS
312132010-09-20 Andreas Schwab <schwab@redhat.com>
31214
31215 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31216 fanotify_mark.
31217 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31218
7291c56f
AS
312192010-09-14 Andreas Schwab <schwab@redhat.com>
31220
31221 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31222 variables after CHECK_SP call.
31223 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31224
bc5fb037
AS
312252010-09-13 Andreas Schwab <schwab@redhat.com>
31226 Ulrich Drepper <drepper@redhat.com>
31227
31228 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31229 re-relocationg ld.so.
31230 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31231 _dl_init_paths call.
31232 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31233 here anymore.
31234
e66e7419
UD
312352010-09-14 Ulrich Drepper <drepper@redhat.com>
31236
31237 * resolv/res_init.c (__res_vinit): Count the default server we added.
31238
c044aa75
CLT
312392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31240 Ulrich Drepper <drepper@redhat.com>
31241
31242 [BZ #11968]
31243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31244 (____longjmp_chk): Use %ebx for saving value across system call.
31245 Add unwind info.
31246
32cf4069
AS
312472010-09-06 Andreas Schwab <schwab@redhat.com>
31248
31249 * manual/Makefile: Don't mix pattern rules with normal rules.
31250
817328ee
AS
312512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31252
31253 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31254 operation.
31255 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31256 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31257 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31258 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31259 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31260 Likewise.
31261
29fddf61
UD
312622010-09-04 Ulrich Drepper <drepper@redhat.com>
31263
31264 [BZ #11979]
31265 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31266 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31267
0959ffc9
UD
312682010-09-02 Ulrich Drepper <drepper@redhat.com>
31269
31270 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31271 * sysdeps/x86_64/addmul_1.S: Likewise.
31272 * sysdeps/x86_64/lshift.S: Likewise.
31273 * sysdeps/x86_64/mul_1.S: Likewise.
31274 * sysdeps/x86_64/rshift.S: Likewise.
31275 * sysdeps/x86_64/sub_n.S: Likewise.
31276 * sysdeps/x86_64/submul_1.S: Likewise.
31277
ece29840
ST
312782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31279
0959ffc9
UD
31280 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31281 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31282 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31283 * bits/sched.h [__need_schedparam]
ece29840 31284 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31285 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31286 (__defined_schedparam): Define to 1.
ece29840
ST
31287 (__sched_param): New structure, identical to sched_param.
31288 (__need_schedparam): Undefine.
31289
e53a31fe
MF
312902010-08-31 Mike Frysinger <vapier@gentoo.org>
31291
fdc0c10d
MF
31292 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31293 (epoll_create1): Declare.
31294
e53a31fe
MF
31295 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31296
a726d796
AS
312972010-08-31 Andreas Schwab <schwab@redhat.com>
31298
31299 [BZ #7066]
31300 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31301 shifting retval into place.
31302
2f3e3dc7
UD
313032010-09-01 Ulrich Drepper <drepper@redhat.com>
31304
f2933da9
UD
31305 * nis/rpcsvc/nis.h: Update copyright notice.
31306 * nis/rpcsvc/nis.x: Likewise.
31307 * nis/rpcsvc/nis_callback.h: Likewise.
31308 * nis/rpcsvc/nis_callback.x: Likewise.
31309 * nis/rpcsvc/nis_object.x: Likewise.
31310 * nis/rpcsvc/nis_tags.h: Likewise.
31311 * nis/rpcsvc/yp.h: Likewise.
31312 * nis/rpcsvc/yp.x: Likewise.
31313 * nis/rpcsvc/ypupd.h: Likewise.
31314 * nis/yp_xdr.c: Likewise.
31315 * nis/ypupdate_xdr.c: Likewise.
31316
2f3e3dc7
UD
31317 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31318 mainly the body of pmap_getport. Add parameters to specify timeouts.
31319 (pmap_getport): Use __libc_rpc_getport.
31320 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31321 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31322 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31323
f3dcc2f9
AS
313242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31325
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31327 fanotify_mark.
31328
6d34eb5b
RM
313292010-08-27 Roland McGrath <roland@redhat.com>
31330
31331 * sysdeps/i386/i686/multiarch/Makefile
31332 (CFLAGS-varshift.c): New variable.
31333
9ea3de11
UD
313342010-08-27 Ulrich Drepper <drepper@redhat.com>
31335
c96d23fc
UD
31336 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31337 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31338
9ea3de11
UD
31339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31340
31341 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31342
623aac7f
L
313432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31344
31345 * sysdeps/x86_64/strlen.S: Unroll the loop.
31346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31347 strlen-sse2 strlen-sse2-bsf.
31348 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31349 __strlen_no_bsf if bit_Slow_BSF is set.
31350 (__strlen_sse42): Removed.
31351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31352 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31353
8b2b7715
RM
313542010-08-25 Roland McGrath <roland@redhat.com>
31355
31356 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31357 * sysdeps/x86_64/multiarch/varshift.c: New file.
31358 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31359 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31360 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31361 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31362
e73015f2
L
313632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31364
31365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31366 strlen-sse2 strlen-sse2-bsf.
31367 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31368 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31369 (__strlen_sse2): Removed.
31370 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31371 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31373 bit_Slow_BSF for Atom.
31374 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31375 (index_Slow_BSF): Define.
31376 (HAS_SLOW_BSF): Define.
31377
df24a73e
UD
313782010-08-25 Ulrich Drepper <drepper@redhat.com>
31379
31380 [BZ #10851]
31381 * resolv/res_init.c (__res_vinit): When no server address at all
31382 is given default to loopback.
31383
f2ac4868
RM
313842010-08-24 Roland McGrath <roland@redhat.com>
31385
09055553
RM
31386 * configure.in: Remove config-name.h generation.
31387 * configure: Regenerated.
31388 * config-name.in: File removed.
31389 * scripts/config-uname.sh: New file.
31390 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31391 ($(objdir)config-name.h): New target.
31392
f2ac4868
RM
31393 * sunrpc/rpc_parse.h: Avoid nested comment.
31394
73f27d5e
RH
313952010-08-24 Richard Henderson <rth@redhat.com>
31396 Ulrich Drepper <drepper@redhat.com>
31397 H.J. Lu <hongjiu.lu@intel.com>
31398
31399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31401 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31402 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31403 _mm_alignr_epi8 with _mm_loadu_si128.
31404 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31405 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31406 (__m128i_shift_right): Removed.
31407 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31408 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31409 * sysdeps/x86_64/multiarch/varshift.h: New file.
31410 * sysdeps/x86_64/multiarch/varshift.S: New file.
31411
84b9230c
MF
314122010-08-21 Mike Frysinger <vapier@gentoo.org>
31413
31414 * configure.in: Move assembler checks to before sysdep dir checking.
31415
9bbd0ddc
PB
314162010-08-20 Petr Baudis <pasky@suse.cz>
31417
31418 * LICENSES: Sync the sunrpc license.
31419
9da4bb31
UD
314202010-08-19 Ulrich Drepper <drepper@redhat.com>
31421
a7ab6ec8
UD
31422 * sunrpc/auth_des.c: Update copyright notice once again.
31423 * sunrpc/auth_none.c: Likewise.
31424 * sunrpc/auth_unix.c: Likewise.
31425 * sunrpc/authdes_prot.c: Likewise.
31426 * sunrpc/authuxprot.c: Likewise.
31427 * sunrpc/bindrsvprt.c: Likewise.
31428 * sunrpc/clnt_gen.c: Likewise.
31429 * sunrpc/clnt_perr.c: Likewise.
31430 * sunrpc/clnt_raw.c: Likewise.
31431 * sunrpc/clnt_simp.c: Likewise.
31432 * sunrpc/clnt_tcp.c: Likewise.
31433 * sunrpc/clnt_udp.c: Likewise.
31434 * sunrpc/clnt_unix.c: Likewise.
31435 * sunrpc/des_crypt.c: Likewise.
31436 * sunrpc/des_soft.c: Likewise.
31437 * sunrpc/get_myaddr.c: Likewise.
31438 * sunrpc/getrpcport.c: Likewise.
31439 * sunrpc/key_call.c: Likewise.
31440 * sunrpc/key_prot.c: Likewise.
31441 * sunrpc/openchild.c: Likewise.
31442 * sunrpc/pm_getmaps.c: Likewise.
31443 * sunrpc/pm_getport.c: Likewise.
31444 * sunrpc/pmap_clnt.c: Likewise.
31445 * sunrpc/pmap_prot.c: Likewise.
31446 * sunrpc/pmap_prot2.c: Likewise.
31447 * sunrpc/pmap_rmt.c: Likewise.
31448 * sunrpc/rpc/auth.h: Likewise.
31449 * sunrpc/rpc/auth_unix.h: Likewise.
31450 * sunrpc/rpc/clnt.h: Likewise.
31451 * sunrpc/rpc/des_crypt.h: Likewise.
31452 * sunrpc/rpc/key_prot.h: Likewise.
31453 * sunrpc/rpc/netdb.h: Likewise.
31454 * sunrpc/rpc/pmap_clnt.h: Likewise.
31455 * sunrpc/rpc/pmap_prot.h: Likewise.
31456 * sunrpc/rpc/pmap_rmt.h: Likewise.
31457 * sunrpc/rpc/rpc.h: Likewise.
31458 * sunrpc/rpc/rpc_des.h: Likewise.
31459 * sunrpc/rpc/rpc_msg.h: Likewise.
31460 * sunrpc/rpc/svc.h: Likewise.
31461 * sunrpc/rpc/svc_auth.h: Likewise.
31462 * sunrpc/rpc/types.h: Likewise.
31463 * sunrpc/rpc/xdr.h: Likewise.
31464 * sunrpc/rpc_clntout.c: Likewise.
31465 * sunrpc/rpc_cmsg.c: Likewise.
31466 * sunrpc/rpc_common.c: Likewise.
31467 * sunrpc/rpc_cout.c: Likewise.
31468 * sunrpc/rpc_dtable.c: Likewise.
31469 * sunrpc/rpc_hout.c: Likewise.
31470 * sunrpc/rpc_main.c: Likewise.
31471 * sunrpc/rpc_parse.c: Likewise.
31472 * sunrpc/rpc_parse.h: Likewise.
31473 * sunrpc/rpc_prot.c: Likewise.
31474 * sunrpc/rpc_sample.c: Likewise.
31475 * sunrpc/rpc_scan.c: Likewise.
31476 * sunrpc/rpc_scan.h: Likewise.
31477 * sunrpc/rpc_svcout.c: Likewise.
31478 * sunrpc/rpc_tblout.c: Likewise.
31479 * sunrpc/rpc_util.c: Likewise.
31480 * sunrpc/rpc_util.h: Likewise.
31481 * sunrpc/rpcinfo.c: Likewise.
31482 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31483 * sunrpc/rpcsvc/key_prot.x: Likewise.
31484 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31485 * sunrpc/rpcsvc/mount.x: Likewise.
31486 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31487 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31488 * sunrpc/rpcsvc/rex.x: Likewise.
31489 * sunrpc/rpcsvc/rstat.x: Likewise.
31490 * sunrpc/rpcsvc/rusers.x: Likewise.
31491 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31492 * sunrpc/rpcsvc/spray.x: Likewise.
31493 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31494 * sunrpc/rtime.c: Likewise.
31495 * sunrpc/svc.c: Likewise.
31496 * sunrpc/svc_auth.c: Likewise.
31497 * sunrpc/svc_authux.c: Likewise.
31498 * sunrpc/svc_raw.c: Likewise.
31499 * sunrpc/svc_run.c: Likewise.
31500 * sunrpc/svc_simple.c: Likewise.
31501 * sunrpc/svc_tcp.c: Likewise.
31502 * sunrpc/svc_udp.c: Likewise.
31503 * sunrpc/svc_unix.c: Likewise.
31504 * sunrpc/svcauth_des.c: Likewise.
31505 * sunrpc/xcrypt.c: Likewise.
31506 * sunrpc/xdr.c: Likewise.
31507 * sunrpc/xdr_array.c: Likewise.
31508 * sunrpc/xdr_float.c: Likewise.
31509 * sunrpc/xdr_mem.c: Likewise.
31510 * sunrpc/xdr_rec.c: Likewise.
31511 * sunrpc/xdr_ref.c: Likewise.
31512 * sunrpc/xdr_sizeof.c: Likewise.
31513 * sunrpc/xdr_stdio.c: Likewise.
31514
9da4bb31
UD
31515 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31516 handling.
31517
bdaa77bc
AS
315182010-08-19 Andreas Schwab <schwab@redhat.com>
31519
31520 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31521
fe2f79db
LM
315222010-08-19 Luis Machado <luisgpm@br.ibm.com>
31523
31524 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31525 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31526 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31527 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31528 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31529 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31530 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31531 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31533 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31534 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31535 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31536 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31537 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31538
b9b42ee0
AB
315392010-07-26 Anton Blanchard <anton@samba.org>
31540
31541 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31542 * malloc/arena.c (heap_trim): Likewise.
31543
1c06ba31
UD
315442010-08-16 Ulrich Drepper <drepper@redhat.com>
31545
31546 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31547 here. Not...
31548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31549 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31550
f8392f40
L
315512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31552
31553 * sysdeps/i386/elf/Makefile: New file.
31554
3162f12e
AS
315552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31556
31557 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31558 from fanotify_init.
31559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31561
28c90b2c
UD
315622010-08-15 Ulrich Drepper <drepper@redhat.com>
31563
31564 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31565 of strncasecmp_l.
1feccb6c 31566 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31567
ca6bb004
UD
315682010-08-14 Ulrich Drepper <drepper@redhat.com>
31569
e9f82e0d
UD
31570 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31571 strncase_l-nonascii.
31572 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31573 Add strncase_l-ssse3.
31574 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31575 * sysdeps/x86_64/strcmp.S: Likewise.
31576 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31577 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31578 * sysdeps/x86_64/strncase.S: New file.
31579 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31580 * sysdeps/x86_64/strncase_l.S: New file.
31581 * string/Makefile (strop-tests): Add strncasecmp.
31582 * string/test-strncasecmp.c: New file.
31583
31584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31585 warning.
31586
ca6bb004
UD
31587 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31588 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31589
052fa7b3
AS
315902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31591
31592 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31593
962dba78
UD
315942010-08-12 Ulrich Drepper <drepper@redhat.com>
31595
31596 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31597 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31598 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31599
bebff237
AM
316002010-05-01 Alan Modra <amodra@gmail.com>
31601
31602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31603 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31604 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31605 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31606 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31607 tidying. Don't tail-call __sigjmp_save for static lib.
31608 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31609 save location.
31610 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31611 (CALL_MCOUNT): Add eh info, and nop after bl.
31612 (TAIL_CALL_SYSCALL_ERROR): New macro.
31613 (PSEUDO_RET): Use it.
31614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31615 Correct save location of integer regs and cr.
31616 (_dl_profile_resolve): Correct cr save location. Delete nops
31617 after bl when SHARED. Reduce cfi size a little by better
31618 placement of cfi directives.
31619 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31620 make a stack frame. Instead use parm save area as a temp.
31621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31622 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31624 Don't make a stack frame for parent, use parm save area.
31625 Increase child stack frame to 112 bytes. Don't save unused reg,
31626 and adjust reg usage. Set up cfi on error recovery and
31627 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31629 (__makecontext): Add dummy nop after jump to exit.
31630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31631 Use correct parm save area and cr save, reduce stack frame.
31632 Correct cfi for possible PSEUDO_RET frame setup.
31633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31634 Branch to local label emitted by PSEUDO_RET rather than
31635 __syscall_error.
31636
02637374
AS
316372010-08-12 Andreas Schwab <schwab@redhat.com>
31638
31639 [BZ #11904]
31640 * locale/programs/locale.c (print_assignment): New function.
31641 (show_locale_vars): Use it.
31642
c3e2f19b
UD
316432010-08-11 Ulrich Drepper <drepper@redhat.com>
31644
3cdaa6ad
UD
31645 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31646 field.
31647 (struct statfs64): Likewise.
31648 (_STATFS_F_FLAGS): Define.
31649 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31650 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31651 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31652 (ST_VALID): Define locally.
31653 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31654 __statvfs_getflags, use the provided value.
31655 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31656 __ASSUME_STATFS_F_FLAGS.
31657
754f7da3
UD
31658 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31659
10b3bedc
UD
31660 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31661 Add sys/fanotify.h.
31662 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31663 fanotify_mask for GLIBC_2.13.
31664 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31665 fanotify_init and fanotify_mark.
31666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31667 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31668
c08fb0d7
UD
31669 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31670 Add prlimit.
31671 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31672 prlimit64 for GLIBC_2.13.
31673 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31674 prlimit64.
31675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31676 syscall.
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31678 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31679 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31680 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31681 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31682 add prlimit alias.
31683 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31684
15bac72b
UD
31685 [BZ #11903]
31686 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31687 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31688
c3e2f19b
UD
31689 * nss/Makefile: Add rules to build and run tst-nss-test1.
31690 * shlib-versions: Add entry for libnss_test1.
31691 * nss/nss_test1.c: New file.
31692 * nss/tst-nss-test1.c: New file.
31693
31694 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31695 (__nss_configure_lookup): Set appropriate entry in
31696 __nss_configure_lookup to true.
31697 * nss/nsswitch.h: Define enum with indeces of databases in
31698 databases and __nss_database_custom arrays. Declare
31699 __nss_database_custom.
31700 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31701 to avoid using nscd when custom rules are installed.
31702 * nss/getXXbyYY_r.c: Likewise.
31703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31704
31705 * nss/nss_files/files-parse.c: Whitespace fixes.
31706
f15ce4d8
UD
317072010-08-09 Ulrich Drepper <drepper@redhat.com>
31708
31709 [BZ #11883]
31710 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31711 * posix/fnmatch_loop.c: Likewise.
31712
d22e4cc9
AK
317132010-07-17 Andi Kleen <ak@linux.intel.com>
31714
31715 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31716 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31717 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31718 * Versions.def [GLIBC_2.13]: Add.
31719
805bc17d
UD
317202010-08-06 Ulrich Drepper <drepper@redhat.com>
31721
31722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31723 Also fail if tpwd after pwuid call is NULL.
31724
5a42321d
ST
317252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31726
31727 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31728 when converting to ms.
31729
fd3ebeda
ST
317302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31731
31732 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31733 EOPNOTSUPP errors with ENOTTY.
31734 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31735 EOPNOTSUPP errors with ENOTTY.
31736
73507d3a
UD
317372010-07-31 Ulrich Drepper <drepper@redhat.com>
31738
31739 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31740 Add strcasecmp_l-ssse3.
31741 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31742 strcasecmp.
31743 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31744 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31745 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31746
fe36dd02
UD
317472010-07-30 Ulrich Drepper <drepper@redhat.com>
31748
66f6765a
UD
31749 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31750
42e08a54
UD
31751 * string/Makefile (strop-tests): Add strcasecmp.
31752 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31753 strcasecmp_l-nonascii.
31754 (gen-as-const-headers): Add locale-defines.sym.
31755 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31756 * sysdeps/x86_64/strcasecmp.S: New file.
31757 * sysdeps/x86_64/strcasecmp_l.S: New file.
31758 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31759 * sysdeps/x86_64/locale-defines.sym: New file.
31760 * string/test-strcasecmp.c: New file.
31761
fe36dd02
UD
31762 * string/test-strcasestr.c: Test both ends of the range of characters.
31763 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31764
48cbc0d6
RM
317652010-07-29 Roland McGrath <roland@redhat.com>
31766
76e6d6bc 31767 [BZ #11856]
48cbc0d6
RM
31768 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31769
880113d9
UD
317702010-07-27 Ulrich Drepper <drepper@redhat.com>
31771
31772 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31773 for ld.so.
31774
deb9cabb
AS
317752010-07-27 Andreas Schwab <schwab@redhat.com>
31776
31777 * manual/memory.texi (Malloc Tunable Parameters): Document
31778 M_PERTURB.
31779
1c7570ff
RM
317802010-07-26 Roland McGrath <roland@redhat.com>
31781
31782 [BZ #11840]
31783 * configure.in (-fgnu89-inline check): Set and substitute
31784 gnu89_inline, not libc_cv_gnu89_inline.
31785 * configure: Regenerated.
31786 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31787
24fb0f88
UD
317882010-07-26 Ulrich Drepper <drepper@redhat.com>
31789
31790 * string/test-strnlen.c: New file.
31791 * string/Makefile (strop-tests): Add strnlen.
31792 * string/tester.c (test_strnlen): Add a few more test cases.
31793 * string/tst-strlen.c: Better error reporting.
31794
31795 * sysdeps/x86_64/strnlen.S: New file.
31796
8e96b93a
UD
317972010-07-24 Ulrich Drepper <drepper@redhat.com>
31798
31799 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31800 lower-latency instructions.
31801
dbc676d4
UD
318022010-07-23 Ulrich Drepper <drepper@redhat.com>
31803
31804 * string/test-strcasestr.c: New file.
31805 * string/test-strstr.c: New file.
31806 * string/Makefile (strop-tests): Add strstr and strcasestr.
31807 * string/str-two-way.h: Don't undefine MAX.
31808 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31809
f6a31e0e
AS
318102010-07-21 Andreas Schwab <schwab@redhat.com>
31811
31812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31813 strcasestr-nonascii.
31814 (CFLAGS-strcasestr-nonascii.c): Define.
31815 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31816 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31817 Remove unused attribute.
31818
5dbc3b6c
RM
318192010-07-20 Roland McGrath <roland@redhat.com>
31820
31821 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31822 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31823 ld.so.cache was broken. With it, there is no way to disable dsocaps
31824 like LD_HWCAP_MASK can disable hwcaps.
31825
23d101d8
EPM
318262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31827
31828 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31829
cc9f2e47
UD
318302010-07-16 Ulrich Drepper <drepper@redhat.com>
31831
31832 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31833 call in strcasestr.
31834 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31835 __strcasestr_sse42_nonascii.
31836 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31837 strcasestr-nonascii.c.
31838 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31839
77c1b069
LM
318402010-06-15 Luis Machado <luisgpm@br.ibm.com>
31841
31842 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31843 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31844 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31845 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31846
440566c3
UD
318472010-07-09 Ulrich Drepper <drepper@redhat.com>
31848
31849 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31850 fcntl.
31851
5be9d05d
AS
318522010-07-06 Andreas Schwab <schwab@redhat.com>
31853
c30b7ee2 31854 [BZ #11577]
5be9d05d
AS
31855 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31856 dl_signal_cerror.
31857
8a492a67
UD
318582010-07-06 Ulrich Drepper <drepper@redhat.com>
31859
31860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31861 _PC_PIPE_BUF using F_GETPIPE_SZ.
31862
713df3d5
RM
318632010-07-05 Roland McGrath <roland@redhat.com>
31864
31865 * manual/arith.texi (Rounding Functions): Fix rint description
31866 implicit in round description.
31867
702e8f14
UD
318682010-07-02 Ulrich Drepper <drepper@redhat.com>
31869
31870 * elf/Makefile: Fix linking for a few tests to make recent linker
31871 happy.
31872
52ed8be9
AS
318732010-06-30 Andreas Schwab <schwab@redhat.com>
31874
31875 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31876 $(common-objpfx)libc_nonshared.a.
31877
f47c9a11
LM
318782010-06-21 Luis Machado <luisgpm@br.ibm.com>
31879
31880 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31881 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31882 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31883 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31884 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31885 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31886 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31887 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31902 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31903 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31904 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31905 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31906 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31907 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31908 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31909 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31910 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31911 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31912 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31913 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31928
6fb8cbcb
L
319292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31930
31931 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31932 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31933 * string/memmove.c (memmove): Renamed to ...
31934 (MEMMOVE): ...this. Default to memmove.
31935 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31936 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31937 (END_CHK): Define.
31938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31939 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31940 mempcpy-ssse3-back memmove-ssse3-back.
31941 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31942 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31944 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31945 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31946 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31947 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31948 * sysdeps/x86_64/multiarch/memmove.c: New file.
31949 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31950 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31951 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31952 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31953 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31954 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31955 Define.
31956 (index_Fast_Copy_Backward): Define.
31957 (HAS_ARCH_FEATURE): Define.
31958 (HAS_FAST_REP_STRING): Define.
31959 (HAS_FAST_COPY_BACKWARD): Define.
31960
4e733bac 319612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31962
31963 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31964 Restore proper fallback handling.
31965
63c4ed22
UD
319662010-06-19 Ulrich Drepper <drepper@redhat.com>
31967
ac2b484c
UD
31968 [BZ #11701]
31969 * posix/group_member.c (__group_member): Correct checking loop.
31970
63c4ed22
UD
31971 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31972 OOM in getpwuid_r correctly. Return error number when the caller
31973 should return, otherwise -1.
31974 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31975 call returning > 0 value.
31976 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31977
765ade4b
AS
319782010-06-07 Andreas Schwab <schwab@redhat.com>
31979
31980 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31981 libc_nonshared.a from targets in modules-names.
31982
80da2e09
KS
319832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31984
31985 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31986 requires it.
31987
158db122
LM
319882010-06-10 Luis Machado <luisgpm@br.ibm.com>
31989
31990 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31991 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31994
caa78cf8
AS
319952010-06-02 Andreas Schwab <schwab@redhat.com>
31996
31997 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31998
b2ef2c01
UD
319992010-06-14 Ulrich Drepper <drepper@redhat.com>
32000
32001 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32002 and F_GETPIPE_SZ.
32003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32004 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32007 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32008 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32009
fbd643b6
RM
320102010-06-14 Roland McGrath <roland@redhat.com>
32011
32012 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32013
f32f2869
JJ
320142010-06-07 Jakub Jelinek <jakub@redhat.com>
32015
32016 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32017 __REDIRECT followed by __THROW.
32018 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32019 * posix/getopt.h (getopt): Likewise.
32020
2a50c078
EPM
320212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32022
32023 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32024 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32025 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32026 in AT_FLAGS.
32027 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32028 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32029
eb5ad2eb
LM
320302010-05-28 Luis Machado <luisgpm@br.ibm.com>
32031
32032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32033
3c88fe1e
L
320342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32035
32036 [BZ #11640]
32037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32038 Properly check family and model.
32039
d2f73151
TY
320402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32041
32042 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32043
ebd2e13d
LM
320442010-05-24 Luis Machado <luisgpm@br.ibm.com>
32045
32046 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32047
b32b8b45
UD
320482010-05-21 Ulrich Drepper <drepper@redhat.com>
32049
32050 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32051 symbol reference.
32052
9acbe24d
AS
320532010-05-19 Andreas Schwab <schwab@redhat.com>
32054
32055 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32056 symbol reference.
32057
f0ccf6ea
AS
320582010-05-21 Andreas Schwab <schwab@redhat.com>
32059
3d04ff3a
AS
32060 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32061 and internal_recvmmsg.
32062 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32063 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32064 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32065 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32066
f0ccf6ea
AS
32067 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32068 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32069 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32070
5b08ac57
AS
320712010-05-20 Andreas Schwab <schwab@redhat.com>
32072
32073 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32074
4828935d
LM
320752010-05-17 Luis Machado <luisgpm@br.ibm.com>
32076
32077 POWER7 optimizations.
32078 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32079 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32080
373d545e
UD
320812010-05-19 Ulrich Drepper <drepper@redhat.com>
32082
32083 * version.h: Update for 2.13 development version.
32084
21a2b1ae
AS
320852010-05-12 Andrew Stubbs <ams@codesourcery.com>
32086
32087 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32088 exceptions. Return 0.
32089
3f7dcb2b
RM
320902010-05-07 Roland McGrath <roland@redhat.com>
32091
32092 * elf/ldconfig.c (main): Add a const.
32093
5f24d53a 320942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32095
a160f8d8
UD
32096 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32097 (args_options): Add no-idn option.
32098 (ahosts_keys_int): Add idn_flags to ai_flags.
32099 (parse_option): Handle 'i' option to clear idn_flags.
32100
5f24d53a
UD
32101 * malloc/malloc.c (_int_free): Possible race in the most recently
32102 added check. Only act on the data if no current modification
32103 happened.
265bb1ce
UD
32104
32105See ChangeLog.17 for earlier changes.