]> sourceware.org Git - glibc.git/blame - ChangeLog
Update French translations.
[glibc.git] / ChangeLog
CommitLineData
f723285b
DM
12013-07-30 David S. Miller <davem@davemloft.net>
2
3 * po/fr.po: Update French translation from translation project.
4
3cbc52db
DM
52013-07-28 David S. Miller <davem@davemloft.net>
6
30bbc0cc
DM
7 * po/cs.po: Update Czech translation from translation project.
8
3cbc52db
DM
9 * po/sv.po: Update Swedish translation from translation project.
10
d492e6d0
DM
112013-07-27 David S. Miller <davem@davemloft.net>
12
f1a7f492
DM
13 * po/eo.po: Update Esperanto translation from translation project.
14
90e62a4a
DM
15 * po/vi.po: Update Vietnamese translation from translation project.
16
d492e6d0
DM
17 * po/de.po: Update German translation from translation project.
18
d4baa62d
DM
192013-07-26 David S. Miller <davem@davemloft.net>
20
641aa7b4
DM
21 * po/bg.po: Update Bulgarian translation from translation project.
22
d4baa62d
DM
23 * po/nl.po: Update Dutch translation from translation project.
24 * po/pl.po: Update Polish translation from translation project.
25 * po/ru.po: Update Russian translation from translation project.
26
61a9dcb9
DM
272013-07-24 David S. Miller <davem@davemloft.net>
28
29 * po/libc.pot: Update.
30
7b1f8b58
AZ
312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32
33 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34 variable page size.
35 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38
a8fc7a03
AK
392013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40
41 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42
e4608715
CD
432013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44 Andreas Schwab <schwab@suse.de>
45 Roland McGrath <roland@hack.frob.com>
46 Joseph Myers <joseph@codesourcery.com>
47 Carlos O'Donell <carlos@redhat.com>
48
49 [BZ #15755]
50 * config.h.in: Define HAVE_PT_CHOWN.
51 * config.make.in (build-pt-chown): New variable.
52 * configure.in (--enable-pt_chown): New configure option.
53 * configure: Regenerate.
54 * login/Makefile: Include Makeconfig. Build pt_chown only if
55 build-pt-chown is enabled.
56 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57 pt_chown to fix pty ownership.
58 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
59 CLOSE_ALL_FDS.
60 * manual/install.texi (Configuring and compiling): Mention
61 --enable-pt_chown. Add @findex for grantpt.
62 * INSTALL: Regenerate.
63
da2d62df
DM
642013-07-20 David S. Miller <davem@davemloft.net>
65
66 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
67 difference between 32-bit and 64-bit.
68
d7e06450
CD
692013-07-15 Carlos O'Donell <carlos@redhat.com>
70
71 [BZ #15711]
72 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
73 Avoid system header dependency with -ffreestanding.
74 ($(objpfx)bits/syscall%d): Likewise.
75
f959cfd7
DM
762013-07-13 David S. Miller <davem@davemloft.net>
77
78 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
79 underflows from atanl/atan2l due to bug 15319.
80 (casinh_test_data): Likewise.
81
c61f8513
DM
822013-07-07 David S. Miller <davem@davemloft.net>
83
84 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
85
72c90ed0
JA
862013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
87
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90
52dfbe13
SP
912013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
92
93 * configure.in (--enable-lock-elision): Fix message text.
94 * INSTALL: Regenerate.
95 * configure: Regenerate.
96
3f169543
AZ
972013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
100
521c6785
AJ
1012013-07-03 Andreas Jaeger <aj@suse.de>
102
103 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
104 define.
105 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
106 (ptrace_peeksiginfo_args): Add.
107 (__ptrace_peeksiginfo_flags): Add.
108 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
111
d2cc15cb
AM
1122013-07-03 Allan McRae <allan@archlinux.org>
113
114 * sysdeps/i386/fpu/libm-test-ulps: Update.
115
3aaeeca7
DM
1162013-07-02 David S. Miller <davem@davemloft.net>
117
118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
119
5314ed1a
MT
1202013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
121
122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
123
67338156
JM
1242013-07-02 Joseph Myers <joseph@codesourcery.com>
125
126 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
128
1717da59
AK
1292013-07-02 Andi Kleen <ak@linux.intel.com>
130
131 * config.h.in (ENABLE_LOCK_ELISION): Add.
132 * configure.in (--enable-lock-elision): Add option.
133 * manual/install.texi: Document --enable lock elision.
134 * configure: Regenerate
135 * INSTALL: Regenerate.
136
1c81621c
L
1372013-07-02 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
140 SSE4.2 strcasecmp for libc.a.
141 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
142
77f01ab5
JM
1432013-07-02 Joseph Myers <joseph@codesourcery.com>
144
145 [BZ #13304]
146 * soft-fp/op-common.h (_FP_FMA): New macro.
147 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
148 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
149 (_FP_MUL_MEAT_1_imm): ... here.
150 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
151 (_FP_MUL_MEAT_1_wide): ... here.
152 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
153 (_FP_MUL_MEAT_1_hard): ... here.
154 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
155 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
156 (_FP_MUL_MEAT_2_wide): ... here.
157 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
158 (_FP_MUL_MEAT_2_wide_3mul): ... here.
159 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
160 (_FP_MUL_MEAT_2_gmp): ... here.
161 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
162 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
163 (_FP_MUL_MEAT_4_wide): ... here.
164 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
165 (_FP_MUL_MEAT_4_gmp): ... here.
166 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
167 (_FP_WFRACBITS_DW_S): Likewise.
168 (_FP_WFRACXBITS_DW_S): Likewise.
169 (_FP_HIGHBIT_DW_S): Likewise.
170 (FP_FMA_S): Likewise.
171 (_FP_FRAC_HIGH_DW_S): Likewise.
172 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
173 (_FP_WFRACBITS_DW_D): Likewise.
174 (_FP_WFRACXBITS_DW_D): Likewise.
175 (_FP_HIGHBIT_DW_D): Likewise.
176 (FP_FMA_D): Likewise.
177 (_FP_FRAC_HIGH_DW_D): Likewise.
178 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
179 (_FP_WFRACBITS_DW_E): Likewise.
180 (_FP_WFRACXBITS_DW_E): Likewise.
181 (_FP_HIGHBIT_DW_E): Likewise.
182 (FP_FMA_E): Likewise.
183 (_FP_FRAC_HIGH_DW_E): Likewise.
184 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
185 (_FP_WFRACBITS_DW_Q): Likewise.
186 (_FP_WFRACXBITS_DW_Q): Likewise.
187 (_FP_HIGHBIT_DW_Q): Likewise.
188 (FP_FMA_Q): Likewise.
189 (_FP_FRAC_HIGH_DW_Q): Likewise.
190 * soft-fp/fmasf4.c: New file.
191 * soft-fp/fmadf4.c: Likewise.
192 * soft-fp/fmatf4.c: Likewise.
193
6308fd9a
LD
1942013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
195
196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
197 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
198 Silvermont.
199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
200 macro.
201 (index_Slow_SSE4_2): Likewise.
202 (index_Prefer_PMINUB_for_stringop): Likewise.
203 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
204 bit_Slow_SSE4_2 is set.
205 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
206 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
207
89cd9569
RA
2082013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
209
210 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
211 rtld_global._dl_hwcap2.
212 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
213 POWER8.
214 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
215 POWER8 feature descriptions defined in _dl_hwcap2.
216 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
217 string handling for POWER8 feature bits.
218 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
219 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
220 _dl_powerpc_cap_flags.
221 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
222 * sysdeps/powerpc/rtld-global-offsets.sym
223 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
224 _dl_hwcap2 in the rtld_global_ro structure.
225
1ae8bfe0
RA
2262013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
227
228 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
229 hardware capabilities in support of AT_HWCAP2.
230 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
231 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
232 GLRO(dl_hwcap2).
233 (_dl_show_auxv): Add support for calling _dl_procinfo to display
234 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
235 explicitly the unknown a_type display mechanism is used.
236 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
237 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
238 struct member.
239 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
240 to macro prototype for AT_HWCAP2 support.
241 * sysdeps/i386/dl-procinfo.h: Likewise.
242 * sysdeps/s390/dl-procinfo.h: Likewise.
243 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
244 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
245 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
246 return -1 for unknown a_type display fallback.
247 * sysdeps/sparc/dl-procinfo.h: Likewise.
248 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
249 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
250
8fbec010
JM
2512013-06-28 Joseph Myers <joseph@codesourcery.com>
252
253 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
254 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
255
0432680e
PY
2562013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
257
258 [BZ #12492]
259 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
260 mprotect making __stack_prot writable.
261
ce61a2ad
NF
2622013-06-28 Nathan Froyd <froydnj@codesourcery.com>
263 Joseph Myers <joseph@codesourcery.com>
264
265 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
266 as being properly aligned.
267
f91f1c0f
MR
2682013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
269
3d0f5d0c
MR
270 * dlfcn/modstatic5.c: New file.
271 * dlfcn/tststatic5.c: New file.
272 * dlfcn/Makefile (tests): Add tststatic5.
273 (tests-static): Likewise.
274 (modules-names): Add modstatic5.
275 (tststatic5-ENV): New variable.
276 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
277
f91f1c0f
MR
278 [BZ #15022]
279 * elf/dl-support.c (_dl_main_map): New variable.
280 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
281 (_dl_nns, _dl_load_adds): Set to 1.
282 (_dl_initial_searchlist): Refer to _dl_main_map.
283 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
284 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
285 call to _dl_get_origin.
286 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
287 around call_map.
288 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
289 * dlfcn/modstatic3.c: New file.
290 * dlfcn/tststatic3.c: New file.
291 * dlfcn/tststatic4.c: New file.
292 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
293 (tests-static): Likewise.
294 (modules-names): Add modstatic3.
295 (tststatic3-ENV, tststatic4-ENV): New variables.
296 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
297 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
298
cbe7d24b
JM
2992013-06-26 Joseph Myers <joseph@codesourcery.com>
300
301 * configure.in (CC): Require GCC version 4.4 or later.
302 * configure: Regenerated.
303 * manual/install.texi (Tools for Compilation): Update GCC version
304 requirement.
305 * INSTALL: Regenerated.
306
11b8a0e1
LD
3072013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
308
309 [BZ #15674]
bb5bb87c
L
310 * string/test-memcmp.c (check2): New.
311 (main): Call check2.
312
11b8a0e1
LD
313 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
314
b0037103
MR
3152013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
316
317 [BZ #15022]
318 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
319 over to...
320 (dl_open_worker) [!SHARED]: ... here.
321
c18c701d
RA
3222013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
323
324 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
325
1d17fa5f
RH
3262013-06-25 Richard Henderson <rth@redhat.com>
327
328 * locale/programs/locarchive.c: Include <libc-internal.h>
329
8fcb833a
JM
3302013-06-25 Joseph Myers <joseph@codesourcery.com>
331
332 * manual/texinfo.tex: Update to version 2013-06-21.17, with
333 trailing whitespace removed.
334
17db6e8d
MF
3352013-06-24 Mike Frysinger <vapier@gentoo.org>
336
337 [BZ #10283]
17db6e8d
MF
338 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
339 * locale/programs/locarchive.c: Include libc-mmap.h.
340 (prepare_address_space): Take two new outputs (the mmap base and len).
341 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
342 values.
343 (create_archive): Declare new mmap base and len values for
344 prepare_address_space, and store the result in ah.
345 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
346 (enlarge_archive): If ah->mmap_base is not NULL, use that and
347 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
348 Declare new mmap base and len values for
349 prepare_address_space, and store the result in new_ah.
350 (open_archive): Declare new mmap base and len values for
351 prepare_address_space, and store the result in ah.
352 (close_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 * sysdeps/generic/libc-mmap.h: New file.
355
d605071e
MF
3562013-06-24 Mike Frysinger <vapier@gentoo.org>
357
358 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
359 (ALIGN_UP): Likewise.
360 (PTR_ALIGN_DOWN): Likewise.
361 (PTR_ALIGN_UP): Likewise.
362
2f063a6e
RA
3632013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
364
365 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
366 entry mapped to PPC_PLATFORM_POWER8.
367 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
368 POWER8.
369 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
370 (_dl_string_platform): Add case for exporting platform position for
371 POWER8.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
373 search path to sysdeps/powerpc/powerpc32/power8 directory.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
375 search path to sysdeps/powerpc/powerpc64/power8 directory.
376 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
377 power7 directories.
378 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
379 power7 directories.
380
a31ee4b3
SP
3812013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
382
a74ca98f
SP
383 * INSTALL: Regenerate.
384
a31ee4b3
SP
385 * nscd/connections.c (nscd_init): Fix comment.
386
695c378f
JM
3872013-06-22 Joseph Myers <joseph@codesourcery.com>
388
d8412221
JM
389 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
390
695c378f
JM
391 [BZ #15667]
392 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
393 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
394
d1d54715
MR
3952013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
396
397 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
398 DL_DST_REQ_STATIC.
399 (DL_DST_REQ_STATIC): Remove macro.
400
8fdda7af
JM
4012013-06-21 Joseph Myers <joseph@codesourcery.com>
402
403 [BZ #7006]
404 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
405 with a shift of 0 bits.
406
f3bc5e5a
MR
4072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
408
409 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
410 $(tststatic-ENV).
411
be09e8c9
KK
4122013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
413
414 [BZ #15655]
415 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
416
85c2e611
AZ
4172013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418
419 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
420 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
421 accepts -fno-tree-loop-distribute-patterns.
422 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
423 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
424 recursive call.
425 * string/memset.c (memset): Likewise.
426 * string/test-memmove.c (simple_memmove): Disable loop transformation
427 to library calls.
428 * string/test-memset.c (simple_memset): Likewise.
429 * benchtests/bench-memmove.c (simple_memmove): Likewise.
430 * benchtests/bench-memset.c (simple_memset): Likewise.
431 * configure: Regenerated.
432
c91e0825
JM
4332013-06-20 Joseph Myers <joseph@codesourcery.com>
434
b8c792af
JM
435 * math/test-misc.c (main): Ignore fesetround failure when failures
436 of subsequent rounding tests would be ignored.
437
c91e0825
JM
438 [BZ #15654]
439 * math/fedisblxcpt.c (fedisableexcept): Return 0.
440 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
441 * math/fegetenv.c (__fegetenv): Return 0.
442 * math/fegetexcept.c (fegetexcept): Return 0.
443 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
444 FE_TONEAREST.
445 * math/feholdexcpt.c (feholdexcept): Return 0.
446 * math/fesetenv.c (__fesetenv): Return 0.
447 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
448 argument FE_TONEAREST.
449 * math/feupdateenv.c (__feupdateenv): Return 0.
450 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
451
bfcacbde
RM
4522013-06-18 Roland McGrath <roland@hack.frob.com>
453
454 * elf/rtld-Rules (rtld-compile-command.S): New variable.
455 (rtld-compile-command.s, rtld-compile-command.c): New variables.
456 ($(objpfx)rtld-%.os rules): Use them.
457
e55a9b25
AZ
4582013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
459
460 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
461 fields.
462
346d65b3
RM
4632013-06-17 Roland McGrath <roland@hack.frob.com>
464
12086fb4
RM
465 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
466 length of target pattern, then descending length of dependency pattern.
467 * configure.in (AWK): Require gawk 3.1.2 or newer.
468 * manual/install.texi (Tools for Compilation): Say that we do.
469 * configure: Regenerated.
470
346d65b3
RM
471 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
472 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
473 * scripts/sysd-rules.awk: ... this new script.
474 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
475 than a glob-style pattern.
476
1a846317
JM
4772013-06-17 Joseph Myers <joseph@codesourcery.com>
478
479 * math/test-misc.c (main): Do not treat incorrectly rounded
480 conversions as failure unless ROUNDING_TESTS passes.
481
8fc75e6f
JM
4822013-06-15 Joseph Myers <joseph@codesourcery.com>
483
3711a167
JM
484 [BZ #15631]
485 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
486 restore exception state around main square root computation, then
487 check for inexactness explicitly.
488
8fc75e6f
JM
489 * math/libm-test.inc (fma_test_data): Add another test.
490
61dd6208
SP
4912013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
492
adf23d2c
SP
493 * manual/threads.texi (Non-POSIX Extensions): New document
494 node. Document pthread_getattr_default_np and
495 pthread_setattr_default_np.
496
61dd6208
SP
497 * Versions.def (libpthread): Add GLIBC_2.18.
498 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
500 Likewise.
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
502 Likewise.
503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
504 Likewise.
505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
506 Likewise.
507 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
508 Likewise.
509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
510 Likewise.
511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
512 Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
514 Likewise.
515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
516 Likewise.
517
d086fc7b
LD
5182013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
519
520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
521 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
522
747ef469
SP
5232013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
524 H.J. Lu <hjl.tools@gmail.com>
525
526 [BZ #15627]
527 * sysdeps/x86_64/rtld-memset.c: Remove file.
528 * sysdeps/x86_64/rtld-memset.S: New file.
529
1b2feed2
JM
5302013-06-14 Joseph Myers <joseph@codesourcery.com>
531
532 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
533 (test_in_one_mode): Take arguments for whether the rounding mode
534 is supported for each floating-point type.
535 (do_test): Pass new arguments to test_in_one_mode using
536 ROUNDING_TESTS.
537
a58ad3f8
RM
5382013-06-13 Roland McGrath <roland@hack.frob.com>
539
540 * posix/tst-waitid.c (do_test): Distinguish different instances of
541 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
542 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
543 before entering the kernel for waitpid.
544
c204ab28
SP
5452013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
546
547 * NEWS: Fix note on clock function precision. Text by Roland
548 McGrath.
549
f4a29fba
RM
5502013-06-13 Roland McGrath <roland@hack.frob.com>
551
552 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
553 it into place only when and if the sanity check passes.
554
1f24b9ad
JM
5552013-06-13 Joseph Myers <joseph@codesourcery.com>
556
557 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
558 output for whether conversion result is exact. Take argument
559 indicating whether type is IBM long double.
560 (round_for_all): Change need_exact field to ibm_ld.
561 * stdlib/tst-strtod-round.c (struct exactness): New type.
562 (struct test): Change bool ld_ok field to struct exactness exact.
563 (TEST): Update all definitions for change to field.
564 (tests): Regenerate array contents.
565 (test_in_one_mode): Take pointer to new field instead of old ld_ok
566 field value. Check for IBM long double here.
567 (do_test): Update calls to test_in_one_mode.
568
58206c68
SP
5692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
570
571 [BZ #12515]
572 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
573 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
574
2d6f4c5b 5752013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
576
577 [BZ #15605]
578 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
579 generated by the compiler on loop optimizations.
580 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
581 general definitions.
582
94f2c076
JM
5832013-06-12 Joseph Myers <joseph@codesourcery.com>
584
585 * math/bug-nextafter.c: Include <math-tests.h>.
586 (main): Only test for exceptions if EXCEPTION_TESTS is true for
587 the relevant type.
588 * math/bug-nexttoward.c: Include <math-tests.h>.
589 (main): Only test for exceptions if EXCEPTION_TESTS is true for
590 the relevant type.
591 * math/test-misc.c: Include <math-tests.h>.
592 (main): Only test for exceptions if EXCEPTION_TESTS is true for
593 the relevant type.
594
e0e50a0a
AJ
5952013-06-12 Andreas Jaeger <aj@suse.de>
596
597 * po/ia.po: Update Interlingua translation from translation
598 project.
599
25061094
SP
6002013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
601
602 * include/fenv.h: Include stdbool.h.
603 (struct rm_ctx): New structure.
604 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
605 Define macro.
606 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
607 (SET_RESTORE_ROUNDF): Likewise.
608 (SET_RESTORE_ROUNDL): Likewise.
609 (SET_RESTORE_ROUND_NOEX): Likewise.
610 (SET_RESTORE_ROUND_NOEXF): Likewise.
611 (SET_RESTORE_ROUND_NOEXL): Likewise.
612 (SET_RESTORE_ROUND_53BIT): Likewise.
613 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
614 (libc_feresetround_noexf_ctx): Likewise.
615 (libc_feresetround_noexl_ctx): Likewise.
616 (libc_feholdsetround_53bit_ctx): Likewise.
617 (libc_feresetround_53bit_ctx): Likewise.
618 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
619 (libc_feholdexcept_setround_sse_ctx): New function.
620 (libc_fesetenv_sse_ctx): Likewise.
621 (libc_feupdateenv_sse_ctx): Likewise.
622 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
623 (libc_feholdexcept_setround_387_ctx): Likewise.
624 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
625 (libc_feholdsetround_387_prec_ctx): Likewise.
626 (libc_feholdsetround_387_ctx): Likewise.
627 (libc_feholdsetround_387_53bit_ctx): Likewise.
628 (libc_feholdsetround_sse_ctx): Likewise.
629 (libc_feresetround_sse_ctx): Likewise.
630 (libc_feresetround_387_ctx): Likewise.
631 (libc_feupdateenv_387_ctx): Likewise.
632 (libc_feholdexcept_setroundf_ctx): Define macro.
633 (libc_fesetenvf_ctx): Likewise.
634 (libc_feupdateenvf_ctx): Likewise.
635 (libc_feholdsetroundf_ctx): Likewise.
636 (libc_feresetroundf_ctx): Likewise.
637 (libc_feholdexcept_setround_ctx): Likewise.
638 (libc_fesetenv_ctx): Likewise.
639 (libc_feupdateenv_ctx): Likewise.
640 (libc_feholdsetround_ctx): Likewise.
641 (libc_feresetround_ctx): Likewise.
642 (libc_feholdexcept_setroundl_ctx): Likewise.
643 (libc_feupdateenvl_ctx): Likewise.
644 (libc_feholdsetroundl_ctx): Likewise.
645 (libc_feresetroundl_ctx): Likewise.
646 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
647 (libc_feresetround_53bit_ctx): Likewise.
648
59b30555
SP
6492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
650
651 * locale/iso-639.def: Convert to UTF-8.
652
f1d73d30
JM
6532013-06-11 Joseph Myers <joseph@codesourcery.com>
654
655 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
656 (EXCEPTION_TESTS_double): Likewise.
657 (EXCEPTION_TESTS_long_double): Likewise.
658 (EXCEPTION_TESTS): Likewise.
659 * math/libm-test.inc (test_exceptions): Only test exceptions if
660 EXCEPTION_TESTS (FLOAT).
661
94aca5e7
SP
6622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
663
664 * benchtests/Makefile (string-bench): Add strcpy_chk and
665 stpcpy_chk.
666 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
667 * benchtests/bench-stpcpy_chk.c: New file.
668 * benchtests/bench-strcpy_chk-ifunc.c: New file.
669 * benchtests/bench-strcpy_chk.c: New file.
670 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
671 code.
672 (do_test): Likewise.
673
fac0c5f2
RA
6742013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
675
676 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
677 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
678 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
679 with tabs where appropriate.
680 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
681 dl-procinfo.h.
682 [PPC_PLATFORM_PPC440]: Likewise.
683 [PPC_PLATFORM_PPC464]: Likewise.
684 [PPC_PLATFORM_PPC476]: Likewise.
685 (_dl_string_platform): Add support for detecting ppc405, ppc440,
686 ppc464, and ppc476 platform strings merging from ports/
687 dl-procinfo.h.
688
f22bc486
AS
6892013-06-11 Andreas Schwab <schwab@suse.de>
690
691 [BZ #14991]
692 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
693 (from_ucs4_idx): Regenerate.
694 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
695 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
696 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
697 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
698 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
699 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
700 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
701 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
702 from FROM_LOOP and TO_LOOP specific macros.
703 (BODY): Handle combining characters.
704 * iconvdata/BIG5HKSCS.irreversible: Update.
705 * iconvdata/BIG5HKSCS.precomposed: New file.
706 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
707 characters.
708 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
709
c1f75dc3
SP
7102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
711
4eacded2
SP
712 * include/sys/time.h: Fix indentation and add copyright header.
713
fec799f8
SP
714 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
715 (do_test): Likewise.
716 * string/test-memchr.c (do_one_test): Likewise.
717 (do_test): Likewise.
718 * string/test-memcmp.c (do_one_test): Likewise.
719 (do_test): Likewise.
720 * string/test-memcpy.c (do_one_test): Likewise.
721 (do_test): Likewise.
722 * string/test-memmem.c (do_one_test): Likewise.
723 (do_test): Likewise.
724 (do_random_tests): Likewise.
725 * string/test-memmove.c (do_one_test): Likewise.
726 (do_test): Likewise.
727 * string/test-memset.c (do_one_test): Likewise.
728 (do_test): Likewise.
729 * string/test-rawmemchr.c (do_one_test): Likewise.
730 (do_test): Likewise.
731 * string/test-strcasecmp.c (do_one_test): Likewise.
732 (do_test): Likewise.
733 * string/test-strcasestr.c (do_one_test): Likewise.
734 (do_test): Likewise.
735 * string/test-strcat.c (do_one_test): Likewise.
736 (do_test): Likewise.
737 * string/test-strchr.c (do_one_test): Likewise.
738 (do_test): Likewise.
739 * string/test-strcmp.c (do_one_test): Likewise.
740 (do_test): Likewise.
741 * string/test-strcpy.c (do_one_test): Likewise.
742 (do_test): Likewise.
743 * string/test-string.h: Likewise.
744 (test_init): Likewise.
745 * string/test-strlen.c (do_one_test): Likewise.
746 (do_test): Likewise.
747 * string/test-strncasecmp.c (do_one_test): Likewise.
748 (do_test): Likewise.
749 * string/test-strncat.c (do_one_test): Likewise.
750 (do_test): Likewise.
751 * string/test-strncmp.c (do_one_test): Likewise.
752 (do_test_limit): Likewise.
753 (do_test): Likewise.
754 * string/test-strncpy.c (do_one_test): Likewise.
755 (do_test): Likewise.
756 * string/test-strnlen.c (do_one_test): Likewise.
757 (do_test): Likewise.
758 * string/test-strpbrk.c (do_one_test): Likewise.
759 (do_test): Likewise.
760 * string/test-strrchr.c (do_one_test): Likewise.
761 (do_test): Likewise.
762 * string/test-strspn.c (do_one_test): Likewise.
763 (do_test): Likewise.
764 * string/test-strstr.c (do_one_test): Likewise.
765 (do_test): Likewise.
766
97020474
SP
767 * benchtests/Makefile (string-bench): Add string benchmarks.
768 * benchtests/bench-bcopy-ifunc.c: New file.
769 * benchtests/bench-bcopy.c: New file.
770 * benchtests/bench-bzero-ifunc.c: New file.
771 * benchtests/bench-bzero.c: New file.
772 * benchtests/bench-memccpy-ifunc.c: New file.
773 * benchtests/bench-memccpy.c: New file.
774 * benchtests/bench-memchr-ifunc.c: New file.
775 * benchtests/bench-memchr.c: New file.
776 * benchtests/bench-memcmp-ifunc.c: New file.
777 * benchtests/bench-memcmp.c: New file.
778 * benchtests/bench-memmem-ifunc.c: New file.
779 * benchtests/bench-memmem.c: New file.
780 * benchtests/bench-memmove-ifunc.c: New file.
781 * benchtests/bench-memmove.c: New file.
782 * benchtests/bench-mempcpy-ifunc.c: New file.
783 * benchtests/bench-mempcpy.c: New file.
784 * benchtests/bench-memset-ifunc.c: New file.
785 * benchtests/bench-memset.c: New file.
786 * benchtests/bench-rawmemchr-ifunc.c: New file.
787 * benchtests/bench-rawmemchr.c: New file.
788 * benchtests/bench-stpcpy-ifunc.c: New file.
789 * benchtests/bench-stpcpy.c: New file.
790 * benchtests/bench-stpncpy-ifunc.c: New file.
791 * benchtests/bench-stpncpy.c: New file.
792 * benchtests/bench-strcasecmp-ifunc.c: New file.
793 * benchtests/bench-strcasecmp.c: New file.
794 * benchtests/bench-strcasestr-ifunc.c: New file.
795 * benchtests/bench-strcasestr.c: New file.
796 * benchtests/bench-strcat-ifunc.c: New file.
797 * benchtests/bench-strcat.c: New file.
798 * benchtests/bench-strchr-ifunc.c: New file.
799 * benchtests/bench-strchr.c: New file.
800 * benchtests/bench-strchrnul-ifunc.c: New file.
801 * benchtests/bench-strchrnul.c: New file.
802 * benchtests/bench-strcmp-ifunc.c: New file.
803 * benchtests/bench-strcmp.c: New file.
804 * benchtests/bench-strcpy-ifunc.c: New file.
805 * benchtests/bench-strcpy.c: New file.
806 * benchtests/bench-strcspn-ifunc.c: New file.
807 * benchtests/bench-strcspn.c: New file.
808 * benchtests/bench-strlen-ifunc.c: New file.
809 * benchtests/bench-strlen.c: New file.
810 * benchtests/bench-strncasecmp-ifunc.c: New file.
811 * benchtests/bench-strncasecmp.c: New file.
812 * benchtests/bench-strncat-ifunc.c: New file.
813 * benchtests/bench-strncat.c: New file.
814 * benchtests/bench-strncmp-ifunc.c: New file.
815 * benchtests/bench-strncmp.c: New file.
816 * benchtests/bench-strncpy-ifunc.c: New file.
817 * benchtests/bench-strncpy.c: New file.
818 * benchtests/bench-strnlen-ifunc.c: New file.
819 * benchtests/bench-strnlen.c: New file.
820 * benchtests/bench-strpbrk-ifunc.c: New file.
821 * benchtests/bench-strpbrk.c: New file.
822 * benchtests/bench-strrchr-ifunc.c: New file.
823 * benchtests/bench-strrchr.c: New file.
824 * benchtests/bench-strspn-ifunc.c: New file.
825 * benchtests/bench-strspn.c: New file.
826 * benchtests/bench-strstr-ifunc.c: New file.
827 * benchtests/bench-strstr.c: New file.
828
c1f75dc3
SP
829 * benchtests/Makefile: Disable parallel execution of targets.
830 (string-bench): Add memcpy.
831 (benchset): New variable to store a list of benchmark sets.
832 (bench-func): Renamed from bench.
833 (bench-set): New target.
834 (bench): Depend on bench-func and bench-set.
835 * benchtests/README: Add section on benchmark sets.
836 * benchtests/bench-memcpy-ifunc.c: New file.
837 * benchtests/bench-memcpy.c: New file.
838 * benchtests/bench-string.h: New file.
839
50fd745b
AS
8402013-06-11 Andreas Schwab <schwab@suse.de>
841
842 [BZ #15577]
843 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
844 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
845 values in the triple.
846 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
847 terminator in the group key.
848
3ee7e9fe
AJ
8492013-06-11 Andreas Jaeger <aj@suse.de>
850
851 * po/zh_TW.po: Update Chinese (traditional) translation from
852 translation project.
853
89fb6835
SP
8542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
855
856 * include/time.h (__clock_gettime): Add libc_hidden_proto.
857 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
858 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
859 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
860 (clock_getcpuclockid): Likewise.
861 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
862 Add weak_alias and libc_hidden_def.
863 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
864 * rt/clock_gettime.c (clock_gettime): Rename to
865 __clock_gettime. Add weak_alias and libc_hidden_def.
866 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
867 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
868 __clock_nanosleep. Add weak_alias and libc_hidden_def.
869 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
870 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
871 Likewise.
872 * rt/clock_settime.c (clock_settime): Rename to
873 __clock_settime. Add weak_alias and libc_hidden_def.
874 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
875
0efa6f8b
JM
8762013-06-10 Joseph Myers <joseph@codesourcery.com>
877
b8c61b4b
JM
878 * mach/err_boot.sub: Remove trailing whitespace.
879 * mach/err_ipc.sub: Likewise.
880 * mach/err_mach.sub: Likewise.
881
0efa6f8b
JM
882 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
883 (ROUNDING_TESTS_double): Likewise.
884 (ROUNDING_TESTS_long_double): Likewise.
885 (ROUNDING_TESTS): Likewise.
886 * math/libm-test.inc: Include <math-tests.h>.
887 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
888 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
889 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
890 (IF_ROUND_INIT_FE_UPWARD): Likewise.
891
50b818bf
SP
8922013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
893
894 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
895 of assigning.
896
60d2f8f3
JM
8972013-06-08 Joseph Myers <joseph@codesourcery.com>
898
4902d2c3
JM
899 * sysdeps/gnu/errlist.awk: Do not generate space at end of
900 otherwise empty TRANS lines.
901 * sysdeps/gnu/errlist.c: Regenerated.
902
60d2f8f3
JM
903 * catgets/gencat.c (error_print): Use (void) in function
904 definition.
905 * crypt/crypt_util.c (__init_des): Likewise.
906 * crypt/speeds.c (Stop): Likewise.
907 (main): Likewise.
908 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
909 * inet/ruserpass.c (token): Likewise.
910 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
911 * intl/localealias.c (extend_alias_table): Likewise.
912 * intl/plural-exp.c (init_germanic_plural): Likewise.
913 * libio/fcloseall.c (__fcloseall): Likewise.
914 * libio/genops.c (_IO_flush_all): Likewise.
915 (_IO_flush_all_linebuffered): Likewise.
916 (_IO_cleanup): Likewise.
917 (_IO_iter_begin): Likewise.
918 (_IO_iter_end): Likewise.
919 (_IO_list_lock): Likewise.
920 (_IO_list_unlock): Likewise.
921 (_IO_list_resetlock): Likewise.
922 * libio/getchar.c (getchar): Likewise.
923 * libio/getchar_u.c (getchar_unlocked): Likewise.
924 * libio/getwchar.c (getwchar): Likewise.
925 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
926 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
927 * login/getpt.c (__getpt): Likewise.
928 * login/tst-utmp.c (main): Likewise.
929 * malloc/hooks.c (__malloc_check_init): Likewise.
930 * malloc/malloc.c (__malloc_stats): Likewise.
931 * malloc/mtrace.c (tr_break): Likewise.
932 (mtrace): Likewise.
933 (muntrace): Likewise.
934 * misc/fstab.c (endfsent): Likewise.
935 * misc/getclktck.c (__getclktck): Likewise.
936 * misc/getdtsz.c (__getdtablesize): Likewise.
937 * misc/gethostid.c (gethostid): Likewise.
938 * misc/getpagesize.c (__getpagesize): Likewise.
939 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
940 (__get_nprocs): Likewise.
941 (__get_phys_pages): Likewise.
942 (__get_avphys_pages): Likewise.
943 * misc/getttyent.c (getttyent): Likewise.
944 (setttyent): Likewise.
945 (endttyent): Likewise.
946 * misc/getusershell.c (getusershell): Likewise.
947 (endusershell): Likewise.
948 (setusershell): Likewise.
949 (initshells): Likewise.
950 * misc/hsearch.c (__hdestroy): Likewise.
951 * misc/sync.c (sync): Likewise.
952 * misc/syslog.c (closelog_internal): Likewise.
953 (closelog): Likewise.
954 * misc/ttyslot.c (ttyslot): Likewise.
955 * misc/vhangup.c (vhangup): Likewise.
956 * posix/fork.c (__fork): Likewise.
957 * posix/getegid.c (__getegid): Likewise.
958 * posix/geteuid.c (__geteuid): Likewise.
959 * posix/getgid.c (__getgid): Likewise.
960 * posix/getpid.c (__getpid): Likewise.
961 * posix/getppid.c (__getppid): Likewise.
962 * posix/getuid.c (__getuid): Likewise.
963 * posix/pause.c (pause): Likewise.
964 * posix/setpgrp.c (setpgrp): Likewise.
965 * posix/setsid.c (__setsid): Likewise.
966 * posix/test-vfork.c (noop): Likewise.
967 * resolv/gethnamaddr.c (_endhtent): Likewise.
968 (_gethtent): Likewise.
969 (ht_endhostent): Likewise.
970 (gethostent): Likewise.
971 (dns_service): Likewise.
972 * stdlib/drand48.c (drand48): Likewise.
973 * stdlib/lrand48.c (lrand48): Likewise.
974 * stdlib/mrand48.c (mrand48): Likewise.
975 * stdlib/rand.c (rand): Likewise.
976 * stdlib/random.c (__random): Likewise.
977 * stdlib/setenv.c (clearenv): Likewise.
978 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
979 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
980 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
981 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
982 (__get_nprocs): Likewise.
983 (__get_phys_pages): Likewise.
984 (__get_avphys_pages): Likewise.
985 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
986 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
987 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
988 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
989 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
990 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
991 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
992 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
993 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
994 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
995 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
996 * sysdeps/mach/hurd/sync.c (sync): Likewise.
997 * sysdeps/posix/clock.c (clock): Likewise.
998 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
999 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1000 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1001 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1002 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1004 (__get_nprocs_conf): Likewise.
1005 (__get_phys_pages): Likewise.
1006 (__get_avphys_pages): Likewise.
1007 * time/clock.c (clock): Likewise.
1008 * time/tzset.c (__tzname_max): Likewise.
1009
2e09a79a
JM
10102013-06-07 Joseph Myers <joseph@codesourcery.com>
1011
1012 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1013 (__bswap_32): Do not use "register".
1014 * crypt/crypt.c (_ufc_doit_r): Likewise.
1015 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1016 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1017 * gmon/gmon.c (__monstartup): Likewise.
1018 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1019 * hurd/hurdmalloc.c (more_memory): Likewise.
1020 (malloc): Likewise.
1021 (free): Likewise.
1022 (realloc): Likewise.
1023 (malloc_fork_prepare): Likewise.
1024 (malloc_fork_parent): Likewise.
1025 (malloc_fork_child): Likewise.
1026 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1027 (_svcauth_des): Likewise.
1028 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1029 * inet/inet_net.c (inet_network): Likewise.
1030 * inet/inet_netof.c (inet_netof): Likewise.
1031 * inet/rcmd.c (__validuser2_sa): Likewise.
1032 * io/fts.c (fts_open): Likewise.
1033 (fts_load): Likewise.
1034 (fts_close): Likewise.
1035 (fts_read): Likewise.
1036 (fts_children): Likewise.
1037 (fts_build): Likewise.
1038 (fts_stat): Likewise.
1039 (fts_sort): Likewise.
1040 (fts_alloc): Likewise.
1041 (fts_lfree): Likewise.
1042 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1043 (_IO_file_xsgetn): Likewise.
1044 (_IO_file_xsgetn_mmap): Likewise.
1045 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1046 (_IO_cookie_write): Likewise.
1047 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1048 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1049 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1050 * malloc/obstack.c (_obstack_begin): Likewise.
1051 (_obstack_begin_1): Likewise.
1052 (_obstack_newchunk): Likewise.
1053 (_obstack_allocated_p): Likewise.
1054 (obstack_free): Likewise.
1055 (_obstack_memory_used): Likewise.
1056 * misc/getttyent.c (getttynam): Likewise.
1057 (getttyent): Likewise.
1058 (skip): Likewise.
1059 (value): Likewise.
1060 * misc/getusershell.c (initshells): Likewise.
1061 * misc/syslog.c (__vsyslog_chk): Likewise.
1062 * misc/ttyslot.c (ttyslot): Likewise.
1063 * nis/nis_hash.c (__nis_hash): Likewise.
1064 * posix/fnmatch_loop.c (FCT): Likewise.
1065 * posix/getconf.c (print_all): Likewise.
1066 (main): Likewise.
1067 * posix/getopt.c (exchange): Likewise.
1068 * posix/glob.c (globfree): Likewise.
1069 (prefix_array): Likewise.
1070 (__glob_pattern_type): Likewise.
1071 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1072 (NS_GET32): Likewise.
1073 (NS_PUT16): Likewise.
1074 (NS_PUT32): Likewise.
1075 * resolv/gethnamaddr.c (getanswer): Likewise.
1076 (gethostbyname2): Likewise.
1077 (gethostbyaddr): Likewise.
1078 (_gethtent): Likewise.
1079 (_gethtbyname2): Likewise.
1080 (_gethtbyaddr): Likewise.
1081 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1082 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1083 * resolv/res_init.c (__res_vinit): Likewise.
1084 (net_mask): Likewise.
1085 * resolv/res_mkquery.c (outchar): Likewise.
1086 (PRINT): Likewise.
1087 * stdio-common/printf_fp.c (outchar): Likewise.
1088 (PRINT): Likewise.
1089 * stdio-common/printf_fphex.c (outchar): Likewise.
1090 (PRINT): Likewise.
1091 * stdio-common/printf_size.c (outchar): Likewise.
1092 (PRINT): Likewise.
1093 * stdio-common/test_rdwr.c (main): Likewise.
1094 * stdio-common/tfformat.c (matches): Likewise.
1095 * stdio-common/vfprintf.c (outchar): Likewise.
1096 (printf_unknown): Likewise.
1097 (buffered_vfprintf): Likewise.
1098 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1099 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1100 (ReadFile): Likewise.
1101 * stdlib/qsort.c (SWAP): Likewise.
1102 (_quicksort): Likewise.
1103 * stdlib/setenv.c (__add_to_environ): Likewise.
1104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1105 * stdlib/strtol_l.c (__strtol_l): Likewise.
1106 * stdlib/tst-strtod.c (main): Likewise.
1107 * stdlib/tst-strtol.c (main): Likewise.
1108 * stdlib/tst-strtoll.c (main): Likewise.
1109 * string/bits/string2.h (__strcmp_cc): Likewise.
1110 (__strcmp_cg): Likewise.
1111 (__strcspn_c1): Likewise.
1112 (__strcspn_c2): Likewise.
1113 (__strcspn_c3): Likewise.
1114 (__strspn_c1): Likewise.
1115 (__strspn_c2): Likewise.
1116 (__strspn_c3): Likewise.
1117 (__strsep_1c): Likewise.
1118 (__strsep_2c): Likewise.
1119 (__strsep_3c): Likewise.
1120 * string/memccpy.c (__memccpy): Likewise.
1121 * string/stpcpy.c (__stpcpy): Likewise.
1122 * string/strcmp.c (strcmp): Likewise.
1123 * string/strrchr.c (strrchr): Likewise.
1124 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1125 Likewise.
1126 * sysdeps/mach/hurd/getcwd.c
1127 (_hurd_canonicalize_directory_name_internal): Likewise.
1128 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1129 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1130 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1131 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1132 Likewise, in both definitions.
1133 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1134 definitions.
1135 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1136 64] (__bswap_64): Likewise.
1137 * time/test_time.c (main): Likewise.
1138 * time/tzfile.c (__tzfile_read): Likewise.
1139 (__tzfile_compute): Likewise.
1140 * time/tzset.c (__tzset_parse_tz): Likewise.
1141 (tzset_internal): Likewise.
1142 (compute_change): Likewise.
1143 * wcsmbs/wcscat.c (__wcscat): Likewise.
1144 * wcsmbs/wcschr.c (wcschr): Likewise.
1145 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1146 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1147 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1148 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1149 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1150 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1151 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1152 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1153 * wcsmbs/wmemset.c (wmemset): Likewise.
1154
9e54314b
JM
11552013-06-06 Joseph Myers <joseph@codesourcery.com>
1156
1157 * scripts/config.guess: Update to version 2013-05-16.
1158 * scripts/config.sub: Update to version 2013-04-24.
1159 * scripts/install-sh: Update to version 2011-11-20.07.
1160 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1161 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1162
350635a5
OB
11632013-06-06 Ondřej Bílka <neleai@seznam.cz>
1164
1165 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1166 * elf/sln.c: Likewise.
1167 * hurd/hurd/ioctl.h: Likewise.
1168 * hurd/hurdmalloc.c: Likewise.
1169 * hurd/xattr.c: Likewise.
1170 * include/shlib-compat.h: Likewise.
1171 * inet/ruserpass.c: Likewise.
1172 * libio/iofgets_u.c: Likewise.
1173 * libio/iofgetws_u.c: Likewise.
1174 * locale/programs/ld-identification.c: Likewise.
1175 * locale/programs/ld-time.c: Likewise.
1176 * mach/msg-destroy.c: Likewise.
1177 * nss/nss_files/files-netgrp.c: Likewise.
1178 * resolv/res_data.c: Likewise.
1179 * soft-fp/op-1.h: Likewise.
1180 * soft-fp/op-2.h: Likewise.
1181 * soft-fp/op-4.h: Likewise.
1182 * soft-fp/op-common.h: Likewise.
1183 * stdio-common/printf_fphex.c: Likewise.
1184 * stdlib/strtod_l.c: Likewise.
1185 * sunrpc/rpc/clnt.h: Likewise.
1186 * sysdeps/generic/framestate.c: Likewise.
1187 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1188 * sysdeps/i386/bsd-setjmp.S: Likewise.
1189 * sysdeps/i386/__longjmp.S: Likewise.
1190 * sysdeps/i386/setjmp.S: Likewise.
1191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1192 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1193 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1194 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1196 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1197 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1209 * sysdeps/ieee754/support.c: Likewise.
1210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1211 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1212 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1213 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1214 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1215 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1216 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1217 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1218 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1219 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1220 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1221 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1222 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1223 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1224 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1225 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1226 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1228
44a988af
OB
12292013-06-05 Ondřej Bílka <neleai@seznam.cz>
1230
25506f09 1231 * posix/transbug.c: Remove executable mode.
44a988af 1232
9c84384c
JM
12332013-06-05 Joseph Myers <joseph@codesourcery.com>
1234
1235 * crypt/speeds.c: Remove trailing whitespace.
1236 * dlfcn/default.c: Likewise.
1237 * elf/ifuncdep2.c: Likewise.
1238 * elf/ifuncmain1.c: Likewise.
1239 * elf/ifuncmain1vis.c: Likewise.
1240 * elf/testobj.h: Likewise.
1241 * elf/tst-stackguard1.c: Likewise.
1242 * gmon/sys/gmon.h: Likewise.
1243 * hurd/hurdmsg.c: Likewise.
1244 * hurd/new-fd.c: Likewise.
1245 * hurd/ports-get.c: Likewise.
1246 * iconvdata/ibm1008_420.c: Likewise.
1247 * inet/tst-getni1.c: Likewise.
1248 * inet/tst-getni2.c: Likewise.
1249 * libio/ioungetc.c: Likewise.
1250 * libio/wfiledoalloc.c: Likewise.
1251 * manual/libm-err-tab.pl: Likewise.
1252 * math/w_dremf.c: Likewise.
1253 * misc/ftruncate.c: Likewise.
1254 * posix/bug-glob2.c: Likewise.
1255 * posix/tst-pcre.c: Likewise.
1256 * posix/wait4.c: Likewise.
1257 * resolv/README: Likewise.
1258 * resolv/res_debug.h: Likewise.
1259 * resolv/tst-inet_ntop.c: Likewise.
1260 * setjmp/bug269-setjmp.c: Likewise.
1261 * soft-fp/extended.h: Likewise.
1262 * soft-fp/op-1.h: Likewise.
1263 * soft-fp/op-2.h: Likewise.
1264 * soft-fp/op-4.h: Likewise.
1265 * soft-fp/op-8.h: Likewise.
1266 * soft-fp/testit.c: Likewise.
1267 * stdio-common/bug16.c: Likewise.
1268 * stdlib/random.c: Likewise.
1269 * sunrpc/rpcsvc/rquota.x: Likewise.
1270 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1271 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1272 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1273 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1274 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1276 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1277 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1278 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1279 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1280 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1297 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1299 * sysdeps/ieee754/s_lib_version.c: Likewise.
1300 * sysdeps/mach/hurd/check_fds.c: Likewise.
1301 * sysdeps/mach/hurd/getsockname.c: Likewise.
1302 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1303 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1304 * sysdeps/powerpc/bits/link.h: Likewise.
1305 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1306 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1307 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1308 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1309 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1310 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1311 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1312 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1313 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1314 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1315 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1316 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1317 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1318 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1319 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1320 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1324 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1326 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1327 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1328 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1329 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1330 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1332 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1334 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1339 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1340 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1341 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1342 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1343 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1344 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1345 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1347 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1348 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1349 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1350 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1351 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1354 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1355 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1357 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1358 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1359 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1361 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1363 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1364 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1365 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1367 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1368 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1369 * sysdeps/powerpc/sysdep.h: Likewise.
1370 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1371 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1372 * sysdeps/sh/dl-trampoline.S: Likewise.
1373 * sysdeps/sh/memset.S: Likewise.
1374 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1375 * sysdeps/sh/strlen.S: Likewise.
1376 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1377 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1378 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1379 * sysdeps/sparc/sparc32/rem.S: Likewise.
1380 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1381 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1382 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1383 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1384 * sysdeps/sparc/sparc32/urem.S: Likewise.
1385 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1386 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1387 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1388 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1389 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1390 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1391 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1392 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1393 * sysdeps/unix/bsd/times.c: Likewise.
1394 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1395 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1400 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1401 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1403 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1404 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1405 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1406 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1408 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1409 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1410 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1412 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1413 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1414 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1415 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1416 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1417 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1418 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1419 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1420 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1422 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1423 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1424 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1425 * sysdeps/x86_64/strcspn.S: Likewise.
1426
869378a5
RA
14272013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1428
1429 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1430 generated file. Regenerate properly from gen-translit.pl.
1431 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1432 locale/C-translit.h.
1433
840e2943
AS
14342013-06-05 Andreas Schwab <schwab@suse.de>
1435
1436 [BZ #15100]
1437 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1438 week as 6 instead of -1.
1439 * time/tst-strptime.c (day_tests): Add test case.
1440
4c60cb0c
SP
14412013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 * sysdeps/generic/math_private.h
1444 (libc_feholdexcept_setround_53bit): Replace with
1445 libc_feholdsetround_53bit.
1446 (libc_feupdateenv_53bit): Replace with
1447 libc_feresetround_53bit.
1448 (SET_RESTORE_ROUND_53BIT): Adjust.
1449
d180203e
SP
14502013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1451
96df079a
SP
1452 * string/test-strchrnul.c: Add copyright header.
1453
d180203e
SP
1454 * posix/tst-getaddrinfo4.c: Increase test timeout.
1455
8b0ccb2d
CD
14562013-06-03 Carlos O'Donell <carlos@redhat.com>
1457
1458 [BZ #15536]
1459 * math/libm-test.inc (MAX_EXP): Remove
1460 (MIN_EXP): Define.
1461 (ulp): Use MIN_EXP - MANT_DIG.
1462 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1463
3b3c4d40
CD
14642013-05-31 Carlos O'Donell <carlos@redhat.com>
1465
1466 * po/be.po: Revert last change.
1467 * po/zh_CN.po: Likewise.
1468 * po/header.pot: Likewise.
1469
fab7ce3f
JM
14702013-05-31 Joseph Myers <joseph@codesourcery.com>
1471
1472 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1473 link-libc-deps to empty as target-specific variable.
1474 * Makerules (link-libc-args): New variable.
1475 (libc-for-link): Likewise.
1476 (link-libc-deps): Likewise.
1477 (lib%.so): Depend on $(link-libc-deps). Link with
1478 $(link-libc-args).
1479 (build-module): Link with $(link-libc-args).
1480 (build-module-asneeded): Likewise.
1481 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1482 list of objects.
1483 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1484 target-specific variable.
1485 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1486 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1487 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1488 libc.
1489 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1490 libc and ld.so.
1491 ($(objpfx)libpcprofile.so): Likewise.
1492 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1493 libc_nonshared.a.
1494 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1495 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1496 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1497 $(link-libc-deps).
1498 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1499 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1500 * login/Makefile ($(objpfx)libutil.so): Likewise.
1501 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1502 * math/Makefile ($(objpfx)libm.so): Likewise.
1503 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1504 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1505 variable instead of depending directly on libc.
1506 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1507 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1508 $(link-libc-deps).
1509 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1510 libc.
1511 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1512 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1513 ($(objpfx)libanl.so): Likewise.
1514 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1515 ld.so.
1516 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1517 $(link-libc-deps).
1518 * sysdeps/i386/fpu/Makefile: Remove file.
1519 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1520 ($(objpfx)libm.so): Remove dependency on ld.so.
1521
eca5920c
PF
15222013-05-30 Patsy Franklin <pfrankli@redhat.com>
1523
1524 [BZ # 15553]
1525 * nis/yp_xdr.c (XDRMAXNAME): Define.
1526 (XDRMAXRECORD): Define.
1527 (xdr_domainname): Use XDRMAXNAME.
1528 (xdr_mapname): Likewise.
1529 (xdr_peername): Likewise.
1530 (xdr_keydat): Use XDRMAXRECORD.
1531 (xdr_valdat): Likewise.
1532
15332013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1534
1535 [BZ #14256]
1536 * manual/errno.texi (ESTALE): Update to account for more than
1537 just NFS file systems.
1538 * sysdeps/gnu/errlist.c: Regenerated.
1539
b9375348
SP
15402013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1541
1542 [BZ #15465]
1543 * elf/Makefile (tests): Add tst-null-argv.
1544 (modules-names): Add tst-null-argv-lib.
1545 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1546 (tst-null-argv-ENV): Set environment for tst-null-argv.
1547 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1548 (RTLD_PROGNAME): New macro.
1549 * elf/tst-null-argv.c: New test case.
1550 * elf/tst-null-argv-lib.c: Library for test case.
1551 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1552 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1553 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1554 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1555 * elf/dl-init.c (call_init): Likewise.
1556 (_dl_init): Likewise.
1557 * elf/dl-load.c (print_search_path): Likewise.
1558 (_dl_map_object): Likewise.
1559 * elf/dl-lookup.c (do_lookup_x): Likewise.
1560 (add_dependency): Likewise.
1561 (_dl_lookup_symbol_x): Likewise.
1562 (_dl_debug_bindings): Likewise.
1563 * elf/dl-open.c (_dl_show_scope): Likewise.
1564 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1565 * elf/dl-version.c (match_symbol): Likewise.
1566 (_dl_check_map_versions): Likewise.
1567 * elf/rtld.c (dl_main): Likewise.
1568 (print_unresolved): Use RTLD_PROGNAME.
1569 (print_missing_version): Likewise.
1570 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1571 (elf_machine_rela): Likewise.
1572 * sysdeps/powerpc/powerpc32/dl-machine.c
1573 (__process_machine_rela): Likewise.
1574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1575 Likewise.
1576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1577 Likewise.
1578 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1579 Likewise.
1580 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1582 Likewise.
1583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1584 Likewise.
1585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1586
8a9f20c8
CD
15872013-05-28 Carlos O'Donell <carlos@redhat.com>
1588
1589 * po/be.po: Add descriptive title.
1590 * po/zh_CN.po: Likewise.
1591 * po/header.pot: Likewise.
1592
0e60d68e
MF
15932013-05-28 Mike Frysinger <vapier@gentoo.org>
1594
1595 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1596 error message.
1597 (enlarge_archive): Likewise.
1598
56b672e9
BN
15992013-05-28 Ben North <ben@redfrontdoor.org>
1600
1601 * manual/arith.texi (frexp): It is the magnitude of the return
1602 value which lies in [0.5, 1), not the return value itself.
1603
5e056687
AZ
16042013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605
1606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1607
2b66ef5d
TS
16082013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1609
528c2405
TS
1610 * stdio-common/bug26.c (main): Correct fscanf template.
1611
07b4c13d
TS
1612 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1613 declare _dl_skip_args.
1614
ec9dd97c
TS
1615 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1616 Don't declare.
1617
2b66ef5d
TS
1618 * manual/platform.texi: Add missing @end deftypefun.
1619
4f8dfe27
JM
16202013-05-24 Joseph Myers <joseph@codesourcery.com>
1621
0323d086
JM
1622 [BZ #15529]
1623 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1624 bit of mantissa of 2^16382.
1625 * math/libm-test.inc (hypot_test_data): Add more tests.
1626
dd4259b9
JM
1627 * math/libm-test.inc: Add drem and pow10 to list of tested
1628 functions.
1629 (pow10_test): New function.
1630 (drem_test): Likewise.
1631 (drem_test_tonearest): Likewise.
1632 (drem_test_towardzero): Likewise.
1633 (drem_test_downward): Likewise.
1634 (drem_test_upward): Likewise.
1635 (main): Call the new functions.
1636
4f8dfe27
JM
1637 * math/libm-test.inc (finite_test_data): Remove.
1638 (finite_test): Run tests from isfinite_test_data.
1639 (gamma_test_data): Remove.
1640 (gamma_test): Run tests from lgamma_test_data.
1641 * sysdeps/i386/fpu/libm-test-ulps: Update.
1642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1643
d116b7c4
AZ
16442013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645
1646 * manual/platform.texi: Add PowerPC PPR function set documentation.
1647 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1648 implementation.
1649
e96e3767
CD
16502013-05-24 Carlos O'Donell <carlos@redhat.com>
1651
1652 * math/libm-test.inc (MAX_EXP): Define.
1653 (ULPDIFF): Define.
1654 (ulp): New function.
1655 (check_float_internal): Use ULPDIFF.
1656 (cpow_test): Disable failing test.
1657 (check_ulp): Test ulp() implemetnation.
1658 (main): Call check_ulp before starting tests.
1659
b679a606
JM
16602013-05-24 Joseph Myers <joseph@codesourcery.com>
1661
e8bdba36
JM
1662 * math/gen-libm-test.pl (generate_testfile): Do not handle
1663 START_DATA and END_DATA.
1664 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1665 END_DATA.
1666 (acos_tonearest_test_data): Likewise.
1667 (acos_towardzero_test_data): Likewise.
1668 (acos_downward_test_data): Likewise.
1669 (acos_upward_test_data): Likewise.
1670 (acosh_test_data): Likewise.
1671 (asin_test_data): Likewise.
1672 (asin_tonearest_test_data): Likewise.
1673 (asin_towardzero_test_data): Likewise.
1674 (asin_downward_test_data): Likewise.
1675 (asin_upward_test_data): Likewise.
1676 (asinh_test_data): Likewise.
1677 (atan_test_data): Likewise.
1678 (atanh_test_data): Likewise.
1679 (atan2_test_data): Likewise.
1680 (cabs_test_data): Likewise.
1681 (cacos_test_data): Likewise.
1682 (cacosh_test_data): Likewise.
1683 (carg_test_data): Likewise.
1684 (casin_test_data): Likewise.
1685 (casinh_test_data): Likewise.
1686 (catan_test_data): Likewise.
1687 (catanh_test_data): Likewise.
1688 (cbrt_test_data): Likewise.
1689 (ccos_test_data): Likewise.
1690 (ccosh_test_data): Likewise.
1691 (ceil_test_data): Likewise.
1692 (cexp_test_data): Likewise.
1693 (cimag_test_data): Likewise.
1694 (clog_test_data): Likewise.
1695 (clog10_test_data): Likewise.
1696 (conj_test_data): Likewise.
1697 (copysign_test_data): Likewise.
1698 (cos_test_data): Likewise.
1699 (cos_tonearest_test_data): Likewise.
1700 (cos_towardzero_test_data): Likewise.
1701 (cos_downward_test_data): Likewise.
1702 (cos_upward_test_data): Likewise.
1703 (cosh_test_data): Likewise.
1704 (cosh_tonearest_test_data): Likewise.
1705 (cosh_towardzero_test_data): Likewise.
1706 (cosh_downward_test_data): Likewise.
1707 (cosh_upward_test_data): Likewise.
1708 (cpow_test_data): Likewise.
1709 (cproj_test_data): Likewise.
1710 (creal_test_data): Likewise.
1711 (csin_test_data): Likewise.
1712 (csinh_test_data): Likewise.
1713 (csqrt_test_data): Likewise.
1714 (ctan_test_data): Likewise.
1715 (ctan_tonearest_test_data): Likewise.
1716 (ctan_towardzero_test_data): Likewise.
1717 (ctan_downward_test_data): Likewise.
1718 (ctan_upward_test_data): Likewise.
1719 (ctanh_test_data): Likewise.
1720 (ctanh_tonearest_test_data): Likewise.
1721 (ctanh_towardzero_test_data): Likewise.
1722 (ctanh_downward_test_data): Likewise.
1723 (ctanh_upward_test_data): Likewise.
1724 (erf_test_data): Likewise.
1725 (erfc_test_data): Likewise.
1726 (exp_test_data): Likewise.
1727 (exp_tonearest_test_data): Likewise.
1728 (exp_towardzero_test_data): Likewise.
1729 (exp_downward_test_data): Likewise.
1730 (exp_upward_test_data): Likewise.
1731 (exp10_test_data): Likewise.
1732 (exp2_test_data): Likewise.
1733 (expm1_test_data): Likewise.
1734 (fabs_test_data): Likewise.
1735 (fdim_test_data): Likewise.
1736 (finite_test_data): Likewise.
1737 (floor_test_data): Likewise.
1738 (fma_test_data): Likewise.
1739 (fma_towardzero_test_data): Likewise.
1740 (fma_downward_test_data): Likewise.
1741 (fma_upward_test_data): Likewise.
1742 (fmax_test_data): Likewise.
1743 (fmin_test_data): Likewise.
1744 (fmod_test_data): Likewise.
1745 (fpclassify_test_data): Likewise.
1746 (frexp_test_data): Likewise.
1747 (gamma_test_data): Likewise.
1748 (hypot_test_data): Likewise.
1749 (ilogb_test_data): Likewise.
1750 (isfinite_test_data): Likewise.
1751 (isgreater_test_data): Likewise.
1752 (isgreaterequal_test_data): Likewise.
1753 (isinf_test_data): Likewise.
1754 (isless_test_data): Likewise.
1755 (islessequal_test_data): Likewise.
1756 (islessgreater_test_data): Likewise.
1757 (isnan_test_data): Likewise.
1758 (isnormal_test_data): Likewise.
1759 (issignaling_test_data): Likewise.
1760 (isunordered_test_data): Likewise.
1761 (j0_test_data): Likewise.
1762 (j1_test_data): Likewise.
1763 (jn_test_data): Likewise.
1764 (ldexp_test_data): Likewise.
1765 (lgamma_test_data): Likewise.
1766 (lrint_test_data): Likewise.
1767 (lrint_tonearest_test_data): Likewise.
1768 (lrint_towardzero_test_data): Likewise.
1769 (lrint_downward_test_data): Likewise.
1770 (lrint_upward_test_data): Likewise.
1771 (llrint_test_data): Likewise.
1772 (llrint_tonearest_test_data): Likewise.
1773 (llrint_towardzero_test_data): Likewise.
1774 (llrint_downward_test_data): Likewise.
1775 (llrint_upward_test_data): Likewise.
1776 (log_test_data): Likewise.
1777 (log10_test_data): Likewise.
1778 (log1p_test_data): Likewise.
1779 (log2_test_data): Likewise.
1780 (logb_test_data): Likewise.
1781 (logb_downward_test_data): Likewise.
1782 (lround_test_data): Likewise.
1783 (llround_test_data): Likewise.
1784 (modf_test_data): Likewise.
1785 (nearbyint_test_data): Likewise.
1786 (nextafter_test_data): Likewise.
1787 (nexttoward_test_data): Likewise.
1788 (pow_test_data): Likewise.
1789 (pow_tonearest_test_data): Likewise.
1790 (pow_towardzero_test_data): Likewise.
1791 (pow_downward_test_data): Likewise.
1792 (pow_upward_test_data): Likewise.
1793 (remainder_test_data): Likewise.
1794 (remainder_tonearest_test_data): Likewise.
1795 (remainder_towardzero_test_data): Likewise.
1796 (remainder_downward_test_data): Likewise.
1797 (remainder_upward_test_data): Likewise.
1798 (remquo_test_data): Likewise.
1799 (rint_test_data): Likewise.
1800 (rint_tonearest_test_data): Likewise.
1801 (rint_towardzero_test_data): Likewise.
1802 (rint_downward_test_data): Likewise.
1803 (rint_upward_test_data): Likewise.
1804 (round_test_data): Likewise.
1805 (scalb_test_data): Likewise.
1806 (scalbn_test_data): Likewise.
1807 (scalbln_test_data): Likewise.
1808 (signbit_test_data): Likewise.
1809 (sin_test_data): Likewise.
1810 (sin_tonearest_test_data): Likewise.
1811 (sin_towardzero_test_data): Likewise.
1812 (sin_downward_test_data): Likewise.
1813 (sin_upward_test_data): Likewise.
1814 (sincos_test_data): Likewise.
1815 (sinh_test_data): Likewise.
1816 (sinh_tonearest_test_data): Likewise.
1817 (sinh_towardzero_test_data): Likewise.
1818 (sinh_downward_test_data): Likewise.
1819 (sinh_upward_test_data): Likewise.
1820 (sqrt_test_data): Likewise.
1821 (tan_test_data): Likewise.
1822 (tan_tonearest_test_data): Likewise.
1823 (tan_towardzero_test_data): Likewise.
1824 (tan_downward_test_data): Likewise.
1825 (tan_upward_test_data): Likewise.
1826 (tanh_test_data): Likewise.
1827 (tgamma_test_data): Likewise.
1828 (trunc_test_data): Likewise.
1829 (y0_test_data): Likewise.
1830 (y1_test_data): Likewise.
1831 (yn_test_data): Likewise.
1832 (significand_test_data): Likewise.
1833
b679a606
JM
1834 * math/gen-libm-test.pl (@functions): Remove variable.
1835 (generate_testfile): Don't handle START and END lines.
1836 * math/libm-test.inc (START): New macro.
1837 (END): Likewise.
1838 (END_COMPLEX): Likewise.
1839 (acos_test): Use END macro without arguments.
1840 (acos_test_tonearest): Likewise.
1841 (acos_test_towardzero): Likewise.
1842 (acos_test_downward): Likewise.
1843 (acos_test_upward): Likewise.
1844 (acosh_test): Likewise.
1845 (asin_test): Likewise.
1846 (asin_test_tonearest): Likewise.
1847 (asin_test_towardzero): Likewise.
1848 (asin_test_downward): Likewise.
1849 (asin_test_upward): Likewise.
1850 (asinh_test): Likewise.
1851 (atan_test): Likewise.
1852 (atanh_test): Likewise.
1853 (atan2_test): Likewise.
1854 (cabs_test): Likewise.
1855 (cacos_test): Use END_COMPLEX macro without arguments.
1856 (cacosh_test): Likewise.
1857 (carg_test): Use END macro without arguments.
1858 (casin_test): Use END_COMPLEX macro without arguments.
1859 (casinh_test): Likewise.
1860 (catan_test): Likewise.
1861 (catanh_test): Likewise.
1862 (cbrt_test): Use END macro without arguments.
1863 (ccos_test): Use END_COMPLEX macro without arguments.
1864 (ccosh_test): Likewise.
1865 (ceil_test): Use END macro without arguments.
1866 (cexp_test): Use END_COMPLEX macro without arguments.
1867 (cimag_test): Use END macro without arguments.
1868 (clog_test): Use END_COMPLEX macro without arguments.
1869 (clog10_test): Likewise.
1870 (conj_test): Likewise.
1871 (copysign_test): Use END macro without arguments.
1872 (cos_test): Likewise.
1873 (cos_test_tonearest): Likewise.
1874 (cos_test_towardzero): Likewise.
1875 (cos_test_downward): Likewise.
1876 (cos_test_upward): Likewise.
1877 (cosh_test): Likewise.
1878 (cosh_test_tonearest): Likewise.
1879 (cosh_test_towardzero): Likewise.
1880 (cosh_test_downward): Likewise.
1881 (cosh_test_upward): Likewise.
1882 (cpow_test): Use END_COMPLEX macro without arguments.
1883 (cproj_test): Likewise.
1884 (creal_test): Use END macro without arguments.
1885 (csin_test): Use END_COMPLEX macro without arguments.
1886 (csinh_test): Likewise.
1887 (csqrt_test): Likewise.
1888 (ctan_test): Likewise.
1889 (ctan_test_tonearest): Likewise.
1890 (ctan_test_towardzero): Likewise.
1891 (ctan_test_downward): Likewise.
1892 (ctan_test_upward): Likewise.
1893 (ctanh_test): Likewise.
1894 (ctanh_test_tonearest): Likewise.
1895 (ctanh_test_towardzero): Likewise.
1896 (ctanh_test_downward): Likewise.
1897 (ctanh_test_upward): Likewise.
1898 (erf_test): Use END macro without arguments.
1899 (erfc_test): Likewise.
1900 (exp_test): Likewise.
1901 (exp_test_tonearest): Likewise.
1902 (exp_test_towardzero): Likewise.
1903 (exp_test_downward): Likewise.
1904 (exp_test_upward): Likewise.
1905 (exp10_test): Likewise.
1906 (exp2_test): Likewise.
1907 (expm1_test): Likewise.
1908 (fabs_test): Likewise.
1909 (fdim_test): Likewise.
1910 (finite_test): Likewise.
1911 (floor_test): Likewise.
1912 (fma_test): Likewise.
1913 (fma_test_towardzero): Likewise.
1914 (fma_test_downward): Likewise.
1915 (fma_test_upward): Likewise.
1916 (fmax_test): Likewise.
1917 (fmin_test): Likewise.
1918 (fmod_test): Likewise.
1919 (fpclassify_test): Likewise.
1920 (frexp_test): Likewise.
1921 (gamma_test): Likewise.
1922 (hypot_test): Likewise.
1923 (ilogb_test): Likewise.
1924 (isfinite_test): Likewise.
1925 (isgreater_test): Likewise.
1926 (isgreaterequal_test): Likewise.
1927 (isinf_test): Likewise.
1928 (isless_test): Likewise.
1929 (islessequal_test): Likewise.
1930 (islessgreater_test): Likewise.
1931 (isnan_test): Likewise.
1932 (isnormal_test): Likewise.
1933 (issignaling_test): Likewise.
1934 (isunordered_test): Likewise.
1935 (j0_test): Likewise.
1936 (j1_test): Likewise.
1937 (jn_test): Likewise.
1938 (ldexp_test): Likewise.
1939 (lgamma_test): Likewise.
1940 (lrint_test): Likewise.
1941 (lrint_test_tonearest): Likewise.
1942 (lrint_test_towardzero): Likewise.
1943 (lrint_test_downward): Likewise.
1944 (lrint_test_upward): Likewise.
1945 (llrint_test): Likewise.
1946 (llrint_test_tonearest): Likewise.
1947 (llrint_test_towardzero): Likewise.
1948 (llrint_test_downward): Likewise.
1949 (llrint_test_upward): Likewise.
1950 (log_test): Likewise.
1951 (log10_test): Likewise.
1952 (log1p_test): Likewise.
1953 (log2_test): Likewise.
1954 (logb_test): Likewise.
1955 (logb_test_downward): Likewise.
1956 (lround_test): Likewise.
1957 (llround_test): Likewise.
1958 (modf_test): Likewise.
1959 (nearbyint_test): Likewise.
1960 (nextafter_test): Likewise.
1961 (nexttoward_test): Likewise.
1962 (pow_test): Likewise.
1963 (pow_test_tonearest): Likewise.
1964 (pow_test_towardzero): Likewise.
1965 (pow_test_downward): Likewise.
1966 (pow_test_upward): Likewise.
1967 (remainder_test): Likewise.
1968 (remainder_test_tonearest): Likewise.
1969 (remainder_test_towardzero): Likewise.
1970 (remainder_test_downward): Likewise.
1971 (remainder_test_upward): Likewise.
1972 (remquo_test): Likewise.
1973 (rint_test): Likewise.
1974 (rint_test_tonearest): Likewise.
1975 (rint_test_towardzero): Likewise.
1976 (rint_test_downward): Likewise.
1977 (rint_test_upward): Likewise.
1978 (round_test): Likewise.
1979 (scalb_test): Likewise.
1980 (scalbn_test): Likewise.
1981 (scalbln_test): Likewise.
1982 (signbit_test): Likewise.
1983 (sin_test): Likewise.
1984 (sin_test_tonearest): Likewise.
1985 (sin_test_towardzero): Likewise.
1986 (sin_test_downward): Likewise.
1987 (sin_test_upward): Likewise.
1988 (sincos_test): Likewise.
1989 (sinh_test): Likewise.
1990 (sinh_test_tonearest): Likewise.
1991 (sinh_test_towardzero): Likewise.
1992 (sinh_test_downward): Likewise.
1993 (sinh_test_upward): Likewise.
1994 (sqrt_test): Likewise.
1995 (tan_test): Likewise.
1996 (tan_test_tonearest): Likewise.
1997 (tan_test_towardzero): Likewise.
1998 (tan_test_downward): Likewise.
1999 (tan_test_upward): Likewise.
2000 (tanh_test): Likewise.
2001 (tgamma_test): Likewise.
2002 (trunc_test): Likewise.
2003 (y0_test): Likewise.
2004 (y1_test): Likewise.
2005 (yn_test): Likewise.
2006 (significand_test): Likewise.
2007
bae143d2
OB
20082013-05-24 Ondřej Bílka <neleai@seznam.cz>
2009
2010 [BZ #15381]
2011 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2012
9323d39b
EM
20132013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2014
d4ea44a0 2015 [BZ #14894]
9323d39b
EM
2016 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2017 __ppc_mdoio and __ppc_mdoom.
2018 * manual/platform.texi: Document new functions __ppc_yield,
2019 __ppc_mdoio and __ppc_mdoom.
2020
13e23af7
CD
20212013-05-22 Carlos O'Donell <carlos@redhat.com>
2022
2023 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2024 (main): Mention "tls" pseudo-hwcap is legacy.
2025 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2026
351fe550
JM
20272013-05-22 Joseph Myers <joseph@codesourcery.com>
2028
2029 * math/gen-libm-test.pl (parse_args): Output only string of
2030 arguments as text for test name, not full call or descriptions of
2031 tests for extra outputs.
2032 (generate_testfile): Do not pass function name to parse_args.
2033 Generate this_func variable from START.
2034 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2035 field to arg_str.
2036 (struct test_ff_f_data): Likewise.
2037 (test_ff_f_data_nexttoward): Likewise.
2038 (struct test_fi_f_data): Likewise.
2039 (struct test_fl_f_data): Likewise.
2040 (struct test_if_f_data): Likewise.
2041 (struct test_fff_f_data): Likewise.
2042 (struct test_c_f_data): Likewise.
2043 (struct test_f_f1_data): Likewise. Remove field extra_name.
2044 (struct test_fF_f1_data): Likewise.
2045 (struct test_ffI_f1_data): Likewise.
2046 (struct test_c_c_data): Rename test_name field to arg_str.
2047 (struct test_cc_c_data): Likewise.
2048 (struct test_f_i_data): Likewise.
2049 (struct test_ff_i_data): Likewise.
2050 (struct test_f_l_data): Likewise.
2051 (struct test_f_L_data): Likewise.
2052 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2053 and extra2_name.
2054 (COMMON_TEST_SETUP): New macro.
2055 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2056 (COMMON_TEST_CLEANUP): Likewise.
2057 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2058 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2059 macros.
2060 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2061 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2062 macros.
2063 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2064 (RUN_TEST_fff_f): Take argument string. Call new setup and
2065 cleanup macros.
2066 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2067 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2068 macros.
2069 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2070 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2071 macros.
2072 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2073 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2074 cleanup macros.
2075 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2076 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2077 cleanup macros.
2078 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2079 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2080 cleanup macros.
2081 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2082 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2083 macros.
2084 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2085 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2086 macros.
2087 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2088 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2089 macros.
2090 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2091 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2092 cleanup macros.
2093 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2094 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2095 cleanup macros.
2096 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2097 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2098 macros.
2099 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2100 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2101 cleanup macros.
2102 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2103 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2104 macros.
2105 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2106 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2107 macros.
2108 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2109 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2110 cleanup macros.
2111 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2112
85118d4d
EBM
21132013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2114
2115 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2116 to _sifields.sigfault.
2117 (si_addr_lsb): Define new macro.
2118 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2119 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2120 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2121
7a44c18f
CD
21222013-05-03 Carlos O'Donell <carlos at redhat.com>
2123
2124 [BZ #15441]
2125 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2126 returns -1.
2127 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2128 null return -1.
2129 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2130 loading the domain.
2131
b50a7181
JM
21322013-05-22 Joseph Myers <joseph@codesourcery.com>
2133
2134 * math/gen-libm-test.pl (parse_args): Do not include expected
2135 result in test name.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2138 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2139 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2140 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2142
051063c8
SP
21432013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2144
3ce9e010
SP
2145 * benchtests/Makefile: Sort function entries.
2146
051063c8
SP
2147 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2148 tanh, asinh, acosh, atanh.
2149 * benchtests/acos-inputs: New file.
2150 * benchtests/acosh-inputs: New file.
2151 * benchtests/asin-inputs: New file.
2152 * benchtests/asinh-inputs: New file.
2153 * benchtests/atanh-inputs: New file.
2154 * benchtests/cosh-inputs: New file.
2155 * benchtests/log-inputs: New file.
2156 * benchtests/sinh-inputs: New file.
2157 * benchtests/tanh-inputs: New file.
2158
47c22455
DL
21592013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2160
2161 [BZ #15339]
2162 * posix/tst-getaddrinfo4.c: New test.
2163 * posix/Makefile (tests): Add it.
2164
3d04f5db
SP
21652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2166
2167 [BZ #15339]
2168 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2169 when no services were used.
2170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2171 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2172
d5dd6189
AS
21732013-05-21 Andreas Schwab <schwab@suse.de>
2174
2175 [BZ #15014]
2176 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2177 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2178 successful.
2179 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2180 redundant variable declarations and reallocation of buffer when
2181 parsing as IPv6 address. Always set NSS status when called from
2182 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2183 buffer too small. Correct computation of needed size.
2184 * nss/Makefile (tests): Add test-digits-dots.
2185 * nss/test-digits-dots.c: New test.
2186
fef94eab
SP
21872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2188
2189 * benchtests/Makefile: Remove instructions for adding
2190 benchmark tests.
2191 * benchtests/README: New file to explain how to execute and
2192 enhance the benchmark tests.
2193
e39adf43
AS
21942013-05-21 Andreas Schwab <schwab@suse.de>
2195
2196 [BZ #15493]
2197 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2198 * setjmp/tst-sigsetjmp.c: New test.
2199
b2b671b6
OB
22002013-05-20 Ondřej Bílka <neleai@seznam.cz>
2201
2202 * sysdeps/x86_64/memset.S (memset): New implementation.
2203 (__bzero): Likewise.
2204 (__memset_tail): New function.
2205
2d48b41c
OB
22062013-05-20 Ondřej Bílka <neleai@seznam.cz>
2207
2208 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2209 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2210 __memcpy_sse2_unaligned ifunc selection.
2211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2212 Add memcpy-sse2-unaligned.S.
2213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2214 Add: __memcpy_sse2_unaligned.
2215
f16cc3eb
JM
22162013-05-19 Joseph Myers <joseph@codesourcery.com>
2217
3e694268
JM
2218 [BZ #15490]
2219 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2220 math_force_eval before restoring floating-point envrionment.
2221 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2223 Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2225 <math_private.h>.
2226 (__nearbyintl): Use math_force_eval before restoring
2227 floating-point environment.
2228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2229
db62a907
JM
2230 * math/gen-libm-test.pl (special_functions): Remove.
2231 (parse_args): Don't handle TEST_extra. Handle functions with no
2232 return value.
2233 * math/libm-test.inc (struct test_sincos_data): Replace with
2234 struct test_fFF_11_data.
2235 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2236 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2237 (sincos_test_data): Change element type to struct
2238 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2239 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2240 RUN_TEST_LOOP_sincos.
2241 * math/README.libm-test: Don't mention special handling of
2242 individual functions.
2243 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2245 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2246 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2247 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2249
f16cc3eb
JM
2250 * math/gen-libm-test.pl (get_variable): Remove function.
2251 (parse_args): Don't show pointer parameters to call in test
2252 names. Use "extra output N" in test names for extra outputs
2253 rather than naming variables.
2254
3779b5b6
JM
22552013-05-18 Joseph Myers <joseph@codesourcery.com>
2256
2ee094ff
JM
2257 [BZ #15488]
2258 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2259 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2260 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2261 double tests.
2262 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2263 disable.
2264 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2265 check_long_double.
2266
3779b5b6
JM
2267 * math/gen-libm-test.pl (@tests): Remove variable.
2268 ($count): Likewise.
2269 (new_test): Remove function.
2270 (show_exceptions): New function.
2271 (special_functions): Use show_exceptions instead of new_test.
2272 (parse_args): Likewise.
2273 (generate_testfile): Pass only function name in generated call to
2274 print_max_error or print_complex_max_error.
2275 (get_ulps): Do not handle complex tests specially.
2276 (output_test): Rename to ...
2277 (get_all_ulps_for_test): ... this. Return a string rather than
2278 printing to a file. Require ulps to be present.
2279 (output_ulps): Generate arrays rather than #defines.
2280 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2281 (struct ulp_data): New type.
2282 (BUILD_COMPLEX_ULP): Remove macro.
2283 (compare_ulp_data): New function.
2284 (find_ulps): Likewise.
2285 (find_test_ulps): Likewise.
2286 (find_function_ulps): Likewise.
2287 (find_complex_function_ulps): Likewise.
2288 (print_max_error): Determine allowed ulps using
2289 find_function_ulps.
2290 (print_complex_max_error): Determine allowed ulps using
2291 find_complex_function_ulps.
2292 (check_float_internal): Determine max ulps using find_test_ulps.
2293 (check_float): Do not take max_ulp parameter. Update call to
2294 check_float_internal.
2295 (check_complex): Likewise.
2296 (check_int): Do not take max_ulp parameter.
2297 (check_long): Likewise.
2298 (check_bool): Likewise.
2299 (check_longlong): Likewise.
2300 (struct test_f_f_data): Remove max_ulp field.
2301 (struct test_ff_f_data): Likewise.
2302 (struct test_ff_f_data_nexttoward): Likewise.
2303 (struct test_fi_f_data): Likewise.
2304 (struct test_fl_f_data): Likewise.
2305 (struct test_if_f_data): Likewise.
2306 (struct test_fff_f_data): Likewise.
2307 (struct test_c_f_data): Likewise.
2308 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2309 (struct test_fF_f1_data): Likewise.
2310 (struct test_ffI_f1_data): Likewise.
2311 (struct test_c_c_data): Remove max_ulp field.
2312 (struct test_cc_c_data): Likewise.
2313 (struct test_f_i_data): Likewise.
2314 (struct test_ff_i_data): Likewise.
2315 (struct test_f_l_data): Likewise.
2316 (struct test_f_L_data): Likewise.
2317 (struct test_sincos_data): Likewise.
2318 (RUN_TEST_f_f): Do not handle ulps.
2319 (RUN_TEST_LOOP_f_f): Likewise.
2320 (RUN_TEST_2_f): Likewise.
2321 (RUN_TEST_LOOP_2_f): Likewise.
2322 (RUN_TEST_fff_f): Likewise.
2323 (RUN_TEST_LOOP_fff_f): Likewise.
2324 (RUN_TEST_c_f): Likewise.
2325 (RUN_TEST_LOOP_c_f): Likewise.
2326 (RUN_TEST_f_f1): Likewise.
2327 (RUN_TEST_LOOP_f_f1): Likewise.
2328 (RUN_TEST_fF_f1): Likewise.
2329 (RUN_TEST_LOOP_fF_f1): Likewise.
2330 (RUN_TEST_fI_f1): Likewise.
2331 (RUN_TEST_LOOP_fI_f1): Likewise.
2332 (RUN_TEST_ffI_f1): Likewise.
2333 (RUN_TEST_LOOP_ffI_f1): Likewise.
2334 (RUN_TEST_c_c): Likewise.
2335 (RUN_TEST_LOOP_c_c): Likewise.
2336 (RUN_TEST_cc_c): Likewise.
2337 (RUN_TEST_LOOP_cc_c): Likewise.
2338 (RUN_TEST_f_i): Likewise.
2339 (RUN_TEST_LOOP_f_i): Likewise.
2340 (RUN_TEST_f_i_tg): Likewise.
2341 (RUN_TEST_LOOP_f_i_tg): Likewise.
2342 (RUN_TEST_ff_i_tg): Likewise.
2343 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2344 (RUN_TEST_f_b): Likewise.
2345 (RUN_TEST_LOOP_f_b): Likewise.
2346 (RUN_TEST_f_b_tg): Likewise.
2347 (RUN_TEST_LOOP_f_b_tg): Likewise.
2348 (RUN_TEST_f_l): Likewise.
2349 (RUN_TEST_LOOP_f_l): Likewise.
2350 (RUN_TEST_f_L): Likewise.
2351 (RUN_TEST_LOOP_f_L): Likewise.
2352 (RUN_TEST_sincos): Likewise.
2353 (RUN_TEST_LOOP_sincos): Likewise.
2354
8269107f
JM
23552013-05-17 Joseph Myers <joseph@codesourcery.com>
2356
bb38759d
JM
2357 [BZ #15480]
2358 [BZ #15485]
2359 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2360 main case of finite arguments, set rounding mode to FE_TONEAREST
2361 and discard exceptions.
2362 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2363 exceptions.
2364 (remainder_tonearest_test_data): New variable.
2365 (remainder_test_tonearest): New function.
2366 (remainder_towardzero_test_data): New variable.
2367 (remainder_test_towardzero): New function.
2368 (remainder_downward_test_data): New variable.
2369 (remainder_test_downward): New function.
2370 (remainder_upward_test_data): New variable.
2371 (remainder_test_upward): New function.
2372 (main): Call the new test functions.
2373
a00bdcf0
JM
2374 * math/libm-test.inc (struct test_f_f1_data): Remove field
2375 extra_init.
2376 (struct test_fF_f1_data): Likewise.
2377 (struct test_ffI_f1_data): Likewise.
2378 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2379 based on value of EXTRA_EXPECTED.
2380 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2381 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2382 EXTRA_VAR based on value of EXTRA_EXPECTED.
2383 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2384 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2385 EXTRA_VAR based on value of EXTRA_EXPECTED.
2386 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2387 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2388 EXTRA_VAR based on value of EXTRA_EXPECTED.
2389 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2390 * math/gen-libm-test.pl (parse_args): Don't output initializers
2391 for extra output values.
2392
de407f79
JM
2393 * math/libm-test.inc (check_int): Expect result to be exactly
2394 equal to expected value and do not handle ulps.
2395 (check_long): Likewise.
2396 (check_longlong): Likewise.
2397
8269107f
JM
2398 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2399 exceptions.
2400 (cimag_test_data): Likewise.
2401 (conj_test_data): Likewise.
2402 (copysign_test_data): Likewise.
2403 (cproj_test_data): Likewise.
2404 (creal_test_data): Likewise.
2405 (fabs_test_data): Likewise.
2406 (fdim_test_data): Likewise.
2407 (finite_test_data): Likewise.
2408 (floor_test_data): Likewise.
2409 (fmax_test_data): Likewise.
2410 (fmin_test_data): Likewise.
2411 (fmod_test_data): Likewise.
2412 (fpclassify_test_data): Likewise.
2413 (frexp_test_data): Likewise.
2414 (ilogb_test_data): Likewise.
2415 (isfinite_test_data): Likewise.
2416 (isgreater_test_data): Likewise.
2417 (isgreaterequal_test_data): Likewise.
2418 (isinf_test_data): Likewise.
2419 (isless_test_data): Likewise.
2420 (islessequal_test_data): Likewise.
2421 (islessgreater_test_data): Likewise.
2422 (isnan_test_data): Likewise.
2423 (isnormal_test_data): Likewise.
2424 (issignaling_test_data): Likewise.
2425 (isunordered_test_data): Likewise.
2426 (ldexp_test_data): Likewise.
2427 (lrint_test_data): Likewise.
2428 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2429 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2430 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2431 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2432 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2433 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2434 test input.
2435 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2436 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2437 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2438 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2439 that test input.
2440 (lrint_downward_test_data): Test for "inexact" exceptions.
2441 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2442 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2443 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2444 test input.
2445 (lrint_upward_test_data): Test for "inexact" exceptions.
2446 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2447 test input.
2448 (llrint_test_data): Test for "inexact" exceptions.
2449 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2450 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2451 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2452 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2453 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2454 (llrint_downward_test_data): Test for "inexact" exceptions.
2455 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2456 (llrint_upward_test_data): Test for "inexact" exceptions.
2457 (logb_test_data): Likewise.
2458 (logb_downward_test_data): Likewise.
2459 (nextafter_test_data): Likewise.
2460 (nexttoward_test_data): Likewise.
2461 (remainder_test_data): Likewise.
2462 (remquo_test_data): Likewise.
2463 (scalbn_test_data): Likewise.
2464 (scalbln_test_data): Likewise.
2465 (signbit_test_data): Likewise.
2466 (sqrt_test_data): Likewise.
2467 (significand_test_data): Likewise.
2468
48a18de1
SP
24692013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2470
2471 [BZ #15424]
2472 * benchtests/bench-modf.c (struct args): Mark arg0 as
2473 volatile.
2474 * scripts/bench.pl: Mark members of struct args as volatile.
2475
13d3b41a
AZ
24762013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477
68191c1d 2478 [BZ # 15497]
13d3b41a
AZ
2479 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2480 negative infinity on POWER6 or lower.
2481 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2482
2848b105
MR
24832013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2484
2485 [BZ #15442]
2486 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2487 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2488 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2489 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2490 (_FP_SETQNAN): New macro.
2491 (_FP_SETQNAN_SEMIRAW): Likewise.
2492 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2493 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2494 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2495 (FP_EXTEND): Use _FP_FRAC_SNANP.
2496 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2497 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2498 into account.
2499 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2500 New macro.
2501 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2502 Likewise.
2503
323e5cb7
JM
25042013-05-16 Joseph Myers <joseph@codesourcery.com>
2505
c58b274f
JM
2506 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2507 with DIVIDE_BY_ZERO_EXCEPTION.
2508 (gamma_test_data): Likewise.
2509 (lgamma_test_data): Likewise.
2510 (log_test_data): Likewise.
2511 (log10_test_data): Likewise.
2512 (log2_test_data): Likewise.
2513 (tgamma_test_data): Likewise.
2514
0ab34904
JM
2515 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2516 (acos_test_tonearest): Likewise.
2517 (acos_test_towardzero): Likewise.
2518 (acos_test_downward): Likewise.
2519 (acos_test_upward): Likewise.
2520 (acosh_test): Likewise.
2521 (asin_test): Likewise.
2522 (asin_test_tonearest): Likewise.
2523 (asin_test_towardzero): Likewise.
2524 (asin_test_downward): Likewise.
2525 (asin_test_upward): Likewise.
2526 (asinh_test): Likewise.
2527 (atan_test): Likewise.
2528 (atanh_test): Likewise.
2529 (atan2_test): Likewise.
2530 (cabs_test): Likewise.
2531 (cacos_test): Likewise.
2532 (cacosh_test): Likewise.
2533 (casin_test): Likewise.
2534 (casinh_test): Likewise.
2535 (catan_test): Likewise.
2536 (catanh_test): Likewise.
2537 (cbrt_test): Likewise.
2538 (ccos_test): Likewise.
2539 (ccosh_test): Likewise.
2540 (cexp_test): Likewise.
2541 (clog_test): Likewise.
2542 (clog10_test): Likewise.
2543 (cos_test): Likewise.
2544 (cos_test_tonearest): Likewise.
2545 (cos_test_towardzero): Likewise.
2546 (cos_test_downward): Likewise.
2547 (cos_test_upward): Likewise.
2548 (cosh_test): Likewise.
2549 (cosh_test_tonearest): Likewise.
2550 (cosh_test_towardzero): Likewise.
2551 (cosh_test_downward): Likewise.
2552 (cosh_test_upward): Likewise.
2553 (cpow_test): Likewise.
2554 (csin_test): Likewise.
2555 (csinh_test): Likewise.
2556 (csqrt_test): Likewise.
2557 (ctan_test): Likewise.
2558 (ctan_test_tonearest): Likewise.
2559 (ctan_test_towardzero): Likewise.
2560 (ctan_test_downward): Likewise.
2561 (ctan_test_upward): Likewise.
2562 (ctanh_test): Likewise.
2563 (ctanh_test_tonearest): Likewise.
2564 (ctanh_test_towardzero): Likewise.
2565 (ctanh_test_downward): Likewise.
2566 (ctanh_test_upward): Likewise.
2567 (erf_test): Likewise.
2568 (erfc_test): Likewise.
2569 (exp_test): Likewise.
2570 (exp_test_tonearest): Likewise.
2571 (exp_test_towardzero): Likewise.
2572 (exp_test_downward): Likewise.
2573 (exp_test_upward): Likewise.
2574 (exp10_test): Likewise.
2575 (exp2_test): Likewise.
2576 (expm1_test): Likewise.
2577 (fmod_test): Likewise.
2578 (gamma_test): Likewise.
2579 (hypot_test): Likewise.
2580 (j0_test): Likewise.
2581 (j1_test): Likewise.
2582 (jn_test): Likewise.
2583 (lgamma_test): Likewise.
2584 (log_test): Likewise.
2585 (log10_test): Likewise.
2586 (log1p_test): Likewise.
2587 (log2_test): Likewise.
2588 (logb_test_downward): Likewise.
2589 (pow_test): Likewise.
2590 (pow_test_tonearest): Likewise.
2591 (pow_test_towardzero): Likewise.
2592 (pow_test_downward): Likewise.
2593 (pow_test_upward): Likewise.
2594 (remainder_test): Likewise.
2595 (remquo_test): Likewise.
2596 (sin_test): Likewise.
2597 (sin_test_tonearest): Likewise.
2598 (sin_test_towardzero): Likewise.
2599 (sin_test_downward): Likewise.
2600 (sin_test_upward): Likewise.
2601 (sincos_test): Likewise.
2602 (sinh_test): Likewise.
2603 (sinh_test_tonearest): Likewise.
2604 (sinh_test_towardzero): Likewise.
2605 (sinh_test_downward): Likewise.
2606 (sinh_test_upward): Likewise.
2607 (sqrt_test): Likewise.
2608 (tan_test): Likewise.
2609 (tan_test_tonearest): Likewise.
2610 (tan_test_towardzero): Likewise.
2611 (tan_test_downward): Likewise.
2612 (tan_test_upward): Likewise.
2613 (tanh_test): Likewise.
2614 (tgamma_test): Likewise.
2615 (y0_test): Likewise.
2616 (y1_test): Likewise.
2617 (yn_test): Likewise.
2618
323e5cb7
JM
2619 * math/gen-libm-test.pl (adjust_arg): Remove function.
2620 (special_function): Remove argument $in_func. Only handle
2621 generating output for tables of tests, not inside functions.
2622 (parse_args): Likewise.
2623 (generate_testfile): Remove variable $in_func. Update call to
2624 parse_args.
2625 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2626 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2627 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2628 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2629 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2630 (MAX_VALUE_INIT): Rename macro to max_value.
2631 (MIN_VALUE_INIT): Rename macro to min_value.
2632 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2633 (plus_zero): Remove variable.
2634 (minus_zero): Likewise.
2635 (plus_infty): Likewise.
2636 (minus_infty): Likewise.
2637 (qnan_value): Likewise.
2638 (max_value): Likewise.
2639 (min_value): Likewise.
2640 (min_subnorm_value): Likewise.
2641
e054f494
RA
26422013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2643
2644 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2645 uint64_t or uint32_t usage.
2646 * crypt/sha256-block.c: Likewise.
2647 * crypt/sha256-crypt.c: Likewise.
2648 * crypt/sha256.c: Likewise.
2649 * crypt/sha512-block.c: Likewise.
2650 * crypt/sha512-crypt.c: Likewise.
2651 * crypt/sha512.c: Likewise.
2652 * debug/backtrace-tst.c: Likewise.
2653 * debug/pcprofiledump.c: Likewise.
2654 * elf/cache.c: Likewise.
2655 * elf/dl-cache.c: Likewise.
2656 * elf/dl-misc.c: Likewise.
2657 * elf/dl-profile.c: Likewise.
2658 * elf/dl-support.c: Likewise.
2659 * elf/ldconfig.c: Likewise.
2660 * elf/sprof.c: Likewise.
2661 * iconv/dummy-repertoire.c: Likewise.
2662 * iconv/iconv_charmap.c: Likewise.
2663 * iconv/skeleton.c: Likewise.
2664 * iconvdata/8bit-generic.c: Likewise.
2665 * iconvdata/cp737.h: Likewise.
2666 * iconvdata/cp775.h: Likewise.
2667 * iconvdata/ibm1008.h: Likewise.
2668 * iconvdata/ibm1025.h: Likewise.
2669 * iconvdata/ibm1046.h: Likewise.
2670 * iconvdata/ibm1097.h: Likewise.
2671 * iconvdata/ibm1112.h: Likewise.
2672 * iconvdata/ibm1122.h: Likewise.
2673 * iconvdata/ibm1123.h: Likewise.
2674 * iconvdata/ibm1124.h: Likewise.
2675 * iconvdata/ibm1129.h: Likewise.
2676 * iconvdata/ibm1130.h: Likewise.
2677 * iconvdata/ibm1132.h: Likewise.
2678 * iconvdata/ibm1133.h: Likewise.
2679 * iconvdata/ibm1137.h: Likewise.
2680 * iconvdata/ibm1140.h: Likewise.
2681 * iconvdata/ibm1141.h: Likewise.
2682 * iconvdata/ibm1142.h: Likewise.
2683 * iconvdata/ibm1143.h: Likewise.
2684 * iconvdata/ibm1144.h: Likewise.
2685 * iconvdata/ibm1145.h: Likewise.
2686 * iconvdata/ibm1146.h: Likewise.
2687 * iconvdata/ibm1147.h: Likewise.
2688 * iconvdata/ibm1148.h: Likewise.
2689 * iconvdata/ibm1149.h: Likewise.
2690 * iconvdata/ibm1153.h: Likewise.
2691 * iconvdata/ibm1154.h: Likewise.
2692 * iconvdata/ibm1155.h: Likewise.
2693 * iconvdata/ibm1156.h: Likewise.
2694 * iconvdata/ibm1157.h: Likewise.
2695 * iconvdata/ibm1158.h: Likewise.
2696 * iconvdata/ibm1160.h: Likewise.
2697 * iconvdata/ibm1161.h: Likewise.
2698 * iconvdata/ibm1162.h: Likewise.
2699 * iconvdata/ibm1163.h: Likewise.
2700 * iconvdata/ibm1164.h: Likewise.
2701 * iconvdata/ibm1166.h: Likewise.
2702 * iconvdata/ibm1167.h: Likewise.
2703 * iconvdata/ibm12712.h: Likewise.
2704 * iconvdata/ibm1390.h: Likewise.
2705 * iconvdata/ibm1399.h: Likewise.
2706 * iconvdata/ibm16804.h: Likewise.
2707 * iconvdata/ibm4517.h: Likewise.
2708 * iconvdata/ibm4899.h: Likewise.
2709 * iconvdata/ibm4909.h: Likewise.
2710 * iconvdata/ibm4971.h: Likewise.
2711 * iconvdata/ibm5347.h: Likewise.
2712 * iconvdata/ibm803.h: Likewise.
2713 * iconvdata/ibm856.h: Likewise.
2714 * iconvdata/ibm901.h: Likewise.
2715 * iconvdata/ibm902.h: Likewise.
2716 * iconvdata/ibm9030.h: Likewise.
2717 * iconvdata/ibm9066.h: Likewise.
2718 * iconvdata/ibm921.h: Likewise.
2719 * iconvdata/ibm922.h: Likewise.
2720 * iconvdata/ibm9448.h: Likewise.
2721 * iconvdata/isiri-3342.h: Likewise.
2722 * iconvdata/jis0201.h: Likewise.
2723 * include/link.h: Likewise.
2724 * include/netdb.h: Likewise.
2725 * inet/check_native.c: Likewise.
2726 * inet/check_pf.c: Likewise.
2727 * inet/getipv4sourcefilter.c: Likewise.
2728 * inet/getnameinfo.c: Likewise.
2729 * inet/getsourcefilter.c: Likewise.
2730 * inet/htonl.c: Likewise.
2731 * inet/setipv4sourcefilter.c: Likewise.
2732 * inet/setsourcefilter.c: Likewise.
2733 * inet/test-inet6_opt.c: Likewise.
2734 * inet/tst-network.c: Likewise.
2735 * locale/C-collate.c: Likewise.
2736 * locale/C-ctype.c: Likewise.
2737 * locale/C-time.c: Likewise.
2738 * locale/C-translit.h: Likewise.
2739 * locale/loadarchive.c: Likewise.
2740 * locale/programs/3level.h: Likewise.
2741 * locale/programs/charmap.c: Likewise.
2742 * locale/programs/charmap.h: Likewise.
2743 * locale/programs/ld-address.c: Likewise.
2744 * locale/programs/ld-collate.c: Likewise.
2745 * locale/programs/ld-ctype.c: Likewise.
2746 * locale/programs/ld-identification.c: Likewise.
2747 * locale/programs/ld-measurement.c: Likewise.
2748 * locale/programs/ld-messages.c: Likewise.
2749 * locale/programs/ld-monetary.c: Likewise.
2750 * locale/programs/ld-name.c: Likewise.
2751 * locale/programs/ld-numeric.c: Likewise.
2752 * locale/programs/ld-paper.c: Likewise.
2753 * locale/programs/ld-telephone.c: Likewise.
2754 * locale/programs/ld-time.c: Likewise.
2755 * locale/programs/linereader.c: Likewise.
2756 * locale/programs/locale.c: Likewise.
2757 * locale/programs/locarchive.c: Likewise.
2758 * locale/programs/locfile.h: Likewise.
2759 * locale/programs/repertoire.c: Likewise.
2760 * locale/programs/simple-hash.c: Likewise.
2761 * locale/programs/simple-hash.h: Likewise.
2762 * malloc/memusage.c: Likewise.
2763 * malloc/memusagestat.c: Likewise.
2764 * nis/nis_defaults.c: Likewise.
2765 * nis/nis_hash.c: Likewise.
2766 * nis/nis_print.c: Likewise.
2767 * nis/nis_xdr.c: Likewise.
2768 * nscd/connections.c: Likewise.
2769 * nscd/hstcache.c: Likewise.
2770 * nscd/nscd_gethst_r.c: Likewise.
2771 * nscd/nscd_getserv_r.c: Likewise.
2772 * nscd/nscd_helper.c: Likewise.
2773 * nscd/servicescache.c: Likewise.
2774 * nss/makedb.c: Likewise.
2775 * nss/nss_db/db-XXX.c: Likewise.
2776 * nss/nss_db/db-initgroups.c: Likewise.
2777 * nss/nss_db/db-netgrp.c: Likewise.
2778 * nss/nss_files/files-network.c: Likewise.
2779 * nss/nss_files/files-parse.c: Likewise.
2780 * posix/bug-regex5.c: Likewise.
2781 * posix/fnmatch_loop.c: Likewise.
2782 * posix/regcomp.c: Likewise.
2783 * posix/regexec.c: Likewise.
2784 * posix/tst-rfc3484-2.c: Likewise.
2785 * posix/tst-rfc3484-3.c: Likewise.
2786 * posix/tst-rfc3484.c: Likewise.
2787 * resolv/nss_dns/dns-canon.c: Likewise.
2788 * resolv/nss_dns/dns-network.c: Likewise.
2789 * resolv/res_init.c: Likewise.
2790 * resolv/res_mkquery.c: Likewise.
2791 * resolv/tst-aton.c: Likewise.
2792 * stdlib/cxa_atexit.c: Likewise.
2793 * stdlib/cxa_finalize.c: Likewise.
2794 * stdlib/gen-fpioconst.c: Likewise.
2795 * stdlib/strtol_l.c: Likewise.
2796 * string/tst-endian.c: Likewise.
2797 * sunrpc/auth_des.c: Likewise.
2798 * sunrpc/clnt_udp.c: Likewise.
2799 * sunrpc/rtime.c: Likewise.
2800 * sunrpc/svcauth_des.c: Likewise.
2801 * sunrpc/xdr.c: Likewise.
2802 * sunrpc/xdr_intXX_t.c: Likewise.
2803 * sunrpc/xdr_rec.c: Likewise.
2804 * sysdeps/generic/ldconfig.h: Likewise.
2805 * sysdeps/generic/ldsodefs.h: Likewise.
2806 * sysdeps/generic/memusage.h: Likewise.
2807 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2810 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2817 * sysdeps/posix/getaddrinfo.c: Likewise.
2818 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2819 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2820 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2821 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2822 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2823 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2824 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2825 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2826 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2828 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2829 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2830 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2831 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2832 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2833 * sysdeps/x86_64/dl-tls.h: Likewise.
2834 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2835 * time/alt_digit.c: Likewise.
2836 * time/era.c: Likewise.
2837 * wcsmbs/tst-c16c32-1.c: Likewise.
2838
8c75f674
JM
28392013-05-16 Joseph Myers <joseph@codesourcery.com>
2840
2841 * math/libm-test.inc (struct test_sincos_data): New type.
2842 (RUN_TEST_LOOP_sincos): New macro.
2843 (sincos_test_data): New variable.
2844 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2845
e6e49e59
RH
28462013-05-16 Richard Henderson <rth@redhat.com>
2847
2848 * math/atest-exp2.c (LIMB64): New macro.
2849 (CONSTSZ): New macro.
2850 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2851 (hexdig): Move ...
2852 (print_mpn_fp): ... to function scope.
2853 (read_mpn_hex): Remove.
2854 (get_log2): Remove.
2855 (exp2_mpn): Use mp_log2.
2856 (main): Use mp_exp1.
2857
15c7c18d
JM
28582013-05-16 Joseph Myers <joseph@codesourcery.com>
2859
105a07df
JM
2860 * math/libm-test.inc: Remove comment about not testing "inexact"
2861 exceptions.
2862 (INEXACT_EXCEPTION): New macro.
2863 (NO_INEXACT_EXCEPTION): Likewise.
2864 (INVALID_EXCEPTION_OK): Update value.
2865 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2866 (OVERFLOW_EXCEPTION_OK): Likewise.
2867 (UNDERFLOW_EXCEPTION_OK): Likewise.
2868 (IGNORE_ZERO_INF_SIGN): Likewise.
2869 (ERRNO_UNCHANGED): Likewise.
2870 (ERRNO_EDOM): Likewise.
2871 (ERRNO_ERANGE): Likewise.
2872 (test_exceptions): Handle testing "inexact" exceptions.
2873 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2874 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2875 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2876 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2877 INEXACT_EXCEPTION.
2878 (rint_towardzero_test_data): Likewise.
2879 (rint_downward_test_data): Likewise.
2880 (rint_upward_test_data): Likewise.
2881
e9eee333
JM
2882 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2883 with OVERFLOW_EXCEPTION.
2884 (exp10_test_data): Likewise.
2885 (exp2_test_data): Likewise.
2886 (expm1_test_data): Likewise.
2887 (lgamma_test_data): Likewise.
2888 (pow_test_data): Likewise.
2889 (tgamma_test_data): Likewise.
2890 (yn_test_data): Remove duplicate test of overflow.
2891
1c38ff73
JM
2892 * math/libm-test.inc (struct test_cc_c_data): New type.
2893 (RUN_TEST_LOOP_cc_c): New macro.
2894 (cpow_test_data): New variable.
2895 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2896
15c7c18d
JM
2897 * math/libm-test.inc (struct test_f_L_data): New type.
2898 (RUN_TEST_LOOP_f_L): New macro.
2899 (llrint_test_data): New variable.
2900 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2901 (llrint_tonearest_test_data): New variable.
2902 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2903 (llrint_towardzero_test_data): New variable.
2904 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2905 (llrint_downward_test_data): New variable.
2906 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2907 (llrint_upward_test_data): New variable.
2908 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2909 (llround_test_data): New variable.
2910 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2911
f137ff13
PC
29122013-05-13 Peter Collingbourne <pcc@google.com>
2913
2914 * math/atest-exp2.c (get_log2): Remove const attribute.
2915
3608cb24
JM
29162013-05-15 Joseph Myers <joseph@codesourcery.com>
2917
2918 * math/libm-test.inc (struct test_f_l_data): New type.
2919 (RUN_TEST_LOOP_f_l): New macro.
2920 (lrint_test_data): New variable.
2921 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2922 (lrint_tonearest_test_data): New variable.
2923 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2924 (lrint_towardzero_test_data): New variable.
2925 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2926 (lrint_downward_test_data): New variable.
2927 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2928 (lrint_upward_test_data): New variable.
2929 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2930 (lround_test_data): New variable.
2931 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2932
39b1f617
PC
29332013-05-15 Peter Collingbourne <pcc@google.com>
2934
1deff3dc
PC
2935 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2936 (EXTRACT_WORDS64) Use where appropriate.
2937 (INSERT_WORDS64) Likewise.
2938
791f3ba0
PC
2939 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2940 constraints with x constraints.
2941 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2942
39b1f617
PC
2943 * malloc/obstack.c (_obstack_compat): Add initializer.
2944
12fba011
EM
29452013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2946
2947 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2948 si_trapno and add si_addr_lsb to _sifields.sigfault.
2949 (si_trapno): Remove macro.
2950 (si_addr_lsb): Define new macro.
2951 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2952
d369f531
JM
29532013-05-15 Joseph Myers <joseph@codesourcery.com>
2954
b861c6c4
JM
2955 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2956 instead of TEST_f_l.
2957 (llrint_test_tonearest): Likewise.
2958 (llrint_test_towardzero): Likewise.
2959 (llrint_test_downward): Likewise.
2960 (llrint_test_upward): Likewise.
2961 (llround_test): Likewise.
2962
7abeee12
JM
2963 * math/libm-test.inc (struct test_f_i_data): Add comment.
2964 (RUN_TEST_LOOP_f_b): New macro.
2965 (RUN_TEST_LOOP_f_b_tg): Likewise.
2966 (finite_test_data): New variable.
2967 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2968 (isfinite_test_data): New variable.
2969 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2970 (isinf_test_data): New variable.
2971 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2972 (isnan_test_data): New variable.
2973 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2974 (isnormal_test_data): New variable.
2975 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2976 (issignaling_test_data): New variable.
2977 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2978 (signbit_test_data): New variable.
2979 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2980
cbe8c4d3
JM
2981 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2982 with INVALID_EXCEPTION.
2983 (acosh_test_data): Likewise.
2984 (asin_test_data): Likewise.
2985 (atanh_test_data): Likewise.
2986 (fmod_test_data): Likewise.
2987 (log_test_data): Likewise.
2988 (log10_test_data): Likewise.
2989 (log2_test_data): Likewise.
2990 (pow_test_data): Likewise.
2991 (sqrt_test_data): Likewise.
2992 (y0_test_data): Likewise.
2993 (y1_test_data): Likewise.
2994 (yn_test_data): Likewise.
2995
5575c0e5
JM
2996 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2997 function contents.
2998
d369f531
JM
2999 * math/libm-test.inc (struct test_ff_i_data): New type.
3000 (RUN_TEST_LOOP_ff_i_tg): New macro.
3001 (isgreater_test_data): New variable.
3002 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3003 (isgreaterequal_test_data): New variable.
3004 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3005 (isless_test_data): New variable.
3006 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3007 (islessequal_test_data): New variable.
3008 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3009 (islessgreater_test_data): New variable.
3010 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3011 (isunordered_test_data): New variable.
3012 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3013
781fd748
DM
30142013-05-14 David S. Miller <davem@davemloft.net>
3015
3016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3017
87aa21df
JM
30182013-05-14 Joseph Myers <joseph@codesourcery.com>
3019
5e908270
JM
3020 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3021
f71172e5
JM
3022 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3023 extra_test to int.
3024 (struct test_f_i_data): Change type of max_ulp to int.
3025
8cfa635a
JM
3026 * math/libm-test.inc (test_ffI_f1_data): New type.
3027 (RUN_TEST_LOOP_ffI_f1): New macro.
3028 (remquo_test_data): New variable.
3029 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3030
2bcb36b2
JM
3031 * setjmp/tst-setjmp-fp.c: New file.
3032 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3033 (link-libm): New variable.
3034 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3035
acbd839a
JM
3036 * math/libm-test.inc (struct test_f_i_data): New type.
3037 (RUN_TEST_LOOP_f_i): New macro.
3038 (RUN_TEST_LOOP_f_i_tg): Likewise.
3039 (fpclassify_test_data): New variable.
3040 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3041 (ilogb_test_data): New variable.
3042 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3043
e414d745
JM
3044 * math/libm-test.inc (scalbln_test): Correct function name in END
3045 call.
3046
d9c2a0fd
JM
3047 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3048 (RUN_TEST_LOOP_fI_f1): New macro.
3049 (frexp_test_data): New variable.
3050 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3051
9dc9095d
JM
3052 * math/libm-test.inc (struct test_fF_f1_data): New type.
3053 (RUN_TEST_LOOP_fF_f1): New macro.
3054 (modf_test_data): New variable.
3055 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3056
87aa21df
JM
3057 * math/libm-test.inc (struct test_f_f1_data): New type.
3058 (RUN_TEST_LOOP_f_f1): New macro.
3059 (gamma_test_data): New variable.
3060 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3061 (lgamma_test_data): New variable.
3062 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3063
141af660
CD
30642013-05-13 Carlos O'Donell <carlos@redhat.com>
3065
3066 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3067 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3068 (main): Comment "tls" pseudo-hwcap.
3069
6d33265c
JM
30702013-05-13 Joseph Myers <joseph@codesourcery.com>
3071
68fc074c
JM
3072 * math/libm-test.inc (struct test_fl_f_data): New type.
3073 (RUN_TEST_LOOP_fl_f): New variable.
3074 (scalbln_test_data): New variable.
3075 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3076
243216e1
JM
3077 * math/libm-test.inc (struct test_fi_f_data): New type.
3078 (RUN_TEST_LOOP_fi_f): New macro.
3079 (ldexp_test_data): New variable.
3080 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3081 (scalbn_test_data): New variable.
3082 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3083
6a1992e2
JM
3084 * math/libm-test.inc (struct test_c_f_data): New type.
3085 (RUN_TEST_LOOP_c_f): New macro.
3086 (cabs_test_data): New variable.
3087 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3088 (carg_test_data): New variable.
3089 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3090 (cimag_test_data): New variable.
3091 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3092 (creal_test_data): New variable.
3093 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3094
0e400df5
JM
3095 * math/libm-test.inc (struct test_if_f_data): New type.
3096 (RUN_TEST_LOOP_if_f): New macro.
3097 (jn_test_data): New variable.
3098 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3099 (yn_test_data): New variable.
3100 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3101
6d33265c
JM
3102 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3103
f98ece5f
AZ
31042013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3107 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3108
0f7d347b
SP
31092013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3110
43fe811b
SP
3111 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3112 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3113 (bench-deps): Add bench-timing.h.
3114 * benchtests-bench-skeleton.c: Include bench-timing.h.
3115 (main): Use TIMING_* macros instead of clock_gettime.
3116 * benchtests/bench-timing.h: New file.
3117
0f7d347b
SP
3118 [BZ #14582]
3119 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3120 Renamed from _LIB_VERSION.
3121 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3122
601a3a5f
JM
31232013-05-12 Joseph Myers <joseph@codesourcery.com>
3124
4f184d30
JM
3125 * math/libm-test.inc (struct test_fff_f_data): New type.
3126 (RUN_TEST_LOOP_fff_f): New macro.
3127 (fma_test_data): New variable.
3128 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3129 (fma_towardzero_test_data): New variable.
3130 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3131 (fma_downward_test_data): New variable.
3132 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3133 (fma_upward_test_data): New variable.
3134 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3135
08198877
JM
3136 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3137 (struct test_c_c_data): New type.
3138 (RUN_TEST_LOOP_c_c): New macro.
3139 (cacos_test_data): New variable.
3140 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3141 (cacosh_test_data): New variable.
3142 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3143 (casin_test_data): New variable.
3144 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3145 (casinh_test_data): New variable.
3146 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3147 (catan_test_data): New variable.
3148 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3149 (catanh_test_data): New variable.
3150 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3151 (ccos_test_data): New variable.
3152 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3153 (ccosh_test_data): New variable.
3154 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3155 (cexp_test_data): New variable.
3156 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3157 (clog_test_data): New variable.
3158 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3159 (clog10_test_data): New variable.
3160 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3161 (conj_test_data): New variable.
3162 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3163 (cproj_test_data): New variable.
3164 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3165 (csin_test_data): New variable.
3166 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3167 (csinh_test_data): New variable.
3168 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3169 (csqrt_test_data): New variable.
3170 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3171 (ctan_test_data): New variable.
3172 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3173 (ctan_tonearest_test_data): New variable.
3174 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3175 (ctan_towardzero_test_data): New variable.
3176 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3177 (ctan_downward_test_data): New variable.
3178 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3179 (ctan_upward_test_data): New variable.
3180 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3181 (ctanh_test_data): New variable.
3182 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3183 (ctanh_tonearest_test_data): New variable.
3184 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3185 (ctanh_towardzero_test_data): New variable.
3186 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3187 (ctanh_downward_test_data): New variable.
3188 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3189 (ctanh_upward_test_data): New variable.
3190 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3191 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3192 of BUILD_COMPLEX.
3193
601a3a5f
JM
3194 * math/libm-test.inc (struct test_ff_f_data): New type.
3195 (struct test_ff_f_data_nexttoward): Likewise.
3196 (RUN_TEST_LOOP_2_f): New macro.
3197 (RUN_TEST_LOOP_ff_f): Likewise.
3198 (atan2_test_data): New variable.
3199 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3200 (copysign_test_data): New variable.
3201 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3202 (fdim_test_data): New variable.
3203 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3204 (fmax_test_data): New variable.
3205 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3206 (fmin_test_data): New variable.
3207 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3208 (fmod_test_data): New variable.
3209 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3210 (hypot_test_data): New variable.
3211 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3212 (nextafter_test_data): New variable.
3213 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3214 (nexttoward_test_data): New variable.
3215 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3216 (pow_test_data): New variable.
3217 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3218 (pow_tonearest_test_data): New variable.
3219 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3220 (pow_towardzero_test_data): New variable.
3221 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3222 (pow_downward_test_data): New variable.
3223 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3224 (pow_upward_test_data): New variable.
3225 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3226 (remainder_test_data): New variable.
3227 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3228 (scalb_test_data): New variable.
3229 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3230 * sysdeps/i386/fpu/libm-test-ulps: Update.
3231
74c57478
JM
32322013-05-11 Joseph Myers <joseph@codesourcery.com>
3233
8329e4da
JM
3234 * math/libm-test.inc (fma_test): Use max_value instead of local
3235 variable fltmax.
3236 (nextafter_test): Likewise.
3237
74c57478
JM
3238 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3239 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3240 (acos_downward_test_data): New variable.
3241 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3242 (acos_upward_test_data): New variable.
3243 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3244 (acosh_test_data): New variable.
3245 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3246 (asin_test_data): New variable.
3247 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3248 (asin_tonearest_test_data): New variable.
3249 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3250 (asin_towardzero_test_data): New variable.
3251 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3252 (asin_downward_test_data): New variable.
3253 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3254 (asin_upward_test_data): New variable.
3255 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3256 (asinh_test_data): New variable.
3257 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3258 (atan_test_data): New variable.
3259 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3260 (atanh_test_data): New variable.
3261 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3262 (cbrt_test_data): New variable.
3263 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3264 (ceil_test_data): New variable.
3265 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3266 (cos_test_data): New variable.
3267 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3268 (cos_tonearest_test_data): New variable.
3269 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3270 (cos_towardzero_test_data): New variable.
3271 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3272 (cos_downward_test_data): New variable.
3273 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3274 (cos_upward_test_data): New variable.
3275 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3276 (cosh_test_data): New variable.
3277 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3278 (cosh_tonearest_test_data): New variable.
3279 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3280 (cosh_towardzero_test_data): New variable.
3281 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3282 (cosh_downward_test_data): New variable.
3283 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3284 (cosh_upward_test_data): New variable.
3285 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3286 (erf_test_data): New variable.
3287 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3288 (erfc_test_data): New variable.
3289 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3290 (exp_test_data): New variable.
3291 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3292 (exp_tonearest_test_data): New variable.
3293 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3294 (exp_towardzero_test_data): New variable.
3295 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3296 (exp_downward_test_data): New variable.
3297 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3298 (exp_upward_test_data): New variable.
3299 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3300 (exp10_test_data): New variable.
3301 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3302 (exp2_test_data): New variable.
3303 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3304 (expm1_test_data): New variable.
3305 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3306 (fabs_test_data): New variable.
3307 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3308 (floor_test_data): New variable.
3309 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3310 (j0_test_data): New variable.
3311 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3312 (j1_test_data): New variable.
3313 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3314 (log_test_data): New variable.
3315 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3316 (log10_test_data): New variable.
3317 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3318 (log1p_test_data): New variable.
3319 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3320 (log2_test_data): New variable.
3321 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3322 (logb_test_data): New variable.
3323 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3324 (logb_downward_test_data): New variable.
3325 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3326 (nearbyint_test_data): New variable.
3327 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3328 (rint_test_data): New variable.
3329 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3330 (rint_tonearest_test_data): New variable.
3331 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3332 (rint_towardzero_test_data): New variable.
3333 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3334 (rint_downward_test_data): New variable.
3335 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3336 (rint_upward_test_data): New variable.
3337 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3338 (round_test_data): New variable.
3339 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3340 (sin_test_data): New variable.
3341 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3342 (sin_tonearest_test_data): New variable.
3343 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3344 (sin_towardzero_test_data): New variable.
3345 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3346 (sin_downward_test_data): New variable.
3347 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3348 (sin_upward_test_data): New variable.
3349 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3350 (sinh_test_data): New variable.
3351 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3352 (sinh_tonearest_test_data): New variable.
3353 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3354 (sinh_towardzero_test_data): New variable.
3355 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3356 (sinh_downward_test_data): New variable.
3357 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3358 (sinh_upward_test_data): New variable.
3359 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3360 (sqrt_test_data): New variable.
3361 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3362 (tan_test_data): New variable.
3363 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3364 (tan_tonearest_test_data): New variable.
3365 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3366 (tan_towardzero_test_data): New variable.
3367 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3368 (tan_downward_test_data): New variable.
3369 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3370 (tan_upward_test_data): New variable.
3371 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3372 (tanh_test_data): New variable.
3373 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3374 (tgamma_test_data): New variable.
3375 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3376 (trunc_test_data): New variable.
3377 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3378 (y0_test_data): New variable.
3379 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3380 (y1_test_data): New variable.
3381 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3382 (significand_test_data): New variable.
3383 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3384
7187d844
CG
33852013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3386
3387 [BZ #12387]
3388 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3389
f63fae73
PT
33902013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3391
3392 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3393
8a67a4b3
AJ
33942013-05-10 Andreas Jaeger <aj@suse.de>
3395
3396 [BZ #15448]
3397 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3398 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3399
51df539d
JM
34002013-05-10 Joseph Myers <joseph@codesourcery.com>
3401
3402 * math/gen-libm-test.pl (adjust_arg): New function.
3403 (special_functions): Handle generating output in both functions
3404 and arrays.
3405 (parse_args): Likewise.
3406 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3407 $in_func argument to parse_args.
3408 * math/libm-test.inc (struct test_f_f_data): New type.
3409 (IF_ROUND_INIT_): New macro.
3410 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3411 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3412 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3413 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3414 (ROUND_RESTORE_): Likewise.
3415 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3416 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3417 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3418 (ROUND_RESTORE_FE_UPWARD): Likewise.
3419 (RUN_TEST_LOOP_f_f): New macro.
3420 (acos_test_data): New variable.
3421 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3422 (acos_tonearest_test_data): New variable.
3423 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3424
5c637fe5
SP
34252013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3426
3427 * benchtests/bench-skeleton.c (startup): Fix coding style.
3428
ab2b9461
JM
34292013-05-10 Joseph Myers <joseph@codesourcery.com>
3430
3431 [BZ #6809]
3432 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3433 negative infinity argument.
3434 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3435 negative infinity argument.
3436 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3437 negative infinity argument.
3438 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3439 domain errors.
3440
4c0fe6fe
FW
34412013-05-10 Florian Weimer <fweimer@redhat.com>
3442
3443 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3444 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3445 * iconv/iconv_prog.c (main): Likewise.
3446 * locale/programs/charmap-dir.c (charmap_readdir)
3447 (fopen_uncompressed): Likewise.
3448 * locale/programs/locfile.c (siblings_uncached)
3449 (write_locale_data): Use lstat64 instead of lstat.
3450 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3451 stat.
3452
a3375d29
AJ
34532013-05-10 Andreas Jaeger <aj@suse.de>
3454
3455 [BZ #15395]
3456 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3457 localization.
3458 Include <locale.h>.
3459
36129722
CD
34602013-05-09 Carlos O'Donell <carlos@redhat.com>
3461
3462 * elf/dl-close.c (_dl_close_worker): Add comments.
3463
faa7f811
JM
34642013-05-09 Joseph Myers <joseph@codesourcery.com>
3465
ed41ffef
JM
3466 [BZ #15359]
3467 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3468 high part of pi/2.
3469 (__ieee754_rem_pio2l): Update comments.
3470
d0213cd0
JM
3471 [BZ #15429]
3472 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3473 high part of pi/2.
3474 (__ieee754_rem_pio2l): Update comments.
3475
0d3e777a
JM
3476 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3477 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3478
24f56066
JM
3479 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3480 M_PI_4l.
3481
faa7f811
JM
3482 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3483 (M_PI_34_LOG10El): Likewise.
3484 (M_PI2_LOG10El): Likewise.
3485 (M_PI4_LOG10El): Likewise.
3486 (M_PI_LOG10El): Likewise.
3487
e9a5e0fd
AZ
34882013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3489
3490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3491
d8cd06db
JM
34922013-05-08 Joseph Myers <joseph@codesourcery.com>
3493
a0d9f9d7
JM
3494 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3495 (MINUS_ZERO_INIT): Likewise.
3496 (PLUS_INFTY_INIT): Likewise.
3497 (MINUS_INFTY_INIT): Likewise.
3498 (QNAN_VALUE_INIT): Likewise.
3499 (MAX_VALUE_INIT): Likewise.
3500 (MIN_VALUE_INIT): Likewise.
3501 (MIN_SUBNORM_VALUE_INIT): Likewise.
3502 (plus_zero): Initialize with PLUS_ZERO_INIT.
3503 (minus_zero): Initialize with MINUS_ZERO_INIT.
3504 (plus_infty): Initialize with PLUS_INFTY_INIT.
3505 (minus_infty): Initialize with MINUS_INFTY_INIT.
3506 (qnan_value): Initialize with QNAN_VALUE_INIT.
3507 (max_value): Initialize with MAX_VALUE_INIT.
3508 (min_value): Initialize with MIN_VALUE_INIT.
3509 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3510
ae08db3b
JM
3511 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3512 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3513 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3514 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3515
f44bf14a
JM
3516 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3517 (RUN_TEST_2_f): Likewise.
3518 (RUN_TEST_ff_f): Likewise.
3519 (RUN_TEST_fi_f): Likewise.
3520 (RUN_TEST_fl_f): Likewise.
3521 (RUN_TEST_fff_f): Likewise.
3522 (RUN_TEST_c_f): Likewise.
3523 (RUN_TEST_f_f1): Likewise.
3524 (RUN_TEST_fF_f1): Likewise.
3525 (RUN_TEST_fI_f1): Likewise.
3526 (RUN_TEST_ffI_f1): Likewise.
3527 (RUN_TEST_c_c): Likewise.
3528 (RUN_TEST_cc_c): Likewise.
3529 (RUN_TEST_f_i): Likewise.
3530 (RUN_TEST_f_i_tg): Likewise.
3531 (RUN_TEST_ff_i_tg): Likewise.
3532 (RUN_TEST_f_b): Likewise.
3533 (RUN_TEST_f_b_tg): Likewise.
3534 (RUN_TEST_f_l): Likewise.
3535 (RUN_TEST_f_L): Likewise.
3536 (RUN_TEST_sincos): Likewise.
3537 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3538 whether to show exceptions. Do not include ");\n" in return
3539 value.
3540 (special_functions): Output call to RUN_TEST_sincos instead of
3541 check_float calls. Update calls to new_test.
3542 (parse_args): Output call to single RUN_TEST_* macro instead of
3543 check_* calls and other assignments. Update calls to new_test.
3544
d8cd06db
JM
3545 [BZ #2546]
3546 [BZ #2560]
3547 [BZ #5159]
3548 [BZ #15426]
3549 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3550 input to result for tgamma overflow.
3551 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3552 (gamma_coeff): New variable.
3553 (NCOEFF): New macro.
3554 (gamma_positive): New function.
3555 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3556 underflow here. Use gamma_positive instead of exp (lgamma) for
3557 other arguments.
3558 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3559 (gamma_coeff): New variable.
3560 (NCOEFF): New macro.
3561 (gammaf_positive): New function.
3562 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3563 underflow here. Use gamma_positive instead of exp (lgamma) for
3564 other arguments.
3565 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3566 (gamma_coeff): New variable.
3567 (NCOEFF): New macro.
3568 (gammal_positive): New function.
3569 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3570 underflow here. Use gamma_positive instead of exp (lgamma) for
3571 other arguments.
3572 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3573 (gamma_coeff): New variable.
3574 (NCOEFF): New macro.
3575 (gammal_positive): New function.
3576 (__ieee754_gammal_r): Handle positive infinity, overflow and
3577 underflow here. Handle NaN the same as positive infinity. Remove
3578 check x < 0xffffffff for negative integers. Use gamma_positive
3579 instead of exp (lgamma) for other arguments.
3580 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3581 (gamma_coeff): New variable.
3582 (NCOEFF): New macro.
3583 (gammal_positive): New function.
3584 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3585 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3589 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3590 * sysdeps/generic/math_private.h (__gamma_productf): New
3591 prototype.
3592 (__gamma_product): Likewise.
3593 (__gamma_productl): Likewise.
3594 * math/Makefile (libm-calls): Add gamma_product.
3595 * math/libm-test.inc (tgamma_test): Add more tests.
3596 * sysdeps/i386/fpu/libm-test-ulps: Update.
3597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3598
bb7cf681
OB
35992013-05-08 Ondřej Bílka <neleai@seznam.cz>
3600
3601 * benchtests/bench-skeleton.c (main): Preheat CPU.
3602
ba853947
AJ
36032013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3604
3605 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3606
8347c74c
RM
36072013-05-07 Roland McGrath <roland@hack.frob.com>
3608
3609 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3610 and _dl_skip_args_internal.
3611
e8dd4791
CD
36122013-05-07 Carlos O'Donell <carlos@redhat.com>
3613
3614 * manual/message.texi (Message Translation): Talk about users.
3615 Message to key mapping impacts design.
3616
c7405830
RM
36172013-05-06 Roland McGrath <roland@hack.frob.com>
3618
a9173057
RM
3619 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3620
976e2f03
RM
3621 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3622
9723ffc5
RM
3623 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3624 * sysdeps/wordsize-64/glob64.c: ... here.
3625
962e6658
RM
3626 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3627 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3628 New macros.
3629
ee586a6d
RM
3630 * debug/getlogin_r_chk.c: Moved to ...
3631 * login/getlogin_r_chk.c: ... here.
3632 * debug/Makefile (routines): Move getlogin_r_chk to ...
3633 * login/Makefile (routines): ... here.
3634 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3635 * login/Versions (libc: GLIBC_2.4): ... here.
3636
355f9165
RM
3637 * io/poll.c (__poll): Renamed from poll.
3638 Add libc_hidden_def.
3639 (poll): Define as weak alias.
3640
bd9ffde6
RM
3641 * debug/ptsname_r_chk.c: Moved to ...
3642 * login/ptsname_r_chk.c: ... here.
3643 * debug/Makefile (routines): Move ptsname_r_chk to ...
3644 * login/Makefile (routines): ... here.
3645 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3646 * login/Versions (libc: GLIBC_2.4): ... here.
3647
8fb16a04
RM
3648 * posix/getlogin.c: Moved to ...
3649 * login/getlogin.c: ... here.
3650 * posix/getlogin_r.c: Moved to ...
3651 * login/getlogin_r.c: ... here.
3652 * posix/getlogin_r.c: Moved to ...
3653 * login/getlogin_r.c: ... here.
3654 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3655 * login/Makefile (routines): ... here.
3656 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3657 * login/Versions (libc: GLIBC_2.0): ... here.
3658
b99b892f
RM
3659 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3660 (setrlimit): Define as weak alias.
3661
c7405830
RM
3662 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3663 Call __ names for open, ftruncate, and close.
3664 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3665 (truncate): Define as weak alias.
3666
5bf96de5
JM
36672013-05-06 Joseph Myers <joseph@codesourcery.com>
3668
9ea3513c
JM
3669 * math/gen-libm-test.pl (parse_args): Initialize x before each
3670 test of frexp, modf and remquo.
3671
5bf96de5
JM
3672 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3673 test signgam value.
3674
16e616a7
AZ
36752013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3676
3677 [BZ #15418]
3678 [BZ #15419]
3679 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3680 internal tests.
3681 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3682
d5e82754
RM
36832013-05-06 Roland McGrath <roland@hack.frob.com>
3684
3685 * elf/dl-writev.h: New file.
3686 * elf/dl-misc.c: Include it.
3687 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3688 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3689
a7548d41
JM
36902013-05-04 Joseph Myers <joseph@codesourcery.com>
3691
b7dab1e4
JM
3692 * math/libm-test.inc (noXFails): Remove variable.
3693 (noXPasses): Likewise.
3694 (BUILD_COMPLEX_INT): Remove macro.
3695 (print_screen): Remove xfail argument.
3696 (print_screen_max_error): Likewise.
3697 (update_stats): Likewise.
3698 (print_max_error): Likewise. Update calls to other affected
3699 functions.
3700 (print_complex_max_error): Likewise.
3701 (test_single_exception): Update calls to print_screen.
3702 (test_single_errno): Likewise.
3703 (check_float_internal): Remove xfail argument. Update calls to
3704 other affected functions.
3705 (check_float): Likewise.
3706 (check_complex): Likewise.
3707 (check_int): Likewise.
3708 (check_long): Likewise.
3709 (check_bool): Likewise.
3710 (check_longlong): Likewise.
3711 (main): Don't print noXFails and noXPasses.
3712 * math/gen-libm-test.pl (top level): Don't mention expected
3713 failure handling in comment.
3714 (new_test): Don't handle expected failures.
3715 (parse_args): Don't mention expected failure handling in comment.
3716 (generate_testfile): Don't handle expected failures.
3717 (parse_ulps): Likewise.
3718 (print_ulps_file): Likewise.
3719 (get_failure): Remove function.
3720 (output_test): Don't handle expected failures.
3721 * make/README.libm-test: Don't mention expected failure handling.
3722
a7548d41
JM
3723 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3724 (minus_zero): Likewise.
3725 (plus_infty): Likewise.
3726 (minus_infty): Likewise.
3727 (qnan_value): Likewise.
3728 (max_value): Likewise.
3729 (min_value): Likewise.
3730 (min_subnorm_value): Likewise.
3731 (initialize): Do not initialize those variables dynamically.
3732
60bfd54c
RM
37332013-05-03 Roland McGrath <roland@hack.frob.com>
3734
cc0e6ed8
RM
3735 * io/open.c (__open_2): Moved to ...
3736 * io/open_2.c: ... this new file.
3737 * io/open64.c (__open64_2): Moved to ...
3738 * io/open64_2.c: ... this new file.
3739 * io/openat.c (__openat_2): Moved to ...
3740 * io/openat_2.c: ... this new file.
3741 * io/openat64.c (__openat64_2): Moved to ...
3742 * io/openat64_2.c: ... this new file.
3743 * io/Makefile (routines): Add them.
3744 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3745 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3746 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3747 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3748 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3749 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3750 (__openat64): Add hidden_ver.
3751 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3752 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3753
60bfd54c
RM
3754 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3755 Separately conditionalize setting of GLRO(dl_sysinfo) so
3756 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3757 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3758
83e7640f
AZ
37592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760
3761 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3762 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3763 definition.
3764 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3765 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3766 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3767 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3768 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3769
d5dc2af3
JM
37702013-05-03 Joseph Myers <joseph@codesourcery.com>
3771
c31a5b1e
JM
3772 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3773 test signgam value.
3774
d5dc2af3
JM
3775 * math/libm-test.inc (hypot_test): Do not use
3776 IGNORE_ZERO_INF_SIGN.
3777
164fd39d
AJ
37782013-05-03 Andreas Jaeger <aj@suse.de>
3779
3780 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3781 Linux 3.9.
3782 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3783 (PF_MAX): Adjust for VSOCK change.
3784
8237f48c
AZ
37852013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786
3787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3788
9df02941
CD
37892013-05-02 Carlos O'Donell <carlos@redhat.com>
3790
3791 [BZ #15264]
3792 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3793 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3794 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3795
d422395e
DM
37962013-05-02 David S. Miller <davem@davemloft.net>
3797
3798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3799
a07c5731
OB
38002013-05-01 Ondřej Bílka <neleai@seznam.cz>
3801
3802 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3803
1324e37f
RM
38042013-05-01 Roland McGrath <roland@hack.frob.com>
3805
3806 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3807
0695940b
RS
38082013-05-01 Richard Smith <richard@metafoo.co.uk>
3809
bb5f27ad 3810 [BZ #14952]
0695940b
RS
3811 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3812 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3813 Use __attribute__ ((__gnu_inline__)).
3814 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3815 Don't use __attribute__ ((__gnu_inline__)).
3816
10de07f5
JM
38172013-05-01 Joseph Myers <joseph@codesourcery.com>
3818
3819 [BZ #15423]
3820 * math/s_catan.c (__catan): Handle small real or imaginary part of
3821 input specially to avoid spurious underflow.
3822 * math/s_catanf.c (__catanf): Likewise.
3823 * math/s_catanh.c (__catanh): Likewise.
3824 * math/s_catanhf.c (__catanhf): Likewise.
3825 * math/s_catanhl.c (__catanhl): Likewise.
3826 * math/s_catanl.c (__catanl): Likewise.
3827 * math/libm-test.inc (catan_test): Add more tests.
3828 (catanh_test): Likewise.
3829 * sysdeps/i386/fpu/libm-test-ulps: Update.
3830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3831
cb4d5414
AZ
38322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833
3834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3835
caf84319
JM
38362013-04-30 Joseph Myers <joseph@codesourcery.com>
3837
3838 [BZ #15416]
3839 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3840 accurately for denominator in atan2.
3841 * math/s_catanf.c (__catanf): Likewise.
3842 * math/s_catanh.c (__catanh): Likewise.
3843 * math/s_catanhf.c (__catanhf): Likewise.
3844 * math/s_catanhl.c (__catanhl): Likewise.
3845 * math/s_catanl.c (__catanl): Likewise.
3846 * math/libm-test.inc (catan_test): Add more tests.
3847 (catanh_test): Likewise.
3848 * sysdeps/i386/fpu/libm-test-ulps: Update.
3849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3850
d569c6ee
SP
38512013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3852
6dbe713d
SP
3853 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3854
f0ee064b
SP
3855 * benchtests/Makefile (bench): Remove slow benchmarks.
3856 * benchtests/atan-inputs: Add slow benchmark inputs.
3857 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3858 (BENCH_FUNC): Accept variant offset.
3859 (VARIANT): Define.
3860 * benchtests/bench-skeleton.c (main): Run benchmark for each
3861 variant.
3862 * benchtests/cos-inputs: Add slow benchmark inputs.
3863 * benchtests/exp-inputs: Likewise.
3864 * benchtests/pow-inputs: Likewise.
3865 * benchtests/sin-inputs: Likewise.
3866 * benchtests/slowatan-inputs: Remove.
3867 * benchtests/slowatan.c: Remove.
3868 * benchtests/slowcos-inputs: Remove.
3869 * benchtests/slowcos.c: Remove.
3870 * benchtests/slowexp-inputs: Remove.
3871 * benchtests/slowexp.c: Remove.
3872 * benchtests/slowpow-inputs: Remove.
3873 * benchtests/slowpow.c: Remove.
3874 * benchtests/slowsin-inputs: Remove.
3875 * benchtests/slowsin.c: Remove.
3876 * benchtests/slowtan-inputs: Remove.
3877 * benchtests/slowtan.c: Remove.
3878 * benchtests/tan-inputs: Add slow benchmark inputs.
3879 * scripts/bench.pl: Parse comments and directives.
3880
d569c6ee
SP
3881 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3882 in CPPFLAGS.
3883 ($(objpfx)bench-%.c): Remove *-ITER.
3884 * benchtests/bench-modf.c: Remove definition of ITER.
3885 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3886 (main): Loop for DURATION seconds instead of fixed number of
3887 iterations.
3888 * scripts/bench.pl: Don't expect iterations in parameters.
3889
a6a242fe
RM
38902013-04-29 Roland McGrath <roland@hack.frob.com>
3891
3892 * io/fchdir.c (__fchdir): Renamed from fchdir.
3893 (fchdir): Define as weak alias.
3894
f2da7793
JM
38952013-04-29 Joseph Myers <joseph@codesourcery.com>
3896
3897 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3898 (ERRNO_EDOM): Likewise.
3899 (ERRNO_ERANGE): Likewise.
3900 (noErrnoTests): New variable.
3901 (init_max_error): Set errno to 0.
3902 (test_single_errno): New function.
3903 (test_errno): Likewise.
3904 (check_float_internal): Call test_errno. Set errno to 0.
3905 (check_complex): Refer to errno tests in comment.
3906 (check_int): Call test_errno. Set errno to 0.
3907 (check_long): Likewise.
3908 (check_bool): Likewise.
3909 (check_longlong): Likewise.
3910 (cos_test): Use ERRNO_* flags for errno tests instead of
3911 check_int.
3912 (expm1_test): Likewise.
3913 (fmod_test): Likewise.
3914 (ilogb_test): Likewise.
3915 (lgamma_test): Likewise.
3916 (pow_test): Likewise.
3917 (remainder_test): Likewise.
3918 (sin_test): Likewise.
3919 (tan_test): Likewise.
3920 (yn_test): Likewise.
3921 (initialize): Set errno to 0.
3922 (main): Print number of errno tests.
3923 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3924
b1a36ceb
AJ
39252013-04-29 Andreas Jaeger <aj@suse.de>
3926
c3ed8088
AJ
3927 [BZ #15084]
3928 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3929 and RES_USEVC.
3930
f1a24198
AJ
3931 [BZ #15085]
3932 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3933 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3934 unimplemented.
3935
9ce3b2cb
AJ
3936 [BZ #15380]
3937 * stdlib/random.c (__initstate): Return NULL if
3938 __initstate fails.
3939
f1a24198 3940 [BZ #15086]
b1a36ceb
AJ
3941 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3942 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3943 RES_SNGLKUPREOP.
3944
7e7b6f36
AZ
39452013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3946
3947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3948
4d14f449
JM
39492013-04-29 Joseph Myers <joseph@codesourcery.com>
3950
3951 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3952 of individual tests.
3953 (casin_test): Likewise.
3954 (casinh_test): Likewise.
3955
5b4217d7
JM
39562013-04-27 Joseph Myers <joseph@codesourcery.com>
3957
3958 [BZ #15409]
3959 * math/s_catan.c (__catan): Handle arguments with large real or
3960 imaginary part separately without squaring.
3961 * math/s_catanf.c (__catanf): Likewise.
3962 * math/s_catanh.c (__catanh): Likewise.
3963 * math/s_catanhf.c (__catanhf): Likewise.
3964 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3965 and redefine.
3966 (__catanhl): Handle arguments with large real or imaginary part
3967 separately without squaring.
3968 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3969 and redefine.
3970 (__catanl): Handle arguments with large real or imaginary part
3971 separately without squaring.
3972 * math/libm-test.inc (catan_test): Add more tests.
3973 (catanh_test): Likewise.
3974 * sysdeps/i386/fpu/libm-test-ulps: Update.
3975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3976
4220c3ef
AJ
39772013-04-27 Andreas Jaeger <aj@suse.de>
3978
3979 [BZ #15007]
3980 * stdlib/stdlib.h: Update guards for qecvt.
3981 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3982 <stdlib.h>.
3983
4721b2d1
AM
39842013-04-27 Allan McRae <allan@archlinux.org>
3985
3986 * sysdeps/i386/fpu/libm-test-ulps: Update.
3987
f0302940
JM
39882013-04-26 Joseph Myers <joseph@codesourcery.com>
3989
9457fd95
JM
3990 [BZ #15406]
3991 * math/s_catan.c: Include <float.h>.
3992 (__catan): Ensure underflow exception occurs for underflowed
3993 result.
3994 * math/s_catanf.c: Include <float.h>.
3995 (__catanf): Ensure underflow exception occurs for underflowed
3996 result.
3997 * math/s_catanh.c: Include <float.h>.
3998 (__catanh): Ensure underflow exception occurs for underflowed
3999 result.
4000 * math/s_catanhf.c: Include <float.h>.
4001 (__catanhf): Ensure underflow exception occurs for underflowed
4002 result.
4003 * math/s_catanhl.c: Include <float.h>.
4004 (__catanhl): Ensure underflow exception occurs for underflowed
4005 result.
4006 * math/s_catanl.c: Include <float.h>.
4007 (__catanl): Ensure underflow exception occurs for underflowed
4008 result.
4009 * math/libm-test.inc (catan_test): Add more tests.
4010 (catanh_test): Likewise.
4011
f0302940
JM
4012 [BZ #15405]
4013 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4014 underflowed result.
4015 * math/s_ccoshf.c (__ccoshf): Likewise.
4016 * math/s_ccoshl.c (__ccoshl): Likewise.
4017 * math/s_csin.c (__csin): Likewise.
4018 * math/s_csinf.c (__csinf): Likewise.
4019 * math/s_csinh.c (__csinh): Likewise.
4020 * math/s_csinhf.c (__csinhf): Likewise.
4021 * math/s_csinhl.c (__csinhl): Likewise.
4022 * math/s_csinl.c (__csinl): Likewise.
4023 * math/libm-test.inc (ccos_test): Add more tests.
4024 (ccosh_test): Likewise.
4025 (csin_test): Likewise.
4026 (csinh_test): Likewise.
4027
aa630f59
AZ
40282013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4031 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4032 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4033 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4034 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4035 powerpc/power5+/fpu folders.
4036 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4037
4038
1b835983
MT
40392013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4040
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4042
73709b26
JM
40432013-04-25 Joseph Myers <joseph@codesourcery.com>
4044
4045 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4046 additions to variable.
4047 [$(config-machine) = x86_64] (modules-names): Likewise.
4048 ($(objpfx)tst-audit3): Remove dependency.
4049 ($(objpfx)tst-audit3.out): Likewise.
4050 ($(objpfx)tst-audit4): Likewise.
4051 ($(objpfx)tst-audit4.out): Likewise.
4052 ($(objpfx)tst-audit5): Likewise.
4053 ($(objpfx)tst-audit5.out): Likewise.
4054 ($(objpfx)tst-audit6): Likewise.
4055 ($(objpfx)tst-audit6.out): Likewise.
4056 ($(objpfx)tst-audit7): Likewise.
4057 ($(objpfx)tst-audit7.out): Likewise.
4058 (tst-audit3-ENV): Remove variable.
4059 (tst-audit4-ENV): Likewise.
4060 (tst-audit5-ENV): Likewise.
4061 (tst-audit6-ENV): Likewise.
4062 (tst-audit7-ENV): Likewise.
4063 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4064 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4065 addition to variable.
4066 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4069 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4071 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4072 tst-audit3, tst-audit4 and tst-audit5.
4073 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4074 tst-audit6 and tst-audit7.
4075 [$(subdir) = elf] (modules-names): Add audit modules for those
4076 tests.
4077 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4078 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4079 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4080 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4081 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4082 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4083 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4084 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4085 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4086 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4087 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4088 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4089 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4090 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4091 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4092 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4093 Likewise.
4094 [$(subdir) = elf && $(config-cflags-avx) = yes]
4095 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4096 [$(subdir) = elf && $(config-cflags-avx) = yes]
4097 (CFLAGS-tst-auditmod4a.c): Likewise.
4098 [$(subdir) = elf && $(config-cflags-avx) = yes]
4099 (CFLAGS-tst-auditmod4b.c): Likewise.
4100 [$(subdir) = elf && $(config-cflags-avx) = yes]
4101 (CFLAGS-tst-auditmod6b.c): Likewise.
4102 [$(subdir) = elf && $(config-cflags-avx) = yes]
4103 (CFLAGS-tst-auditmod6c.c): Likewise.
4104 [$(subdir) = elf && $(config-cflags-avx) = yes]
4105 (CFLAGS-tst-auditmod7b.c): Likewise.
4106 * elf/tst-audit3.c: Move to ...
4107 * sysdeps/x86_64/tst-audit3.c: ... here.
4108 * elf/tst-audit4.c: Move to ...
4109 * sysdeps/x86_64/tst-audit4.c: ... here.
4110 * elf/tst-audit5.c: Move to ...
4111 * sysdeps/x86_64/tst-audit5.c: ... here.
4112 * elf/tst-audit6.c: Move to ...
4113 * sysdeps/x86_64/tst-audit6.c: ... here.
4114 * elf/tst-audit7.c: Move to ...
4115 * sysdeps/x86_64/tst-audit7.c: ... here.
4116 * elf/tst-auditmod3a.c: Move to ...
4117 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4118 * elf/tst-auditmod3b.c: Move to ...
4119 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4120 * elf/tst-auditmod4a.c: Move to ...
4121 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4122 * elf/tst-auditmod4b.c: Move to ...
4123 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4124 * elf/tst-auditmod5a.c: Move to ...
4125 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4126 * elf/tst-auditmod5b.c: Move to ...
4127 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4128 * elf/tst-auditmod6a.c: Move to ...
4129 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4130 * elf/tst-auditmod6b.c: Move to ...
4131 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4132 * elf/tst-auditmod6c.c: Move to ...
4133 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4134 * elf/tst-auditmod7a.c: Move to ...
4135 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4136 * elf/tst-auditmod7b.c: Move to ...
4137 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4138
1ef74943
PP
41392013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4140
4141 [BZ #15366]
4142 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4143 define unconditionally.
4144 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4145 define unconditionally.
4146 (INT8_C, INT16_C, etc.): Likewise.
4147
93fd48c5
MR
41482013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4149
ae9552cf
MR
4150 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4151 __ehdr_start with hidden visibility.
4152
93fd48c5
MR
4153 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4154
418601aa
CD
41552013-04-24 Carlos O'Donell <carlos@redhat.com>
4156
4157 * math/libm-test.inc (cos_test): Use accurate hex constants.
4158 (sincost_test): Likewise.
4159
2f38fbfe
JM
41602013-04-24 Joseph Myers <joseph@codesourcery.com>
4161
5e221800
JM
4162 * math/libm-test.inc (catan_test): Add more tests.
4163 (catanh_test): Likewise.
4164
77f143fd
JM
4165 * math/s_catanf.c (__catanf): Use suffixed floating-point
4166 constants.
4167 * math/s_catanhf.c (__catanhf): Likewise.
4168 * math/s_catanhl.c (__catanhl): Likewise.
4169 * math/s_catanl.c (__catanl): Likewise.
4170
2f38fbfe
JM
4171 [BZ #15394]
4172 * math/s_catan.c (__catan): Calculate imaginary part of result
4173 with log1p not log unless computing log of number close to 0.
4174 * math/s_catanf.c (__catanf): Likewise.
4175 * math/s_catanl.c (__catanl): Likewise.
4176 * math/s_catanh.c (__catanh): Calculate real part of result with
4177 log1p not log unless computing log of number close to 0.
4178 * math/s_catanhf.c (__catanhf): Likewise.
4179 * math/s_catanhl.c (__catanhl): Likewise.
4180 * math/libm-test.inc (catan_test): Add more tests.
4181 (catanh_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4184
45d69176
SP
41852013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4186
4187 * benchtests/Makefile: Mention files in which fast and slow
4188 paths of math functions are implemented.
4189
87f51853
RM
41902013-04-23 Roland McGrath <roland@hack.frob.com>
4191
4192 * sysdeps/posix/timespec_get.c: New file.
4193
3c026539
AZ
41942013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4195
4196 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4197 POWER.
4198 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4199 for POWER.
4200 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4201 powerpc/power5/fpu folders.
4202 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4203 * benchtests/Makefile: Add modf testcase.
4204 * benchtests/bench-modf.c: New file: Benchmark test for mo
4205
ff491d14
SP
42062013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4207
4208 [BZ #14888]
4209 * time/Makefile (tests): Add tst-strptime-whitespace.
4210 * time/strptime_l.c (get_number): Use ISSPACE.
4211 (__strptime_internal): Likewise.
4212 * time/tst-strptime-whitespace.c: New test case.
4213
7ed3f4e8
AS
42142013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4215
4216 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4217 member.
4218 (_nss_files_init): Set it here.
4219
5c95f7b6
HC
42202013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4221
4222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4223 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4224 unsigned.
4225
d34c9158
JBG
42262013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4227
4228 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4229
2169712d
SP
42302013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4231
4232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4233 size just once.
4234
29c5de99
DM
42352013-04-21 David S. Miller <davem@davemloft.net>
4236
4237 * po/ru.po: Update Russion translation from translation project.
4238
ccdad15d
AC
42392013-04-17 Adam Conrad <adconrad@0c3.net>
4240
4241 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4242 and setfsgid.
4243
0f122b8d
CD
42442013-04-17 Carlos O'Donell <carlos@redhat.com>
4245
5c5b07da 4246 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4247 * configure: Regenerate.
5c5b07da 4248 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4249 Add example to error message.
4250 * sysdeps/i386/configure: Regenerate.
4251
037714dd
SP
42522013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4253
4254 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4255 slowtan.
4256 * benchtests/cos-inputs: New file.
4257 * benchtests/slowcos-inputs: New file.
4258 * benchtests/slowcos.c: New file.
4259 * benchtests/slowtan-inputs: New file.
4260 * benchtests/slowtan.c: New file.
4261 * benchtests/tan-inputs: New file.
4262
e913141d
RM
42632013-04-16 Roland McGrath <roland@hack.frob.com>
4264
4265 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4266 considered kosher.
4267
a2964074
SP
42682013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4269
4856bcd2
SP
4270 * benchtests/Makefile: Include cppflags-iterator.mk to add
4271 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4272
a2964074
SP
4273 * Makefile.in (bench-clean): New target.
4274 * benchtests/Makefile (bench-clean): Likewise.
4275
9fbf9aca
DH
42762013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4277
4278 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4279
207d1e2a
TS
42802013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4281
4282 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4283
306dfba9
AS
42842013-04-15 Andreas Schwab <schwab@suse.de>
4285
4286 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4287 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4288 * nscd/pwdcache.c (cache_addpw): Likewise.
4289 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4290 more than recsize.
4291
206a6699
SP
42922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4293
4294 * benchtests/Makefile (bench): Write all output to
4295 bench-out.tmp together.
4296
0582f6b3
AS
42972013-04-15 Andreas Schwab <schwab@suse.de>
4298
4299 * nscd/nscd.c (main): Don't fork again after closing files.
4300
acb4325f
SP
43012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4302
5cb26d0a
SP
4303 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4304
acb4325f
SP
4305 * benchtests/Rules (bench-deps): Collect dependencies into a
4306 single variable. Add Makefile to dependencies.
4307 ($(objpfx)bench-%.c): Depend on bench-deps.
4308
47792506
RM
43092013-04-12 Roland McGrath <roland@hack.frob.com>
4310 Xavier Roche <roche+kml2@exalead.com>
4311
4312 [BZ #15361]
4313 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4314 just that it's a file descriptor.
4315 * manual/llio.texi (Synchronizing AIO Operations): Update description
4316 for EBADF error from aio_fsync.
4317
8fc1bee5
SP
43182013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4319
4320 * Rules (bench): Move target definition...
4321 * benchtests/Makefile: ... here.
4322
aba5e333
CD
43232013-04-11 Carlos O'Donell <carlos@redhat.com>
4324
4325 * math/libm-test.inc (cos_test): Fix PI/2 test.
4326 (sincos_test): Likewise.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4328 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4329
273cdee8
AS
43302013-04-11 Andreas Schwab <schwab@suse.de>
4331
6ecec3b6
AS
4332 [BZ #13988]
4333 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4334 accept exponent character only when digits were seen.
4335 * stdio-common/Makefile (tests): Add bug26.
4336 * stdio-common/bug26.c: New file.
4337
273cdee8
AS
4338 [BZ #14293]
4339 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4340 non-freeable.
4341
8da491f5
SP
43422013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4343
01dc6df9
SP
4344 * Makeconfig (rtld-prefix): Define built linker prefix.
4345 * Rules (run-bench): Use it.
4346 * math/Makefile (run-regen-ulps): Likewise.
4347
8da491f5
SP
4348 * Rules (bench): Remove eval.
4349
abe7f530
SP
43502013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4351 Roland McGrath <roland@hack.frob.com>
4352 Ondrej Bilka <neleai@seznam.cz>
4353
4354 [BZ #15346]
4355 * time/getdate.c: Include ctype.h and alloca.h.
4356 (__getdate_r): Trim leading and trailing spaces of input.
4357 * time/tst-getdate.c (tests): Add tests with leading and
4358 trailing spaces.
4359
61c23e62
RM
43602013-04-08 Roland McGrath <roland@hack.frob.com>
4361
4362 [BZ #14280]
4363 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4364 when computing value.
4365
7208a313
CD
43662013-04-06 Carlos O'Donell <carlos@redhat.com>
4367
085b2d41
CD
4368 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4369 Use testrun.sh to run libm tests.
4370
7208a313
CD
4371 [BZ #15309]
4372 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4373
872c0acd
MM
43742013-04-06 Marko Myllynen <myllynen@redhat.com>
4375
4376 [BZ #15264]
4377 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4378
26510bdd
CD
43792013-04-06 Carlos O'Donell <carlos@redhat.com>
4380
4381 * Makefile.in (regen-ulps): New target.
4382 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4383 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4384 [ifneq (no,$(PERL)] (regen-ulps): New target.
4385 [ifeq (no,$(PERL)] (regen-ulps): New target.
4386 * math/libm-test.inc (ulps_file_name): Define.
4387 (output_dir): New variable.
4388 (options): Add "output-dir" option.
4389 (parse_opt): Handle 'o' case.
4390 (main): If output_dir is non-NULL use it as a prefix
4391 otherwise use "".
4392 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4393
a01f19c8
CD
43942013-04-06 Carlos O'Donell <carlos@redhat.com>
4395
4396 [BZ #10060, #10062]
4397 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4398 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4399 fail configure if __sync_val_compare_and_swap is not inlined.
4400 * sysdeps/i386/configure: Regenerate.
4401 * configure.in: Build for i686 when configured for i386.
4402 * configure: Regenerate.
4403 * README: Remove i386 reference.
4404
b7a329a5
CD
44052013-04-06 Carlos O'Donell <carlos@redhat.com>
4406
4407 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4409
bf0f50df
TS
44102013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4411
ee091edf
TS
4412 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4413 (lmsnanval): New variables.
4414 (F): Add conversion tests.
4415 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4416 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4417
a8b792d6
TS
4418 * stdio-common/tstdiomisc.c (F): Properly collect individual
4419 tests' results.
4420
a1cbf437
TS
4421 [BZ #14686, #15336]
4422 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4423 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4424 Instead, use input NaN values or generate a qNaN by arithmetic
4425 operation. Also fix bugs to comply with the standard.
4426 * math/libm-test.inc (remainder_test): Add more tests.
4427
8b43a0c9
TS
4428 [BZ #15335, #15342]
4429 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4431 input NaN values or generate a qNaN by arithmetic operation.
4432
d91da4ce
TS
4433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4434 unreachable code.
4435
bf0f50df
TS
4436 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4437 definitions.
4438
05e166c8
JM
44392013-04-03 Joseph Myers <joseph@codesourcery.com>
4440
4441 [BZ #14478]
4442 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4443 underflowed result.
4444 * math/s_cexpf.c (__cexpf): Likewise.
4445 * math/s_cexpl.c (__cexpl): Likewise.
4446 * math/libm-test.inc (cexp_test): Add more tests.
4447
1cef1b19
AS
44482013-04-03 Andreas Schwab <schwab@suse.de>
4449
4450 [BZ #15330]
4451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4452 order arrays from heap if bigger than alloca cutoff.
4453
74d87055
TS
44542013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4455
4456 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4457 (SNAN_TESTS_double): Refer to GCC PR56831.
4458 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4459 GCC PR56828.
4460
d755bba4
SP
44612013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4462
90d5d5bb
SP
4463 * Rules (bench): Move bench.out after the run is complete.
4464
73e0cd5d
SP
4465 * Rules (bench): Echo currently running benchmark.
4466
64aabd4b
SP
4467 * benchtests/Makefile (bench): Add atan and slowatan.
4468 * benchtests/atan-inputs: New file.
4469 * benchtests/slowatan-inputs: New file.
4470 * benchtests/slowatan.c: New file.
4471
c871eccd
SP
4472 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4473 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4474 its value.
4475
d755bba4
SP
4476 [BZ #15305]
4477 * sysdeps/unix/sysv/linux/kernel-features.h
4478 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4479 __ASSUME_XFS_RESTRICTED_CHOWN.
4480 * sysdeps/unix/sysv/linux/pathconf.c
4481 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4482 Save and restore errno.
4483
52ce4860
JM
44842013-04-02 Joseph Myers <joseph@codesourcery.com>
4485
4486 [BZ #15327]
4487 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4488 arguments using __kernel_casinh.
4489 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4490 arguments using __kernel_casinhf.
4491 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4492 arguments using __kernel_casinhl.
4493 * math/libm-test.inc (cacosh_test): Add more tests.
4494 * sysdeps/i386/fpu/libm-test-ulps: Update.
4495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4496
81f311c2
SP
44972013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4498
e7906a47
SP
4499 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4501
92e3664b
SP
4502 * bench/Makefile (bench): Add sin and slowsin.
4503 * benchtests/sin-inputs: New file.
4504 * benchtests/slowsin-inputs: New file.
4505 * benchtests/slowsin.c: New file.
4506
81f311c2
SP
4507 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4508 (bench): Add slowexp and slowpow.
4509 (exp-ITER): Increase iterations.
4510 (pow-ITER): Likewise.
4511 * benchtests/exp-inputs: Change input.
4512 * benchtests/pow-inputs: Likewise.
4513 * benchtests/slowexp-inputs: New file.
4514 * benchtests/slowexp.c: New file.
4515 * benchtests/slowpow-inputs: New file.
4516 * benchtests/slowpow.c: New file.
4517
ab0f1aa9
AZ
45182013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4519
4520 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4521 instructions.
4522 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4523 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4524 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4525 * benchtests/Makefile: Add rint benchtest.
4526 * benchtests/rint-inputs: Input for rint benchtest.
4527
57267616
TS
45282013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4529
4530 * Versions.def (libm): Add GLIBC_2.18.
4531 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4532 hidden libm prototypes.
4533 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4534 * math/Makefile (libm-calls): Add s_issignaling.
4535 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4536 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4537 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4538 declaration.
4539 * math/math.h [__USE_GNU] (issignaling): New macro.
4540 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4541 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4543 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4546 * manual/arith.texi (issignaling): New section.
4547 * manual/libm-err-tab.pl (@all_functions): Update comment.
4548 * math/gen-libm-test.pl (parse_args): Apply special handling for
4549 issignaling.
4550 * math/libm-test.inc (print_float, issignaling_test): New
4551 functions.
4552 (check_float_internal): Add issignaling checks.
4553 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4554 default definition.
4555 * sysdeps/powerpc/math-tests.h: New file.
4556 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4557 tests.
4558 * math/test-snan.c (TEST_FUNC): Likewise.
4559
6142896d
DM
45602013-03-30 David S. Miller <davem@davemloft.net>
4561
4562 * po/de.po: Update from translation team.
4563
ccc8cadf
JM
45642013-03-30 Joseph Myers <joseph@codesourcery.com>
4565
4566 [BZ #10357]
4567 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4568 imaginary part less than 1.0 and real part less than 0.5
4569 specially.
4570 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4571 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4572 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4573 (cacos_test): Add more tests.
4574 (casin_test): Likewise.
4575 (casinh_test): Likewise.
4576 * sysdeps/i386/fpu/libm-test-ulps: Update.
4577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4578
0f6a8d4b
SP
45792013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4580
0d1029de
SP
4581 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4582 ONE with its value.
4583
c2d94018
SP
4584 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4585 (__pow_mp): Replace ONE and MONE with their values.
4586 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4588 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4589 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4590 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4591 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4592
27ec37f1
SP
4593 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4594
a64d7e0e
SP
4595 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4596 (__pow_mp): Replace ZERO and MZERO with their values.
4597 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4598 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4599 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4601 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4602 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4603 (__sqr): Likewise.
4604
d26dd3eb
SP
4605 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4606
0f6a8d4b
SP
4607 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4608
e57b0c61
RM
46092013-03-28 Roland McGrath <roland@hack.frob.com>
4610
4611 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4612 Declare with __attribute__ ((weak)).
4613 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4614 Call __call_tls_dtors only if it's not NULL.
4615
356b3480
RM
46162013-03-28 Roland McGrath <roland@hack.frob.com>
4617
288f7d79
RM
4618 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4619 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4620 magic __ehdr_start linker symbol if it's defined.
4621 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4622 them up here if it was already done.
4623
dc0a0263
RM
4624 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4625 (_dl_aux_init): Use const in cast when setting it.
4626 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4627 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4628 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4629
3d3436ae
RM
4630 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4631 Declare them here.
4632 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4633 * csu/libc-tls.c: Nor here.
4634 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4635
356b3480
RM
4636 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4637 (__libc_message): Never call vsyslog.
4638
b0f1246a
AM
46392013-03-28 Alan Modra <amodra@gmail.com>
4640
4641 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4642 Define as empty.
4643 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4644 Likewise.
4645
fbbe2b9a
AZ
46462013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647
4648 [BZ #15214]
4649 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4650 underflow.
4651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4652
1728ab37
SP
46532013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4654
7a86be6e
SP
4655 [BZ #15304]
4656 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4657 Don't add gid passed as argument.
4658
1728ab37
SP
4659 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4660
3a7182a1
JM
46612013-03-27 Joseph Myers <joseph@codesourcery.com>
4662
4663 [BZ #15307]
4664 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4665 imaginary part between 1.0 and 1.5 and real part less than 0.5
4666 specially.
4667 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4668 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4669 * math/libm-test.inc (cacos_test): Add more tests.
4670 (casin_test): Likewise.
4671 (casinh_test): Likewise.
4672 * sysdeps/i386/fpu/libm-test-ulps: Update.
4673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4674
6f2e90e7
SP
46752013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4676
5739f705
SP
4677 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4678 constants.
4679 (norm): Likewise.
4680 (denorm): Likewise.
4681 (__dbl_mp): Likewise.
4682 (add_magnitudes): Likewise.
4683 (sub_magnitudes): Likewise.
4684 (__add): Likewise.
4685 (__sub): Likewise.
4686 (__mul): Likewise.
4687 (__sqr): Likewise.
4688 (__inv): Likewise.
4689 (__dvd): Likewise.
4690
e375e83d
SP
4691 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4692 commented code.
4693 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4694 (__dubcos): Likewise.
4695 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4696 (__ieee754_acos): Likewise.
4697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4698 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4699 (__exp1): Likewise.
4700 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4702 (log1): Likewise.
4703 (my_log2): Likewise.
4704 (checkint): Likewise.
4705 * sysdeps/ieee754/dbl-64/e_remainder.c
4706 (__ieee754_remainder): Likewise.
4707 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4709 (bsloww): Likewise.
4710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4711
6f2e90e7
SP
4712 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4713 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4714 MANTISSA_STORE_T to store computations on mantissa. Use
4715 macros for rounding and division.
4716 (denorm): Likewise.
4717 (__dbl_mp): Likewise.
4718 (add_magnitudes): Likewise.
4719 (sub_magnitudes): Likewise.
4720 (__mul): Likewise.
4721 (__sqr): Likewise.
4722 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4723 powers of two in terms of TWOPOW macro.
4724 (mp_no): Make type of mantissa as MANTISSA_T.
4725 [!RADIXI]: Define RADIXI.
4726 [!TWO52]: Define TWO52.
4727 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4728
fce14d4e
AZ
47292013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4730
4731 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4732 llroundl symbol when building for PPC32.
4733
9ad027fb
MW
47342013-03-24 Mark H Weaver <mhw@netris.org>
4735
4736 * manual/arith.texi (Normalization Functions): Fix prototypes for
4737 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4738
e42a38dd
AZ
47392013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4740
4741 [BZ #13889]
4742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4743 high value to check if expl overflow.
4744 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4745 to check for underflow and overflow.
4746 * math/libm-test.inc: Add exp test.
4747
2e0fb521
DL
47482013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4749
4750 [BZ #11120]
4751 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4752 with NOT_IN_libc.
4753
b5784d95
AZ
47542013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4755
4756 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4757 symbol.
4758
5aa4a1a1
TS
47592013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4760
bdef0be7
TS
4761 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4762 wrap blocks consisting of several statements.
4763
5aa4a1a1
TS
4764 * sysdeps/generic/math-tests.h: New file.
4765 * sysdeps/i386/fpu/math-tests.h: Likewise.
4766 * math/test-snan.c: Include it.
4767 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4768
98c48fe5
JM
47692013-03-21 Joseph Myers <joseph@codesourcery.com>
4770
4771 [BZ #15285]
4772 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4773 (__ieee754_j0l): Do not improve calculations using cos of twice
4774 input for inputs above LDBL_MAX / 2.0L.
4775 (__ieee754_y0l): Likewise.
4776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4777 (__ieee754_j1l): Do not improve calculations using cos of twice
4778 input for inputs above LDBL_MAX / 2.0L.
4779 (__ieee754_y1l): Likewise.
4780 * math/libm-test.inc (j0_test): Add another test.
4781 (j1_test): Likewise.
4782 (y0_test): Likewise.
4783 (y1_test): Likewise.
4784 * sysdeps/i386/fpu/libm-test-ulps: Update.
4785
3775a8bc
SP
47862013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4787
4788 * Rules ($(objpfx)bench-%.c): Include code from a C source
4789 file.
4790
0a1b2ae6
JM
47912013-03-21 Joseph Myers <joseph@codesourcery.com>
4792
4793 [BZ #15287]
4794 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4795 imaginary part 1.0 and real part less than 0.5 specially.
4796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4798 * math/libm-test.inc (cacos_test): Add more tests.
4799 (casin_test): Likewise.
4800 (casinh_test): Likewise.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803
b33d4ce4
SP
48042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4805
4806 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4807 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4808
bef0b507
JM
48092013-03-20 Joseph Myers <joseph@codesourcery.com>
4810
4811 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4812 * config.make.in (config-cflags-sse4): Remove variable.
4813 (config-cflags-avx): Likewise.
4814 (config-cflags-sse2avx): Likewise.
4815 (config-cflags-novzeroupper): Likewise.
4816 (config-asflags-i686): Likewise.
4817 (have-mfma4): Likewise.
4818 (have-as-vis3): Likewise.
4819 (MIG): Likewise.
4820 * configure.in (MIG): Do not AC_SUBST.
4821 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4822 (libc_cv_cc_sse4): Do not AC_SUBST.
4823 (libc_cv_cc_avx): Likewise.
4824 (libc_cv_cc_sse2avx): Likewise.
4825 (libc_cv_cc_novzeroupper): Likewise.
4826 (libc_cv_cc_fma4): Likewise.
4827 (libc_cv_as_i686): Likewise.
4828 (libc_cv_sparc_as_vis3): Likewise.
4829 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4830 LIBC_CONFIG_VAR.
4831 (config-asflags-i686): Likewise.
4832 (config-cflags-avx): Likewise.
4833 (config-cflags-sse2avx): Likewise.
4834 (have-mfma4): Likewise.
4835 (config-cflags-novzeroupper): Likewise.
4836 * sysdeps/mach/configure.in (MIG): Likewise.
4837 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4838 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4839 LIBC_CONFIG_VAR.
4840 (config-cflags-avx): Likewise.
4841 (config-cflags-sse2avx): Likewise.
4842 (have-mfma4): Likewise.
4843 (config-cflags-novzeroupper): Likewise.
4844 * configure: Regenerated.
4845 * sysdeps/i386/configure: Likewise.
4846 * sysdeps/mach/configure: Likewise.
4847 * sysdeps/sparc/configure: Likewise.
4848 * sysdeps/x86_64/configure: Likewise.
4849
912cc4b3
RM
48502013-03-20 Roland McGrath <roland@hack.frob.com>
4851
4852 [BZ #14812]
4853 * locale/programs/localedef.c (options): Put N_ translation marker
4854 on argument names, not just descriptions.
4855
04eed2b0
MS
48562013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4857
4858 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4859
a065ceff
OB
48602013-03-20 Ondřej Bílka <neleai@seznam.cz>
4861
9bb2a810 4862 [BZ #14176]
a065ceff
OB
4863 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4864
a600e5ce
RM
48652013-03-19 Roland McGrath <roland@hack.frob.com>
4866
4867 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4868 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4869 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4870 [!BEFORE_ABORT] (before_abort): New function.
4871 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4872 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4873 (writev_for_fatal): New function.
4874 (WRITEV_FOR_FATAL): New macro; call that.
4875 (backtrace_and_maps): New function.
4876 (BEFORE_ABORT): New macro; call that.
4877 (struct str_list): Type removed.
4878 (__libc_message, __libc_fatal): Functions removed.
4879 Include <sysdeps/posix/libc_fatal.c> instead.
4880
6b18bea6
JM
48812013-03-19 Joseph Myers <joseph@codesourcery.com>
4882
4883 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4884 constants.
4885 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4886 double constants.
4887
aaa8cb4b
AS
48882013-03-19 Andreas Schwab <schwab@suse.de>
4889
44673770
AS
4890 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4891 * sysdeps/gnu/configure: Regenerate.
4892
aaa8cb4b
AS
4893 * configure.in: Substitute libc_cv_rtlddir.
4894 * configure: Regenerate.
4895 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4896 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4897 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4898 * elf/Makefile (install-others, CFLAGS-interp.c)
4899 (ldso_install, common-ldd-rewrite): Likewise.
4900 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4901 $(inst_slibdir)/$(rtld-installed-name).
4902 * scripts/rellns-sh: Add -p option.
4903 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4904 for source.
4905
d3cfc668
SP
49062013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4907
4908 * manual/nptl.texi: Renamed to ...
4909 * manual/threads.texi: ... this.
4910 * manual/Makefile (chapters): Update.
4911
0e2b9cdd
RM
49122013-03-18 Roland McGrath <roland@hack.frob.com>
4913
4914 [BZ #14812]
4915 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4916 on argument names, not just descriptions.
0e2b9cdd
RM
4917 * malloc/memusagestat.c (options): Likewise.
4918 * nss/getent.c (options): Likewise.
63270c24
RM
4919
49202013-03-18 Benno Schulenberg <bensberg@justemail.net>
4921
4922 [BZ #14812]
4923 * iconv/iconv_prog.c (options): Put N_ translation marker
4924 on argument names, not just descriptions.
4925 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4926
b2e1393c
OB
49272013-03-18 Ondrej Bilka <neleai@seznam.cz>
4928
4929 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4930 implementation which is faster on all x86_64 architectures.
4931 Tested on AMD, Intel Nehalem, SNB, IVB.
4932 * sysdeps/x86_64/strnlen.S: Likewise.
4933
4934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4935 Remove all multiarch strlen and strnlen versions.
4936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4937 Remove strlen and strnlen related parts.
4938
4939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4940 Inline strlen part.
4941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4942
4943 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4944 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4945 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4946 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4947 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4948 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4949
ec4ff04d
CD
49502013-03-17 Carlos O'Donell <carlos@redhat.com>
4951
4952 * manual/memory.texi (Malloc Tunable Parameters):
4953 Sort parameters alphabetically. Add comments for missing entries.
4954
cd18e90a
DM
49552013-03-17 David S. Miller <davem@davemloft.net>
4956
4957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4958
2a185d32
JM
49592013-03-16 Joseph Myers <joseph@codesourcery.com>
4960
d2f9799e
JM
4961 [BZ #15283]
4962 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4963 for arguments at most half maximum finite value.
4964 * math/libm-test.inc (j0_test): Add more tests.
4965 (j1_test): Likewise.
4966 (y0_test): Likewise.
4967 (y1_test): Likewise.
4968 * sysdeps/i386/fpu/libm-test-ulps: Update.
4969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4970
2a185d32
JM
4971 [BZ #14155]
4972 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4973 1 / x and functions P and Q for arguments above 0x1p256L.
4974 (__ieee754_y0l): Likewise.
4975 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4976 (__ieee754_y1l): Likewise.
4977 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4978 (j1_test): Likewise.
4979 (y0_test): Likewise.
4980 (y1_test): Likewise.
4981
6cbec759
TS
49822013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4983
4984 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4985 variable.
4986
bc16e260
RM
49872013-03-15 Roland McGrath <roland@hack.frob.com>
4988
aefc9b8c
RM
4989 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4990 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4991 zero since it's initialized to EXEC_PAGESIZE.
4992
bc16e260
RM
4993 * sysdeps/unix/sysv/linux/ldsodefs.h
4994 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4995 * sysdeps/generic/ldsodefs.h: ... here.
4996
a57da955
TS
49972013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4998
af00a34d
TS
4999 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5000
495ded2c
TS
5001 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5002 math/test-snan.c.
5003 * math/test-snan.c: Renamed from
5004 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5005 * math/Makefile (tests): Add test-snan.
5006 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5007 test-powerpc-snan.
5008
777b0332
TS
5009 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5010 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5011 functions.
5012 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5013 __builtin_nan family of functions.
5014 * math/libm-test.inc (initialize): Initialize qnan_value with
5015 __builtin_nan family of functions.
5016 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5017 Remove variables.
5018 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5019 Remove functions.
5020 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5021 storage class. Initialize qNaN_var and sNaN_var with
5022 __builtin_nan and __builtin_nans families of functions,
5023 respectively.
5024
64d063b8
TS
5025 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5026 (sqrt_test): Remove duplicate test with qNaN input.
5027 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5028 (round_test, signbit_test, significand_test): Note missing +/-Inf
5029 as well as qNaN tests.
5030
67e971f1
TS
5031 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5032 qNaN_var. Fix a few strings, too.
5033 * math/libm-test.inc (nan_value): Rename to qnan_value.
5034 * math/gen-libm-test.pl (%beautify): Adjust to that.
5035 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5036 * math/test-misc.c (main): Likewise.
5037 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5038 to __qnan_bytes, and __qnan_union, respectively.
5039 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5040 Likewise.
5041 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5042 and lqnanval, respectively.
5043 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5044 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5045 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5046 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5047
64487e12
TS
5048 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5049 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5050 doubles.
5051
e015e27b
TS
5052 * math/test-misc.c (main): Fix copy'n'pastos.
5053 * misc/tst-efgcvt.c (special): Likewise.
5054
a57da955
TS
5055 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5056 Remove declarations.
5057
1e380345
SP
50582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5059
5060 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5061 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5062 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5063 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5064
ef26eece
AZ
50652013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5066
5067 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5068 macro to return vdso values correctly in IFUNC implementations.
5069 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5070 Optimization by using IFUNC.
5071
8cfdb7e0
SP
50722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5073 Richard Henderson <rth@redhat.com>
5074 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5075
5076 * Makefile.in (bench): New target.
5077 * NEWS: Mention the benchmark framework.
5078 * Rules (bench): Likewise.
5079 (binaries-bench): Generate binaries for functions to
5080 benchmark.
5081 * benchtests/Makefile: New makefile for benchmark tests.
5082 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5083 programs.
5084 * benchtests/exp-inputs: New input file for EXP function.
5085 * benchtests/pow-inputs: New input file for POW function.
5086 * scripts/bench.pl: New script to generate source files for
5087 benchmark programs.
5088
bcda9880
SP
50892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
d22ca8cd
SP
5091 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5092 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5093 computations on mantissa. Use macros for rounding and
5094 division.
5095 (denorm): Likewise.
5096 (__dbl_mp): Likewise.
5097 (add_magnitudes): Likewise.
5098 (sub_magnitudes): Likewise.
5099 (__mul): Likewise.
5100 (__sqr): Likewise.
5101 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5102 powers of two in terms of TWOPOW macro.
5103 (mp_no): Make type of mantissa as MANTISSA_T.
5104 [!RADIXI]: Define RADIXI.
5105 [!TWO52]: Define TWO52.
5106 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5107
bcda9880
SP
5108 * manual/nptl.texi (cindex): Modify threads to pthreads.
5109
06d5adfb
JM
51102013-03-15 Joseph Myers <joseph@codesourcery.com>
5111
5112 * sysdeps/x86_64/preconfigure: Regenerated.
5113
41c7328e
JM
51142013-03-14 Joseph Myers <joseph@codesourcery.com>
5115
5116 [BZ #14155]
5117 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5118 0x1p28 and above.
5119 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5120 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5121 0x1p28 and above.
5122 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5123 * math/libm-test.inc (j0_test): Do not allow one spurious
5124 underflow exception.
5125 (y1_test): Likewise.
5126
e25cfa60
SP
51272013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5128
0409959c
SP
5129 * manual/Makefile (chapters): Add nptl.
5130 * manual/debug.texi (Debugging Support): Add link to Threads
5131 chapter.
5132 * manual/nptl.texi: New file.
5133
e25cfa60
SP
5134 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5135
58a1335e
PB
51362013-03-14 Petr Baudis <pasky@ucw.cz>
5137
5138 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5139 for non-NULL pointer before the memory validity test. Pointed
5140 out by Holger Brunck <holger.brunck@keymile.com>.
5141
9dc7c64f
AS
51422013-03-13 Andreas Schwab <schwab@suse.de>
5143
5144 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5145 instead of .os.
5146
54206aa6
JM
51472013-03-13 Joseph Myers <joseph@codesourcery.com>
5148
5149 * timezone/zic.c: Update from tzcode 2013b.
5150
e98cdb38
CD
51512013-03-12 Carlos O'Donell <carlos@redhat.com>
5152
5153 * manual/install.texi (Configuring and compiling):
5154 Mention i686 and i586.
5155 * INSTALL: Regenerate.
5156
9967e003
RM
51572013-03-12 Roland McGrath <roland@hack.frob.com>
5158
5159 * sysdeps/init_array/elf-init.c: New file.
5160 * csu/elf-init.c
5161 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5162 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5163
5164 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5165 __gmon_start__ as global, but as static with a .preinit_array pointer.
5166 * sysdeps/init_array/gmon-start.c: New file. Use that.
5167 * sysdeps/init_array/crti.S: New file, empty except for comments.
5168 * sysdeps/init_array/crtn.S: Likewise.
5169
e6b5a293 51702013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5171
5172 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5173 definining bcopy.
80f844c9
OB
5174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5175 Remove Prefer_SSE_for_memop.
5176 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5177 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5178 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5180 memset-x86-64.
80f844c9 5181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5182 Remove bzero, memset ifunc support.
80f844c9
OB
5183 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5184 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5185 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5187
fb6b0fcb
AS
51882013-03-11 Andreas Schwab <schwab@suse.de>
5189
5190 [BZ #15234]
5191 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5192 by SHLIB_COMPAT.
5193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5194 (GLIBC_2.16): Remove pthread_atfork.
5195
3e6bd4b1
PP
51962013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5197
5198 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5199 (ptestcases.h): Likewise.
5200
222d7f00
RM
52012013-03-08 Roland McGrath <roland@hack.frob.com>
5202
5203 * Makeconfig ($(common-objpfx)config.status): Depend on
5204 sysdeps/*/preconfigure{,.in} too.
5205
1ba4f030
JM
52062013-03-08 Joseph Myers <joseph@codesourcery.com>
5207
a222d91a
JM
5208 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5209 (__free_hook): Use void * instead of __malloc_ptr_t.
5210 (__malloc_hook): Likewise.
5211 (__realloc_hook): Likewise.
5212 (__memalign_hook): Likewise.
5213 (__after_morecore_hook): Likewise.
5214 * malloc/arena.c (save_malloc_hook): Likewise.
5215 (save_free_hook): Likewise.
5216 * malloc/hooks.c (malloc_hook_ini): Likewise.
5217 (realloc_hook_ini): Likewise.
5218 (memalign_hook_ini): Likewise.
5219 * malloc/malloc.c (malloc_hook_ini): Likewise.
5220 (realloc_hook_ini): Likewise.
5221 (memalign_hook_ini): Likewise.
5222 (__free_hook): Likewise.
5223 (__malloc_hook): Likewise.
5224 (__realloc_hook): Likewise.
5225 (__memalign_hook): Likewise.
5226 (__libc_malloc): Likewise.
5227 (__libc_free): Likewise.
5228 (__libc_realloc): Likewise.
5229 (__libc_memalign): Likewise.
5230 (__libc_valloc): Likewise.
5231 (__libc_pvalloc): Likewise.
5232 (__libc_calloc): Likewise.
5233 (__posix_memalign): Likewise.
5234 * malloc/morecore.c (__sbrk): Likewise.
5235 (__default_morecore): Likewise.
5236
5cc45e10
JM
5237 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5238
dd54b864
JM
5239 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5240 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5241 __malloc_ptrdiff_t.
5242
1ba4f030
JM
5243 * malloc/malloc.h (__malloc_size_t): Remove macro.
5244 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5245 __malloc_size_t.
5246 (old_memalign_hook): Likewise.
5247 (old_realloc_hook): Likewise.
5248 (struct hdr): Likewise.
5249 (flood): Likewise.
5250 (mallochook): Likewise.
5251 (memalignhook): Likewise.
5252 (reallochook): Likewise.
5253 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5254 (tr_old_realloc_hook): Likewise.
5255 (tr_old_memalign_hook): Likewise.
5256 (tr_mallochook): Likewise.
5257 (tr_reallochook): Likewise.
5258 (tr_memalignhook): Likewise.
5259
edf66e57
AZ
52602013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5261
5262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5263 default_ldbl_pack and using as default implementation.
5264 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5265 implementation.
5266 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5267 redundant definition.
5268 (ldbl_insert_mantissa): Likewise.
5269 (ldbl_canonicalize): Likewise.
5270 (ldbl_nearbyint): Likewise.
5271 (ldbl_pack): Rename to ldbl_pack_ppc.
5272 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5273 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5274 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5275
6d9145d8
SP
52762013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5277
5278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5279 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5280 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5281 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5283 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5284 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5285 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5286
4dd4e157
AJ
52872013-03-07 Andreas Jaeger <aj@suse.de>
5288
5289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5290 bits/mman-linux.h.
5291
adbb8027
SP
52922013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
ce544b5b
SP
5294 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5295 Include mpa.h and declare __MPEXP.
5296 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5297 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5298 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5299 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5300 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5301 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5302 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5303
4cc149fd
SP
5304 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5305 (__slowpow): Use long double EXPL and LOGL functions to
5306 compute POW.
5307 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5308 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5309 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5310 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5311 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5312 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5313
e6ebd4a7
SP
5314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5315 intermediate variable to calculate exponent.
5316 (__sqr): Likewise.
5317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5318 Likewise.
5319 (__sqr): Likewise.
5320
82a9811d
SP
5321 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5322 [!NO__SQR]: Define __sqr.
5323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5324 and NO__SQR. Remove all code except __mul and __sqr. Include
5325 sysdeps/ieee754/dbl-64/mpa.c.
5326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5327
adbb8027
SP
5328 [BZ #12723]
5329 * posix/Makefile (tests): Add tst-pathconf.
5330 * posix/tst-pathconf.c: New test case.
5331 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5332 _PC_PIPE_BUF.
5333 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5334
39120df9
PF
53352013-03-06 Patsy Franklin <pfrankli@redhat.com>
5336
5337 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5338
67525cb8
AJ
53392013-03-06 Andreas Jaeger <aj@suse.de>
5340
664a9ce4
AJ
5341 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5342 definition via __MAP_ANONYMOUS.
5343
8e39047d
AJ
5344 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5345 it's not part of Linux headers.
5346
67525cb8
AJ
5347 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5348 (MAP_HUGE_MASK): Define.
5349
5350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5351 Define.
5352 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5354 Define.
5355 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5356 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5357 Define.
5358 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5359 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5360 Define.
5361 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5362
5363 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5364 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5365 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5366 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5367 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5369
5370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5371 Handle f2fs.
5372
5373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5374 Handle f2fs and efivarfs.
5375
5376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5377 f2fs.
5378
5379 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5380 (EFIVARFS_MAGIC): Add.
5381 (F2FS_LINK_MAX): Add.
5382
e1b42695
PP
53832013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5384
5385 * stdio-common/vfprintf.c: Replace __builtin_expect with
5386 __glibc_unlikely.
5387
2d67d91a
JM
53882013-03-06 Joseph Myers <joseph@codesourcery.com>
5389
5390 [BZ #13550]
5391 * sysdeps/generic/bp-sym.h: Remove file.
5392 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5393 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5394 <bp-sym.h> and <bp-asm.h>.
5395 (__longjmp): Don't use BP_SYM.
5396 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5397 and <bp-asm.h>.
5398 (memcpy): Don't use BP_SYM.
5399 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5400 <bp-sym.h> and <bp-asm.h>.
5401 (memcpy): Don't use BP_SYM.
5402 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5403 <bp-asm.h>.
5404 (memcpy): Don't use BP_SYM.
5405 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5406 <bp-asm.h>.
5407 (memset): Don't use BP_SYM.
5408 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5409 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5410 (__bzero): Don't use BP_SYM.
5411 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5412 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5413 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5414 <bp-sym.h> and <bp-asm.h>.
5415 (memcmp): Don't use BP_SYM. Remove comment about bounded
5416 pointers.
5417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5418 <bp-sym.h> and <bp-asm.h>.
5419 (memcpy): Don't use BP_SYM.
5420 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5421 <bp-sym.h> and <bp-asm.h>.
5422 (memset): Don't use BP_SYM.
5423 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5424 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5425 (__bzero): Don't use BP_SYM.
5426 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5427 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5429 <bp-sym.h> and <bp-asm.h>.
5430 (strncmp): Don't use BP_SYM. Remove comment about bounded
5431 pointers.
5432 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5433 <bp-sym.h> and <bp-asm.h>.
5434 (memcpy): Don't use BP_SYM.
5435 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5436 <bp-sym.h> and <bp-asm.h>.
5437 (memset): Don't use BP_SYM.
5438 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5439 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5440 (__bzero): Don't use BP_SYM.
5441 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5442 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5444 <bp-sym.h> and <bp-asm.h>.
5445 (__memchr): Don't use BP_SYM.
5446 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5447 <bp-sym.h> and <bp-asm.h>.
5448 (memcmp): Don't use BP_SYM. Remove comment about bounded
5449 pointers.
5450 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5451 <bp-sym.h> and <bp-asm.h>.
5452 (memcpy): Don't use BP_SYM.
5453 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5454 <bp-sym.h> and <bp-asm.h>.
5455 (__mempcpy): Don't use BP_SYM.
5456 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5457 <bp-sym.h> and <bp-asm.h>.
5458 (__memrchr): Don't use BP_SYM.
5459 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5460 <bp-sym.h> and <bp-asm.h>.
5461 (memset): Don't use BP_SYM.
5462 (__bzero): Likewise.
5463 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5464 <bp-sym.h> and <bp-asm.h>.
5465 (__rawmemchr): Don't use BP_SYM.
5466 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5467 <bp-sym.h> and <bp-asm.h>.
5468 (__STRCMP): Don't use BP_SYM.
5469 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5470 <bp-sym.h> and <bp-asm.h>.
5471 (strchr): Don't use BP_SYM.
5472 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5473 <bp-sym.h> and <bp-asm.h>.
5474 (__strchrnul): Don't use BP_SYM.
5475 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5476 <bp-sym.h> and <bp-asm.h>.
5477 (strlen): Don't use BP_SYM.
5478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5479 <bp-sym.h> and <bp-asm.h>.
5480 (strncmp): Don't use BP_SYM. Remove comment about bounded
5481 pointers.
5482 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5483 <bp-sym.h> and <bp-asm.h>.
5484 (__strnlen): Don't use BP_SYM.
5485 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5486 <bp-sym.h> and <bp-asm.h>.
5487 (__GI__setjmp): Don't use BP_SYM.
5488 (_setjmp): Likewise.
5489 (__sigsetjmp): Likewise.
5490 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5491 (L(start_addresses)): Don't use BP_SYM.
5492 (_start): Likewise.
5493 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5494 <bp-asm.h>.
5495 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5496 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5497 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5498 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5499 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5500 <bp-asm.h>.
5501 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5502 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5503 about bounded pointers.
5504 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5505 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5506 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5507 <bp-asm.h>.
5508 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5509 about bounded pointers. Remove GKM FIXME comments.
5510 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5511 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5512 <bp-asm.h>.
5513 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5514 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5515 Remove GKM FIXME comments.
5516 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5517 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5518 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5519 <bp-asm.h>.
5520 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5521 about bounded pointers. Remove GKM FIXME comment.
5522 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5523 and <bp-asm.h>.
5524 (strncmp): Don't use BP_SYM. Remove comment about bounded
5525 pointers.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5527 <bp-sym.h> and <bp-asm.h>.
5528 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5530 <bp-sym.h> and <bp-asm.h>.
5531 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5532 comment.
5533
cdcf361f
PP
55342013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5535
5536 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5537 call free(NULL).
5538
3c4a2b15
DM
55392013-03-05 David S. Miller <davem@davemloft.net>
5540
5541 * po/es.po: Update from translation team.
5542
cdcf361f 55432013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5544
5545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5546 <bits/mman-linux.h>.
5547 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5548 is fine.
5549 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5550 <bits/mman-linux.h> to end of file.
5551 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5552 is fine.
5553 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5554 <bits/mman-linux.h> to end of file.
5555 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5556 is fine.
5557 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5558 <bits/mman-linux.h> to end of file.
5559
5560 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5561 (MCL_CURRENT, MCL_FUTURE): Define here.
5562
5f67c04f
AK
55632013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5564
8a4473cc 5565 [BZ #15232]
5f67c04f
AK
5566 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5567 attribute_hidden.
5568 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5569
c3e94a95
AK
55702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5571
5572 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5573 fourth parameter needed for rt_sigprocmask syscall.
5574 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5575 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5576 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5577 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5578 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5579 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5580
cfb6382a
JM
55812013-03-04 Joseph Myers <joseph@codesourcery.com>
5582
5583 [BZ #13550]
5584 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5585 comment about bounded pointers.
5586 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5587 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5588
539d8e01
AJ
55892013-03-04 Andreas Jaeger <aj@suse.de>
5590
5591 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5592 common definitions.
5593
5594 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5595 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5596 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5597 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5598 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5600
2e167a70 56012013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5602
5603 [BZ #15055]
5604 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5605 __ieee754_sqrl instead of __sqrl.
5606
68508633
JM
56072013-03-01 Joseph Myers <joseph@codesourcery.com>
5608
5609 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5610 * sysdeps/powerpc/fpu_control.h: ... here.
5611 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5612 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5613 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5614 * sysdeps/powerpc/bits/mathinline.h: ... here.
5615
7775448e
RM
56162013-03-01 Roland McGrath <roland@hack.frob.com>
5617
5618 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5619 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5620 to just [NEED_DL_SYSINFO_DSO].
5621 * elf/dl-support.c: Likewise.
5622 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5623 * elf/rtld.c (dl_main): Likewise.
5624 * elf/setup-vdso.h (setup_vdso): Likewise.
5625 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5626 * sysdeps/unix/sysv/linux/dl-sysdep.c
5627 (_dl_discover_osversion): Likewise.
5628
4e9b5995
CD
56292013-03-01 Carlos O'Donell <carlos@redhat.com>
5630
5631 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5632 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5633
e23872c8
SP
56342013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5635
e5c74c63
SP
5636 * NEWS: Mention libm performance improvements and non-x86 PI
5637 futex support.
5638
e23872c8
SP
5639 * csu/libc-start.c (__pthread_initialize_minimal): Change
5640 function arguments.
5641 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5642
b5510883
JM
56432013-02-28 Joseph Myers <joseph@codesourcery.com>
5644
5645 [BZ #13550]
5646 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5647 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5650 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5651 and <bp-asm.h>.
5652 (memcpy): Don't use BP_SYM.
5653 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5654 <bp-asm.h>.
5655 (__mpn_add_n): Don't use BP_SYM.
5656 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5657 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5658 and <bp-asm.h>.
5659 (__mpn_addmul_1): Don't use BP_SYM.
5660 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5661 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5662 <bp-sym.h>.
5663 (_setjmp): Don't use BP_SYM.
5664 (__novmx_setjmp): Likewise.
5665 (__GI__setjmp): Likewise.
5666 (__vmx_setjmp): Likewise.
5667 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5668 <bp-sym.h>.
5669 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5670 (__bzero): Don't use BP_SYM.
5671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5673 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5674 <bp-sym.h> and <bp-asm.h>.
5675 (memcpy): Don't use BP_SYM.
5676 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5677 <bp-sym.h> and <bp-asm.h>.
5678 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5679 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5680 <bp-sym.h> and <bp-asm.h>.
5681 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5682 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5683 <bp-asm.h>.
5684 (__mpn_lshift): Don't use BP_SYM.
5685 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5686 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5687 <bp-asm.h>.
5688 (memset): Don't use BP_SYM.
5689 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5690 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5691 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5692 <bp-asm.h>.
5693 (__mpn_mul_1): Don't use BP_SYM.
5694 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5695 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5696 <bp-sym.h> and <bp-asm.h>.
5697 (memcmp): Don't use BP_SYM.
5698 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5699 <bp-sym.h> and <bp-asm.h>.
5700 (memcpy): Don't use BP_SYM.
5701 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5702 <bp-sym.h> and <bp-asm.h>.
5703 (memset): Don't use BP_SYM.
5704 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5705 <bp-sym.h> and <bp-asm.h>.
5706 (strncmp): Don't use BP_SYM.
5707 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (memcpy): Don't use BP_SYM.
5710 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5711 <bp-sym.h> and <bp-asm.h>.
5712 (memset): Don't use BP_SYM.
5713 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5714 <bp-sym.h> and <bp-asm.h>.
5715 (__memchr): Don't use BP_SYM.
5716 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5717 <bp-sym.h> and <bp-asm.h>.
5718 (memcmp): Don't use BP_SYM.
5719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5720 <bp-sym.h> and <bp-asm.h>.
5721 (memcpy): Don't use BP_SYM.
5722 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5723 <bp-sym.h> and <bp-asm.h>.
5724 (__mempcpy): Don't use BP_SYM.
5725 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5726 <bp-sym.h> and <bp-asm.h>.
5727 (__memrchr): Don't use BP_SYM.
5728 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5729 <bp-sym.h> and <bp-asm.h>.
5730 (memset): Don't use BP_SYM.
5731 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5732 <bp-sym.h> and <bp-asm.h>.
5733 (__rawmemchr): Don't use BP_SYM.
5734 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5735 <bp-sym.h> and <bp-asm.h>.
5736 (__STRCMP): Don't use BP_SYM.
5737 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5738 <bp-sym.h> and <bp-asm.h>.
5739 (strchr): Don't use BP_SYM.
5740 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5741 <bp-sym.h> and <bp-asm.h>.
5742 (__strchrnul): Don't use BP_SYM.
5743 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5744 <bp-sym.h> and <bp-asm.h>.
5745 (strlen): Don't use BP_SYM.
5746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5747 <bp-sym.h> and <bp-asm.h>.
5748 (strncmp): Don't use BP_SYM.
5749 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5750 <bp-sym.h> and <bp-asm.h>.
5751 (__strnlen): Don't use BP_SYM.
5752 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5753 <bp-asm.h>.
5754 (__mpn_rshift): Don't use BP_SYM.
5755 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5756 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5757 <bp-sym.h> and <bp-asm.h>.
5758 (__sigsetjmp): Don't use BP_SYM.
5759 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5760 (L(start_addresses)): Don't use BP_SYM.
5761 (_start): Likewise.
5762 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5763 <bp-asm.h>.
5764 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5765 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5766 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5767 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5768 <bp-asm.h>.
5769 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5770 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5771 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5772 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5773 <bp-asm.h>.
5774 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5775 comments.
5776 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5777 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5778 <bp-asm.h>.
5779 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5780 FIXME comments.
5781 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5782 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5783 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5784 <bp-asm.h>.
5785 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5786 comment.
5787 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5788 and <bp-asm.h>.
5789 (strncmp): Don't use BP_SYM,
5790 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5791 <bp-asm.h>.
5792 (__mpn_sub_n): Don't use BP_SYM.
5793 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5794 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5795 and <bp-asm.h>.
5796 (__mpn_submul_1): Don't use BP_SYM.
5797 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5799 <bp-sym.h> and <bp-asm.h>.
5800 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5802 <bp-sym.h> and <bp-asm.h>.
5803 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5804 comment.
5805
8d19fe64
SP
58062013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5807
5808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5809 Use ZK to minimize writes to Z.
5810 (sub_magnitudes): Simplify code a bit.
5811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5812 Use ZK to minimize writes to Z.
5813 (sub_magnitudes): Simplify code a bit.
5814
85bd816a
RM
58152013-02-27 Roland McGrath <roland@hack.frob.com>
5816
5817 * csu/gmon-start.c: Add special exception to license text.
5818
b5977bf2
RH
58192013-02-27 Richard Henderson <rth@redhat.com>
5820
5821 * scripts/config.guess: Update from config.git.
5822 * scripts/config.sub: Likewise.
5823
11d6e2f2
SP
58242013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5825
09c14ed2
SP
5826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5827
a688864e
SP
5828 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5829
6295157a
SP
5830 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5831
b8de2202
SP
5832 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5833
11d6e2f2
SP
5834 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5835
7e80ddb8
RM
58362013-02-26 Roland McGrath <roland@hack.frob.com>
5837
5838 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5839 [$(build-shared = yes].
7e80ddb8 5840
7da6d9ed
SP
58412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5842
45f05884
SP
5843 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5844 (__mul): Reduce iterations for calculating mantissa.
5845
2236d359
SP
5846 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5847 MPTWO.
5848 (__mpranred): Likewise.
5849
7da6d9ed
SP
5850 [BZ #15160]
5851 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5852 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5853
b7688c42
PE
58542013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5855
5856 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5857 Define __attribute__.
5858
53a5c423
SP
58592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5860
5861 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5862 unused.
5863 * posix/regex_internal.h (__attribute): Remove.
5864 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5865 (re_string_context_at): Likewise.
5866 (bitset_not): Use __attribute__ and mark function as possibly
5867 unused.
5868 (bitset_merge): Likewise.
5869 (bitset_mask): Likewise.
5870 (re_string_char_size_at): Likewise.
5871 (re_string_wchar_at): Likewise.
5872 (re_string_elem_size_at): Likewise.
5873
60f5a8b5
SP
58742013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5875
2a983a2e
SP
5876 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5877 code.
5878 (cc32): Likewise.
5879
e69804d1
SP
5880 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5881 (__acr): Likewise.
5882 (__cpy): Likewise.
5883 (norm): Likewise.
5884 (denorm): Likewise.
5885 (__dbl_mp): Likewise.
5886 (add_magnitudes): Likewise.
5887 (sub_magnitudes): Likewise.
5888 (__mul): Likewise.
5889 (__inv): Likewise.
5890
2f22a1e8
SP
5891 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5892 style.
5893
8930ddc7
SP
5894 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5895 style.
5896
dc60cb11
SP
5897 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5898 code.
5899
60f5a8b5
SP
5900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5901 up changes with default code.
5902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5903 Likewise.
5904
b4d1fd33
AM
59052013-02-24 Allan McRae <allan@archlinux.org>
5906
faf6f8bc
AM
5907 * manual/socket.texi (The Internet Namespace): Order menu items
5908 to match that in the file.
5909
b4d1fd33
AM
5910 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5911 node listing of the info page menu.
5912
2366713d
JM
59132013-02-21 Joseph Myers <joseph@codesourcery.com>
5914
5915 [BZ #13550]
5916 * sysdeps/i386/bp-asm.h: Remove file.
5917 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5918 (PARMS): Do not use macros from bp-asm.h.
5919 (S1): Likewise.
5920 (S2): Likewise.
5921 (SIZE): Likewise.
5922 (__mpn_add_n): Do not use BP_SYM
5923 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5924 "bp-asm.h".
5925 (PARMS): Do not use macros from bp-asm.h.
5926 (S1): Likewise.
5927 (SIZE): Likewise.
5928 (__mpn_addmul_1): Do not use BP_SYM
5929 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5930 "bp-asm.h".
5931 (PARMS): Do not use macros from bp-asm.h.
5932 (SIGMSK): Likewise.
5933 (_setjmp): Likewise. Do not use BP_SYM.
5934 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5935 "bp-asm.h".
5936 (PARMS): Do not use macros from bp-asm.h.
5937 (SIGMSK): Likewise.
5938 (setjmp): Likewise. Do not use BP_SYM.
5939 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5940 "bp-asm.h".
5941 (PARMS): Do not use macros from bp-asm.h.
5942 (__frexp): Do not use BP_SYM.
5943 (frexp): Likewise.
5944 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5945 "bp-asm.h".
5946 (PARMS): Do not use macros from bp-asm.h.
5947 (__frexpf): Do not use BP_SYM.
5948 (frexpf): Likewise.
5949 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5950 "bp-asm.h".
5951 (PARMS): Do not use macros from bp-asm.h.
5952 (__frexpl): Do not use BP_SYM.
5953 (frexpl): Likewise.
5954 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5955 "bp-asm.h".
5956 (PARMS): Do not use macros from bp-asm.h.
5957 (__remquo): Do not use BP_SYM.
5958 (remquo): Likewise.
5959 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5960 "bp-asm.h".
5961 (PARMS): Do not use macros from bp-asm.h.
5962 (__remquof): Do not use BP_SYM.
5963 (remquof): Likewise.
5964 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5965 "bp-asm.h".
5966 (PARMS): Do not use macros from bp-asm.h.
5967 (__remquol): Do not use BP_SYM.
5968 (remquol): Likewise.
5969 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5970 "bp-asm.h".
5971 (PARMS): Do not use macros from bp-asm.h.
5972 (DEST): Likewise.
5973 (SRC): Likewise.
5974 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5975 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5976 "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (strlen): Do not use BP_SYM.
5979 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5980 "bp-asm.h".
5981 (PARMS): Do not use macros from bp-asm.h.
5982 (S1): Likewise.
5983 (S2): Likewise.
5984 (SIZE): Likewise.
5985 (__mpn_add_n): Do not use BP_SYM.
5986 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5987 "bp-asm.h".
5988 (PARMS): Do not use macros from bp-asm.h.
5989 (S1): Likewise.
5990 (SIZE): Likewise.
5991 (__mpn_addmul_1): Do not use BP_SYM.
5992 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5993 weak_alias.
5994 (bzero): Likewise.
5995 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5996 "bp-asm.h".
5997 (PARMS): Do not use macros from bp-asm.h.
5998 (S): Likewise.
5999 (SIZE): Likewise.
6000 (__mpn_lshift): Do not use BP_SYM.
6001 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6002 "bp-asm.h".
6003 (PARMS): Do not use macros from bp-asm.h.
6004 (DEST): Likewise.
6005 (SRC): Likewise.
6006 (LEN): Likewise.
6007 (memcpy): Likewise. Do not use BP_SYM.
6008 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6009 libc_hidden_def and weak_alias.
6010 (mempcpy): Do not use BP_SYM in weak_alias.
6011 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6012 "bp-asm.h".
6013 (PARMS): Do not use macros from bp-asm.h.
6014 (DEST): Likewise.
6015 (LEN): Likewise.
6016 [!BZERO_P] (CHR): Likewise.
6017 (memset): Likewise. Do not use BP_SYM.
6018 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6019 "bp-asm.h".
6020 (PARMS): Do not use macros from bp-asm.h.
6021 (S1): Likewise.
6022 (SIZE): Likewise.
6023 (__mpn_mul_1): Do not use BP_SYM.
6024 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6025 "bp-asm.h".
6026 (PARMS): Do not use macros from bp-asm.h.
6027 (S): Likewise.
6028 (SIZE): Likewise.
6029 (__mpn_rshift): Do not use BP_SYM.
6030 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6031 "bp-asm.h".
6032 (PARMS): Do not use macros from bp-asm.h.
6033 (STR): Likewise.
6034 (CHR): Likewise.
6035 (strchr): Likewise. Do not use BP_SYM.
6036 (index): Do not use BP_SYM in weak_alias.
6037 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6038 "bp-asm.h".
6039 (PARMS): Do not use macros from bp-asm.h.
6040 (DEST): Likewise.
6041 (SRC): Likewise.
6042 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6043 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6044 "bp-asm.h".
6045 (PARMS): Do not use macros from bp-asm.h.
6046 (strlen): Do not use BP_SYM.
6047 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6048 "bp-asm.h".
6049 (PARMS): Do not use macros from bp-asm.h.
6050 (S1): Likewise.
6051 (S2): Likewise.
6052 (SIZE): Likewise.
6053 (__mpn_sub_n): Do not use BP_SYM.
6054 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6055 "bp-asm.h".
6056 (PARMS): Do not use macros from bp-asm.h.
6057 (S1): Likewise.
6058 (SIZE): Likewise.
6059 (__mpn_submul_1): Do not use BP_SYM.
6060 * sysdeps/i386/i686/add_n.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 (S2): Likewise.
6065 (SIZE): Likewise.
6066 (__mpn_add_n): Do not use BP_SYM.
6067 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6068 weak_alias.
6069 (bzero): Likewise.
6070 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6071 "bp-asm.h".
6072 (PARMS): Do not use macros from bp-asm.h.
6073 (BLK2): Likewise.
6074 (LEN): Likewise.
6075 (memcmp): Do not use BP_SYM.
6076 (bcmp): Do not use BP_SYM in weak_alias.
6077 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6078 "bp-asm.h".
6079 (PARMS): Do not use macros from bp-asm.h.
6080 (DEST): Likewise.
6081 (SRC): Likewise.
6082 (LEN): Likewise.
6083 (memcpy): Likewise. Do not use BP_SYM.
6084 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6085 "bp-asm.h".
6086 (PARMS): Do not use macros from bp-asm.h.
6087 (DEST): Likewise.
6088 (SRC): Likewise.
6089 (LEN): Likewise.
6090 (memmove): Likewise. Do not use BP_SYM.
6091 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6092 "bp-asm.h".
6093 (PARMS): Do not use macros from bp-asm.h.
6094 (DEST): Likewise.
6095 (SRC): Likewise.
6096 (LEN): Likewise.
6097 (__mempcpy): Likewise. Do not use BP_SYM.
6098 (mempcpy): Do not use BP_SYM in weak_alias.
6099 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6100 "bp-asm.h".
6101 (PARMS): Do not use macros from bp-asm.h.
6102 (DEST): Likewise.
6103 (LEN): Likewise.
6104 [!BZERO_P] (CHR): Likewise.
6105 (memset): Likewise. Do not use BP_SYM.
6106 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6107 "bp-asm.h".
6108 (PARMS): Do not use macros from bp-asm.h.
6109 (STR2): Likewise.
6110 (strcmp): Do not use BP_SYM.
6111 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6112 "bp-asm.h".
6113 (PARMS): Do not use macros from bp-asm.h.
6114 (STR): Likewise.
6115 (DELIM): Likewise.
6116 [USE_AS_STRTOK_R] (SAVE): Likewise.
6117 (FUNCTION): Likewise. Do not use BP_SYM.
6118 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6119 aliases.
6120 (strtok_r): Likewise.
6121 (__GI___strtok_r): Likewise.
6122 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6123 (PARMS): Do not use macros from bp-asm.h.
6124 (S): Likewise.
6125 (SIZE): Likewise.
6126 (__mpn_lshift): Do not use BP_SYM.
6127 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6128 (PARMS): Do not use macros from bp-asm.h.
6129 (STR): Likewise.
6130 (CHR): Likewise.
6131 (__memchr): Do not use BP_SYM.
6132 (memchr): Do not use BP_SYM in weak_alias.
6133 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6134 (PARMS): Do not use macros from bp-asm.h.
6135 (BLK2): Likewise.
6136 (LEN): Likewise.
6137 (memcmp): Do not use BP_SYM.
6138 (bcmp): Do not use BP_SYM in weak_alias.
6139 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6140 (PARMS): Do not use macros from bp-asm.h.
6141 (S1): Likewise.
6142 (SIZE): Likewise.
6143 (__mpn_mul_1): Do not use BP_SYM.
6144 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6145 "bp-asm.h".
6146 (PARMS): Do not use macros from bp-asm.h.
6147 (STR): Likewise.
6148 (CHR): Likewise.
6149 (__rawmemchr): Do not use BP_SYM.
6150 (rawmemchr): Do not use BP_SYM in weak_alias.
6151 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (S): Likewise.
6154 (SIZE): Likewise.
6155 (__mpn_rshift): Do not use BP_SYM.
6156 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6157 (PARMS): Do not use macros from bp-asm.h.
6158 (SIGMSK): Likewise.
6159 (__sigsetjmp): Likewise. Do not use BP_SYM.
6160 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6161 (_start): Do not use BP_SYM.
6162 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (DEST): Likewise.
6165 (SRC): Likewise.
6166 (__stpcpy): Likewise. Do not use BP_SYM.
6167 (stpcpy): Do not use BP_SYM in weak_alias.
6168 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6169 "bp-asm.h".
6170 (PARMS): Do not use macros from bp-asm.h.
6171 (DEST): Likewise.
6172 (SRC): Likewise.
6173 (LEN): Likewise.
6174 (__stpncpy): Likewise. Do not use BP_SYM.
6175 (stpncpy): Do not use BP_SYM in weak_alias.
6176 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6177 (PARMS): Do not use macros from bp-asm.h.
6178 (STR): Likewise.
6179 (CHR): Likewise.
6180 (strchr): Likewise. Do not use BP_SYM.
6181 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6182 "bp-asm.h".
6183 (PARMS): Do not use macros from bp-asm.h.
6184 (STR): Likewise.
6185 (CHR): Likewise.
6186 (__strchrnul): Likewise. Do not use BP_SYM.
6187 (strchrnul): Do not use BP_SYM in weak_alias.
6188 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6189 "bp-asm.h".
6190 (PARMS): Do not use macros from bp-asm.h.
6191 (STOP): Likewise.
6192 (strcspn): Do not use BP_SYM.
6193 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6194 "bp-asm.h".
6195 (PARMS): Do not use macros from bp-asm.h.
6196 (STR): Likewise.
6197 (STOP): Likewise.
6198 (strpbrk): Likewise. Do not use BP_SYM.
6199 * sysdeps/i386/strrchr.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 (CHR): Likewise.
6204 (strrchr): Likewise. Do not use BP_SYM.
6205 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6206 (PARMS): Do not use macros from bp-asm.h.
6207 (SKIP): Likewise.
6208 (strspn): Do not use BP_SYM.
6209 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6210 (PARMS): Do not use macros from bp-asm.h.
6211 (STR): Likewise.
6212 (DELIM): Likewise.
6213 (SAVE): Likewise.
6214 (FUNCTION): Likewise. Do not use BP_SYM.
6215 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6216 aliases.
6217 (strtok_r): Likewise.
6218 (__GI___strtok_r): Likewise.
6219 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6220 (PARMS): Do not use macros from bp-asm.h.
6221 (S1): Likewise.
6222 (S2): Likewise.
6223 (SIZE): Likewise.
6224 (__mpn_sub_n): Do not use BP_SYM.
6225 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6226 "bp-asm.h".
6227 (PARMS): Do not use macros from bp-asm.h.
6228 (S1): Likewise.
6229 (SIZE): Likewise.
6230 (__mpn_submul_1): Do not use BP_SYM.
6231 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6232 <bp-sym.h>.
6233 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6234 and <bp-asm.h>.
6235 (PARMS): Do not use macros from bp-asm.h.
6236 (FLAGS): Likewise.
6237 (PTID): Likewise.
6238 (TLS): Likewise.
6239 (CTID): Likewise.
6240 (__clone): Do not use BP_SYM.
6241 (clone): Do not use BP_SYM in weak_alias.
6242 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6243 and <bp-asm.h>.
6244 (PARMS): Do not use macros from bp-asm.h.
6245 (LEN): Likewise.
6246 (__mmap64): Do not use BP_SYM.
6247 (mmap64): Do not use BP_SYM in weak_alias.
6248 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6249 <bp-sym.h> and <bp-asm.h>.
6250 (PARMS): Do not use macros from bp-asm.h.
6251 (__posix_fadvise64_l64): Do not use BP_SYM.
6252 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6253 (PARMS): Do not use macros from bp-asm.h.
6254 (NSOPS): Likewise.
6255 (semtimedop): Do not use BP_SYM.
6256 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6257 and <bp-asm.h>.
6258
582a3cff
AM
62592013-02-21 Allan McRae <allan@archlinux.org>
6260
6261 * manual/message.texi (Charset conversion in gettext):
6262 Move @end statement to beginning of line.
6263
bab8a695
SP
62642013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6265
80945231
SP
6266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6267 static.
6268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6269 Likewise.
6270
bab8a695
SP
6271 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6272 (denorm): Likewise.
6273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6275
e21d7aa7
AK
62762013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6277
6278 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6279 tail-call to the resolved function if pltexit isn't needed.
6280
4c7a4263
SP
62812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6282
6283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6284 or Y being zero as being unlikely.
6285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6286 Likewise.
6287
41f49342
CD
62882013-02-20 Carlos O'Donell <carlos@redhat.com>
6289
6290 * manual/nss.texi (System Databases and Name Service Switch):
6291 Remove frobnicate @pxref.
6292
50022a93
TS
62932013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6294
6295 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6296 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6297
08cbd996
PM
62982013-02-20 Petr Machata <pmachata@redhat.com>
6299
6300 * elf/elf.h (R_ARM_TARGET1): New macro.
6301 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6302 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6303 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6304 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6305 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6306 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6307 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6308 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6309 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6310 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6311 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6312 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6313 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6314 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6315 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6316 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6317 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6318 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6319 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6320 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6321 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6322 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6323 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6324 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6325 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6326 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6327 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6328 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6329 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6330 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6331 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6332 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6333 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6334 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6335 (R_ARM_THM_GOT_BREL12): Likewise.
6336 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6337 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6338 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6339 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6340 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6341 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6342 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6343 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6344 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6345
c7b275d6
TS
63462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6347
6348 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6349 __attribute_used__ to __attribute__ ((unused)).
6350
20cd7fb3
SP
63512013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6352
6353 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6354 powerpc mpa.c.
6355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6356 comment formatting.
6357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6358
92945b52
JM
63592013-02-19 Joseph Myers <joseph@codesourcery.com>
6360
6361 [BZ #13550]
6362 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6363 Remove macro.
6364 (ENTER): Remove both macro definitions.
6365 (LEAVE): Likewise.
6366 (CHECK_BOUNDS_LOW): Likewise.
6367 (CHECK_BOUNDS_HIGH): Likewise.
6368 (CHECK_BOUNDS_BOTH): Likewise.
6369 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6370 (RETURN_BOUNDED_POINTER): Likewise.
6371 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6372 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6373 (POP_ERRNO_LOCATION_RETURN): Likewise.
6374 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6375 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6376 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6377 macros.
6378 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6379 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6380 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6381 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6382 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6383 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6384 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6385 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6386 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6387 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6388 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6389 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6390 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6391 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6392 removed macros.
6393 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6394 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6395 macros.
6396 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6397 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6398 * sysdeps/i386/i586/memset.S (memset): Likewise.
6399 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6400 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6401 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6402 macros.
6403 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6404 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6405 Change uses of L(2) to L(out).
6406 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6407 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6408 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6409 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6410 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6411 removed macros.
6412 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6413 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6414 macros.
6415 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6416 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6417 (RETURN): Do not use macro LEAVE.
6418 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6419 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6420 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6421 * sysdeps/i386/i686/memset.S (memset): Likewise.
6422 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6423 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6424 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6425 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6426 Likewise.
6427 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6428 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6429 L(1_2) and L(1_3) into L(1).
6430 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6432 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6433 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6434 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6436 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6437 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6438 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6439 macros.
6440 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6441 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6442 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6443 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6444 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6445 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6446 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6447 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6448 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6449 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6450 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6451 * sysdeps/i386/strspn.S (strspn): Likewise.
6452 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6453 conditional code.
6454 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6455 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6456 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6457 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6458 L(1_3) into L(1_1).
6459 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6460 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6461 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6462 macros.
6463 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6464
2389741a
JJ
64652013-02-19 Jakub Jelinek <jakub@redhat.com>
6466
6467 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6468 macro.
6469
2016b3cd
SP
64702013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6471
e4f22324
SP
6472 * math/atest-exp.c (exp_mpn): Remove ROUND.
6473 * math/atest-exp2.c (exp_mpn): Likewise.
6474 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6475
2016b3cd
SP
6476 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6477 * stdlib/tst-tls-atexit-lib.c: Likewise.
6478 * stdlib/tst-tls-atexit.c: Likewise.
6479
4be9b544
MF
64802013-02-18 Mike Frysinger <vapier@gentoo.org>
6481
6482 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6483 and __attribute_alloc_size__.
6484
2f62b9ee
MF
64852013-02-18 Mike Frysinger <vapier@gentoo.org>
6486
6487 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6488 __attribute_alloc_size__.
6489 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6490 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6491
6ff444c4
MF
64922013-02-18 Mike Frysinger <vapier@gentoo.org>
6493
6494 * include/programs/xmalloc.h: New file.
6495 * catgets/gencat.c: Include it.
6496 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6497 * elf/pldd.c: Likewise.
6498 * iconv/iconv_charmap.c: Likewise.
6499 * iconv/iconvconfig.c: Likewise.
6500 * iconv/strtab.c: Likewise.
6501 * locale/programs/locale.c: Likewise.
6502 * locale/programs/localedef.h: Likewise.
6503 * locale/programs/simple-hash.c: Likewise.
6504 * nscd/nscd.h: Likewise.
6505 * nss/makedb.c: Likewise.
6506 * sysdeps/generic/ldconfig.h: Likewise.
6507
be179c8a
SP
65082013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6509
ba384f6e
SP
6510 * Versions.def: Add GLIBC_2.18.
6511 * include/link.h (struct link_map): New member l_tls_dtor_count.
6512 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6513 (__call_tls_dtors): Likewise.
6514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6515 __cxa_thread_atexit_impl.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6517 Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6519 Likewise.
6520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6521 Likewise.
6522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6523 Likewise.
6524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6526 Likewise.
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6528 Likewise.
6529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6531 Likewise.
6532 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6533 (tests): Add test case tst-tls-atexit.
6534 (modules-names): Add shared library for tst-tls-atexit.
6535 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6536 (GLIBC_PRIVATE): Add __call_tls_dtors.
6537 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6538 for libstdc++.
6539 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6540 * stdlib/tst-tls-atexit.c: New test case.
6541 * stdlib/tst-tls-atexit-lib.c: New test case.
6542
ffaa74cf 6543 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6544
be179c8a
SP
6545 * elf/Versions (ld): Add _dl_find_dso_for_object.
6546 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6547 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6548 (dl_open_worker): Use _dl_find_dso_for_object.
6549 * elf/dl-sym.c (do_sym): Likewise.
6550 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6551
f78b5caa
AK
65522013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6553
6554 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6555 Syntactic changes only.
6556 (_dl_runtime_profile): Do a tail-call to the resolved function.
6557
29691210
JM
65582013-02-17 Joseph Myers <joseph@codesourcery.com>
6559
6560 [BZ #13550]
6561 * sysdeps/x86_64/bp-asm.h: Remove file.
6562 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6563 <bp-sym.h> and <bp-asm.h>.
6564 (__clone): Do not use BP_SYM.
6565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6566 <bp-sym.h> and <bp-asm.h>.
6567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6568 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6569 "bp-asm.h".
6570 (_setjmp): Do not use BP_SYM.
6571 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6572 "bp-asm.h".
6573 (setjmp): Do not use BP_SYM.
6574 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6575 libc_hidden_def.
6576 (mempcpy): Do not use BP_SYM in weak_alias.
6577 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6578 "bp-asm.h".
6579 (strchr): Do not use BP_SYM.
6580 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6581 "bp-asm.h".
6582 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6583 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6584 (_start): Do not use BP_SYM.
6585 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6586 "bp-asm.h".
6587 (strcat): Do not use BP_SYM.
6588 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6589 "bp-asm.h".
6590 (STRCMP): Do not use BP_SYM.
6591 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6592 "bp-asm.h".
6593 (STRCPY): Do not use BP_SYM.
6594 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6595 "bp-asm.h".
6596 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6597 "bp-asm.h".
6598 (FUNCTION): Do not use BP_SYM.
6599 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6600 weak_alias.
6601 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6602
f238fd19
AJ
66032013-02-17 Andreas Jaeger <aj@suse.de>
6604
6605 * time/Versions: Sort entries.
6606 * string/Versions: Likewise.
6607 * resolv/Versions: Likewise.
6608 * posix/Versions: Likewise.
6609 * iconv/Versions: Likewise.
6610 * elf/Versions: Likewise.
6611 * wcsmbs/Versions: Likewise.
6612
bd07f23c 66132013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6614
22af19f9
SP
6615 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6616 loop termination condition.
6617
4709fe76
SP
6618 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6619 variable to calculate EZ.
6620 (__sqr): Likewise.
2d0e0f29
SP
6621
6622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6623 the lower precision input.
6624
daaa7713
JM
66252013-02-15 Joseph Myers <joseph@codesourcery.com>
6626
6627 [BZ #13550]
6628 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6629 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6630 (run-via-rtld-prefix): Do not handle %-bp tests.
6631 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6632 (all-object-suffixes): Remove .ob.
6633 (bppfx): Remove variable.
6634 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6635 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6636 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6637 [$(build-bounded) = yes] (libtype.ob): Likewise.
6638 * Makerules (elide-routines.ob): Remove variable.
6639 (do-tests-clean): Do not handle *-bp.out.
6640 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6641 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6642 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6643 (tests): Do not include $(tests-bp.out).
6644 (xtests): Do not include $(xtests-bp.out).
6645 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6646 [$(build-bounded) = yes] ($(addprefix
6647 $(objpfx),$(binaries-bounded))): Remove rule.
6648 ($(objpfx)%-bp.out): Remove rule.
6649 * config.make.in (build-bounded): Remove variable.
6650 * crypt/Makefile [$(build-bounded) = yes]
6651 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6652 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6653 append to variable.
6654 [$(build-bounded) = yes] (install-lib): Likewise.
6655 [$(build-bounded) = yes] (generated): Likewise.
6656 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6657 Remove rule.
6658 * intl/Makefile [$(build-bounded) = yes]
6659 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6660 * math/Makefile [$(build-bounded) = yes]
6661 ($(tests:%=$(objpfx)%-bp): Likewise.
6662 * misc/Makefile [$(build-bounded) = yes]
6663 ($(objpfx)tst-tsearch-bp): Likewise.
6664 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6665 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6666 Remove dependency.
6667 * string/Makefile (o-objects.ob): Remove variable.
6668 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6669 (CFLAGS-.ob): Remove variable.
6670 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6671 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6672 both definitions of variable.
6673 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6674 (ASFLAGS-.ob): Remove variable.
6675
e97ed6dd
JM
66762013-02-14 Joseph Myers <joseph@codesourcery.com>
6677
2bdd4ca6
JM
6678 [BZ #13550]
6679 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6680 Remove __BOUNDED_POINTERS__ from condition.
6681 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6682 * string/bits/string2.h [!__NO_STRING_INLINES &&
6683 !__BOUNDED_POINTERS__]: Likewise.
6684 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6685 Likewise.
6686 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6687 Remove conditional code.
6688 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6689 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6690 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6691 condition.
6692
e97ed6dd
JM
6693 [BZ #13550]
6694 * csu/libc-start.c: Do not include <bp-sym.h>.
6695 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6696 * elf/dl-open.c: Do not include <bp-sym.h>.
6697 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6698 * math/fegetenv.c: Do not include <bp-sym.h>.
6699 (fegetenv): Do not use BP_SYM in versioned symbols.
6700 * nptl/sysdeps/pthread/bits/libc-lockP.h
6701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6702 <bp-sym.h>.
6703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6704 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6706 (__pthread_mutex_destroy): Likewise.
6707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6708 (__pthread_mutex_lock): Likewise.
6709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6710 (__pthread_mutex_trylock): Likewise.
6711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6712 (__pthread_mutex_unlock): Likewise.
6713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6714 (__pthread_mutexattr_init): Likewise.
6715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6716 (__pthread_mutexattr_destroy): Likewise.
6717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6718 (__pthread_mutexattr_settype): Likewise.
6719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6720 (__pthread_rwlock_init): Likewise.
6721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6722 (__pthread_rwlock_destroy): Likewise.
6723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6724 (__pthread_rwlock_rdlock): Likewise.
6725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6726 (__pthread_rwlock_tryrdlock): Likewise.
6727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6728 (__pthread_rwlock_wrlock): Likewise.
6729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6730 (__pthread_rwlock_trywrlock): Likewise.
6731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6732 (__pthread_rwlock_unlock): Likewise.
6733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6734 (__pthread_key_create): Likewise.
6735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6736 (__pthread_setspecific): Likewise.
6737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6738 (__pthread_getspecific): Likewise.
6739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6740 Likewise.
6741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6742 (_pthread_cleanup_push_defer): Likewise.
6743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6744 (_pthread_cleanup_pop_restore): Likewise.
6745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6746 (pthread_setcancelstate): Likewise.
6747 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6748 <bp-sym.h>.
6749 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6750 (memchr): Do not use BP_SYM in weak_alias.
6751 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6752 (fegetenv): Do not use BP_SYM in versioned symbols.
6753 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6754 (fesetenv): Do not use BP_SYM in versioned symbols.
6755 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6756 (feupdateenv): Do not use BP_SYM in versioned symbols.
6757 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6758 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6759 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6760 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6761 (open64): Do not use BP_SYM in weak_alias.
6762 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6763 (fegetenv): Do not use BP_SYM in versioned symbols.
6764 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6765 (fesetenv): Do not use BP_SYM in versioned symbols.
6766 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6767 (feupdateenv): Do not use BP_SYM in versioned symbols.
6768 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6769 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6770 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6771 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6772 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6773 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6774 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6775 <bp-sym.h>.
6776 (__libc_start_main): Do not use BP_SYM.
6777
d6752ccd
SP
67782013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
cb57ce60
SP
6780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6781 redundant return line.
6782 (norm): Likewise.
6783 (denorm): Likewise.
6784 (dbl_mp): Likewise.
6785 (sub_magnitudes): Likewise.
6786 (__add): Likewise.
6787 (__sub): Likewise.
6788 (__mul): Likewise.
6789 (__inv): Likewise.
6790 (__dvd): Likewise.
6791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6792 (norm): Likewise.
6793 (denorm): Likewise.
6794 (dbl_mp): Likewise.
6795 (sub_magnitudes): Likewise.
6796 (__add): Likewise.
6797 (__sub): Likewise.
6798 (__mul): Likewise.
6799 (__inv): Likewise.
6800 (__dvd): Likewise.
6801
f414520d
SP
6802 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6803 instead of __mul.
6804 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6805 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6806 (cc32): Likewise.
6807
d6752ccd
SP
6808 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6809 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6811 of __mul for squares.
6812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6813 function
6814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6815 Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6818
70d9946a
JM
68192013-02-13 Joseph Myers <joseph@codesourcery.com>
6820
6821 [BZ #13550]
6822 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6823 code.
6824 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6825 prototype or function definition. Rename ubp_* variables and
6826 parameters. Remove argv definitions conditional on
6827 [__BOUNDED_POINTERS__].
6828 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6829 * elf/dl-runtime.c (_dl_fixup): Likewise.
6830 * include/set-hooks.h (RUN_HOOK): Likewise.
6831 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6832 definition.
6833 * string/strcpy.c (strcpy): Do not use __unbounded.
6834 * sysdeps/generic/frame.h (struct layout): Likewise.
6835 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6836 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6837 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6838 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6839 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6840 (__backtrace): Likewise.
6841 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6842 use __ptrvalue.
6843 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6844 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6845 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6846 Likewise.
6847 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6848 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6849 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6850 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6851 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6852 Do not use __unbounded.
6853 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6854 Rename __unboundedrlimits parameter to rlimits in prototype.
6855 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6856 Do not use __unbounded.
6857 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6858 not use __ptrvalue.
6859 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6860 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6861 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6862 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6863 __ptrvalue or __unbounded.
6864 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6865 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6866 use __unbounded.
6867 (__new_msgctl): Do not use __ptrvalue.
6868 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6869 __unbounded.
6870 (__libc_msgrcv): Do not use __ptrvalue.
6871 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6872 startup_info): Do not use __unbounded.
6873 (__libc_start_main): Likewise. Rename ubp_* variables and
6874 parameters. Remove argv definitions conditional on
6875 [__BOUNDED_POINTERS__].
6876 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6877 __ptrvalue.
6878 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6879 use __unbounded.
6880 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6881 or __ptrvalue.
6882 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6883 use __unbounded.
6884 (__new_shmctl): Do not use __ptrvalue.
6885 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6886 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6887 Likewise.
6888 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6890 (__libc_sigaction): Likewise.
6891 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6893 Likewise.
6894 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6895
cc7834d6
OB
68962013-02-13 Ondřej Bílka <neleai@seznam.cz>
6897
ffb1ec7b 6898 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6899
6900 * string/mempcpy.c: Implement by calling memcpy.
6901
bdf02814
SP
69022013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6903
c2af38aa
SP
6904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6905
4e92d59e
SP
6906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6907 evaluation.
6908
909279a5
SP
6909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6910 values in the mantissa.
6911
bdf02814
SP
6912 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6913 minimize writes to Z.
6914 (sub_magnitudes): Simplify code a bit.
6915
cd525923
RM
69162013-02-12 Roland McGrath <roland@hack.frob.com>
6917
6918 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6919 from the message. The linker prefixes all warnings with that already.
6920
7e2f0d2d
AS
69212013-02-12 Andreas Schwab <schwab@suse.de>
6922
a445af0b
AS
6923 [BZ #15078]
6924 * posix/regexec.c (extend_buffers): Add parameter min_len.
6925 (check_matching): Pass minimum needed length.
6926 (clean_state_log_if_needed): Likewise.
6927 (get_subexp): Likewise.
6928 * posix/Makefile (tests): Add bug-regex34.
6929 (bug-regex34-ENV): Define.
6930 * posix/bug-regex34.c: New file.
6931
7e2f0d2d
AS
6932 [BZ #11561]
6933 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6934 elements compare against the byte sequence of it, not its name.
6935 * posix/Makefile (tests): Add bug-regex35.
6936 (bug-regex35-ENV): Define.
6937 * posix/bug-regex35.c: New file.
6938
a175b684
TV
69392013-02-11 Tom de Vries <tom@codesourcery.com>
6940
6941 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6942 comment.
6943 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6944 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6945 (CHECK_EOL): Add undef.
6946
310998fe 69472013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6948
6949 * bits/stdlib-bsearch.h: New file.
6950 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6951 * stdlib/stdlib.h: Likewise.
41eda41d 6952
8ded91fb
RM
69532013-02-11 Roland McGrath <roland@hack.frob.com>
6954
6955 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6956 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6957 declaration.
6958 * manual/search.texi (Array Search Function): Add missing const in
6959 lfind prototype.
6960 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6961 declaration to use rlim_t.
6962 (Basic Scheduling Functions): Remove erroneous const from
6963 sched_getparam prototype. Remove erroneous * from
6964 sched_get_priority_max and sched_get_priority_min prototypes.
6965 (Resource Usage): Fix summary @comment on vtimes to refer to
6966 sys/vtimes.h rather than vtimes.h.
6967 Add missing *s in vtimes prototype.
6968 (Limits on Resources): Fix ulimit prototype to return long int.
6969 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6970 prototypes to use long int rather than double.
6971 (BSD Random): Fix initstate and setstate to use char *, not void *.
6972 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6973 prototype to make second argument 'struct aiocb64 *const[]'.
6974 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6975 (Status of AIO Operations): Remove erroneous const in aio_return and
6976 aio_return64 prototypes.
6977 (Synchronizing I/O): Fix sync prototype to return void.
6978 * manual/startup.texi (Suboptions): Remove an erroneous const in
6979 getsubopt prototype.
6980 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6981 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6982 use size_t rather than int.
6983 (Scanning All Users): Likewise for getpwent_r.
6984 (Setting Groups): Add missing const to setgroups prototype.
6985 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6986 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6987 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6988 'const void *' rather than 'const char *'.
6989 (Host Address Functions): Likewise for inet_ntop.
6990 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6991 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6992 ssize_t for return value.
6993 (Sending Data): Likewise for send, sendto, sendmsg.
6994 (Socket Option Functions): Add a missing const in setsockopt prototype.
6995 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6996 use wchar_t for the argument.
6997 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6998 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6999 take no arguments.
7000 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7001 double/float/long double for second argument.
7002 Fix return types of significand, significandf, significandl.
7003 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7004 argument in fchmod prototype.
7005 (File Owner): Use uid_t and gid_t in fchown prototype.
7006 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7007 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7008 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7009 use 'const struct dirent **' as argument types to CMP function pointer
7010 argument.
7011 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7012 (File Times): Fix summary magic @comment for struct utimbuf and utime
7013 to refer to utime.h, not time.h.
7014 * manual/string.texi (Argz Functions): Add missing const in
7015 argz_extract and argz_next prototypes.
7016 (Finding Tokens in a String): Likewise for basename.
7017 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7018 (Copying and Concatenation): Fix typo in wmemmove prototype.
7019 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7020 (Signal Stack): Remove erroneous const in sigstack prototype.
7021 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7022 prototype.
7023 (Simple Calendar Time): Likewise for stime.
7024 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7025 prototype.
7026 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7027 say sys/sysctl.h instead.
7028 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7029 and vsyslog prototypes.
7030
fe77fe6d
TV
70312013-02-11 Tom de Vries <tom@codesourcery.com>
7032
7033 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7034 Remove.
7035
3a09b620
RM
70362013-02-11 Roland McGrath <roland@hack.frob.com>
7037
7038 * misc/sys/mman.h: Fix typo in mremap comment.
7039
550a0b89
RM
70402013-02-08 Roland McGrath <roland@hack.frob.com>
7041
7042 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7043 the '\0' terminator.
7044
a2da1673
JM
70452013-02-08 Joseph Myers <joseph@codesourcery.com>
7046
7047 [BZ #13550]
7048 * debug/segfault.c: Don't include <bp-checks.h>.
7049 * sysdeps/generic/bp-checks.h: Remove file.
7050 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7051 (__GETDENTS): Don't use CHECK_N.
7052 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7053 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7054 (__getgroups): Don't use CHECK_N.
7055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7056 (setgroups): Don't use CHECK_N.
7057 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7058 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7059 (__libc_msgrcv): Don't use CHECK_N.
7060 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7061 (__libc_msgsnd): Don't use CHECK_N.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7063 <bp-checks.h>.
7064 (__libc_pread): Don't use CHECK_N.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7066 include <bp-checks.h>.
7067 (__libc_pread64): Don't use CHECK_N.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7069 include <bp-checks.h>.
7070 (__libc_pwrite): Don't use CHECK_N.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7072 include <bp-checks.h>.
7073 (__libc_pwrite64): Don't use CHECK_N.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7075 <bp-checks.h>.
7076 (__libc_pread): Don't use CHECK_N.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7078 include <bp-checks.h>.
7079 (__libc_pread64): Don't use CHECK_N.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7081 include <bp-checks.h>.
7082 (__libc_pwrite): Don't use CHECK_N.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7084 include <bp-checks.h>.
7085 (__libc_pwrite64): Don't use CHECK_N.
7086 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7087 (do_pread): Don't use CHECK_N.
7088 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7089 (do_pread64): Don't use CHECK_N.
7090 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7091 (do_pwrite): Don't use CHECK_N.
7092 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7093 (do_pwrite64): Don't use CHECK_N.
7094 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7095 (__libc_readv): Don't use CHECK_N.
7096 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7097 (semop): Don't use CHECK_N.
7098 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7099 <bp-checks.h>.
7100 (semtimedop): Don't use CHECK_N.
7101 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7102 (__libc_pread): Don't use CHECK_N.
7103 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7104 <bp-checks.h>.
7105 (__libc_pread64): Don't use CHECK_N.
7106 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7107 <bp-checks.h>.
7108 (__libc_pwrite): Don't use CHECK_N.
7109 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7110 <bp-checks.h>.
7111 (__libc_pwrite64): Don't use CHECK_N.
7112 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7113 <bp-checks.h>.
7114 (__libc_msgrcv): Don't use CHECK_N.
7115 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7116 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7117 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7118 (__libc_writev): Don't use CHECK_N.
7119
b84660a8
RM
71202013-02-08 Roland McGrath <roland@hack.frob.com>
7121
7f3e75f8
RM
7122 * string/strcpy.c: Removed unused variable.
7123
b84660a8
RM
7124 * Makeconfig (+sysdep-includes): Define with := rather than =.
7125 Use an existing include/ subdir of each sysdeps dir before it.
7126
471514d3
CD
71272013-02-08 Carlos O'Donell <carlos@redhat.com>
7128
7129 * nscd/connection.c (register_traced_file): Comment function.
7130 [HAVE_INOTIFY] (union __inev): Define.
7131 [HAVE_INOTIFY] (inotify_check_files): New function.
7132 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7133 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7134 clear_db_cache.
7135 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7136
b2d3c3be
CD
71372013-02-08 Carlos O'Donell <carlos@redhat.com>
7138
7139 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7140 loaded if not already and that a failure is permanent.
7141
b39949d2
CD
71422013-02-08 Carlos O'Donell <carlos@redhat.com>
7143
ddacd1db 7144 [BZ #15006]
b39949d2
CD
7145 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7146 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7147
b2c9eff4
JM
71482013-02-08 Joseph Myers <joseph@codesourcery.com>
7149
f3aae3f3
JM
7150 [BZ #13550]
7151 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7152 (CHECK_1_NULL_OK): Likewise.
7153 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7154 (__fxstat): Do not use CHECK_1.
7155 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7156 <bp-checks.h>.
7157 (___fxstat64): Do not use CHECK_1.
7158 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7159 <bp-checks.h>.
7160 (__fxstatat): Do not use CHECK_1.
7161 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7162 <bp-checks.h>.
7163 (__fxstatat64): Do not use CHECK_1.
7164 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7165 <bp-checks.h>.
7166 (__fxstat): Do not use CHECK_1.
7167 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7168 <bp-checks.h>.
7169 (__fxstatat): Do not use CHECK_1.
7170 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7171 <bp-checks.h>.
7172 (__getresgid): Do not use CHECK_1.
7173 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7174 <bp-checks.h>.
7175 (__getresuid): Do not use CHECK_1.
7176 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7177 <bp-checks.h>.
7178 (__lxstat): Do not use CHECK_1.
7179 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7180 <bp-checks.h>.
7181 (__old_msgctl): Do not use CHECK_1.
7182 (__new_msgctl): Likewise.
7183 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7184 <bp-checks.h>.
7185 (__new_setrlimit): Do not use CHECK_1.
7186 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7187 <bp-checks.h>.
7188 (__old_shmctl): Do not use CHECK_1.
7189 (__new_shmctl): Likewise.
7190 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7191 <bp-checks.h>.
7192 (__xstat): Do not use CHECK_1.
7193 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7194 (__lxstat): Do not use CHECK_1.
7195 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7196 <bp-checks.h>.
7197 (___lxstat64): Do not use CHECK_1.
7198 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7199 (__old_msgctl): Do not use CHECK_1.
7200 (__new_msgctl): Likewise.
7201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7202 <bp-checks.h>.
7203 (__gettimeofday): Do not use CHECK_1.
7204 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7205 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7206 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7207 <bp-checks.h>.
7208 (__gettimeofday): Do not use CHECK_1.
7209 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7210 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7211 (__new_shmctl): Do not use CHECK_1.
7212 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7213 <bp-checks.h>.
7214 (do_sigtimedwait): Do not use CHECK_1.
7215 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7216 <bp-checks.h>.
7217 (do_sigwaitinfo): Do not use CHECK_1.
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7219 <bp-checks.h>.
7220 (msgctl): Do not use CHECK_1.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7222 <bp-checks.h>.
7223 (shmctl): Do not use CHECK_1.
7224 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7225 (ustat): Do not use CHECK_1.
7226 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7227 <bp-checks.h>.
7228 (__fxstat): Do not use CHECK_1.
7229 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7230 <bp-checks.h>.
7231 (__fxstatat): Do not use CHECK_1.
7232 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7233 <bp-checks.h>.
7234 (__lxstat): Do not use CHECK_1.
7235 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7236 <bp-checks.h>.
7237 (__xstat): Do not use CHECK_1.
7238 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7239 (__xstat): Do not use CHECK_1.
7240 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7241 (___xstat64): Do not use CHECK_1.
7242
b2c9eff4
JM
7243 [BZ #13550]
7244 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7245 definitions.
7246 (CHECK_BOUNDS_HIGH): Likewise.
7247 * string/strcpy.c: Do not include <bp-checks.h>.
7248 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7249
f1d70dad
RM
72502013-02-07 Roland McGrath <roland@hack.frob.com>
7251
7252 * nscd/nscd-client.h (__nscd_drop_map_ref):
7253 Add __attribute__ ((unused)).
7254 * nis/nss-nisplus.h (niserr2nss): Likewise.
7255
7256 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7257 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7258
7259 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7260 Remove inline keyword.
7261 * include/rounding-mode.h (round_away): Likewise.
7262 * libio/wfileops.c (adjust_wide_data): Likewise.
7263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7264 (__m128i_strloadu_tolower): Likewise.
7265 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7266 (__m128i_strloadu_tolower): Likewise.
7267 * time/mktime.c (ydhms_diff): Likewise.
7268 * locale/elem-hash.h (elem_hash): Likewise.
7269 * locale/setlocale.c (setdata): Likewise.
7270 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7271 (re_string_wchar_at): Likewise.
7272 (bitset_not, bitset_merge, bitset_mask): Likewise.
7273 [!(__GNUC__ > 3)] (inline): Remove macro.
7274 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7275 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7276 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7277 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7278 * string/memcmp.c (memcmp_bytes): Likewise.
7279 * locale/programs/locarchive.c (compute_hashval): Likewise.
7280 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7281 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7282 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7283 * nss/getent.c (print_rpc, print_protocols): Likewise.
7284 (print_passwd, print_group, print_aliases): Likewise.
7285 * nis/nss-nisplus.h (niserr2nss): Likewise.
7286 * nscd/connections.c (restart_p): Likewise.
7287 Change return type to bool.
7288
eab55bfb
RM
72892013-02-05 Roland McGrath <roland@hack.frob.com>
7290
7bd642f5
RM
7291 * Makeconfig (all-Depend-files): Add existing
7292 $(sorted-subdirs:=/Depend) files.
7293 (all-subdirs): Remove nss.
7294 * sysdeps/unix/inet/Subdirs: Add it here instead.
7295 * hesiod/Depend: New file.
7296
573c29b2
RM
7297 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7298 instead of calling alloca.
7299
b2e25af0
RM
7300 * io/lseek.c (__lseek): Rename to __libc_lseek.
7301 Define __lseek as an alias.
7302
eab55bfb
RM
7303 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7304
9a0d1941
CD
73052013-02-04 Carlos O'Donell <carlos@redhat.com>
7306
7307 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7308 else clause and remove check for non-standard endianness.
7309
b83bbec4
DM
73102013-02-04 David S. Miller <davem@davemloft.net>
7311
7312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7313
6277fdab
JM
73142013-02-04 Joseph Myers <joseph@codesourcery.com>
7315
7316 [BZ #13550]
7317 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7318 (__ubp_memchr): Remove prototype.
7319 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7320 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7321 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7322 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7323 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7324 Remove alias.
7325 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7326 (__ubp_memchr): Likewise.
7327 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7328 (__ubp_memchr): Likewise.
7329 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7330 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7331 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7332 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7333 CHECK_STRING.
7334 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7335 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7336 (__getcwd): Do not use CHECK_STRING.
7337 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7338 <bp-checks.h>.
7339 (__real_chown): Do not use CHECK_STRING.
7340 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7341 <bp-checks.h>.
7342 (fchownat): Do not use CHECK_STRING.
7343 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7344 CHECK_STRING.
7345 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7346 <bp-checks.h>.
7347 (__lchown): Do not use CHECK_STRING.
7348 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7349 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7350 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7351 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7353 include <bp-checks.h>.
7354 (truncate64): Do not use CHECK_STRING.
7355 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7356 <bp-checks.h>.
7357 (__real_chown): Do not use CHECK_STRING.
7358 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7359 <bp-checks.h>.
7360 (__lchown): Do not use CHECK_STRING.
7361 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7362 <bp-checks.h>.
7363 (__chown): Do not use CHECK_STRING.
7364 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7365 <bp-checks.h>.
7366 (truncate64): Do not use CHECK_STRING.
7367 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7368 Likewise.
7369 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7370 (__xmknod): Do not use CHECK_STRING.
7371 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7372 <bp-checks.h>.
7373 (__xmknodat): Do not use CHECK_STRING.
7374 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7375 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7376
903ae060
AS
73772013-02-04 Andreas Schwab <schwab@suse.de>
7378
7379 [BZ #14142]
7380 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7381 * include/netdb.h: Likewise for h_errno.
7382 * elf/tst-stackguard1.c: Include <tls.h>.
7383
542f9466
JK
73842013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7385
7386 * elf/link.h (struct link_map): Extend the l_addr comment.
7387 * include/link.h (struct link_map): Likewise.
7388
e782a927
JM
73892013-02-01 Joseph Myers <joseph@codesourcery.com>
7390
7391 [BZ #13550]
7392 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7393 (BOUNDED_1): Remove macro.
7394 * debug/backtrace.c: Don't include <bp-checks.h>.
7395 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7396 (__backtrace): Likewise.
7397 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7398 <bp-checks.h>.
7399 (__backtrace): Don't use BOUNDED_1.
7400 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7401 <bp-checks.h>.
7402 (__backtrace): Don't use BOUNDED_1.
7403 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7404 (__backtrace): Don't use BOUNDED_1.
7405 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7406 (shmat): Don't use BOUNDED_N.
7407
8cf28c5e
JM
74082013-01-31 Joseph Myers <joseph@codesourcery.com>
7409
3a7ac8a0
JM
7410 [BZ #13550]
7411 * sysdeps/generic/bp-start.h: Remove file.
7412 * csu/libc-start.c: Don't include <bp-start.h>.
7413 (LIBC_START_MAIN): Set up __environ directly instead of using
7414 INIT_ARGV_and_ENVIRON.
7415 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7416 <bp-start.h>.
7417
f3499f95
JM
7418 [BZ #13550]
7419 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7420 definitions.
7421 (CHECK_FCNTL): Likewise.
7422 (CHECK_N_PAGES): Likewise.
7423
32a45bea
JM
7424 [BZ #13550]
7425 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7426 definitions.
7427 (CHECK_SIGSET_NULL_OK): Likewise.
7428 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7429 <bp-checks.h>.
7430 (sigpending): Don't use CHECK_SIGSET.
7431 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7432 <bp-checks.h>.
7433 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7434 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7435 <bp-checks.h>.
7436 (do_sigsuspend): Don't use CHECK_SIGSET.
7437 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7438 use CHECK_SIGSET.
7439 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7440 (do_sigwait): Don't use CHECK_SIGSET.
7441 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7442 use CHECK_SIGSET.
7443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7444 include <bp-checks.h>.
7445 (sigpending): Don't use CHECK_SIGSET.
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7447 include <bp-checks.h>.
7448 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7449 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7450 <bp-checks.h>.
7451 (sigpending): Don't use CHECK_SIGSET.
7452 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7453 <bp-checks.h>.
7454 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7455
2e8a5c8c
JM
7456 [BZ #13550]
7457 * sysdeps/generic/bp-semctl.h: Remove file.
7458 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7459 <bp-checks.h> and <bp-semctl.h>.
7460 (__old_semctl): Don't use CHECK_SEMCTL.
7461 (__new_semctl): Likewise.
7462 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7463 and <bp-semctl.h>.
7464 (__old_semctl): Don't use CHECK_SEMCTL.
7465 (__new_semctl): Likewise.
7466 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7467 <bp-checks.h> and <bp-semctl.h>.
7468 (__old_semctl): Don't use CHECK_SEMCTL.
7469 (__new_semctl): Likewise.
7470 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7471 <bp-checks.h> and <bp-semctl.h>.
7472 (semctl): Don't use CHECK_SEMCTL.
7473
c2d54929
JM
7474 [BZ #13550]
7475 * Makerules (elide-bp-thunks): Remove variable.
7476 (elide-routines.oS): Don't use $(elide-bp-thunks).
7477 (elide-routines.os): Likewise.
7478 (elide-routines.o): Likewise.
7479 (elide-routines.op): Likewise.
7480 (elide-routines.og): Likewise.
7481 (objects): Don't use $(bp-thunks).
7482 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7483 include.
7484 (common-generated): Do not add s-proto-bp.d.
7485 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7486 (int): Likewise.
7487 (typ): Likewise.
7488 Do not generate makefile rules for bounded-pointer thunks.
7489 * sysdeps/generic/bp-thunks.h: Remove file.
7490 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7491 * sysdeps/unix/s-proto-bp.S: Likewise.
7492
8cf28c5e
JM
7493 [BZ #15062]
7494 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7495 parts of result separately when argument is not close to line from
7496 -i to i and one part of argument is small.
7497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7499 * math/libm-test.inc (cacos_test): Add more tests.
7500 (casin_test): Likewise.
7501 (casinh_test): Likewise.
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7504
c4e33b8d
DM
75052013-01-31 David S. Miller <davem@davemloft.net>
7506
7507 * po/de.po: Update from translation team.
7508
3b60b421
MK
75092013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7510
7511 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7512
bb931195
TS
75132013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7514
b5a5da23
TS
7515 * configure.in (_AC_PROG_CC_C89): New definition.
7516 * configure: Regenerate.
7517
bb931195
TS
7518 * configure.in (AC_PROG_CPP): New definition.
7519 * configure: Regenerate.
7520
8c53a12c
JM
75212013-01-23 Joseph Myers <joseph@codesourcery.com>
7522
7523 * debug/tst-backtrace.h: New file.
7524 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7525 (ret): Remove variable.
7526 (x): Likewise.
7527 (FAIL): Remove macro.
7528 (NO_INLINE): Likewise.
7529 (fn1): Use match function instead of strstr.
7530 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7531 (ret): Remove variable.
7532 (x): Likewise.
7533 (FAIL): Remove macro.
7534 (NO_INLINE): Likewise.
7535 (fn): Use match function instead of strstr.
7536 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7537 (ret): Remove variable.
7538 (x): Likewise.
7539 (FAIL): Remove macro.
7540 (NO_INLINE): Likewise.
7541 (handle_signal): Use match function instead of strstr.
7542 * debug/tst-backtrace5.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
4858fa2a
RM
75492013-01-23 Roland McGrath <roland@hack.frob.com>
7550
7551 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7552
bae8e7f5
DM
75532013-01-23 David S. Miller <davem@davemloft.net>
7554
7555 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7556 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7557 argument of CAS if possible.
7558 * sysdeps/sparc/sparc64/bits/atomic.h
7559 (__arch_compare_and_exchange_val_32_acq): Likewise.
7560 (__arch_compare_and_exchange_val_64_acq): Likewise.
7561
9cbbc4ae
PT
75622013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7563
7564 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7565 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7566 Include <limits.h>.
67b3f58c 7567 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7568
5655a0b5
AC
75692013-01-23 Adam Conrad <adconrad@0c3.net>
7570
7571 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7572 (LDFLAGS-tst-array5): Likewise.
7573
052aff95
JM
75742013-01-23 Joseph Myers <joseph@codesourcery.com>
7575
7576 [BZ #15036]
7577 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7578 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7579 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7580 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7581
7c1e01aa
DM
75822013-01-21 David S. Miller <davem@davemloft.net>
7583
7584 * sysdeps/sparc/backtrace.c: New file.
7585 * sysdeps/sparc/sparc32/backtrace.h: New file.
7586 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7587 * sysdeps/sparc/sparc64/backtrace.h: New file.
7588 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7589 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7590 -funwind-tables.
7591
ab087e0a
AS
75922013-01-21 Andreas Schwab <schwab@suse.de>
7593
7594 [BZ #15020]
7595 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7596 closed its stdout.
7597
ed689c2f
AS
75982013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7599
7600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7601 "mpa2.h".
7602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7603
31d470ac
JM
76042013-01-18 Joseph Myers <joseph@codesourcery.com>
7605 Mark Mitchell <mark@codesourcery.com>
7606 Tom de Vries <tom@codesourcery.com>
7607 Paul Pluzhnikov <ppluzhnikov@google.com>
7608
7609 * debug/tst-backtrace2.c: New file.
7610 * debug/tst-backtrace3.c: Likewise.
7611 * debug/tst-backtrace4.c: Likewise.
7612 * debug/tst-backtrace5.c: Likewise.
7613 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7614 (CFLAGS-tst-backtrace3.c): Likewise.
7615 (CFLAGS-tst-backtrace4.c): Likewise.
7616 (CFLAGS-tst-backtrace5.c): Likewise.
7617 (LDFLAGS-tst-backtrace2): Likewise.
7618 (LDFLAGS-tst-backtrace3): Likewise.
7619 (LDFLAGS-tst-backtrace4): Likewise.
7620 (LDFLAGS-tst-backtrace5): Likewise.
7621 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7622 tst-backtrace4 and tst-backtrace5.
7623
90567f30 76242013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7625 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7626
7627 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7628 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7629 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7630 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7632 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7633 "+r" and remove output regs list as redundant. Add explicit inline
7634 asm to specify register of return val to work around compiler codegen
7635 bug. Remove (int) cast on return value. Add return type parameter to
7636 use in macro so that this macro does not truncate return value for
7637 64-bit values.
7638 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7639 pass to INTERNAL_VSYSCALL_NCS.
7640 (INLINE_VSYSCALL): Add 'long int' as return type to
7641 INTERNAL_VSYSCALL_NCS macro invocation.
7642 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7643 INTERNAL_VSYSCALL_NCS macro invocation.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7645
d3b9ea61
SP
76462013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7647
0b57daeb
SP
7648 [BZ #14496]
7649 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7650 Fix application of SIMD FP exception mask.
7651
caa99d06
SP
7652 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7653 mp_no from a power of two.
7654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7655 __mpexp_twomm1. Use __pow_mp.
7656
d3b9ea61
SP
7657 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7658 multiplication.
7659
1dbaee3c
DM
76602013-01-17 David S. Miller <davem@davemloft.net>
7661
7662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7663
728d7b43
JM
76642013-01-17 Joseph Myers <joseph@codesourcery.com>
7665
7666 [BZ #15023]
7667 * include/complex.h: Condition contents on [!_COMPLEX_H].
7668 (__kernel_casinhf): New prototype.
7669 (__kernel_casinh): Likewise.
7670 (__kernel_casinhl): Likewise.
7671 * math/Makefile (libm_calls): Add k_casinh.
7672 * math/k_casinh.c: New file.
7673 * math/k_casinhf.c: Likewise.
7674 * math/k_casinhl.c: Likewise.
7675 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7676 finite nonzero arguments.
7677 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7678 finite nonzero arguments.
7679 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7680 finite nonzero arguments.
7681 * math/s_casinh.c: Do not include <float.h>.
7682 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7683 * math/s_casinhf.c: Do not include <float.h>.
7684 (__casinhf): Move code for finite nonzero arguments to
7685 k_casinhf.c.
7686 * math/s_casinhl.c: Do not include <float.h>.
7687 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7688 redefine.
7689 (__casinhl): Move code for finite nonzero arguments to
7690 k_casinhl.c.
7691 * math/libm-test.inc (cacos_test): Add more tests.
7692 * sysdeps/i386/fpu/libm-test-ulps: Update.
7693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7694
2a26ef3a
PT
76952013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7696
7697 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7698 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7699 [!HAVE_MREMAP]: Remove [defined linux] case.
7700 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7701
a897655d
SP
77022013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7703
7704 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7705
881ebe89 77062013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7707
7708 * elf/elf.h (R_386_SIZE32): New relocation.
7709 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7710 R_386_SIZE32.
7711 (elf_machine_rela): Likewise.
7712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7713 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7714
59981e9b
JM
77152013-01-17 Joseph Myers <joseph@codesourcery.com>
7716
7717 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7718 (FP_FAST_FMA): Do not define.
7719 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7720 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7721 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7722 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7723 !_SOFT_FLOAT]: Likewise.
7724 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7725 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7726 value.
7727 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7728 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7729 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7730 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7731 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7732 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7733 file.
7734
cfa8054f
AS
77352013-01-16 Andreas Schwab <schwab@suse.de>
7736
7737 [BZ #14327]
7738 * include/stdlib.h (__mktemp): Add declaration.
7739 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7740 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7741
dd930cc5
SP
77422013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7743
881ebe89
SP
7744 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7745 definitions.
7746 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7747 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7748 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7749 definitions here.
7750 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7751 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7752 definitions.
7753 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7754 and ONE.
7755 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7756 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7757 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7758 definitions.
7759 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7760 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7761 definitions.
7762 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7763
dd930cc5
SP
7764 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7765
c19a9f89
DM
77662013-01-15 David S. Miller <davem@davemloft.net>
7767
1aa61767
DM
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7769 trunc{,f} to libm-sysdep_routes.
7770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7772 file.
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7775 file.
7776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7777 file.
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7780 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7781 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7782 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7786
c42d5e98
DM
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7788 nearbyint{,f} to libm-sysdep_routes.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7791 New file.
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7793 file.
7794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7795 New file.
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7797 file.
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7801 file.
7802 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7803 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7804 file.
7805 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7806 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7807 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7808
c19a9f89
DM
7809 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7810 libc_feholdexcept and libc_fesetenv.
7811
357679d2
MF
78122013-01-15 Mike Frysinger <vapier@gentoo.org>
7813
7814 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7815
65a82e3d
DM
78162013-01-14 David S. Miller <davem@davemloft.net>
7817
8b954ab9
DM
7818 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7819 (SPARC_ASM_VIS2_IFUNC): Likewise.
7820 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7822 use of 'siam' instruction.
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7824 Likewise.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7826 Likewise.
7827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7828 Likewise.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7834 file.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7836 file.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7838 file.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7840 file.
7841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7846 new VIS2 routines.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7850 Likewise.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7856 routines to libm-sysdep_routines.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7858
65a82e3d
DM
7859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7860 fdim/fdimf to libm-sysdep_routines.
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7862 file.
7863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7865 file.
7866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7869 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7870 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7871 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7872 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7873
e34ab705
SP
78742013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7875
2a91b573
SP
7876 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7877 to optimize copies.
7878
1066a534
SP
7879 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7882
e34ab705
SP
7883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7884 local variable MPTWO.
7885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7886 Likewise.
7887
aba5e596
MF
78882013-01-13 Mike Frysinger <vapier@gentoo.org>
7889
7890 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7891 GLOB_NOESCAPE.
7892
e557e9e5
MF
78932013-01-13 Mike Frysinger <vapier@gentoo.org>
7894
7895 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7896
0428cec9
MF
78972013-01-13 Mike Frysinger <vapier@gentoo.org>
7898
7899 * manual/pattern.texi (glob_t): Document gl_flags.
7900 (glob64_t): Likewise.
7901
8794a964
DM
79022013-01-11 David S. Miller <davem@davemloft.net>
7903
66438c3f
RM
7904 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7905 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7906 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7907 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7908 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7909 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7910 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7911 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7912 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7913 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7914 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7915 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7916 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7917
4ae4244d
DM
7918 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7919 sparc V9 rather than using V8 code.
7920 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7921 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7922
8794a964
DM
7923 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7924 Move to...
7925 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7926 Here.
7927
6270516e
RM
79282013-01-11 Roland McGrath <roland@hack.frob.com>
7929
7930 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7931 not in the main loop.
7932 * configure: Regenerated.
7933
6a57d931
JM
79342013-01-11 Joseph Myers <joseph@codesourcery.com>
7935
7936 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7937 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7938 to just #else.
7939 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7940 [!__GLIBC_HAVE_LONG_LONG] case.
7941 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7942 condition to just #else.
7943 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7944 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7945 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7946 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7947 unconditional.
7948 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7949 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7950 #elif condition to just #else.
7951 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7952 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7953 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7954 #elif condition to just #else.
7955
0e8529e9
SE
79562013-01-11 Steve Ellcey <sellcey@mips.com>
7957
7958 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7959 (EF_MIPS_ARCH_64): Fix value.
7960 (EF_MIPS_ARCH_32R2): New.
7961 (EF_MIPS_ARCH_64R2): New.
7962
740b3dbe
L
79632013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7964
7965 * Makeconfig (+link-pie-before-libc): New.
7966 (+link-pie-after-libc): Likewise.
7967 (+link-pie-tests): Likewise.
7968 (+link-pie): Rewritten.
7969 (link-before-libc): Remove $(config-LDFLAGS).
7970 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7971 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7972 (config-LDFLAGS): Renamed to ...
7973 (rtld-LDFLAGS): This.
7974 (rtld-tests-LDFLAGS): New macro.
7975 (link-libc-rpath-link): Likewise.
7976 (link-libc-tests-rpath-link): Likewise.
7977 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7978 (link-libc): Prepand $(link-libc-rpath-link).
7979 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7980 (test-program-prefix): New macro.
7981 (test-via-rtld-prefix): Likewise.
7982 (test-program-cmd): Likewise.
7983 (host-test-program-cmd): Likewise.
7984 * Makefile ($(common-objpfx)testrun.sh): Replace
7985 $(run-program-prefix) with $(test-program-prefix).
7986 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7987 $(rtld-LDFLAGS).
7988 ($(common-objpfx)shlib.lds): Likewise.
7989 (build-module-helper): Likewise.
7990 ($(common-objpfx)format.lds): Likewise.
7991 * Rules (binaries-pie-tests): New.
7992 (binaries-pie-notests): Likewise.
7993 (binaries-pie): Rewritten.
7994 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7995 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7996 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7997 (make-test-out): Replace $(host-built-program-cmd) with
7998 $(host-test-program-cmd).
7999 * config.make.in (build-hardcoded-path-in-tests): New variable.
8000 * configure.in (--enable-hardcoded-path-in-tests): New configure
8001 option.
8002 (hardcoded_path_in_tests): New AC_SUBST.
8003 * configure: Regenerated.
8004 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8005 $(built-program-cmd) with $(test-program-cmd).
8006 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8007 (test_program_cmd): This.
8008 * elf/Makefile ($(objpfx)order.out): Run test with
8009 $(test-program-prefix).
8010 ($(objpfx)order2.out): Likewise.
8011 ($(objpfx)tst-initorder.out): Likewise.
8012 ($(objpfx)tst-initorder2.out): Likewise.
8013 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8014 $(test-program-cmd).
8015 ($(objpfx)tst-array1-static.out): Likewise.
8016 ($(objpfx)tst-array2.out): Likewise.
8017 ($(objpfx)tst-array3.out): Likewise.
8018 ($(objpfx)tst-array4.out): Likewise.
8019 ($(objpfx)tst-array5.out): Likewise.
8020 ($(objpfx)tst-array5-static.out): Likewise.
8021 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8022 $(test-program-cmd).
8023 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8024 $(run-program-prefix) with $(test-program-prefix).
8025 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8026 (test_program_prefix): This.
8027 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8028 $(run-program-prefix) with $(test-program-prefix).
8029 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8030 (test_program_prefix): This.
8031 * iconvdata/tst-tables.sh: Likewise.
8032 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8033 $(run-program-prefix) with $(test-program-prefix).
8034 ($(objpfx)tst-translit.out): Likewise.
8035 ($(objpfx)tst-gettext2.out): Likewise.
8036 ($(objpfx)tst-gettext4.out): Likewise.
8037 ($(objpfx)tst-gettext6.out): Likewise.
8038 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8039 (test_program_prefix): This.
8040 * intl/tst-gettext2.sh: Likewise.
8041 * intl/tst-gettext4.sh Likewise.
8042 * intl/tst-gettext6.sh: Likewise.
8043 * intl/tst-translit.sh: Likewise.
8044 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8045 with $(test-program-cmd).
8046 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8047 $(run-program-prefix) with $(test-program-prefix).
8048 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8049 (test_program_prefix): This.
8050 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8051 $(run-program-prefix) with $(test-program-prefix).
8052 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8053 (test_program_prefix): This.
8054 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8055 * posix/Makefile ($(objpfx)globtest.out): Replace
8056 $(run-via-rtld-prefix) and $(test-wrapper) with
8057 $(test-program-prefix) and $(test-via-rtld-prefix).
8058 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8059 $(test-program-prefix).
8060 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8061 $(host-test-program-cmd).
8062 (tst-spawn-ARGS): Likewise.
8063 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8064 $(test-program-prefix).
8065 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8066 (test_via_rtld_prefix): This.
8067 (test_wrapper): Renamed to ...
8068 (test_program_prefix): This.
8069 (run_program_prefix): Replaced by test_program_prefix.
8070 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8071 (test_program_prefix): This.
8072 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8073 with $(host-test-program-cmd).
8074 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8075 $(run-program-prefix) with $(test-program-prefix).
8076 ($(objpfx)tst-printf.out): Likewise.
8077 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8078 $(test-program-cmd).
8079 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8080 (test_program_prefix): This.
8081 * stdio-common/tst-unbputc.sh: Likewise.
8082 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8083 $(run-program-prefix) with $(test-program-prefix).
8084 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8085 (test_program_prefix): This.
8086 * string/Makefile ($(objpfx)tst-svc.out): Replace
8087 $(built-program-cmd) with $(test-program-cmd).
8088
c6fe55cf
AJ
80892013-01-11 Andreas Jaeger <aj@suse.de>
8090
8091 [BZ #15003]
8092 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8093 value. Sync with Linux 3.7.
8094
9e6919c8
DM
80952013-01-10 David S. Miller <davem@davemloft.net>
8096
8097 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8100
1c9f1a02
RM
81012013-01-10 Roland McGrath <roland@hack.frob.com>
8102
8103 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8104 never set.
8105 * configure: Regenerated.
8106
b9de2dde
DM
81072013-01-10 David S. Miller <davem@davemloft.net>
8108
8109 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8110 sparc V9 rather than using V8 code.
8111 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8112 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8113
e7f68ef4
RM
81142013-01-10 Roland McGrath <roland@hack.frob.com>
8115
8116 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8117 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8118 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8119 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8120 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8121 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8122 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8123 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8124 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8125 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8126 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8127 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8128 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8129 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8130 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8131 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8132 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8133 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8134 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8135 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8136 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8137 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8138 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8139 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8140 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8141 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8142 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8143
5a47cc9c
DM
81442013-01-10 David S. Miller <davem@davemloft.net>
8145
8146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8147
4cf8f209
L
81482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8149
8150 * posix/Makefile (tests-static): New variable.
8151 (tests): Add $(tests-static).
8152 (tst-exec-static-ARGS): New variable.
8153 (tst-spawn-static-ARGS): Likewise.
8154 * posix/tst-exec-static.c: New file.
8155 * posix/tst-spawn-static.c: Likewise.
8156 * posix/tst-exec.c: Support run directly.
8157 * posix/tst-spawn.c: Likewise.
8158
fed0faa1
JM
81592013-01-10 Joseph Myers <joseph@codesourcery.com>
8160
828beb13
JM
8161 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8162 long.
8163 * math/bits/mathcalls.h (llrint): Likewise.
8164 (llround): Likewise.
8165 * stdlib/stdlib.h (struct drand48_data): Likewise.
8166 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8167 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8168 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8169 Likewise.
8170 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8171 Likewise.
8172 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8173 (elf_greg_t): Likewise.
8174 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8175 (__jmp_buf): Likewise.
8176 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8177 definitions.
8178 (llrint): Likewise, for all definitions.
8179 (llrintl): Likewise.
8180
fed0faa1
JM
8181 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8182 Remove [__GNUC__] condition.
8183 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8184 condition to just [__USE_ISOC99].
8185 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8186
1a20cb20
L
81872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8188
8189 [BZ #14200]
8190 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8191 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8192 defined.
8193 (_POSIX_V6_ILP32_OFF32): Likewise.
8194 (_XBS5_ILP32_OFF32): Likewise.
8195 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8196 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8197
751b85f7
SP
81982013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8199
7490eb81
SP
8200 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8201
751b85f7
SP
8202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8203 doubles __mpexp_twomm1. Adjust usage.
8204 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8205 Remove.
8206
988197f0
AS
82072013-01-10 Andreas Schwab <schwab@suse.de>
8208
8209 [BZ #14964]
8210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8211 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8212
e83d7298
DM
82132013-01-09 David S. Miller <davem@davemloft.net>
8214
034ed64b 8215 [BZ #15003]
e83d7298
DM
8216 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8217 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8218 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8219 TCP_FASTOPEN): Define.
8220 (tcp_repair_opt): New structure.
8221 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8222 enum values.
8223 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8224 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8225 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8226 (tcp_cookie_transactions): New structure.
8227
d5e0b9bd
AB
82282013-01-09 Anton Blanchard <anton@samba.org>
8229
8230 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8231 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8232 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8234
0c07e3ea
JM
82352013-01-09 Joseph Myers <joseph@codesourcery.com>
8236
8237 * include/features.h (__USE_ANSI): Remove.
8238
232f7002
RM
82392013-01-09 Roland McGrath <roland@hack.frob.com>
8240
ad98e30c
RM
8241 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8242
232f7002
RM
8243 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8244
950c99ca
SP
82452013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8246
b5792741
SP
8247 * sysdeps/s390/fpu/libm-test-ulps: Update.
8248
47cf2278
SP
8249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8250
950c99ca
SP
8251 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8252 (__acr): Likewise.
8253 (__cpy): Likewise.
8254 (norm): Likewise.
8255 (denorm): Likewise.
8256 (__mp_dbl): Likewise.
8257 (__dbl_mp): Likewise.
8258 (add_magnitudes): Likewise.
8259 (sub_magnitudes): Likewise.
8260 (__add): Likewise.
8261 (__sub): Likewise.
8262 (__mul): Likewise.
8263 (__inv): Likewise.
8264 (__dvd): Likewise.
8265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8266 (__acr): Likewise.
8267 (__cpy): Likewise.
8268 (norm): Likewise.
8269 (denorm): Likewise.
8270 (__mp_dbl): Likewise.
8271 (__dbl_mp): Likewise.
8272 (add_magnitudes): Likewise.
8273 (sub_magnitudes): Likewise.
8274 (__add): Likewise.
8275 (__sub): Likewise.
8276 (__mul): Likewise.
8277 (__inv): Likewise.
8278 (__dvd): Likewise.
8279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8280 (__acr): Likewise.
8281 (__cpy): Likewise.
8282 (norm): Likewise.
8283 (denorm): Likewise.
8284 (__mp_dbl): Likewise.
8285 (__dbl_mp): Likewise.
8286 (add_magnitudes): Likewise.
8287 (sub_magnitudes): Likewise.
8288 (__add): Likewise.
8289 (__sub): Likewise.
8290 (__mul): Likewise.
8291 (__inv): Likewise.
8292 (__dvd): Likewise.
8293
eede9df9
JM
82942013-01-08 Joseph Myers <joseph@codesourcery.com>
8295
8296 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8297 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8298 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8299 2 && __USE_EXTERN_INLINES]: Likewise.
8300
c40ea3d9
AJ
83012013-01-08 Andreas Jaeger <aj@suse.de>
8302
8303 [BZ# 14985]
8304 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8305 Remove.
8306 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8307 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8308
2ccdea26
AB
83092013-01-07 Anton Blanchard <anton@samba.org>
8310
8311 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8312 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8313 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8314 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8315 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8316 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8317 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8318 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8320 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8321 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8324 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8325 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8326 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8328 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8329 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8330 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8332 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8334 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8335 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8336 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8337 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8338 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8340 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8341 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8343 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8344 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8347 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8349 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8350 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8352 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8353 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8354
a9708fed
JM
83552013-01-07 Joseph Myers <joseph@codesourcery.com>
8356
375607b9
JM
8357 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8358 (__MALLOC_PMT): Likewise.
8359 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8360 [__GNUC__], only on [_LIBC].
8361 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8362 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8363 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8364 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8365 forward declaration.
8366 (realloc_hook_ini): Likewise.
8367 (memalign_hook_ini): Likewise.
8368 (__libc_memalign): Do not use __MALLOC_PMT in variable
8369 declaration.
8370 (__libc_valloc): Likewise.
8371 (__libc_pvalloc): Likewise.
8372 (__libc_calloc): Likewise.
8373 (__posix_memalign): Likewise.
8374
a9708fed
JM
8375 [BZ #14996]
8376 * math/s_casinh.c: Include <float.h>.
8377 (__casinh): Do not do computation with squaring and square root
8378 for large arguments.
8379 * math/s_casinhf.c: Include <float.h>.
8380 (__casinhf): Do not do computation with squaring and square root
8381 for large arguments.
8382 * math/s_casinhl.c: Include <float.h>.
8383 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8384 (__casinhl): Do not do computation with squaring and square root
8385 for large arguments.
8386 * math/libm-test.inc (casin_test): Add more tests.
8387 (casinh_test): Likewise.
8388 * sysdeps/i386/fpu/libm-test-ulps: Update.
8389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8390
afec409a
L
83912013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8392
8393 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8394 (__x86_64_raw_data_cache_size): Likewise.
8395 (__x86_64_data_cache_size_half): Likewise.
8396 (__x86_64_raw_data_cache_size_half): Likewise.
8397 (__x86_64_shared_cache_size): Likewise.
8398 (__x86_64_raw_shared_cache_size): Likewise.
8399 (__x86_64_shared_cache_size_half): Likewise.
8400 (__x86_64_raw_shared_cache_size_half): Likewise.
8401 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8402 to ...
8403 (__x86_data_cache_size): This.
8404 (__x86_64_raw_data_cache_size): Renamed to ...
8405 (__x86_raw_data_cache_size): This.
8406 (__x86_64_data_cache_size_half): Renamed to ...
8407 (__x86_data_cache_size_half): This.
8408 (__x86_64_raw_data_cache_size_half): Renamed to ...
8409 (__x86_raw_data_cache_size_half): This.
8410 (__x86_64_shared_cache_size): Renamed to ...
8411 (__x86_shared_cache_size): This.
8412 (__x86_64_raw_shared_cache_size): Renamed to ...
8413 (__x86_raw_shared_cache_size): This.
8414 (__x86_64_shared_cache_size_half): Renamed to ...
8415 (__x86_shared_cache_size_half): This.
8416 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8417 (__x86_raw_shared_cache_size_half): This.
8418 * sysdeps/x86_64/memcpy.S: Updated.
8419 * sysdeps/x86_64/memset.S: Likewise.
8420 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8423
0b3986d0
DM
84242013-01-04 David S. Miller <davem@davemloft.net>
8425
8426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8427
e47686e9
AS
84282013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8429
d643bac1
AS
8430 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8431 1 to avoid redefinition warning.
8432 (__USE_GNU): Don't define.
8433 (init_signaling_nan): Protoize.
8434
e47686e9
AS
8435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8436
b18decba
SP
84372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8438
fffb407f
SP
8439 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8441 (__cpymn): Likewise.
8442 (norm): Remove commented code.
8443 (denorm): Likewise.
8444 (__mp_dbl): Likewise.
8445 (__inv): Likewise.
8446 * sysdeps/powerpc/powerpc64/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
b18decba
SP
8453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8454 mp_no value for 1.0 and 2.0.
8455 (norm): Use RADIXI instead of radixi.d.
8456 (denorm): Likewise.
8457 (__mul): Use 0.0 instead of zero.d.
8458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8459 mp_no value for 1.0 and 2.0.
8460 (norm): Use RADIXI instead of radixi.d.
8461 (denorm): Likewise.
8462 (__mul): Use 0.0 instead of zero.d.
8463
cdc1c96f
JM
84642013-01-04 Joseph Myers <joseph@codesourcery.com>
8465
8466 [BZ #14994]
8467 * math/s_casinh.c (__casinh): Reduce finite argument to first
8468 quadrant then set signs of results at the end.
8469 * math/s_casinhf.c (__casinhf): Likewise.
8470 * math/s_casinhl.c (__casinhl): Likewise.
8471 * math/libm-test.inc (casin_test): Add more tests.
8472 (casinh_test): Likewise.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475
302913e1
SP
84762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8477
6420d207
SP
8478 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8479
a9e48ab4
SP
8480 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8481
b7837264
SP
8482 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8483 declarations.
8484 (denorm): Likewise.
8485 (__mp_dbl): Likewise.
8486 (__inv): Likewise.
8487
f8af25d2
SP
8488 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8489 and adjust the header comment.
8490
302913e1
SP
8491 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8492 variable name from declaration.
8493
5d7dd1ca
L
84942013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8497 Initialize COMMON_CPUID_INDEX_7 element.
8498 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8499 (CPUID_RTM): Likewise.
8500 (HAS_RTM): Likewise.
8501 (COMMON_CPUID_INDEX_7): New enum.
8502
2f5f40f4
AS
85032013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8504
8505 [BZ #14981]
8506 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8507 size is zero, record memory as freed.
8508
4056f4a0
AJ
85092013-01-03 Andreas Jaeger <aj@suse.de>
8510
8511 * po/ia.po: Add new Interlingua translation.
8512
ab15736f 85132012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8514
8515 * locale/programs/localedef.c: Fix description of '--posix' flag.
8516
568035b7
JM
85172013-01-02 Joseph Myers <joseph@codesourcery.com>
8518
e6898b8d
JM
8519 * NEWS: Update dates in second copyright notice.
8520 * README: Update copyright dates in example.
8521 * manual/libc.texinfo: Update copyright dates.
8522 * scripts/test-installation.pl: Update copyright date in --version
8523 output.
8524
0e2f9562
JM
8525 * hurd/ctty-input.c: Fix copyright notice formatting.
8526 * hurd/ctty-output.c: Likewise.
8527 * hurd/dtable.c: Likewise.
8528 * hurd/hurd-raise.c: Likewise.
8529 * hurd/hurdprio.c: Likewise.
8530 * hurd/msgportdemux.c: Likewise.
8531 * misc/sys/file.h: Likewise.
8532 * misc/sys/ioctl.h: Likewise.
8533 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8534 * sysdeps/mach/hurd/chdir.c: Likewise.
8535 * sysdeps/mach/hurd/fchdir.c: Likewise.
8536 * sysdeps/mach/hurd/rename.c: Likewise.
8537 * sysdeps/mach/hurd/rmdir.c: Likewise.
8538 * sysdeps/mach/hurd/seekdir.c: Likewise.
8539 * sysdeps/mach/hurd/setsid.c: Likewise.
8540 * sysdeps/posix/wait3.c: Likewise.
8541
568035b7
JM
8542 * All files with FSF copyright notices: Update copyright dates
8543 using scripts/update-copyrights.
8544 * intl/plural.c: Regenerated.
8545 * locale/programs/charmap-kw.h: Likewise.
8546 * locale/programs/locfile-kw.h: Likewise.
8547
da08f647
SP
85482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8549
0f5477af
SP
8550 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8551 four values.
8552
44e0d4c2
SP
8553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8554 calculation loop and add branch prediction.
8555
4d55b4e5
SP
8556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8557 check access beyond bounds of m1np.
8558
da08f647
SP
8559 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8560 MPTWO.
8561 (__inv): Remove local variable MPTWO to use the global
8562 constant.
8563 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8564 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8565 variable MPTWO.
8566 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8567 MP3HALFS static const.
8568
8e051029
DM
85692013-01-01 David S. Miller <davem@davemloft.net>
8570
8571 * po/ca.po: Update from translation team.
8572
f4cf5f2d
JM
85732013-01-01 Joseph Myers <joseph@codesourcery.com>
8574
8575 * scripts/update-copyrights: New file.
8576 * Makeconfig: Reformat copyright notice.
8577 * ctype/ctype.h: Likewise.
8578 * debug/swprintf_chk.c: Likewise.
8579 * elf/dl-cache.c: Likewise.
8580 * elf/dl-debug.c: Likewise.
8581 * elf/dl-object.c: Likewise.
8582 * grp/initgroups.c: Likewise.
8583 * hurd/Makefile: Likewise.
8584 * hurd/hurd/signal.h: Likewise.
8585 * hurd/hurdfault.c: Likewise.
8586 * hurd/hurdioctl.c: Likewise.
8587 * hurd/hurdlookup.c: Likewise.
8588 * hurd/intr-msg.c: Likewise.
8589 * iconv/gconv_open.c: Likewise.
8590 * libio/swprintf.c: Likewise.
8591 * locale/lc-ctype.c: Likewise.
8592 * locale/nl_langinfo.c: Likewise.
8593 * mach/Machrules: Likewise.
8594 * mach/Makefile: Likewise.
8595 * malloc/obstack.h: Likewise.
8596 * manual/Makefile: Likewise.
8597 * manual/tsort.awk: Likewise.
8598 * misc/bits/stab.def: Likewise.
8599 * nis/nis_print_group_entry.c: Likewise.
8600 * nis/nis_table.c: Likewise.
8601 * nis/nss_compat/compat-pwd.c: Likewise.
8602 * nis/nss_compat/compat-spwd.c: Likewise.
8603 * po/Makefile: Likewise.
8604 * posix/fnmatch.c: Likewise.
8605 * posix/regex.h: Likewise.
8606 * resolv/Makefile: Likewise.
8607 * resolv/nss_dns/dns-network.c: Likewise.
8608 * resolv/res_hconf.c: Likewise.
8609 * scripts/gen-sorted.awk: Likewise.
8610 * soft-fp/soft-fp.h: Likewise.
8611 * stdio-common/printf.h: Likewise.
8612 * stdlib/monetary.h: Likewise.
8613 * stdlib/random.c: Likewise.
8614 * stdlib/random_r.c: Likewise.
8615 * sysdeps/generic/Makefile: Likewise.
8616 * sysdeps/gnu/Makefile: Likewise.
8617 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8640 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8641 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8645 * sysdeps/mach/hurd/errnos.awk: Likewise.
8646 * sysdeps/mach/hurd/fork.c: Likewise.
8647 * sysdeps/mach/hurd/getcwd.c: Likewise.
8648 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8649 * sysdeps/mach/hurd/mmap.c: Likewise.
8650 * sysdeps/mach/hurd/utimes.c: Likewise.
8651 * sysdeps/mach/hurd/xmknod.c: Likewise.
8652 * sysdeps/posix/profil.c: Likewise.
8653 * sysdeps/posix/readdir_r.c: Likewise.
8654 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8655 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8656 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8657 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8661 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8663 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8664 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8665 * sysdeps/pthread/lio_listio.c: Likewise.
8666 * sysdeps/sparc/dl-procinfo.h: Likewise.
8667 * sysdeps/unix/i386/sysdep.S: Likewise.
8668 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8669 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8670 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8671 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8673 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8674 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8675 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8676 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8677 * sysdeps/wordsize-32/divdi3.c: Likewise.
8678 * time/sys/time.h: Likewise.
8679 * wcsmbs/Makefile: Likewise.
8680
0549fbba
DM
86812013-01-01 David S. Miller <davem@davemloft.net>
8682
a141f1a7
DM
8683 * po/fr.po: Update from translation team.
8684
0549fbba
DM
8685 * catgets/gencat.c: Update copyright year.
8686 * csu/version.c: Likewise.
8687 * debug/catchsegv.sh: Likewise.
8688 * debug/pcprofiledump.c: Likewise.
8689 * debug/xtrace.sh: Likewise.
8690 * elf/ldconfig.c: Likewise.
8691 * elf/ldd.bash.in: Likewise.
8692 * elf/pldd.c: Likewise.
8693 * elf/sotruss.ksh: Likewise.
8694 * elf/sprof.c: Likewise.
8695 * iconv/iconv_prog.c: Likewise.
8696 * iconv/iconvconfig.c: Likewise.
8697 * locale/programs/locale.c: Likewise.
8698 * locale/programs/localedef.c: Likewise.
8699 * login/programs/pt_chown.c: Likewise.
8700 * malloc/memusage.sh: Likewise.
8701 * malloc/memusagestat.c: Likewise.
8702 * malloc/mtrace.pl: Likewise.
8703 * nscd/nscd.c: Likewise.
8704 * nss/getent.c: Likewise.
8705 * nss/makedb.c: Likewise.
8706 * posix/getconf.c: Likewise.
8707
18ea052c
SP
87082012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8709
8710 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8711 numbers.
8712
9c89fca6
MF
87132012-12-30 Mike Frysinger <vapier@gentoo.org>
8714
8715 * math/bits/mathcalls.h (modf): Use __nonnull.
8716
085ec079
SP
87172012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8718
8719 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8720 (split): Use macro CN instead of the bare value.
8721 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8722 could be used.
8723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8724 instead of the bare value.
8725 (power1): Likewise.
8726
6d9f97e1
SP
87272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
d63f73be
SP
8729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8730 __ATAN_TWOM.
8731 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8732
6d9f97e1
SP
8733 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8734 their values.
8735 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8737 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8738 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8739
4c4febf5
AJ
87402012-12-28 Andreas Jaeger <aj@suse.de>
8741
af5843ef
AJ
8742 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8743 values are from Linux 3.7.
8744
4c4febf5
AJ
8745 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8746 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8747
99136f82
SP
87482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8749
2f216c3c 8750 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8751 TRUE case.
8752
99136f82
SP
8753 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8754 (norm): Likewise.
8755 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8756 variables with preprocessor constants.
8757 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8758 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8759 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8760
7fffbdff
BH
87612012-12-27 Bruno Haible <bruno@clisp.org>
8762
8763 [BZ #14317]
8764 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8765 only if needed.
8766
b76eb5f0
SP
87672012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
31a7fe5c
SP
8769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8770 and use variable directly.
8771 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8772
b76eb5f0
SP
8773 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8774 MPONE.
8775 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8776 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8777 variable MPONE.
8778 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8780 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8781 include directive. Remove local variable MPONE.
8782 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8783 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8784 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8785
2c8bfe7d
DM
87862012-12-25 David S. Miller <davem@davemloft.net>
8787
8788 * version.h (RELEASE): Set to "development".
8789 (VERSION): Set to "2.17.90".
8790 * NEWS: Add 2.18 section.
8791
147d03b0
DM
87922012-12-21 David S. Miller <davem@davemloft.net>
8793
8794 * po/hr.po: Update from translation team.
8795
a8ebb2b9
AK
87962012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8797
8798 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8799
95b4f1b6
SE
88002012-12-19 Steve Ellcey <sellcey@mips.com>
8801
b2d94007 8802 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8803
cedb2a90
MS
88042012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8805
8806 * manual/contrib.texi (Contributors): Spelling correction.
8807
bbf527d6
DM
88082012-12-15 David S. Miller <davem@davemloft.net>
8809
8810 * po/ru.po: Update from translation team.
8811
bc38c906
DM
88122012-12-13 David S. Miller <davem@davemloft.net>
8813
85429b1a
DM
8814 * NEWS: Mention IFUNC testsuite enhancements.
8815
d283e353
DM
8816 * po/pl.po: Update from translation team.
8817 * po/bg.po: Likewise.
8818
bc38c906
DM
8819 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8820 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8821
a181b0d7
DM
88222012-12-11 David S. Miller <davem@davemloft.net>
8823
4641d57e
DM
8824 * po/sv.po: Update from translation team.
8825
f7bc6495
DM
8826 * po/vi.po: Update from translation team.
8827
6fc9048f
DM
8828 * po/cs.po: Update from translation team.
8829
a181b0d7
DM
8830 * po/de.po: Update from translation team.
8831 * po/eo.po: Likewise.
8832 * po/nl.po: Likewise.
8833
f70bfe80
SP
88342012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8835
3c8b4190
SP
8836 [BZ #14246]
8837 * manual/argp.texi (Argp Helper Functions): Move node to follow
8838 Argp Parsing State.
8839
f70bfe80
SP
8840 [BZ #14872]
8841 * manual/conf.texi (Limits on File System Capacity): Mention if
8842 terminating null is included in the max size.
8843
188f0adf
AJ
88442012-12-10 Andreas Jaeger <aj@suse.de>
8845
8846 * po/cs.po: Update from translation team.
8847
56e7d3ad
SP
88482012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8849
8850 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8851 void pointer and cast to uintptr_t.
8852 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8853 path.
8854 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8855 * sysdeps/s390/s390-64/memset.S: Likewise.
8856
76f2d2ea 88572012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8858
8859 [BZ #14833]
8860 * menual/message.texi (Message Translation): Fix typos.
8861 (Helper programs for gettext): Likewise.
8862
67cbf9a2
AS
88632012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8864
8865 [BZ #14898]
8866 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8867 Change to -1.
8868
682d0e9a
DM
88692012-12-07 David S. Miller <davem@davemloft.net>
8870
8871 * po/libc.pot: Update.
8872
573cd484
RH
88732012-12-07 Richard Henderson <rth@redhat.com>
8874
7e9da188 8875 [BZ #10114]
573cd484
RH
8876 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8877 normal/normal case to before the switch.
8878 (_FP_DIV): Likewise.
8879
e933a943
MF
88802012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8881 Mike Frysinger <vapier@gentoo.org>
8882
8883 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8884 check for __NR_fadvise64_64.
8885
82123268
CM
88862012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8887
8888 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8889 0, not just to plain "0" as a statement.
8890 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8891 with cw.
8892
d9814526
JM
88932012-12-06 Joseph Myers <joseph@codesourcery.com>
8894
8895 * NEWS: Use sourceware.org in Bugzilla URL.
8896
7728c574
SP
88972012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8898
f16946dd
SP
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8900 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8901
5704bbcb
SP
8902 * stdio-common/tst-put-error.c (do_test): Add newline to the
8903 padded test to ensure flush.
8904
17aa0516
JL
89052012-12-05 Jeff Law <law@redhat.com>
8906
8907 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8908
363313b5
JM
89092012-12-05 Joseph Myers <joseph@codesourcery.com>
8910
effbd42a
JM
8911 * README: Don't refer to ports add-on as distributed separately.
8912 Mention AArch64 in list of systems supported in the ports add-on.
8913
87600365
JM
8914 * LICENSES: Add more non-FSF copyright and license notices.
8915
a0d7066a
JM
8916 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8917 ((unused)).
8918
66ca5a5b
JM
8919 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8920
363313b5
JM
8921 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8922 10000 as width of padded output.
8923
b37984ad
JM
89242012-12-04 Joseph Myers <joseph@codesourcery.com>
8925
9003570a
JM
8926 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8927
b37984ad
JM
8928 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8929 variable LX with __attribute__ ((unused)).
8930 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8931 Likewise.
8932 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8934 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8935 with __attribute__ ((unused)).
8936
c8df52ec
DM
89372012-12-04 David S. Miller <davem@abraco.davemloft.net>
8938
8939 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8940
b3b099af
JM
89412012-12-04 Joseph Myers <joseph@codesourcery.com>
8942
c33aa6e3
JM
8943 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8944 (CFLAGS-nldbl-acos.c): New variable.
8945 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8946 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8947 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8948 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8949 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8950 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8951 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8953 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8954 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8955 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8956 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8957 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8958 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8959 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8960 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8961 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8962 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8963 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8964 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8965 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8966 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8967 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8972 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8973 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8974 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8975 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8976 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8977 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8978 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8979 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9016 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9017 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9018 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9019 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9020 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9021 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9022 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9023 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9024 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9025 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9026 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9031 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9032 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9033 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9034 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9035 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9036 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9037 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9038 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9039 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9040 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9041 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9042
20f0018d
JM
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9044 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9045
b3b099af
JM
9046 [BZ #14914]
9047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9048 whole low double instead of just low 47 bits when splitting values
9049 into two parts.
9050
029264d1
AM
90512012-12-03 Allan McRae <allan@archlinux.org>
9052
9053 * manual/stdio.texi (Predefined Printf Handlers): Remove
9054 @hsep and @vsep usage.
9055
c9d6789e
MF
90562012-12-03 Mike Frysinger <vapier@gentoo.org>
9057
9058 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9059 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9060
4b7634a5
JL
90612012-12-03 Jeff Law <law@redhat.com>
9062
9063 * time/sys/time.h (settimeofday): Do not mark TV argument
9064 as __nonnull.
9065
eb6cbd24
MF
90662012-12-01 Mike Frysinger <vapier@gentoo.org>
9067
9068 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9069 when currently writing and seek to current position when not.
9070 * libio/Makefile (tests): Remove bug-fclose1.
9071 * libio/bug-fclose1.c: Delete.
9072
f638872a
JM
90732012-12-01 Joseph Myers <joseph@codesourcery.com>
9074
9075 * manual/arith.texi (feenableexcept): Fix typo.
9076 (fedisableexcept): Likewise.
9077
48085d14
RM
90782012-11-30 Roland McGrath <roland@hack.frob.com>
9079
9080 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9081 second, differently-typed declaration, rather than a cast.
9082
1a538b9f
SP
90832012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9084
9085 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9086 * include/rpc/svc.h: ... here.
9087
d07f2ff1 90882012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9089
9090 [BZ #13013]
9091 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9092 depending n and resplen2 to catch cases where answer
9093 equals answerp2.
9094
c93ec1f0
CD
90952012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9096
9097 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9098 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9099
37db69de
MF
91002012-11-29 Mike Frysinger <vapier@gentoo.org>
9101
9102 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9103
e10c4e4f
RM
91042012-11-29 Roland McGrath <roland@hack.frob.com>
9105
9106 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9107
2af1b328
JL
91082012-11-28 Jeff Law <law@redhat.com>
9109
9110 [BZ #13761]
9111 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9112 dataset_temporary. Track alloca usage into alloca_used.
9113 If dataset is large allocate and release it via malloc/free.
9114
111db5b1
FW
91152012-06-04 Florian Weimer <fweimer@redhat.com>
9116
f06cc227 9117 [BZ #14197]
111db5b1
FW
9118 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9119
dd694abd
DM
91202012-11-28 David S. Miller <davem@davemloft.net>
9121
9122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9123
9984dd01
JM
91242012-11-28 Joseph Myers <joseph@codesourcery.com>
9125
9126 [BZ #14803]
9127 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9128 of pi/2 rounded to nearest to 64 bits.
9129 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9130 nearest to 64 bits.
9131 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9132 bits.
9133
14bc93a9
JL
91342012-11-28 Jeff Law <law@redhat.com>
9135 Martin Osvald <mosvald@redhat.com>
9136
9137 [BZ #14889]
9138 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9139 * sunrpc/svc.c: Include time.h.
9140 (__svc_accept_failed): New function.
9141 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9142 any reason other than EINTR, call __svc_accept_failed.
9143 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9144 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9145
e3c6aa3a
AS
91462012-11-28 Andreas Schwab <schwab@suse.de>
9147
9148 * scripts/abilist.awk: Also handle indirect functions in .opd
9149 section.
9150
1bead169
JM
91512012-11-28 Joseph Myers <joseph@codesourcery.com>
9152
9153 [BZ #13881]
9154 * sysdeps/x86/fpu/powl_helper.c: New file.
9155 * sysdeps/x86/fpu/Makefile: Likewise.
9156 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9157 (p3): New object.
9158 (__ieee754_powl): Use __powl_helper for finite arguments except
9159 integer exponents below 8.
9160 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9161 (p3): New object.
9162 (__ieee754_powl): Use __powl_helper for finite arguments except
9163 integer exponents below 8.
9164 * math/libm-test.inc (pow_test): Add more tests and enable some
9165 previously disabled tests.
9166 * sysdeps/i386/fpu/libm-test-ulps: Update.
9167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9168
0817d63d
SP
91692012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9170 Carlos O'Donell <carlos_odonell@mentor.com>
9171
9172 * nss/makedb.c (is_prime): Assert that input is odd and greater
9173 than 4. Note that fact in a comment too.
9174 (next_prime): Add 4 to input.
9175
de2fd463
SP
91762012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9177
9178 [BZ #11741]
9179 * libio/Makefile (tests): Add test case tst-fwrite-error.
9180 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9181 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9182 * libio/tst-fwrite-error.c: New test case.
9183
c515fb51
L
91842012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9185
9186 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9187 before casting to void *.
9188 * include/libc-internal.h (__pointer_type): New macro.
9189 (__integer_if_pointer_type_sub): Likewise.
9190 (__integer_if_pointer_type): Likewise.
9191 (cast_to_integer): Likewise.
9192 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9193 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9194 before casting to atomic64_t.
9195 (atomic_exchange_acq): Likewise.
9196 (__arch_exchange_and_add_body): Likewise.
9197 (__arch_add_body): Likewise.
9198 (atomic_add_negative): Likewise.
9199 (atomic_add_zero): Likewise.
9200
4cf77aa9
JM
92012012-11-26 Joseph Myers <joseph@codesourcery.com>
9202
9203 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9204 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9205 (add_fdes): Likewise.
9206 (linear_search_fdes): Likewise.
9207 (binary_search_unencoded_fdes): Likewise.
9208
d260b3b4
AS
92092012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9212
67060746
AC
92132012-11-24 Adam Conrad <adconrad@0c3.net>
9214
9215 * configure.in: Autodetect C++ header directories.
9216 * configure: Regenerated.
9217
800938a1
MF
92182012-11-23 Mike Frysinger <vapier@gentoo.org>
9219
9220 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9221
4e6e34e6
AS
92222012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9223
9224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9225
7c7feb47
JM
92262012-11-22 Joseph Myers <joseph@codesourcery.com>
9227
7184dcdf
JM
9228 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9229 LDBL_MANT_DIG == 106]: Disable some tests.
9230 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9231 Likewise.
9232 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9233 Likewise.
9234
0a42601f
JM
9235 [BZ #14871]
9236 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9237 input for small inputs. Return +/- pi/2 for large inputs.
9238 * math/libm-test.inc (atan_test): Add more tests.
9239
79c9b9fe
JM
9240 * sysdeps/generic/unwind-dw2-fde-glibc.c
9241 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9242 __attribute__ ((unused)).
9243
c60d3bf2
JM
9244 [BZ #14645]
9245 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9246 x * y if x and y are nonzero and z is zero.
9247
ef1e0867
JM
9248 [BZ #14811]
9249 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9250 nonzero exponents with absolute value below 0x1p-117 to +/-
9251 0x1p-117.
9252
1468ded3
JM
9253 [BZ #14869]
9254 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9255 up arguments below 2**-450, not just those below 2**-500.
9256 * math/libm-test.inc (hypot_test): Add another test.
9257
8e27e3cc
JM
9258 [BZ #14868]
9259 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9260 Return a+b for ratio over 2**120, not 2**60.
9261 * math/libm-test.inc (hypot_test): Add another test.
9262
c9c0279b
JM
9263 * math/libm-test.inc (clog_test): Use
9264 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9265 (clog10_test): Likewise.
9266
7c7feb47
JM
9267 [BZ #6778]
9268 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9269
fff1530e
AS
92702012-11-22 Andreas Schwab <schwab@suse.de>
9271
9272 * sysdeps/i386/fpu/libm-test-ulps: Update.
9273
94558d30
PT
92742012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9275
9276 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9277 printf output with newline.
9278
7e1be741
L
92792012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9280
6bfea974
L
9281 [BZ #14865]
9282 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9283 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9284 -z nodlopen, -z initfirst and -z execstack support.
9285 * configure: Regenerated.
9286
7e1be741
L
9287 * elf/elf.h (DF_1_NODIRECT): New macro.
9288 (DF_1_IGNMULDEF): Likewise.
9289 (DF_1_NOKSYMS): Likewise.
9290 (DF_1_NOHDR): Likewise.
9291 (DF_1_EDITED): Likewise.
9292 (DF_1_NORELOC): Likewise.
9293 (DF_1_SYMINTPOSE): Likewise.
9294 (DF_1_GLOBAUDIT): Likewise.
9295 (DF_1_SINGLETON): Likewise.
9296 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9297 DT_1_SUPPORTED_MASK bits.
9298 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9299
105ce2ce
CD
93002012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9301
9302 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9303
123be9de
TS
93042012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9305
d072f3f7
TS
9306 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9307 macro.
9308
123be9de
TS
9309 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9310 (sendmmsg): Move declarations...
9311 * socket/sys/socket.h: ... here.
9312 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9313 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9314 include it from...
9315 * socket/recvmmsg.c: ... this new file.
9316 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9317 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9318 definition of __sendmmsg hidden.
9319 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9320 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9321 Move ENOSYS stub into and include it from...
9322 * socket/sendmmsg.c: ... this new file.
9323 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9324 (sysdep_routines): Move recvmmsg and sendmmsg...
9325 * socket/Makefile (routines): ... here.
9326 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9327 (GLIBC_PRIVATE): Add __sendmmsg.
9328 * include/sys/socket.h (__sendmmsg): Add declarations.
9329 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9330 sendmmsg.
9331
cf9a5d18
JM
93322012-11-20 Joseph Myers <joseph@codesourcery.com>
9333
9334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9335 variable I1 with __attribute__ ((unused)).
9336 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9337
ecd4caf9
JM
93382012-11-19 Joseph Myers <joseph@codesourcery.com>
9339
be14d48f
JM
9340 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9341 DUMMY variables with __attribute__ ((unused)).
9342
ecd4caf9
JM
9343 * bits/byteswap.h: Include <bits/types.h>.
9344 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9345
986cab95
PT
93462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9347
9348 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9349 string_t. Do not manually set errno.
9350 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9351 length with __strnlen. Make sure to both set errno and return it on
9352 failure.
9353
6d33cc9d
DM
93542012-11-19 David S. Miller <davem@davemloft.net>
9355
9356 With help from Joseph Myers.
9357 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9358 very large arguments properly.
9359 * math/libm-test.inc (atan_test): New tests.
9360 (atan2_test): New tests.
9361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9363
ee663277
JM
93642012-11-19 Joseph Myers <joseph@codesourcery.com>
9365
877f2d8e
JM
9366 [BZ #14856]
9367 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9368 Define to 3.
9369
116fc08a
JM
9370 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9371 [POSIX] (EADDRNOTAVAIL): Likewise.
9372 [POSIX] (EAFNOSUPPORT): Likewise.
9373 [POSIX] (EALREADY): Likewise.
9374 [POSIX] (ECONNABORTED): Likewise.
9375 [POSIX] (ECONNREFUSED): Likewise.
9376 [POSIX] (ECONNRESET): Likewise.
9377 [POSIX] (EDESTADDRREQ): Likewise.
9378 [POSIX] (EDQUOT): Likewise.
9379 [POSIX] (EHOSTUNREACH): Likewise.
9380 [POSIX] (EIDRM): Likewise.
9381 [POSIX] (EISCONN): Likewise.
9382 [POSIX] (ELOOP): Likewise.
9383 [POSIX] (EMULTIHOP): Likewise.
9384 [POSIX] (ENETDOWN): Likewise.
9385 [POSIX] (ENETUNREACH): Likewise.
9386 [POSIX] (ENOBUFS): Likewise.
9387 [POSIX] (ENODATA): Likewise.
9388 [POSIX] (ENOLINK): Likewise.
9389 [POSIX] (ENOMSG): Likewise.
9390 [POSIX] (ENOPROTOOPT): Likewise.
9391 [POSIX] (ENOSR): Likewise.
9392 [POSIX] (ENOSTR): Likewise.
9393 [POSIX] (ENOTCONN): Likewise.
9394 [POSIX] (ENOTSOCK): Likewise.
9395 [POSIX] (EOPNOTSUPP): Likewise.
9396 [POSIX] (EOVERFLOW): Likewise.
9397 [POSIX] (EPROTO): Likewise.
9398 [POSIX] (EPROTONOSUPPORT): Likewise.
9399 [POSIX] (EPROTOTYPE): Likewise.
9400 [POSIX] (ESTALE): Likewise.
9401 [POSIX] (ETIME): Likewise.
9402 [POSIX] (ETXTBSY): Likewise.
9403 [POSIX] (EWOULDBLOCK): Likewise.
9404 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9405 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9406 [POSIX] (SEEK_CUR): Likewise.
9407 [POSIX] (SEEK_END): Likewise.
9408 [POSIX || UNIX98] (mode_t): Do not require.
9409 [POSIX] (off_t): Likewise.
9410 [POSIX] (pid_t): Likewise.
9411 [POSIX] (sys/stat.h): Do not allow header.
9412 [POSIX] (unistd.h): Likewise.
9413 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9414 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9415 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9416 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9417 require.
9418 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9419 sigevent): Specify elements.
9420 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9421 entry.
9422 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9423 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9424
a483863f
JM
9425 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9426 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9427 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9428 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9429 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9430 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9431 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9432 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9433 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9434 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9435 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9436 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9437 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9438 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9439 Likewise.
9440 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9441 Likewise.
9442 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9443 Likewise.
9444 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9445 Likewise.
9446 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9447 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9448 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9449 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9450 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9451 Specify lower bound on value.
9452 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9453 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9454 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9455 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9456 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9457 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9458 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9459 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9460 value.
9461 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9462 as optional.
9463 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9464 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9465 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9466 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9477 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9478 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9479 entry.
9480 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9481 optional.
9482 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9485 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9486 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9487 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9488 Likewise.
9489 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9494 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9495 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9496 as optional.
9497 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9501 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9502 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9503 specify as optional.
9504 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9507 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9508 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9509 [XPG3] (NL_LANGMAX): Likewise.
9510 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9511 [POSIX || XPG3] (NL_NMAX): Likewise.
9512 [POSIX || XPG3] (NL_SETMAX): Likewise.
9513 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9514 [XPG3] (NZERO): Likewise.
9515 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9516 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9517 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9518 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9519 (REG_ERANGE): Expect.
9520 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9521 optional-constant.
9522 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9523 Use (void) in prototype.
9524 [POSIX] (*_t): Allow.
9525 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9526 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9527 (WRDE_BADVAL): Expect.
9528
5ba924e3
JM
9529 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9530 expect.
9531 [XPG3 || XPG4] (O_RSYNC): Likewise.
9532 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9533 Likewise.
9534 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9535 [XPG3 || XPG4] (sigqueue): Likewise.
9536 [XPG3 || XPG4] (sigtimedwait): Likewise.
9537 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9538 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9539 [XPG3 || XPG4] (vsnprintf): Likewise.
9540 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9541 Likewise.
9542 [XPG3 || XPG4] (blksize_t): Likewise.
9543 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9544 Likewise.
9545 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9546 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9547 [XPG3 || XPG4] (struct itimerspec): Likewise.
9548 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9549 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9550 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9551 [XPG3 || XPG4] (clockid_t): Likewise.
9552 [XPG3 || XPG4] (timer_t): Likewise.
9553 [XPG3 || XPG4] (clock_getres): Likewise.
9554 [XPG3 || XPG4] (clock_gettime): Likewise.
9555 [XPG3 || XPG4] (clock_settime): Likewise.
9556 [XPG3 || XPG4] (nanosleep): Likewise.
9557 [XPG3 || XPG4] (timer_create): Likewise.
9558 [XPG3 || XPG4] (timer_delete): Likewise.
9559 [XPG3 || XPG4] (timer_gettime): Likewise.
9560 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9561 [XPG3 || XPG4] (timer_settime): Likewise.
9562 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9563 [XPG3 || XPG4] (getlogin_r): Likewise.
9564 [XPG3 || XPG4] (pread): Likewise.
9565 [XPG3 || XPG4] (pthread_atfork): Likewise.
9566 [XPG3 || XPG4] (pwrite): Likewise.
9567
ee663277
JM
9568 [BZ #14835]
9569 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9570 <bits/siginfo.h>.
9571
942caa16
PT
95722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9573
e19af380
PT
9574 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9575 finalizing MALLSTREAM.
9576
942caa16
PT
9577 * sysdeps/mach/hurd/syncfs.c: New file.
9578
cfde9b46
SP
95792012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9580
9581 [BZ #14719]
9582 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9583 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9584 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9585 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9586 (_nss_dns_gethostbyname4_r): Likewise.
9587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9588 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9589
f6da27e5
PH
95902012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9591
9592 [BZ #13763]
9593 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9594
6665d4a2
SM
95952012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9596
1f51ee92
SM
9597 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9598 * elf/cache.c (print_entry): Print ",AArch64" for
9599 FLAG_AARCH64_LIB64
9600
6665d4a2
SM
9601 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9602 * elf/cache.c (print_entry): Print ",hard-float" for
9603 FLAG_ARM_LIBHF.
9604
05b227bd
DM
96052012-11-18 David S. Miller <davem@davemloft.net>
9606
9607 With help from Joseph Myers.
9608 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9609 cutoff to 2**-13.
9610 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9611 cutoff to 2**-25.
9612 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9613 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9614 small.
9615 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9616 * math/libm-test.inc (y0_test): New tests.
9617 (y1_test): New tests.
9618 * sysdeps/i386/fpu/libm-test-ulps: Update.
9619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9621
786b0b67
AS
96222012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9623
9624 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9625 64-bit targets.
9626 * configure: Regenerated.
9627
8e18b86d
DM
96282012-11-17 David S. Miller <davem@davemloft.net>
9629
9630 [BZ #14811]
9631 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9632 nonzero exponents with absolute value below 0x1p-128 to +/-
9633 0x1p-128.
9634
531f1ae0
JM
96352012-11-17 Joseph Myers <joseph@codesourcery.com>
9636
12df29e2
JM
9637 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9638
150dc1a0
JM
9639 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9640
531f1ae0
JM
9641 * posix/getconf-speclist.c: New file.
9642 * posix/posix-envs.def: Likewise.
9643 * posix/confstr.c (START_ENV_GROUP): New macro.
9644 (END_ENV_GROUP): Likewise.
9645 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9646 (KNOWN_PRESENT_ENV_STRING): Likewise.
9647 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9648 (UNKNOWN_ENVIRONMENT): Likewise.
9649 (confstr): Include posix-envs.def instead of handling
9650 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9651 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9652 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9653 (END_ENV_GROUP): Likewise.
9654 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9655 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9656 (UNKNOWN_ENVIRONMENT): Likewise.
9657 (__sysconf): Include posix-envs.def instead of handling associated
9658 cases directly here.
9659 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9660 preprocessing getconf-speclist.c rather than running getconf or
9661 generating empty file.
9662
a93f9cbc
PT
96632012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9664
9665 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9666
d64d9f87
AL
96672012-11-16 Andrej Lajovic <natrij@gmail.com>
9668
9669 [BZ #14672]
9670 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9671
447885eb
DM
96722012-11-16 David S. Miller <davem@davemloft.net>
9673
9674 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9675 smaller than LDBL_EPSILON/2.0L, just return xm1.
9676
bcbf9830
L
96772012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 * elf/tst-array1.c (init): Set constructor priority to 1000.
9680 (fini): Set destructor priority to 1000.
9681 * elf/tst-array2dep.c: Likewise.
9682
2b766585
SP
96832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9684
9685 [BZ #11741]
9686 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9687 (_IO_new_file_xsputn): Also return EOF if none of the input
9688 data was written when overflow failed.
9689 * libio/iopadn.c (_IO_padn): Likewise.
9690 * libio/iowpadn.c (_IO_wpadn): Likewise.
9691 * stdio-common/tst-put-error.c: Add copyright notice.
9692 (do_test): Add case for printing padded string.
9693 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9694 _IO_padn returned error.
9695 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9696 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9697 return EOF.
9698
b1848fde
SP
96992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9700
9701 * libio/libioP.h: Add comment note that the references to C++
9702 bits are now obsolete.
9703
2fd89785
MS
97042012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9705
9706 * math/libm-test.inc (check_complex): Use asprintf.
9707
e3ea5409
JM
97082012-11-14 Joseph Myers <joseph@codesourcery.com>
9709
9710 * debug/pcprofiledump.c (print_version): Update copyright year.
9711 * malloc/memusagestat.c (print_version): Likewise.
9712
2e64d265
L
97132012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9714
9715 [BZ #14831]
9716 * elf/Makefile (tests): Add tst-audit8.
9717 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9718 ($(objpfx)tst-audit8.out): New target.
9719 (tst-audit8-ENV): New variable.
9720 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9721 audit if l_reloc_result is NULL.
9722 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9723 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9724 * elf/tst-audit8.c: New file.
9725
c485e4d2
MS
97262012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9727
9728 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9729 * misc/Makefile (CFLAGS-select.c): Define.
9730 * posix/Makefile (CFLAGS-pause.c): Define.
9731
3a0d900a
DM
97322012-11-13 David S. Miller <davem@davemloft.net>
9733
9734 * crypt/Makefile: Move test targets after toplevel Rules
9735 inclusion. Grab any necessary sysdep routines when linking.
9736 * crypt/md5.c (md5_process_block): Remove define, we will always
9737 name it __md5_process_block.
9738 (md5_finish_ctx): Update md5_process_block call.
9739 (md5_stream): Likewise.
9740 (md5_process_bytes): Likewise.
9741 (md5_process_block): Rename to __md5_process_block and move to ...
9742 * crypt/md5-block.c: ... here.
9743 * crypt/sha256.c (sha256_process_block): Move to ...
9744 * crypt/sha256-block.c: ... here.
9745 * crypt/sha512.c (sha512_process_block): Move to ...
9746 * crypt/sha512-block.c: ... here.
9747 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9748 path.
9749 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9750 * sysdeps/sparc/sparc64/multiarch/Makefile
9751 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9752 crypt subdir.
9753 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9754 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9755 multiarch changes.
9756 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9757 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9758 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9759 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9760 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9761 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9762 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9763 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9764 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9765 file.
9766 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9767 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9768 file.
9769 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9770
8ca89318
JM
97712012-11-13 Joseph Myers <joseph@codesourcery.com>
9772
e27d476a
JM
9773 * timezone/tzselect.ksh: Update from tzcode git revision
9774 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9775 * timezone/zdump.c: Likewise.
9776 * timezone/zic.c: Likewise.
9777 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9778 in TZVERSION setting, not $(PKGVERSION).
9779 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9780 REPORT_BUGS_TO settings.
9781
8ca89318
JM
9782 [BZ #14838]
9783 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9784 macro.
9785
47594329
MS
97862012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9787
9788 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9789 detection to immediately after _FP_ROUND().
9790 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9791 bits are 0.
9792
640ac3f1
DM
97932012-11-11 David S. Miller <davem@davemloft.net>
9794
9795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9796 inttypes.h
9797 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9798 __close rather than their public counterparts.
9799
3d2577bb
JM
98002012-11-10 Joseph Myers <joseph@codesourcery.com>
9801
9802 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9803 file.
9804 [UNIX98] (sem_timedwait): Do not expect.
9805 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9806 [XPG4 || UNIX98] (sockatmark): Do not expect.
9807 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9808 (clock_getcpuclockid): Do not expect.
9809 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9810 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9811 Do not expect.
9812 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9813 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9814 [UNIX98] (vwscanf): Likewise.
9815 [UNIX98] (vswscanf): Likewise.
9816
fb1ae1ee
JM
98172012-11-09 Joseph Myers <joseph@codesourcery.com>
9818
9ec6f8bd
JM
9819 * timezone/version.h: Remove file.
9820 * timezone/README: Do not refer to version.h.
9821 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9822 $(objpfx)version.h.
9823 ($(objpfx)zdump.o): Likewise.
c3f81911 9824 ($(objpfx)version.h): New target.
9ec6f8bd 9825
0aa8f8a1
JM
9826 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9827 2012i.
9828 * timezone/README: Don't mention modification to tzselect.ksh.
9829 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9830 work on unmodified tzselect.ksh. Substitute version numbers in
9831 tzselect.ksh.
9832
4e87147f
JM
9833 * Makefile (format-me): Remove.
9834 (INSTALL): Adjust indentation. Use commands directly instead of
9835 using $(format-me).
9836
8b748aed
JM
9837 * aclocal.m4 (ACX_PKGVERSION): New macro.
9838 (ACX_BUGURL): Likewise.
9839 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9840 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9841 (REPORT_BUGS_TO): Likewise.
9842 * configure: Regenerated.
9843 * config.h.in (PKGVERSION): New macro.
9844 (REPORT_BUGS_TO): Likewise.
9845 * config.make.in (PKGVERSION): New variable.
9846 (PKGVERSION_TEXI): Likewise.
9847 (REPORT_BUGS_TO): Likewise.
9848 (REPORT_BUGS_TEXI): Likewise.
9849 * Makefile (format-me): Use -I$(common-objpfx)manual.
9850 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9851 ($(common-objpfx)manual/%): New target.
9852 (manual/%): Remove target.
9853 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9854 (print_version): Use PKGVERSION.
9855 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9856 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9857 and REPORT_BUGS_TO.
9858 ($(objpfx)xtrace): Likewise.
9859 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9860 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9861 (print_version): Use PKGVERSION.
9862 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9863 (do_version): Use PKGVERSION.
9864 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9865 REPORT_BUGS_TO.
9866 (common-ldd-rewrite): Likewise.
9867 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9868 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9869 (print_version): Use PKGVERSION.
9870 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9871 * elf/pldd.c (argp_program_bug_address): Remove variable.
9872 (more_help): New function.
9873 (argp): Use more_help.
9874 (print_version): Use PKGVERSION.
9875 * elf/sln.c (main): Use PKGVERSION.
9876 (usage): Use REPORT_BUGS_TO.
9877 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9878 (top level): Use PKGVERSION.
9879 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9880 (print_version): Use PKGVERSION.
9881 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9882 (print_version): Use PKGVERSION.
9883 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9884 (print_version): Use PKGVERSION.
9885 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9886 (print_version): Use PKGVERSION.
9887 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9888 (print_version): Use PKGVERSION.
9889 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9890 (print_version): Use PKGVERSION.
9891 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9892 and BUGURL.
9893 ($(objpfx)memusage): Likewise.
9894 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9895 (do_version): Use PKGVERSION.
9896 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9897 (print_version): Use PKGVERSION.
9898 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9899 ($PKGVERSION): New variable.
9900 ($REPORT_BUGS_TO): Likewise.
9901 (usage): Use $REPORT_BUGS_TO.
9902 (top level): Use $PKGVERSION.
9903 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9904 ($(objpfx)pkgvers.texi): New rule.
9905 ($(objpfx)stamp-pkgvers): Likewise.
9906 * manual/install.texi: Include pkgvers.texi.
9907 (--with-pkgversion): Document new configure option.
9908 (--with-bugurl): Likewise.
9909 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9910 than necessarily for this particular distribution. Use
9911 REPORT_BUGS_TO for where to report bugs.
9912 * INSTALL: Regenerated.
9913 * manual/libc.texinfo: Include pkgvers.texi.
9914 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9915 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9916 (print_version): Use PKGVERSION.
9917 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9918 (print_version): Use PKGVERSION.
9919 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9920 (print_version): Use PKGVERSION.
9921 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9922 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9923 macro.
9924 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9925 (print_version): Use PKGVERSION.
9926 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9927 (print_version): Use PKGVERSION.
9928 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9929 and PKGVERSION.
9930
92e4b6a9
JM
9931 * timezone/checktab.awk: Update from tzcode 2012i.
9932 * timezone/ialloc.c: Likewise.
9933 * timezone/private.h: Likewise.
9934 * timezone/scheck.c: Likewise.
9935 * timezone/tzfile.h: Likewise.
9936 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9937 (TZVERSION): Hardcode tzcode version number.
9938 * timezone/zdump.c: Update from tzcode 2012i.
9939 * timezone/zic.c: Likewise.
9940 * timezone/version.h: New file.
9941 * timezone/README: Describe version.h. Update upstream location.
9942
9bde902c
JM
9943 [BZ #14824]
9944 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9945 (mktemp): Enable declaration.
9946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9950 Likewise.
9951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9952 Likewise.
9953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9954 Likewise.
9955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9956 Likewise.
9957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9958 Likewise.
9959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9960 Likewise.
9961
fb1ae1ee
JM
9962 [BZ #14821]
9963 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9964 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9965 for copies of such integer values.
9966 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9967 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9968
2c1adbcb
AJ
99692012-11-09 Andreas Jaeger <aj@suse.de>
9970
9971 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9972 definitions and declarations that are provided by
9973 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9974
d0f8457e
AK
99752012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9976
3a235abb 9977 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9978 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9979 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9980 definition.
9981
57241e26
MS
99822012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9983
9984 * elf/elf.h: Update comment before AArch64 relocations.
9985
60e8270d
DM
99862012-11-07 David S. Miller <davem@davemloft.net>
9987
9988 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9989 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9990 (__start_context): Declare.
9991 (__makecontext_ret): Delete.
9992 (__makecontext): Hook up __start_context instead of
9993 __makecontext_ret.
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9995 (sysdep_routines): Add __start_context when in stdlib.
9996
0fbb0fbc
JM
99972012-11-07 Joseph Myers <joseph@codesourcery.com>
9998
9999 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10000 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10001 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10002 hardcoded "nm".
10003 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10004 (READELF): New variable. Use it instead of hardcoded "readelf".
10005
eb48db7e
L
100062012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10007
10008 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10009 * sysdeps/x86/Makefile: Here.
10010 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10011 * sysdeps/x86/tst-xmmymm.sh: This.
10012
05bcf62a
JM
100132012-11-07 Joseph Myers <joseph@codesourcery.com>
10014
c4b6cf53
JM
10015 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10016 expectations.
10017 [UNIX98] (pthread_barrier_t): Do not expect.
10018 [UNIX98] (pthread_barrierattr_t): Likewise.
10019 [UNIX98] (pthread_spinlock_t): Likewise.
10020 [UNIX98] (pthread_barrier_destroy): Likewise.
10021 [UNIX98] (pthread_barrier_init): Likewise.
10022 [UNIX98] (pthread_barrier_wait): Likewise.
10023 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10024 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10025 [UNIX98] (pthread_barrierattr_init): Likewise.
10026 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10027 [UNIX98] (pthread_getcpuclockid): Likewise.
10028 [UNIX98] (pthread_mutex_timedlock): Likewise.
10029 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10030 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10031 [UNIX98] (pthread_sigmask): Likewise.
10032 [UNIX98] (pthread_spin_destroy): Likewise.
10033 [UNIX98] (pthread_spin_init): Likewise.
10034 [UNIX98] (pthread_spin_lock): Likewise.
10035 [UNIX98] (pthread_spin_trylock): Likewise.
10036 [UNIX98] (pthread_spin_unlock): Likewise.
10037 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10038 Do not expect.
10039 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10040 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10041 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10042 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10043 [XPG3 || XPG4] (pthread_key_t): Likewise.
10044 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10045 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10046 [XPG3 || XPG4] (pthread_once_t): Likewise.
10047 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10048 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10049 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10050 [XPG3 || XPG4] (pthread_t): Likewise.
10051
cbe6e120
JM
10052 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10053 not expect.
10054 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10055
1b126443
JM
10056 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10057 Change function return type to int.
10058
b961a573
JM
10059 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10060 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10061 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10062 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10063 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10064 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10065 [!POSIX] (posix_madvise): Likewise.
10066 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10067 && !UNIX98].
10068 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10069 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10070 (mode_t): Likewise.
10071 (posix_mem_offset): Likewise.
10072 (posix_typed_mem_get_info): Likewise.
10073 (posix_typed_mem_open): Likewise.
10074
9e188909
JM
10075 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10076 Change condition to [XOPEN2K8].
10077
05bcf62a
JM
10078 * conform/conformtest.pl: Preprocess allow-header data with -x c
10079 instead of from stdin.
10080 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10081 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10082 [C99-based standards] (cerfc): Likewise.
10083 [C99-based standards] (cexp2): Likewise.
10084 [C99-based standards] (cexpm1): Likewise.
10085 [C99-based standards] (clog10): Likewise.
10086 [C99-based standards] (clog1p): Likewise.
10087 [C99-based standards] (clog2): Likewise.
10088 [C99-based standards] (clgamma): Likewise.
10089 [C99-based standards] (ctgamma): Likewise.
10090 [C99-based standards] (cerff): Likewise.
10091 [C99-based standards] (cerfcf): Likewise.
10092 [C99-based standards] (cexp2f): Likewise.
10093 [C99-based standards] (cexpm1f): Likewise.
10094 [C99-based standards] (clog10f): Likewise.
10095 [C99-based standards] (clog1pf): Likewise.
10096 [C99-based standards] (clog2f): Likewise.
10097 [C99-based standards] (clgammaf): Likewise.
10098 [C99-based standards] (ctgammaf): Likewise.
10099 [C99-based standards] (cerfl): Likewise.
10100 [C99-based standards] (cerfcl): Likewise.
10101 [C99-based standards] (cexp2l): Likewise.
10102 [C99-based standards] (cexpm1l): Likewise.
10103 [C99-based standards] (clog10l): Likewise.
10104 [C99-based standards] (clog1pl): Likewise.
10105 [C99-based standards] (clog2l): Likewise.
10106 [C99-based standards] (clgammal): Likewise.
10107 [C99-based standards] (ctgammal): Likewise.
10108 * conform/data/inttypes.h-data [C99-based standards]: Include
10109 stdint.h-data. Remove all expectations for stdint.h contents.
10110 [C99-based standards] (PRI*): Do not allow.
10111 [C99-based standards] (SCN*): Likewise.
10112 [C99-based standards] (*_t): Likewise.
10113 [C99-based-standards] (PRId8): Expect macro.
10114 [C99-based-standards] (PRIi8): Likewise.
10115 [C99-based-standards] (PRIo8): Likewise.
10116 [C99-based-standards] (PRIu8): Likewise.
10117 [C99-based-standards] (PRIx8): Likewise.
10118 [C99-based-standards] (PRIX8): Likewise.
10119 [C99-based-standards] (SCNd8): Likewise.
10120 [C99-based-standards] (SCNi8): Likewise.
10121 [C99-based-standards] (SCNo8): Likewise.
10122 [C99-based-standards] (SCNu8): Likewise.
10123 [C99-based-standards] (SCNx8): Likewise.
10124 [C99-based-standards] (PRIdLEAST8): Likewise.
10125 [C99-based-standards] (PRIiLEAST8): Likewise.
10126 [C99-based-standards] (PRIoLEAST8): Likewise.
10127 [C99-based-standards] (PRIuLEAST8): Likewise.
10128 [C99-based-standards] (PRIxLEAST8): Likewise.
10129 [C99-based-standards] (PRIXLEAST8): Likewise.
10130 [C99-based-standards] (SCNdLEAST8): Likewise.
10131 [C99-based-standards] (SCNiLEAST8): Likewise.
10132 [C99-based-standards] (SCNoLEAST8): Likewise.
10133 [C99-based-standards] (SCNuLEAST8): Likewise.
10134 [C99-based-standards] (SCNxLEAST8): Likewise.
10135 [C99-based-standards] (PRIdFAST8): Likewise.
10136 [C99-based-standards] (PRIiFAST8): Likewise.
10137 [C99-based-standards] (PRIoFAST8): Likewise.
10138 [C99-based-standards] (PRIuFAST8): Likewise.
10139 [C99-based-standards] (PRIxFAST8): Likewise.
10140 [C99-based-standards] (PRIXFAST8): Likewise.
10141 [C99-based-standards] (SCNdFAST8): Likewise.
10142 [C99-based-standards] (SCNiFAST8): Likewise.
10143 [C99-based-standards] (SCNoFAST8): Likewise.
10144 [C99-based-standards] (SCNuFAST8): Likewise.
10145 [C99-based-standards] (SCNxFAST8): Likewise.
10146 [C99-based-standards] (PRId16): Likewise.
10147 [C99-based-standards] (PRIi16): Likewise.
10148 [C99-based-standards] (PRIo16): Likewise.
10149 [C99-based-standards] (PRIu16): Likewise.
10150 [C99-based-standards] (PRIx16): Likewise.
10151 [C99-based-standards] (PRIX16): Likewise.
10152 [C99-based-standards] (SCNd16): Likewise.
10153 [C99-based-standards] (SCNi16): Likewise.
10154 [C99-based-standards] (SCNo16): Likewise.
10155 [C99-based-standards] (SCNu16): Likewise.
10156 [C99-based-standards] (SCNx16): Likewise.
10157 [C99-based-standards] (PRIdLEAST16): Likewise.
10158 [C99-based-standards] (PRIiLEAST16): Likewise.
10159 [C99-based-standards] (PRIoLEAST16): Likewise.
10160 [C99-based-standards] (PRIuLEAST16): Likewise.
10161 [C99-based-standards] (PRIxLEAST16): Likewise.
10162 [C99-based-standards] (PRIXLEAST16): Likewise.
10163 [C99-based-standards] (SCNdLEAST16): Likewise.
10164 [C99-based-standards] (SCNiLEAST16): Likewise.
10165 [C99-based-standards] (SCNoLEAST16): Likewise.
10166 [C99-based-standards] (SCNuLEAST16): Likewise.
10167 [C99-based-standards] (SCNxLEAST16): Likewise.
10168 [C99-based-standards] (PRIdFAST16): Likewise.
10169 [C99-based-standards] (PRIiFAST16): Likewise.
10170 [C99-based-standards] (PRIoFAST16): Likewise.
10171 [C99-based-standards] (PRIuFAST16): Likewise.
10172 [C99-based-standards] (PRIxFAST16): Likewise.
10173 [C99-based-standards] (PRIXFAST16): Likewise.
10174 [C99-based-standards] (SCNdFAST16): Likewise.
10175 [C99-based-standards] (SCNiFAST16): Likewise.
10176 [C99-based-standards] (SCNoFAST16): Likewise.
10177 [C99-based-standards] (SCNuFAST16): Likewise.
10178 [C99-based-standards] (SCNxFAST16): Likewise.
10179 [C99-based-standards] (PRId32): Likewise.
10180 [C99-based-standards] (PRIi32): Likewise.
10181 [C99-based-standards] (PRIo32): Likewise.
10182 [C99-based-standards] (PRIu32): Likewise.
10183 [C99-based-standards] (PRIx32): Likewise.
10184 [C99-based-standards] (PRIX32): Likewise.
10185 [C99-based-standards] (SCNd32): Likewise.
10186 [C99-based-standards] (SCNi32): Likewise.
10187 [C99-based-standards] (SCNo32): Likewise.
10188 [C99-based-standards] (SCNu32): Likewise.
10189 [C99-based-standards] (SCNx32): Likewise.
10190 [C99-based-standards] (PRIdLEAST32): Likewise.
10191 [C99-based-standards] (PRIiLEAST32): Likewise.
10192 [C99-based-standards] (PRIoLEAST32): Likewise.
10193 [C99-based-standards] (PRIuLEAST32): Likewise.
10194 [C99-based-standards] (PRIxLEAST32): Likewise.
10195 [C99-based-standards] (PRIXLEAST32): Likewise.
10196 [C99-based-standards] (SCNdLEAST32): Likewise.
10197 [C99-based-standards] (SCNiLEAST32): Likewise.
10198 [C99-based-standards] (SCNoLEAST32): Likewise.
10199 [C99-based-standards] (SCNuLEAST32): Likewise.
10200 [C99-based-standards] (SCNxLEAST32): Likewise.
10201 [C99-based-standards] (PRIdFAST32): Likewise.
10202 [C99-based-standards] (PRIiFAST32): Likewise.
10203 [C99-based-standards] (PRIoFAST32): Likewise.
10204 [C99-based-standards] (PRIuFAST32): Likewise.
10205 [C99-based-standards] (PRIxFAST32): Likewise.
10206 [C99-based-standards] (PRIXFAST32): Likewise.
10207 [C99-based-standards] (SCNdFAST32): Likewise.
10208 [C99-based-standards] (SCNiFAST32): Likewise.
10209 [C99-based-standards] (SCNoFAST32): Likewise.
10210 [C99-based-standards] (SCNuFAST32): Likewise.
10211 [C99-based-standards] (SCNxFAST32): Likewise.
10212 [C99-based-standards] (PRId64): Likewise.
10213 [C99-based-standards] (PRIi64): Likewise.
10214 [C99-based-standards] (PRIo64): Likewise.
10215 [C99-based-standards] (PRIu64): Likewise.
10216 [C99-based-standards] (PRIx64): Likewise.
10217 [C99-based-standards] (PRIX64): Likewise.
10218 [C99-based-standards] (SCNd64): Likewise.
10219 [C99-based-standards] (SCNi64): Likewise.
10220 [C99-based-standards] (SCNo64): Likewise.
10221 [C99-based-standards] (SCNu64): Likewise.
10222 [C99-based-standards] (SCNx64): Likewise.
10223 [C99-based-standards] (PRIdLEAST64): Likewise.
10224 [C99-based-standards] (PRIiLEAST64): Likewise.
10225 [C99-based-standards] (PRIoLEAST64): Likewise.
10226 [C99-based-standards] (PRIuLEAST64): Likewise.
10227 [C99-based-standards] (PRIxLEAST64): Likewise.
10228 [C99-based-standards] (PRIXLEAST64): Likewise.
10229 [C99-based-standards] (SCNdLEAST64): Likewise.
10230 [C99-based-standards] (SCNiLEAST64): Likewise.
10231 [C99-based-standards] (SCNoLEAST64): Likewise.
10232 [C99-based-standards] (SCNuLEAST64): Likewise.
10233 [C99-based-standards] (SCNxLEAST64): Likewise.
10234 [C99-based-standards] (PRIdFAST64): Likewise.
10235 [C99-based-standards] (PRIiFAST64): Likewise.
10236 [C99-based-standards] (PRIoFAST64): Likewise.
10237 [C99-based-standards] (PRIuFAST64): Likewise.
10238 [C99-based-standards] (PRIxFAST64): Likewise.
10239 [C99-based-standards] (PRIXFAST64): Likewise.
10240 [C99-based-standards] (SCNdFAST64): Likewise.
10241 [C99-based-standards] (SCNiFAST64): Likewise.
10242 [C99-based-standards] (SCNoFAST64): Likewise.
10243 [C99-based-standards] (SCNuFAST64): Likewise.
10244 [C99-based-standards] (SCNxFAST64): Likewise.
10245 [C99-based-standards] (PRIdMAX): Likewise.
10246 [C99-based-standards] (PRIiMAX): Likewise.
10247 [C99-based-standards] (PRIoMAX): Likewise.
10248 [C99-based-standards] (PRIuMAX): Likewise.
10249 [C99-based-standards] (PRIxMAX): Likewise.
10250 [C99-based-standards] (PRIXMAX): Likewise.
10251 [C99-based-standards] (SCNdMAX): Likewise.
10252 [C99-based-standards] (SCNiMAX): Likewise.
10253 [C99-based-standards] (SCNoMAX): Likewise.
10254 [C99-based-standards] (SCNuMAX): Likewise.
10255 [C99-based-standards] (SCNxMAX): Likewise.
10256 [C99-based-standards] (PRIdPTR): Likewise.
10257 [C99-based-standards] (PRIiPTR): Likewise.
10258 [C99-based-standards] (PRIoPTR): Likewise.
10259 [C99-based-standards] (PRIuPTR): Likewise.
10260 [C99-based-standards] (PRIxPTR): Likewise.
10261 [C99-based-standards] (PRIXPTR): Likewise.
10262 [C99-based-standards] (SCNdPTR): Likewise.
10263 [C99-based-standards] (SCNiPTR): Likewise.
10264 [C99-based-standards] (SCNoPTR): Likewise.
10265 [C99-based-standards] (SCNuPTR): Likewise.
10266 [C99-based-standards] (SCNxPTR): Likewise.
10267 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10268 allow.
10269 * conform/data/stdint.h-data: Update comments to clarify
10270 requirements.
10271 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10272 type.
10273 [C99-based standards] (INT8_MAX): Likewise.
10274 [C99-based standards] (INT16_MIN): Likewise.
10275 [C99-based standards] (INT16_MAX): Likewise.
10276 [C99-based standards] (INT32_MIN): Likewise.
10277 [C99-based standards] (INT32_MAX): Likewise.
10278 [C99-based standards] (INT64_MIN): Likewise.
10279 [C99-based standards] (INT64_MAX): Likewise.
10280 [C99-based standards] (UINT8_MAX): Likewise.
10281 [C99-based standards] (UINT16_MAX): Likewise.
10282 [C99-based standards] (UINT32_MAX): Likewise.
10283 [C99-based standards] (UINT64_MAX): Likewise.
10284 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10285 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10286 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10287 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10288 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10289 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10290 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10291 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10292 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10293 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10294 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10295 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10296 [C99-based standards] (INT_FAST8_MIN): Likewise.
10297 [C99-based standards] (INT_FAST8_MAX): Likewise.
10298 [C99-based standards] (INT_FAST16_MIN): Likewise.
10299 [C99-based standards] (INT_FAST16_MAX): Likewise.
10300 [C99-based standards] (INT_FAST32_MIN): Likewise.
10301 [C99-based standards] (INT_FAST32_MAX): Likewise.
10302 [C99-based standards] (INT_FAST64_MIN): Likewise.
10303 [C99-based standards] (INT_FAST64_MAX): Likewise.
10304 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10305 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10306 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10307 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10308 [C99-based standards] (INTPTR_MIN): Likewise.
10309 [C99-based standards] (INTPTR_MAX): Likewise.
10310 [C99-based standards] (UINTPTR_MAX): Likewise.
10311 [C99-based standards] (INTMAX_MIN): Likewise.
10312 [C99-based standards] (INTMAX_MAX): Likewise.
10313 [C99-based standards] (UINTMAX_MAX): Likewise.
10314 [C99-based standards] (PTRDIFF_MIN): Likewise.
10315 [C99-based standards] (PTRDIFF_MAX): Likewise.
10316 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10317 [C99-based standards] (SIZE_MAX): Likewise.
10318 [C99-based standards] (WCHAR_MAX): Likewise.
10319 [C99-based standards] (WINT_MAX): Likewise.
10320 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10321 constraint on value.
10322 [C99-based standards] (WCHAR_MIN): Likewise.
10323 [C99-based standards] (WINT_MIN): Likewise.
10324 [C99-based standards] (*_t): Allow.
10325 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10326 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10327 Include math.h-data and complex.h-data. Remove all expectations
10328 of math.h and complex.h contents.
10329 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10330 at end of line.
10331 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10332 (struct tm): Expect tag.
10333 [C99-based-standards] (wcstof): Expect function.
10334 [C99-based-standards] (wcstold): Likewise.
10335 [C99-based-standards] (wcstoll): Likewise.
10336 [C99-based-standards] (wcstoull): Likewise.
10337 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10338 macro-int-constant. Specify type.
10339 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10340 constraint on value.
10341 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10342 Specify type.
10343 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10344 Specify value.
10345 [ISO C standards]: Do not allow headers.
10346 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10347 wcs[abcdefghijklmnopqrstuvwxyz]*.
10348 [ISO C standards] (*_t): Do not allow.
10349 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10350 Expect function.
10351 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10352 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10353 Specify type.
10354 [ISO C standards]: Do not allow headers.
10355 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10356 is[abcdefghijklmnopqrstuvwxyz]*.
10357 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10358 to[abcdefghijklmnopqrstuvwxyz]*.
10359 [ISO C standards] (*_t): Do not allow.
10360 * conform/data/stdalign.h-data: New file.
10361 * conform/data/stdbool.h-data: Likewise.
10362 * conform/data/stdnoreturn.h-data: Likewise.
10363
7514feb8
RM
103642012-11-07 Roland McGrath <roland@hack.frob.com>
10365
10366 [BZ #14815]
10367 * manual/filesys.texi (Directory Entries): Typo fix.
10368 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10369
19b2ecfc
MS
103702012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10371
10372 * elf/elf.h (EM_AARCH64): New macro.
10373 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10374 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10375 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10376 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10377 (R_AARCH64_TLSDESC): Likewise.
10378 (NT_ARM_TLS): Likewise.
10379 (NT_ARM_HW_BREAK): Likewise.
10380 (NT_ARM_HW_WATCH): Likewise.
10381
60e235ee
JM
103822012-11-07 Joseph Myers <joseph@codesourcery.com>
10383
10384 [BZ #14811]
10385 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10386 (__ieee754_powl): Saturate nonzero exponents with absolute value
10387 below 0x1p-79 to +/- 0x1p-79.
10388 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10389 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10390 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10391 nonzero exponents with absolute value below 0x1p-32 to +/-
10392 0x1p-32.
10393 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10394 (__ieee754_powl): Saturate nonzero exponents with absolute value
10395 below 0x1p-79 to +/- 0x1p-79.
10396 * math/libm-test.inc (pow_test): Add more tests.
10397
0ab234b7
AK
103982012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10399
10400 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10401 _dl_s390_cap_flags with kernel. Increase string length.
10402 (_dl_s390_platforms): Add z196 and zEC12.
10403
45832f74
JM
104042012-11-07 Joseph Myers <joseph@codesourcery.com>
10405
10406 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10407 Change XOPEN21K to XOPEN2K.
10408
19218757
MK
104092012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10410
10411 * string/memmove.c: Use memcpy when possible.
10412
c5f45721
AJ
104132012-11-06 Andreas Jaeger <aj@suse.de>
10414
10415 * po/eo.po: Update from translation team.
10416
82477c28
JM
104172012-11-06 Joseph Myers <joseph@codesourcery.com>
10418
10419 [BZ #14793]
10420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10421 exponent and small x and y exponents, scale x or y up. Increase
10422 by 2 the exponent used in scaling up.
10423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10425 * math/libm-test.inc (fma_test): Add more tests.
10426 (fma_test_towardzero): Likewise.
10427 (fma_test_downward): Likewise.
10428 (fma_test_upward): Likewise.
10429
99252c8c
JM
104302012-11-05 Joseph Myers <joseph@codesourcery.com>
10431
acfa885f
JM
10432 [BZ #14805]
10433 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10434 fenv_t *.
10435
99252c8c
JM
10436 [BZ #14801]
10437 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10438 namespace for names of struct fields.
10439 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10440 fenv_t fields.
10441 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10442 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10443
d6d98dea
ST
104442012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10445
10446 [BZ #3665]
10447 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10448
e10bb107
TS
104492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10450
10451 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10452 PTR_DEMANGLE.
10453
10454 [BZ #5246]
10455 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10456 PTR_DEMANGLE.
10457
a0c2940d
JM
104582012-11-04 Joseph Myers <joseph@codesourcery.com>
10459
10460 [BZ #14797]
10461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10462 definitely overflow as x * y not x * y + z.
10463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10465 * math/libm-test.inc (fma_test): Add more tests.
10466 (fma_test_towardzero): Likewise.
10467 (fma_test_downward): Likewise.
10468 (fma_test_upward): Likewise.
10469
b830319d
TS
104702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10471
10472 [BZ #157]
10473
10474 * include/stub-tag.h: Remove file.
10475 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10476 '#include' of it.
10477 * manual/maint.texi (Porting): Don't reference it.
10478 * Makerules ($(objpfx)stubs): Likewise.
10479 * dirent/closedir.c: Don't include <stub-tag.h>.
10480 * dirent/dirfd.c: Likewise.
10481 * dirent/fdopendir.c: Likewise.
10482 * dirent/getdents.c: Likewise.
10483 * dirent/getdents64.c: Likewise.
10484 * dirent/opendir.c: Likewise.
10485 * dirent/readdir.c: Likewise.
10486 * dirent/readdir64.c: Likewise.
10487 * dirent/readdir64_r.c: Likewise.
10488 * dirent/readdir_r.c: Likewise.
10489 * dirent/rewinddir.c: Likewise.
10490 * dirent/seekdir.c: Likewise.
10491 * dirent/telldir.c: Likewise.
10492 * gmon/profil.c: Likewise.
10493 * grp/setgroups.c: Likewise.
10494 * inet/if_index.c: Likewise.
10495 * io/access.c: Likewise.
10496 * io/chdir.c: Likewise.
10497 * io/chmod.c: Likewise.
10498 * io/chown.c: Likewise.
10499 * io/close.c: Likewise.
10500 * io/dup.c: Likewise.
10501 * io/dup2.c: Likewise.
10502 * io/dup3.c: Likewise.
10503 * io/euidaccess.c: Likewise.
10504 * io/faccessat.c: Likewise.
10505 * io/fchdir.c: Likewise.
10506 * io/fchmod.c: Likewise.
10507 * io/fchmodat.c: Likewise.
10508 * io/fchown.c: Likewise.
10509 * io/fchownat.c: Likewise.
10510 * io/fcntl.c: Likewise.
10511 * io/flock.c: Likewise.
10512 * io/fstatfs.c: Likewise.
10513 * io/fstatfs64.c: Likewise.
10514 * io/fstatvfs.c: Likewise.
10515 * io/fstatvfs64.c: Likewise.
10516 * io/futimens.c: Likewise.
10517 * io/fxstat.c: Likewise.
10518 * io/fxstat64.c: Likewise.
10519 * io/fxstatat.c: Likewise.
10520 * io/fxstatat64.c: Likewise.
10521 * io/getcwd.c: Likewise.
10522 * io/isatty.c: Likewise.
10523 * io/lchmod.c: Likewise.
10524 * io/lchown.c: Likewise.
10525 * io/link.c: Likewise.
10526 * io/linkat.c: Likewise.
10527 * io/lseek.c: Likewise.
10528 * io/lseek64.c: Likewise.
10529 * io/lxstat64.c: Likewise.
10530 * io/mkdir.c: Likewise.
10531 * io/mkdirat.c: Likewise.
10532 * io/mkfifo.c: Likewise.
10533 * io/mkfifoat.c: Likewise.
10534 * io/open.c: Likewise.
10535 * io/open64.c: Likewise.
10536 * io/openat.c: Likewise.
10537 * io/openat64.c: Likewise.
10538 * io/pipe.c: Likewise.
10539 * io/pipe2.c: Likewise.
10540 * io/poll.c: Likewise.
10541 * io/posix_fadvise.c: Likewise.
10542 * io/posix_fadvise64.c: Likewise.
10543 * io/posix_fallocate.c: Likewise.
10544 * io/posix_fallocate64.c: Likewise.
10545 * io/read.c: Likewise.
10546 * io/readlink.c: Likewise.
10547 * io/readlinkat.c: Likewise.
10548 * io/rmdir.c: Likewise.
10549 * io/sendfile.c: Likewise.
10550 * io/sendfile64.c: Likewise.
10551 * io/statfs.c: Likewise.
10552 * io/statfs64.c: Likewise.
10553 * io/statvfs.c: Likewise.
10554 * io/statvfs64.c: Likewise.
10555 * io/symlink.c: Likewise.
10556 * io/symlinkat.c: Likewise.
10557 * io/ttyname.c: Likewise.
10558 * io/ttyname_r.c: Likewise.
10559 * io/umask.c: Likewise.
10560 * io/unlink.c: Likewise.
10561 * io/unlinkat.c: Likewise.
10562 * io/utime.c: Likewise.
10563 * io/utimensat.c: Likewise.
10564 * io/write.c: Likewise.
10565 * io/xmknod.c: Likewise.
10566 * io/xmknodat.c: Likewise.
10567 * io/xstat.c: Likewise.
10568 * io/xstat64.c: Likewise.
10569 * login/getpt.c: Likewise.
10570 * login/grantpt.c: Likewise.
10571 * login/unlockpt.c: Likewise.
10572 * math/e_acoshl.c: Likewise.
10573 * math/e_acosl.c: Likewise.
10574 * math/e_asinl.c: Likewise.
10575 * math/e_atan2l.c: Likewise.
10576 * math/e_atanhl.c: Likewise.
10577 * math/e_coshl.c: Likewise.
10578 * math/e_expl.c: Likewise.
10579 * math/e_fmodl.c: Likewise.
10580 * math/e_gammal_r.c: Likewise.
10581 * math/e_hypotl.c: Likewise.
10582 * math/e_j0l.c: Likewise.
10583 * math/e_j1l.c: Likewise.
10584 * math/e_jnl.c: Likewise.
10585 * math/e_lgammal_r.c: Likewise.
10586 * math/e_log10l.c: Likewise.
10587 * math/e_log2l.c: Likewise.
10588 * math/e_logl.c: Likewise.
10589 * math/e_powl.c: Likewise.
10590 * math/e_rem_pio2l.c: Likewise.
10591 * math/e_sinhl.c: Likewise.
10592 * math/e_sqrtl.c: Likewise.
10593 * math/fclrexcpt.c: Likewise.
10594 * math/fedisblxcpt.c: Likewise.
10595 * math/feenablxcpt.c: Likewise.
10596 * math/fegetenv.c: Likewise.
10597 * math/fegetexcept.c: Likewise.
10598 * math/fegetround.c: Likewise.
10599 * math/feholdexcpt.c: Likewise.
10600 * math/fesetenv.c: Likewise.
10601 * math/fesetround.c: Likewise.
10602 * math/feupdateenv.c: Likewise.
10603 * math/fgetexcptflg.c: Likewise.
10604 * math/fraiseexcpt.c: Likewise.
10605 * math/fsetexcptflg.c: Likewise.
10606 * math/ftestexcept.c: Likewise.
10607 * math/k_cosl.c: Likewise.
10608 * math/k_rem_pio2l.c: Likewise.
10609 * math/k_sinl.c: Likewise.
10610 * math/k_tanl.c: Likewise.
10611 * math/s_asinhl.c: Likewise.
10612 * math/s_atanl.c: Likewise.
10613 * math/s_cbrtl.c: Likewise.
10614 * math/s_erfl.c: Likewise.
10615 * math/s_expm1l.c: Likewise.
10616 * math/s_log1pl.c: Likewise.
10617 * math/s_tanhl.c: Likewise.
10618 * misc/acct.c: Likewise.
10619 * misc/brk.c: Likewise.
10620 * misc/chflags.c: Likewise.
10621 * misc/chroot.c: Likewise.
10622 * misc/fchflags.c: Likewise.
10623 * misc/fgetxattr.c: Likewise.
10624 * misc/flistxattr.c: Likewise.
10625 * misc/fremovexattr.c: Likewise.
10626 * misc/fsetxattr.c: Likewise.
10627 * misc/fsync.c: Likewise.
10628 * misc/ftruncate.c: Likewise.
10629 * misc/futimes.c: Likewise.
10630 * misc/futimesat.c: Likewise.
10631 * misc/getdomain.c: Likewise.
10632 * misc/getdtsz.c: Likewise.
10633 * misc/gethostid.c: Likewise.
10634 * misc/gethostname.c: Likewise.
10635 * misc/getloadavg.c: Likewise.
10636 * misc/getpagesize.c: Likewise.
10637 * misc/getsysstats.c: Likewise.
10638 * misc/getxattr.c: Likewise.
10639 * misc/gtty.c: Likewise.
10640 * misc/ioctl.c: Likewise.
10641 * misc/lgetxattr.c: Likewise.
10642 * misc/listxattr.c: Likewise.
10643 * misc/llistxattr.c: Likewise.
10644 * misc/lremovexattr.c: Likewise.
10645 * misc/lsetxattr.c: Likewise.
10646 * misc/lutimes.c: Likewise.
10647 * misc/madvise.c: Likewise.
10648 * misc/mincore.c: Likewise.
10649 * misc/mlock.c: Likewise.
10650 * misc/mlockall.c: Likewise.
10651 * misc/mmap.c: Likewise.
10652 * misc/mprotect.c: Likewise.
10653 * misc/msync.c: Likewise.
10654 * misc/munlock.c: Likewise.
10655 * misc/munlockall.c: Likewise.
10656 * misc/munmap.c: Likewise.
10657 * misc/preadv.c: Likewise.
10658 * misc/preadv64.c: Likewise.
10659 * misc/ptrace.c: Likewise.
10660 * misc/pwritev.c: Likewise.
10661 * misc/pwritev64.c: Likewise.
10662 * misc/readv.c: Likewise.
10663 * misc/reboot.c: Likewise.
10664 * misc/remap_file_pages.c: Likewise.
10665 * misc/removexattr.c: Likewise.
10666 * misc/revoke.c: Likewise.
10667 * misc/select.c: Likewise.
10668 * misc/setdomain.c: Likewise.
10669 * misc/setegid.c: Likewise.
10670 * misc/seteuid.c: Likewise.
10671 * misc/sethostid.c: Likewise.
10672 * misc/sethostname.c: Likewise.
10673 * misc/setregid.c: Likewise.
10674 * misc/setreuid.c: Likewise.
10675 * misc/setxattr.c: Likewise.
10676 * misc/sstk.c: Likewise.
10677 * misc/stty.c: Likewise.
10678 * misc/swapoff.c: Likewise.
10679 * misc/swapon.c: Likewise.
10680 * misc/sync.c: Likewise.
10681 * misc/syncfs.c: Likewise.
10682 * misc/syscall.c: Likewise.
10683 * misc/truncate.c: Likewise.
10684 * misc/ualarm.c: Likewise.
10685 * misc/usleep.c: Likewise.
10686 * misc/ustat.c: Likewise.
10687 * misc/utimes.c: Likewise.
10688 * misc/vhangup.c: Likewise.
10689 * misc/writev.c: Likewise.
10690 * posix/_exit.c: Likewise.
10691 * posix/alarm.c: Likewise.
10692 * posix/execve.c: Likewise.
10693 * posix/fexecve.c: Likewise.
10694 * posix/fork.c: Likewise.
10695 * posix/fpathconf.c: Likewise.
10696 * posix/getaddrinfo.c: Likewise.
10697 * posix/getegid.c: Likewise.
10698 * posix/geteuid.c: Likewise.
10699 * posix/getgid.c: Likewise.
10700 * posix/getgroups.c: Likewise.
10701 * posix/getlogin.c: Likewise.
10702 * posix/getlogin_r.c: Likewise.
10703 * posix/getpgid.c: Likewise.
10704 * posix/getpid.c: Likewise.
10705 * posix/getppid.c: Likewise.
10706 * posix/getresgid.c: Likewise.
10707 * posix/getresuid.c: Likewise.
10708 * posix/getsid.c: Likewise.
10709 * posix/getuid.c: Likewise.
10710 * posix/glob64.c: Likewise.
10711 * posix/nanosleep.c: Likewise.
10712 * posix/pathconf.c: Likewise.
10713 * posix/pause.c: Likewise.
10714 * posix/posix_madvise.c: Likewise.
10715 * posix/pread.c: Likewise.
10716 * posix/pread64.c: Likewise.
10717 * posix/pwrite.c: Likewise.
10718 * posix/pwrite64.c: Likewise.
10719 * posix/sched_getaffinity.c: Likewise.
10720 * posix/sched_getp.c: Likewise.
10721 * posix/sched_gets.c: Likewise.
10722 * posix/sched_primax.c: Likewise.
10723 * posix/sched_primin.c: Likewise.
10724 * posix/sched_rr_gi.c: Likewise.
10725 * posix/sched_setaffinity.c: Likewise.
10726 * posix/sched_setp.c: Likewise.
10727 * posix/sched_sets.c: Likewise.
10728 * posix/sched_yield.c: Likewise.
10729 * posix/setgid.c: Likewise.
10730 * posix/setlogin.c: Likewise.
10731 * posix/setpgid.c: Likewise.
10732 * posix/setresgid.c: Likewise.
10733 * posix/setresuid.c: Likewise.
10734 * posix/setsid.c: Likewise.
10735 * posix/setuid.c: Likewise.
10736 * posix/sleep.c: Likewise.
10737 * posix/spawni.c: Likewise.
10738 * posix/sysconf.c: Likewise.
10739 * posix/times.c: Likewise.
10740 * posix/wait.c: Likewise.
10741 * posix/wait3.c: Likewise.
10742 * posix/wait4.c: Likewise.
10743 * posix/waitpid.c: Likewise.
10744 * resolv/gai_sigqueue.c: Likewise.
10745 * resource/getpriority.c: Likewise.
10746 * resource/getrlimit.c: Likewise.
10747 * resource/getrusage.c: Likewise.
10748 * resource/nice.c: Likewise.
10749 * resource/setpriority.c: Likewise.
10750 * resource/setrlimit.c: Likewise.
10751 * resource/ulimit.c: Likewise.
10752 * rt/aio_cancel.c: Likewise.
10753 * rt/aio_fsync.c: Likewise.
10754 * rt/aio_read.c: Likewise.
10755 * rt/aio_sigqueue.c: Likewise.
10756 * rt/aio_suspend.c: Likewise.
10757 * rt/aio_write.c: Likewise.
10758 * rt/clock_getres.c: Likewise.
10759 * rt/clock_gettime.c: Likewise.
10760 * rt/clock_nanosleep.c: Likewise.
10761 * rt/clock_settime.c: Likewise.
10762 * rt/lio_listio.c: Likewise.
10763 * rt/mq_close.c: Likewise.
10764 * rt/mq_getattr.c: Likewise.
10765 * rt/mq_notify.c: Likewise.
10766 * rt/mq_open.c: Likewise.
10767 * rt/mq_receive.c: Likewise.
10768 * rt/mq_send.c: Likewise.
10769 * rt/mq_setattr.c: Likewise.
10770 * rt/mq_timedreceive.c: Likewise.
10771 * rt/mq_timedsend.c: Likewise.
10772 * rt/mq_unlink.c: Likewise.
10773 * rt/shm_open.c: Likewise.
10774 * rt/shm_unlink.c: Likewise.
10775 * rt/timer_create.c: Likewise.
10776 * rt/timer_delete.c: Likewise.
10777 * rt/timer_getoverr.c: Likewise.
10778 * rt/timer_gettime.c: Likewise.
10779 * rt/timer_settime.c: Likewise.
10780 * setjmp/__longjmp.c: Likewise.
10781 * setjmp/setjmp.c: Likewise.
10782 * signal/kill.c: Likewise.
10783 * signal/killpg.c: Likewise.
10784 * signal/raise.c: Likewise.
10785 * signal/sigaction.c: Likewise.
10786 * signal/sigaltstack.c: Likewise.
10787 * signal/sigblock.c: Likewise.
10788 * signal/sigignore.c: Likewise.
10789 * signal/sigintr.c: Likewise.
10790 * signal/signal.c: Likewise.
10791 * signal/sigpause.c: Likewise.
10792 * signal/sigpending.c: Likewise.
10793 * signal/sigqueue.c: Likewise.
10794 * signal/sigreturn.c: Likewise.
10795 * signal/sigset.c: Likewise.
10796 * signal/sigsetmask.c: Likewise.
10797 * signal/sigstack.c: Likewise.
10798 * signal/sigsuspend.c: Likewise.
10799 * signal/sigtimedwait.c: Likewise.
10800 * signal/sigvec.c: Likewise.
10801 * signal/sigwait.c: Likewise.
10802 * signal/sigwaitinfo.c: Likewise.
10803 * signal/sysv_signal.c: Likewise.
10804 * socket/accept.c: Likewise.
10805 * socket/accept4.c: Likewise.
10806 * socket/bind.c: Likewise.
10807 * socket/connect.c: Likewise.
10808 * socket/getpeername.c: Likewise.
10809 * socket/getsockname.c: Likewise.
10810 * socket/getsockopt.c: Likewise.
10811 * socket/isfdtype.c: Likewise.
10812 * socket/listen.c: Likewise.
10813 * socket/recv.c: Likewise.
10814 * socket/recvfrom.c: Likewise.
10815 * socket/recvmsg.c: Likewise.
10816 * socket/send.c: Likewise.
10817 * socket/sendmsg.c: Likewise.
10818 * socket/sendto.c: Likewise.
10819 * socket/setsockopt.c: Likewise.
10820 * socket/shutdown.c: Likewise.
10821 * socket/sockatmark.c: Likewise.
10822 * socket/socket.c: Likewise.
10823 * socket/socketpair.c: Likewise.
10824 * stdio-common/ctermid.c: Likewise.
10825 * stdio-common/cuserid.c: Likewise.
10826 * stdio-common/remove.c: Likewise.
10827 * stdio-common/rename.c: Likewise.
10828 * stdio-common/renameat.c: Likewise.
10829 * stdio-common/tempname.c: Likewise.
10830 * stdlib/getcontext.c: Likewise.
10831 * stdlib/makecontext.c: Likewise.
10832 * stdlib/setcontext.c: Likewise.
10833 * stdlib/swapcontext.c: Likewise.
10834 * stdlib/system.c: Likewise.
10835 * streams/fattach.c: Likewise.
10836 * streams/fdetach.c: Likewise.
10837 * streams/getmsg.c: Likewise.
10838 * streams/getpmsg.c: Likewise.
10839 * streams/putmsg.c: Likewise.
10840 * streams/putpmsg.c: Likewise.
10841 * sysdeps/unix/bsd/getpt.c: Likewise.
10842 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10843 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10844 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10846 Likewise.
10847 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10848 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10849 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10850 * sysvipc/msgctl.c: Likewise.
10851 * sysvipc/msgget.c: Likewise.
10852 * sysvipc/msgrcv.c: Likewise.
10853 * sysvipc/msgsnd.c: Likewise.
10854 * sysvipc/semctl.c: Likewise.
10855 * sysvipc/semget.c: Likewise.
10856 * sysvipc/semop.c: Likewise.
10857 * sysvipc/semtimedop.c: Likewise.
10858 * sysvipc/shmat.c: Likewise.
10859 * sysvipc/shmctl.c: Likewise.
10860 * sysvipc/shmdt.c: Likewise.
10861 * sysvipc/shmget.c: Likewise.
10862 * termios/tcdrain.c: Likewise.
10863 * termios/tcflow.c: Likewise.
10864 * termios/tcflush.c: Likewise.
10865 * termios/tcgetattr.c: Likewise.
10866 * termios/tcgetpgrp.c: Likewise.
10867 * termios/tcsendbrk.c: Likewise.
10868 * termios/tcsetattr.c: Likewise.
10869 * termios/tcsetpgrp.c: Likewise.
10870 * time/adjtime.c: Likewise.
10871 * time/clock.c: Likewise.
10872 * time/getitimer.c: Likewise.
10873 * time/gettimeofday.c: Likewise.
10874 * time/setitimer.c: Likewise.
10875 * time/settimeofday.c: Likewise.
10876 * time/stime.c: Likewise.
10877 * time/time.c: Likewise.
10878
108792012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10880
a20492cf
PT
10881 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10882 /usr/old/bin.
10883
72e182e3
PT
10884 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10885 instead of spaces.
10886 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10887
fbeafede
JM
108882012-11-03 Joseph Myers <joseph@codesourcery.com>
10889
5b5b04d6
JM
10890 [BZ #14796]
10891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10892 FE_TONEAREST before applying Dekker multiplication and Knuth
10893 addition. Clear inexact exceptions and check for exact zero
10894 results afterwards.
10895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10896 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10898 * math/libm-test.inc (fma_test): Add more tests.
10899 (fma_test_towardzero): Likewise.
10900 (fma_test_downward): Likewise.
10901 (fma_test_upward): Likewise.
10902 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10903 function.
10904 (libc_fesetround): New macro.
10905 (libc_fesetroundf): Likewise.
10906 (libc_fesetroundl): Likewise.
10907 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10908 function.
10909 (libc_fesetround_387): Likewise.
10910 (libc_fesetroundf): New macro.
10911 (libc_fesetround): Likewise.
10912 (libc_fesetroundl): Likewise.
10913 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10914 function.
10915 (libc_fesetroundf): New macro.
10916 (libc_fesetround): Likewise.
10917 (libc_fesetroundl): Likewise.
10918 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10919 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10920 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10921 libm_hidden_ver.
10922 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10923 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10924 libm_hidden_def.
10925 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10926 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10927 libm_hidden_ver.
10928 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10929 libm_hidden_def.
10930
fbeafede
JM
10931 [BZ #3439]
10932 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10933 integer constant usable in #if and use that to give value to enum
10934 constant.
10935 (FE_DIVBYZERO): Likewise.
10936 (FE_UNDERFLOW): Likewise.
10937 (FE_OVERFLOW): Likewise.
10938 (FE_INVALID): Likewise.
10939 (FE_INVALID_SNAN): Likewise.
10940 (FE_INVALID_ISI): Likewise.
10941 (FE_INVALID_IDI): Likewise.
10942 (FE_INVALID_ZDZ): Likewise.
10943 (FE_INVALID_IMZ): Likewise.
10944 (FE_INVALID_COMPARE): Likewise.
10945 (FE_INVALID_SOFTWARE): Likewise.
10946 (FE_INVALID_SQRT): Likewise.
10947 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10948 (FE_TONEAREST): Likewise.
10949 (FE_TOWARDZERO): Likewise.
10950 (FE_UPWARD): Likewise.
10951 (FE_DOWNWARD): Likewise.
10952 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10953 (FE_DIVBYZERO): Likewise.
10954 (FE_OVERFLOW): Likewise.
10955 (FE_UNDERFLOW): Likewise.
10956 (FE_INEXACT): Likewise.
10957 (FE_TONEAREST): Likewise.
10958 (FE_DOWNWARD): Likewise.
10959 (FE_UPWARD): Likewise.
10960 (FE_TOWARDZERO): Likewise.
10961 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10962 (FE_UNDERFLOW): Likewise.
10963 (FE_OVERFLOW): Likewise.
10964 (FE_DIVBYZERO): Likewise.
10965 (FE_INVALID): Likewise.
10966 (FE_TONEAREST): Likewise.
10967 (FE_TOWARDZERO): Likewise.
10968 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10969 (FE_OVERFLOW): Likewise.
10970 (FE_UNDERFLOW): Likewise.
10971 (FE_DIVBYZERO): Likewise.
10972 (FE_INEXACT): Likewise.
10973 (FE_TONEAREST): Likewise.
10974 (FE_TOWARDZERO): Likewise.
10975 (FE_UPWARD): Likewise.
10976 (FE_DOWNWARD): Likewise.
10977 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10978 (FE_DIVBYZERO): Likewise.
10979 (FE_OVERFLOW): Likewise.
10980 (FE_UNDERFLOW): Likewise.
10981 (FE_INEXACT): Likewise.
10982 (FE_TONEAREST): Likewise.
10983 (FE_DOWNWARD): Likewise.
10984 (FE_UPWARD): Likewise.
10985 (FE_TOWARDZERO): Likewise.
10986
105ca950
CM
109872012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10988
10989 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10990
a542b389
AS
109912012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10992
10993 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10994 commands. Quote $PWD.
10995 (blacklist_exports): Don't use remove_newlines. Replace "declare
10996 -x" by "export".
10997 (remove_newlines): Remove.
10998
f62c8abc
L
109992012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11000
11001 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11002 * stdlib/stdlib.h (atof): Moved to ...
11003 * include/bits/stdlib-float.h: Here. New file.
11004 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11005 * stdlib/bits/stdlib-float.h: New file.
11006 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11007 -mno-sse -mno-mmx.
11008 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11009 <xmmintrin.h>.
11010
0155d5b2
JM
110112012-11-02 Joseph Myers <joseph@codesourcery.com>
11012
a68d0680
JM
11013 * conform/conformtest.pl (@headers): Add fenv.h.
11014 * conform/data/fenv.h-data: New file.
11015 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11016 include of <math/fenv.h>.
11017
caf7f573
JM
11018 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11019 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11020 && !UNIX98]. Enables tests for XOPEN2K8.
11021 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11022 POSIX2008]: Likewise.
11023
6c073ad6
JM
11024 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11025 (struct rusage): Do not expect type or its members.
11026
0155d5b2
JM
11027 [BZ #3439]
11028 * math/math.h (FP_NAN): Define macro to integer constant usable in
11029 #if and use that to give value to enum constant.
11030 (FP_INFINITE): Likewise.
11031 (FP_ZERO): Likewise.
11032 (FP_SUBNORMAL): Likewise.
11033 (FP_NORMAL): Likewise.
11034
b5dcacb4
AS
110352012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11036
11037 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11038 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11039 arguments.
11040
f7934be8
RM
110412012-11-02 Roland McGrath <roland@hack.frob.com>
11042
11043 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11044 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11045 autoconf-time if not.
11046 * configure.in: Remove AC_PREREQ.
11047
d7d08bde
TMQMF
110482012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11049
11050 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11051 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11052 of the internal implementation.
11053
dcdae19a
JM
110542012-11-02 Joseph Myers <joseph@codesourcery.com>
11055
11056 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11057 except include of <misc/sys/syslog.h>.
11058
d6cffd3e
AS
110592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11060
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11062 function returns with a NULL context exit with zero.
11063
b3563932
TMQMF
110642012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11065
11066 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11067
b288a93d
L
110682012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11069
11070 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11071 (run_program_cmd): This.
11072 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11073 (tst_langinfo): New variable. Use it.
11074
a2421a68
SAS
110752012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11076
11077 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11078 floating point opcodes.
11079
6f796e1b
TS
110802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11081
7402596b
TS
11082 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11083 variable.
11084
d0d4f868
TS
11085 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11086
6f796e1b
TS
11087 * sysdeps/mach/hurd/powerpc: Remove directory.
11088 * sysdeps/mach/powerpc: Likewise.
11089
4da224a2
AS
110902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11091
11092 * scripts/check-local-headers.sh: Ignore c++ headers.
11093
341dd673
TS
110942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11095
11096 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11097 __libc_cleanup_region_start argument.
11098
473611b2
JM
110992012-11-01 Joseph Myers <joseph@codesourcery.com>
11100
11101 [BZ #14784]
11102 [BZ #14785]
11103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11104 x * y using scaling, not as x * y + z.
11105 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11107 * math/libm-test.inc (fma_test): Add more tests.
11108 (fma_test_towardzero): Likewise.
11109 (fma_test_downward): Likewise.
11110 (fma_test_upward): Likewise.
11111
4078da3d
TS
111122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11113
11114 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11115
903252aa
JM
111162012-10-31 Joseph Myers <joseph@codesourcery.com>
11117
11118 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11119 New variable.
11120
cbc818d0
TS
111212012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11122
11123 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11124
5a03cb1e
AS
111252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11126
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11128 Fix sort order.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11130 Likewise.
11131
90aff2ff
TMQMF
111322012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11133
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11135 Fix the order of the list for glibc 2.17.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11137 Likewise.
11138
1818fcb7
AS
111392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11140
11141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11142
ef82f4da
JM
111432012-10-31 Joseph Myers <joseph@codesourcery.com>
11144
16a0e2ec
JM
11145 [BZ #14610]
11146 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11147 for low part of x being zero before using __atanl (y).
11148 * math/libm-test.inc (atan2_test): Add another test.
11149
0eb69512
JM
11150 * manual/install.texi (Configuring and compiling): Document
11151 general use of test-wrapper and test-wrapper-env.
11152 * INSTALL: Regenerated.
11153
ef82f4da
JM
11154 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11155 (__fma): Do not extract and scale down low bits on after-rounding
11156 systems when result rounded to normal precision would have normal
11157 exponent.
11158 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11159 (__fmal): Do not extract and scale down low bits on after-rounding
11160 systems when result rounded to normal precision would have normal
11161 exponent.
11162 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11163 (__fmal): Do not extract and scale down low bits on after-rounding
11164 systems when result rounded to normal precision would have normal
11165 exponent.
11166 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11167 macro.
11168 (fma_test): Add more tests.
11169 (fma_test_towardzero): Likewise.
11170 (fma_test_downward): Likewise.
11171 (fma_test_upward): Likewise.
11172
954ef0d9
L
111732012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11174
11175 * sysdeps/i386/tininess.h: Renamed to ...
11176 * sysdeps/x86/tininess.h: This.
11177 * sysdeps/x86_64/tininess.h: Removed.
11178
df61ffb2
JM
111792012-10-30 Joseph Myers <joseph@codesourcery.com>
11180
11181 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11182 input. Use $(build-program-cmd).
11183 ($(objpfx)tst-array1-static.out): Likewise.
11184 ($(objpfx)tst-array2.out): Likewise.
11185 ($(objpfx)tst-array3.out): Likewise.
11186 ($(objpfx)tst-array4.out): Likewise.
11187 ($(objpfx)tst-array5.out): Likewise.
11188 ($(objpfx)tst-array5-static.out): Likewise.
11189
01767843
CM
111902012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11191
47cc1490
CM
11192 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11193 if defined.
11194
01767843
CM
11195 * nss/nsswitch.h (nss_interface_function): Provide new
11196 macro for use with NSS functions.
11197 * grp/initgroups.c: Use new macro.
11198 * nss/getXXbyYY.c: Likewise.
11199 * nss/getXXbyYY_r.c: Likewise.
11200 * nss/getXXent.c: Likewise.
11201 * nss/getXXent_r.c: Likewise.
11202 * sysdeps/posix/getaddrinfo.c: Likewise.
11203
8321aa97
AJ
112042012-10-30 Andreas Jaeger <aj@suse.de>
11205
11206 * po/ru.po: Update Russion translation from translation project.
11207
2a27fd6d
JM
112082012-10-30 Joseph Myers <joseph@codesourcery.com>
11209
8627a232
JM
11210 [BZ #14152]
11211 [BZ #14783]
11212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11213 result and shift together with sticky bit instead of replicating
11214 round-to-nearest rounding.
11215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11217 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11218 missing underflow exceptions.
11219 (fma_test_towardzero): Add more tests.
11220 (fma_test_downward): Likewise.
11221 (fma_test_upward): Likewise.
11222
2a27fd6d
JM
11223 [BZ #14047]
11224 * sysdeps/generic/tininess.h: New file.
11225 * sysdeps/i386/tininess.h: Likewise.
11226 * sysdeps/sh/tininess.h: Likewise.
11227 * sysdeps/x86_64/tininess.h: Likewise.
11228 * stdlib/tst-strtod-underflow.c: Likewise.
11229 * stdlib/tst-tininess.c: Likewise.
11230 * stdlib/strtod_l.c: Include <tininess.h>.
11231 (round_and_return): Do not set errno for exact underflow cases.
11232 Force an underflow exception when setting errno for underflow.
11233 Determine underflow based on rounding to normal precision if
11234 TININESS_AFTER_ROUNDING.
11235 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11236 ERANGE for exact underflow cases.
11237 * stdlib/Makefile (tests): Add tst-tininess and
11238 tst-strtod-underflow.
11239 ($(objpfx)tst-tininess): Use $(link-libm).
11240 ($(objpfx)tst-strtod-underflow): Likewise.
11241
e7170363
AJ
112422012-10-30 Andreas Jaeger <aj@suse.de>
11243
e5088dc6
AJ
11244 [BZ#14767]
11245 * elf/Makefile (tests): Remove conditional for have-initfini-array
11246 since this is now always required and the variable does not exist
11247 anymore.
11248 (tests-static): Likewise.
11249 (modules-names): Likewise.
11250
e7170363 11251 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11252
11253 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11254 merged with constructor/destructor.
11255 (init_array): Likewise.
11256 * elf/tst-array2dep.c (fini_array): Likewise.
11257 (init_array): Likewise.
11258
60457d8a
MF
112592012-10-29 Mike Frysinger <vapier@gentoo.org>
11260
11261 * manual/message.texi: Delete @cartouche tags.
11262
8bece752
PT
112632012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11264
94ce799f
PT
11265 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11266 EOPNOTSUPP.
11267 * sysdeps/mach/hurd/fsync.c: Likewise.
11268
8bece752
PT
11269 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11270 [_POSIX_REALTIME_SIGNALS]: Change condition to
11271 [_POSIX_REALTIME_SIGNALS > 0].
11272
86ebe6b1
AJ
112732012-10-27 Andreas Jaeger <aj@suse.de>
11274
11275 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11276 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11278 [__WORDSIZE != 64]: Likewise.
11279
54399c08
L
112802012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11281
11282 * iconvdata/tst-table.sh: Remove ${SHELL}.
11283 * iconvdata/tst-tables.sh: Likewise.
11284
e2211bed
DM
112852012-10-25 David S. Miller <davem@davemloft.net>
11286
11287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11288 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11289 of strtoull.
11290
f303f97c
DM
11291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11292 ifunc-impl-list.c
11293 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11294 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11295 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11296 file.
11297
1e9d84cd
RM
112982012-10-25 Roland McGrath <roland@hack.frob.com>
11299
11300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11301 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11302 __getdirentries.
11303
df381762
JM
113042012-10-25 Joseph Myers <joseph@codesourcery.com>
11305 Jim Blandy <jimb@codesourcery.com>
11306
11307 * scripts/cross-test-ssh.sh: New file.
11308 * manual/install.texi (Configuring and compiling): Document use of
11309 cross-test-ssh.sh.
11310 * INSTALL: Regenerated.
11311
bff64913
PT
113122012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11313
11314 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11315 EOPNOTSUPP.
11316
25fe8932
JM
113172012-10-25 Joseph Myers <joseph@codesourcery.com>
11318
11319 * Makeconfig (run-program-prefix): Fix comment.
11320
cc1290d0
JM
113212012-10-24 Joseph Myers <joseph@codesourcery.com>
11322 Jim Blandy <jimb@codesourcery.com>
11323
11324 * Makeconfig (test-wrapper): New variable,
11325 (test-wrapper-env): Likewise.
11326 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11327 (run-built-tests): Define to yes.
11328 (run-program-prefix): Use $(test-wrapper).
11329 (built-program-cmd): Likewise.
11330 * Rules (make-test-out): Use $(test-wrapper-env) and
11331 $(host-built-program-cmd).
11332 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11333 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11334 tst-pathopt.sh.
11335 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11336 $(test-wrapper-env) to tst-rtld-load-self.sh.
11337 ($(objpfx)order2.out): Use $(test-wrapper).
11338 ($(objpfx)tst-initorder.out): Likewise.
11339 ($(objpfx)tst-initorder2.out): Likewise.
11340 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11341 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11342 (test_wrapper_env): New variable. Use it to run ld.so.
11343 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11344 Use it to run ld.so.
11345 (test_wrapper_env): Likewise.
11346 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11347 $(test-wrapper) to run-iconv-test.sh.
11348 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11349 (ICONV): Use $test_wrapper.
11350 * posix/Makefile ($(objpfx)globtest.out): Pass
11351 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11352 globtest.sh, not $(run-program-prefix).
11353 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11354 (test_wrapper): Likewise.
11355 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11356 set together with run_via_rtld_prefix.
11357 (run_program_prefix): Define in terms of test_wrapper and
11358 run_via_rtld_prefix.
11359
6e6249d0
RM
113602012-10-24 Roland McGrath <roland@hack.frob.com>
11361
11362 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11363 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11364 Targets removed.
11365
11366 [BZ #14743]
11367 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11368 Declare __clock_getres, __clock_gettime, __clock_settime,
11369 __clock_nanosleep, and __clock_getcpuclockid.
11370 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11371 Remove librt_hidden_def (clock_gettime).
11372 * sysdeps/unix/clock_gettime.c: Likewise.
11373 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11374 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11375 * rt/clock_getres.c: Define __clock_getres as an alias.
11376 * sysdeps/posix/clock_getres.c: Likewise.
11377 * rt/clock_settime.c: Define __clock_settime as an alias.
11378 * sysdeps/unix/clock_settime.c: Likewise.
11379 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11380 * sysdeps/unix/clock_nanosleep.c: Likewise.
11381 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11382 * rt/clock-compat.c: New file.
11383 * rt/Makefile (librt-routines): Add clock-compat and move
11384 $(clock-routines) to ...
11385 (routines): ... here, new variable.
11386 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11387 Don't add get_clockfreq here.
11388 * rt/Versions (libc: GLIBC_2.17): New version set.
11389 Add clock_* symbols here.
11390 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11391 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11392 (GLIBC_2.17): Add clock_* symbols.
11393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11397 Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11399 Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11404 * NEWS: Mention the move.
11405
11406 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11407 Use __open, __read, __close rather than their public counterparts.
11408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11409 (__get_clockfreq_via_cpuinfo): Likewise.
11410 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11411 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11412
11413 * config.h.in (HAVE_IFUNC): New #undef.
11414 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11415 was successful.
11416 * configure: Regenerated.
11417
0cae3f4b
MF
114182012-10-24 Mike Frysinger <vapier@gentoo.org>
11419
11420 * configure.in: Move READELF check to start of file.
11421 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11422 libc_cv_asm_gnu_indirect_function in the process.
11423 * configure: Regenerated.
11424
8175a253
MF
114252012-10-24 Mike Frysinger <vapier@gentoo.org>
11426
11427 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11428 send the output to /dev/null.
11429 (libc_cv_cc_with_libunwind): Likewise.
11430 (libc_cv_as_noexecstack): Likewise.
11431 * configure: Regenerate.
11432
0708a7d1
JM
114332012-10-24 Joseph Myers <joseph@codesourcery.com>
11434
10b40d85
JM
11435 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11436
0708a7d1
JM
11437 * posix/globtest.sh (TMPDIR): Do not set.
11438 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11439 (testout): Likewise.
11440
9fddec1a
AJ
114412012-10-24 Andreas Jaeger <aj@suse.de>
11442
3a8db22f
AJ
11443 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11444 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11445 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11446 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11447 posix_fadvise64, posix_fallocate64.
11448
9fddec1a
AJ
11449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11450 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11451 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11452 Likewise.
11453 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11454 Likewise.
11455 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11456
11457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11458 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11459 <bits/fcntl-linux.h>.
11460 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11461
11462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11463 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11464 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11465 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11466 [__WORDSIZE != 64]: Likewise.
11467
ebfd1bbd
JM
114682012-10-23 Joseph Myers <joseph@codesourcery.com>
11469
03ac099f
JM
11470 * Makeconfig (run-built-tests): New variable.
11471 * Rules [$(cross-compiling) = yes]: Change condition to
11472 [$(run-built-tests) = no].
11473 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11474 to [$(run-built-tests) = yes].
11475 * elf/Makefile [$(cross-compiling) = no]: Likewise
11476 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11477 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11478 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11479 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11480 * io/Makefile [$(cross-compiling) = no]: Likewise.
11481 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11482 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11483 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11484 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11485 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11486 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11487 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11488 * string/Makefile [$(cross-compiling) = no]: Likewise.
11489
ebfd1bbd
JM
11490 * posix/Makefile ($(objpfx)globtest.out): Pass
11491 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11492 $(rtld-installed-name).
11493 * posix/globtest.sh (elf_objpfx): Remove variable.
11494 (rtld_installed_name): Likewise.
11495 (library_path): Likewise.
11496 (run_program_prefix): New variable. Use for running globtest
11497 binary.
11498
166bca24
JB
114992012-10-23 Jim Blandy <jimb@codesourcery.com>
11500 Joseph Myers <joseph@codesourcery.com>
11501
11502 * Makeconfig (host-built-program-cmd): New variable.
11503 * elf/Makefile (tst-stackguard1-ARGS): Use
11504 $(host-built-program-cmd).
11505 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11506 (tst-spawn-ARGS): Likewise.
11507 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11508
88866099
JM
115092012-10-23 Joseph Myers <joseph@codesourcery.com>
11510 Jim Blandy <jimb@codesourcery.com>
11511
11512 * Makeconfig (run-via-rtld-prefix): New variable.
11513 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11514 (built-program-cmd): Likewise.
11515
b4b4c296
AJ
115162012-10-22 Andreas Jaeger <aj@suse.de>
11517
11518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11519 __O_RSYNC if it exists, otherwise to O_SYNC.
11520
6fb54a22
JB
115212012-10-22 Jim Blandy <jimb@codesourcery.com>
11522 Joseph Myers <joseph@codesourcery.com>
11523
11524 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11525 /dev/null.
11526 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11527 from /dev/null
11528 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11529 /dev/null.
11530
481b90b9
AJ
115312012-10-22 Andreas Jaeger <aj@suse.de>
11532
2a0e2669
AJ
11533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11534 Define always.
11535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11536
76e38f9a
AJ
11537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11538 bits/fcntl-linux.h.
11539
7cd37b43
AJ
11540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11541 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11542
481b90b9
AJ
11543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11544 to __O_LARGEFILE.
11545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11546 to __O_LARGEFILE.
11547
aba75984
JB
115482012-10-21 Jim Blandy <jimb@codesourcery.com>
11549 Joseph Myers <joseph@codesourcery.com>
11550
11551 * config.make.in (NM): New variable.
11552
88d4247f
AJ
115532012-10-21 Andreas Jaeger <aj@suse.de>
11554
11555 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11556 definitions and declarations that are provided by
11557 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11558
f2eed205
L
115592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11560
11561 [BZ #14683]
11562 * elf/Makefile (tests-static): Add tst-leaks1-static.
11563 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11564 ($(objpfx)tst-leaks1-static): New rule.
11565 ($(objpfx)tst-leaks1-static-mem): Likewise.
11566 (tst-leaks1-static-ENV): New macro.
11567 * elf/dl-open.c (dl_open_worker): Check the main application
11568 only if SHARED is defined.
11569 * elf/tst-leaks1-static.c: New file.
11570
335e6931
AJ
115712012-10-20 Andreas Jaeger <aj@suse.de>
11572
11573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11574 generic values for Linux.
11575 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11576 and declarations that are provided by <bits/fcntl-linux.h> and
11577 include <bits/fcntl-linux.h>.
11578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11579 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11580
ac5c94d3
RM
115812012-10-20 Roland McGrath <roland@hack.frob.com>
11582
11583 * io/fcntl.h: Move include of <bits/types.h> to the top and
11584 include it unconditionally.
11585
de54b33a
L
115862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11587
228cfb01
L
11588 * wcsmbs/Makefile (tests-ifunc): New variable.
11589 (tests): Add $(tests-ifunc).
11590 * wcsmbs/test-wcschr-ifunc.c: New file.
11591 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11592 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11593 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11594 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11595 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11596
69f07e5f
L
11597 * string/Makefile (tests-ifunc): New variable.
11598 (tests): Add $(tests-ifunc).
11599 * string/test-memccpy.c (TEST_NAME): New macro.
11600 * string/test-memchr.c (TEST_NAME): Likewise.
11601 * string/test-memcmp.c (TEST_NAME): Likewise.
11602 * string/test-memcpy.c (TEST_NAME): Likewise.
11603 * string/test-memmem.c (TEST_NAME): Likewise.
11604 * string/test-memmove.c (TEST_NAME): Likewise.
11605 * string/test-memset.c (TEST_NAME): Likewise.
11606 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11607 * string/test-stpcpy.c (TEST_NAME): Likewise.
11608 * string/test-stpncpy.c (TEST_NAME): Likewise.
11609 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11610 * string/test-strcasestr.c (TEST_NAME): Likewise.
11611 * string/test-strcat.c (TEST_NAME): Likewise.
11612 * string/test-strchr.c (TEST_NAME): Likewise.
11613 * string/test-strcmp.c(TEST_NAME): Likewise.
11614 * string/test-strcpy.c (TEST_NAME): Likewise.
11615 * string/test-strcspn.c (TEST_NAME): Likewise.
11616 * string/test-strlen.c (TEST_NAME): Likewise.
11617 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11618 * string/test-strncmp.c (TEST_NAME): Likewise.
11619 * string/test-strncpy.c (TEST_NAME): Likewise.
11620 * string/test-strnlen.c (TEST_NAME): Likewise.
11621 * string/test-strpbrk.c (TEST_NAME): Likewise.
11622 * string/test-strrchr.c (TEST_NAME): Likewise.
11623 * string/test-strspn.c (TEST_NAME): Likewise.
11624 * string/test-strstr.c (TEST_NAME): Likewise.
11625 * string/test-bcopy-ifunc.c: New file.
11626 * string/test-bzero-ifunc.c: Likewise.
11627 * string/test-memccpy-ifunc.c: Likewise.
11628 * string/test-memchr-ifunc.c: Likewise.
11629 * string/test-memcmp-ifunc.c: Likewise.
11630 * string/test-memcpy-ifunc.c: Likewise.
11631 * string/test-memmem-ifunc.c: Likewise.
11632 * string/test-memmove-ifunc.c: Likewise.
11633 * string/test-mempcpy-ifunc.c: Likewise.
11634 * string/test-memset-ifunc.c: Likewise.
11635 * string/test-rawmemchr-ifunc.c: Likewise.
11636 * string/test-stpcpy-ifunc.c: Likewise.
11637 * string/test-stpncpy-ifunc.c: Likewise.
11638 * string/test-strcasecmp-ifunc.c: Likewise.
11639 * string/test-strcasestr-ifunc.c: Likewise.
11640 * string/test-strcat-ifunc.c: Likewise.
11641 * string/test-strchr-ifunc.c: Likewise.
11642 * string/test-strchrnul-ifunc.c: Likewise.
11643 * string/test-strcmp-ifunc.c: Likewise.
11644 * string/test-strcpy-ifunc.c: Likewise.
11645 * string/test-strcspn-ifunc.c: Likewise.
11646 * string/test-strlen-ifunc.c: Likewise.
11647 * string/test-strncasecmp-ifunc.c: Likewise.
11648 * string/test-strncat-ifunc.c: Likewise.
11649 * string/test-strncmp-ifunc.c: Likewise.
11650 * string/test-strncpy-ifunc.c: Likewise.
11651 * string/test-strnlen-ifunc.c: Likewise.
11652 * string/test-strpbrk-ifunc.c: Likewise.
11653 * string/test-strrchr-ifunc.c: Likewise.
11654 * string/test-strspn-ifunc.c: Likewise.
11655 * string/test-strstr-ifunc.c: Likewise.
11656
de54b33a
L
11657 * debug/Makefile (tests-ifunc): New variable.
11658 (tests): Add $(tests-ifunc).
11659 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11660 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11661 * debug/test-stpcpy_chk-ifunc.c: New file.
11662 * debug/test-strcpy_chk-ifunc.c: Likewise.
11663
88481c16
SP
116642012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11665
11666 [BZ #13601]
11667 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11668 header is not read in.
11669
135948bd
JM
116702012-10-19 Joseph Myers <joseph@codesourcery.com>
11671
89f1c388
JM
11672 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11673 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11674 directly. Pass built executable to script as
11675 $(built-program-cmd).
11676 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11677 $testprogram without using LD_LIBRARY_PATH and $ldso.
11678
e40a0d21
JM
11679 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11680 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11681 $(rtld-installed-name).
11682 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11683 (rtld_installed_name): Likewise.
11684 (library_path): Likewise.
11685 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11686 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11687 $(run-program-prefix) to tst-tables.sh.
11688 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11689 it to run tst-table-from and tst-table-to.
11690 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11691 Pass it to tst-table.sh.
11692 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11693 $(run-program-prefix) to tst-gettext.sh.
11694 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11695 tst-translit.sh.
11696 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11697 tst-gettext2.sh.
11698 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11699 to run tst-gettext.
11700 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11701 to run tst-gettext2.
11702 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11703 to run tst-translit.
11704 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11705 $(run-program-prefix) to tst-mtrace.sh.
11706 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11707 to run tst-mtrace.
11708 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11709 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11710 $(rtld-installed-name).
11711 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11712 (rtld_installed_name): Likewise.
11713 (run_program_prefix): New variable. Use it to run wordexp-test.
11714
728e272a
JM
11715 * Makeconfig (ARCH): Remove all definitions.
11716 (machine): Likewise.
11717 [ARCH]: Remove conditional code.
11718 [!objdir]: Give error.
11719 [!objdir] (objpfx): Remove.
11720 [!objdir] (common-objpfx): Likewise.
11721 [!objdir] (common-objdir): Likewise.
11722 * configure.in (config_makefile): Remove. Hardcode Makefile in
11723 AC_CONFIG_FILES call.
11724 * configure: Regenerated.
11725
d528cdcf
JM
11726 [BZ #13888]
11727 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11728 or TMPDIR.
11729 (testout): Likewise.
11730
135948bd
JM
11731 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11732 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11733 $(rtld-installed-name).
11734 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11735 (rtld_installed_name): Likwise.
11736 (runit): Remove function.
11737 (run_getconf): New variable, Use it for running getconf binary.
11738
38c78296
L
117392012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 [BZ #14716]
11742 * string/test-memmem.c (check_result): New function.
11743 (do_one_test): Use it.
11744 (check1): New function.
11745 (test_main): Use it.
11746
d077f65f
MT
117472012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11748
11749 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11750
ced52c71
JM
117512012-10-18 Joseph Myers <joseph@codesourcery.com>
11752
11753 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11754 (_G_LSEEK64): Likewise.
11755 (_G_MMAP64): Likewise.
11756 (_G_FSTAT64): Likewise.
11757 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11758 (_G_LSEEK64): Likewise.
11759 (_G_MMAP64): Likewise.
11760 (_G_FSTAT64): Likewise.
11761 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11762 unconditional. Call __mmap64 directly.
11763 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11764 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11765 __lseek64 directly.
11766 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11767 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11768 __mmap64 directly.
11769 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11770 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11771 __lseek64 directly.
11772 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11773 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11774 __lseek64 directly.
11775 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11776 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11777 __lseek64 directly.
11778 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11779 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11780 __fxstat64 directly.
11781 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11782 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11783 unconditional.
11784 (freopen64) [!_G_OPEN64]: Remove conditional code.
11785 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11786 unconditional.
11787 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11788 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11789 unconditional.
11790 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11791 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11792 unconditional.
11793 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11794 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11795 unconditional.
11796 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11797 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11798 unconditional.
11799 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11800 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11801 unconditional.
11802 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11803 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11804 unconditional.
11805 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11806
b741de23
SP
118072012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11808
11809 [BZ #12140]
11810 * manual/memory.texi (Malloc Tunable Parameters): Add note
11811 about free list pointers overwriting some perturb bytes.
11812 Wording suggested by Roland McGrath.
11813
f9b9d9c9
JM
118142012-10-17 Joseph Myers <joseph@codesourcery.com>
11815
11816 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11817 (lgamma_test): Likewise.
11818 (tgamma_test): Likewise.
11819
172a631a
FW
118202012-10-16 Florian Weimer <fweimer@redhat.com>
11821
11822 [BZ #14700]
11823 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11824 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11825
e9f37252
MK
118262012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11827
11828 * NEWS: Mention BZ #14716.
11829 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11830 when removing AVAILABLE1_USES_J macro.
11831
d394eb74
L
118322012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11835 (__bswap_64): __uint64_t for unsigned 64-bit int.
11836
ca38dc17
AS
118372012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11838
11839 * include/string.h (memmem): Declare libc hidden alias.
11840 * string/memmem.c (memmem): Define libc hidden alias.
11841 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11842 __read, __close instead of open, read, close.
11843
9a387d1f
L
118442012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11845
ac49ecaf
L
11846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11847 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11848 global and hidden.
11849 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11850 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11851 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11852 Likewise.
11853 (__rawmemchr_sse2): Likewise.
11854 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11855 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11856 (__strchr_sse2): Likewise.
11857 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11858 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11859 (__strcasecmp_sse2): Likewise.
11860 (__strncasecmp_sse2): Likewise.
11861 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11862 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11863 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11864 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11865 (__strrchr_sse2): Likewise.
11866 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11867 ifunc-impl-list.c.
11868 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11869 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11870 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11871 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11872 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11873 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11874 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11875 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11876 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11877 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11878 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11879 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11880 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11881 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11882 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11883 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11884 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11885 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11886 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11887 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11888 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11889 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11890 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11891 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11892 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11893 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11894 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11895 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11896 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11897 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11898
b090e8ea
L
11899 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11900 global and hidden.
11901 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11902 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11903 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11904 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11905 Likewise.
11906 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11907 Likewise.
11908 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11909 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11910 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11911 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11912 ifunc-impl-list.c.
11913 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11914 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11915 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11916 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11917 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11918 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11919 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11921 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11924 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11925 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11926 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11928 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11929 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11930 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11931 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11932 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11933 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11934 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11935 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11936 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11937 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11943 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11944 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11945 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11946 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11947 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11954
11dd4af6
L
11955 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11956 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11957 * include/ifunc-impl-list.h: New file.
11958 * misc/ifunc-impl-list.c: Likewise.
11959 * misc/Makefile (routines): Add ifunc-impl-list.
11960 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11961 * string/test-string.h: Include <ifunc-impl-list.h>.
11962 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11963 impl_array): New variables.
11964 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11965 are defined.
11966 (test_init): Call __libc_ifunc_impl_list to initialize
11967 func_list if TEST_IFUNC and TEST_NAME are defined.
11968
9a387d1f
L
11969 * string/Makefile (strop-tests): Add bcopy and bzero.
11970 * string/test-bcopy.c: New file.
11971 * string/test-bzero.c: Likewise.
11972 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11973 defined.
11974 * string/test-memset.c: Support bzero test if TEST_BZERO is
11975 defined.
11976 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11977 __libc_memmove.
11978 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11979 __libc_memset.
11980 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11981 of memset.
11982
472371b9
JM
119832012-10-10 Joseph Myers <joseph@codesourcery.com>
11984
1e4a9536
JM
11985 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11986 * configure: Regenerated.
11987
d173d12e
JM
11988 * Makeconfig (+link-static-before-libc): Don't include
11989 $(link-static-libc).
11990
472371b9
JM
11991 * libio/libio.h (_IO_pos_t): Remove.
11992
89a3ad0b
AO
119932012-10-10 Alexandre Oliva <aoliva@redhat.com>
11994
11995 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11996 McGrath.
11997
e7451425
AO
119982012-10-10 Alexandre Oliva <aoliva@redhat.com>
11999
12000 * crypt/crypt-entry.c: Include fips-private.h.
12001 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12002 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12003 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12004 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12005
4ba74a35
AO
120062012-10-10 Alexandre Oliva <aoliva@redhat.com>
12007
12008 * crypt/crypt-private.h: Include stdbool.h.
12009 (_ufc_setup_salt_r): Return bool.
12010 * crypt/crypt-entry.c: Include errno.h.
12011 (__crypt_r): Return NULL with EINVAL for bad salt.
12012 * crypt/crypt_util.c (bad_for_salt): New.
12013 (_ufc_setup_salt_r): Check that salt is long enough and within
12014 the specified alphabet.
12015 * crypt/badsalttest.c: New file.
12016 * crypt/Makefile (tests): Add it.
12017 ($(objpfx)badsalttest): New.
12018
f96f1242
MK
120192012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12020
12021 * NEWS: Add entry for BZ #14602.
12022
0e8e0c1c
JM
120232012-10-09 Joseph Myers <joseph@codesourcery.com>
12024
12025 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12026 type-generic.
12027 * math/libm-test.inc: Update comment listing what functions and
12028 macros are tested.
12029 (isgreater_test): New function.
12030 (isgreaterequal_test): Likewise.
12031 (isless_test): Likewise.
12032 (islessequal_test): Likewise.
12033 (islessgreater_test): Likewise.
12034 (isunordered_test): Likewise.
12035 (main): Call the new functions.
12036
273edc5e
RM
120372012-10-09 Roland McGrath <roland@hack.frob.com>
12038
b8493de0
RM
12039 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12040 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12041 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12042 * sysdeps/i386/configure: Regenerated.
12043 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12044 * sysdeps/mach/configure: Regenerated.
12045 * sysdeps/mach/hurd/configure: Regenerated.
12046 * sysdeps/powerpc/configure: Regenerated.
12047 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12048 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12049 * sysdeps/s390/s390-32/configure: Regenerated.
12050 * sysdeps/s390/s390-64/configure: Regenerated.
12051 * sysdeps/sh/configure: Regenerated.
12052 * sysdeps/sparc/configure: Regenerated.
12053 * sysdeps/unix/sysv/linux/configure: Regenerated.
12054 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12055 * sysdeps/x86_64/configure: Regenerated.
12056
273edc5e
RM
12057 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12058 defined. Don't check if MAP is NULL.
12059
c8450f70
JM
120602012-10-09 Joseph Myers <joseph@codesourcery.com>
12061
12062 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12063 (_G_stat64): Likewise.
12064 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12065 (_G_stat64): Likewise.
12066 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12067 instead of struct _G_stat64.
12068 * libio/fileops.c (mmap_remap_check): Likewise.
12069 (decide_maybe_mmap): Likewise.
12070 (_IO_new_file_seekoff): Likewise.
12071 (_IO_file_stat): Likewise.
12072 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12073 _G_off64_t.
12074 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12075 instead of struct _G_stat64.
12076 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12077
57e605ba
MK
120782012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12079
12080 [BZ #14602]
12081 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12082 Replace with ...
12083 (CHECK_EOL): New macro.
12084 (two_way_short_needle): Check beginning of haystack for EOL. Use
12085 CHECK_EOL.
12086 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12087 Replace with CHECK_EOL.
12088 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12089 Replace with CHECK_EOL.
12090
ef1bb361
JM
120912012-10-08 Joseph Myers <joseph@codesourcery.com>
12092
12093 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12094 type-generic.
12095 * math/libm-test.inc: Update comment listing what functions and
12096 macros are tested.
12097 (finite_test): New function.
12098 (isinf_test): Likewise.
12099 (isnan_test): Likewise.
12100 (fpclassify_test): Test subnormal input.
12101 (isfinite_test): Likewise.
12102 (isnormal_test): Likewise.
12103 (main): Call the new functions.
12104
55f11534
JN
121052012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12106
12107 [BZ #14660]
12108 * Makerules (%.dynsym): Force C locale when running
12109 $(OBJDUMP) --dynamic-syms.
12110
1ab29350
AS
121112012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12112
12113 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12114 <stdint.h>.
12115
f1ecb7ef
DM
121162012-10-06 David S. Miller <davem@davemloft.net>
12117
12118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12119 upper 32-bits of the length value in %o2 since we use branch-on-register
12120 tests which consider the entire 64-bit register.
12121
5d41d91a
L
121222012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12123
12124 * string/test-strstr.c (check2): Add a test for page boundary.
12125
3baddb72
DM
121262012-10-05 David S. Miller <davem@davemloft.net>
12127
12128 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12130 file.
12131 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12132 sysdep_routines.
12133 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12134 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12135 and bzero when HWCAP_SPARC_CRYPTO is present.
12136
9cee5585
L
121372012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12138
d7e0dab9
L
12139 [BZ #14602]
12140 * string/test-strstr.c (check2): New function.
12141 (test_main): Call check2.
12142
03759f47
L
12143 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12144 and bug-strchr1.
12145 * string/bug-strcasestr1.c (do_test): Moved to ...
12146 * string/test-strcasestr.c (check1): Here. New function.
12147 (do_one_test): Break out result checking code into ...
12148 (check_result): This. New function.
12149 (do_one_test): Call check_result.
12150 (test_main): Call check1.
12151 * string/bug-strchr1.c (do_test): Moved to ...
12152 * string/test-strchr.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-strstr1.c (main): Moved to ...
046f153e 12158 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
12164 * string/bug-strchr1.c: Likewise.
12165 * string/bug-strstr1.c: Likewise.
12166
53cea63e
L
12167 * elf/Makefile (dl-routines): Add hwcaps.
12168 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12169 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12170 (_dl_important_hwcaps): Moved to ...
12171 * elf/dl-hwcaps.c: Here. New file.
12172 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12173
9cee5585 12174 [BZ #14557]
bb859b06
L
12175 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12176 if IS_IN_rtld isn't defined.
12177
9cee5585
L
12178 * elf/dl-support.c (_dl_sysinfo_map): New.
12179 Include "get-dynamic-info.h" and "setup-vdso.h".
12180 (_dl_non_dynamic_init): Call setup_vdso.
12181 * elf/dynamic-link.h: Don't include <assert.h>.
12182 (elf_get_dynamic_info): Moved to ...
12183 * elf/get-dynamic-info.h: Here. New file.
12184 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12185 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12186 * elf/setup-vdso.h: Here. New file.
12187 * elf/rtld.c: Include "setup-vdso.h".
12188 (dl_main): Call setup_vdso.
12189
23c31b76
JM
121902012-10-05 Joseph Myers <joseph@codesourcery.com>
12191
28234b07
JM
12192 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12193 creal in comment listing functions tested. List finite, isinf,
12194 isnan, isless, islessequal, isgreater, isgreaterequal,
12195 islessgreater, isunordered, lgamma_r and pow10 as functions and
12196 macros not tested. Mention which functions not tested are aliases
12197 for other functions. Fix typo. Note that signs of NaNs are not
12198 tested.
12199
23c31b76
JM
12200 * scripts/config.guess: Update from config.git.
12201 * scripts/config.sub: Likewise.
12202
9043e228
RM
122032012-10-04 Roland McGrath <roland@hack.frob.com>
12204
12205 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12206 * misc/madvise.c (madvise): Renamed to __madvise.
12207 Make madvise a weak alias.
12208 * include/sys/mman.h: Declare __madvise.
12209 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12210 * sysdeps/unix/syscalls.list
12211 (madvise): Make __madvise the strong name, and madvise a weak alias.
12212 * sysdeps/unix/sysv/linux/syscalls.list
12213 (madvise, mmap): Remove redundant entries.
12214 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12215 * malloc/malloc.c (mtrim): Likewise.
12216 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12217
f57f8055
RM
122182012-10-03 Roland McGrath <roland@hack.frob.com>
12219
12220 * sysdeps/mach/hurd/dl-cache.c: File removed.
12221 * config.h.in (USE_LDCONFIG): New #undef.
12222 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12223 * configure: Regenerated.
12224 * elf/Makefile (dl-routines): Add dl-cache only under
12225 [$(use-ldconfig) = yes].
12226 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12227 cache on [USE_LDCONFIG].
12228 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12229 [USE_LDCONFIG].
12230 * elf/rtld.c (dl_main): Likewise.
12231
5bb0c10a
PT
122322012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12233
12234 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12235 _SC_LEVEL4_CACHE_LINESIZE.
12236
010188c6
RM
122372012-10-03 Roland McGrath <roland@hack.frob.com>
12238
12239 * sysdeps/unix/bsd/confstr.h: File removed.
12240
b6c5ec07
AO
122412012-10-02 Alexandre Oliva <aoliva@redhat.com>
12242
12243 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12244 sys/sdt-config.h.
12245
408223d4
RM
122462012-10-02 Roland McGrath <roland@hack.frob.com>
12247
12248 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12249 Make 'mapoff' field ElfW(Off) rather than off_t.
12250
bb9510dc
DL
122512012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12252
fc997c6e
DL
12253 * nscd/Makefile: Remove nscd-cflags and all its users.
12254 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12255 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12256
bb9510dc
DL
12257 [BZ #10631]
12258 * malloc.c (malloc_printerr): Clarify error message.
12259
05699367
L
122602012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 [BZ #14648]
12263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12264 Set bit_FMA_Usable if FMA is supported.
12265 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12266 macro.
12267 (bit_FMA4_Usable): Updated.
12268 (index_FMA_Usable): New macro.
12269 (CPUID_FMA): Likewise
12270 (HAS_FMA): Defined with bit_FMA_Usable.
12271
51367701
RM
122722012-10-01 Roland McGrath <roland@hack.frob.com>
12273
12274 * bits/types.h (__swblk_t): Type removed.
12275 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12276 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12277 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12278 (__SWBLK_T_TYPE): Likewise.
12279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12280 (__SWBLK_T_TYPE): Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12282 (__SWBLK_T_TYPE): Likewise.
12283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12284 (__SWBLK_T_TYPE): Likewise.
12285
4d57bf63 122862012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12287 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12288
12289 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12290 (xdr_mapname): Use YPMAXMAP as maxsize.
12291 (xdr_peername): Use YPMAXPEER as maxsize.
12292 (xdr_keydat): Use YPAXRECORD as maxsize.
12293 (xdr_valdat): Use YPMAXRECORD as maxsize.
12294
93c65d43
RM
122952012-10-01 Roland McGrath <roland@hack.frob.com>
12296
497a03d6
RM
12297 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12298
93c65d43
RM
12299 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12300 * csu/init-first.c: ... here.
12301 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12302 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12304 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12305 * sysdeps/i386/init-first.c: File removed.
12306 * sysdeps/sh/init-first.c: File removed.
12307
bec749fd
JM
123082012-10-01 Joseph Myers <joseph@codesourcery.com>
12309
12310 [BZ #14645]
12311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12312 if x * y might underflow to zero and z is zero.
12313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12315 * math/libm-test.inc (min_subnorm_value): New variable.
12316 (fma_test): Add more tests.
12317 (fma_test_towardzero): Likewise.
12318 (fma_test_downward): Likewise
12319 (fma_test_upward): Likewise.
12320 (initialize): Set min_subnorm_value.
12321
8ec5b013
JM
123222012-09-29 Joseph Myers <joseph@codesourcery.com>
12323
12324 [BZ #14638]
12325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12326 0 + 0.
12327 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12328 mode for addition resulting in exact zero.
12329 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12331 exact 0 + 0.
12332 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12334 * math/libm-test.inc (fma_test): Add more tests.
12335 (fma_test_towardzero): New function.
12336 (fma_test_downward): Likewise.
12337 (fma_test_upward): Likewise.
12338 (main): Call the new functions.
12339
b1fa802e
DM
123402012-09-28 David S. Miller <davem@davemloft.net>
12341
12342 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12343
d3b9fd9e
RM
123442012-09-28 Roland McGrath <roland@hack.frob.com>
12345
ea4d37b3
RM
12346 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12347 instead of SIGALRM.
12348
ac51c949
RM
12349 * sysdeps/gnu/_G_config.h: Moved to ...
12350 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12351 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12352 * sysdeps/generic/_G_config.h: ... here.
12353
28c195f7
RM
12354 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12355
848917f9
RM
12356 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12357
6bacf05b
RM
12358 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12359 Conditionalize target on [libnss_test1.so-version].
12360
91363dbb
RM
12361 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12362
cc87f7d8
RM
12363 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12364 (elfobjdir): Move out of conditionals.
12365
b1c608fe
RM
12366 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12367 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12368 (__nss_lookup_function): Conditionalize label remove_from_tree on
12369 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12370
1d9a6d96
DM
123712012-09-28 David S. Miller <davem@davemloft.net>
12372
12373 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12374 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12375 file.
12376 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12377 sysdep_routines.
12378 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12380 when HWCAP_SPARC_CRYPTO is present.
12381
72581615
PT
123822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12383
12384 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12385
715a900c
JL
123862012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 [BZ #6530]
12389 * stdio-common/vfprintf.c (process_string_arg): Revert
12390 2000-07-22 change.
12391
123922011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12393
12394 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12395 for testcase.
12396 * stdio-common/tst-sprintf.c: Include <locale.h>
12397 (main): Test sprintf's handling of incomplete multibyte
12398 characters.
12399
9bac1d86
L
124002012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12401
12402 * elf/dl-runtime.c (VERSYMIDX): Removed.
12403 * elf/dl-version.c (VERSYMIDX): Likewise.
12404 * elf/do-rel.h (VERSYMIDX): Likewise.
12405 (VALIDX): Likewise.
12406 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12407 * elf/rtld.c (VALIDX): Likewise.
12408 (ADDRIDX): Likewise.
9bac1d86
L
12409 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12410 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12411 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12412 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12413 (VALIDX): Likewise.
12414 (ADDRIDX): Likewise.
9bac1d86 12415
b31606c0
PT
124162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12417
12418 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12419
11541177
JL
124202012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12421
12422 [BZ #11438]
12423 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12424 to global scope.
12425 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12426 addresses are in the same scope as 192.0.2/24.
12427 * posix/gai.conf: Document new scope table defaults.
12428
adb26fae
SP
124292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12430
12431 [BZ #5298]
12432 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12433 for ftell. Compute offsets from write pointers instead.
12434 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12435
4573c6b0
SP
124362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12437
12438 [BZ #14543]
12439 * libio/Makefile (tests): New test case tst-fseek.
12440 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12441 combination works in wide mode.
12442 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12443 state when the external buffer state changes.
12444
aa9bbfe6
DM
124452012-09-27 David S. Miller <davem@davemloft.net>
12446
12447 [BZ #14376]
12448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12449 pass reloc->r_addend in as the 'high' argument to
12450 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12451
784421e7
DM
12452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12453
c39bc8b8
PT
124542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12455
12456 * rt/tst-aio2.c: Include <pthread.h>.
12457 * rt/tst-aio3.c: Likewise.
12458
1ccc2399
SE
124592012-09-27 Steve Ellcey <sellcey@mips.com>
12460
12461 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12462
31ed4153
L
124632012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12464
25f5f885
L
12465 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12466 contents on [SHARED].
31ed4153 12467
b7bfe116
MP
124682012-09-26 Marek Polacek <polacek@redhat.com>
12469
12470 [BZ #14530]
12471 [BZ #13741]
12472 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12473 for C++ and GCC <4.3 as well as for non GCC compilers.
12474
43c4edba
MT
124752012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12476
12477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12478
6a1bf82f
RM
124792012-09-25 Roland McGrath <roland@hack.frob.com>
12480
12481 * Makefile.in (all, install): Declare with .PHONY.
12482 Reported by Michael Hope <michael.hope@linaro.org>.
12483
8ad11b9a
TMQMF
124842012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12485
12486 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12487 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12488 system header.
12489 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12490 Likewise.
12491 (sydep_routines): Add the new and the internal functions.
12492 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12493 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12495 (GLIBC_2.17): Add the new function.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12497 (GLIBC_2.17): Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12499 (GLIBC_2.17): Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12501 (GLIBC_2.17): Likewise.
12502 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12503
7e2fca8d
AM
125042012-09-25 Alan Modra <amodra@gmail.com>
12505
12506 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12507 Add release barrier before setting once_control to say
12508 initialisation is done. Add hints on lwarx. Use macro in
12509 place of isync.
12510 (clear_once_control): Add release barrier.
12511
b87c4b24
JM
125122012-09-25 Joseph Myers <joseph@codesourcery.com>
12513
d032e0d2
JM
12514 [BZ #13629]
12515 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12516 specially.
12517 * math/s_clog10.c (__clog10): Likewise.
12518 * math/s_clog10f.c (__clog10f): Likewise.
12519 * math/s_clog10l.c (__clog10l): Likewise.
12520 * math/s_clogf.c (__clogf): Likewise.
12521 * math/s_clogl.c (__clogl): Likewise.
12522 * math/Makefile (libm-calls): Add x2y2m1.
12523 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12524 (__x2y2m1): Likewise.
12525 (__x2y2m1l): Likewise.
12526 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12527 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12530 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12531 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12532 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12533 * sysdeps/i386/fpu/libm-test-ulps: Update.
12534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12535
b87c4b24
JM
12536 [BZ #14621]
12537 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12538 int as type of variable DEPTH.
12539 (glob): Use size_t instead of int as type of variables NEWCOUNT
12540 and OLD_PATHC.
12541
6d3bf199
LD
125422012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12543
22bf5c17
LD
12544 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12545 Add s_sincosf-sse2.
12546 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12547 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12548 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12549 macros for using routine as __sincosf_ia32.
12550 Use macro for function declaration and weak_alias.
12551 * sysdeps/i386/fpu/libm-test-ulps: Update.
12552
12553 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12555
12556 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12557 subnormal argument.
12558 * math/s_cexpf.c (__cexpf): Likewise.
12559 * math/s_csinf.c (__csinf): Likewise.
12560 * math/s_csinhf.c (__csinhf): Likewise.
12561 * math/s_ctanf.c (__ctanf): Likewise.
12562 * math/s_ctanhf.c (__ctanhf): Likewise.
12563 * math/s_ccosh.c (__ccoshf): Likewise.
12564 * math/s_cexp.c (__cexpl): Likewise.
12565 * math/s_csin.c (__csin): Likewise.
12566 * math/s_csinh.c (__csinh): Likewise.
12567 * math/s_ctan.c (__ctan): Likewise.
12568 * math/s_ctanh.c (ctanh): Likewise.
12569 * math/s_ccoshl.c (__ccoshl): Likewise.
12570 * math/s_cexpl.c (__cexpl): Likewise.
12571 * math/s_csinl.c (__csinl): Likewise.
12572 * math/s_csinhl.c (__csinhl): Likewise.
12573 * math/s_ctanl.c (__ctanl): Likewise.
12574 * math/s_ctanhl.c (__ctanhl): Likewise.
12575
203e5603
JM
125762012-09-25 Joseph Myers <joseph@codesourcery.com>
12577
12578 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12579 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12580 (_IO_off_t): Define to __off_t, not _G_off_t.
12581 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12582 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12583 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12584 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12585 type of __dummy and __dummy2 fields.
12586 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12587 (_G_ssize_t): Likewise.
12588 (_G_off_t): Likewise.
12589 (_G_pid_t): Likewise.
12590 (_G_uid_t): Likewise.
12591 (_G_wchar_t): Likewise.
12592 (_G_wint_t): Likewise.
12593 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12594 (_G_ssize_t): Likewise.
12595 (_G_off_t): Likewise.
12596 (_G_pid_t): Likewise.
12597 (_G_uid_t): Likewise.
12598 (_G_wchar_t): Likewise.
12599 (_G_wint_t): Likewise.
12600 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12601 (_G_ssize_t): Likewise.
12602 (_G_off_t): Likewise.
12603 (_G_pid_t): Likewise.
12604 (_G_uid_t): Likewise.
12605 (_G_wchar_t): Likewise.
12606 (_G_wint_t): Likewise.
12607
9fab36eb
SP
126082012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12609
12610 * malloc/arena.c: Include malloc-sysdep.h.
12611 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12612 is sufficient to shrink the heap or an unmap is needed.
12613 * sysdeps/generic/malloc-sysdep.h: New file. Define
12614 new function check_may_shrink_heap.
12615 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12616 new function check_may_shrink_heap.
12617
2b4f00d1
SP
126182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12619
12620 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12621 comments.
12622
9a9028b1
DL
126232012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12624
57c69bef
DL
12625 * catgets/test-gencat.sh: Add "set -e".
12626 * elf/tst-pathopt.sh: Likewise.
12627 * grp/tst_fgetgrent.sh: Likewise.
12628 * iconvdata/run-iconv-test.sh: Likewise.
12629 * intl/tst-gettext.sh: Likewise.
12630 * intl/tst-gettext2.sh: Likewise.
12631 * intl/tst-gettext4.sh: Likewise.
12632 * intl/tst-gettext6.sh: Likewise.
12633 * intl/tst-translit.sh: Likewise.
12634 * io/ftwtest-sh: Likewise.
12635 * libio/test-freopen.sh: Likewise.
12636 * malloc/tst-mtrace.sh: Likewise.
12637 * posix/globtest.sh: Likewise.
12638 * posix/tst-getconf.sh: Likewise.
12639 * posix/wordexp-tst.sh: Likewise.
12640 * stdio-common/tst-printf.sh: Likewise.
12641 * stdio-common/tst-unbputc.sh: Likewise.
12642 * stdlib/tst-fmtmsg.sh: Likewise.
12643 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12644 * catgets/Makefile: Do not specify -e option when running
12645 testsuite shell scripts.
12646 * elf/Makefile: Likewise.
12647 * grp/Makefile: Likewise.
12648 * iconvdata/Makefile: Likewise.
12649 * intl/Makefile: Likewise.
12650 * io/Makefile: Likewise.
12651 * libio/Makefile: Likewise.
12652 * malloc/Makefile: Likewise.
12653 * posix/Makefile: Likewise.
12654 * stdio-common/Makefile: Likewise.
12655 * stdlib/Makefile: Likewise.
12656 * sysdeps/x86_64/Makefile: Likewise.
12657
9a9028b1
DL
12658 * io/ftwtest-sh: Add copyright header.
12659 * posix/globtest.sh: Likewise.
12660 * posix/tst-getconf.sh: Likewise.
12661 * posix/wordexp-tst.sh: Likewise.
12662 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12663
ced6f16e
L
126642012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12665
94b32c39
L
12666 [BZ #13679]
12667 * Makeconfig (+link): Defined as $(+link-static) if
12668 $(build-shared) isn't yes.
12669 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12670 isn't yes.
12671 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12672
189e935b
L
12673 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12674
ced6f16e
L
12675 [BZ #14562]
12676 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12677 new chunk size with MALLOC_ALIGN_MASK.
12678
a9f8e53a
JM
126792012-09-24 Joseph Myers <joseph@codesourcery.com>
12680
12681 [BZ #5044]
12682 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12683 <rounding-mode.h>.
12684 (__printf_fphex): Determine rounding using get_rounding_mode and
12685 round_away.
12686 * stdio-common/tst-printf-round.c (struct hex_test): New
12687 structure.
12688 (hex_tests): New variable.
12689 (test_hex_in_one_mode): New function.
12690 (do_test): Also run tests for hex float output.
12691
43153109
JM
126922012-09-21 Joseph Myers <joseph@codesourcery.com>
12693
12694 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12695 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12696 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12697 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12698 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12699 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12700 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12701 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12702
8a26625d
JM
127032012-09-20 Joseph Myers <joseph@codesourcery.com>
12704
12705 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12706 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12707 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12708 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12709
f3fd569c
DL
127102012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12711
12712 [BZ #14579]
12713 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12714 mode only.
12715 * elf/tst-rtld-load-self.sh: New test.
12716 * elf/Makefile: Run it.
12717
63bbedd4
JM
127182012-09-18 Joseph Myers <joseph@codesourcery.com>
12719
12720 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12721 (tst-writev-ENV): Remove.
12722 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12723
626f8b6a
CM
127242012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12725
12726 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12727
b7aaa4d6
JM
127282012-09-17 Joseph Myers <joseph@codesourcery.com>
12729
12730 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12731 unconditional.
12732 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12733 Likewise.
12734 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12735 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12736 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12737 Likewise.
12738
65513990
L
127392012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12740
12741 [BZ #14587]
12742 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12743 * config.make.in (have-cpp-asm-debuginfo): Removed.
12744 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12745 * configure: Regenerated.
12746
784761be
JM
127472012-09-14 Joseph Myers <joseph@codesourcery.com>
12748
12749 [BZ #5044]
12750 * stdio-common/printf_fp.c: Include <stdbool.h> and
12751 <rounding-mode.h>.
12752 (___printf_fp): Determine rounding using get_rounding_mode and
12753 round_away.
12754 * stdio-common/tst-printf-round.c: New file.
12755 * stdio-common/Makefile (tests): Add tst-printf-round.
12756 (link-libm): New variable.
12757 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12758
9503345f
L
127592012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12760
12761 [BZ #14576]
12762 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12763 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12764 Likewise.
12765 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12766 Likewise.
12767
ad35fc00
JM
127682012-09-13 Joseph Myers <joseph@codesourcery.com>
12769
12770 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12771 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12772 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12773 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12774
6c9b0f68
JM
127752012-09-12 Joseph Myers <joseph@codesourcery.com>
12776
12777 [BZ #14518]
12778 * include/rounding-mode.h: New file.
12779 * sysdeps/generic/get-rounding-mode.h: Likewise.
12780 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12781 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12782 (MAX_VALUE): New macro.
12783 (MIN_VALUE): Likewise.
12784 (overflow_value): New function.
12785 (underflow_value): Likewise.
12786 (round_and_return): Use overflow_value and underflow_value to
12787 determine return values in overflow and underflow cases. Use
12788 round_away to determine rounding depending on rounding mode.
12789 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12790 determine return values in overflow and underflow cases.
12791 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12792 (struct test_results): New structure.
12793 (struct test): Use struct test_results to store expected results
12794 for all rounding modes.
12795 (TEST): Include expected results for all rounding modes.
12796 (test_in_one_mode): New function.
12797 (do_test): Use test_in_one_mode to compute and check results.
12798 Check results for all rounding modes.
12799 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12800 $(link-libm).
12801
19fcedd5
AM
128022012-12-09 Allan McRae <allan@archlinux.org>
12803
1e9d84cd 12804 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12805
8bbfd2f1
JM
128062012-09-11 Joseph Myers <joseph@codesourcery.com>
12807
12808 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12809 (_G_int32_t): Likewise.
12810 (_G_uint16_t): Likewise.
12811 (_G_uint32_t): Likewise.
12812 (_G_HAVE_BOOL): Likewise.
12813 (_G_HAVE_ATEXIT): Likewise.
12814 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12815 (_G_HAVE_IO_FILE_OPEN): Likewise.
12816 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12817 (_G_int32_t): Likewise.
12818 (_G_uint16_t): Likewise.
12819 (_G_uint32_t): Likewise.
12820 (_G_HAVE_BOOL): Likewise.
12821 (_G_HAVE_ATEXIT): Likewise.
12822 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12823 (_G_HAVE_IO_FILE_OPEN): Likewise.
12824 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12825 (_G_int32_t): Likewise.
12826 (_G_uint16_t): Likewise.
12827 (_G_uint32_t): Likewise.
12828 (_G_HAVE_BOOL): Likewise.
12829 (_G_HAVE_ATEXIT): Likewise.
12830 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12831 (_G_HAVE_IO_FILE_OPEN): Likewise.
12832
b1dc5912
L
128332012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12834
12835 * csu/libc-tls.c: Update copyright years.
12836
0e886ef9
JM
128372012-09-10 Joseph Myers <joseph@codesourcery.com>
12838
28361c5e
JM
12839 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12840 [!_G_USING_THUNKS]: Remove conditional code.
12841 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12842 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12843
0e886ef9
JM
12844 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12845 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12846 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12847 (_G_VTABLE_LABEL_PREFIX): Likewise.
12848 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12849 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12850 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12851 (_G_VTABLE_LABEL_PREFIX): Likewise.
12852 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12853 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12854 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12855 (_G_VTABLE_LABEL_PREFIX): Likewise.
12856 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12857
bcba7aa2
L
128582012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12859
12860 * libio/Makefile: Include ../Makeconfig before tests.
12861 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12862 only if $(build-shared) is yes.
12863
06585ee8
L
12864 * iconv/gconv_db.c: Update copyright years.
12865
80ccd52c
LD
128662012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12867
12868 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12869 unwind info if defined PIC. Fix special cases description.
12870 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12871
12872 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12873 DP_HI_MASK entry.
12874 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12875
691bc9c1
L
128762012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12877
3d9b46b3
L
12878 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12879
de2139a9
L
12880 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12881 is NULL.
12882
5ca78dd0
L
12883 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12884 (LDLIBS-tst-chk4): This.
12885 (LDFLAGS-tst-chk5): Renamed to ...
12886 (LDLIBS-tst-chk5): This.
12887 (LDFLAGS-tst-chk6): Renamed to ...
12888 (LDLIBS-tst-chk6): This.
12889 (LDFLAGS-tst-lfschk4): Renamed to ...
12890 (LDLIBS-tst-lfschk4): This.
12891 (LDFLAGS-tst-lfschk5): Renamed to ...
12892 (LDLIBS-tst-lfschk5): This.
12893 (LDFLAGS-tst-lfschk6): Renamed to ...
12894 (LDLIBS-tst-lfschk6): This.
12895
691bc9c1
L
12896 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12897 on $(common-objpfx)soversions.mk.
12898
65cafb1c
JM
128992012-09-07 Joseph Myers <joseph@codesourcery.com>
12900
12901 [BZ #10014]
12902 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12903 example host name.
12904
c78ab094
SP
129052012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
12907 * malloc/arena.c (arena_get_retry): New function that gets
12908 another arena for the caller to try its request on.
12909 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12910 current arena cannot fulfill the request.
12911 (__libc_memalign): Likewise.
12912 (__libc_memalign): Likewise.
12913 (__libc_pvalloc): Likewise.
12914 (__libc_calloc): Likewise.
12915
01f49f59
JT
129162012-09-05 John Tobey <john.tobey@gmail.com>
12917
12918 [BZ #13542]
12919 * manual/arith.texi (Operations on Complex): Fix description
12920 of carg branch cut.
12921
4c23fed5
JM
129222012-09-06 Joseph Myers <joseph@codesourcery.com>
12923
1d3c8572
JM
12924 [BZ #10014]
12925 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12926 host name.
12927
4c23fed5
JM
12928 [BZ #10038]
12929 * manual/memory.texi (Memory): Make order of menu items match
12930 order of sections.
12931
04570aaa
L
129322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12933
12934 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12935 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12936 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12937
b80af2f4
L
129382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12939
12940 * csu/libc-tls.c (static_dtv): Renamed to ...
12941 (_dl_static_dtv): This. Make it global.
12942 (_dl_initial_dtv): Removed.
12943 (__libc_setup_tls): Updated.
12944 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12945 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12946 DL_INITIAL_DTV.
12947
2abe9f15
PM
129482012-09-06 Petr Machata <pmachata@redhat.com>
12949
12950 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12951 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12952 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12953 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12954
0948c3af
L
129552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12956
12957 [BZ #14545]
12958 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12959 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12960 freeing dtv[-1].
12961
a5055ad1
L
129622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 [BZ #14544]
12965 * Makeconfig (link-static-before-libc): Replace $(+prector)
12966 with $(+prectorT).
12967 (link-static-after-libc): Replace $(+postctor) with
12968 $(+postctorT).
12969 (link-bounded): Replace $(+prector)/$(+postctor) with
12970 $(+prectorT)/$(+postctorT).
12971 (+prectorT): New macro.
12972 (+postctorT): Likewise.
12973
ed8c2ecd
JM
129742012-09-06 Joseph Myers <joseph@codesourcery.com>
12975
12976 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12977 (round_str): Handle values above the maximum for IBM long double
12978 as inexact.
12979 * stdlib/tst-strtod-round.c (tests): Regenerated.
12980
14c996c8
AK
129812012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12982
12983 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12984 assembler flag.
12985 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12986 zarch_nohighgprs around the zarch optimized routines.
12987 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12988 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12989 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12990 for zarch.
12991
430d6ce6
DM
129922012-09-05 David S. Miller <davem@davemloft.net>
12993
12994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12995
ff04dda4
DM
12996 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12997 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12998 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12999 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13000 entries.
13001
24d4e01b
AO
130022012-09-05 Alexandre Oliva <aoliva@redhat.com>
13003
13004 * malloc/arena.c: Fold copyright years.
13005 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13006
61d58174
AO
130072012-09-05 Alexandre Oliva <aoliva@redhat.com>
13008
13009 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13010
20196a5e
AO
130112012-09-05 Alexandre Oliva <aoliva@redhat.com>
13012
13013 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13014
5c447383
AO
130152012-09-05 Alexandre Oliva <aoliva@redhat.com>
13016
13017 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13018 change internal state upon failure.
13019
fad64255
AO
130202012-09-05 Alexandre Oliva <aoliva@redhat.com>
13021
13022 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13023 * malloc/memusage.c (mmap): Likewise.
13024 (mmap64, mremap): Likewise. Adjust name in comment.
13025
1ffb8c90
SP
130262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13027
13028 * libio/fileops.c: Fix typos in comments.
13029 * libio/oldfileops.c: Likewise.
13030 * libio/wfileops.c: Likewise.
13031
6ef9cc37
SP
130322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13033
13034 [BZ #1349]
13035 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13036 (tst-malloc-usable-ENV): Set environment for test case.
13037 * malloc/hooks.c (malloc_check_get_size): New function to get
13038 requested size.
13039 * malloc/malloc.c (musable): Use malloc_check_get_size.
13040 * malloc/tst-malloc-usable.c: New test case.
13041
4d038ae3
AS
130422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13043
13044 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13045
c4e85184
AM
130462012-09-05 Allan McRae <allan@archlinux.org>
13047
b9dafc56 13048 [BZ #13966]
c4e85184
AM
13049 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13050 determine header location.
13051 * configure: Regenerated.
13052
e1343020
AS
130532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13054
13055 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13056 float format.
13057 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13058 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13059 format.
e1343020
AS
13060 (test): Regenerate.
13061
0a9f1987
DM
130622012-09-04 David S. Miller <davem@davemloft.net>
13063
13064 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13065 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13066 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13067
29237804
FW
130682012-09-04 Florian Weimer <fweimer@redhat.com>
13069
13070 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13071 failures.
13072
edb3cb88
FW
13073 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13074
60160d83
JM
130752012-09-04 Joseph Myers <joseph@codesourcery.com>
13076
13077 [BZ #9914]
13078 * libio/iogetdelim.c: Include <limits.h>.
13079 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13080 + len + 1 would overflow.
13081
bcd6c8dc
AJ
130822012-09-03 Andreas Jaeger <aj@suse.de>
13083
13084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13085 * sysdeps/i386/fpu/libm-test-ulps: Update.
13086
4ffffbd2
LD
130872012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13088
13089 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13090 Add s_sinf-sse2, s_conf-sse2.
13091
13092 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13093 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13094 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13095 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13096
13097 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13098 for using routine as __sinf_ia32.
13099 Use macro for function declaration and weak_alias.
13100 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13101 for using routine as __cosf_ia32.
13102 Use macro for function declaration and weak_alias.
13103
13104 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13105 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13106
13107 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13108 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13110
13111 * math/libm-test.inc (cos_test): Add more test cases.
13112 (sin_test): Likewise.
13113 (sincos_test): Likewise.
13114
511fa286
AK
131152012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13116
13117 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13118 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13119 hidden.
13120 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13121
5f30cfec
L
131222012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13123
13124 [BZ #14538]
13125 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13126 first element of the GOT.
13127 (elf_machine_load_address): Return the difference between
13128 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13129
0786794f
AM
131302012-09-01 Allan McRae <allan@archlinux.org>
13131
5f30cfec
L
13132 [BZ #13412]
13133 * configure.in (AWK): Require gawk version 3.0 or later.
13134 * configure: Regenerated.
0786794f 13135
26889eac
JM
131362012-09-01 Joseph Myers <joseph@codesourcery.com>
13137
13138 * sysdeps/unix/sysv/linux/kernel-features.h
13139 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13141 [__NR_clock_getres]: Make code unconditional.
13142 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13143 (clock_getcpuclockid): Remove code left unreachable by removal of
13144 conditionals.
13145 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13146 code unconditional.
13147 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13148 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13149 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13150 Make code unconditional.
13151 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13152 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13153 * sysdeps/unix/sysv/linux/clock_settime.c
13154 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13155 conditional code.
13156 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13157 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13158
d22e28b0
L
131592012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 [BZ #14476]
13162 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13163 scripts/test-installation.pl.
13164
13165 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13166 and $ld_so_version if it is set.
13167
050af9c4
SP
131682012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13169
13170 [BZ #14516]
13171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13172 failure if reading from procfs failed.
13173 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13174
ad845c0b
JM
131752012-08-27 Joseph Myers <joseph@codesourcery.com>
13176
13177 * sysdeps/unix/sysv/linux/kernel-features.h
13178 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13179 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13180 Remove conditional code.
13181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13182 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13183 Remove conditional code.
13184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13185 * sysdeps/unix/sysv/linux/i386/fxstat.c
13186 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13188 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13189 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13191 * sysdeps/unix/sysv/linux/i386/lxstat.c
13192 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13194 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13195 Remove conditional code.
13196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13197 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13198 Remove conditional code.
13199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13200 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13201 <kernel-features.h>.
13202 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13203 Remove.
13204 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13205 Remove conditional code.
13206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13207 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13208 Remove conditional.
13209
5dbf56af
MF
132102012-08-27 Mike Frysinger <vapier@gentoo.org>
13211
13212 [BZ #5400]
13213 * NEWS: Add fixed bug number.
13214
d6e70f43
JM
132152012-08-27 Joseph Myers <joseph@codesourcery.com>
13216
7efb4737
JM
13217 [BZ #14519]
13218 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13219 underflowing exponent in case of negative sign.
13220 * stdlib/tst-strtod-round-data: Add more tests.
13221 * stdlib/tst-strtod-round.c (tests): Regenerated.
13222
af92131a
JM
13223 [BZ #3479]
13224 * stdlib/strtod_l.c (NDIG): Remove.
13225 (HEXNDIG): Likewise.
13226 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13227 smallest representable value.
13228 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13229 lie within an exact representation of 1/2 ulp of the result.
13230 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13231 unconditionally.
13232 (TENS_P9_IDX): Define unconditionally.
13233 (TENS_P9_SIZE): Likewise.
13234 (TENS_P10_IDX): Likewise.
13235 (TENS_P10_SIZE): Likewise.
13236 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13237 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13238 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13239 entries for 10^2^13 and 10^2^14.
13240 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13241 (TENS_P13_IDX): Define.
13242 (TENS_P13_SIZE): Likewise.
13243 (TENS_P14_IDX): Likewise.
13244 (TENS_P14_SIZE): Likewise.
13245 (_fpioconst_pow10): Change array size to
13246 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13247 unconditional.
13248 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13249 1024]: Add entries for 10^2^13 and 10^2^14.
13250 [LAST_POW10 > _LAST_POW10]: Remove #error.
13251 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13252 (_fpioconst_pow10): Change array size to
13253 FPIOCONST_POW10_ARRAY_SIZE.
13254 * stdlib/gen-fpioconst.c: New file.
13255 * stdlib/gen-tst-strtod-round.c: Likewise.
13256 * stdlib/tst-strtod-round-data: Likewise.
13257 * stdlib/tst-strtod-round.c: Likewise.
13258 * stdlib/Makefile (tests): Add tst-strtod-round.
13259
d6e70f43
JM
13260 [BZ #14459]
13261 * stdlib/strtod_l.c: Include <stdint.h>.
13262 (NDEBUG): Do not define.
13263 (round_and_return): Change EXPONENT parameter to type intmax_t.
13264 Rearrange calculations to avoid internal overflow possibilities.
13265 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13266 Rearrange calculations to avoid internal overflow possibilities.
13267 Assert that number fits inside MPNSIZE limbs.
13268 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13269 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13270 calculations and add assertions to avoid internal overflow
13271 possibilities. Add casts to avoid signed/unsigned operations.
13272 * stdlib/tst-strtod-overflow.c: New file.
13273 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13274
1f529f7d
MP
132752012-08-25 Marek Polacek <polacek@redhat.com>
13276
13277 * time/time.h: Fix some typos in comments.
13278
59a629f1
RM
132792012-08-23 Roland McGrath <roland@hack.frob.com>
13280
13281 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13282 * posix/tst-rfc3484-2.c: Likewise.
13283 * posix/tst-rfc3484-3.c: Likewise.
13284
d3bafbc9
SM
132852012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13286
13287 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13288 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13289
4efcc022
JM
132902012-08-23 Joseph Myers <joseph@codesourcery.com>
13291
13292 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13293 #include of fxstatat64.c.
13294
3cc3ef96
RM
132952012-08-22 Roland McGrath <roland@hack.frob.com>
13296
f04e2132
RM
13297 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13298 * shadow/getspent_r.c: Likewise.
13299 * shadow/getspnam.c: Likewise.
13300 * shadow/getspnam_r.c: Likewise.
13301 * gshadow/getsgent.c: Likewise.
13302 * gshadow/getsgent_r.c: Likewise.
13303 * gshadow/getsgnam.c: Likewise.
13304 * gshadow/getsgnam_r.c: Likewise.
13305 * inet/getnetbyad.c: Likewise.
13306 * inet/getnetbyad_r.c: Likewise.
13307 * inet/getnetbynm.c: Likewise.
13308 * inet/getnetbynm_r.c: Likewise.
13309 * inet/getnetent.c: Likewise.
13310 * inet/getnetent_r.c: Likewise.
13311 * inet/getproto.c: Likewise.
13312 * inet/getproto_r.c: Likewise.
13313 * inet/getprtent.c: Likewise.
13314 * inet/getprtent_r.c: Likewise.
13315 * inet/getprtname.c: Likewise.
13316 * inet/getprtname_r.c: Likewise.
13317 * inet/getrpcbyname.c: Likewise.
13318 * inet/getrpcbyname_r.c: Likewise.
13319 * inet/getrpcbynumber.c: Likewise.
13320 * inet/getrpcbynumber_r.c: Likewise.
13321 * inet/getrpcent.c: Likewise.
13322 * inet/getrpcent_r.c: Likewise.
13323 * inet/getaliasent.c: Likewise.
13324 * inet/getaliasent_r.c: Likewise.
13325 * inet/getaliasname.c: Likewise.
13326 * inet/getaliasname_r.c: Likewise.
13327 * nscd/getgrgid_r.c: Likewise.
13328 * nscd/getgrnam_r.c: Likewise.
13329 * nscd/gethstbyad_r.c: Likewise.
13330 * nscd/gethstbynm3_r.c: Likewise.
13331 * nscd/getpwnam_r.c: Likewise.
13332 * nscd/getpwuid_r.c: Likewise.
13333 * nscd/getsrvbynm_r.c: Likewise.
13334 * nscd/getsrvbypt_r.c: Likewise.
13335 * nscd/gai.c: Likewise.
13336
c53d909c
RM
13337 * configure.in (build_nscd): New substituted variable, set
13338 by --disable-build-nscd and defaults to $use_nscd.
13339 * configure: Regenerated.
13340 * config.make.in (build-nscd): New substituted variable.
13341 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13342 Change conditional to require [$(build-nscd) = yes] as well.
13343 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13344
3cc3ef96
RM
13345 [BZ# 13696]
13346 * configure.in (use_nscd): New substituted variable, set by
13347 --disable-nscd. If enabled, define USE_NSCD.
13348 * configure: Regenerated.
13349 * config.h.in: Add USE_NSCD.
13350 * config.make.in (use-nscd): New substituted variable.
13351 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13352 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13353 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13354 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13355 (CFLAGS-getgrnam_r.c): Likewise.
13356 (CFLAGS-initgroups.c): Likewise.
13357 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13358 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13359 Variables removed.
13360 * inet/getnetgrent_r.c
13361 (nscd_setnetgrent): New function, broken out of ...
13362 (setnetgrent): ... here. Call it.
13363 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13364 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13365 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13366 * nscd/Makefile (routines, aux): Move definitions after include of
13367 Makeconfig. Conditionalize on [$(use-nscd) != no].
13368 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13369 Conditionalize on [USE_NSCD].
13370 (is_nscd, nscd_init_cb): Likewise.
13371 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13372 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13373 * nss/nss_db/db-init.c: Likewise.
13374 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13375 [USE_NSCD].
13376 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13377 (make_request): Use it.
13378 (cache_valid_p): New function.
13379 (__check_pf): Use it.
13380 * NEWS: Add item for --disable-nscd.
13381
07e51550
DL
133822012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13383
13384 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13385 to support sed >= 4.2.1-20-ga9bf076.
13386 * configure: Regenerated.
13387
35a5b08b
RM
133882012-08-22 Roland McGrath <roland@hack.frob.com>
13389
13390 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13391 Conditionalize whole body on [IREL].
13392
8479f23a
JL
133932012-08-22 Jeff Law <law@redhat.com>
13394
13395 [BZ #14505]
13396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13397 if the family is PF_UNSPEC.
13398
48da0b21
MF
133992012-08-22 Mike Frysinger <vapier@gentoo.org>
13400
13401 * Makerules (lib-version): Rename from V.
13402 (install-lib-nosubdir): Change V to lib-version.
13403
15d0da8c
WS
134042012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13405
13406 [BZ #14252]
13407 * powerpc32/power6/wcschr.c: New file.
13408 * powerpc32/power6/wcscpy.c: New file.
13409 * powerpc32/power6/wcsrchr.c: New file.
13410 * powerpc64/power6/wcschr.c: New file.
13411 * powerpc64/power6/wcscpy.c: New file.
13412 * powerpc64/power6/wcsrchr.c: New file.
13413
bcca0895
MK
134142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13415
13416 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13417 (two_way_short_needle): Use it.
5a4aaa33
RM
13418 * string/strstr.c (AVAILABLE1_USES_J): Define.
13419 * string/strcasestr.c: Likewise.
99677e57
MK
13420
13421 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13422 array references.
13423 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13424
400726de
MK
13425 [BZ #11607]
13426 * NEWS: Add an entry.
13427 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13428 define their defaults.
13429 (two_way_short_needle): Detect end-of-string on-the-fly.
13430 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13431 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13432 * string/bug-strcasestr1.c: New test.
13433 * string/Makefile: Run it.
13434
20a71f2c
MK
134352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13436
13437 [BZ #11607]
13438 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13439 the first character.
13440
21ad0558
RM
134412012-08-21 Roland McGrath <roland@hack.frob.com>
13442
13443 * csu/elf-init.c (__libc_csu_irel): Function removed.
13444 * csu/libc-start.c (apply_irel): New function.
13445 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13446
0e1d9911
JM
134472012-08-21 Joseph Myers <joseph@codesourcery.com>
13448
13449 * sysdeps/unix/sysv/linux/kernel-features.h
13450 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13451 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13452 <kernel-features.h>.
13453 [__NR_fadvise64_64]: Make code unconditional.
13454 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13455 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13456 !__NR_fadvise64_64)]: Likewise.
13457 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13458 !__NR_fadvise64_64))]: Likewise.
13459 [__NR_fadvise64]: Make code unconditional.
13460 [!__NR_fadvise64]: Remove conditional code.
13461 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13462 <kernel-features.h>.
13463 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13464 unconditional.
13465 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13466 conditional code.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13468 not include <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/s390/s390-32/posix_fadvise64.c: Do not
13474 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
14a50c9d
WS
134802012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13481
13482 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13483 slight instruction rearrangements per scrollpipe analysis.
13484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13485
c0f4faf0
RM
134862012-08-20 Roland McGrath <roland@hack.frob.com>
13487
696da859
RM
13488 * manual/syslog.texi (syslog; vsyslog, closelog):
13489 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13490 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13491
c0f4faf0
RM
13492 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13493 DSOCAPS to match condition on defining it.
13494
348363b2
JM
134952012-08-20 Joseph Myers <joseph@codesourcery.com>
13496
a35cbf28
JM
13497 * sysdeps/unix/sysv/linux/kernel-features.h
13498 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13500 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13501 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13503 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13504 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13506 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13507 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13508
445f7ecd
JM
13509 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13510 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13511
348363b2
JM
13512 * sysdeps/unix/sysv/linux/kernel-features.h
13513 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13514 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13515 unconditional.
13516 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13517 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13518 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13519 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13520 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13521 Make code unconditional.
13522 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13523 (__mmap64) [!__NR_mmap2]: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13525 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13526 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13527 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13528 [__NR_mmap2]: Make code unconditional.
13529 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13530 (__mmap64) [!__NR_mmap2]: Likewise.
13531
bc5bc0e5
AK
135322012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13533
13534 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13535
88d506de
AJ
135362012-08-18 Andreas Jaeger <aj@suse.de>
13537
13538 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13539
493387d2
MF
135402012-08-18 Mike Frysinger <vapier@gentoo.org>
13541
13542 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13543 * include/unistd.h (__have_sock_cloexec): Likewise.
13544 (__have_pipe2): Likewise.
13545 (__have_dup3): Likewise.
13546
a277af22
MF
135472012-08-18 Mike Frysinger <vapier@gentoo.org>
13548
13549 [BZ #9685]
13550 * include/unistd.h (__have_pipe2): Change define into an extern int.
13551 (__have_dup3): Likewise.
13552 * socket/have_sock_cloexec.c: Include fcntl.h.
13553 (__have_pipe2): New variable.
13554 (__have_dup3): Likewise.
13555
fdab8fd3
MF
135562012-08-17 Mike Frysinger <vapier@gentoo.org>
13557
13558 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13559
31035e80
MP
135602012-08-17 Marek Polacek <polacek@redhat.com>
13561
13562 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13563 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13564
3bd9e993
RM
135652012-08-17 Roland McGrath <roland@hack.frob.com>
13566
c91c505f
RM
13567 * configure.in: Add AC_SUBST for sysheaders.
13568 * configure: Regenerated.
13569 * config.make.in (sysheaders): New substituted variable.
13570
7c6f9d53
RM
13571 * sysdeps/unix/mkfifo.c: Moved ...
13572 * sysdeps/posix/mkfifo.c: ... here.
13573 * sysdeps/unix/mkfifoat.c: Moved ...
13574 * sysdeps/posix/mkfifoat.c: ... here.
13575
13576 * sysdeps/unix/utime.c: Moved ...
13577 * sysdeps/posix/utime.c: ... here.
13578
13579 * sysdeps/unix/time.c: Moved ...
13580 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13581 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13582 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13583
13584 * sysdeps/unix/nice.c: Moved ...
13585 * sysdeps/posix/nice.c: ... here.
13586
13587 * sysdeps/unix/alarm.c: Moved ...
13588 * sysdeps/posix/alarm.c: ... here.
13589
3bd9e993
RM
13590 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13591
d1f09384
JL
135922012-08-17 Jeff Law <law@redhat.com>
13593
13594 * intl/Makefile (codeset_mo): New variable.
13595 ($(codeset_mo)): New target.
13596 (tst-codeset.out): Depend on that. Remove explicit rule.
13597 (tst-gettext3.out, tst-gettext5.out): Likewise.
13598 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13599 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13600 * intl/tst-codeset.sh: Remove.
13601 * intl/tst-gettext3.sh: Likewise.
13602 * intl/tst-gettext5.sh: Likewise.
13603
2ae1ae5c
RM
136042012-08-17 Roland McGrath <roland@hack.frob.com>
13605
c31fdb83
RM
13606 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13607 * sysdeps/unix/syscalls.list: ... here.
13608
a0844057
RM
13609 * sysdeps/posix/getaddrinfo.c
13610 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13611 (gaiconf_init, gaiconf_reload): Use them.
13612 [!_STATBUF_ST_NSEC]
13613 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13614 Define using time_t rather than struct timespec.
13615
750c1f2a
RM
13616 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13617 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13618 Macros removed.
13619 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13620 [!NO_THREADS].
13621 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13622 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13623 Likewise.
13624
2ae1ae5c
RM
13625 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13626 __libc_cleanup_push argument.
13627
e66a42f5
RM
13628 * bits/param.h: New file.
13629 * misc/sys/param.h: New file.
13630 * include/sys/param.h: New file.
13631 * misc/Makefile (headers): Add bits/param.h.
13632 * sysdeps/generic/sys/param.h: File removed.
13633 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13634 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13635 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13636 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13637
b7c08a66
RM
13638 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13639 last change.
13640
b2e1c562
RM
13641 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13642 [_IO_MTSAFE_IO].
13643 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13644 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13645 New macros.
13646
c75ccd4c
RM
13647 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13648 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13649 rather than -D_IO_MTSAFE_IO conditionally.
13650 * stdio-common/Makefile (CPPFLAGS): Likewise.
13651 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13652 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13653 Use $(libio-mtsafe).
13654 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13655 of -D_IO_MTSAFE_IO.
13656 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13657 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13658 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13659 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13660 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13661 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13662 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13663 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13664 (CFLAGS-fread_u_chk.c): Likewise.
13665 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13666 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13667 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13668 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13669 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13670 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13671 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13672 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13673 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13674
13675 * libio/Makefile: Test [$(libc-reentrant) = yes]
13676 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13677
13678 * Makeconfig
13679 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13680 * sysdeps/pthread/configure: File removed.
13681 * sysdeps/pthread/Makeconfig: New file.
13682 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13683 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13684
d9195db8
GB
136852012-08-16 Gary Benson <gbenson@redhat.com>
13686
13687 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13688 unmapping the first object in a namespace.
13689
86466cd9
RM
136902012-08-16 Roland McGrath <roland@hack.frob.com>
13691
13692 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13693 (__internal_setnetgrent): ... this. Add internal_function to
13694 definition. Add libc_hidden_def.
13695 (setnetgrent): Update caller.
13696 (internal_endnetgrent): Renamed to ...
13697 (__internal_endnetgrent): ... this. Add internal_function to
13698 definition. Add libc_hidden_def.
13699 (endnetgrent): Update caller.
13700 (internal_getnetgrent_r): Renamed to ...
13701 (__internal_getnetgrent_r): ... this. Add internal_function to
13702 definition. Add libc_hidden_def.
13703 (__getnetgrent_r): Update caller.
13704 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13705
c3c8283c
JM
137062012-08-16 Joseph Myers <joseph@codesourcery.com>
13707
13708 * stdlib/longlong.h: Update from GCC.
13709
db1ee0a8
RM
137102012-08-16 Roland McGrath <roland@hack.frob.com>
13711
13712 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13713 on _QL, which is set by umul_ppmm but never used.
13714 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13715 variables, which are set by GMP macros but never used.
13716 * stdio-common/_itowa.c (_itowa): Likewise.
13717 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13718 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13719
30f69637
CD
137202012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13721
13722 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13723 struct La_sh_regs is not constant.
13724 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13725 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13726 and struct La_sparc64_regs are not constant.
13727
93a78ac4
JM
137282012-08-16 Joseph Myers <joseph@codesourcery.com>
13729
13730 * sysdeps/unix/sysv/linux/kernel-features.h
13731 (__ASSUME_POSIX_TIMERS): Remove.
13732 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13733 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13734 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13735 Make code unconditional.
13736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13737 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13738 Make code unconditional.
13739 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13740 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13741 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13743 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13744 Make code unconditional.
13745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13746 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13747 (__libc_missing_posix_timers): Remove.
13748
dd924cd7
RM
137492012-08-15 Roland McGrath <roland@hack.frob.com>
13750
4b4f2771
RM
13751 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13752 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13753
601c888b
RM
13754 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13755
176790a7
RM
13756 * elf/dl-sym.c: Include <stdlib.h>.
13757
329bc018
RM
13758 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13759 constants, which avoids warnings in 32-bit builds.
13760
e04e272d
RM
13761 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13762 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13763
952bf94a
RM
13764 * misc/lseek.c: File moved to ...
13765 * io/lseek.c: ... here.
13766
7c99b50a
RM
13767 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13768
dd924cd7
RM
13769 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13770 shifting LEN more than 31 bits at once.
13771
b3f479a8
LD
137722012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13773
13774 [BZ #14195]
8c4ae0d4
RM
13775 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13776 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13777 * string/test-strncasecmp.c (check1): Renamed to...
13778 (bz12205): ...this.
13779 (bz14195): Add new testcase for two empty input strings and N > 0.
13780 (test_main): Call new testcase, adapt for renamed function.
13781
9c55864e
AJ
137822012-08-15 Andreas Jaeger <aj@suse.de>
13783
13784 [BZ #14090]
13785 * crypt/md5test2.c: New test, based on test supplied by Serge
13786 Belyshev <belyshev@depni.sinp.msu.ru>.
13787 * crypt/Makefile (xtests): Add md5test-giant..
13788 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13789
02dcb6c5
PE
137902012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13791
13792 [BZ #14090]
13793 * crypt/md5.c (md5_process_block): Don't assume the buffer
13794 length is less than 2**32.
13795 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13796 length is less than 2**64.
13797
a3f95dcc
RM
137982012-08-15 Roland McGrath <roland@hack.frob.com>
13799
be75d758
RM
13800 * string/str-two-way.h: Include <sys/param.h>.
13801 (MAX): Macro removed.
13802
7312ca90
RM
13803 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13804 Move #define and #undef of memmove to just before and after
13805 including <string.h>.
13806
9a0a5486
RM
13807 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13808 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13809 and after including <string.h>. Move declarations of
13810 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13811 to before #include "string/memmove.c".
13812
67cc348d
RM
13813 * include/dirent.h: Declare __getdirentries.
13814
a3f95dcc
RM
13815 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13816 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13817
ca98e171
MF
138182012-08-14 Mike Frysinger <vapier@gentoo.org>
13819
13820 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13821 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13822 * sysdeps/i386/configure: Regenerated.
13823 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13824 STABS_CURRENT_FILE, and STABS_FUN.
13825 (END): Remove call to STABS_FUN_END.
13826 (STABS_CURRENT_FILE1): Delete.
13827 (STABS_CURRENT_FILE): Likewise.
13828 (STABS_FUN): Likewise.
13829 (STABS_FUN_END): Likewise.
13830 (STABS_FUN2): Likewise.
13831 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13832 * sysdeps/x86_64/configure: Regenerated.
13833
5908bf46
RM
138342012-08-14 Roland McGrath <roland@hack.frob.com>
13835
13836 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13837 * elf/dl-lookup.c: Likewise.
5908bf46 13838
f2c05b9e
JM
138392012-08-14 Joseph Myers <joseph@codesourcery.com>
13840
13841 * sysdeps/unix/sysv/linux/kernel-features.h
13842 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13843 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13844 unconditionally.
13845 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13846 unconditionally.
13847 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13848 condition on __ASSUME_CLONE_THREAD_FLAGS.
13849
e11f5155
AJ
138502012-08-14 Andreas Jaeger <aj@suse.de>
13851
13852 * sysdeps/i386/fpu/libm-test-ulps: Update.
13853
51a9ba86
MK
138542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13855
2fdd4f78
AJ
13856 * include/atomic.h (atomic_exchange_and_add): Split into ...
13857 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13858 New atomic macros.
51a9ba86 13859
ba6cba9e
MT
138602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13861
13862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13863
42443a47
JL
138642012-08-13 Jeff Law <law@redhat.com>
13865
13866 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13867 null byte in the output string.
13868
121dce05
JM
138692012-08-10 Joseph Myers <joseph@codesourcery.com>
13870
13871 * sysdeps/unix/sysv/linux/kernel-features.h
13872 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13873 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13874 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13875 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13876 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13877 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13878 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13879
bf51f568
JL
138802012-08-09 Jeff Law <law@redhat.com>
13881
13882 [BZ #13939]
13883 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13884 When avoid_arena is set, don't retry in the that arena. Pick the
13885 next one, whatever it might be.
13886 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13887 (arena_lock): Pass in new parameter to arena_get2.
13888 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13889 arena_get2.
13890 (__libc_malloc): Unify retrying after main arena failure with
13891 __libc_memalign version.
13892 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13893
f85fa270
L
138942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 [BZ #14166]
13897 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13898 to __redirect_strstr.
13899 (__strstr_sse42): Use typeof __redirect_strstr.
13900 (__strstr_ia32): Likewise.
13901 (__libc_strstr): New prototype.
13902 (strstr): Renamed to ...
13903 (__libc_strstr): This.
13904 (strstr): New strong alias of __libc_strstr.
13905 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13906 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13907 __redirect_time.
13908 Include <time.h>.
13909 (__libc_time): New prototype.
13910 (time_ifunc): Replace time with __libc_time.
13911 (time): New strong alias and hidden definition of __libc_time.
13912 (__GI_time): Remove strong alias.
13913 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13914 Include <stddef.h>.
13915 (memmove): Redefined to __redirect_memmove.
13916 (__memmove_sse2): Use typeof __redirect_memmove.
13917 (__memmove_ssse3): Likewise.
13918 (__memmove_ssse3_back): Likewise.
13919 (__libc_memmove): New prototype.
13920 (memmove): Renamed to ...
13921 (__libc_memmove): This.
13922 (memmove): New strong alias of __libc_memmove.
13923
33b4a91e
MS
139242012-08-08 Mark Salter <msalter@redhat.com>
13925
13926 * elf/elf.h
13927 (R_MN10300_TLS_GD): Define.
13928 (R_MN10300_TLS_LD): Likewise.
13929 (R_MN10300_TLS_LDO): Likewise.
13930 (R_MN10300_TLS_GOTIE): Likewise.
13931 (R_MN10300_TLS_IE): Likewise.
13932 (R_MN10300_TLS_LE): Likewise.
13933 (R_MN10300_TLS_DTPMOD): Likewise.
13934 (R_MN10300_TLS_DTPOFF): Likewise.
13935 (R_MN10300_TLS_TPOFF): Likewise.
13936 (R_MN10300_SYM_DIFF): Likewise.
13937 (R_MN10300_ALIGN): Likewise.
13938 (R_MN10300_NUM): Update.
13939
b36137f1
JM
139402012-08-08 Joseph Myers <joseph@codesourcery.com>
13941
13942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13943 Remove.
13944
cdd915fd
RM
139452012-08-08 Roland McGrath <roland@hack.frob.com>
13946
a2433aac
RM
13947 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13948
cdd915fd
RM
13949 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13950 sysdeps/unix -> sysdeps/posix move.
13951 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13952
bf9b740a
AM
139532012-08-07 Allan McRae <allan@archlinux.org>
13954
13955 [BZ #14303]
13956 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13957 (SUNOS_CPP): Likewise.
13958 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13959 not found.
13960 (open_input): Call CPP using execvp.
13961
93df14ee
JM
139622012-08-07 Joseph Myers <joseph@codesourcery.com>
13963
13964 * sysdeps/unix/sysv/linux/kernel-features.h
13965 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13966 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13967 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13968 (__ASSUME_WAITID_SYSCALL): Likewise.
13969 * sysdeps/unix/sysv/linux/dl-execstack.c
13970 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13971 code unconditional.
13972 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13973 conditional code.
13974 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13975 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13976 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13977 code.
13978 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13979 unconditional.
13980 [__ASSUME_WAITID_SYSCALL]: Likewise.
13981 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13982
d34689de
RM
139832012-08-07 Roland McGrath <roland@hack.frob.com>
13984
a281decc
RM
13985 * sysdeps/unix/closedir.c: Renamed to ...
13986 * sysdeps/posix/closedir.c: ... here.
13987 * sysdeps/unix/dirfd.c: Renamed to ...
13988 * sysdeps/posix/dirfd.c: ... here.
13989 * sysdeps/unix/dirstream.h: Renamed to ...
13990 * sysdeps/posix/dirstream.h: ... here.
13991 * sysdeps/unix/fdopendir.c: Renamed to ...
13992 * sysdeps/posix/fdopendir.c: ... here.
13993 * sysdeps/unix/opendir.c: Renamed to ...
13994 * sysdeps/posix/opendir.c: ... here.
13995 * sysdeps/unix/readdir.c: Renamed to ...
13996 * sysdeps/posix/readdir.c: ... here.
13997 * sysdeps/unix/readdir_r.c: Renamed to ...
13998 * sysdeps/posix/readdir_r.c: ... here.
13999 * sysdeps/unix/rewinddir.c: Renamed to ...
14000 * sysdeps/posix/rewinddir.c: ... here.
14001 * sysdeps/unix/seekdir.c: Renamed to ...
14002 * sysdeps/posix/seekdir.c: ... here.
14003 * sysdeps/unix/telldir.c: Renamed to ...
14004 * sysdeps/posix/telldir.c: ... here.
14005 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14006 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14007 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14008 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14009
22895b47
RM
14010 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14011 * bits/fcntl.h: ... here.
14012
707a53b6
RM
14013 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14014 not 0.
14015 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14016 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14017 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14018 (struct flock): Move l_start, l_len to the beginning.
14019 Use __pid_t for l_pid.
14020 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14021 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14022 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14023 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14024 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14025 [__USE_LARGEFILE64] (struct flock64): New type.
14026 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14027
f0bd3e25
RM
14028 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14029 * bits/dirent.h: ... here.
14030
d34689de
RM
14031 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14032 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14033
6dad2c06
JM
140342012-08-07 Joseph Myers <joseph@codesourcery.com>
14035
14036 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14037 Change from 2.6.0 to 2.6.16.
14038 * sysdeps/unix/sysv/linux/configure: Regenerated.
14039 * sysdeps/unix/sysv/linux/kernel-features.h
14040 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14041 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14042 version.
14043 (__ASSUME_UTIMES): Likewise.
14044 (__ASSUME_CLONE_STOPPED): Remove.
14045 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14046 architectures, not kernel version.
14047 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14048 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14049 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14050 (__ASSUME_WAITID_SYSCALL): Likewise.
14051 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14052 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14053 * README: State 2.6.16 as minimum Linux kernel version. Do not
14054 refer to older versions.
14055
03af9520
RM
140562012-08-06 Roland McGrath <roland@hack.frob.com>
14057
8e49df1d
RM
14058 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14059 Define alphasort64 as an alias.
14060 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14061 Define versionsort64 as an alias.
14062 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14063 Define scandir64 as an alias.
14064 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14065 Define scandirat64 as an alias.
14066 * dirent/alphasort64.c (alphasort64):
14067 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14068 * dirent/versionsort64.c: Likewise.
14069 * dirent/scandir64.c: Likewise.
14070 * dirent/scandirat64.c: Likewise.
14071 * sysdeps/wordsize-64/alphasort.c: File removed.
14072 * sysdeps/wordsize-64/alphasort64.c: File removed.
14073 * sysdeps/wordsize-64/scandir.c: File removed.
14074 * sysdeps/wordsize-64/scandir64.c: File removed.
14075 * sysdeps/wordsize-64/scandirat.c: File removed.
14076 * sysdeps/wordsize-64/scandirat64.c: File removed.
14077 * sysdeps/wordsize-64/versionsort.c: File removed.
14078 * sysdeps/wordsize-64/versionsort64.c: File removed.
14079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14085 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14087
14088 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14090 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14092 [defined __arch64__ || defined __sparcv9]
14093 (__INO_T_MATCHES_INO64_T): New macro.
14094 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14095 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14096 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14097 * sysdeps/unix/sysv/linux/bits/dirent.h
14098 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14099 (_DIRENT_MATCHES_DIRENT64): New macro.
14100
03af9520
RM
14101 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14102 Define lockf64 as an alias.
14103 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14104 Define fseeko64 as an alias.
14105 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14106 Define ftello64 as an alias.
14107 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14108 Define _IO_fgetpos64 and fgetpos64 as aliases.
14109 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14110 Define _IO_fsetpos64 and fsetpos64 as aliases.
14111 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14112 Conditionalize body on this.
14113 * libio/fseeko64.c: Likewise.
14114 * libio/ftello64.c: Likewise.
14115 * libio/iofgetpos64.c: Likewise.
14116 * libio/iofsetpos64.c: Likewise.
14117 * sysdeps/wordsize-64/lockf.c: File removed.
14118 * sysdeps/wordsize-64/lockf64.c: File removed.
14119 * sysdeps/wordsize-64/fseeko.c: File removed.
14120 * sysdeps/wordsize-64/fseeko64.c: File removed.
14121 * sysdeps/wordsize-64/ftello.c: File removed.
14122 * sysdeps/wordsize-64/ftello64.c: File removed.
14123 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14124 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14125 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14126 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14133 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14135 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14137
14138 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14140 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14142 [defined __arch64__ || defined __sparcv9]
14143 (__OFF_T_MATCHES_OFF64_T): New macro.
14144 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14145 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14146 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14147 (__OFF_T_MATCHES_OFF64_T): New macro.
14148
c5757acd
L
141492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14150
14151 * stdlib/secure-getenv.c (__secure_getenv): Replace
14152 GLIBC_2_16 with GLIBC_2_17.
14153
3a31811e
L
141542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14158
faa2bccb
DM
141592012-08-03 David S. Miller <davem@davemloft.net>
14160
14161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14162
85fe1997
JM
141632012-08-03 Joseph Myers <joseph@codesourcery.com>
14164
14165 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14166 Remove.
14167 (__ASSUME_CORRECT_SI_PID): Likewise.
14168 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14169 (__ASSUME_TMPFS_NAME): Likewise.
14170 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14171 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14172 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14173 (HAVE_AUX_SECURE): Make definition unconditional.
14174 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14175 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14176
4f75b7a0
RM
141772012-08-03 Roland McGrath <roland@hack.frob.com>
14178
14179 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14180 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14181 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14182 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14183 __eloop_threshold instead of SYMLOOP_MAX.
14184
14185 * sysdeps/generic/eloop-threshold.h: New file.
14186 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14187 of MAXSYMLINKS.
14188 * elf/chroot_canon.c (chroot_canon): Likewise.
14189
7aab07e4
JM
141902012-08-03 Joseph Myers <joseph@codesourcery.com>
14191
14192 [BZ #13717]
14193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14194 Change to 2.6.0 everywhere.
14195 * sysdeps/unix/sysv/linux/configure: Regenerated.
14196 * sysdeps/unix/sysv/linux/kernel-features.h
14197 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14198 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14199 kernel versions.
14200 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14201 (__ASSUME_FUTEX_REQUEUE): Remove.
14202 (__ASSUME_STATFS64): Define unconditionally.
14203 (__ASSUME_AT_SECURE): Likewise.
14204 (__ASSUME_CORRECT_SI_PID): Likewise.
14205 (__ASSUME_TGKILL): Define without depending on kernel version for
14206 i386.
14207 (__ASSUME_UTIMES): Likewise.
14208 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14209 kernel version.
14210 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14211 (__ASSUME_TMPFS_NAME): Likewise.
14212 * README: Update reference to Linux kernel versions.
14213
b67e9372
MP
142142012-08-02 Marek Polacek <polacek@redhat.com>
14215
1f529f7d 14216 [BZ# 14150]
b67e9372
MP
14217 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14218 libc_cv_asm_type_prefix with %.
14219 * configure: Regenerated.
d2441631
RM
14220 * include/libc-symbols.h: Remove comment about
14221 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14222 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14223 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14224 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14225 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14226 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14227 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14228 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14229 * elf/tst-unique2mod1.c: Likewise.
14230 * elf/tst-unique1mod2.c: Likewise.
14231 * elf/tst-unique1mod1.c: Likewise.
14232 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14233 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14234 Replace ASM_TYPE_DIRECTIVE with .type.
14235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14236 * sysdeps/i386/sysdep.h: Likewise.
14237 * sysdeps/x86_64/sysdep.h: Likewise.
14238 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14240 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14241 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14242 * sysdeps/powerpc/powerpc32/sysdep.h:
14243 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14244 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14245 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14246 * sysdeps/i386/fpu/e_powf.S: Likewise.
14247 * sysdeps/i386/fpu/e_expl.S: Likewise.
14248 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14249 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14250 * sysdeps/i386/fpu/e_pow.S: Likewise.
14251 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14252 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14253 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14254 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14255 * sysdeps/i386/fpu/e_log2.S: Likewise.
14256 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14257 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14258 * sysdeps/i386/fpu/e_powl.S: Likewise.
14259 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14260 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14261 * sysdeps/i386/fpu/e_logl.S: Likewise.
14262 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14263 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14264 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14265 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14266 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14267 * sysdeps/i386/fpu/e_log.S: Likewise.
14268 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14269 * sysdeps/i386/fpu/e_logf.S: Likewise.
14270 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14271 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14272 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14273 * sysdeps/i386/fpu/e_log10.S: Likewise.
14274 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14275 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14276 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14277 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14278 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14280 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14281 * sysdeps/i386/i686/strtok.S: Likewise.
14282 * sysdeps/i386/i386-mcount.S: Likewise.
14283 * sysdeps/i386/strtok.S: Likewise.
14284 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14285 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14286 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14287 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14288 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14289 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14290 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14291 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14292 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14293 * sysdeps/x86_64/_mcount.S: Likewise.
14294 * sysdeps/x86_64/strtok.S: Likewise.
14295 * sysdeps/sh/_mcount.S: Likewise.
14296
2747bf9a
RM
142972012-08-01 Roland McGrath <roland@hack.frob.com>
14298
14299 * libio/iofopen.c: Include <fcntl.h>.
14300 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14301 (_IO_fopen64, fopen64): Define as aliases.
14302 * libio/iofopen64.c: Include <fcntl.h>.
14303 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14304 Conditionalize body on this.
14305 * sysdeps/wordsize-64/iofopen.c: File removed.
14306 * sysdeps/wordsize-64/iofopen64.c: File removed.
14307
3fb791b8
MP
143082012-08-01 Marek Polacek <polacek@redhat.com>
14309
14310 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14311 Use dlfcn directly instead of a variable.
14312 (binfmt-subdir): Do not define.
14313 (dlfcn): Likewise.
14314
a9f1039f
JM
143152012-08-01 Joseph Myers <joseph@codesourcery.com>
14316
23bddc06
JM
14317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14318 Remove all definitions.
14319 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14320 <kernel-features.h>.
14321 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14322 (miss_F_GETOWN_EX): Remove all definitions.
14323 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14324 macro definition.
14325 [!__ASSUME_FCNTL64]: Remove conditional code.
14326 [__ASSUME_FCNTL64]: Make code unconditional.
14327 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14328 <kernel-features.h>.
14329 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14330 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14331 (lockf64) [__NR_fcntl64]: Make code unconditional.
14332 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14333
a9f1039f
JM
14334 * sysdeps/unix/sysv/linux/kernel-features.h
14335 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14336 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14337 Make code unconditional.
14338 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14339 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14341 [__NR_vfork]: Make code unconditional.
14342 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14343 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14345 [__NR_vfork]: Make code unconditional.
14346 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14347 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14348
09c0ee5f
RM
143492012-08-01 Roland McGrath <roland@hack.frob.com>
14350
48aec5b9
RM
14351 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14352 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14353
cd97c966
RM
14354 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14355 Define mkstemp64 as an alias.
3f55550c
RM
14356 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14357 Define mkstemps64 as an alias.
cd97c966
RM
14358 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14359 Define mkostemp64 as an alias.
b8625cfc
RM
14360 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14361 Define mkostemps64 as an alias.
cd97c966
RM
14362 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14363 Conditionalize body on this.
14364 * misc/mkostemp64.c: Likewise.
b8625cfc 14365 * misc/mkostemps64.c: Likewise.
3f55550c 14366 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14367 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14368 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14369 * sysdeps/wordsize-64/mkostemp.c: File removed.
14370 * sysdeps/wordsize-64/mkstemp.c: File removed.
14371 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14372 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14374 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14375
09c0ee5f
RM
14376 [BZ #14138]
14377 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14378 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14379 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14380 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14381
14382 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14383 compat_symbol macros from <shlib-compat.h> rather than the underlying
14384 default_symbol_version and symbol_version macros, so that DEFAULT
14385 lines in shlib-versions are respected.
14386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14387
7e66ee51
FW
143882012-08-01 Florian Weimer <fweimer@redhat.com>
14389
14390 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14391 Declare with warn_unused_result.
14392 (setgid, setregid, setegid, setresgid): Likewise.
14393 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14394 Likewise.
14395 * WUR-REPORT: Remove set*id functions.
14396
d2a54255
PT
143972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14398
14399 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14400
7ecdb005
RM
144012012-07-31 Roland McGrath <roland@hack.frob.com>
14402
b4180a5e 14403 [BZ #10191]
789bd351
RM
14404 * include/sys/socket.h (__libc_accept, __libc_accept4):
14405 Add attribute_hidden.
14406 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14407
40ce302d
RM
14408 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14409 use of PTR_MANGLE.
14410 * inet/getnetgrent_r.c (setup): Likewise.
14411
7ecdb005
RM
14412 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14413
e2eabb2c
DM
144142012-07-31 David S. Miller <davem@davemloft.net>
14415
14416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14417
d0419dbf
JM
144182012-07-31 Joseph Myers <joseph@codesourcery.com>
14419
14420 [BZ #13629]
14421 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14422 value between 1.0 and 2.0 and smaller part has absolute value less
14423 than 1.0.
14424 * math/s_clog10.c (__clog10): Likewise.
14425 * math/s_clog10f.c (__clog10f): Likewise.
14426 * math/s_clog10l.c (__clog10l): Likewise.
14427 * math/s_clogf.c (__clogf): Likewise.
14428 * math/s_clogl.c (__clogl): Likewise.
14429 * math/libm-test.inc (clog_test): Add more tests.
14430 (clog10_test): Likewise.
14431 * sysdeps/i386/fpu/libm-test-ulps: Update.
14432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14433
2bc13872
FW
144342012-07-31 Florian Weimer <fweimer@redhat.com>
14435
14436 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14437 Exit with zero in case no suitable GID is found, and write a
14438 message to standard error.
14439
bea9b193
RM
144402012-07-30 Roland McGrath <roland@hack.frob.com>
14441
14442 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14443 rather than to 1.
14444 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14445 (MAXPATHLEN): Removed.
14446 (NOGROUP, NODEV): New macros.
14447 (setbit, clrbit, isset, isclr): New macros.
14448 (howmany, roundup, powerof2): New macros.
14449 (DEV_BSIZE): New macro.
14450
14451 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14452 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14453
14454 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14455 definition on [!__NO_LONG_DOUBLE_MATH].
14456
14457 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14458 PTR_MANGLE and PTR_DEMANGLE.
14459
14460 * socket/accept4.c (accept4): Rename to __libc_accept4.
14461 Define accept4 as a weak alias.
14462
14463 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14464 on [_DIRENT_HAVE_D_TYPE].
14465 * io/ftw.c (ftw_dir): Likewise.
14466
14467 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14468
14469 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14470
14471 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14472 Use the BSD numbers rather than the arbitrary ones we had.
14473 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14474 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14475 (SIGXCPU, SIGXFSZ): New macros.
14476 (_NSIG): Now 32.
14477
14478 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14479 initializer on [_LIBC_REENTRANT].
14480
14481 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14482 definitions inside [_POSIX_MAPPED_FILES].
14483
14484 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14485
14486 * dirent/opendir.c: Include <fcntl.h>.
14487
14488 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14489 (__libc_getspecific): Likewise.
14490 (__libc_key_create): Likewise.
14491
14492 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14493 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14494 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14495 (tmpfile64): Define as alias.
14496 * sysdeps/wordsize-64/tmpfile.c: File removed.
14497 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14498 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14500
14501 * stdio-common/vfscanf.c: Include <stdbool.h>.
14502 * nss/makedb.c: Likewise.
14503 * stdio-common/_i18n_number.h: Likewise.
14504 * argp/argp-help.c: Likewise.
14505 * posix/wordexp.c: Likewise.
14506 * sysdeps/posix/spawni.c: Likewise.
14507 * nss/nss_files/files-initgroups.c: Likewise.
14508 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14509 * nss/nss_files/files-initgroups.c: Likewise.
14510 * nss/nss_db/db-netgrp.c: Likewise.
14511 * nss/nss_db/db-initgroups.c: Likewise.
14512 * io/fchmodat.c: Include <sys/stat.h>.
14513
14514 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14515 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14516
14517 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14518 [HAVE_MMAP].
14519
14520 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14521 Add multiple inclusion protection.
14522
e5abc686
DM
145232012-07-27 David S. Miller <davem@davemloft.net>
14524
14525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14526
815e6fa3
GB
145272012-07-27 Gary Benson <gbenson@redhat.com>
14528
14529 [BZ #14298]
14530 * elf/rtld.c: Include <stap-probe.h>.
14531 (dl_main): Added static probes "init_start" and "init_complete".
14532 * elf/dl-load.c: Include <stap-probe.h>.
14533 (lose): Take new parameter "nsid".
14534 Added static probe "map_failed".
14535 (_dl_map_object_from_fd): Pass namespace id to lose.
14536 Added static probe "map_start".
14537 (open_verify): Pass namespace id to lose.
14538 * elf/dl-open.c: Include <stap-probe.h>.
14539 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14540 and "reloc_complete".
14541 * elf/dl-close.c: Include <stap-probe.h>.
14542 (_dl_close_worker): Added static probes "unmap_start" and
14543 "unmap_complete".
14544 * elf/rtld-debugger-interface.txt: New file documenting the above.
14545
9f98c16c
RM
145462012-07-26 Roland McGrath <roland@hack.frob.com>
14547
14548 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14549 rather than a string variable.
14550 * sunrpc/rpc_main.c (h_output): Likewise.
14551 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14552
f3c22df3
PT
145532012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14554
14555 * inet/check_native.c: New file.
14556
3129cfc6
JM
145572012-07-26 Joseph Myers <joseph@codesourcery.com>
14558
da865e95
JM
14559 [BZ #13629]
14560 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14561 if larger part has absolute value 1.0.
14562 * math/s_clog10.c (__clog10): Likewise.
14563 * math/s_clog10f.c (__clog10f): Likewise.
14564 * math/s_clog10l.c (__clog10l): Likewise.
14565 * math/s_clogf.c (__clogf): Likewise.
14566 * math/s_clogl.c (__clogl): Likewise.
14567 * math/libm-test.inc (clog_test): Add more tests.
14568 (clog10_test): Likewise.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
3129cfc6
JM
14572 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14573 (pltexit): Likewise.
14574 (La_regs): Likewise.
14575 (La_retval): Likewise.
14576 (int_retval): Likewise.
14577 Update #error for removed macros to refer only to definitions in
14578 tst-audit.h.
14579 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14580 macro.
14581 (pltexit): Likewise.
14582 (La_regs): Likewise.
14583 (La_retval): Likewise.
14584 (int_retval): Likewise.
14585 * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
14610 macro.
14611 (pltexit): Likewise.
14612 (La_regs): Likewise.
14613 (La_retval): Likewise.
14614 (int_retval): Likewise.
14615 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14616 macro definitions in tst-audit.h.
14617 * sysdeps/i386/tst-audit.h: New file.
14618 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14619 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14620 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14621 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14622 * sysdeps/sh/tst-audit.h: Likewise.
14623 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14624 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14625 * sysdeps/x86_64/tst-audit.h: Likewise.
14626
bfc07087
AJ
146272012-07-26 Andreas Jaeger <aj@suse.de>
14628
b1b2aaf8
AJ
14629 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14630 ptrace.
14631
14632 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14633 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14634 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14635 PTRACE_O_MASK.
14636 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14637 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14638 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14639
bfc07087
AJ
14640 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14641 value.
14642
14643 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14644 _sigsys.
14645 (si_call_addr, si_syscall, si_arch): Define new macro.
14646 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14647 _sigsys.
14648 (si_call_addr, si_syscall, si_arch): Define new marcro.
14649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14650 _sigsys.
14651 (si_call_addr, si_syscall, si_arch): Define new macro.
14652 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14653 _sigsys.
14654 (si_call_addr, si_syscall, si_arch): Define new macro.
14655
89b4b02f
JM
146562012-07-25 Joseph Myers <joseph@codesourcery.com>
14657
14658 [BZ #13717]
14659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14660 Change to 2.4.21 where previously 2.4.1.
14661 * sysdeps/unix/sysv/linux/configure: Regenerated.
14662 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14663 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14664 Linux kernel version.
14665 (__ASSUME_STD_AUXV): Remove.
14666 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14667 kernel version.
14668 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14669 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14670 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14671 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14672 (__ASSUME_NETLINK_SUPPORT): Likewise.
14673 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14674 (__no_netlink_support): Remove conditional definition.
14675 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14676 Remove.
14677 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14678 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14679 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14680 (if_nameindex_ioctl): Remove.
14681 (if_nameindex_netlink): Do not handle __no_netlink_support.
14682 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14683 code.
14684 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14685 Remove conditional code.
14686 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14687 code.
14688 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14689 unconditional.
14690 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14691 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14692 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14693 Remove.
14694 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14695 [!__ASSUME_STD_AUXV]: Remove conditional code.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14697 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14698 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14700 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14701 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14702 code.
14703 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14705 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14706 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14707 conditional code.
14708 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14710 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14711 code.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14713 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14714 conditional code.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14716 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14717 code unconditional.
14718 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14719 conditional code.
14720 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14721 unconditional.
14722 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14723 conditional code.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14725 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14726 unconditional.
14727 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14728 conditional code.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14730 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14731 code unconditional.
14732 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14733 conditional code.
14734 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14735 unconditional.
14736 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14737 conditional code.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14739 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14740 code unconditional.
14741 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14742 conditional code.
14743 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14744 unconditional.
14745 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14746 conditional code.
14747
842a39cd
AS
147482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14749
14750 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14751 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14752 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14753 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14754 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14755 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14756 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14757 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14758 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14759 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14760 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14761 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14762 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14763 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14764 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14765 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14766 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14768 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14770 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14771 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14772 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14773
84b3fd84
FW
147742012-07-25 Florian Weimer <fweimer@redhat.com>
14775
14776 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14777 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14778 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14779 Introduce __libc_secure_getenv.
0c7936d5
FW
14780 * stdlib/Versions (2.17): Add secure_getenv
14781 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14782 * stdlib/secure-getenv.c: Rename __secure_getenv to
14783 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14784 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14785 * stdlib/tst-secure-getenv.c: New.
14786 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14787 * manual/startup.texi (Environment Access): Document
14788 secure_getenv.
84b3fd84
FW
14789 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14790 __libc_secure_getenv.
14791 * inet/ruserpass.c (ruserpass): Likewise.
14792 * malloc/mtrace.c (mtrace): Likewise.
14793 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14794 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14795 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14796 * sysdeps/posix/tempname.c: Likewise. Evaluate
14797 HAVE_SECURE_GETENV.
14798 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14799 __secure_getenv to __libc_secure_getenv.
84b3fd84 14800 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14802 Likewise.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14804 Likewise.
14805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14812
56e49b71
JM
148132012-07-25 Joseph Myers <joseph@codesourcery.com>
14814
14815 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14816 (struct La_i86_retval): Likewise.
14817 (struct La_x86_64_regs): Likewise.
14818 (struct La_x86_64_retval): Likewise.
14819 (struct La_x32_regs): Likewise.
14820 (struct La_x32_retval): Likewise.
14821 (struct La_ppc32_regs): Likewise.
14822 (struct La_ppc32_retval): Likewise.
14823 (struct La_ppc64_regs): Likewise.
14824 (struct La_ppc64_retval): Likewise.
14825 (struct La_sh_regs): Likewise.
14826 (struct La_sh_retval): Likewise.
14827 (struct La_s390_32_regs): Likewise.
14828 (struct La_s390_32_retval): Likewise.
14829 (struct La_s390_64_regs): Likewise.
14830 (struct La_s390_64_retval): Likewise.
14831 (struct La_sparc32_regs): Likewise.
14832 (struct La_sparc32_retval): Likewise.
14833 (struct La_sparc64_regs): Likewise.
14834 (struct La_sparc64_retval): Likewise.
14835 (struct audit_ifaces): Remove architecture-specific pltenter and
14836 pltexit members.
14837 * sysdeps/i386/ldsodefs.h: New file.
14838 * sysdeps/powerpc/ldsodefs.h: Likewise.
14839 * sysdeps/s390/ldsodefs.h: Likewise.
14840 * sysdeps/sh/ldsodefs.h: Likewise.
14841 * sysdeps/sparc/ldsodefs.h: Likewise.
14842 * sysdeps/x86_64/ldsodefs.h: Likewise.
14843
354691b7
MP
148442012-07-25 Marek Polacek <polacek@redhat.com>
14845
14846 [BZ #6808]
14847 * math/libm-test.inc (yn_test): Add another test.
14848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14849 to ERANGE when the result is +-Inf.
14850 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14851 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14852 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14853 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14854
bf9e2071
JM
148552012-07-24 Joseph Myers <joseph@codesourcery.com>
14856
14857 * conform/data/time.h-data (NULL): Use macro-constant. Require
14858 equal to 0.
14859 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14860 clock_t.
14861 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14862
57633811
TS
148632012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14864
14865 * configure.in <sysdeps resolving>: Correct printing
14866 Implies_before.
14867 * configure: Regenerate.
14868
c23c33b0
TS
148692012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14870
14871 * math/w_ilogb.c: Include <limits.h>.
14872 * math/w_ilogbl.c: Likewise.
14873
b5982523
JM
148742012-07-20 Joseph Myers <joseph@codesourcery.com>
14875
14876 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14877 va_copy. Document allowing for unavailable va_copy only as
14878 pre-C99 compatibility.
14879 * manual/string.texi (Copying and Concatenation): Use va_copy
14880 instead of __va_copy in concat example.
14881
ac4ea442
PT
148822012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14883
14884 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14885 (__sendto): Use create_address_port. Initialize APORT and deallocate
14886 it if not null.
14887
f98eafbd
PT
14888 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14889 with O_NOLINK passed to __file_name_lookup.
14890
898c7aab
PT
14891 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14892 with O_NOLINK passed to __file_name_lookup.
14893
0ced335a
PT
14894 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14895 negative N or less than NGIDS.
14896
b3404dbd
PT
14897 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14898 type to string_t. Set ERANGE as errno and return it if NAME is not big
14899 enough. Use memcpy instead of strncpy.
14900
0f48659e
JM
149012012-07-20 Joseph Myers <joseph@codesourcery.com>
14902
14903 * elf/Makefile (check-data): Remove.
14904 (localplt.data): New vpath directive.
14905 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14906 instead of $(check-data).
14907 * scripts/data/localplt-generic.data: Move to ...
14908 * sysdeps/generic/localplt.data: ... here.
14909 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14910 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14911 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14913 ... here.
14914 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14916 ... here.
14917 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14919 ... here.
14920 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14922 ... here.
14923 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14925 ... here.
14926 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14928 ... here.
14929
d37cbdaa
AZ
149302012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14931
14932 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14933 PPC32 and PPC64 files.
14934 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14935 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14936
46f85fc2
AK
149372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14938
14939 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14940 __makecontext_ret to ...
14941 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14942 ... here and call exit if uc_link is NULL. New file.
14943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14944 __makecontext_ret.S.
14945 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14946 __makecontext_ret to ...
14947 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14948 ... here and call exit if uc_link is NULL. New file.
14949 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14950 __makecontext_ret.S.
14951
08f43f9b
AK
149522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14953
14954 * elf/elf.h (R_390_IRELATIVE): New definition.
14955 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14956 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14957 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14958 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14959 (elf_machine_lazy_rel): Likewise.
14960 * sysdeps/s390/dl-irel.h: New file.
14961 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14962 * sysdeps/s390/s390-64/memset.S: New asm code.
14963 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14964 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14965 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14966 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14967 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14968 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14969 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14970 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14971 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14972 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14973 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14974 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14975 * sysdeps/s390/s390-32/memset.S: New asm code.
14976 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14977
3b05db33
MP
149782012-07-17 Marek Polacek <polacek@redhat.com>
14979
14980 [BZ #14349]
14981 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14982 * sysdeps/s390/s390-64/configure.in: Likewise.
14983 * sysdeps/sparc/configure.in: Likewise.
14984 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14985 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14986 * sysdeps/i386/configure.in: Likewise.
14987 * sysdeps/x86_64/configure.in: Likewise.
14988 * sysdeps/sh/configure.in: Likewise.
14989 * sysdeps/s390/s390-32/configure: Regenerated.
14990 * sysdeps/s390/s390-64/configure: Likewise.
14991 * sysdeps/x86_64/configure: Likewise.
14992 * sysdeps/sh/configure: Likewise.
14993 * sysdeps/powerpc/powerpc64/configure: Likewise.
14994 * sysdeps/powerpc/powerpc32/configure: Likewise.
14995 * sysdeps/sparc/configure: Likwise.
14996 * sysdeps/i386/configure: Likewise.
14997
a66877c6
MP
14998 * elf/dl-open.c: Comment fixes.
14999
cfc82fd8
JM
150002012-07-17 Joseph Myers <joseph@codesourcery.com>
15001
bd29910a
JM
15002 * Makefile [CXX] (check-data): Remove.
15003 [CXX] (c++-types.data): New vpath directive.
15004 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15005 vpath. Do not allow for C++ type data being missing.
15006 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15007 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15008 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15009 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15010 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15011 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15012 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15014 ... here.
15015 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15017 ... here.
15018 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15020 ... here.
15021 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15023 ... here.
15024 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15026 ... here.
15027 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15029 ... here.
15030 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15032 ... here.
15033 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15035
cfc82fd8
JM
15036 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15037 definitions to architecture-specific files.
15038 (TLS_IE): Likewise.
15039 (TLS_LD): Likewise.
15040 (TLS_GD): Likewise.
15041 * sysdeps/i386/tls-macros.h: New file.
15042 * sysdeps/powerpc/tls-macros.h: Likewise.
15043 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15044 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15045 * sysdeps/sh/tls-macros.h: Likewise.
15046 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15047 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15048 * sysdeps/x86_64/tls-macros.h: Likewise.
15049
f7db3170
TS
150502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15051
07cbfc23
TS
15052 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15053 zero value for regular exit case.
15054
f7db3170
TS
15055 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15056 (__start_context): Preserve zero value for regular exit case.
15057
dc97c227
TS
150582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15059 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15060
15061 * manual/setjmp.texi (setcontext): Clarify normal process
15062 termination when uc_link is the null pointer.
15063 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15064 exit call.
15065
d0cd7d02
AS
150662012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15067
15068 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15069 preprocessor. Test for each exception mask separately.
15070
dd318934
AJ
150712012-07-16 Andreas Jaeger <aj@suse.de>
15072
15073 * po/ru.po: Update from translation team.
15074
8048311a
JM
150752012-07-15 Joseph Myers <joseph@codesourcery.com>
15076
15077 * conform/data/string.h-data (NULL): Use macro-constant. Require
15078 equal to 0.
15079 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15080 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15081 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15082 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15083 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15084
b637d46e
AJ
150852012-07-13 Andreas Jaeger <aj@suse.de>
15086
15087 * po/fr.po: Update from translation team.
15088
541428fe
MP
150892012-07-12 Marek Polacek <polacek@redhat.com>
15090
15091 [BZ #14173]
15092 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15093 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15094 loop condition.
15095
ec332e94
JM
150962012-07-12 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #13717]
15099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15100 Change to 2.4.1 where previously 2.4.0.
15101 * sysdeps/unix/sysv/linux/configure: Regenerated.
15102 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15103 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15104 version.
15105 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15106 (__ASSUME_AT_CLKTCK): Remove.
15107 (__ASSUME_AT_PAGESIZE): Likewise.
15108 (__ASSUME_AT_XID): Likewise.
15109 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15110 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15111 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15112 unconditionally.
15113 (HAVE_AUX_PAGESIZE): Likewise.
15114 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15115 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15116 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15117
7b6e99be
JB
151182012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15119
15120 [BZ #14307]
15121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15122 the temporary buffer used to invoke __gethostbyname2_r,
15123 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15124 host_data / struct gaih_addrtuple.
15125 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15126 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15127 header file nss/nsswitch.h.
15128 * nss/nsswitch.h (global scope): Add definition of implementation
15129 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15130 resolv/nss_dns/dns-host.c).
15131
608404eb
AJ
151322012-07-11 Andreas Jaeger <aj@suse.de>
15133
15134 * po/fr.po: Update from translation team.
15135
71220aca
AJ
15136 * po/sv.po: Update from translation team
15137 * po/fr.po: Another update from translation team.
15138
28cfe843
AZ
151392012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15140
15141 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15142 for subnormals or multiply small sinh result by itself.
15143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15145
6b90f981
DM
151462012-07-11 David S. Miller <davem@davemloft.net>
15147
15148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15149
c6825772
AS
151502012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15151
15152 [BZ #14347]
15153 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15154 (INTERNAL_MARK): Shift it here.
15155
7b8e0d49
MP
151562012-07-10 Marek Polacek <polacek@redhat.com>
15157
15158 [BZ #14151]
15159 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15160 libc_cv_asm_global_directive with .globl.
15161 * configure: Regenerated.
15162 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15163 with .globl.
15164 * sysdeps/i386/configure: Regenerated.
15165 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15166 with .globl.
15167 * sysdeps/x86_64/configure: Regenerated.
15168 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15169 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15170 * elf/tst-unique2mod2.c: Likewise.
15171 * elf/tst-unique2mod1.c: Likewise.
15172 * elf/tst-unique1mod2.c: Likewise.
15173 * elf/tst-unique1mod1.c: Likewise.
15174 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15175 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15176 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15177 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15178 * sysdeps/mach/sysdep.h: Likewise.
15179 * sysdeps/i386/sysdep.h: Likewise.
15180 * sysdeps/i386/i386-mcount.S: Likewise.
15181 * sysdeps/x86_64/_mcount.S: Likewise.
15182 * sysdeps/x86_64/sysdep.h: Likewise.
15183 * sysdeps/sh/_mcount.S: Likewise.
15184 * sysdeps/sh/sysdep.h: Likewise.
15185 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15186 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15187 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15188 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15189 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15190 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15191 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15192 * locale/localeinfo.h: Likewise.
15193 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15194 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15195
6c55cda3
RM
151962012-07-09 Roland McGrath <roland@hack.frob.com>
15197
15198 [BZ #14336]
15199 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15200 system".
15201 * manual/message.texi (The Uniforum approach): Likewise.
15202 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15203 (glibc iconv Implementation): Likewise.
15204
638a572e
JM
152052012-07-09 Joseph Myers <joseph@codesourcery.com>
15206
15207 [BZ #14337]
15208 * math/s_clog.c (__clog): Avoid scaling a value down where that
15209 could result in underflow.
15210 * math/s_clog10.c (__clog10): Likewise.
15211 * math/s_clog10f.c (__clog10f): Likewise.
15212 * math/s_clog10l.c (__clog10l): Likewise.
15213 * math/s_clogf.c (__clogf): Likewise.
15214 * math/s_clogl.c (__clogl): Likewise.
15215 * math/libm-test.inc (clog_test): Add more tests.
15216 (clog10_test): Likewise.
15217 * sysdeps/i386/fpu/libm-test-ulps: Update.
15218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15219
261f4859
AS
152202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15221
0abaf3e4
AS
15222 [BZ #14283]
15223 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15224 by 7 not 8 to examine high bit of fractional part.
15225
261f4859
AS
15226 [BZ #14042]
15227 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15228 for call to __mcount_internal.
15229 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15230 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15231 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15232
f17ac40d
JM
152332012-07-06 Joseph Myers <joseph@codesourcery.com>
15234
9ad63c23
JM
15235 [BZ #14154]
15236 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15237 approximation for values within 0x1p-13f of an odd multiple of
15238 pi/4.
15239 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15240 exception. Add more tests.
15241 * sysdeps/i386/fpu/libm-test-ulps: Update.
15242
f17ac40d
JM
15243 [BZ #6778]
15244 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15245 inputs and return -1 for them. Do not check for +Inf in case not
15246 reachable for +Inf.
15247 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15248 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15249 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15250 and return -1 for them. Do not check for +Inf in case not
15251 reachable for +Inf.
15252 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15253 define.
15254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15255 and return -1 for them. Do not check for +Inf in case not
15256 reachable for +Inf.
15257 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15258 spurious underflow.
15259 * sysdeps/i386/fpu/libm-test-ulps: Update.
15260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15261
fb21f89b
MF
152622012-07-06 Mike Frysinger <vapier@gentoo.org>
15263
15264 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15265
cdfe2c5e
JM
152662012-07-05 Joseph Myers <joseph@codesourcery.com>
15267
15268 [BZ #14157]
15269 [BZ #14331]
15270 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15271 could result in spurious underflow. Scale down values above
15272 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15273 * math/s_csqrtf.c (__csqrtf): Likewise.
15274 * math/s_csqrtl.c (__csqrtl): Likewise.
15275 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15276 spurious underflow.
15277 * sysdeps/i386/fpu/libm-test-ulps: Update.
15278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15279
70d35b67
AS
152802012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15281
704bc459
AS
15282 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15283 xopen-msg.sed.
15284 * catgets/xopen-msg.awk: New file.
15285 * catgets/xopen-msg.sed: Removed.
15286
70d35b67
AS
15287 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15288 po2text.sed.
15289 * intl/po2test.awk: New file.
15290 * intl/po2test.sed: Removed.
15291
ca61cf32
JM
152922012-07-04 Joseph Myers <joseph@codesourcery.com>
15293
15294 [BZ #14328]
15295 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15296 or multiply small sinh result by itself.
15297 * math/s_ctanf.c (__ctanf): Likewise.
15298 * math/s_ctanh.c (__ctanh): Likewise.
15299 * math/s_ctanhf.c (__ctanhf): Likewise.
15300 * math/s_ctanhl.c (__ctanhl): Likewise.
15301 * math/s_ctanl.c (__ctanl): Likewise.
15302 * math/libm-test.inc (ctan_test_tonearest): New function.
15303 (ctan_test_towardzero): Likewise.
15304 (ctan_test_downward): Likewise.
15305 (ctan_test_upward): Likewise.
15306 (ctanh_test_tonearest): Likewise.
15307 (ctanh_test_towardzero): Likewise.
15308 (ctanh_test_downward): Likewise.
15309 (ctanh_test_upward): Likewise.
15310 (main): Call these new functions.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15313
ca48a46a
MF
153142012-07-03 Mike Frysinger <vapier@gentoo.org>
15315
15316 * .gitignore: Delete /ports entry.
15317
9d63d37d
AJ
153182012-07-03 Andreas Jaeger <aj@suse.de>
15319
15320 * po/bg.po: Update from translation team.
15321 * po/cs.po: Likewise.
15322 * po/de.po: Likewise.
15323 * po/hr.po: Likewise.
15324 * po/nl.pl: Likewise.
15325 * po/pl.po: Likewise.
15326 * po/vi.po: Likewise.
15327
370ca3d2
JM
153282012-07-03 Joseph Myers <joseph@codesourcery.com>
15329
95f5a9a8
JM
15330 * Makeconfig [!+link] (+link-before-libc): New variable.
15331 [!+link] (+link-after-libc): Likewise.
15332 [!+link] (+link-tests): Likewise.
15333 [!+link] (+link): Define in terms of $(+link-before-libc) and
15334 $(+link-after-libc).
15335 [!+link-static] (+link-static-before-libc): New variable.
15336 [!+link-static] (+link-static-after-libc): Likewise.
15337 [!+link-static] (+link-static-tests): Likewise.
15338 [!+link-static] (+link-static): Define in terms of
15339 $(+link-static-before-libc) and $(+link-static-after-libc).
15340 [build-shared] (link-libc-before-gnulib): New variable.
15341 [build-shared] (link-libc-tests): Likewise.
15342 [build-shared] (link-libc): Define in terms of
15343 $(link-libc-before-gnulib).
15344 [!build-shared] (link-libc-tests): New variable.
15345 (link-libc-static-tests): New variable.
15346 [!gnulib] (gnulib-arch): New variable.
15347 [!gnulib] (gnulib-tests): Likewise.
15348 [!gnulib] (static-gnulib-arch): Likewise.
15349 [!gnulib] (static-gnulib-tests): Likewise.
15350 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15351 Define with "=" instead of ":=".
15352 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15353 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15354 * Rules (binaries-all-notests): New variable.
15355 (binaries-all-tests): Likewise.
15356 (binaries-static-notests): Likewise.
15357 (binaries-static-tests): Likewise.
15358 (binaries-all): Define using $(binaries-all-notests) and
15359 $(binaries-all-tests).
15360 (binaries-static): Define using $(binaries-static-notests) and
15361 $(binaries-static-tests).
15362 (binaries-shared-tests): New variable.
15363 (binaries-shared-notests): Likewise.
15364 (binaries-shared): Remove variable.
15365 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15366 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15367 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15368 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15369 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15370 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15371 * elf/Makefile (sln-modules): New variable.
15372 (extra-objs): Add $(sln-modules:=.o).
15373 (ldconfig-modules): Add static-stubs.
15374 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15375 * elf/static-stubs.c: New file.
15376
7a845b2c
JM
15377 [BZ #14283]
15378 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15379 by 7 not 8 to examine high bit of fractional part. Use volatile
15380 variables when splitting into final array of floats if
15381 __FLT_EVAL_METHOD__ != 0.
15382 * math/libm-test.inc (cos_test): Add another test.
15383 (sin_test): Likewise.
15384 * sysdeps/i386/fpu/libm-test-ulps: Update.
15385
e2283f38
JM
15386 [BZ #14273]
15387 * math/libm-test.inc (cosh_test): Add more tests.
15388
370ca3d2
JM
15389 * version.h (RELEASE): Set to "development".
15390 (VERSION): Set to "2.16.90".
15391
ee9247c3
CD
153922012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15393
15394 * NEWS: Update copyright. Remove last-updated date.
15395 Mention math library bug fixes and timezone data changes.
15396 * README: Mention GNU/Hurd, x32, and HPPA support status.
15397
4648c381
TS
153982012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15399
15400 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15401
aac78a43
AJ
154022012-06-27 Andreas Jaeger <aj@suse.de>
15403
15404 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15405
ed3dbfad
AJ
154062012-06-25 Andreas Jaeger <aj@suse.de>
15407
15408 * sysdeps/s390/fpu/libm-test-ulps: Update.
15409
4d0ee855
AS
154102012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15411 Thomas Schwinge <thomas@codesourcery.com>
15412
15413 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15414 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15415 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15416 fanotify_mark.
15417
af1bce34
TS
154182012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15419
a9fa33ba
TS
15420 * sysdeps/mach/start.c: Remove file.
15421 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15422 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15423 * sysdeps/sh/init-first.c: Likewise.
15424
58f902b8
TS
15425 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15426 registers for frame unwinding purposes, add CFI directives.
15427 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15428 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15429 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15430 Likewise.
15431
1518f58b
TS
15432 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15433 __fortify_fail returning.
15434 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15435
db9b5059
TS
15436 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15437 sysdeps/sh/____longjmp_chk.S.
15438 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15439 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15440 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15441 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15442
967705fe
TS
15443 * sysdeps/sh/abort-instr.h: New file.
15444 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15445 process in case exit returns.
15446
a9def8c4
TS
15447 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15448 initialize the GOT register before use.
15449
2a649725
TS
15450 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15451 calculation of ARGC > 4.
15452
af1bce34
TS
15453 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15454 meaningful names to some local labels.
15455
d230f50a
KK
154562012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15457 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15458
15459 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15460 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15461 (__arch_compare_and_exchange_val_16_acq): Likewise.
15462 (__arch_compare_and_exchange_val_32_acq): Likewise.
15463 (atomic_exchange_and_add): Fix gUSA sequence.
15464 (atomic_add): Likewise.
15465 (atomic_add_negative): Likewise.
15466 (atomic_add_zero): Likewise.
15467 (atomic_bit_test_set): Likewise.
15468
0479b305
AS
154692012-06-22 Andreas Schwab <schwab@redhat.com>
15470
15471 [BZ #13579]
15472 * include/link.h (struct link_map): Add l_free_initfini.
15473 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15474 l_initfini.
15475 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15476 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15477 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15478 set.
15479
0e3933b9
CD
154802012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15481
15482 * configure.in: Use AC_LANG_SOURCE.
15483 * configure: Regenerate.
15484
4248b1b1
RM
154852012-06-22 Roland McGrath <roland@hack.frob.com>
15486
15487 * configure.in (libc_cv_localstatedir): New substituted variable.
15488 * configure: Regenerated.
15489 * config.make.in (localstatedir): New variable, substituted from
15490 libc_cv_localstatedir.
15491 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15492 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15493 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15494 * sysdeps/gnu/configure: Regenerated.
15495
006dd861
JL
154962012-06-21 Jeff Law <law@redhat.com>
15497
15498 [BZ #14277]
15499 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15500 free. Simplify list management for _LIBC case.
15501
79662d42
JM
155022012-06-21 Joseph Myers <joseph@codesourcery.com>
15503
b7abb4bf
JM
15504 [BZ #14273]
15505 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15506 Clear sign bit of 64-bit integer value before comparing against
15507 overflow value.
15508
79662d42
JM
15509 * sysdeps/mach/configure: Regenerated.
15510
1f150908
L
155112012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15512
15513 [BZ #14278]
15514 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15515
28363bbf
JL
155162012-06-21 Jeff Law <law@redhat.com>
15517
15518 [BZ #13882]
15519 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15520 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15521 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15522 * elf/dl-open.c (dl_open_worker): Likewise.
15523
09615db4
CD
155242012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15525
15526 * scripts/list-sources.sh: Scan PORTS for translations.
15527 * po/libc.pot: Regenerated.
15528
2174c6dd
AJ
155292012-06-21 Andreas Jaeger <aj@suse.de>
15530
15531 [BZ #12194]
15532 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15533 warning.
15534 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15535 * bits/byteswap-16.h (__bswap_16): Likewise.
15536 * bits/byteswap.h (__bswap_constant_16): Likewise.
15537
3ee947b1
L
155382012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15539
15540 [BZ #14117]
a2f34833
L
15541 * sysdeps/i386/fpu_control.h: Removed.
15542 * sysdeps/x86_64/fpu_control.h: Moved to ...
15543 * sysdeps/x86/fpu_control.h: Here.
15544
3ee947b1
L
15545 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15546 (_FPU_SETCW): Likewise.
15547
ed1825f8
L
155482012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15549
25f1282a
L
15550 [BZ #14117]
15551 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15552 * sysdeps/x86/fpu/bits/mathinline.h: This.
15553 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15554
ed1825f8
L
15555 [BZ #14050]
15556 [BZ #14117]
15557 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15558 functions if __x86_64__ is defined.
15559
36d54b74
CLT
155602012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15561
15562 * string/endian.h: Add !__ASSEMBLER__ condition for including
15563 conversion interfaces.
15564
10285c21
JM
155652012-06-15 Joseph Myers <joseph@codesourcery.com>
15566
15567 [BZ #14241]
15568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15569 of ABS(x) in calculating zero to negative powers other than odd
15570 integers.
15571 * math/libm-test.inc (pow_test): Add more tests.
15572
06c5abbd
AJ
155732012-06-15 Andreas Jaeger <aj@suse.de>
15574
15575 * manual/contrib.texi (Contributors): Update entry of Liubov
15576 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15577 Machado Filho.
15578
a3aeac40
CH
155792012-06-15 Cyril Hrubis <metan@ucw.cz>
15580
15581 * string/string.h: Add __wur to GNU version of strerror_r.
15582
49bdf4c1
L
155832012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15584
15585 [BZ #14229]
15586 * string/Makefile (tests): Add tst-strtok_r.
15587 * string/tst-strtok_r.c: New file.
15588 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15589 RAX_LP/RDX_LP on SAVE_PTR.
15590
834f9b8d
RM
155912012-06-14 Roland McGrath <roland@hack.frob.com>
15592
15593 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15594
75fa1921
JM
155952012-06-14 Joseph Myers <joseph@codesourcery.com>
15596
15597 * libm_test.inc (csqrt_test): Allow more spurious underflow
15598 exceptions.
15599 (j0_test): Likewise.
15600 (j1_test): Likewise.
15601 (y0_test): Likewise.
15602 (y1_test): Likewise.
15603
771766df
CD
156042012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15605
15606 * po/Makefile (libc.pot): Use UTF-8 charset.
15607
ceb9e56b
PP
156082012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15609
15610 [BZ #14210]
15611 Suppress sign-conversion warning from FD_SET.
15612 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15613 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15614 not unsigned long int.
15615 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15616
ddb28975
L
156172012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15618
15619 [BZ #14050]
15620 [BZ #14117]
15621 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15622 __extern_always_inline instead of __extern_inline.
15623 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15624 (__signbit): Likewise.
15625 (__signbitl): Support C++ namespace.
15626 (lrintf): New inline function.
15627 (lrint): Likewise.
15628 (llrintf): Likewise.
15629 (llrint): Likewise.
15630 (fmaxf): Likewise.
15631 (fmax): Likewise.
15632 (fminf): Likewise.
15633 (fmin): Likewise.
15634 (rint): Likewise.
15635 (rintf): Likewise.
15636 (ceil): Likewise.
15637 (ceilf): Likewise.
15638 (floor): Likewise.
15639 (floorf): Likewise.
15640 (nearbyint): Likewise.
15641 (nearbyintf): Likewise.
15642
d7b4fb26
TS
156432012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15644
15645 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15646 non-default versions.
15647
eb55f5c2
RM
156482012-06-11 Roland McGrath <roland@hack.frob.com>
15649
15650 [BZ #14218]
15651 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15652
366af02c
TS
156532012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15654
99ff6e5c
TS
15655 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15656 (FE_UPWARD, FE_DOWNWARD): Don't define.
15657 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15658 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15659
366af02c
TS
15660 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15661 reading it.
15662 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15663 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15664
793ea851
KK
156652012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15666
15667 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15669 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15670 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15671
a728a38f
L
156722012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 [BZ #14117]
c08010c7
L
15675 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15676 * sysdeps/i386/fpu/Implies: New file.
15677 * sysdeps/x86_64/fpu/Implies: Likewise.
15678 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15679 * sysdeps/x86/fpu/bits/fenv.h: This.
15680
a728a38f
L
15681 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15682 __SSE_MATH__.
15683
6e230d11
SP
156842012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15685
15686 [BZ #14134]
15687 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15688 character 0xffff that matches the last element of the
15689 conversion table.
15690
1b671feb
AZ
156912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15692
15693 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15694 fmodl commit.
15695
6043738b
AZ
156962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15697
15698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15699 values higher than 25.6283.
15700
34ae0b32
AZ
157012012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15702
15703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15704 subnormal exponent extraction and add some __builtin_expect.
15705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15706 Fix for subnormal mantissa calculation.
15707
1214ec8f
MF
157082012-06-04 Mike Frysinger <vapier@gentoo.org>
15709
15710 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15711 cpu2 is -1 and errno is not ENOSYS.
15712
f3d1f93c
L
157132012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15714
15715 [BZ #14117]
0e4a3cd7
L
15716 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15717 * sysdeps/x86/bits/string.h: This.
15718 * sysdeps/x86_64/bits/string.h: Removed.
15719
6704c645
L
15720 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15721 if not compiling for x86-64, but compiling for >= i486.
15722
48495318
L
15723 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15724 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15725
14adcbfc
L
15726 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15727 New macro from Linux kernel 3.4.0.
15728 (FP_XSTATE_MAGIC2): Likewise.
15729 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15730 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15731 (struct _fpx_sw_bytes): New struct.
15732 (struct _xsave_hdr): Likewise.
15733 (struct _ymmh_state): Likewise.
15734 (struct _xstate): Likewise.
15735
68e408ab
L
15736 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15737 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15738 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15739 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15740 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15741 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15742
f3d1f93c
L
15743 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15744 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15745 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15746 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15747 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15748 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15749
d9dc34cd
TMQMF
157502012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15751
15752 [BZ #13743]
15753 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15754 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15755 (sysdep_headers): Include sys/platform/ppc.h.
15756 * sysdeps/powerpc/test-gettimebase.c: Test for
15757 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15758 * manual/Makefile (appendices): Include platform.texi.
15759 * manual/contrib.texi (Contributors): Update @node pointers.
15760 * manual/maint.texi (Maintenance): Likewise.
15761 (Platform): New node.
15762 * manual/platform.texi: New file. Document the new features.
15763
4af3879c
SP
157642012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15765 Jakub Jelinek <jakub@redhat.com>
15766
15767 [BZ #14188]
15768 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15769 where __builtin_expect is unavailable.
15770
2fd6ff13
DM
157712012-06-03 David S. Miller <davem@davemloft.net>
15772
15773 * stdlib/longlong.h: Updated from GCC.
15774
173f7220
AS
157752012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15776
15777 [BZ #14042]
15778 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15779 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15780 __mcount_internal.
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15782 (GLIBC_2.16): Likewise.
15783
f34a1c6f
L
157842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15785
15786 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15787
88a4576f
JM
157882012-06-01 Joseph Myers <joseph@codesourcery.com>
15789
ea32bcdd
JM
15790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15791 (default-abi): New variable.
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15794 variable.
15795 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15796 Likewise.
15797 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15798 Likewise.
15799 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15800 Likewise.
15801
88a4576f
JM
15802 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15803 definition. Document in comment.
15804
402fe938
DM
158052012-06-01 David S. Miller <davem@davemloft.net>
15806
15807 * stdlib/longlong.h: Updated from GCC.
15808
3553723f
L
158092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15810
15811 [BZ #14117]
3bd872c4
L
15812 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15813 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15814 sys/debugreg.h sys/io.h here.
15815 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15816 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15817 sys/io.h.
15818 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15819 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15820 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15821 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15822 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15823 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15824
3553723f
L
15825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15826 Define only if __x86_64__ is defined.
15827
4842e4fe
JM
158282012-06-01 Joseph Myers <joseph@codesourcery.com>
15829
c5bfe3d5
JM
15830 [BZ #14048]
15831 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15832 Use int64_t for variable i.
15833 * math/libm-test.inc (fmod_test): Add more tests.
15834
4842e4fe
JM
15835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15836 z computation is not scheduled after fetestexcept.
15837 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15838 Use math_force_eval instead of asm to ensure calculation scheduled
15839 before exception test.
15840 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15841 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15842
efb73488
AJ
158432012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15844
15845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15846 computation is not scheduled after fetestexcept.
15847
29bcce7c
L
158482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15849
15850 [BZ #14117]
15851 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15852 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15853
73a68f94
AZ
158542012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15855
15856 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15857 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15858
67b6df78
L
158592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15860
edf2933a 15861 [BZ #14117]
ebc64a18
L
15862 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15863 <bits/wordsize.h>.
15864 (__WCHAR_MIN): Support __WORDSIZE == 64.
15865 (__WCHAR_MAX): Likewise.
15866
edf2933a
L
15867 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15868 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15869
57c6cf40
L
15870 [BZ #14183]
15871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15872 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15873
67b6df78 15874 [BZ #14117]
8eb6281e
L
15875 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15876 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15877
aac639f4
L
15878 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15879 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15880
67b6df78
L
15881 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15882 Defined to 1 if __x86_64__ isn't defined.
15883 (_STAT_VER_LINUX_OLD): New.
15884 (st_atime): Remove duplicate.
15885 (st_mtime): Likewise.
15886 (st_ctime): Likewise.
15887
1c2cfe81
DM
158882012-05-31 David S. Miller <davem@davemloft.net>
15889
15890 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15891 entries.
15892
5be8418c
AS
158932012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15894
e7725326
AS
15895 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15896 gen-libm-test.pl.
15897
5be8418c
AS
15898 [BZ #14132]
15899 * elf/dl-reloc.c: Include <_itoa.h>.
15900 (_dl_reloc_bad_type): Remove use of INTUSE.
15901 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15902 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15903 * stdio-common/psiginfo.c (psiginfo): Likewise.
15904 * stdio-common/psignal.c (psignal): Likewise.
15905 * string/strsignal.c (strsignal): Likewise.
15906 * include/signal.h (_sys_siglist): Declare hidden proto.
15907 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15908 INTVARDEF with libc_hidden_data_def.
15909 * stdio-common/itoa-udigits.c: Likewise.
15910 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15911 (_itoa_lower_digits_internal): Remove declaration.
15912 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15913 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15914 (_sys_sigabbrev_internal): Remove aliases.
15915 (_sys_siglist): Define hidden alias.
15916
507352f1
MT
159172012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15918
15919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15920 bits/sysctl.h.
15921
42bbb1c3
L
159222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 [BZ #14117]
6bd784b6
L
15925 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15926 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15927
8bca20f0
L
15928 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15929 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15930 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15931 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15932 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15933 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15934
f9e890a9
L
15935 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15936 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15937 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15938
471101a1
L
15939 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15940 with __addr.
15941 (insw): Likewise.
15942 (insl): Likewise.
15943 (outsb): Likewise.
15944 (outsw): Likewise.
15945 (outsl): Likewise.
15946
6451c862
L
15947 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15948 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15949 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15950
a254b8c9
L
15951 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15952 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15954 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15955 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15956 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15957
b8dfdd92
L
15958 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15959 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15960
578cd270
L
15961 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15962 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15963
de662f5f
L
15964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15966 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15967
25653439
L
15968 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15969 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15970 to ...
15971 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15972
6bad24a0
L
15973 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15974 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15975 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15976
42bbb1c3
L
15977 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15978 for x86-64.
15979 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15980
2d10d547
JM
159812012-05-31 Joseph Myers <joseph@codesourcery.com>
15982
15983 * math/math.h (M_El): Use two more decimal places.
15984 (M_LOG2El): Likewise.
15985 (M_LOG10El): Likewise.
15986 (M_LN2l): Likewise.
15987 (M_LN10l): Likewise.
15988 (M_PIl): Likewise.
15989 (M_PI_2l): Likewise.
15990 (M_PI_4l): Likewise.
15991 (M_1_PIl): Likewise.
15992 (M_2_PIl): Likewise.
15993 (M_2_SQRTPIl): Likewise.
15994 (M_SQRT2l): Likewise.
15995 (M_SQRT1_2l): Likewise.
15996
f230c29b
DM
159972012-05-31 David S. Miller <davem@davemloft.net>
15998
15999 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16000 values between float registers.
16001 * sysdeps/sparc/sparc64/memset.S: Likewise.
16002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16003
fed806c3
MF
160042012-05-31 Mike Frysinger <vapier@gentoo.org>
16005
16006 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16007 -D_FORTIFY_SOURCE=1.
16008 (CPPFLAGS-tst-longjmp_chk.c): Define.
16009 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16010 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16011 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16012 CFLAGS-tst-wchar-h.c.
16013
30917259
MP
160142012-05-31 Marek Polacek <polacek@redhat.com>
16015
16016 [BZ #14132]
16017 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16018 __endmntent_internal): Remove declaration.
16019 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16020 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16021 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16022
1c58d5dc
DM
160232012-05-30 David S. Miller <davem@davemloft.net>
16024
16025 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16026 (___Q_simulate_exceptions): Use real FP ops rather than writing
16027 into the %fsr.
16028 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16029 Likewise.
16030
7dc00e0d
L
160312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 [BZ #14117]
0bd53985
L
16034 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16035 * sysdeps/x86/bits/xtitypes.h: This.
16036
3a257e66
L
16037 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16038 * sysdeps/x86/bits/wordsize.h: This.
16039
62f62904
L
16040 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16041 * sysdeps/x86/bits/huge_vall.h: This.
16042
404fe9d9
L
16043 * sysdeps/i386/bits/select.h: Removed.
16044 * sysdeps/x86_64/bits/select.h: Renamed to ...
16045 * sysdeps/x86/bits/select.h: This.
16046
d48d0446
L
16047 * sysdeps/i386/bits/setjmp.h: Removed.
16048 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16049 * sysdeps/x86/bits/setjmp.h: This.
16050
7dc00e0d
L
16051 * sysdeps/i386/bits/mathdef.h: Removed.
16052 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16053 * sysdeps/x86/bits/mathdef.h: This.
16054
03277f8f
AS
160552012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16056
16057 [BZ #14132]
16058 * include/sys/socket.h (__connect_internal)
16059 (__libc_sa_len_internal): Remove declaration.
16060 (__connect, __libc_sa_len): Declare hidden_proto.
16061 (SA_LEN): Remove use of INTUSE.
16062 * socket/connect.c: Add libc_hidden_def.
16063 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16064 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16065 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16066 alias.
16067 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16069 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16070 of adding _internal alias.
16071
13764867
L
160722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16073
16074 [BZ #14117]
6bd97696
L
16075 * sysdeps/i386/bits/link.h: Removed.
16076 * sysdeps/i386/bits/linkmap.h: Likewise.
16077 * sysdeps/x86_64/bits/link.h: Renamed to ...
16078 * sysdeps/x86/bits/link.h: This.
16079 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16080 * sysdeps/x86/bits/linkmap.h: This.
16081
f726f0bb
L
16082 * sysdeps/i386/bits/endian.h: Removed.
16083 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16084 * sysdeps/x86/bits/endian.h: This.
16085
13764867
L
16086 * sysdeps/i386/bits/byteswap.h: Removed.
16087 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16088 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16089 * sysdeps/x86/bits/byteswap.h: This.
16090 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16091 * sysdeps/x86/bits/byteswap-16.h: This.
16092 * sysdeps/i386/Implies: Add x86.
16093 * sysdeps/x86_64/Implies: Likewise.
16094
ae251b0b
DM
160952012-05-30 David S. Miller <davem@davemloft.net>
16096
16097 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16098 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16099 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16100 (FP_TRAPPING_EXCEPTIONS): Define.
16101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16102 (FP_TRAPPING_EXCEPTIONS): Define.
16103 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16104 subnormals only when inexact has been signalled or underflow
16105 exceptions are enabled.
16106 (_FP_PACK_CANONICAL): Likewise.
16107
d5c90867
L
161082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16109
16110 [BZ #14183]
16111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16112 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16113
63f1549e
RH
161142012-05-30 Richard Henderson <rth@twiddle.net>
16115
8d8f2279
RH
16116 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16117 with #ifndef NOT_IN_libc.
16118
63f1549e
RH
16119 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16120 marked to avoid plt entry.
16121
0ab0291b
L
161222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16123
16124 [BZ #14112]
16125 * Makeconfig (default-abi): New macro.
16126 (abi-includes): Likewise.
16127 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16128 $(abi-$(default-abi)-lib-soname) for soname if defined.
16129 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16130 abi-variants.
16131 * Makefile (installed-stubs): Likewise.
16132 * include/stubs-biarch.h: Removed.
16133 * scripts/lib-names.awk: Only handle one library at a time.
16134 * scripts/soversions.awk: Remove WORDSIZE support.
16135 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16136 entries.
16137 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16138 Removed.
16139 (syscall-list-default-condition): Likewise.
16140 (syscall-list-default-condition): Likewise.
16141 (syscall-list-includes): Likewise.
16142 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16143 syscall-list-* with abi-*. Handle undefined abi-variants.
16144 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16145 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16146 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16147 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16148 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16149 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16150 Removed.
16151 (syscall-list-32-options): Likewise.
16152 (syscall-list-32-condition): Likewise.
16153 (syscall-list-64-options): Likewise.
16154 (syscall-list-64-condition): Likewise.
16155 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16156 macro.
16157 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16158 Renamed to ...
16159 (abi-*): This.
16160 (abi-64-ld-soname): New macro.
16161 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16162 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16163 Renamed to ...
16164 (abi-*): This.
16165 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16166 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16167
4da0431d
JM
161682012-05-30 Joseph Myers <joseph@codesourcery.com>
16169
3a85279c
JM
16170 * sysdeps/unix/sysv/linux/kernel-features.h
16171 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16172 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16173 include <kernel-features.h>.
16174 [!__NR_ftruncate64]: Remove conditional code.
16175 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16176 [__NR_ftruncate64]: Make code unconditional.
16177 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16178 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
4da0431d
JM
16197 * configure.in (libc_cv_fpie): Weaken to a compile test using
16198 LIBC_TRY_CC_OPTION.
16199 * configure: Regenerated.
16200
11ef492c
AK
162012012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16202
16203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16207 Refreshed.
16208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16214 Refreshed.
16215
d66ef399
DM
162162012-05-27 David S. Miller <davem@davemloft.net>
16217
16218 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16219 (___Q_zero): New.
16220 (__Q_simulate_exceptions): Return void. Change to simulate
16221 exceptions by writing into the %fsr.
16222 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16223 (__Qp_handle_exceptions): Likewise.
16224 (numbers): Delete.
16225 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16226 __Qp_handle_exceptions.
16227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16228 __Qp_handle_exceptions.
16229 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16230 as unused and give dummy FP_RND_NEAREST initializer.
16231 (FP_INHIBIT_RESULTS): Define.
16232 (___Q_simulate_exceptions): Update declaration.
16233 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16234 formatting.
16235 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16236 as unused and give dummy FP_RND_NEAREST initializer.
16237 (__Qp_handle_exceptions): Update declaration.
16238 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16239 formatting.
16240
04fb54b5
TS
162412012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16242
16243 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16244 the temporary FPU control word.
16245 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16246 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16247 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16248 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16249 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16250 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16251 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16252 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16253 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16254 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16255 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16256
3f99608f
KK
162572012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16258
16259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16260 fields.
16261
65a4de4e
CLT
162622012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16263
16264 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16265 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16266 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16267 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16268 Likewise.
16269 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16270 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16271 Likewise.
16272
15749d40
UD
162732012-05-27 Ulrich Drepper <drepper@gmail.com>
16274
16275 * po/h.po: Update from translation team.
16276
25dbcb27
AS
162772012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16278
3d3f8e55
AS
16279 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16280
25dbcb27
AS
16281 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16282 handling of denormals.
16283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16284 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16285 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16286 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16290 Likewise.
16291
7ad47a80 162922012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16293
16294 [BZ #14152]
16295 * math/libm-test.inc (fma_test): Don't always expect underflow
16296 exception.
16297
9c6ea9fa
SP
162982012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16299
16300 [BZ #12416]
16301 * elf/tst-execstack.c: Include stackinfo.h.
16302 (do_test): Adjust test case to ensure that pthread_getattr_np
16303 behaviour remains the same after marking stack executable.
16304
a8239222
JM
163052012-05-25 Joseph Myers <joseph@codesourcery.com>
16306
16307 * sysdeps/unix/sysv/linux/kernel-features.h
16308 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16309 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16310 kernel-features.h.
16311 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16312 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16313 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16314 kernel-features.h.
16315 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16316 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16317
918b5606
L
163182012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * configure.in: Define the default includes to being none.
16321 * configure: Regenerated.
16322
3a097cc7
RM
163232012-05-25 Roland McGrath <roland@hack.frob.com>
16324
8422c9a5
RM
16325 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16326 * sysdeps/x86_64/setjmp.S: Likewise.
16327 * sysdeps/i386/bsd-setjmp.S: Likewise.
16328 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16329 * sysdeps/i386/setjmp.S: Likewise.
16330 * sysdeps/i386/__longjmp.S: Likewise.
16331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16332 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16333
3a097cc7
RM
16334 * include/stap-probe.h: New file.
16335 * configure.in: Handle --enable-systemtap.
16336 * configure: Regenerated.
16337 * config.h.in (USE_STAP_PROBE): New #undef.
16338 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16339 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16340 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16341
21708942
JM
163422012-05-25 Joseph Myers <joseph@codesourcery.com>
16343
16344 [BZ #13717]
16345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16346 to 2.4.0 where earlier.
16347 * sysdeps/unix/sysv/linux/configure: Regenerated.
16348 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16349 <kernel-features.h>.
16350 [__ASSUME_32BITUIDS]: Make code unconditional.
16351 [!__ASSUME_32BITUIDS]: Remove conditional code.
16352 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16353 <kernel-features.h>.
16354 [__ASSUME_32BITUIDS]: Make code unconditional.
16355 [!__ASSUME_32BITUIDS]: Remove conditional code.
16356 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16357 [__ASSUME_32BITUIDS]: Make code unconditional.
16358 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16359 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16360 <kernel-features.h>.
16361 [__ASSUME_32BITUIDS]: Make code unconditional.
16362 [!__ASSUME_32BITUIDS]: Remove conditional code.
16363 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16364 <kernel-features.h>.
16365 [__ASSUME_32BITUIDS]: Make code unconditional.
16366 [!__ASSUME_32BITUIDS]: Remove conditional code.
16367 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16368 <kernel-features.h>.
16369 [__ASSUME_32BITUIDS]: Make code unconditional.
16370 [!__ASSUME_32BITUIDS]: Remove conditional code.
16371 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16372 <kernel-features.h>.
16373 [__ASSUME_32BITUIDS]: Make code unconditional.
16374 [!__ASSUME_32BITUIDS]: Remove conditional code.
16375 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16376 <kernel-features.h>.
16377 [__ASSUME_32BITUIDS]: Make code unconditional.
16378 [!__ASSUME_32BITUIDS]: Remove conditional code.
16379 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16380 <kernel-features.h>.
16381 [__ASSUME_32BITUIDS]: Make code unconditional.
16382 [!__ASSUME_32BITUIDS]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16384 <kernel-features.h>.
16385 [__ASSUME_32BITUIDS]: Make code unconditional.
16386 [!__ASSUME_32BITUIDS]: Remove conditional code.
16387 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16388 <kernel-features.h>.
16389 [__ASSUME_32BITUIDS]: Make code unconditional.
16390 [!__ASSUME_32BITUIDS]: Remove conditional code.
16391 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16392 <kernel-features.h>.
16393 [__ASSUME_32BITUIDS]: Make code unconditional.
16394 [!__ASSUME_32BITUIDS]: Remove conditional code.
16395 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16396 <kernel-features.h>.
16397 [__ASSUME_32BITUIDS]: Make code unconditional.
16398 [!__ASSUME_32BITUIDS]: Remove conditional code.
16399 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16400 <kernel-features.h>.
16401 [__NR_setresgid] (__setresgid): Do not declare.
16402 [__ASSUME_32BITUIDS]: Make code unconditional.
16403 [!__ASSUME_32BITUIDS]: Remove conditional code.
16404 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16405 <kernel-features.h>.
16406 [__NR_setresuid] (__setresuid): Do not declare.
16407 [__ASSUME_32BITUIDS]: Make code unconditional.
16408 [!__ASSUME_32BITUIDS]: Remove conditional code.
16409 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16410 <kernel-features.h>.
16411 [__ASSUME_32BITUIDS]: Make code unconditional.
16412 [!__ASSUME_32BITUIDS]: Remove conditional code.
16413 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16414 <kernel-features.h>.
16415 [__ASSUME_32BITUIDS]: Make code unconditional.
16416 [!__ASSUME_32BITUIDS]: Remove conditional code.
16417 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16418 <kernel-features.h>.
16419 [__ASSUME_32BITUIDS]: Make code unconditional.
16420 [!__ASSUME_32BITUIDS]: Remove conditional code.
16421 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16422 <kernel-features.h>.
16423 [__ASSUME_32BITUIDS]: Make code unconditional.
16424 [!__ASSUME_32BITUIDS]: Remove conditional code.
16425 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16426 <kernel-features.h>.
16427 [__ASSUME_32BITUIDS]: Make code unconditional.
16428 [!__ASSUME_32BITUIDS]: Remove conditional code.
16429 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16430 <kernel-features.h>.
16431 [__ASSUME_32BITUIDS]: Make code unconditional.
16432 [!__ASSUME_32BITUIDS]: Remove conditional code.
16433 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16434 <kernel-features.h>.
16435 [__ASSUME_32BITUIDS]: Make code unconditional.
16436 [!__ASSUME_32BITUIDS]: Remove conditional code.
16437 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16438 <kernel-features.h>.
16439 [__ASSUME_32BITUIDS]: Make code unconditional.
16440 [!__ASSUME_32BITUIDS]: Remove conditional code.
16441 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16442 <kernel-features.h>.
16443 [__ASSUME_32BITUIDS]: Make code unconditional.
16444 [!__ASSUME_32BITUIDS]: Remove conditional code.
16445 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16446 <kernel-features.h>.
16447 [__ASSUME_32BITUIDS]: Make code unconditional.
16448 [!__ASSUME_32BITUIDS]: Remove conditional code.
16449 * sysdeps/unix/sysv/linux/kernel-features.h
16450 (__ASSUME_SETRESUID_SYSCALL): Remove.
16451 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16452 (__ASSUME_32BITUIDS): Likewise.
16453 (__ASSUME_LDT_WORKS): Likewise.
16454 (__ASSUME_O_DIRECTORY): Likewise.
16455 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16456 architecture but not kernel version.
16457 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16458 (__ASSUME_MMAP2_SYSCALL): Likewise.
16459 (__ASSUME_STAT64_SYSCALL): Likewise.
16460 (__ASSUME_IPC64): Likewise.
16461 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16462 <kernel-features.h>.
16463 [__ASSUME_32BITUIDS]: Make code unconditional.
16464 [!__ASSUME_32BITUIDS]: Remove conditional code.
16465 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16466 <kernel-features.h>.
16467 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16468 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16469 132096]: Remove conditional code.
16470 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16471 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16472 <kernel-features.h>.
16473 [__ASSUME_32BITUIDS]: Make code unconditional.
16474 [!__ASSUME_32BITUIDS]: Remove conditional code.
16475 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16476 <kernel-features.h>.
16477 [__ASSUME_32BITUIDS]: Make code unconditional.
16478 [!__ASSUME_32BITUIDS]: Remove conditional code.
16479 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16480 <kernel-features.h>.
16481 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16482 unconditional.
16483 (__setresgid): Do not declare.
16484 [__ASSUME_32BITUIDS]: Make code unconditional.
16485 [!__ASSUME_32BITUIDS]: Remove conditional code.
16486 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16487 <kernel-features.h>.
16488 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16489 unconditional.
16490 (__setresuid): Do not declare.
16491 [__ASSUME_32BITUIDS]: Make code unconditional.
16492 [!__ASSUME_32BITUIDS]: Remove conditional code.
16493 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16494 <kernel-features.h>.
16495 [__ASSUME_32BITUIDS]: Make code unconditional.
16496 [!__ASSUME_32BITUIDS]: Remove conditional code.
16497 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16498 <kernel-features.h>.
16499 [__ASSUME_32BITUIDS]: Make code unconditional.
16500 [!__ASSUME_32BITUIDS]: Remove conditional code.
16501
a386f1cc
RH
165022012-05-25 Richard Henderson <rth@twiddle.net>
16503
16504 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16505 dl_hwcap to ifunc resolver.
16506 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16507 elf_ifunc_invoke.
16508 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16509 dl_hwcap to ifunc resolver.
16510 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16511
b6550497
JM
165122012-05-24 Joseph Myers <joseph@codesourcery.com>
16513
16514 [BZ #14153]
16515 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16516 for |x| <= 2**-26, not 2**-57.
16517 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16518 exception.
16519
b0bc23a1
JL
165202012-05-24 Jeff Law <law@redhat.com>
16521
16522 * stdio-common/Makefile (tests): Add bug25.
16523 * stdio-common/bug25.c: New test.
16524
347c92e9
L
165252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16526
16527 [BZ #13576]
16528 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16529 multiple of MALLOC_ALIGNMENT in size.
16530 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16531
6bcc8b3f
JM
165322012-05-24 Joseph Myers <joseph@codesourcery.com>
16533
16534 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16535 Require >= 256.
16536 (FILENAME_MAX): Use macro-int-constant.
16537 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16538 (_IOFBF): Use macro-int-constant.
16539 (_IOLBF): Likewise.
16540 (_IONBF): Likewise.
16541 (SEEK_CUR): Likewise.
16542 (SEEK_END): Likewise.
16543 (SEEK_SET): Likewise.
16544 (TMP_MAX): Likewise.
16545 (EOF): Use macro-int-constant. Require < 0.
16546 (NULL): Use macro-constant. Require == 0.
16547 (stdin): Require type to be FILE *.
16548 (stdout): Likewise.
16549 (stderr): Likewise.
16550 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16551 macro-int-constant.
16552 (EXIT_SUCCESS): Likewise.
16553 (NULL): Use macro-constant. Require == 0.
16554 (RAND_MAX): Use macro-int-constant.
16555 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16556 [C99-based standards] (strtof): Require function.
16557 [C99-based standards] (strtold): Likewise.
16558 [C99-based standards] (strtoll): Likewise.
16559 [C99-based standards] (strtoull): Likewise.
16560 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16561 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16562 [ISO || ISO99 || ISO11] (math.h): Likewise.
16563 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16564 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16566
d18ea0c5
AS
165672012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16568
16569 [BZ #14132]
56d25bb8
AS
16570 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16571 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16572 * intl/dgettext.c (DCGETTEXT): Likewise.
16573 * intl/gettext.c (DCGETTEXT): Likewise.
16574 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16575 * posix/regex_internal.h (gettext): Likewise.
16576 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16577 Remove declaration.
16578 * include/argz.h (__argz_count_internal)
16579 (__argz_stringify_internal): Remove declaration.
16580 (__argz_count, __argz_stringify): Declare hidden proto.
16581 * intl/dcgettext.c: Remove use of INTDEF.
16582 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16583 * string/argz-stringify.c: Likewise.
16584 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16585 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16586 Declare hidden proto.
d18ea0c5
AS
16587 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16588 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16589 Declare hidden proto.
16590 * include/stdio.h (__asprintf_internal): Don't declare.
16591 (__asprintf): Don't define as macro. Declare hidden proto.
16592 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16593 (__fsetlocking): Declare hidden proto.
16594 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16595 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16596 hidden proto.
16597 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16598 (_IO_setlinebuf): Remove use of INTUSE.
16599 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16600 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16601 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16602 Remove declaration.
16603 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16604 (_IO_do_flush): Remove use of INTUSE.
16605 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16606 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16607 (_IO_adjust_column, _IO_least_wmarker)
16608 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16609 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16610 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16611 (_IO_default_doallocate, _IO_wdefault_doallocate)
16612 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16613 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16614 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16615 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16616 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16617 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16618 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16619 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16620 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16621 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16622 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16623 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16624 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16625 proto.
16626 (_IO_flush_all_internal, _IO_adjust_column_internal)
16627 (_IO_default_uflow_internal, _IO_default_finish_internal)
16628 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16629 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16630 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16631 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16632 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16633 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16634 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16635 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16636 (_IO_file_close_internal, _IO_file_close_it_internal)
16637 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16638 (_IO_file_init_internal, _IO_file_attach_internal)
16639 (_IO_file_fopen_internal, _IO_file_read_internal)
16640 (_IO_file_sync_internal, _IO_file_seek_internal)
16641 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16642 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16643 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16644 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16645 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16646 (_IO_list_all_internal, _IO_link_in_internal)
16647 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16648 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16649 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16650 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16651 (_IO_do_write_internal, _IO_padn_internal)
16652 (_IO_getline_info_internal, _IO_getline_internal)
16653 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16654 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16655 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16656 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16657 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16658 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16659 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16660 with libc_hidden_ver, remove use of INTUSE.
16661 * libio/genops.c: Likewise.
16662 * libio/freopen.c: Likewise.
16663 * libio/freopen64.c: Likewise.
16664 * libio/iofclose.c: Likewise.
16665 * libio/iofdopen.c: Likewise.
16666 * libio/iofflush.c: Likewise.
16667 * libio/iofflush_u.c: Likewise.
16668 * libio/iofgets.c: Likewise.
16669 * libio/iofgets_u.c: Likewise.
16670 * libio/iofopen.c: Likewise.
16671 * libio/iofopncook.c: Likewise.
16672 * libio/iofread.c: Likewise.
16673 * libio/iofread_u.c: Likewise.
16674 * libio/ioftell.c: Likewise.
16675 * libio/iofwrite.c: Likewise.
16676 * libio/iogetline.c: Likewise.
16677 * libio/iogets.c: Likewise.
16678 * libio/iogetwline.c: Likewise.
16679 * libio/iopadn.c: Likewise.
16680 * libio/iopopen.c: Likewise.
16681 * libio/ioseekoff.c: Likewise.
16682 * libio/ioseekpos.c: Likewise.
16683 * libio/iosetbuffer.c: Likewise.
16684 * libio/iosetvbuf.c: Likewise.
16685 * libio/ioungetc.c: Likewise.
16686 * libio/ioungetwc.c: Likewise.
16687 * libio/iovdprintf.c: Likewise.
16688 * libio/iovsprintf.c: Likewise.
16689 * libio/iovsscanf.c: Likewise.
16690 * libio/memstream.c: Likewise.
16691 * libio/obprintf.c: Likewise.
16692 * libio/oldfileops.c: Likewise.
16693 * libio/oldiofclose.c: Likewise.
16694 * libio/oldiofdopen.c: Likewise.
16695 * libio/oldiofopen.c: Likewise.
16696 * libio/oldiopopen.c: Likewise.
16697 * libio/oldstdfiles.c: Likewise.
16698 * libio/putc.c: Likewise.
16699 * libio/setbuf.c: Likewise.
16700 * libio/setlinebuf.c: Likewise.
16701 * libio/stdfiles.c: Likewise.
16702 * libio/strops.c: Likewise.
16703 * libio/vasprintf.c: Likewise.
16704 * libio/vscanf.c: Likewise.
16705 * libio/vsnprintf.c: Likewise.
16706 * libio/vswprintf.c: Likewise.
16707 * libio/wfiledoalloc.c: Likewise.
16708 * libio/wfileops.c: Likewise.
16709 * libio/wgenops.c: Likewise.
16710 * libio/wmemstream.c: Likewise.
16711 * libio/wstrops.c: Likewise.
16712 * libio/__fpurge.c: Likewise.
16713 * libio/__fsetlocking.c: Likewise.
16714 * assert/assert.c: Likewise.
16715 * debug/fgets_chk.c: Likewise.
16716 * debug/fgets_u_chk.c: Likewise.
16717 * debug/fread_chk.c: Likewise.
16718 * debug/fread_u_chk.c: Likewise.
16719 * debug/gets_chk.c: Likewise.
16720 * debug/obprintf_chk.c: Likewise.
16721 * debug/vasprintf_chk.c: Likewise.
16722 * debug/vdprintf_chk.c: Likewise.
16723 * debug/vsnprintf_chk.c: Likewise.
16724 * debug/vsprintf_chk.c: Likewise.
16725 * malloc/mtrace.c: Likewise.
16726 * misc/error.c: Likewise.
16727 * misc/syslog.c: Likewise.
16728 * stdio-common/asprintf.c: Likewise.
16729 * stdio-common/fxprintf.c: Likewise.
16730 * stdio-common/getw.c: Likewise.
16731 * stdio-common/isoc99_fscanf.c: Likewise.
16732 * stdio-common/isoc99_scanf.c: Likewise.
16733 * stdio-common/isoc99_vfscanf.c: Likewise.
16734 * stdio-common/isoc99_vscanf.c: Likewise.
16735 * stdio-common/isoc99_vsscanf.c: Likewise.
16736 * stdio-common/printf-prs.c: Likewise.
16737 * stdio-common/printf_fp.c: Likewise.
16738 * stdio-common/printf_fphex.c: Likewise.
16739 * stdio-common/printf_size.c: Likewise.
16740 * stdio-common/putw.c: Likewise.
16741 * stdio-common/scanf.c: Likewise.
16742 * stdio-common/sprintf.c: Likewise.
16743 * stdio-common/tmpfile.c: Likewise.
16744 * stdio-common/vfprintf.c: Likewise.
16745 * stdio-common/vfscanf.c: Likewise.
16746 * stdlib/strfmon_l.c: Likewise.
16747 * sunrpc/openchild.c: Likewise.
16748 * sunrpc/xdr_stdio.c: Likewise.
16749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16750 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16751
d6c33fda
RM
167522012-05-24 Roland McGrath <roland@hack.frob.com>
16753
c1487492
RM
16754 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16755
16756 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16757 in the third column, to generate for the shared library an IFUNC
16758 that uses _dl_vdso_vsym.
16759 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16760 * Makeconfig (object-suffixes-noshared): New variable.
16761
16762 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16763 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16764 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16765 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16766
d6c33fda
RM
16767 [BZ #14132]
16768 * include/sys/time.h (__gettimeofday): Remove macro.
16769 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16770 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16771 Remove INTDEF.
16772 (__gettimeofday): Add libc_hidden_def.
16773 (gettimeofday): Add libc_hidden_weak.
16774 * sysdeps/mach/gettimeofday.c: Likewise.
16775 * sysdeps/posix/gettimeofday.c: Likewise.
16776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16777 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16779 (__gettimeofday_internal): Remove strong_alias.
16780 (__gettimeofday): Add libc_hidden_def.
16781 (gettimeofday): Add libc_hidden_weak.
16782 * sysdeps/unix/syscalls.list (gettimeofday):
16783 Remove __gettimeofday_internal alias.
16784
b5a2bbe6
L
167852012-05-24 Daniel Jacobowitz <drow@false.org>
16786 H.J. Lu <hongjiu.lu@intel.com>
16787
16788 [BZ #12495]
16789 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16790 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16791 (largebin_index_32_big): New.
16792 (largebin_index): Use it for 16-byte alignment.
16793 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16794 correction with front_misalign.
16795
cfba4fda
L
167962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16797
7f907421
L
16798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16800 Likewise.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16802 Likewise.
16803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16804 Likewise.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16806 Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16808 Likewise.
16809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16810 Likewise.
16811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16812 Likewise.
16813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16814 Likewise.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16816 Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16818 Likewise.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16820 Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16822 Likewise.
16823
cfba4fda
L
16824 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16825 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16826
80bad0cc
JM
168272012-05-24 Joseph Myers <joseph@codesourcery.com>
16828
7a25eb06
JM
16829 [BZ #10846]
16830 [BZ #14036]
16831 * math/libm-test.inc (exp_test): Add test from bug 14036.
16832 (pow_test): Add test from bug 10846.
16833
795405f9
JM
16834 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16835 and other flags.
16836 (special_function): Do not include flags in test name.
16837 (parse_args): Likewise.
16838 * sysdeps/i386/fpu/libm-test-ulps: Update.
16839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16840 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16841 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
80bad0cc
JM
16844 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16845 exceptions.
16846 * math/libm-test.inc ("Philosophy"): Update comment about
16847 exception testing.
16848 (UNDERFLOW_EXCEPTION): New macro.
16849 (UNDERFLOW_EXCEPTION_OK): Likewise.
16850 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16851 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16852 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16853 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16854 (INVALID_EXCEPTION_OK): Update value.
16855 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16856 (OVERFLOW_EXCEPTION_OK): Likewise.
16857 (IGNORE_ZERO_INF_SIGN): Likewise.
16858 (test_exceptions): Handle underflow exceptions.
16859 (acos_test): Update for underflow exception expectations.
16860 (cexp_test): Likewise.
16861 (clog_test): Likewise.
16862 (clog10_test): Likewise.
16863 (csqrt_test): Likewise.
16864 (ctan_test): Likewise.
16865 (ctanh_test): Likewise.
16866 (exp_test): Likewise.
16867 (exp10_test): Likewise.
16868 (exp2_test): Likewise.
16869 (expm1_test): Likewise.
16870 (fma_test): Likewise.
16871 (j0_test): Likewise.
16872 (jn_test): Likewise.
16873 (nexttoward_test): Likewise.
16874 (pow_test): Likewise.
16875 (scalbn_test): Likewise.
16876 (scalbln_test): Likewise.
16877 (tan_test): Likewise.
16878 (y1_test): Likewise.
16879 * sysdeps/i386/fpu/libm-test-ulps: Update.
16880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16881
9e0e3d0b
DM
168822012-05-23 David S. Miller <davem@davemloft.net>
16883
16884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16885 (__libc_sigaction): Remove unused local variables.
16886
ccd0a08f
L
168872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16888
16889 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16890
62bdf9a6
PE
168912012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16892
f8591f80
PE
16893 mktime: avoid signed integer overflow
16894 * time/mktime.c (__mktime_internal): Do not mishandle the case
16895 where diff == INT_MIN.
16896
94c7d826
PE
16897 mktime: simplify computation of average
16898 * time/mktime.c (ranged_convert): Use new time_t_avg function
16899 instead of rolling our own (probably-slower) code.
16900
ce73d683
PE
16901 mktime: do not assume signed right shift propagates sign bit
16902 * time/mktime.c (isdst_differ): New static function.
16903 (__mktime_internal): No need to normalize tm_isdst now.
16904 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16905 tm_isdst values.
16906
72a22e59
PE
16907 mktime: merge another wrapv change from gnulib
16908 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16909 from some compilers.
16910
68605433
PE
16911 mktime: remove incorrect attempt at unusual arithmetics
16912 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16913 The code didn't really work on such machines anyway.
16914 (TYPE_MINIMUM): Assume two's complement.
16915 (twos_complement_arithmetic): Verify that long_int and time_t
16916 are two's complement (or unsigned, in the latter case).
16917
03cf7fe3
PE
16918 mktime: check signed shifts on long_int and time_t, too
16919 * time/mktime.c (SHR): Check that shifts work as desired
16920 on the types long_int and time_t too, as SHR is used on
16921 such types.
16922
f04dfbc2
PE
16923 mktime: do not assume 'long' is wide enough
16924 * time/mktime.c (verify): Move decl up.
16925 (long_int): New type.
16926 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16927 to remove assumption in the code that 'long' is wide enough to
16928 store year values. This assumption is not true on x32 and on
16929 some non-glibc platforms.
16930
62bdf9a6
PE
16931 mktime: merge wrapv change from gnulib
16932 * time/mktime.c (WRAPV): New macro.
16933 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16934 (guess_time_tm, __mktime_internal): Do not assume that signed
16935 integer overflow wraps around; modern compilers generate code
16936 where this assumption is no longer valid.
16937
5e292e4f
L
169382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16939
16940 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16941 Replace "jmp L(pseudo_end)" with "ret".
16942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16943 Likewise.
16944
8caf8c87
AJ
169452012-05-23 Andreas Jaeger <aj@suse.de>
16946
16947 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16948 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16949
1a09dc56
AJ
169502012-05-23 Andreas Jaeger <aj@suse.de>
16951 Maximilian Attems <max@stro.at>
16952
16953 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16954 New macros.
16955
1c87aba0
L
169562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16957
16958 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16959 code so that pseudo_end is just ret and the stack pointer is
16960 correct also for static library in error case.
16961
40e45bd5
JM
169622012-05-23 Joseph Myers <joseph@codesourcery.com>
16963
c2670533
JM
16964 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16965 move to syscalls.list.
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16970
40e45bd5
JM
16971 * manual/install.texi (Running make install): Do not mention Linux
16972 kernel version for which pt_chown is not needed.
16973 (Linux): Do not mention problems with nscd with 2.0 kernels.
16974 * INSTALL: Regenerated.
16975
be08eda5
AJ
169762012-05-23 Andreas Jaeger <aj@suse.de>
16977
16978 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16979 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16980 macro.
16981 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16983 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16984 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16985 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16989 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16991 * sysdeps/unix/sysv/linux/bits/in.h
16992 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16993
a6a056bb
RM
169942012-05-22 Roland McGrath <roland@hack.frob.com>
16995
16996 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16997 (PREPARE_VERSION): Just use assert instead, it will be elided
16998 under [NDEBUG] anyway.
16999
c9009328
L
170002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17001
17002 * sysdeps/unix/sysv/linux/Makefile: Include
17003 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17004 (sysdep_routines): Remove sysctl.
c9009328
L
17005 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17006 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17007 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17009 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17010
73338355
AJ
170112012-05-22 Andreas Jaeger <aj@suse.de>
17012
17013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17014 that pseudo_end is just ret and the stack pointer is correct also
17015 for static library in error case.
17016
d44638b0
PP
170172012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17018
17019 [BZ #14122]
17020 * nss/nsswitch.c (defconfig_entries): New variable.
17021 (__nss_database_lookup): Don't leak defconfig entries.
17022 (nss_parse_service_list): Don't leak on error paths.
17023 (free_database_entries): New function.
17024 (free_defconfig): New function.
17025 (free_mem): Move common code to free_database_entries.
17026
31a39bd8
L
170272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17028
da0331a8
L
17029 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17030 Add arch_prctl.
17031 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17032
31a39bd8
L
17033 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17034 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17036 New macro.
17037 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17038 (INTERNAL_SYSCALL_TYPES): Likewise.
17039 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17040 (LOAD_REGS_TYPES_[1-6]): Likewise.
17041 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17042 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17043
45470df3
AZ
170442012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045
17046 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17047 copysignl for GLIBC_2_0.
17048 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17049 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17051 logbl for GLIBC_2_0.
17052 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17053 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17054
98a61bcb
L
170552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17056
a4f6e481
L
17057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17058 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17059
f63d5db6
L
17060 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17061 Use "neg %eax".
17062
98a61bcb
L
17063 * time/mktime.c: Update copyright years.
17064
95770f14
PE
170652012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17066
6226efbd
PE
17067 mktime: merge comment-quoting-style change from gnulib
17068 * time/mktime.c: Quote 'like this' in comments.
17069 The GNU coding standards suggest that we no longer quote `like this',
17070 as "`" and "'" are typically rendered asymmetrically nowadays.
17071 The typical gnulib style is to quote 'like this' when quoting
17072 code, and "like this" when quoting English.
17073
b99e4f78
PE
17074 * time/mktime.c (compile-command): Add "-I.".
17075
643e01e6
PE
17076 mktime: merge mktime-internal.h change from gnulib
17077 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17078
2554247d
PE
17079 mktime: merge time_r change from gnulib
17080 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17081
826dd0ab
PE
17082 mktime: merge DEBUG change from gnulib
17083 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17084 case system <time.h> has a #define.
17085
bd83aabe
PE
17086 mktime: merge <sys/types.h> change from gnulib
17087 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17088 since <time.t> is now guaranteed to define time_t.
17089
95770f14
PE
17090 mktime: merge HAVE_CONFIG_H change from gnulib
17091 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17092
5e1a27a9
L
170932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17094
0e44a77e
L
17095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17096 Use "neg %eax".
17097
5e1a27a9
L
17098 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17099 __rlim_t cast.
17100 (struct rusage): Use anonymous union to pad each field to
17101 __syscall_slong_t.
17102
46259bec
DM
171032012-05-21 David S. Miller <davem@davemloft.net>
17104
17105 * Makefules (o-iterator): Remove .s cases.
17106 (compile-command.s): Delete.
17107 (COMPILE.s): Delete.
17108 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17109
59f0c22e
JM
171102012-05-21 Joseph Myers <joseph@codesourcery.com>
17111
17112 * configure.in (libc_cv_predef_stack_protector): Only consider
17113 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17114 * configure: Regenerated.
17115
20c07380
L
171162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17117
bbb3154b
L
17118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17119 New macro. Use R*LP on int and pointer.
17120 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17121 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17122 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17123 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17124
20c07380
L
17125 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17126 [__WORDSIZE_TIME64_COMPAT32] instead of
17127 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17128 (struct utmp): Likewise.
17129 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17130 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17131 Renamed to ...
17132 (__WORDSIZE_TIME64_COMPAT32): This.
17133 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17134 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17135 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17136 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17137 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17138 (__WORDSIZE_TIME64_COMPAT32): New macro.
17139
d8d1017e
AJ
171402012-05-21 Andreas Jaeger <aj@suse.de>
17141
17142 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17143 only if [SHARED]. Add prototype for __wcschr_ia32.
17144
6c7fb145
RM
171452012-05-21 Roland McGrath <roland@hack.frob.com>
17146
17147 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17148 of %rbp unmolested in the jmp_buf while mangling the low bits.
17149 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17150 unmolested high bits of %rbp while demangling the low bits.
17151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17152
66274218
AJ
171532012-05-21 Andreas Jaeger <aj@suse.de>
17154
07c58f8f
AJ
17155 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17156 * sunrpc/svc_simple.c: Use it for registerrpc.
17157 * sunrpc/xcrypt.c: Use it for passwd2des.
17158
66274218
AJ
17159 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17160
61f65140
L
171612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17162
17163 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17164 Don't define if [__SYSCALL_WORDSIZE != 32].
17165 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17166 New macro.
17167
5fefb436
AJ
171682012-05-21 Bruno Haible <bruno@clisp.org>
17169 Andreas Jaeger <aj@suse.de>
17170
17171 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17172 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17173 inptr and inend for must_buffer_ch.
17174 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17175 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17176 * stdio-common/Makefile (tests): Remove bug15.
17177 (bug15-ENV): Remove macro.
17178 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17179 anymore.
17180
d8e272ab
AJ
171812012-05-19 Andreas Jaeger <aj@suse.de>
17182 Roland McGrath <roland@hack.frob.com>
17183
17184 * manual/contrib.texi: Completely rewritten. It contains now an
17185 alphabetical list of contributors and their contributions.
17186
4a56a162
RH
171872012-05-21 Richard Henderson <rth@twiddle.net>
17188
17189 * misc/getauxval.c (__getauxval): Use unsigned long int.
17190 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17191 (getauxval): Use unsigned long int.
17192
d024d23c
L
171932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17194
17195 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17196
cbc00a03
RM
171972012-05-21 Roland McGrath <roland@hack.frob.com>
17198
17199 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17200 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17201 __alignof__ (long double).
17202
478143fa
AZ
172032012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17204
17205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17206
c7683a6d
RH
172072012-05-20 Richard Henderson <rth@twiddle.net>
17208
17209 * misc/getauxval.c: New file.
17210 * misc/sys/auxv.h: New file.
17211 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17212 (routines): Add getauxval.
17213 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17214 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17215 * elf/dl-sysdep.c (_dl_auxv): Remove.
17216 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17217 * elf/dl-support.c (_dl_auxv): New variable.
17218 (_dl_aux_init): Initialize it.
17219 * manual/startup.texi (Auxiliary Vector): New node.
17220 * sysdeps/generic/bits/hwcap.h: New file.
17221 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17222 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17223 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17224 * sysdeps/sparc/sysdep.h: ... here. Include it.
17225 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17228 Update.
c7683a6d
RH
17229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17232 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17237
a6f1845d
AZ
172382012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239
17240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17241
cbcbe830
DM
172422012-05-19 David S. Miller <davem@davemloft.net>
17243
17244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17245
e0b16cc2
JM
172462012-05-19 Joseph Myers <joseph@codesourcery.com>
17247
17248 [BZ #14123]
17249 * math/s_ccosh.c: Include <float.h>
17250 (__ccosh): Avoid internal overflow calculating sinh and cosh
17251 values before multiplying by sin and cos values.
17252 * math/s_ccoshf.c: Likewise.
17253 * math/s_ccoshl.c: Likewise.
17254 * math/s_csin.c: Likewise.
17255 * math/s_csinf.c: Likewise.
17256 * math/s_csinl.c: Likewise.
17257 * math/s_csinh.c: Likewise.
17258 * math/s_csinhf.c: Likewise.
17259 * math/s_csinhl.c: Likewise.
17260 * math/libm-test.inc (ccos_test): Add more tests.
17261 (ccosh_test): Likewise.
17262 (csin_test): Likewise.
17263 (csinh_test): Likewise.
17264 * sysdeps/i386/fpu/libm-test-ulps: Update.
17265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17266
6ad13e08
L
172672012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17268
f66f0ce8
L
17269 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17270 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17271
6ad13e08
L
17272 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17273
b1d072a7
JM
172742012-05-19 Joseph Myers <joseph@codesourcery.com>
17275
17276 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17277 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17278 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17279 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17280 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17281 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17282 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17283 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17284 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17285 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17286 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17287 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17288 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17289 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17290 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17291 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17292 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17293 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17294 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17295 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17296 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17297 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17298 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17299 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17300 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17301 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17302 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17303 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17304 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17305 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17306 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17307
9eae47cb
AJ
173082012-05-18 Andreas Jaeger <aj@suse.de>
17309
17310 * csu/.gitignore: Delete.
17311
bb07f69f
L
173122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17315 (timex): Use __syscall_slong_t.
17316
e6bdb741
AJ
173172012-05-18 Andreas Jaeger <aj@suse.de>
17318 Carlos O'Donell <carlos_odonell@mentor.com>
17319
17320 * manual/install.texi (Configuring and compiling): Update
17321 description about files modified in the source directory.
d6c33fda 17322 * INSTALL: Regenerated.
e6bdb741 17323
1b74487e
L
173242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17325
17326 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17327 value. Use "or" to set return value to -1.
17328 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17329 negate return value.
17330
a88b64b9
TMQMF
173312012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17332
17333 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17334 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17335 failure if the compiler has Graphite support disabled.
17336 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17337 Likewise.
17338 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17339 CFLAGS-memmove.c): Likewise.
17340 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17341 Likewise.
17342
3707636e
L
173432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17344
610b8622
L
17345 * sysdeps/x86_64/x32/_itoa.h: New file.
17346
7cd195df
L
17347 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17348 getdents system call only if kernel and user dirents have the
17349 same d_ino and d_off.
17350
94b07d20
L
17351 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17352 LLONG_MAX != LONG_MAX.
17353 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17354 (_fitoa_word): Likewise.
17355
18298070
L
17356 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17357 years.
17358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17359 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17360 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17361
553c7ea4
L
17362 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17363 include <bits/wordsize.h>. Check __x86_64__ instead of
17364 __WORDSIZE.
17365 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17366 if __x86_64__ is defined. Use anonymous union on fpstate.
17367
3707636e
L
17368 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17369 anonymous union.
17370
b53ef01a
AS
173712012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17372
37fb1dc0
AS
17373 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17374 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17375 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17376 Refer to _rtld_local_ro instead of _rtld_global_ro.
17377 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17378 Likewise.
17379 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17380 Likewise.
17381 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17382 Likewise.
17383 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17384 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17385 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17386
b53ef01a
AS
17387 * sysdeps/powerpc/powerpc32/dl-machine.c
17388 (__elf_machine_runtime_setup) [PROF]: Don't reference
17389 _dl_prof_resolve.
17390
7a185db2
AJ
173912012-05-18 Andreas Jaeger <aj@suse.de>
17392
17393 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17394 function only available for GCCs before 3.4 since GCC 3.4
17395 introduced a builtin.
17396 (lrint): Likewise.
17397 (llrintf): Likewise.
17398 (llrint): Likewise.
17399 (fmaxf): Likewise.
17400 (fmax): Likewise.
17401 (fminf): Likewise.
17402 (fmin): Likewise.
17403 (rint): Likewise.
17404 (rintf): Likewise.
17405 (nearbyint): Likewise.
17406 (nearbyintf): Likewise.
17407 (ceil): Likewise.
17408 (ceilf): Likewise.
17409 (floor): Likewise.
17410 (floorf): Likewise.
17411
3e5aef87
L
174122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17413
428bd707
L
17414 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17415 on both fields and cast pointer to __syscall_ulong_t.
17416
3e5aef87
L
17417 * bits/types.h (__fsword_t): New type.
17418 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17419 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17421 (__FSWORD_T_TYPE): Likewise.
17422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17423 (__FSWORD_T_TYPE): Likewise.
17424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17425 (__FSWORD_T_TYPE): Likewise.
17426 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17427 (__FSWORD_T_TYPE): Likewise.
17428 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17429 __SWORD_TYPE with __fsword_t.
17430 (statfs64): Likewise.
17431
1ba7c3dc
DM
174322012-05-17 David S. Miller <davem@davemloft.net>
17433
17434 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17435
59910343
AJ
174362012-05-17 Andreas Jaeger <aj@suse.de>
17437
17438 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17439 warning.
17440
2e4c1e9e
L
174412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17442
17443 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17444
de7f5ce7
AJ
174452012-05-17 Andreas Jaeger <aj@suse.de>
17446
17447 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17448 when it is used.
17449
286abc3d
CM
174502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17451
17452 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17453
477cc68e
L
174542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17455
17456 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17457 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17458
1a0994f5
CD
174592012-05-17 Andreas Jaeger <aj@suse.de>
17460 Carlos O'Donell <carlos_odonell@mentor.com>
17461
17462 [BZ #14059]
17463 * sysdeps/x86_64/multiarch/init-arch.h
17464 (bit_YMM_Usable): Rename to...
17465 (bit_AVX_Usable): ... this.
17466 (bit_FMA4_Usable): New macro.
17467 (bit_XMM_state): New macro.
17468 (bit_YMM_state): New macro.
17469 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17470 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17471 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17472 (CPUID_OSXSAVE): New macro.
17473 (CPUID_AVX): New macro.
17474 (CPUID_FMA4): New macro.
17475 (index_YMM_Usable): Rename to...
17476 (index_AVX_Usable): ... this.
17477 (HAS_AVX): Use HAS_ARCH_FEATURE.
17478 (HAS_FMA4): Likewise.
17479 (HAS_YMM_USABLE): Remove.
17480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17481 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17482 are present.
17483 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17484 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17485 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17486 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17487 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17488
0af797de
CM
174892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17490
17491 * math/libm-test.c: Support platforms without multiple rounding modes.
17492 * math/bug-nextafter.c: Support platforms without FP exceptions.
17493 * math/bug-nexttoward.c: Likewise.
17494 * math/test-fenv.c: Likewise.
17495 * math/test-misc.c: Likewise.
17496 * stdlib/bug-getcontext.c: Likewise.
17497
e39745ff
AJ
174982012-05-17 Andreas Jaeger <aj@suse.de>
17499
17500 * manual/examples/search.c (critter_cmp): Change signature to
17501 avoid warnings.
17502 * manual/string.texi (Collation Functions): Likewise.
17503
48970aba
L
175042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17505
17506 * bits/types.h: Fold copyright years.
17507 * bits/typesizes.h: Likewise.
17508 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17512 * time/time.h: Likewise.
17513
bedee953
PP
175142012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17515
17516 [BZ #208]
17517 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17518 in instead of returning them. Return void.
17519 (__libc_mallinfo): Accumulate over all arenas.
17520 (__malloc_stats): Adjust for change in int_mallinfo interface.
17521
61653dfb
RM
175222012-05-16 Roland McGrath <roland@hack.frob.com>
17523
30b99d79
RM
17524 [BZ #10375]
17525 * configure.in (NM): Add AC_CHECK_TOOL for it.
17526 (libc_extra_cflags): New substituted variable.
17527 Check for -fstack-protector being used implicitly.
17528 * configure: Regenerated.
17529 * config.make.in (config-extra-cflags): New variable,
17530 gets @libc_extra_cflags@.
17531 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17532
61653dfb
RM
17533 [BZ #10375]
17534 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17535 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17536 * configure: Regenerated.
17537 * config.make.in (CPPUNDEFS): New substituted variable.
17538 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17539 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17540 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17541
661768bb
L
175422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17543
17544 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17545 (mq_attr): Use __syscall_slong_t.
17546
d4261567
L
175472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17548
17549 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17550 Check __x86_64__ instead of __WORDSIZE.
17551 (_STAT_VER_LINUX): Likewise.
17552 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17553 __syscall_ulong_t and __syscall_slong_t.
17554 (stat64): Likewise.
17555
cf3ff365
L
175562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17557
17558 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17559
76cf3e4d
L
175602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17561
17562 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17563
a637753a
L
175642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17565
17566 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17567 __syscall_ulong_t.
17568
d5e05119
L
17569 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17570 include <bits/wordsize.h>. Check __x86_64__ instead of
17571 __WORDSIZE.
17572 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17573 defined.
17574 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17575
f62ee380
L
17576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17577 include <bits/wordsize.h>. Check __x86_64__ instead of
17578 __WORDSIZE.
17579 (user_regs_struct): Use "__extension__ unsigned long long"
17580 instead of "unsigned long" if __x86_64__ is defined.
17581 (user): Likewise. Pad after pointer field if __ILP32__ is
17582 defined.
17583
4e124ced
JM
175842012-05-16 Joseph Myers <joseph@codesourcery.com>
17585
6a3951a0
JM
17586 * configure.in (makeinfo): Require version 4.5 or later. Allow
17587 versions 5 to 9.
17588 * configure: Regenerated.
17589 * manual/install.texi (texinfo): Increase version requirement to
17590 4.5 or later.
17591 * INSTALL: Regenerated.
17592
4e124ced
JM
17593 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17594
953ca31a
L
175952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17596
17597 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17598
617aca05
L
17599 * sysdeps/x86_64/x32/ffs.c: New file.
17600
5762f7ae
L
17601 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17602 __syscall_ulong_t.
17603 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17604 defined. Use __syscall_ulong_t.
17605 (shminfo): Use __syscall_ulong_t.
17606 (shm_info): Likewise.
17607
a26b6856
L
17608 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17609 __syscall_ulong_t.
17610
cb2b9ef7
L
17611 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17612 <bits/wordsize.h>.
17613 (msgqnum_t): Use __syscall_ulong_t.
17614 (msglen_t): Likewise.
17615 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17616 __syscall_ulong_t.
17617
34683bb0
L
17618 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17619 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17620
84a68786
L
17621 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17622
48baa5f1
L
17623 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17624 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17625
180be88b
L
17626 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17627 __syscall_slong_t.
17628
5e90c8ad
L
17629 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17630 include <bits/wordsize.h>. Check __x86_64__ instead of
17631 __WORDSIZE.
17632
23dfb58b
L
17633 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17634 "unsigned long long int" if __x86_64__ is defined.
17635 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17636
ce5d54b0
L
17637 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17638 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17639 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17640
13dc9eac
L
17641 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17642 <stdint.h>.
17643 (GET_PC): Cast to uintptr_t first.
17644 (GET_FRAME): Likewise.
17645 (GET_STACK): Likewise.
17646
a7895d15
L
17647 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17649 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17651 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17653 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17654 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17655 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17656 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17660 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17662 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17663 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17664 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17666 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17668 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17670 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17671 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17674 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17676
656416c9
AS
176772012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17678
5bd66283
AS
17679 * Makerules (+depfiles): Also collect depfiles from .oS in
17680 $(extra-objs).
17681 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17682 .oS, $(libnldbl-routines)).
17683
656416c9
AS
17684 * Makerules (native-compile-mkdep-flags): Define.
17685 * sunrpc/Makefile (extra-objs): Add $(addprefix
17686 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17687 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17688 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17689 calling $(make-target-directory).
17690
a46f2169
L
176912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * bits/types.h (__snseconds_t): Removed.
17694 * time/time.h (struct timespec): Replace __snseconds_t with
17695 __syscall_slong_t.
17696 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17697 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17698 Likewise.
17699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17700 (__SNSECONDS_T_TYPE): Likewise.
17701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17702 (__SNSECONDS_T_TYPE): Likewise.
17703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17704 (__SNSECONDS_T_TYPE): Likewise.
17705
6af6528b
L
177062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17707
17708 * sysdeps/mach/hurd/bits/typesizes.h
17709 (__SYSCALL_SLONG_TYPE): New macro.
17710 (__SYSCALL_ULONG_TYPE): Likewise.
17711
de986b56
L
177122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17713
17714 * bits/types.h (__syscall_slong_t): New type.
17715 (__syscall_ulong_t): Likewise.
17716
17717 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17718 (__SYSCALL_ULONG_TYPE): Likewise.
17719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17720 (__SYSCALL_SLONG_TYPE): Likewise.
17721 (__SYSCALL_ULONG_TYPE): Likewise.
17722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17723 (__SYSCALL_SLONG_TYPE): Likewise.
17724 (__SYSCALL_ULONG_TYPE): Likewise.
17725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17726 (__SYSCALL_SLONG_TYPE): Likewise.
17727 (__SYSCALL_ULONG_TYPE): Likewise.
17728
85736dc7
L
177292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17730
17731 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17732 Add sigaltstack-offsets.sym.
17733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17734 <sigaltstack-offsets.h>.
17735 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17736 longjmp_msg pointer.
17737 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17738 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17739 signal stack.
17740 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17741
cc03b296
JM
177422012-05-15 Joseph Myers <joseph@codesourcery.com>
17743
a9538892
JM
17744 * elf/stackguard-macros.h: Remove file.
17745 * sysdeps/generic/stackguard-macros.h: New file.
17746 * sysdeps/i386/stackguard-macros.h: Likewise.
17747 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17748 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17749 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17750 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17751 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17752 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17753 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17754 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17755 <elf/stackguard-macros.h>.
17756
cc03b296
JM
17757 [BZ #14109]
17758 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17759 __aligned__ in attribute.
17760 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17761 (gregset_t): Likewise.
17762
93171016
L
177632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17766 * sysdeps/x86_64/64/Implies-after: Here. New file.
17767 * sysdeps/x86_64/x32/Implies-after: New file.
17768
d86813a0
L
177692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17772 and access return value for _dl_profile_fixup. Use R10_LP to
17773 load frame size.
17774
2953ec75
L
177752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17776
17777 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17778
3b550e9e
L
177792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17782 * sysdeps/x86_64/x32/sysdep.h: New file.
17783
eda41706
L
177842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17787 * sysdeps/x86_64/setjmp.S: Likewise.
17788
9ea01d93
AZ
177892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17790
17791 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17792 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17793 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17794 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17795 remove unused global constant.
17796
02a91938
CM
177972012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17798
17799 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17800 include of <not-cancel.h>.
17801
6540185f
RM
178022012-05-15 Roland McGrath <roland@hack.frob.com>
17803
17804 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17805
509072a0
AJ
178062012-05-15 Jeff Law <law@redhat.com>
17807 Andreas Jaeger <aj@suse.de>
17808
17809 [BZ #13594]
17810 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17811 out from...
17812 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17813 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17814 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17815 code changing __hst_map_handle.map.
17816
ba75122d
RM
178172012-05-15 Roland McGrath <roland@hack.frob.com>
17818
17819 * configure.in (sysnames): Look for Implies-before and Implies-after
17820 files.
17821 * configure: Regenerated.
17822
890d8bd8
L
178232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17826 8-byte data alignment with LP_SIZE alignment.
17827
f6ee6623
L
178282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17829
17830 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17831 into R10_LP.
17832
ea2626f6
L
178332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17834
17835 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17836
085f715e
L
178372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17838
17839 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17842 Likewise.
17843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17844
be8498fc
L
178452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17846
17847 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17848 (stackinfo_sub_sp): Likewise.
17849
70bc83b9
L
178502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17851
17852 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17853 RAX_LP.
17854
9bc0b730
L
178552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17856
17857 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17858 into R*_LP.
17859
6d2850e7
L
178602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17861
17862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17863 sizes into R*_LP.
17864
3cb84561
L
178652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17866
17867 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17868
54e2ed81
L
178692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17870
17871 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17872 into R11_LP and load __x86_64_shared_cache_size_half into
17873 R8_LP.
17874
8a17f349
L
178752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17876
17877 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17878 R8_LP.
17879
777b1eea
AZ
178802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17881
17882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17883 logb for POWER7.
17884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17885 logbf for POWER7.
17886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17887 logbl for POWER7.
17888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17889 powerpc32/power7/fpu/s_logb.c via #include.
17890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17891 powerpc32/power7/fpu/s_logbf.c via #include.
17892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17893 powerpc32/power7/fpu/s_logbl.c via #include.
17894
d20d4ac2
JM
178952012-05-15 Joseph Myers <joseph@codesourcery.com>
17896
17897 * README.libm: Remove file.
17898
6cdef1ab
L
178992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17900
17901 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17902 count for x32. Use R*_LP and omit operand-size suffix.
17903
0b254d8f
L
179042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17905
17906 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17907 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17908 * sysdeps/x86_64/x32/shlib-versions: New file.
17909
ceb809dc
RM
179102012-05-14 Roland McGrath <roland@hack.frob.com>
17911
17912 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17913 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17914 Use _dl_fatal_printf instead.
17915
37f1abd4
JM
179162012-05-14 Joseph Myers <joseph@codesourcery.com>
17917
17918 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17919 set if not set by the user. Do not allow for being unset.
17920 * sysdeps/unix/sysv/linux/configure: Regenerated.
17921
11de3a33
L
179222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17923
17924 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17925 the `q' suffix from lea and replace .quad with ASM_ADDR.
17926
e02f153a
L
179272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17928
17929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17930 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17931 instead of $17.
17932 (PTR_DEMANGLE): Likewise.
17933
520ae0fd
L
179342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17935
17936 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17937 (LP_OP): Likewise.
17938 (ASM_ADDR): Likewise.
17939 (RAX_LP): Likewise.
17940 (RBP_LP): Likewise.
17941 (RBX_LP): Likewise.
17942 (RCX_LP): Likewise.
17943 (RDI_LP): Likewise.
17944 (RSI_LP): Likewise.
17945 (RSP_LP): Likewise.
17946 (R8_LP): Likewise.
17947 (R9_LP): Likewise.
17948 (R10_LP): Likewise.
17949 (R10_LP): Likewise.
17950 (R11_LP): Likewise.
17951 (R12_LP): Likewise.
17952 (R13_LP): Likewise.
17953 (R14_LP): Likewise.
17954 (R15_LP): Likewise.
17955
b985be81
L
179562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17957
17958 * sysdeps/x86_64/x32/dl-machine.h: New file.
17959
6a4888ff
AJ
179602012-05-14 Andreas Jaeger <aj@suse.de>
17961
17962 * manual/Makefile (subdir): Remove export of subdir.
17963 (all): Remove target.
17964 (.PHONY): Remove all from list.
17965 (mkinstalldirs): Remove.
17966 (.PHONY): Remove installdirs from list.
17967 ($(inst_infodir)/libc.info): Use make-target-directory.
17968 (installdirs): Remove.
17969 (subdir_%): Remove.
17970 (glibc-targets): Remove.
17971 (lib): Remove.
17972 (stubs): Remove.
17973 ($(objpfx)stubs ../po/manual.pot): Remove.
17974 ($(objpfx)stamp%): Remove.
17975 (make-target-directory): Remove.
17976 (subdir_install): Remove.
17977 (routines): Remove.
17978 (aux): Remove.
17979 (sources): Remove.
17980 (objects): Remove.
17981 (headers): Remove.
17982
17983 [BZ #13750]
17984 * manual/.gitignore: Remove, it's not needed anymore.
17985 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17986 all files in it.
17987 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17988 directory.
17989 (texis): Renamed to $(objpfx)texis.
17990 (texis-path): New, contains path to generated files.
17991 (chapters.%): Use texis-path for complete path, add extra argument
17992 libc-texinfo.sh.
17993 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17994 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17995 (summary,texi, stamp-summary): Use complete path of
17996 files. Generate files in build dir.
17997 (dir-add.texi): Build in build dir.
17998 (libm-err.texi,stamp-libm-err): Likewise.
17999 (version.texi, stamp-version): Likewise.
18000 (.%c.texi): Likewise.
18001 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18002 (mostlyclean): Remove target.
18003 (realclean): Remove target.
18004 (generated): Add new variable with contents from mostlyclean and
18005 realclean, remove entries duplicated in common-mostlyclean, add
18006 stamp-libm-err and stamp-version.
18007 (generated-dirs): Add libc directory.
18008 ($(inst_infodir)/libc.info): Install files from build dir.
18009
18010 * manual/install.texi (Configuring and compiling): Adjust since
18011 the info files are not part of the tar ball anymore.
18012
7ac77294
AJ
180132012-05-14 Andreas Jaeger <aj@suse.de>
18014
18015 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18016 variable.
18017
ffb7875d
JM
180182012-05-14 Joseph Myers <joseph@codesourcery.com>
18019
18020 [BZ #13717]
18021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18022 to 2.2.0 where earlier.
18023 * sysdeps/unix/sysv/linux/configure: Regenerated.
18024 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18025 Remove conditional code.
18026 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18027 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18028 Remove conditional code.
18029 [!__NR_lchown]: Likewise.
18030 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18031 [__NR_lchown]: Likewise.
18032 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18033 comment referencing __ASSUME_LCHOWN_SYSCALL.
18034 * sysdeps/unix/sysv/linux/i386/sigaction.c
18035 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18036 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18037 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18038 Remove conditional code.
18039 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18040 (__protocol_available): Remove #if 0 code.
18041 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18042 conditional code.
18043 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18044 * sysdeps/unix/sysv/linux/kernel-features.h
18045 (__ASSUME_GETCWD_SYSCALL): Don't define.
18046 (__ASSUME_REALTIME_SIGNALS): Likewise.
18047 (__ASSUME_PREAD_SYSCALL): Likewise.
18048 (__ASSUME_PWRITE_SYSCALL): Likewise.
18049 (__ASSUME_POLL_SYSCALL): Likewise.
18050 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18051 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18052 non-SPARC.
18053 (__ASSUME_SIOCGIFNAME): Don't define.
18054 (__ASSUME_MSG_NOSIGNAL): Likewise.
18055 (__ASSUME_SENDFILE): Define unconditionally.
18056 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18057 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18058 conditional code.
18059 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18060 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18061 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18062 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18063 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18064 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18065 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18067 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18070 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18073 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18076 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18079 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18082 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18085 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18090 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18091 Remove conditional code.
18092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18093 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18094 Remove conditional code.
18095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18096 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18097 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18098 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18099 Remove conditional code.
18100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18101 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18102 Remove conditional code.
18103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18104 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18105 Remove conditional code.
18106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18107 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18108 Remove conditional code.
18109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18110 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18111 Remove conditional code.
18112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18113 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18116 * sysdeps/unix/sysv/linux/sigaction.c
18117 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18118 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18119 * sysdeps/unix/sysv/linux/sigpending.c
18120 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18121 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18122 * sysdeps/unix/sysv/linux/sigprocmask.c
18123 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18124 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18125 * sysdeps/unix/sysv/linux/sigsuspend.c
18126 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18127 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18128 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18129 (__libc_missing_rt_sigs): Remove.
18130 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18131 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18132 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18133 Remove conditional code.
18134 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18135 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18136 return 1.
18137 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18138 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18139 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18140 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18141
1bfb7291
AJ
181422012-05-14 Andreas Jaeger <aj@suse.de>
18143
caae5a81
AJ
18144 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18145 it's not used in glibc.
18146 (__coshm1): Likewise.
18147 (__acosh1p): Likewise.
18148 (__sgn): Likewise.
18149
1bfb7291
AJ
18150 * manual/string.texi (Copying and Concatenation): Add missing
18151 variable in concat example.
18152 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18153
c044d724
L
181542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18155
144c5467 18156 [BZ #14103]
c044d724
L
18157 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18158 __builtin_clzl with __builtin_clzll.
18159
2523c62b
L
181602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18161
18162 [BZ #14104]
18163 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18164 libc_freeres_ptr.
18165
d7bb4c42
LD
181662012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18167
18168 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18169 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18170 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18171 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18172
9dc4e1fb
MF
181732012-05-14 Mike Frysinger <vapier@gentoo.org>
18174
18175 * NEWS: Update ia64 info.
18176
c7df0112
AS
181772012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18178
18179 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18180 used as bcopy.
18181
dc70356c
TS
181822012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18183
18184 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18185 * sysdeps/unix/syscalls.list (dup3): Likewise.
18186 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18187 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18188
9fb1a21f
L
181892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18190
18191 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18192 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18193
4822a2a5
L
181942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18195
18196 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18197 thread pointer.
18198 (TLS_IE): Use mov/add instead of movq/addq to load thread
18199 pointer.
18200 (TLS_GD_PREFIX): New.
18201 (TLS_GD): Use it.
18202
842b81d6
DM
182032012-05-11 David S. Miller <davem@davemloft.net>
18204
18205 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18206 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18207 (_FPU_SETCW): Likewise.
18208
1cf463cd
L
182092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18210
18211 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18212 is 32-byte aligned.
18213
60cc4a18
AS
182142012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18215
18216 [BZ #11837]
18217 * iconvdata/gb18030.c: Update tables.
18218 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18219 characters specially.
18220 (BODY for TO_LOOP): Add encoding of missing ranges.
18221
febb44a4
TS
182222012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18223
18224 [BZ #13673]
18225 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18226 * sysdeps/mach/hurd/dup3.c: Likewise.
18227 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18228 * sysdeps/powerpc/memmove.c:: Likewise.
18229
0a10fb9e
L
182302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18231
18232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18233 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18234
df8a552f
L
182352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18236
18237 * elf/elf.h (R_X86_64_RELATIVE64): New.
18238 (R_X86_64_NUM): Updated.
18239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18240 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18241 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18242 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18243 tst-quad1pie tst-quad2pie
18244 (modules-names): Add tst-quadmod1 tst-quadmod2.
18245 ($(objpfx)tst-quad1): New dependency.
18246 ($(objpfx)tst-quad2): Likewise.
18247 ($(objpfx)tst-quad1pie): Likewise.
18248 ($(objpfx)tst-quad2pie): Likewise.
18249 * sysdeps/x86_64/tst-quad1.c: New file.
18250 * sysdeps/x86_64/tst-quad1pie.c: New file.
18251 * sysdeps/x86_64/tst-quad2.c: Likewise.
18252 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18253 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18254 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18255 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18256 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18257
f34d6f84
ST
182582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18259
f42d41d1
ST
18260 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18261 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18262 * streams/stropts.h (t_scalar_t): Define type.
18263
3c3571fc
ST
18264 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18265 (_PATH_PRESERVE): Set to "/var/lib".
18266 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18267
61f06bd3
ST
18268 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18269 instead of int.
18270
918d4d71
ST
18271 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18272 if __dir_mkfile succeeded.
18273
f34d6f84
ST
18274 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18275 checking for _hurd_dtablesize. Unlock it right after having
18276 finished _hurd_dtable allocation.
18277
10589b4a
TS
182782012-05-10 Thomas Schwinge <thomas@schwinge.name>
18279
674cdbc7
TS
18280 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18281 * sysdeps/mach/hurd/configure: Regenerated.
18282 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18283 special-casing to...
18284 * sysdeps/gnu/configure.in: ... this new file.
18285 * sysdeps/unix/sysv/linux/configure: Regenerated.
18286 * sysdeps/gnu/configure: New generated file.
18287
8e41b99f
TS
18288 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18289 for Linux: use nsec instead of usec, as well as:
18290 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18291 members of type struct timespec.
18292 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18293 New macros.
18294 (struct stat64): Likewise.
18295 (_STATBUF_ST_NSEC): New macro.
18296 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18297
10589b4a
TS
18298 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18299 __strtoul_internal rather than strtoul.
18300
63643c85
PT
183012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18302
18303 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18304 and reject them.
18305
3faebe6a
ST
183062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18307
18308 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18309 which preserves existing values.
18310 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18311
c6474b07
PT
183122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18313
18314 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18315 TIMEOUT values. Return EINVAL for NFDS values either negative or
18316 greater than FD_SETSIZE.
18317
1043890b
ST
183182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18319
18320 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18321 allocated, call __vm_protect to finish enabling the existing space, and
18322 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18323 allocate the remainder.
18324
37ed8b9b
PT
183252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18326
18327 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18328 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18329
db653660
ST
183302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18331
37ed8b9b
PT
18332 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18333 sysdeps/mach/hurd/readlink.c.
b29d4053 18334
db653660
ST
18335 * posix/tst-sysconf.c (posix_options): Only use
18336 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18337 _POSIX_SYNCHRONIZED_IO when they are defined
18338 * sysdeps/mach/hurd/bits/posix_opt.h:
18339 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18340 (_XOPEN_REALTIME): Undefine macro.
18341 (_XOPEN_REALTIME_THREADS): Undefine macro.
18342 (_XOPEN_SHM): Undefine macro.
18343 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18344 macro to -1.
18345 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18346 macro to -1.
18347 (_POSIX_ASYNC_IO): Undefine macro.
18348 (_POSIX_PRIORITIZED_IO): Undefine macro.
18349 (_POSIX_SPIN_LOCKS): Define macro to -1.
18350
ee16e894
ST
18351 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18352 SA_NODEFER, SA_RESETHAND.
18353 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18354 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18355 F_DUPFD_CLOEXEC.
18356
6103ae3b
TS
183572012-05-10 Thomas Schwinge <thomas@schwinge.name>
18358
18359 * elf/Makefile (pldd-modules): Define unconditionally.
18360
80b4e5f3
TS
183612012-05-10 Thomas Schwinge <thomas@schwinge.name>
18362
18363 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18364
edadcbd6
ST
183652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18366
18367 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18368 Return ENOENT when name is empty.
18369 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18370
80694780
TS
183712012-05-10 Thomas Schwinge <thomas@schwinge.name>
18372
1792c087
TS
18373 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18374
80694780
TS
18375 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18376
6b645f0d
ST
183772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18378
80694780
TS
18379 Fix mlock in all cases except non-readable pages.
18380 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18381 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18382
6b645f0d
ST
18383 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18384 (__mkdir): When path is `/', just fail with EEXIST.
18385 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18386
e468f8a3
TS
183872012-05-10 Thomas Schwinge <thomas@schwinge.name>
18388
18389 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18390 <sys/uio.h> (for writev).
18391 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18392 and <sys/param.h> (for MIN).
18393
a4186cff
PT
183942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18395
18396 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18397 REQUESTED_TIME. Properly set the remaining time and return EINTR
18398 if interrupted.
18399
510bbf14
TS
184002012-05-10 Thomas Schwinge <thomas@schwinge.name>
18401
18402 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18403 Depend on against $(link-rpcuserlibs).
18404
5d5722e8
ST
184052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18406
a4186cff
PT
18407 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18408 (__libc_stack_end): Do not use attribute_relro.
18409 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18410 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18411 to libthread-provided value.
a4186cff
PT
18412 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18413 attribute_relro.
5d5722e8 18414
37233df9
TS
184152012-05-10 Thomas Schwinge <thomas@schwinge.name>
18416
be971a2b
TS
18417 [BZ #3748]
18418 * bits/libc-lock.h (__libc_once_get): New macro.
18419 * sysdeps/mach/bits/libc-lock.h: Likewise.
18420 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18422 instead of using implementation details.
18423
37233df9
TS
18424 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18425 * libio/freopen.c: Likewise.
18426 * libio/freopen64.c: Likewise.
18427 * misc/syslog.c: Likewise.
18428 * nscd/connections.c: Likewise.
18429 * nscd/netgroupcache.c: Likewise.
18430 * sysdeps/posix/getcwd.c: Likewise.
18431
38de94a5
RM
184322012-05-10 Roland McGrath <roland@hack.frob.com>
18433
18434 * math/w_ilogbf.c: Add #include <limits.h>.
18435
67530489
ST
184362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18437
a4186cff 18438 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18439 path instead of returning without unlocking.
18440
67530489
ST
18441 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18442 immediate-write ioctls.
18443 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18444
5aa3a74a
TS
184452012-05-10 Thomas Schwinge <thomas@schwinge.name>
18446
18bad2ae
TS
18447 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18448 __builtin_frame_address instead of making assumptions about the
18449 location of the return address relative to DATA. Force early load of
18450 the return address.
18451 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18452 __builtin_frame_address.
18453
5aa3a74a
TS
18454 dup3 for GNU Hurd.
18455 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18456 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18457 implement dup3 and do some further code clean-ups.
18458 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18459 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18460
ecd0de9a
ST
184612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18462
cd9fa985
ST
18463 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18464
a4186cff
PT
18465 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18466 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18467 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18468 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18469 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18470 d->port.lock.
802ca5a5 18471
a4186cff
PT
18472 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18473 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18474 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18475
bcf55240
TS
184762012-05-10 Thomas Schwinge <thomas@schwinge.name>
18477
6960eb42
TS
18478 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18479 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18480 definitions.
18481
eb43375f
TS
18482 accept4 for GNU Hurd.
18483 * include/sys/socket.h (__libc_accept4): New prototype.
18484 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18485 to implement __libc_accept4.
18486 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18487 __libc_accept4.
18488 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18489
bcf55240
TS
18490 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18491 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18492 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18493 signal-defines.sym.
18494
6178c55b
ST
184952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18496
a4186cff 18497 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18498
6f080c2f
TS
184992012-05-10 Thomas Schwinge <thomas@schwinge.name>
18500
18501 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18502 assertion on O_CLOEXEC flag.
18503 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18504 * hurd/intern-fd.c: Likewise.
18505 * hurd/port2fd.c: Likewise.
18506
bcfe3a54
ST
185072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18508
18509 [BZ #3906]
18510 * bits/in.h (IPV6_PKTINFO): Define new macro.
18511 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18512
89c9aa49
AZ
185132012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18514
18515 [BZ #13954]
18516 [BZ #13955]
18517 [BZ #13956]
18518 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18520 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18521 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18523 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18524 * math/libm-test.inc (logb_test) : Additional logb tests.
18525
021db4be
AJ
185262012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18527 Andreas Jaeger <aj@suse.de>
18528
18529 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18530 * configure: Regenerated.
18531 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18532 * config.make.in (link-obsolete-rpc): New substituted variable.
18533 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18534 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18535 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18536 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18537 so that libc.a contains the symbols.
18538 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18539 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18540 * sunrpc/auth_none.c: Likewise.
18541 * sunrpc/auth_unix.c: Likewise.
18542 * sunrpc/authdes_prot.c: Likewise.
18543 * sunrpc/authuxprot.c: Likewise.
18544 * sunrpc/clnt_gen.c: Likewise.
18545 * sunrpc/clnt_perr.c: Likewise.
18546 * sunrpc/clnt_raw.c: Likewise.
18547 * sunrpc/clnt_simp.c: Likewise.
18548 * sunrpc/clnt_tcp.c: Likewise.
18549 * sunrpc/clnt_udp.c: Likewise.
18550 * sunrpc/clnt_unix.c: Likewise.
18551 * sunrpc/des_crypt.c: Likewise.
18552 * sunrpc/des_soft.c: Likewise.
18553 * sunrpc/get_myaddr.c: Likewise.
18554 * sunrpc/key_call.c: Likewise.
18555 * sunrpc/key_prot.c: Likewise.
18556 * sunrpc/netname.c: Likewise.
18557 * sunrpc/pm_getmaps.c: Likewise.
18558 * sunrpc/pm_getport.c: Likewise.
18559 * sunrpc/pmap_clnt.c: Likewise.
18560 * sunrpc/pmap_prot.c: Likewise.
18561 * sunrpc/pmap_prot2.c: Likewise.
18562 * sunrpc/pmap_rmt.c: Likewise.
18563 * sunrpc/publickey.c: Likewise.
18564 * sunrpc/rpc_cmsg.c: Likewise.
18565 * sunrpc/rpc_common.c: Likewise.
18566 * sunrpc/rpc_dtable.c: Likewise.
18567 * sunrpc/rpc_prot.c: Likewise.
18568 * sunrpc/rpc_thread.c: Likewise.
18569 * sunrpc/rtime.c: Likewise.
18570 * sunrpc/svc.c: Likewise.
18571 * sunrpc/svc_auth.c: Likewise.
18572 * sunrpc/svc_raw.c: Likewise.
18573 * sunrpc/svc_run.c: Likewise.
18574 * sunrpc/svc_tcp.c: Likewise.
18575 * sunrpc/svc_udp.c: Likewise.
18576 * sunrpc/svc_unix.c: Likewise.
18577 * sunrpc/svcauth_des.c: Likewise.
18578 * sunrpc/xcrypt.c: Likewise.
18579 * sunrpc/xdr.c: Likewise.
18580 * sunrpc/xdr_array.c: Likewise.
18581 * sunrpc/xdr_float.c: Likewise.
18582 * sunrpc/xdr_intXX_t.c: Likewise.
18583 * sunrpc/xdr_mem.c: Likewise.
18584 * sunrpc/xdr_rec.c: Likewise.
18585 * sunrpc/xdr_ref.c: Likewise.
18586 * sunrpc/xdr_sizeof.c: Likewise.
18587 * sunrpc/xdr_stdio.c: Likewise.
18588
b5c086a2
RM
185892012-05-10 Roland McGrath <roland@hack.frob.com>
18590
18591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18592 change. Update copyright years.
18593
6d74dd09
JM
185942012-05-10 Joseph Myers <joseph@codesourcery.com>
18595
18596 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18597
28e72501
MK
185982012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18599 Joseph Myers <joseph@codesourcery.com>
18600 Paul Pluzhnikov <ppluzhnikov@google.com>
18601
18602 [BZ #14012]
18603 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18604 requiring rpcgen.
18605 [cross-compiling] (extra-libs): Likewise.
18606 [cross-compiling] (extra-libs-others): Likewise.
18607 [cross-compiling] (librpcsvc-routines): Likewise.
18608 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18609 [cross-compiling] (omit-deps): Likewise.
18610 (sunrpc-CPPFLAGS): New variable.
18611 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18612 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18613 (cross-rpcgen-objs): New variable.
18614 (extra-objs): Append $(cross-rpcgen-objs).
18615 ($(cross-rpcgen-objs)): New rule.
18616 ($(objpfx)cross-rpcgen): Likewise.
18617 (rpcgen-cmd): Define to use $(built-program-file). Expand
18618 comment.
18619 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18620 ($(objpfx)x%.stmp): Likewise.
18621 * sunrpc/proto.h [IS_IN_build] (_): Define.
18622 [IS_IN_build] (_libc_intl_domainname): Likewise.
18623
c8c59454
L
186242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18627 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18628 and R_X86_64_TPOFF64.
18629
6f27cd16
JM
186302012-05-10 Joseph Myers <joseph@codesourcery.com>
18631
18632 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18633 sysdeps/unix/sysv/syscalls.list.
18634 (stime): Likewise.
18635 (utime): Likewise.
18636 * sysdeps/unix/sysv/syscalls.list: Remove file.
18637
02467e1c
PE
186382012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18639
18640 [BZ #3440]
18641 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18642 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18643 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18644 (__LC_IDENTIFICATION): Make these macros useful in #if
18645 expressions, as required by C99.
18646
da392631
AS
186472012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18648
18649 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18650 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18651 after this.
18652
8115f29b
L
186532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18654
18655 * stdlib/longlong.h: Updated from GCC.
18656
bdd74070
AJ
186572012-05-09 Andreas Jaeger <aj@suse.de>
18658
edfe0dbe
AJ
18659 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18660 default is first entry.
18661 (run_mode): Set type.
18662 (main): Remove informal message about syslog.
18663 (options): Fix typo.
18664
bcfe3a54
ST
18665 [BZ #14053]
18666 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18667 to asm.
bcfe3a54
ST
18668 (lrint): Likewise.
18669 (llrintf): Likewise.
18670 (llrint): Likewise.
18671 (rint): Likewise.
18672 (rintf): Likewise.
18673 (nearbyint): Likewise.
18674 (nearbyintf): Likewise.
bdd74070 18675
91d8d69e
AJ
186762012-05-09 Andreas Jaeger <aj@suse.de>
18677 Pedro Alves <palves@redhat.com>
18678
18679 * nscd/nscd.c (run_mode): Use enum.
18680 (main): Cleanup coding style issue.
18681
bb90b80b
AJ
186822012-05-09 Alexandre Oliva <aoliva@redhat.com>
18683 Andreas Jaeger <aj@suse.de>
18684
bcfe3a54
ST
18685 * nscd/nscd.c (go_background): Replaced with...
18686 (run_mode): ... this.
bb90b80b 18687 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18688 (options): Add -F --foreground.
18689 (main): Implement it.
18690 (parse_opt): Parse it.
bb90b80b 18691
1a4b75a1
AJ
186922012-05-09 Andreas Jaeger <aj@suse.de>
18693
18694 [BZ #14083]
18695 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18696 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18697 -Wconversion warning.
18698 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18699 Likewise.
18700
b1cc2472
JM
187012012-05-09 Joseph Myers <joseph@codesourcery.com>
18702
18703 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18704 == 0.
18705 (LC_ALL): Use macro-int-constant.
18706 (LC_COLLATE): Likewise.
18707 (LC_CTYPE): Likewise.
18708 (LC_MESSAGES): Likewise.
18709 (LC_MONETARY): Likewise.
18710 (LC_NUMERIC): Likewise.
18711 (LC_TIME): Likewise.
18712 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18713 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18715 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18716 Specify type.
18717 [C99-based standards] (float_t): Expect type.
18718 [C99-based standards] (double_t): Expect type.
18719 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18720 type.
18721 [C99-based standards] (HUGE_VALL): Likewise.
18722 [C99-based standards] (INFINITY): Likewise.
18723 [C99-based standards] (NAN): Likewise.
18724 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18725 [C99-based standards] (FP_NAN): Likewise.
18726 [C99-based standards] (FP_NORMAL): Likewise.
18727 [C99-based standards] (FP_SUBNORMAL): Likewise.
18728 [C99-based standards] (FP_ZERO): Likewise.
18729 [C99-based standards] (FP_FAST_FMA): Use
18730 optional-macro-int-constant. Specify type. Require == 1.
18731 [C99-based standards] (FP_FAST_FMAF): Likewise.
18732 [C99-based standards] (FP_FAST_FMAL): Likewise.
18733 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18734 [C99-based standards] (FP_ILOGBNAN): Likewise.
18735 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18736 Specify type.
18737 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18738 [C99-based standards] (math_errhandling): Specify type.
18739 [ISO99 || ISO11] (signgam): Do not allow.
18740 [non-C99-based standards] (copysignf): Do not allow.
18741 [non-C99-based standards] (exp2f): Likewise.
18742 [non-C99-based standards] (log2f): Likewise.
18743 [non-C99-based standards] (modff): Allow.
18744 [non-C99-based standards] (erff): Do not allow.
18745 [non-C99-based standards] (erfcf): Likewise.
18746 [non-C99-based standards] (gammaf): Likewise.
18747 [non-C99-based standards] (hypotf): Likewise.
18748 [non-C99-based standards] (j0f): Likewise.
18749 [non-C99-based standards] (j1f): Likewise.
18750 [non-C99-based standards] (jnf): Likewise.
18751 [non-C99-based standards] (lgammaf): Likewise.
18752 [non-C99-based standards] (tgammaf): Likewise.
18753 [non-C99-based standards] (y0f): Likewise.
18754 [non-C99-based standards] (y1f): Likewise.
18755 [non-C99-based standards] (ynf): Likewise.
18756 [non-C99-based standards] (isnanf): Likewise.
18757 [non-C99-based standards] (acoshf): Likewise.
18758 [non-C99-based standards] (asinhf): Likewise.
18759 [non-C99-based standards] (atanhf): Likewise.
18760 [non-C99-based standards] (cbrtf): Likewise.
18761 [non-C99-based standards] (expm1f): Likewise.
18762 [non-C99-based standards] (ilogbf): Likewise.
18763 [non-C99-based standards] (log1pf): Likewise.
18764 [non-C99-based standards] (logbf): Likewise.
18765 [non-C99-based standards] (nextafterf): Likewise.
18766 [non-C99-based standards] (remainderf): Likewise.
18767 [non-C99-based standards] (rintf): Likewise.
18768 [non-C99-based standards] (scalbf): Likewise.
18769 [non-C99-based standards] (copysignl): Likewise.
18770 [non-C99-based standards] (exp2l): Likewise.
18771 [non-C99-based standards] (log2l): Likewise.
18772 [non-C99-based standards] (modfl): Allow.
18773 [non-C99-based standards] (erfl): Do not allow.
18774 [non-C99-based standards] (erfcl): Likewise.
18775 [non-C99-based standards] (gammal): Likewise.
18776 [non-C99-based standards] (hypotl): Likewise.
18777 [non-C99-based standards] (j0l): Likewise.
18778 [non-C99-based standards] (j1l): Likewise.
18779 [non-C99-based standards] (jnl): Likewise.
18780 [non-C99-based standards] (lgammal): Likewise.
18781 [non-C99-based standards] (tgammal): Likewise.
18782 [non-C99-based standards] (y0l): Likewise.
18783 [non-C99-based standards] (y1l): Likewise.
18784 [non-C99-based standards] (ynl): Likewise.
18785 [non-C99-based standards] (isnanl): Likewise.
18786 [non-C99-based standards] (acoshl): Likewise.
18787 [non-C99-based standards] (asinhl): Likewise.
18788 [non-C99-based standards] (atanhl): Likewise.
18789 [non-C99-based standards] (cbrtl): Likewise.
18790 [non-C99-based standards] (expm1l): Likewise.
18791 [non-C99-based standards] (ilogbl): Likewise.
18792 [non-C99-based standards] (log1pl): Likewise.
18793 [non-C99-based standards] (logbl): Likewise.
18794 [non-C99-based standards] (nextafterl): Likewise.
18795 [non-C99-based standards] (remainderl): Likewise.
18796 [non-C99-based standards] (rintl): Likewise.
18797 [non-C99-based standards] (scalbl): Likewise.
18798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18799 [non-C99-based standards] (FP_*): Do not allow.
18800 [C99-based standards] (FP_*): Change to
18801 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18802 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18803 allow.
18804 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18805 (SIG_ERR): Likewise.
18806 [X/Open-based standards] (SIG_HOLD): Likewise.
18807 (SIG_IGN): Likewise.
18808 (SIGABRT): Use macro-int-constant. Specify type. Require
18809 positive value.
18810 (SIGFPE): Likewise.
18811 (SIGILL): Likewise.
18812 (SIGINT): Likewise.
18813 (SIGSEGV): Likewise.
18814 (SIGTER): Likewise.
18815 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18816 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18817 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18818 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18819 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18820 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18821 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18822 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18823 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18824 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18825 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18826 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18827 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18828 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18829 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18830 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18831 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18832 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18833 [X/Open-based standards] (SIGTRAP): Likewise.
18834 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18835 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18836 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18837 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18838 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18839 allow.
18840
b9f1922d
IW
188412012-05-08 Ian Wienand <ianw@vmware.com>
18842
18843 [BZ #14080]
18844 * time/tzset.c (__tzset_parse_tz): Update default rules for
18845 daylight time changes in the Energy Policy Act of 2005.
18846
1db86e88
AJ
188472012-05-09 Andreas Jaeger <aj@suse.de>
18848
18849 [BZ #13983]
18850 * elf/ldconfig.c (parse_conf): Change string to make clear that
18851 ldconfig only issued a warning if ld.so.conf does not exist.
18852
dee4a4e3
DM
188532012-05-08 David S. Miller <davem@davemloft.net>
18854
ee0db190
DM
18855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18856 movxtod instead of popping the value on the stack.
18857
dee4a4e3
DM
18858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18859
6a43ec98
CD
188602012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18861
18862 * config.h.in: Add HAVE_ARM_PCS_VFP.
18863
05c2c961
RMG
188642012-05-08 Roland Mc Grath <roland@hack.frob.com>
18865
bcfe3a54
ST
18866 [BZ #13979]
18867 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18868 checking but the checks are disabled for any reason.
05c2c961 18869
4b30f61a
L
188702012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18871
18872 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18873 and ELF64_R_TYPE with ELFW(R_TYPE).
18874
eee2bc67
JM
188752012-05-08 Joseph Myers <joseph@codesourcery.com>
18876
7ea5391a
JM
18877 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18878 (ulimit): Likewise.
18879
eee2bc67
JM
18880 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18881 (settimeofday): Likewise.
18882
abb66a67
MF
188832012-05-08 Mike Frysinger <vapier@gentoo.org>
18884
18885 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18886 a struct th_u2 inside the union, and move tu_block/tu_code into
18887 a new th_u3 union of tu_block/tu_code inside of that. Move
18888 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18889 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18890 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18891 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18892 (th_stuff): Change to th_u1.tu_stuff.
18893 (th_data): Define.
18894 (th_msg): Change to th_u1.th_u2.tu_data.
18895
7f18b530
DM
188962012-05-07 David S. Miller <davem@davemloft.net>
18897
05760585
DM
18898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18899
7f18b530
DM
18900 [BZ #14074]
18901 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18902 (SETUP_PIC_REG): Use it.
18903 (SETUP_PIC_REG_LEAF): Use it.
18904
495fd99f
JM
189052012-05-07 Joseph Myers <joseph@codesourcery.com>
18906
18907 [BZ #13885]
18908 [BZ #13923]
18909 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18910 USE_AS_EXPM1L.
18911 (EXPL_FINITE): Likewise.
18912 (FLDLOG): Likewise.
18913 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18914 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18915 e_expl.S.
18916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18917 USE_AS_EXPM1L.
18918 (EXPL_FINITE): Likewise.
18919 (FLDLOG): Likewise.
18920 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18921 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18922 e_expl.S.
18923 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18924 test of -max_value argument for long double.
18925 * sysdeps/i386/fpu/libm-test-ulps: Update.
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18927
6693d694
DM
189282012-05-06 David S. Miller <davem@davemloft.net>
18929
18930 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18931 quad soft-float symbols whose references which are compiler
18932 generated.
18933 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18934
6c23e11c
JM
189352012-05-06 Joseph Myers <joseph@codesourcery.com>
18936
d8b82cad
JM
18937 [BZ #13884]
18938 [BZ #13914]
18939 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18940 USE_AS_EXP10L.
18941 (EXPL_FINITE): Likewise.
18942 (FLDLOG): Likewise.
18943 (c0): Likewise.
18944 (c1): Likewise.
18945 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18946 Adjust comments for base varying.
18947 (__expl_finite): Change alias to EXPL_FINITE.
18948 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18949 e_expl.S.
18950 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18951 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18953 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18955 USE_AS_EXP10L.
18956 (EXPL_FINITE): Likewise.
18957 (FLDLOG): Likewise.
18958 (c0): Likewise.
18959 (c1): Likewise.
18960 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18961 Adjust comments for base varying.
18962 (__expl_finite): Change alias to EXPL_FINITE.
18963 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18964 tests for bugs.
18965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18966
6c23e11c
JM
18967 [BZ #14064]
18968 * math/libm-test.inc (check_float_internal): Correct ulp
18969 calculation for subnormal expected results.
18970
29ba805c
AJ
189712012-05-06 Andreas Jaeger <aj@suse.de>
18972
18973 * Makeconfig (+math-flags): New, set to -frounding-math.
18974 (+cflags): Add +math-flags so that all of glibc gets compiled with
18975 it.
18976
18977 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18978
7b17aeda
JM
189792012-05-05 Joseph Myers <joseph@codesourcery.com>
18980
5779f134
JM
18981 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18982 Disable one test.
18983
41498f4d
JM
18984 [BZ #13787]
18985 [BZ #13922]
18986 [BZ #14036]
18987 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18988 (__ieee754_expl): Allow for and saturate large arguments.
18989 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18990 (u_threshold): Likewise.
18991 (__exp): Call __ieee754_exp before checking for overflow and
18992 underflow.
18993 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18994 (u_threshold): Likewise.
18995 (__expf): Call __ieee754_expf before checking for overflow and
18996 underflow.
18997 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18998 (u_threshold): Likewise.
18999 (__expl): Call __ieee754_expl before checking for overflow and
19000 underflow.
19001 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19002 (__ieee754_expl): Allow for and saturate large arguments.
19003 * math/libm-test.inc (exp_test): Add another test. Do not allow
19004 missing overflow exception on overflow.
19005 (expm1_test): Do not allow missing overflow exception on overflow.
19006
6698b8bf
JM
19007 * sysdeps/i386/fpu/e_expl.c: Move to ...
19008 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19009 rather than using inline asm.
19010 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19011 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19012 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19013
7b17aeda
JM
19014 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19015 (nice): Likewise.
19016 (poll): Likewise.
19017 (signal): Likewise.
19018 (time): Likewise.
19019 (times): Likewise.
19020
f7c85819
JM
190212012-05-04 Joseph Myers <joseph@codesourcery.com>
19022
19023 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19024 sysdeps/unix/common/syscalls.list.
19025 (fchmod): Likewise.
19026 (fchown): Likewise.
19027 (ftruncate): Likewise.
19028 (getrusage): Likewise.
19029 (gettimeofday): Likewise.
19030 (setpgid): Likewise.
19031 (setregid): Likewise.
19032 (setreuid): Likewise.
19033 (sigaction): Likewise.
19034 (truncate): Likewise.
19035 (vhangup): Likewise.
19036 * sysdeps/unix/common/syscalls.list: Remove file.
19037 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19038 * sysdeps/unix/sysv/linux/Implies: Likewise.
19039
336270d0
L
190402012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19041
19042 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19044 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19045 Moved to ...
19046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19047 Here.
19048 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19049 to ...
19050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19051 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19052 to ...
19053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19054 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19055 to ...
19056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19057 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19058 to ...
19059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19060 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19061 to ...
19062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19063 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19064 to ...
19065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19066 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19067 to ...
19068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19069 Here.
19070 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19071 to ...
19072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19073 Here.
19074 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19075 to ...
19076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19077 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19078 Moved to ...
19079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19080 Here.
19081 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19082 to ...
19083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19084
d128e450
JM
190852012-05-04 Joseph Myers <joseph@codesourcery.com>
19086
fa8ee516
JM
19087 * sysdeps/unix/common/bits/dirent.h: Remove file.
19088 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19089
d128e450
JM
19090 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19091 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19092 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19093 * sysdeps/unix/bsd/isatty.c: Likewise.
19094 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19095 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19096 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19097
ff8faaf0 190982012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19099
62881be4 19100 [BZ #13563]
31dc8730
AZ
19101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19102 long double comparison inaccuracies.
19103 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19105
6fef930c
AS
191062012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19107
19108 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19110
8f203e6c
JM
191112012-05-04 Joseph Myers <joseph@codesourcery.com>
19112
19113 [BZ #14049]
19114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19115 nonzero digits before rounding a hex value.
19116 * stdlib/tst-strtod.c (tests): Add another test.
19117
5197d9c2
AK
191182012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19119
19120 * sysdeps/s390/fpu/libm-test-ulps: Update.
19121
f0c1dedf
AJ
191222012-05-03 Andreas Jaeger <aj@suse.de>
19123
19124 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19125 does not get optimized out.
19126 (malloc_opt_barrier): New.
19127
a65ef2ae 191282012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19129 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19130
2b942cb7 19131 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19132 intermediate file deletion.
2b942cb7 19133 (generated): Add .symlist files.
a65ef2ae 19134
54b71e02
JM
191352012-05-03 Joseph Myers <joseph@codesourcery.com>
19136
19137 [BZ #13775]
19138 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19139 Redirect under this condition.
19140 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19141 [__USE_GNU] (__dprintf_chk): Not under this condition.
19142 [__USE_GNU] (__vdprintf_chk): Likewise.
19143 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19144 under this condition.
19145 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19146 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19147 [__USE_XOPEN2K8] (vdprintf): Likewise.
19148 [__USE_GNU] (__dprintf_chk): Not under this condition.
19149 [__USE_GNU] (__vdprintf_chk): Likewise.
19150 [__USE_GNU] (dprintf): Likewise.
19151 [__USE_GNU] (vdprintf): Likewise.
19152
d3dfcc41
RM
191532012-05-03 Roland McGrath <roland@hack.frob.com>
19154
19155 * elf/Makefile (common-generated): Set this instead of generated for
19156 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19157 $(all-built-dso)-derived lists.
19158
7ac30cc5
AJ
191592012-05-03 Andreas Jaeger <aj@suse.de>
19160
0c51e550
AJ
19161 * sysdeps/i386/fpu/libm-test-ulps: Update.
19162
7ac30cc5
AJ
19163 * FAQ: Removed.
19164 * FAQ.in: Likewise.
19165 * scripts/gen-FAQ.pl: Likewise.
19166 * manual/install.texi (Installation): Point to online location of
19167 FAQ.
19168 * Makefile (files-for-dist): Remove FAQ.
19169 (FAQ): Remove.
19170
d4c2917f
AM
191712012-05-02 Allan McRae <allan@archlinux.org>
19172
19173 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19174 (LDFLAGS-reldepmod5.so): Likewise.
19175 (LDFLAGS-reldep6mod1.so): Likewise.
19176 (LDFLAGS-reldep6mod4.so): Likewise.
19177 (LDFLAGS-reldep8mod3.so): Likewise.
19178 (LDFLAGS-unload4mod1.so): Likewise.
19179 (LDFLAGS-unload4mod2.so): Likewise.
19180 (LDFLAGS-tst-initorder): Likewise.
19181 (LDFLAGS-tst-initordera2.so): Likewise.
19182 (LDFLAGS-tst-initordera3.so): Likewise.
19183 (LDFLAGS-tst-initordera4.so): Likewise.
19184 (LDFLAGS-tst-initorderb2.so): Likewise.
19185 (LDFLAGS-noload): Likewise.
19186 (LDFLAGS-next): Likewise.
19187 (LDFLAGS-order2mod1.so): Likewise.
19188 (LDFLAGS-order2mod2.so): Likewise.
19189 (LDFLAGS-tst-initorder2): Likewise.
19190 (LDFLAGS-tst-initorder2a.so): Likewise.
19191 (LDFLAGS-tst-initorder2b.so): Likewise.
19192 (LDFLAGS-tst-initorder2c.so): Likewise.
19193 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19194
d77f993f
DM
191952012-05-02 David S. Miller <davem@davemloft.net>
19196
19197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19198
171a70b4
PP
191992012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19200
19201 [BZ #14055]
19202 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19203
0be196ad
AJ
192042012-05-02 Andreas Jaeger <aj@suse.de>
19205
19206 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19207 since we manipulate rounding mode.
19208 (CPPFLAGS-test-idouble.c): Likewise.
19209 (CPPFLAGS-test-ifloat.c): Likewise.
19210 (CFLAGS-test-ldouble.c): Likewise.
19211 (CFLAGS-test-double.c): Likewise.
19212 (CFLAGS-test-float.c): Likewise.
19213 (CFLAGS-test-misc.c): Likewise.
19214 (CFLAGS-test-test-fenv.c): Likewise.
19215
4f9d04aa
AZ
192162012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19217
2b942cb7
RM
19218 [BZ #2550]
19219 [BZ #2570]
19220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19221 comparisons to determine direction to adjust input.
4f9d04aa 19222
82a79e7d
RM
192232012-05-01 Roland McGrath <roland@hack.frob.com>
19224
f5a01ca9
RM
19225 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19226 output to the target.
19227
90fe4186
RM
19228 * scripts/localplt.awk: New file.
19229 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19230 (check-localplt-CFLAGS): Variable removed.
19231 ($(all-built-dso:=.jmprel)): New static pattern rule.
19232 (generated): Add those targets.
19233 (localplt-built-dso): New variable.
19234 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19235
19236 * elf/check-localplt.c: File removed.
19237
82397ed6
RM
19238 * scripts/check-execstack.awk: New file.
19239 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19240 (check-execstack-CFLAGS): Variable removed.
19241 ($(objpfx)check-execstack.h): Target removed.
19242 ($(objpfx)execstack-default): New target.
19243 (generated): Add that instead of check-execstack.h.
19244 ($(all-built-dso:=.phdr)): New static pattern rule.
19245 (generated): Add those targets.
19246 * elf/check-execstack.c: File removed.
19247
82a79e7d
RM
19248 * scripts/check-textrel.awk: New file.
19249 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19250 (check-textrel-CFLAGS): Variable removed.
19251 (all-built-dso): Use := to define.o
19252 ($(all-built-dso:=.dyn)): New static pattern rule.
19253 (generated): Add those targets.
19254 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19255 * config.make.in (READELF): New substituted variable.
19256 * elf/check-textrel.c: File removed.
19257
62fde54f 192582012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19259
615605c9
JM
19260 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19261 allow.
19262 * conform/data/ctype.h-data [C99-based standards] (isblank):
19263 Expect function.
19264 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19265 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19267 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19268 Specify type. Require positive value.
19269 (EILSEQ): Likewise.
19270 (ERANGE): Likewise.
19271 [ISO || POSIX] (EILSEQ): Do not expect.
19272 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19273 Specify type. Require positive value.
19274 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19275 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19276 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19295 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19303 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19315 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19316 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19317 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19318 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19321 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19322 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19323 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19324 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19326 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19327 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19328 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19329 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19330 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19331 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19332 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19333 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19348 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19349 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19350 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19351 Require >= 2.
19352 (FLT_ROUNDS): Expect as macro, not constant.
19353 (FLT_MANT_DIG): Use macro-int-constant.
19354 (DBL_MANT_DIG): Likewise.
19355 (LDBL_MANT_DIG): Likewise.
19356 (FLT_DIG): Likewise.
19357 (DBL_DIG): Likewise.
19358 (LDBL_DIG): Likewise.
19359 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19360 (DBL_MIN_EXP): Likewise.
19361 (LDBL_MIN_EXP): Likewise.
19362 (FLT_MAX_EXP): Use macro-int-constant.
19363 (DBL_MAX_EXP): Likewise.
19364 (LDBL_MAX_EXP): Likewise.
19365 (FLT_MAX_10_EXP): Likewise.
19366 (DBL_MAX_10_EXP): Likewise.
19367 (LDBL_MAX_10_EXP): Likewise.
19368 (FLT_MAX): Use macro-constant.
19369 (DBL_MAX): Likewise.
19370 (LDBL_MAX): Likewise.
19371 (FLT_EPSILON): Use macro-constant. Give upper bound.
19372 (DBL_EPSILON): Likewise.
19373 (LDBL_EPSILON): Likewise.
19374 (FLT_MIN): Likewise.
19375 (DBL_MIN): Likewise.
19376 (LDBL_MIN): Likewise.
19377 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19378 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19379 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19380 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19381 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19382 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19383 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19384 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19385 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19386 [ISO11] (FLT_TRUE_MIN): Likewise.
19387 [ISO11] (LDBL_TRUE_MIN): Likewise.
19388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19389 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19390 (SCHAR_MIN): Use macro-int-constant. Specify type.
19391 (SCHAR_MAX): Likewise.
19392 (UCHAR_MAX): Likewise.
19393 (CHAR_MIN): Likewise.
19394 (CHAR_MAX): Likewise.
19395 (MB_LEN_MAX): Use macro-int-constant.
19396 (SHRT_MIN): Use macro-int-constant. Specify type.
19397 (SHRT_MAX): Likewise.
19398 (USHRT_MAX): Likewise.
19399 (INT_MAX): Likewise.
19400 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19401 bound negative.
19402 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19403 bound with "U".
19404 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19405 bound with "L".
19406 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19407 bound negative. Suffix upper bound with "L".
19408 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19409 bound with "UL".
19410 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19411 Specify type.
19412 [C99-based standards] (LLONG_MAX): Likewise.
19413 [C99-based standards] (ULLONG_MAX): Likewise.
19414 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19415 == 0.
19416 [ISO11] (max_align_t): Require type.
19417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19418
c9140a62
JM
19419 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19420 from $CFLAGS, without defining away __attribute__ calls.
19421 (checknamespace): Use $CFLAGS_namespace.
19422
9af0bf29
JM
19423 * conform/conformtest.pl (@keywords): Only include C99 keywords
19424 for standards based on C99 or C11.
19425
343222a2
JM
19426 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19427 Disable tests.
19428 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19429 UNIX98]: Likewise.
19430
661f8cf0
JM
19431 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19432 usability of symbols in #if.
19433
ee74b9cb
JM
19434 * conform/conformtest.pl: If macro or constant types start
19435 "promoted:", expect the symbol to be of the following type
19436 promoted by the integer promotions.
62fde54f 19437
aafc49b3
JM
19438 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19439 in one place. Also handle "macro-constant".
19440
fefdf574
JM
19441 * conform/conformtest.pl: Only accept expected macro values with
19442 "==". Parse all "macro" lines in one place.
19443 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19444
f2d922fe
JM
19445 * conform/conformtest.pl: Handle braced types on "constant" lines
19446 instead of handling "typed-constant".
19447 * conform/data/signal.h-data: Use "constant" instead of
19448 "typed-constant".
19449
d22956c9
JM
19450 * conform/conformtest.pl: Handle "optional-" at start of lines in
19451 one place rather than duplicating several cases. Handle each
19452 format of "macro" line with initial "optional-".
19453
028e2e38
JM
19454 * conform/conformtest.pl: Only accept expected constant or
19455 optional-constant values with "==". Parse all "constant" lines in
19456 one place. Parse all "optional-constant" lines in one place.
19457 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19458 * conform/data/fmtmsg.h-data: Likewise.
19459 * conform/data/netinet/in.h-data: Likewise.
19460 * conform/data/tar.h-data: Likewise.
19461 * conform/data/limits.h-data: Use "==" form on "constant" and
19462 "optional-constant" lines.
19463
1b8f2850
JM
19464 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19465 Use -std=c99 for XOPEN2K.
19466 (@knownproblems): Remove.
19467 (newtoken): Don't check %isknown.
19468
a05a144b
JM
19469 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19470 Do not expect macro.
19471 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19472 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19473 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19474 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19475 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19476 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19477 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19478 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19479 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19482 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19483 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19484 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19501 [XPG3] (acosh): Likewise.
19502 [XPG3] (asinh): Likewise.
19503 [XPG3] (atanh): Likewise.
19504 [XPG3] (cbrt): Likewise.
19505 [XPG3] (expm1): Likewise.
19506 [XPG3] (ilogb): Likewise.
19507 [XPG3] (log1p): Likewise.
19508 [XPG3] (logb): Likewise.
19509 [XPG3] (nextafter): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19512 [XPG3] (remainder): Likewise.
19513 [XPG3] (rint): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19521 [UNIX98 || XOPEN2K] (scalb): Expect.
19522 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19523 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19659
73c5ebe3
JM
19660 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19661 _XOPEN_SOURCE_EXTENDED for XPG4.
19662
39c33b6c
JM
19663 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19664
62fde54f
JM
19665 * Makeconfig (localtime): Remove variable.
19666 (inst_localtime-file): Likewise.
19667
0741d64c
AS
196682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19669
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19671 Update.
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19673 Update.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19675 Update.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19677 Update.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19679 Update.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19681 Update.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19683 Update.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19685 Update.
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19687 Update.
19688
7cb029ee
JM
196892012-05-01 Joseph Myers <joseph@codesourcery.com>
19690
19691 [BZ #2550]
19692 [BZ #2570]
19693 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19694 comparisons to determine direction to adjust input.
19695 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19696 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19697 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19698 Likewise.
19699 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19700 Likewise.
19701 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19702 Likewise.
19703 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19704 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19705 Likewise.
19706 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19707 Likewise.
19708 * math/libm-test.inc (nexttoward_test): Add more tests.
19709
412bd966
AS
197102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19711
19712 [BZ #14040]
19713 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19714 in version GLIBC_2.1, not GLIBC_2.0.
19715 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19716 Likewise.
19717
9568c0c2
JM
197182012-04-30 Joseph Myers <joseph@codesourcery.com>
19719
adfbc8ac
JM
19720 [BZ #13942]
19721 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19722 (1 - x) * (1 + x).
19723 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19724 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19725 * math/libm-test.inc (acos_test): Add more tests.
19726 (asin_test): Likewise.
19727 * sysdeps/i386/fpu/libm-test-ulps: Update.
19728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19729
5ba3cc69
JM
19730 [BZ #14034]
19731 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19732 of square root.
19733 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19734 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19735 * math/libm-test.inc (acos_test_tonearest): New function.
19736 (acos_test_towardzero): Likewise.
19737 (acos_test_downward): Likewise.
19738 (acos_test_upward): Likewise.
19739 (asin_test_tonearest): Likewise.
19740 (asin_test_towardzero): Likewise.
19741 (asin_test_downward): Likewise.
19742 (asin_test_upward): Likewise.
19743 (main): Call the new functions.
19744 * sysdeps/i386/fpu/libm-test-ulps: Update.
19745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19746
9568c0c2
JM
19747 [BZ #13884]
19748 [BZ #13924]
19749 * math/e_exp10.c: Include <float.h>.
19750 (__ieee754_exp10): Handle underflow here rather than multiplying
19751 large negative argument by M_LN10.
19752 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19753 of __ieee754_expf.
19754 * math/e_exp10l.c: Include <float.h>.
19755 (__ieee754_exp10l): Handle underflow here rather than multiplying
19756 large negative argument by M_LN10l.
19757 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19758 spurious overflow exception on underflow.
19759
5ac3ea17
MP
197602012-04-29 Marek Polacek <polacek@redhat.com>
19761
19762 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19763 (__fortify_function): New macro.
19764 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19765 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19766 __extern_always_inline.
19767 * libio/bits/stdio2.h: Likewise.
19768 * libio/bits/stdio.h: Likewise.
19769 * string/string.h: Likewise.
19770 * string/bits/string3.h: Likewise.
19771 * include/stdio.h: Likewise.
19772 * stdlib/bits/stdlib.h: Likewise.
19773 * stdlib/stdlib.h: Likewise.
19774 * rt/bits/mqueue2.h: Likewise.
19775 * rt/mqueue.h: Likewise.
19776 * posix/bits/unistd.h: Likewise.
19777 * posix/unistd.h: Likewise.
19778 * io/bits/poll2.h: Likewise.
19779 * io/bits/fcntl2.h: Likewise.
19780 * io/fcntl.h: Likewise.
19781 * io/sys/poll.h: Likewise.
19782 * misc/bits/syslog.h: Likewise.
19783 * misc/bits/syslog-ldbl.h: Likewise.
19784 * misc/sys/syslog.h: Likewise.
19785 * socket/bits/socket2.h: Likewise.
19786 * socket/sys/socket.h: Likewise.
19787 * debug/tst-chk1.c: Likewise.
19788 * wcsmbs/bits/wchar2.h: Likewise.
19789 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19790 * wcsmbs/wchar.h: Likewise.
19791
ecf0ebfb
AJ
197922012-04-29 Andreas Jaeger <aj@suse.de>
19793
19794 * Makerules (tests): Remove enable-check-abi protection.
19795 (check-abi-warn): Remove.
19796 (check-abi-%): Remove check-abi-warn usage.
19797
19798 * configure.in: Remove check-abi configure option.
19799 * configure: Regenerated.
19800 * config.make.in (enable-check-abi): Remove.
19801
6d5c57fa
AS
198022012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19803
24c5d07e 19804 [BZ #14033]
ded5180a
AS
19805 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19806 double functions to double *_finite functions.
19807
7e0d315d
AS
19808 [BZ #13941]
19809 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19810 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19811 LDBL_MIN_EXP.
19812 * stdio-common/Makefile (tests): Add tst-sprintf3.
19813 * stdio-common/tst-sprintf3.c: New file.
19814
6d5c57fa
AS
19815 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19816 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19817
0749ff8b
JM
198182012-04-28 Joseph Myers <joseph@codesourcery.com>
19819
19820 * conform/conformtest.pl: Remove duplicate typed-constant
19821 handling.
19822
8dbd5d7b
DM
198232012-04-28 David S. Miller <davem@davemloft.net>
19824
19825 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19826 (check-abi-%): Remove AWK script prerequisite and explicit
19827 abilist directory.
19828 (check-abi): Rewrite to just diff the symlist with the abilist.
19829 (config-tls, config-abi-config): Delete, no longer used.
19830 (update-abi-%): Remove AWK script and explicit abilist directory.
19831 (update-abi): Rewrite to simply compare and conditionally copy the
19832 symlist and the sysdep abilist file. Remove update-abi-config
19833 checks.
19834 * abilist/ld.abilist: Remove.
19835 * abilist/libBrokenLocale.abilist: Remove.
19836 * abilist/libanl.abilist: Remove.
19837 * abilist/libcrypt.abilist: Remove.
19838 * abilist/libdl.abilist: Remove.
19839 * abilist/librt.abilist: Remove.
19840 * abilist/libthread_db.abilist: Remove.
19841 * abilist/libutil.abilist: Remove.
19842 * scripts/extract-abilist.awk: Remove.
19843 * scripts/merge-abilist.awk: Remove.
19844 * sysdeps/generic/libcidn.abilist: New file.
19845 * sysdeps/generic/libnss_compat.abilist: New file.
19846 * sysdeps/generic/libnss_db.abilist: New file.
19847 * sysdeps/generic/libnss_dns.abilist: New file.
19848 * sysdeps/generic/libnss_files.abilist: New file.
19849 * sysdeps/generic/libnss_hesiod.abilist: New file.
19850 * sysdeps/generic/libnss_nis.abilist: New file.
19851 * sysdeps/generic/libnss_nisplus.abilist: New file.
19852 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19853 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19854 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19855 file.
19856 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19857 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19858 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19859 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19860 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19861 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19862 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19863 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19864 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19865 file.
19866 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19867 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19868 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19869 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19870 file.
19871 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19872 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19873 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19874 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19875 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19876 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19877 file.
19878 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19879 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19880 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19881 file.
19882 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19884 New file.
19885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19886 New file.
19887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19888 New file.
19889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19890 New file.
19891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19892 New file.
19893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19894 New file.
19895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19896 New file.
19897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19898 New file.
19899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19900 New file.
19901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19902 New file.
19903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19904 New file.
19905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19906 New file.
19907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19908 New file.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19910 file.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19912 New file.
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19914 New file.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19916 file.
19917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19918 New file.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19920 New file.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19922 file.
19923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19924 New file.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19926 New file.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19928 New file.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19930 New file.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19932 New file.
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19934 New file.
19935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19937 file.
19938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19939 New file.
19940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19941 file.
19942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19943 file.
19944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19945 file.
19946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19947 file.
19948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19949 file.
19950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19951 New file.
19952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19953 file.
19954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19955 file.
19956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19957 New file.
19958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19959 file.
19960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19962 file.
19963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19964 New file.
19965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19966 file.
19967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19968 file.
19969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19970 file.
19971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19972 file.
19973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19974 file.
19975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19976 New file.
19977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19978 file.
19979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19980 file.
19981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19982 New file.
19983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19984 file.
19985 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19986 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19987 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19988 file.
19989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19990 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19991 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19992 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19993 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19994 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19995 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19996 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19997 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19998 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20001 file.
20002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20003 New file.
20004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20005 file.
20006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20007 file.
20008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20009 file.
20010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20011 file.
20012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20013 file.
20014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20015 New file.
20016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20017 New file.
20018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20019 file.
20020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20021 New file.
20022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20023 file.
20024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20026 file.
20027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20028 New file.
20029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20030 file.
20031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20032 file.
20033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20034 file.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20036 file.
20037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20038 file.
20039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20040 New file.
20041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20042 New file.
20043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20044 file.
20045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20046 New file.
20047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20048 file.
20049
41d73a1b
JM
200502012-04-28 Joseph Myers <joseph@codesourcery.com>
20051
20052 * conform/conformtest.pl: Fix typo in handling typed-constant from
20053 allow-header.
20054
28aeeda4
JM
200552012-04-27 Joseph Myers <joseph@codesourcery.com>
20056
adae8f5e
JM
20057 * README: Cut down references to pre-2.6 Linux kernels and
20058 Linuxthreads. Update lists of configurations in libc and ports
20059 and sort alphabetically. Say "or newer" with Linux kernel version
20060 requirements.
20061
28aeeda4
JM
20062 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20063
a462cb63
RA
200642012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20065
20066 [BZ #887]
20067 * math/libm-test.inc (logb_test_downward): New test to expose
20068 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20069 rounding mode.
20070
6ad3493e
JM
200712012-04-27 Joseph Myers <joseph@codesourcery.com>
20072
20073 [BZ #14027]
20074 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20075 to be done.
20076 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20077 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20078
2ce4f015
JM
200792012-04-26 Joseph Myers <joseph@codesourcery.com>
20080
5aeb141a
JM
20081 * sysdeps/unix/i386/brk.S: Remove file.
20082 * sysdeps/unix/i386/dl-brk.S: Likewise.
20083 * sysdeps/unix/i386/pipe.S: Likewise.
20084 * sysdeps/unix/i386/sigreturn.S: Likewise.
20085 * sysdeps/unix/i386/syscall.S: Likewise.
20086 * sysdeps/unix/i386/vfork.S: Likewise.
20087 * sysdeps/unix/i386/wait.S: Likewise.
20088
7143acae
JM
20089 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20090 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20091
2ce4f015
JM
20092 * configure.in (arm*-none*): Do not allow without
20093 --enable-hacker-mode.
20094 (netbsd*): Remove case setting base_os.
20095 (386bsd*): Likewise.
20096 (freebsd*): Likewise.
20097 (bsdi*): Likewise.
20098 (osf*): Likewise.
20099 (sunos*): Likewise.
20100 (ultrix*): Likewise.
20101 (newsos*): Likewise.
20102 (dynix*): Likewise.
20103 (*bsd*): Likewise.
20104 (sysv*): Likewise.
20105 (isc*): Likewise.
20106 (esix*): Likewise.
20107 (sco*): Likewise.
20108 (minix*): Likewise.
20109 (irix4*): Likewise.
20110 (irix6*): Likewise.
20111 (solaris[2-9]*): Likewise.
20112 (none): Likewise.
20113 * configure: Regenerated.
20114
0ac229c8
AZ
201152012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20116
20117 [BZ #11521]
20118 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20119 overflow or cancellation in calculating denominator.
20120 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20122 down expression to avoid unexpected rounding in newer GCCs.
20123 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20124
33f244f4
DM
201252012-04-26 David S. Miller <davem@davemloft.net>
20126
20127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20128 long-double compat symbols.
20129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20142
cfa1f3e8
DM
201432012-04-25 David S. Miller <davem@davemloft.net>
20144
20145 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20146 HWCAP_* values only after the memory barriers have been defined.
20147 (atomic_full_barrier): Define.
20148 (atomic_read_barrier): Define.
20149 (atomic_write_barrier): Define.
20150
6e236b92
SP
201512012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20152
20153 * shlib-versions: Add libgcc_s version information.
20154 * sysdeps/generic/libgcc_s.h: Remove.
20155 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20156 libgcc_s.h.
20157 * sysdeps/gnu/unwind-resume.c: Likewise.
20158 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20159
aab39a09
DM
201602012-04-25 David S. Miller <davem@davemloft.net>
20161
20162 * sysdeps/unix/sparc/brk.S: Delete.
20163 * sysdeps/unix/sparc/dl-brk.S: Delete.
20164 * sysdeps/unix/sparc/pipe.S: Delete.
20165 * sysdeps/unix/sparc/sysdep.S: Delete.
20166 * sysdeps/unix/sparc/sysdep.h: Delete.
20167 * sysdeps/unix/sparc/vfork.S: Delete.
20168 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20169 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20170 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20171 ret_ERRVAL, r0, r1, MOVE): Define.
20172 (JUMPTARGET): Remove.
20173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20174 sysdeps/unix/sparc/sysdep.h
20175 (ENTRY, END): Remove.
20176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20177
a3cc4f48
JM
201782012-04-25 Joseph Myers <joseph@codesourcery.com>
20179
2ed8cda2
JM
20180 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20181 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20182 -DIS_IN_build.
20183
35d76d59
JM
20184 * timezone/README: Update upstream location and email address for
20185 tzcode and tzdata.
20186 * timezone/zdump.c: Update from tzcode 2012b.
20187 * timezone/zic.c: Likewise.
20188
a3cc4f48
JM
20189 * configure.in (libc_cv_as_needed): Remove test.
20190 * configure: Regenerated.
20191 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20192 conditional definition.
20193 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20194 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20195 * config.make.in (have-as-needed): Remove variable.
20196
ceab42c3
SP
201972012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20198 Paul Pluzhnikov <ppluzhnikov@google.com>
20199
20200 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20201 strings correctly.
20202
3ce2865f
CLT
202032012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20204
20205 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20206 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20207 * sysdeps/sh/strlen.S: Likewise.
20208
f37e0d68
JM
202092012-04-24 Joseph Myers <joseph@codesourcery.com>
20210
ae186e9a
JM
20211 * sysdeps/unix/fork.S: Remove file.
20212 * sysdeps/unix/i386/fork.S: Likewise.
20213 * sysdeps/unix/sparc/fork.S: Likewise.
20214
b96914af
JM
20215 * sysdeps/unix/system.c: Remove file.
20216 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20217
f37e0d68
JM
20218 * sysdeps/unix/getegid.S: Remove file.
20219 * sysdeps/unix/geteuid.S: Likewise.
20220
87ef29ca
RM
202212012-04-24 Roland McGrath <roland@hack.frob.com>
20222
83bcd236
RM
20223 * scripts/check-localplt.awk: New file.
20224 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20225 of diff.
20226 * scripts/data/localplt-generic.data: Add a comment.
20227
87ef29ca
RM
20228 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20229 NODE when __dir_mkfile failed.
20230 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20231 Reported by Ludovic Courtès <ludo@gnu.org>.
20232
e5a6e567
AJ
202332012-04-24 Andreas Jaeger <aj@suse.de>
20234
20235 * Makerules (common-clean): Also remove gen-as-const-headers
20236 files.
20237
c1820385
JM
202382012-04-24 Joseph Myers <joseph@codesourcery.com>
20239
20240 * Makerules (native-compile): Do not change working directory for
20241 build. Use $(OUTPUT_OPTION) in command.
20242 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20243
94e02fc4
AZ
202442012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20245
20246 [BZ #13886]
20247 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20248 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20249 * math/libm-test.inc (floor_test): Add more tests.
20250 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20251
3a533ca3
JM
202522012-04-24 Joseph Myers <joseph@codesourcery.com>
20253
940ab4b3
JM
20254 * sysdeps/unix/getdents.c: Remove file.
20255 * sysdeps/unix/sysv/getdents.c: Likewise.
20256 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20257
90e037bd
JM
20258 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20259 sysdeps/unix/mman/syscalls.list.
20260 (mmap): Likewise.
20261 (mprotect): Likewise.
20262 (msync): Likewise.
20263 (munmap): Likewise.
20264 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20265 * sysdeps/unix/mman/syscalls.list: Remove.
20266 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20267
3a533ca3
JM
20268 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20269 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20270 * configure: Regenerated.
20271 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20272 $(libgcc_s_suffix).
20273 * config.make.in (libgcc_s_suffix): Remove variable.
20274
1ad743de
JM
202752012-04-23 Joseph Myers <joseph@codesourcery.com>
20276
4ad451e2
JM
20277 * sysdeps/unix/sysv/gethostname.c: Move to ...
20278 * sysdeps/posix/gethostname.c: ... here.
20279
5e37ce39
JM
20280 * sysdeps/unix/execve.S: Remove file.
20281
1ad743de
JM
20282 * sysdeps/unix/_exit.S: Remove file.
20283
4e681b5b
AJ
202842012-04-23 Andreas Jaeger <aj@suse.de>
20285
20286 [BZ #13739]
20287 * manual/Makefile: Remove make dist support, there's no
20288 need for a stand-alone documentation tar ball.
20289 (TEXI2DVI): Define always, it's not in Makeconfig.
20290 (dist): Removed.
20291 (tar-it): Removed.
20292 (edition): Removed.
20293 (glibc-doc-$(edition).tar): Removed
20294 (%.Z): Removed.
20295 (%.gz): Removed.
20296 (%.uu): Removed.
20297 (ETAGS): Remove, it's in Makeconfig.
20298 (move-if-change): Remove, it's in Makeconfig.
20299
38686a03 203002012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20301
20302 [BZ #13970]
20303 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20304 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20305 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20306 (strtod_l, strtof_l, strtold_l): Remove __wur.
20307 It is not necessarily an error to ignore strtol's return value.
20308 One can reliably look at the stored endptr to decide whether
20309 the number had valid syntax.
20310
7c0616fa
AJ
203112012-04-21 Andreas Jaeger <aj@suse.de>
20312
803cb6b7 20313 [BZ #13739]
7c0616fa
AJ
20314 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20315
b0fe253f
JM
203162012-04-21 Joseph Myers <joseph@codesourcery.com>
20317
20318 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20319 * sysdeps/unix/sysv/Versions: Remove file.
20320
8280f22d
MT
203212012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20322
20323 [BZ #13927]
20324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20325
75ce411f 203262012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20327
20328 [BZ #7064]
20329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20330 version from __vm86.
20331
097d59fa
JM
203322012-04-20 Joseph Myers <joseph@codesourcery.com>
20333
a90f3bcb
JM
20334 * sysdeps/unix/common/lxstat.c: Remove file.
20335 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20336
edc7ea78
JM
20337 * sysdeps/unix/sysv/Makefile: Remove file.
20338
cb78c221
JM
20339 * sysdeps/unix/sysv/direct.h: Remove file.
20340
efa6a45f
JM
20341 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20342 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20343 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20344 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20345 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20346 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20347 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20348
9c9f2d0c
JM
20349 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20350
4541c83b
JM
20351 * sysdeps/unix/xmknod.c: Remove file.
20352 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20353
f5d153a0
JM
20354 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20355
aa746595
JM
20356 * sysdeps/unix/sysv/i386/time.S: Remove file.
20357
cce5905e
JM
20358 * sysdeps/unix/fxstat.c: Remove file.
20359 * sysdeps/unix/xstat.c: Likewise.
20360 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20361
37fa3841
JM
20362 * sysdeps/unix/sysv/sigaction.c: Remove file.
20363
ff1962a3
JM
20364 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20365 (sysdep_headers): Remove variable.
20366 [termio.h not in sysdep_headers] (generated): Likewise.
20367 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20368 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20369 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20370 * sysdeps/unix/sysv/tcflow.c: Likewise.
20371 * sysdeps/unix/sysv/tcflush.c: Likewise.
20372 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20373 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20374 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20375 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20376 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20377
e7740d31
JM
20378 * sysdeps/unix/siglist.c: Remove file.
20379
ee06f18b
JM
20380 * sysdeps/unix/getppid.S: Remove file.
20381
097d59fa
JM
20382 * sysdeps/unix/mkdir.c: Remove file.
20383 * sysdeps/unix/rmdir.c: Likewise.
20384
ff3d51ec
AS
203852012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20386
20387 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20388 ERR_MAX value.
20389 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20390 errlist-compat value.
20391
50f81fd7
DM
203922012-04-18 David S. Miller <davem@davemloft.net>
20393
20394 * sysdeps/generic/memcopy.h (reg_char): Delete.
20395 * debug/strcat_chk.c: Use char, not reg_char.
20396 * debug/strcpy_chk.c: Likewise.
20397 * debug/strncat_chk.c: Likewise.
20398 * debug/strncpy_chk.c: Likewise.
20399 * string/memchr.c: Likewise.
20400 * string/memrchr.c: Likewise.
20401 * string/rawmemchr.c: Likewise.
20402 * string/strcat.c: Likewise.
20403 * string/strchr.c: Likewise.
20404 * string/strchrnul.c: Likewise.
20405 * string/strcmp.c: Likewise.
20406 * string/strcpy.c: Likewise.
20407 * string/strncat.c: Likewise.
20408 * string/strncmp.c: Likewise.
20409 * string/strncpy.c: Likewise.
20410
8ff41c46
WS
204112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20412
20413 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20414 __builtin_memcopy is called when src and dest ranges are known to not
20415 overlap.
20416
6b652f46
WS
204172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20418
20419 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20420 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20421 fwd_align_merge macro call.
20422 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20423 bwd_align_merge macro call.
20424 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20425
b282631e
WS
204262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20427
20428 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20429 bwd_align_merge macros.
20430 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20431 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20432 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20433
95aa737c
DM
204342012-04-18 David S. Miller <davem@davemloft.net>
20435
20436 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20437
7a99a614
AJ
204382012-04-18 Andreas Jaeger <aj@suse.de>
20439
20440 [BZ# 6794]
20441 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20442 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20443 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20444
20445 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20446 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20448
20449 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20450 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20451 Adjust for changed ldbl-128 files.
20452
20453 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20454 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20455 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20456
e5270c23
DM
204572012-04-17 David S. Miller <davem@davemloft.net>
20458
20459 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20460
fb5e92c9
AS
204612012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20462
20463 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20464 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20465 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20466 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20467 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20468 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20469
76da7265
AZ
204702012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20471
20472 [BZ #6794]
20473 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20474 * math/libm-test.inc: Add ilogb errno and exception tests.
20475 * math/w_ilogb.c: New file: ilogb wrapper.
20476 * math/w_ilogbf.c: New file: ilogbf wrapper.
20477 * math/w_ilogbl.c: New file: ilogbl wrapper.
20478 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20479 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20480 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20481 exception being thrown with 0.0 as argument.
20482 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20483 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20484 exception being thrown with 0.0 as argument.
20485 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20486 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20487 exception being thrown with 0.0 as argument.
20488 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20489 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20490 exception being thrown with 0.0 as argument.
20491 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20492 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20493 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20494 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20495 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20496 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20497 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20498 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20499 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20500
0396e69d
PB
205012012-04-17 Petr Baudis <pasky@ucw.cz>
20502
20503 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20504 with altivec.
20505
750b5926
MP
205062012-04-16 Marek Polacek <polacek@redhat.com>
20507
20508 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20509
751728a1
MP
205102012-04-16 Marek Polacek <polacek@redhat.com>
20511
20512 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20513 operands of fdivp instruction.
20514
34a27407
L
205152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20516
20517 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20518 * elf/tst-auditmod3b.c: Likewise.
20519 * elf/tst-auditmod4b.c: Likewise.
20520 * elf/tst-auditmod5b.c: Likewise.
20521 * elf/tst-auditmod6b.c: Likewise.
20522 * elf/tst-auditmod6c.c: Likewise.
20523 * elf/tst-auditmod7b.c: Likewise.
20524 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20525 * sysdeps/x86_64/preconfigure.in: Likewise.
20526 * sysdeps/x86_64/preconfigure: Regenerated.
20527
7e73e17d
L
205282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20529
20530 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20531 __ILP32__.
20532
c7a6ab72
AB
205332012-04-13 Antoine Balestrat <merkil33@gmail.com>
20534
20535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20536 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20537
a9e8e0e0
CL
205382012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20539
20540 [BZ #13973]
20541 * locale/iso-639.def: Fix gl language name. Spotted by
20542 Yaron Shahrabani.
20543
ec98af7d
RM
205442012-04-12 Roland McGrath <roland@hack.frob.com>
20545
20546 [BZ #2074]
20547 * libio/libio.h (__io_write_fn): Update comment.
20548
247c3ede
PB
205492012-04-12 Petr Baudis <pasky@ucw.cz>
20550
20551 [BZ #2074]
20552 * stdio.texi (Hook Functions): The user provided writer function
20553 is not allowed to return -1.
20554
55939d6d
DM
205552012-04-11 David S. Miller <davem@davemloft.net>
20556
20557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20558
90020f5a
MF
205592012-04-11 Mike Frysinger <vapier@gentoo.org>
20560
20561 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20562 Add a leading slash to rtkaio.
20563
288f9098
JM
205642012-04-11 Jim Meyering <meyering@redhat.com>
20565
90020f5a
MF
20566 [BZ #11959]
20567 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20568 It is not necessarily an error to ignore fwrite's return
20569 value. One can reliably use ferror to test for errors after
20570 the fact.
288f9098 20571
4be2b570
L
205722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * bits/types.h (__snseconds_t): New type.
20575 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20576
20577 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20579 (__SNSECONDS_T_TYPE): Likewise.
20580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20581 (__SNSECONDS_T_TYPE): Likewise.
20582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20583 (__SNSECONDS_T_TYPE): Likewise.
20584
288f9098 205852012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20586
20587 [BZ #2636]
20588 * manual/time.texi (Processor Time): Return type of times is
20589 elapsed real time since an arbitrary point in the past.
20590 (CPU Time): Move CLK_TCK from here...
20591 (Processor Time): ...to here. Correct description.
20592 * manual/conf.texi (Constants for Sysconf): Correct description of
20593 _SC_CLK_TCK.
20594
d7dd4413
DM
205952012-04-10 David S. Miller <davem@davemloft.net>
20596
20597 [BZ #13967]
20598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20599 where the is a gap between DT_REL(A) and DT_JMPREL.
20600
b46068fc
L
206012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20602
20603 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20604 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20605 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20606
73d65cc3
SP
206072012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20608
20609 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20610 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20611 (dl_main): Handle --inhibit-cache.
20612 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20613 _dl_inhibit_cache.
20614 * elf/dl-load.c (_dl_map_object): Use it.
20615 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20616
bcc8d661
JM
206172012-04-09 Joseph Myers <joseph@codesourcery.com>
20618
8f9a2fae
JM
20619 [BZ #13872]
20620 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20621 (__ieee754_powl): Saturate large exponents rather than testing for
20622 overflow of y*log2(x).
20623 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20624 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20625 exceptions.
20626
bcc8d661
JM
20627 [BZ #11521]
20628 * math/s_ctan.c: Include <float.h>.
20629 (__ctan): Avoid internal overflow or cancellation in calculating
20630 denominator.
20631 * math/s_ctanf.c: Likewise.
20632 * math/s_ctanl.c: Likewise.
20633 * math/s_ctanh.c: Likewise.
20634 * math/s_ctanhf.c: Likewise.
20635 * math/s_ctanhl.c: Likewise.
20636 * math/libm-test.inc (ctan_test): Add more tests.
20637 (ctanh_test): Likewise.
20638 * sysdeps/i386/fpu/libm-test-ulps: Update.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20640
823fbbb4
AJ
206412012-04-09 Andreas Jaeger <aj@suse.de>
20642
03879793
AJ
20643 [BZ #6894]
20644 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20645 is an optional BSD extension.
20646
823fbbb4
AJ
20647 [BZ #10254]
20648 * manual/stdio.texi (Opening Streams): Document additional fopen
20649 parameters.
20650
8de131cb
RM
206512012-04-09 Roland McGrath <roland@hack.frob.com>
20652
20653 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20654 %eax without telling the compiler.
20655
c0ed9d7d
CD
206562012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20657
20658 [BZ # 13963]
20659 * manual/install.texi: Use sourceware.org.
20660
c483f6b4
JM
206612012-04-09 Joseph Myers <joseph@codesourcery.com>
20662
d7dd9453
JM
20663 [BZ #13873]
20664 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20665 (__ieee754_pow): Generate overflow and underflow using huge*huge
20666 and tiny*tiny rather than just returning constant infinity or zero
20667 for large exponents.
20668 * math/libm-test.inc (pow_test): Require overflow exceptions for
20669 applicable cases of large exponents.
20670
c483f6b4
JM
20671 [BZ #706]
20672 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20673 (__ieee754_pow): Use iterative multiplication algorithm only for
20674 integer exponents with absolute value below 1024. Check for odd
20675 integer exponents when using algorithm for real exponents.
20676 * math/libm-test.inc (pow_test): Add more tests.
20677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20678
d2de7579
JM
206792012-04-08 Joseph Myers <joseph@codesourcery.com>
20680
20681 [BZ #13705]
20682 * math/libm-test.inc (exp_test): Do not allow overflow exception
20683 on underflow test.
20684
f77f1232
AJ
206852012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20686
20687 [BZ #13705]
20688 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20689 instead of __kernel_standard_f.
20690
3884932b
MF
206912012-04-08 Mike Frysinger <vapier@gentoo.org>
20692
20693 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20694 * sysdeps/x86_64/memset_chk.S: Likewise.
20695
54472e9c
AJ
206962012-04-08 Andreas Jaeger <aj@suse.de>
20697
6ab0fbfc
AJ
20698 [BZ #10153]
20699 * manual/startup.texi (Environment Access): Describe return value
20700 for putenv and setenv.
20701
61efba8c
AJ
20702 [BZ #6895]
20703 * manual/filesys.texi (Directory Entries): Add description for
20704 DT_LNK.
20705
95c3f29a
AJ
20706 [BZ #6890]
20707 * manual/filesys.texi (Directory Entries): Clarify that it's file
20708 system not operating system in the description of DT_UNKNOWN.
20709
54472e9c
AJ
20710 [BZ #6578]
20711 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20712
624254b1
SC
207132012-04-08 Stephen Compall <s11@member.fsf.org>
20714
20715 [BZ #6649]
20716 * manual/llio.texi (Opening and Closing Files): Add cross
20717 reference to explain mode argument.
20718
1e4920e0
MF
207192012-04-07 Mike Frysinger <vapier@gentoo.org>
20720
20721 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20722 * sysdeps/x86_64/memset_chk.S: Likewise.
20723
5ed848f3
DM
207242012-04-07 David S. Miller <davem@davemloft.net>
20725
20726 * elf/elf.h (R_SPARC_WDISP10): Define.
20727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20728 R_SPARC_SIZE32.
20729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20730 R_SPARC_SIZE64 and R_SPARC_H34.
20731
96154cd8
CD
207322012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20733
20734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20735 conditions and remove no longer applicable assertion.
20736
9904dc47
L
207372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 * bits/byteswap.h: Include <features.h>.
20740 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20741 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20742
f8887d0a
L
207432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20744
20745 * bits/byteswap.h (__bswap_16): Removed.
20746 Include <bits/byteswap-16.h> to get __bswap_16.
20747 * sysdeps/i386/bits/byteswap.h: Likewise.
20748 * sysdeps/s390/bits/byteswap.h: Likewise.
20749 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20750 * bits/byteswap-16.h: New file.
20751 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20752 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20753 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20754 * string/Makefile (headers): Add bits/byteswap-16.h.
20755
62470f60
PP
207562012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20757
20758 [BZ #13895]
20759 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20760 extra indirection.
20761 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20762 * nss/tst-nss-static.c: New.
20763
4dad7bab
RM
207642012-04-06 Robert Millan <rmh@gnu.org>
20765
20766 [BZ #6486]
20767 * manual/llio.texi (File Position Primitive): lseek
20768 refers to WHENCE when it really means OFFSET.
20769
e9142a17
AJ
207702012-04-06 Andreas Jaeger <aj@suse.de>
20771
2c040eff
AJ
20772 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20773 strncmp declarations.
20774
e9142a17
AJ
20775 * abilist/libc.abilist: Add __poll and __ppoll.
20776
ff9f1c5f
DM
207772012-04-05 David S. Miller <davem@davemloft.net>
20778
dcd2ae90
DM
20779 * scripts/check-local-headers.sh: Accept a host triplet in the
20780 path matched by the exclude regexp.
20781
993eb054
DM
20782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20783 definition.
20784 * sysdeps/powerpc/powerpc32/dl-machine.h
20785 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20786 * sysdeps/s390/s390-32/dl-machine.h
20787 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20788 * sysdeps/sparc/sparc32/dl-machine.h
20789 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20790 * sysdeps/sparc/sparc64/dl-machine.h
20791 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20792
ff9f1c5f
DM
20793 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20794 lazy binding.
48e2e132 20795 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20796 undefined symbol errors.
20797
48e2e132 20798 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20799 DT_NEEDED entries.
20800
e80d6f94
MM
208012012-04-05 Michael Matz <matz@suse.de>
20802
20803 [BZ #13592]
20804 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20805
349fa79f
AJ
208062012-04-05 Andreas Jaeger <aj@suse.de>
20807
20808 [BZ #13908]
20809 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20810 comment.
20811
f402708f
KK
208122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20813
20814 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20815 which ROUND is no valid rounding mode.
20816
2ecccfc9
KK
208172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20818
20819 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20820 read again.
20821 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20822
8a53f50f
KK
208232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20824
20825 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20826 an exception using FPU order intentionally.
20827
208282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20829
20830 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20831 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20832 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20833 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20834
d653abb7
SJ
208352012-04-05 Simon Josefsson <simon@josefsson.org>
20836
20837 [BZ #12340]
20838 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20839 EINVAL when BUFLEN is too smal.
20840
c3b1bf7d
TS
208412012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20842
20843 [BZ #13553]
20844 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20845 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20846
b1aa60f3
AJ
208472012-04-03 Andreas Jaeger <aj@suse.de>
20848
c3b1bf7d 20849 [BZ #13938]
67f60a26
AJ
20850 * manual/setjmp.texi (System V contexts): Fix sentence.
20851
b1aa60f3
AJ
20852 [BZ #13926]
20853 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20854 New macro for this case.
20855 [!__GNUC__] (__bswap_64): New inline function for this case.
20856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20857 * bits/byteswap.h: Likewise.
20858 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20859 ull, guard with __GLIBC_HAVE_LONG_LONG.
20860
20861 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20862 __GLIBC_HAVE_LONG_LONG.
20863
20864 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20865 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20866
39c59c35
TMQMF
208672012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20868
20869 [BZ #13691]
20870 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20871 inptr and inend, rather than using last_ch.
20872
135ffda8
DM
208732012-04-02 David S. Miller <davem@davemloft.net>
20874
20875 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20876 * stdio-common/printf-parse.h (read_int): Change return type to
20877 'int', return -1 on INT_MAX overflow.
20878 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20879 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20880 overflows INT_MAX. Check for overflow of in-format-string precision
20881 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20882 SIZE_MAX not INT_MAX for integer overflow test.
20883 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20884 skip the construct in the format string but do not record anything.
20885 * stdio-common/bug22.c: Adjust to test both width/prevision
20886 INT_MAX overflow as well as total length INT_MAX overflow. Check
20887 explicitly for proper errno values.
20888
228c019e
TS
208892012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20890
302cadd3
TS
20891 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20892 CHAR_MAX.
20893 * string/test-strcmp.c [! WIDE]: Likewise.
20894 * time/tst-mktime2.c: Likewise for INT_MAX.
20895 * string/test-string.h: #include <sys/param.h> for MIN.
20896
228c019e
TS
20897 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20898 * sysdeps/i386/init-first.c (init): Likewise.
20899 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20900 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20901 * sysdeps/sh/init-first.c (init): Likewise.
20902
cfa633f5
UD
209032012-04-01 Ulrich Drepper <drepper@gmail.com>
20904
20905 * po/ru.po: Update from translation team.
d1635ef8 20906 * po/vi.po: Likewise.
cfa633f5 20907
6cd0a5ea
SP
209082012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20909
20910 * resolv/nss_dns/dns-host.c: Merge copyright years.
20911
4b43400f
LD
209122012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20913
20914 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20915 Optimize memcpy with prefetch if
20916 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20917 src, dst pointers have unequal 16 byte alignments.
20918
48c41d04
SP
209192012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20920
20921 [BZ #13928]
20922 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20923 from a CNAME entry and return the minimum ttl for the query.
20924 (gaih_getanswer_slice): Likewise.
20925
b8dc394d
JL
209262012-03-30 Jeff Law <law@redhat.com>
20927
20928 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20929 due to long keys.
20930 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20931 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20932
2f5a5ed0
JL
20933 * resolv/nss_dns/dns-host.c: Update copyright year.
20934
1d39e359
UD
209352012-03-30 Ulrich Drepper <drepper@gmail.com>
20936
c030f70c 20937 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20938 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20939
1d39e359
UD
20940 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20941 comments for sendmmsg.
20942
209432012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20944
20945 [BZ #13691]
20946 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20947 with only 1 character between 0x0041 and 0x01b0.
20948 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20949 * wcsmbs/tst-mbsnrtowcs.c: New file.
20950
20fde227
DM
209512012-03-29 David S. Miller <davem@davemloft.net>
20952
20953 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20954 small copies by hand.
20955
984a4237
JL
209562012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20957
20958 [BZ #13761]
20959 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20960 _nss_compat_initgroups_dyn): Fall back to malloc/free
20961 for large group memberships.
20962
18c9d62b
DM
209632012-03-28 David S. Miller <davem@davemloft.net>
20964
88d85d4f
DM
20965 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20966 that branches into memcpy.
20967 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20968 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20970 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20972 bits.
20973 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20974 implementation too.
20975 * sysdeps/sparc/mempcpy.S: New file.
20976
e5aa83e1
DM
20977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20978 the IFUNC routine in the libc case.
20979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20980
88570753
DM
20981 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20982 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20983 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20984 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20985 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20986 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20987 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20988 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20989
249d7567
DM
20990 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20991 loop to 256 bytes instead of 64 bytes and fix test signedness.
20992
18c9d62b
DM
20993 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20994 * sysdeps/sparc/sparc32/Makefile: rather than here...
20995 * sysdeps/sparc/sparc64/Makefile: and here.
20996
05f3d1f6
UD
209972012-03-28 Ulrich Drepper <drepper@gmail.com>
20998
20999 * malloc/mallocbug.c: Avoid warnings about unused variables.
21000
86ae07a8
JL
210012012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21002
21003 [BZ #13760]
21004 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21005 in the right place. Discard and retry query if response is
21006 larger than input buffer size.
21007
41bf21a1
JM
210082012-03-28 Joseph Myers <joseph@codesourcery.com>
21009
d6270972
JM
21010 [BZ #369]
21011 [BZ #2678]
21012 [BZ #3866]
21013 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21014 x for large integer exponent.
21015 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21016 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21017 sign of result as needed afterwards.
21018 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21019 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21020 result for underflowing pow the same as for overflow.
21021 (__kernel_standard_l): Handle powl overflow and underflow here
21022 rather than calling __kernel_standard.
21023 * math/libm-test.inc (pow_test): Add more tests.
21024
414fca03 21025 [BZ #3868]
41bf21a1
JM
21026 [BZ #13879]
21027 [BZ #13910]
21028 [BZ #13911]
21029 [BZ #13912]
21030 [BZ #13913]
21031 [BZ #13915]
21032 [BZ #13916]
21033 [BZ #13917]
21034 [BZ #13918]
21035 [BZ #13919]
21036 [BZ #13920]
21037 [BZ #13921]
21038 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21039 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21040 (__kernel_standard_l): New function.
21041 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21042 __kernel_standard.
21043 * math/w_acosl.c (__acosl): Likewise.
21044 * math/w_asinl.c (__asinl): Likewise.
21045 * math/w_atan2l.c (__atan2l): Likewise.
21046 * math/w_atanhl.c (__atanhl): Likewise.
21047 * math/w_coshl.c (__coshl): Likewise.
21048 * math/w_exp10l.c (__exp10l): Likewise.
21049 * math/w_exp2l.c (__exp2l): Likewise.
21050 * math/w_fmodl.c (__fmodl): Likewise.
21051 * math/w_hypotl.c (__hypotl): Likewise.
21052 * math/w_j0l.c (__j0l, __y0l): Likewise.
21053 * math/w_j1l.c (__j1l, __y1l): Likewise.
21054 * math/w_jnl.c (__jnl, __ynl): Likewise.
21055 * math/w_lgammal.c (__lgammal): Likewise.
21056 * math/w_log10l.c (__log10l): Likewise.
21057 * math/w_log2l.c (__log2l): Likewise.
21058 * math/w_logl.c (__logl): Likewise.
21059 * math/w_powl.c (__powl): Likewise.
21060 * math/w_remainderl.c (__remainderl): Likewise.
21061 * math/w_scalbl.c (sysv_scalbl): Likewise.
21062 * math/w_sinhl.c (__sinhl): Likewise.
21063 * math/w_sqrtl.c (__sqrtl): Likewise.
21064 * math/w_tgammal.c (__tgammal): Likewise.
21065 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21066 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21067 * math/libm-test.inc (acos_test): Add more tests.
21068 (acosh_test): Likewise.
21069 (asin_test): Likewise.
21070 (atanh_test): Likewise.
21071 (exp_test): Likewise.
21072 (exp10_test): Likewise.
21073 (exp2_test): Likewise.
21074 (expm1_test): Likewise.
21075 (lgamma_test): Likewise.
21076 (log_test): Likewise.
21077 (log10_test): Likewise.
21078 (log1p_test): Likewise.
21079 (log2_test): Likewise.
21080 (pow_test): Do not allow some spurious overflow exceptions.
21081 (sqrt_test): Add more tests.
21082 (tgamma_test): Likewise.
21083 (y0_test): Likewise.
21084 (y1_test): Likewise.
21085 (yn_test): Likewise.
21086
dd62fda6
AB
210872012-03-27 Anton Blanchard <anton@samba.org>
21088
21089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21090 MAP_HUGETLB.
21091 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21092 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21094
1e3cdfda
AJ
210952012-03-27 David S. Miller <davem@davemloft.net>
21096
b855ab85
DM
21097 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21098
1e3cdfda
AJ
21099 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21100 have-as-vis3 check.
21101
211022012-03-27 Andreas Jaeger <aj@suse.de>
21103
21104 * sysdeps/x86_64/elf/configure.in: Moved to ...
21105 * sysdeps/x86_64/configure.in: ... here.
21106 * sysdeps/x86_64/elf/start.S: Moved to ...
21107 * sysdeps/x86_64/start.S: ... here.
21108 * sysdeps/x86_64/elf/configure: Delete.
21109
21110 * sysdeps/x86_64/configure.in: Merge contents from
21111 sysdeps/i386/configure.in (without i686 check).
21112
21113 * sysdeps/i386/elf/Versions: Merge into ...
21114 * sysdeps/i386/Versions: ... this.
21115 * sysdeps/i386/elf/Versions: Delete file.
21116 * sysdeps/i386/elf/start.S: Moved to ...
21117 * sysdeps/i386/start.S: ...here.
21118 * sysdeps/i386/elf/configure.in: Merge into...
21119 * sysdeps/i386/configure.in: ...here.
21120 * sysdeps/i386/elf/configure.in: Delete file.
21121 * sysdeps/i386/elf/configure: Delete file.
21122
21123 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21124 * debug/backtracesyms.c: ... here.
21125 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21126 * debug/backtracesymsfd.c: ... here.
21127 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21128 * sysdeps/generic/ifunc-sel.h: ... here.
21129
21130 * sysdeps/unix/i386/start.c: Delete file.
21131 * sysdeps/unix/sparc/start.c: Delete file.
21132 * sysdeps/unix/start.c: Delete file.
21133
21134 * sysdeps/sh/elf/configure.in: Moved to ...
21135 * sysdeps/sh/configure.in: ... here.
21136 * sysdeps/sh/elf/start.S: Moved to ...
21137 * sysdeps/sh/start.S: ... here.
21138 * sysdeps/sh/elf/configure: Delete file.
21139
21140 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21141 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21142 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21143 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21144 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21145 * sysdeps/powerpc/powerpc64/start.S: here.
21146 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21147 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21148 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21149 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21150 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21151
21152 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21153 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21154 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21155 * sysdeps/powerpc/powerpc32/start.S: ... here.
21156 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21157 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21158 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21159
21160 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21161 * sysdeps/powerpc/ifunc-sel.h: ... here.
21162 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21163 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21164
21165 * sysdeps/sparc/elf/configure.in: Moved to ...
21166 * sysdeps/sparc/configure.in: ... here.
21167 * sysdeps/sparc/elf/configure: Delete file.
21168 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21169 * sysdeps/sparc/sparc32/start.S: ... here.
21170 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21171 * sysdeps/sparc/sparc64/start.S: ... here.
21172 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21173 * sysdeps/sparc/sparc32/Makefile: ... this.
21174 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21175 * sysdeps/sparc/sparc64/Makefile: ... this.
21176
21177 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21178 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21179 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21180 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21181 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21182 * sysdeps/s390/s390-32/setjmp.S: ... here.
21183 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21184 * sysdeps/s390/s390-32/configure.in: ... here.
21185 * sysdeps/s390/s390-32/elf/configure: Delete file.
21186 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21187 * sysdeps/s390/s390-32/start.S: ... here.
21188
21189 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21190 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21191 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21192 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21193 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21194 * sysdeps/s390/s390-64/setjmp.S: ... here.
21195 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21196 * sysdeps/s390/s390-64/configure.in: ... here
21197 * sysdeps/s390/s390-64/elf/configure: Delete file.
21198 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21199 * sysdeps/s390/s390-64/start.S: ... here.
21200 * sysdeps/s390/s390-64/elf/configure: Delete.
21201
21202 * configure.in: Remove support for elf directories in sysdeps.
21203
21204 * configure: Regenerated.
21205 * sysdeps/i386/configure: Regenerated.
21206 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21207 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21208 * sysdeps/s390/s390-32/configure: Regenerated.
21209 * sysdeps/s390/s390-64/configure: Regenerated.
21210 * sysdeps/sh/configure: Regenerated.
21211 * sysdeps/sparc/configure: Regenerated.
21212 * sysdeps/x86_64/configure: Regenerated.
21213
a3f61311
AS
212142012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21215
c876e002
AS
21216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21217
a3f61311
AS
21218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21219 denormal result into account.
21220
ac4c54f0
RM
212212012-03-25 Roland McGrath <roland@hack.frob.com>
21222
21223 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21224 Reported by Allan McRae <allan@archlinux.org>.
21225
6a9b9c02
JL
212262012-03-23 Jeff Law <law@redhat.com>
21227
21228 * nss/getnssent.c (__nss_getent): Fix typo.
21229
4c42a0c1
DM
212302012-03-23 David S. Miller <davem@davemloft.net>
21231
21232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21233
1532c7ac
L
212342012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21235
21236 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21237 to pad to uint64_t for each field.
21238 (dl_tls_index): Replace unsigned long with uint64_t.
21239
3ff42526
PP
212402012-03-23 Daniel Jacobowitz <dmj@google.com>
21241 Paul Pluzhnikov <ppluzhnikov@google.com>
21242
21243 [BZ #6528]
21244 * grp/Makefile (otherlibs): Don't set it.
21245 * inet/Makefile (otherlibs): Likewise.
21246 * login/Makefile (otherlibs): Likewise.
21247 * nscd/Makefile (otherlibs): Likewise.
21248 * posix/Makefile (otherlibs): Likewise.
21249 * pwd/Makefile (otherlibs): Likewise.
21250 * rt/Makefile (otherlibs): Likewise.
21251 * sunrpc/Makefile (otherlibs): Likewise.
21252 * nss/Makefile (otherlibs): Likewise.
21253 Add libnss_files to routines and static-only-routines.
21254 ($(objpfx)getent): Remove rule.
21255 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21256 static-only-routines.
21257
7c69cd14
JM
212582012-03-22 Joseph Myers <joseph@codesourcery.com>
21259
21260 [BZ #13892]
21261 * math/s_cexp.c: Include <float.h>.
21262 (__cexp): Handle exp result overflowing not necessarily
21263 overflowing both real and imaginary parts of result.
21264 * math/s_cexpf.c: Likewise.
21265 * math/s_cexpl.c: Likewise.
21266 * math/libm-test.inc (cexp_test): Add more tests.
21267 * sysdeps/i386/fpu/libm-test-ulps: Update.
21268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21269
81b035fe
L
212702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21271
21272 * include/link.h (ELFW): New macro.
21273 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21274 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21275
1da7940c
L
212762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21277
21278 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21279 with uint64_t.
21280
b749dbb9
L
212812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21282
21283 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21284 declaration.
21285 (struct La_x32_retval): Likewise.
21286
2ff87f3f
L
212872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21288
21289 * sysdeps/x86_64/preconfigure.in: New file.
21290 * sysdeps/x86_64/preconfigure: New generated file.
21291
c0df8e69
JM
212922012-03-22 Joseph Myers <joseph@codesourcery.com>
21293
48e44791
JM
21294 [BZ #13824]
21295 * math/e_exp2l.c: Include <float.h>.
21296 (__ieee754_exp2l): Handle overflow and underflow cases
21297 separately. Only pass fractional part of argument to
21298 __ieee754_expl.
21299 * math/libm-test.inc (exp2_test): Add more tests.
21300
c0df8e69
JM
21301 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21302 negating x to take absolute value.
21303 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21304 Likewise.
21305 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21306 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21307 Likewise.
21308 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21309 computing low part if x was negated.
21310 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21311
c8e43ba7
L
213122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21315 la_x32_gnu_pltexit.
21316 (pltexit): Cast int_retval to ptrdiff_t.
21317 * elf/tst-auditmod3b.c: Likewise.
21318 * elf/tst-auditmod4b.c: Likewise.
21319 * elf/tst-auditmod5b.c: Likewise.
21320 * elf/tst-auditmod6b.c: Likewise.
21321 * elf/tst-auditmod6c.c: Likewise.
21322 * elf/tst-auditmod7b.c: Likewise.
21323
21324 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21325 and x32_gnu_pltexit.
21326
21327 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21328 __ELF_NATIVE_CLASS.
21329 (La_x32_regs): New macro.
21330 (La_x32_retval): Likewise.
21331 (la_x32_gnu_pltenter): New function prototype.
21332 (la_x32_gnu_pltexit): Likewise.
21333
7998fa78
AS
213342012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21335
dcb33988
AS
21336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21337 exponent.
21338
233fc563
AS
21339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21340
7998fa78
AS
21341 * configure.in (libc_cv_cc_nofma): Check for option to disable
21342 generation of FMA instructions.
21343 * configure: Regenerate.
21344 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21345 * sysdeps/ieee754/dbl-64/Makefile: New file.
21346 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21347 Remove brandred-fma4.
21348 (CFLAGS-brandred-fma4.c): Remove.
21349 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21350 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21351 define.
21352 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21353 define.
21354
8e95c99a
L
213552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21358 LLONG_MAX != LONG_MAX.
21359 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21360 (_fitoa_word): Likewise.
21361 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21362 LLONG_MAX != LONG_MAX.
21363 * stdio-common/_itowa.h: Include <_itoa.h>.
21364 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21365 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21366 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21367 only if not defined.
21368 (_ITOA_WORD_TYPE): Likewise.
21369 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21370 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21371
6f4db457
DM
213722012-03-21 David S. Miller <davem@davemloft.net>
21373
21374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21375
7785fe5a
L
213762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21377
21378 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21379 of x86_64 when setting libc_cv_slibdir, libdir and
21380 libc_cv_localedir.
21381 * sysdeps/unix/sysv/linux/configure: Regenerated.
21382
4535cd55
JM
213832012-03-21 Joseph Myers <joseph@codesourcery.com>
21384
21385 * manual/lang.texi (Old Varargs): Remove section.
21386 (How Variadic): Update menu.
21387 (va_start): Do not mention varargs.h.
21388
17228132
TS
213892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21390 Joseph Myers <joseph@codesourcery.com>
21391
21392 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21393 link test.
21394 * configure: Regenerated.
21395
8149f976
TS
213962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21397
05f3d1f6
UD
21398 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21399 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21400 conformtest.pl
8149f976 21401
1a4ac776
JM
214022012-03-21 Joseph Myers <joseph@codesourcery.com>
21403
be22ce65
JM
21404 * NOTES: Remove.
21405 * Makefile (files-for-dist): Remove NOTES.
21406 (NOTES): Remove rule.
21407 * README: Don't refer to NOTES.
21408 * manual/creature.texi: Don't include macros.texi.
21409 * manual/intro.texi (creature.texi): Remove comment referring to
21410 NOTES.
21411
40b601fb
JM
21412 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21413 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21414 * configure: Regenerated.
21415 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21416 LIBC_TRY_CC_OPTION.
21417 (libc_cv_as_i686): Likewise.
21418 (libc_cv_cc_avx): Likewise.
21419 (libc_cv_cc_sse2avx): Likewise.
21420 (libc_cv_cc_fma4): Likewise.
21421 (libc_cv_cc_novzeroupper): Likewise.
21422 * sysdeps/i386/configure: Regenerated.
21423
1a4ac776
JM
21424 [BZ #13883]
21425 * sysdeps/i386/fpu/s_cexp.S: Remove.
21426 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21427 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21428 * math/libm-test.inc (cexp_test): Add more tests.
21429 * sysdeps/i386/fpu/libm-test-ulps: Update.
21430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21431
a458e7fe
AM
214322012-03-21 Allan McRae <allan@archlinux.org>
21433
21434 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21435
0cb7efc5
JM
214362012-03-21 Joseph Myers <joseph@codesourcery.com>
21437
21438 [BZ #13871]
21439 * math/w_exp2.c: Do not include <float.h>.
21440 (o_threshold, u_threshold): Remove.
21441 (__exp2): Calculate result before checking finiteness and calling
21442 __kernel_standard.
21443 * math/w_exp2f.c: Likewise.
21444 * math/w_exp2l.c: Likewise.
21445 * math/libm-test.inc (exp2_test): Require overflow exception for
21446 1e6 input.
2460d3aa
JM
21447
21448 [BZ #3866]
21449 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21450 range of signed 64-bit integers before using fistpll. Remove
21451 checks for whether integers fit in mantissa bits.
21452 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21453 the range of signed 32-bit integers before using fistpl. Remove
21454 checks for whether integers fit in mantissa bits.
21455 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21456 (__ieee754_powl): Test for y outside the range of signed 64-bit
21457 integers before using fistpll. Reduce 64-bit values to 63-bit
21458 ones as needed.
21459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21460 divide-by-zero is raised for zero to large negative powers.
21461 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
21466
eb96ffb0
L
214672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21468
21469 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21470 <stdio-common/_itoa.h>.
21471 * debug/segfault.c: Likewise.
21472 * elf/dl-cache.c: Likewise.
21473 * elf/dl-minimal.c: Likewise.
21474 * elf/dl-misc.c: Likewise.
21475 * elf/dl-sysdep.c: Likewise.
21476 * elf/dl-version.c: Likewise.
21477 * elf/rtld.c: Likewise.
21478 * hurd/hurdsock.c: Likewise.
21479 * hurd/lookup-retry.c: Likewise.
21480 * malloc/malloc.c: Likewise.
21481 * malloc/mtrace.c: Likewise.
21482 * nscd/nscd_getgr_r.c: Likewise.
21483 * nscd/nscd_getpw_r.c: Likewise.
21484 * nscd/nscd_getserv_r.c: Likewise.
21485 * posix/getopt_init.c: Likewise.
21486 * posix/wordexp.c: Likewise.
21487 * stdio-common/_itoa.c: Likewise.
21488 * stdio-common/printf_fphex.c: Likewise.
21489 * stdio-common/vfprintf.c: Likewise.
21490 * string/_strerror.c: Likewise.
21491 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21492 * sysdeps/i386/i686/hp-timing.h: Likewise.
21493 * sysdeps/mach/_strerror.c: Likewise.
21494 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21495 * sysdeps/mach/hurd/sethostid.c: Likewise.
21496 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21497 * sysdeps/mach/xpg-strerror.c: Likewise.
21498 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21499 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21500 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21501 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21502 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21503 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21505 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21506 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21507 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21508 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21509 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21510 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21511 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21512 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21513 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21514 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21515 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21516 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21517 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21518 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21519
21520 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21521
21522 * stdio-common/_itoa.h: Moved to ...
21523 * sysdeps/generic/_itoa.h: Here.
21524
21525 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21526
21527 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21528 instead of "_itoa.h" and "_itowa.h".
21529 * stdio-common/vfprintf.: Likewise.
21530
d1af992d
L
215312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21532
21533 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21534 <bits/wordsize.h>.
21535 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21536 (__signbit): Likwise.
21537 (llrintf): Likwise.
21538 (llrint): Likwise.
21539
114883e0
L
215402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21541
21542 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21543 __WORDSIZE != 64.
21544
c135cc1b
JM
215452012-03-20 Joseph Myers <joseph@codesourcery.com>
21546
21547 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21548 OVERFLOW_EXCEPTION_OK.
21549 * math/libm-test.inc ("Philosophy"): Update comment about
21550 exception testing.
21551 (OVERFLOW_EXCEPTION): Define.
21552 (OVERFLOW_EXCEPTION_OK): Likewise.
21553 (INVALID_EXCEPTION_OK): Renumber.
21554 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21555 (IGNORE_ZERO_INF_SIGN): Likewise.
21556 (test_exceptions): Handle FE_OVERFLOW.
21557 (exp10_test): Expect overflow exceptions.
21558 (exp2_test): Likewise.
21559 (expm1_test): Likewise.
21560 (nextafter_test): Likewise.
21561 (pow_test): Likewise.
21562 (scalbn_test): Likewise.
21563 (scalbln_test): Likewise.
21564
95443d88
L
215652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21566
21567 * sysdeps/x86_64/bits/atomic.h
21568 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21569 64bit integer.
21570 (atomic_exchange_acq): Likewise.
21571 (__arch_exchange_and_add_body): Likewise.
21572 (__arch_add_body): Likewise.
21573 (atomic_add_negative): Likewise.
21574 (atomic_add_zero): Likewise.
21575
490df6c4
L
215762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21577
c2722551 21578 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21579 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21580
5e52b189
L
215812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21582
21583 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21584 Check __x86_64__ instead of __WORDSIZE.
21585
a9879d4c
L
215862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21587
21588 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21589
5df98260
DM
215902012-03-19 David S. Miller <davem@davemloft.net>
21591
e1497744
DM
21592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21593
5df98260
DM
21594 * sysdeps/sparc/fpu/fenv_private.h: New file.
21595 * sysdeps/sparc/fpu/math_private.h: Use it.
21596 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21597 Remove.
21598 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21599 (libc_feholdexcept_setroundl): Remove.
21600 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21601 Remove.
21602 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21603 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21604
b4c35121
L
216052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21606
21607 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21608 int64_t instead of long int.
21609 (INSERT_WORDS64): Likwise.
21610
56965fd7
L
216112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21612
21613 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21614 _Unwind_GetCFA return to _Unwind_Ptr first.
21615
83d1aec8
JM
216162012-03-19 Joseph Myers <joseph@codesourcery.com>
21617
1897ad44
JM
21618 [BZ #13629]
21619 * math/s_clog.c: Include <float.h>.
21620 (__clog): Scale large or subnormal inputs.
21621 * math/s_clogf.c: Likewise.
21622 * math/s_clogl.c: Likewise.
21623 * math/s_clog10.c: Include <float.h>.
21624 (M_LOG10_2): Define.
21625 (__clog10): Scale large or subnormal inputs.
21626 * math/s_clog10f.c: Likewise.
21627 * math/s_clog10l.c: Likewise.
21628 * math/libm-test.inc (clog_test): Add more tests.
21629 (clog10_test): Likewise.
21630 * sysdeps/i386/fpu/libm-test-ulps: Update.
21631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21632
7726d6a9
JM
21633 [BZ #11451]
21634 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21635 x and y.
21636 * math/libm-test.inc (atan2_test): Add another test.
21637
83d1aec8
JM
21638 * Makerules (common-objdir-compile): Remove.
21639 * sysdeps/unix/Makefile (config-generated): Do not add
21640 $(unix-generated) to variable.
21641 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21642 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21643 Remove rule.
21644 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21645 Likewise.
21646 [generic bits/local_lim.h] (before-compile): Do not append to
21647 variable.
21648 [generic bits/local_lim.h] (common-generated): Likewise.
21649 [generic sys/param.h] (before-compile): Do not append to variable.
21650 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21651 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21652 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21653 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21654 include.
21655 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21656 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21657 [generic sys/param.h] ($(addprefix
21658 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21659 [generic sys/param.h] (common-generated): Do not append to
21660 variable.
21661 [generic sys/param.h] (sysdep_headers): Likewise.
21662 [generic bits/errno.h] (before-compile): Do not append to
21663 variable.
21664 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21665 rule.
21666 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21667 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21668 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21669 [generic bits/errno.h] (common-generated): Do not append to
21670 variable.
21671 [generic bits/ioctls.h] (before-compile): Do not append to
21672 variable.
21673 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21674 rule.
21675 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21676 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21677 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21678 rule.
21679 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21680 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21681 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21682 [generic bits/ioctls.h] (common-generated): Do not append to
21683 variable.
21684 [generic sys/syscall.h] (syscall.h): Remove variable.
21685 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21686 rule.
21687 [generic sys/syscall.h] (before-compile): Do not append to
21688 variable.
21689 [generic sys/syscall.h] (common-generated): Likewise.
21690 * sysdeps/unix/errnos-tmpl.c: Remove file.
21691 * sysdeps/unix/errnos.awk: Likewise.
21692 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21693 * sysdeps/unix/ioctls.awk: Likewise.
21694 * sysdeps/unix/mk-local_lim.c: Likewise.
21695 * sysdeps/unix/snarf-ioctls: Likewise.
21696
4851a949
RH
216972012-03-19 Richard Henderson <rth@twiddle.net>
21698
bd37f2ee
RH
21699 * sysdeps/i386/fpu/fenv_private.h: New file.
21700 * sysdeps/i386/fpu/math_private.h: Use it.
21701 (math_opt_barrier, math_force_eval): Remove.
21702 (libc_feholdexcept_setround_53bit): Remove.
21703 (libc_feupdateenv_53bit): Remove.
21704 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21705 (math_opt_barrier, math_force_eval): Remove.
21706 (libc_feholdexcept): Remove.
21707 (libc_feholdexcept_setround): Remove.
21708 (libc_fetestexcept, libc_fesetenv): Remove.
21709 (libc_feupdateenv_test): Remove.
21710 (libc_feupdateenv, libc_feholdsetround): Remove.
21711 (libc_feresetround): Remove.
21712
d0adc922
RH
21713 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21714 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21715
0fe0f1f8
RH
21716 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21717 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21718 (libc_feupdateenv_testl): New.
21719 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21720 (libc_feupdateenv_testf): New.
21721 (libc_feupdateenv): Use libc_feupdateenv_test.
21722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21723 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21724
eb92c487
RH
21725 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21726 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21727 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21728 (libc_feresetround_noex): New.
21729 (libc_feresetround_noexf): New.
21730 (libc_feresetround_noexl): New.
21731 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21732 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21733 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21734 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21735 SET_RESTORE_ROUND.
21736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21738 (__cos): Likewise.
21739 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21740 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21741 SET_RESTORE_ROUND_NOEX.
21742 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21743 SET_RESTORE_ROUND_NOEXF.
21744 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21745 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21746 (libc_feholdsetroundf): New.
21747 (libc_feresetround, libc_feresetroundf): New.
21748
7d2e8012
RH
21749 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21750 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21751 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21752
b4dabbb4
RH
21753 * sysdeps/generic/math_private.h: Include <fenv.h>.
21754 (default_libc_feholdexcept): New.
21755 (default_libc_feholdexcept_setround): New.
21756 (default_libc_fesetenv, default_libc_feupdateenv): New.
21757 (libc_feholdexcept): Only define if undefined.
21758 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21759 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21760 (libc_feholdexcept_setroundl): Likewise.
21761 (libc_feholdexcept_setround_53bit): Likewise.
21762 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21763 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21764 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21765 (libc_feupdateenv_53bit): Likewise.
21766 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21767 (libc_feholdexcept): Convert from macro to inline function.
21768 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21769 (libc_fesetenv, libc_feupdateenv): Likewise.
21770
4851a949
RH
21771 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21772 not previously defined.
21773 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21774 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21775 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21776 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21777 * sysdeps/ieee754/flt-32/math_private.h: New file.
21778 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21779 math_private.h below SET_FLOAT_WORD.
21780 (__isnan, __isinf_ns, __finite): Remove.
21781 (__isnanf, __isinf_nsf, __finitef): Remove.
21782
e79d442e
AS
217832012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21784
21785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21786
90b80344
DM
217872012-03-17 David S. Miller <davem@davemloft.net>
21788
21789 [BZ #6471]
21790 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21791 for 2.16.
21792
edc21804
DM
217932012-03-16 David S. Miller <davem@davemloft.net>
21794
77e927af
DM
21795 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21796 warnings.
21797
374976dd
DM
21798 [BZ #6471]
21799 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21800 properly.
21801 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21802 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21803 sysdep_routines when subdir is sysvipc.
21804 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21805 __getshmlba helper.
21806
edc21804
DM
21807 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21808
473c3ef3
L
218092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21812 [__LP64__].
21813
eb0f39b6
L
218142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21815
21816 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21817 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21818 (__lround): Renamed to ...
21819 (__llround): This. Replace long int with long long int.
21820 Define lround functions as aliases of llround functions.
21821 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21822
6b6cd74b
L
218232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21824
21825 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21826 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21827 adresses to uintptr_t. Replace "long int" and "unsigned long
21828 int" with "greg_t" on va_arg.
21829
f1a77b01
L
218302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21831
21832 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21833 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21834
21835 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21836 Move e_machine check before EI_CLASS check. Handle x32
21837 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21838 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21839 SKIP_EM_IA_64 and include
21840 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21841
21842 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21843 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21844 (add_system_dir): New macro.
21845
21846 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21847 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21848
11b90b9f
JM
218492012-03-16 Joseph Myers <joseph@codesourcery.com>
21850
c36e1d23
JM
21851 [BZ #2551]
21852 [BZ #2552]
21853 [BZ #2553]
21854 [BZ #2554]
21855 [BZ #2562]
21856 [BZ #2563]
21857 [BZ #2565]
21858 [BZ #2566]
21859 [BZ #2576]
21860 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21861 (y0): Likewise.
21862 * math/w_j0f.c (j0f): Likewise.
21863 (y0f): Likewise.
21864 * math/w_j0l.c (__j0l): Likewise.
21865 (__y0l): Likewise.
21866 * math/w_j1.c (j1): Likewise.
21867 (y1): Likewise.
21868 * math/w_j1f.c (j1f): Likewise.
21869 (y1f): Likewise.
21870 * math/w_j1l.c (__j1l): Likewise.
21871 (__y1l): Likewise.
21872 * math/w_jn.c (jn): Likewise.
21873 (yn): Likewise.
21874 * math/w_jnf.c (jnf): Likewise.
21875 (ynf): Likewise.
21876 * math/w_jnl.c (__jnl): Likewise.
21877 (__ynl): Likewise.
21878 * math/libm-test.inc (j0_test): Add more tests.
21879 (j1_test): Likewise.
21880 (jn_test): Likewise. Add trailing semicolon to existing test.
21881 (y0_test): Likewise.
21882 (y1_test): Likewise.
21883 * sysdeps/i386/fpu/libm-test-ulps: Update.
21884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21885
11b90b9f
JM
21886 [BZ #13851]
21887 [BZ #13854]
21888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21889 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21890 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21891 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21892 (__tanl): Set errno for infinite argument.
21893 * sysdeps/i386/fpu/mptan.c: Remove.
21894 * sysdeps/i386/fpu/s_tan.S: Likewise.
21895 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21896 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21897 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21898 * math/libm-test.inc (tan_test): Add more tests and enable more
21899 tests for double and long double.
21900 * sysdeps/i386/fpu/libm-test-ulps: Update.
21901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902
6a1bd2a1
JK
219032012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21904
21905 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21906 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21907
10a803e0
RM
219082012-03-16 Roland McGrath <roland@hack.frob.com>
21909
21910 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21911 * configure.in: Use it for both main tree and add-ons.
21912 * configure: Regenerated.
21913
f196c7f7
L
219142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21917
8848d99d
JM
219182012-03-16 Joseph Myers <joseph@codesourcery.com>
21919
96cbe7f4
JM
21920 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21921 in comment.
21922
8848d99d
JM
21923 [BZ #13851]
21924 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21925 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21926 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21929 infinite argument.
21930 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21931 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21932 != 0 for prec == 2.
21933 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21934 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21935 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21936 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21937 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21938 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21939 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21940 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21941 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21942 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21943 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21944 * math/libm-test.inc (cos_test): Add more tests and enable more
21945 tests for long double.
21946 (sin_test): Likewise.
21947 (sincos_test): Likewise.
21948 * sysdeps/i386/fpu/libm-test-ulps: Update.
21949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21950
dd7f4703
DM
219512012-03-16 David S. Miller <davem@davemloft.net>
21952
21953 * sysdeps/sparc/fpu/math_private.h: New file.
21954
006f1daa
DM
219552012-03-15 David S. Miller <davem@davemloft.net>
21956
c0c83bc8
DM
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21958 file.
e6a62e18 21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21961 file.
e6a62e18
DM
21962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21968 sysdep routines.
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21970
88cb87d9
DM
21971 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21972 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21973
006f1daa 21974 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21976 sparc-ifunc.h
006f1daa 21977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21979 Likewise.
21980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21981 Likewise.
006f1daa
DM
21982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21986 Likewise.
006f1daa
DM
21987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21992 Likewise.
21993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21994 Likewise.
006f1daa
DM
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22019
11e0098e
AS
220202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22021
22022 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22023 scaling.
22024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22025
e85b09d0
AJ
220262012-03-15 Andreas Jaeger <aj@suse.de>
22027
22028 [BZ #13852]
22029 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22030 ieee754/flt-32 implementation for sin, cos and sincos.
22031 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22032 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22033 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22034 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22035 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22036 ieee754/flt-32 implementation for tan.
22037
22038 * math/libm-test.inc (cos_test): Enable some large input tests for
22039 float as well
22040 (sin_test): Likewise.
22041 (sincos_test): Likewise.
22042 (tan_test): Add tests for large input.
22043
22044 * sysdeps/i386/fpu/libm-test-ulps: Update.
22045
81c64153
AJ
220462012-03-15 Andreas Jaeger <aj@suse.de>
22047
22048 [BZ #13658]
22049 * math/libm-test.inc (cos_test): Add more test cases.
22050 (sin_test): Likewise.
22051 (sincos_test): Likewise.
22052
7bbfa5c6
AJ
220532012-03-15 Andreas Jaeger <aj@suse.de>
22054
22055 [BZ #13837]
22056 * math/libm-test.inc (cos_test): Add a test case for large input
22057 value.
22058 (sin_test): Likewise.
22059 (sincos_test): Likewise.
22060
220612012-03-15 Andreas Jaeger <aj@suse.de>,
22062 Joseph Myers <joseph@codesourcery.com>
22063
22064 [BZ #13658]
0671f479 22065 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22066 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22067 * sysdeps/i386/fpu/branred.c: Likewise.
22068 * sysdeps/i386/fpu/dosincos.c: Likewise.
22069 * sysdeps/i386/fpu/mpa.c: Likewise.
22070 * sysdeps/i386/fpu/s_cos.S: Likewise.
22071 * sysdeps/i386/fpu/s_sin.S: Likewise.
22072 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22073 * sysdeps/i386/fpu/sincos32.c: Likewise.
22074
22075 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22076 Define.
22077 (libc_feupdateenv_53bit): Define.
22078 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22079 Define.
22080 (libc_feupdateenv_53bit): Define.
22081
22082 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22083 53 bit (without extend i386 double precision).
22084
22085 * math/libm-test.inc (sincos_test): Add tests for large input.
22086 (sin): Likewise.
22087 (cos): Likewise.
22088
22089 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22090
9cad04ea
AS
220912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22092
22093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22094
f7062b9a
DM
220952012-03-15 David S. Miller <davem@davemloft.net>
22096
22097 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22098 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22099 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22100 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22113 file.
f7062b9a 22114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22116 file.
f7062b9a 22117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22119 file.
f7062b9a 22120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22122 file.
f7062b9a
DM
22123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22125 fmin/fmax sysdep routines.
22126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22127
7bd951ff
DM
221282012-03-14 David S. Miller <davem@davemloft.net>
22129
559398ab
DM
22130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22154 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22159 routines.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22161 file.
559398ab 22162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22164 file.
559398ab 22165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22167 file.
559398ab 22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22170 file.
559398ab 22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22173 file.
559398ab 22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22176 file.
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22178 file.
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22180 file.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22182 file.
22183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22184 New file.
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22186 file.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22188 file.
559398ab 22189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22191 file.
559398ab 22192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22194 file.
559398ab 22195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22197 file.
559398ab 22198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22200 VIS3 routines.
559398ab
DM
22201
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22203 New file.
22204
5a1c1e32
DM
22205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22206
eae47a36
DM
22207 * sysdeps/sparc/configure.in: New file.
22208 * sysdeps/sparc/configure: Generate.
22209 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22210 * configure: Regenerate.
22211 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22212 * config.make.in (have-as-vis3): New.
22213 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22214 available use -Av9d instead of -Av9a.
22215 * sysdeps/sparc/sparc64/Makefile: Likewise.
22216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22218 New file.
22219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22220 file.
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22222 New file.
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22224 file.
eae47a36
DM
22225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22230
c0c83bc8
DM
22231 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22232 fzeros/fnegs to load 0x80000000 into a float register instead of
22233 using the stack.
7bd951ff
DM
22234 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22235
bd951ccb
JM
222362012-03-14 Joseph Myers <joseph@codesourcery.com>
22237
22238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22239 bits/syscall.h.
22240 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22241 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22242 ($(inst_includedir)/bits/syscall.h): Remove rule.
22243 ($(objpfx)bits/syscall.d): Include instead of
22244 $(objpfx)syscall-list.d.
22245 (generated): Change syscall-list.h and syscall-list.d to
22246 bits/syscall.h and bits/syscall.d.
22247
bb4e6db2
RM
222482012-03-14 Roland McGrath <roland@hack.frob.com>
22249
22250 [BZ #13846]
22251 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22252
aa4a2ae1
JM
222532012-03-14 Joseph Myers <joseph@codesourcery.com>
22254
e456826d
JM
22255 [BZ #13841]
22256 * math/s_csqrt.c: Include <float.h>.
22257 (__csqrt): Scale large or subnormal inputs.
22258 * math/s_csqrtf.c: Likewise.
22259 * math/s_csqrtl.c: Likewise.
22260 * math/libm-test.inc (csqrt_test): Add more tests.
22261 * sysdeps/i386/fpu/libm-test-ulps: Update.
22262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22263
aa4a2ae1
JM
22264 [BZ #13840]
22265 * math/libm-test.inc (hypot_test): Add more tests.
22266
7c10fd35
DM
222672012-03-13 David S. Miller <davem@davemloft.net>
22268
22269 [BZ #13840]
22270 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22271 double-precision for the calculation instead of scaling.
22272
f453b98b
JM
222732012-03-13 Joseph Myers <joseph@codesourcery.com>
22274
22275 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22276 manipulate bits before adding and subtracting TWO52[sx].
22277 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22279 Likewise.
22280 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22281
09a3453f
DM
222822012-03-13 David S. Miller <davem@davemloft.net>
22283
8e59da90
DM
22284 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22285 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22287 rtld-global-offsets.h
22288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22289
2a8ab7f2
DM
22290 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22291 large parameters.
22292
10f62770
DM
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22294
5f0bdb18
DM
22295 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22296 'err' in the ifdef scope in which it is actually used.
22297
09a3453f
DM
22298 * nss/nss_db/db-init.c: Include string.h
22299
b4b2eb5e
DM
223002012-03-12 David S. Miller <davem@davemloft.net>
22301
98bb2f1c
DM
22302 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22303 masking out of the most significant byte of random value used.
22304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22305 Fix coding style in previous change.
22306
b4b2eb5e
DM
22307 * sysdeps/unix/sysv/linux/kernel-features.h
22308 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22309 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22310 expression.
22311 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22312 later.
22313
6e226b09
DM
223142012-03-11 David S. Miller <davem@davemloft.net>
22315
a1bcbd40
DM
22316 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22317 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22319 for 'resultvar' otherwise things get truncated on 64-bit.
22320
cb9d6174
DM
22321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22322 Fix masking out of the most significant byte of random value used.
22323
6e226b09
DM
22324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22325
058c132d
AS
223262012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22327
22328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22329
2d2cd515
DM
223302012-03-09 David S. Miller <davem@davemloft.net>
22331
22332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22333 variables with appropriate CPP guards.
22334 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22335 frame pointer, not the stack pointer. Correct layout comments. Fix test
22336 on resulting framesize and the management of the outregs buffer for pltexit.
22337 Preserve floating point return values across _dl_call_pltexit call.
22338 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22339 framesize and the management of the outregs buffer for pltexit.
22340 Preserve floating point return values across _dl_call_pltexit
22341 call.
22342 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22343 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22344 (print_exit): Fix format string for return register value.
22345
9a07f9d0
JM
223462012-03-10 Joseph Myers <joseph@codesourcery.com>
22347
22348 * sunrpc/Makefile (others): Add rpcgen.
22349 ($(objpfx)rpcgen): Remove special build rule and dependency on
22350 libc.
22351 * sunrpc/rpcgen.c: New file.
22352
547b5e30
PE
223532012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22354
c524201a
PE
22355 [BZ #13673]
22356 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22357 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22358 * sysdeps/i386/crti.S: Likewise.
22359 * sysdeps/i386/crtn.S: Likewise.
22360 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22361 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22362 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22363 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22364 * sysdeps/sh/crti.S: Likewise.
22365 * sysdeps/sh/crtn.S: Likewise.
22366 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22367
7b6235f2
PE
22368 [BZ #13673]
22369 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22370 with URL.
22371 * locale/programs/locfile-kw.gperf: Likewise.
22372 * locale/programs/charmap-kw.h: Regenerated.
22373 * locale/programs/locfile-kw.h: Likewise.
22374
547b5e30
PE
22375 [BZ #13673]
22376 * intl/plural.y: Replace FSF snail mail address with URL.
22377 * intl/plural.c: Regenerated.
22378
5f0a5dae
RH
223792012-03-09 Richard Henderson <rth@twiddle.net>
22380
22381 * include/math_private.h: Remove file.
22382 * math/math_private.h: Move file ...
22383 * sysdeps/generic/math_private.h: ... here.
22384
b8c03620
RH
22385 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22386 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22387 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22388
4e234f5d 22389 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22390 and <math_private.h>.
22391 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22392 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22393 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22394 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22395 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22457 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22479 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22480 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22481 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22482 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22483 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22484 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22485 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22486 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22487 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22488 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22489 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22490 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22491 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22492 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22493 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22494 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22495 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22496 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22497 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22498 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22499 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22500 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22501 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22502 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22503 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22504 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22505 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22506 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22507 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22508 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22509 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22510 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22512 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22513 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22514 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22517 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22518 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22519 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22520 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22521 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22522 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22523 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22524 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22525 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22526 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22527 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22528 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22529 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22530 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22531 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22532 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22533 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22534 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22535 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22536 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22537 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22538 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22540 * sysdeps/ieee754/k_standard.c: Likewise.
22541 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22542 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22544 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22545 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22673 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22689 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22690 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22701 * sysdeps/ieee754/s_lib_version.c: Likewise.
22702 * sysdeps/ieee754/s_matherr.c: Likewise.
22703 * sysdeps/ieee754/s_signgam.c: Likewise.
22704 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22705 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22706 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22707 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22708 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22709 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22710 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22711 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22712 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22713 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22714 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22715 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22716 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22717 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22718 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22719 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22720 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22721 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22722 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22725
1991fa03
JM
227262012-03-09 Joseph Myers <joseph@codesourcery.com>
22727
22728 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22729 * sunrpc/rpc_main.c: Likewise.
22730 * sunrpc/rpc_svcout.c: Likewise.
22731
60d6f5a6
DM
227322012-03-09 David S. Miller <davem@davemloft.net>
22733
22734 * include/math_private.h: New file.
22735
4962050e
JM
227362012-03-09 Joseph Myers <joseph@codesourcery.com>
22737
02a6f887
JM
22738 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22739 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22740 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22741 from <bits/socket_type.h>.
22742 (enum __socket_type): Don't define here.
22743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22745 bits/socket_type.h.
22746
c6e013c1
JM
22747 [BZ #13566]
22748 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22749 checking __USE_GNU.
22750
4962050e
JM
22751 * Makerules ($(inst_includedir)/%.h): New rule.
22752 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22753 (install-others): Remove variable setting.
22754 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22755
38842f45
RH
227562012-03-08 Richard Henderson <rth@twiddle.net>
22757
67bb6da6
RH
22758 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22759 from macro to inline function; merge with the
22760 !__LIBC_INTERNAL_MATH_INLINES version.
22761 (__ieee754_sqrtf): Likewise.
22762
15194b4b
RH
22763 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22764 to inline function.
22765 (__rintf, __floor, __floorf): Likewise.
22766
64e21ede
RH
22767 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22768 macro to inline function.
22769 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22770
38842f45
RH
22771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22772 not <math/math_private.h>.
22773
c64bf5fe
DM
227742012-03-08 David S. Miller <davem@davemloft.net>
22775
22776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22777 copyright year.
22778 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22779
82d86f28
TS
227802012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22781
22782 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22783 normalization.
22784 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22785 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22786
aea5d727
UD
227872012-03-08 Ulrich Drepper <drepper@gmail.com>
22788
22789 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22790 be defined individually, they must be defined as a block. Define
22791 S for printing a string instead of hidint the different by using a
22792 macro for adding the 'l'.
22793 * stdio-common/tst-fphex-wide.c: Adjust.
22794
70bca0a3
MP
227952012-03-07 Marek Polacek <polacek@redhat.com>
22796
22797 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22798
65b81130
MP
227992012-03-08 Marek Polacek <polacek@redhat.com>
22800
22801 [BZ #13806]
22802 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22803 * stdio-common/tst-fphex.c: Define a few macros to make the
22804 test reusable. Use them.
22805 * stdio-common/tst-fphex-wide.c: New file.
22806
07037eeb
JM
228072012-03-08 Joseph Myers <joseph@codesourcery.com>
22808
a7a93d50
JM
22809 [BZ #6911]
22810 * manual/macros.texi (gnusystems): New macro.
22811 (nongnusystems): Likewise.
22812 (gnulinuxhurdsystems): Likewise.
22813 (gnuhurdsystems): Likewise..
22814 (gnulinuxsystems): Likewise.
22815 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22816 variants of the GNU system, not "GNU system".
22817 * manual/conf.texi: Likewise.
22818 * manual/errno.texi: Likewise. Update example of errno macro
22819 expansion.
22820 * manual/filesys.texi: Likewise.
22821 (getumask): Document as specific to GNU/Hurd.
22822 * manual/install.texi: Likewise. Reword some references to
22823 GNU/Linux.
22824 * manual/intro.texi: Likewise.
22825 * manual/io.texi: Likewise.
22826 (File Name Portability): Detail which constraints are inapplicable
22827 to all GNU systems and which are only inapplicable to GNU/Hurd.
22828 * manual/job.texi: Likewise.
22829 * manual/llio.texi: Likewise.
22830 (O_NOCTTY): Document as present on GNU/Linux.
22831 * manual/maint.texi: Likewise.
22832 * manual/memory.texi: Likewise.
22833 * manual/pattern.texi: Likewise.
22834 * manual/pipe.texi: Likewise.
22835 * manual/process.texi: Likewise.
22836 * manual/resource.texi: Likewise.
22837 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22838 child on GNU/Hurd.
22839 * manual/setjmp.texi: Likewise.
22840 * manual/signal.texi: Likewise.
22841 * manual/startup.texi: Likewise.
22842 * manual/stdio.texi: Likewise.
22843 * manual/terminal.texi: Likewise.
22844 (ONLCR): Document as POSIX.
22845 (OXTABS): Document availability on GNU/Linux as XTABS.
22846 (ONOEOT): Document availability separately from other bits.
22847 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22848 * manual/time.texi: Likewise.
22849 * manual/users.texi: Likewise.
22850 * INSTALL: Regenerated.
22851 * sysdeps/gnu/errlist.c: Regenerated.
22852
07037eeb
JM
22853 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22854 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22855 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22856 puts.
22857 * configure: Regenerated.
22858
d1d3431a
JM
228592012-03-07 Joseph Myers <joseph@codesourcery.com>
22860
af6a1e37
JM
22861 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22862 default includes instead of AC_HEADER_CHECK.
22863 * sysdeps/i386/configure: Regenerated.
22864
d1d3431a
JM
22865 [BZ #10716]
22866 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22867 * math/s_cacoshf.c (__cacoshf): Likewise.
22868 * math/s_cacoshl.c (__cacoshl): Likewise.
22869 * math/s_casinh.c (__casinh): Set signs of result from argument.
22870 * math/s_casinhf.c (__casinhf): Likewise.
22871 * math/s_casinhl.c (__casinhl): Likewise.
22872 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22873 (casinh_test): Add more tests.
22874 * sysdeps/i386/fpu/libm-test-ulps: Update.
22875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22876
482ff4da
UD
228772012-03-07 Ulrich Drepper <drepper@gmail.com>
22878
872fda05
UD
22879 * po/zh_TW.po: Update from translation team.
22880
a4300c7a
UD
22881 * login/Makefile (distribute): Remove variable.
22882 * catgets/Makefile: Likewise.
22883 * mach/Makefile: Likewise.
22884 * malloc/Makefile: Likewise.
22885 * misc/Makefile: Likewise.
22886 * iconv/Makefile: Likewise.
22887 * nscd/Makefile: Likewise.
22888 * hurd/Makefile: Likewise.
22889 * manual/Makefile: Likewise.
22890 * locale/Makefile: Likewise.
22891 * intl/Makefile: Likewise.
22892 * conform/Makefile: Likewise.
22893 * nss/Makefile: Likewise.
22894 * time/Makefile: Likewise.
22895 * soft-fp/Makefile: Likewise.
22896 * dirent/Makefile: Likewise.
22897 * gmon/Makefile: Likewise.
22898 * po/Makefile: Likewise.
22899 * rt/Makefile: Likewise.
22900 * socket/Makefile: Likewise.
22901 * math/Makefile: Likewise.
22902 * signal/Makefile: Likewise.
22903 * debug/Makefile: Likewise.
22904 * elf/Makefile: Likewise.
22905 * timezone/Makefile: Likewise.
22906 * stdlib/Makefile: Likewise.
22907 * iconvdata/Makefile: Likewise.
22908 * sunrpc/Makefile: Likewise.
22909 * io/Makefile: Likewise.
22910 * argp/Makefile: Likewise.
22911 * inet/Makefile: Likewise.
22912 * hesiod/Makefile: Likewise.
22913 * grp/Makefile: Likewise.
22914 * csu/Makefile: Likewise.
22915 * wctype/Makefile: Likewise.
22916 * crypt/Makefile: Likewise.
22917 * libio/Makefile: Likewise.
22918 * string/Makefile: Likewise.
22919 * nis/Makefile: Likewise.
22920 * resolv/Makefile: Likewise.
22921 * stdio-common/Makefile: Likewise.
22922 * wcsmbs/Makefile: Likewise.
22923 * dlfcn/Makefile: Likewise.
22924 * posix/Makefile: Likewise.
22925
3b7c4e74 22926 [BZ #6959]
482ff4da
UD
22927 * timezone/Makefile: Don't install timezone files, just the programs
22928 and scripts.
22929
f72ed77d
UD
229302012-03-06 Ulrich Drepper <drepper@gmail.com>
22931
a000466f
UD
22932 * nss/databases.def: Add missing gshadow entry.
22933
f72ed77d
UD
22934 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22935
a53b7a4e
MP
229362012-03-06 Marek Polacek <polacek@redhat.com>
22937
22938 [BZ #13726]
22939 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22940 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22941 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22942 * stdio-common/tst-long-dbl-fphex.c: New file.
22943
e9258400
DM
229442012-03-06 David S. Miller <davem@davemloft.net>
22945
22946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22947 (set_obp_int): New function.
22948 (get_obp_int): New function.
22949 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22950 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22951 Avoid unused variable warnings on 'val' and use builtin_expect.
22952 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22953 __builtin_expect.
e9258400
DM
22954 (INLINE_CLONE_SYSCALL): Likewise.
22955
3bd2c723
DM
229562012-03-05 David S. Miller <davem@davemloft.net>
22957
22958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22959
bbb78d03
AS
229602012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22961
884c5db4
AS
22962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22963
bbb78d03
AS
22964 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22965 only for |x| >= 40.
22966 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22967
1c9f702a 229682012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22969
22970 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22971 Replace gettimeofday with __vdso_gettimeofday.
22972
7be16f82
RM
22973 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22974 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22975 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22976
22977 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22978 time with __vdso_time.
22979
ed58a00f
JM
229802012-03-05 Joseph Myers <joseph@codesourcery.com>
22981
22982 * manual/lang.texi (size_t): Note types to which size_t may be
22983 equivalent with the GNU C Library, but do not describe when
22984 differences between them are significant.
22985
30ee4ced
AJ
229862012-03-05 Andreas Jaeger <aj@suse.de>
22987
22988 * sysdeps/i386/fpu/libm-test-ulps: Update.
22989
b7cd39e8
JM
229902012-03-05 Joseph Myers <joseph@codesourcery.com>
22991
22992 [BZ #3976]
22993 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22994 (__ieee754_pow): Save and restore rounding mode and use
22995 round-to-nearest for main computations.
22996 * math/libm-test.inc (pow_test_tonearest): New function.
22997 (pow_test_towardzero): Likewise.
22998 (pow_test_downward): Likewise.
22999 (pow_test_upward): Likewise.
23000 (main): Call the new functions.
23001 * sysdeps/i386/fpu/libm-test-ulps: Update.
23002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23003
23004 [BZ #3976]
23005 * math/libm-test.inc (cosh_test_tonearest): New function.
23006 (cosh_test_towardzero): Likewise.
23007 (cosh_test_downward): Likewise.
23008 (cosh_test_upward): Likewise.
23009 (sinh_test_tonearest): Likewise.
23010 (sinh_test_towardzero): Likewise.
23011 (sinh_test_downward): Likewise.
23012 (sinh_test_upward): Likewise.
23013 (main): Call the new functions.
23014 * sysdeps/i386/fpu/libm-test-ulps: Update.
23015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23016
6c6a98c9
TV
230172012-03-05 Tom de Vries <tom@codesourcery.com>
23018
23019 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23020 default stack guard is set in last bytes.
23021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23022
21bb2d2e 230232012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23024
21bb2d2e 23025 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23026
21bb2d2e
AJ
23027 [BZ #13656]
23028 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23029 possibly allocate from heap instead of stack.
23030 * stdio-common/bug-vfprintf-nargs.c: New file.
23031 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23032
c6922934
AS
230332012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23034
23035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23036
bc957d53
MP
230372012-03-03 Marek Polacek <polacek@redhat.com>
23038
23039 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23040 * math/math_private.h: Likewise.
23041 * stdlib/tst-strtod.c: Likewise.
23042 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23043 * sysdeps/x86_64/bits/atomic.h: Likewise.
23044
6358490d
DM
230452012-03-02 David S. Miller <davem@davemloft.net>
23046
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23051 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23052 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23053 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23054 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23055
01ae168d
RM
230562012-03-02 Roland McGrath <roland@hack.frob.com>
23057
d9a17c07
RM
23058 [BZ #13792]
23059 * manual/examples/README: New file, says the example source files
23060 can be used under GPL>=2.
23061 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23062 line containing just "*/".
23063 * manual/examples/add.c: Add copyright header (GPL>=2).
23064 * manual/examples/argp-ex1.c: Likewise.
23065 * manual/examples/argp-ex2.c: Likewise.
23066 * manual/examples/argp-ex3.c: Likewise.
23067 * manual/examples/argp-ex4.c: Likewise.
23068 * manual/examples/atexit.c: Likewise.
23069 * manual/examples/db.c: Likewise.
23070 * manual/examples/dir.c: Likewise.
23071 * manual/examples/dir2.c: Likewise.
23072 * manual/examples/execinfo.c: Likewise.
23073 * manual/examples/filecli.c: Likewise.
23074 * manual/examples/filesrv.c: Likewise.
23075 * manual/examples/fmtmsgexpl.c: Likewise.
23076 * manual/examples/genpass.c: Likewise.
23077 * manual/examples/inetcli.c: Likewise.
23078 * manual/examples/inetsrv.c: Likewise.
23079 * manual/examples/isockad.c: Likewise.
23080 * manual/examples/longopt.c: Likewise.
23081 * manual/examples/memopen.c: Likewise.
23082 * manual/examples/memstrm.c: Likewise.
23083 * manual/examples/mkfsock.c: Likewise.
23084 * manual/examples/mkisock.c: Likewise.
23085 * manual/examples/mygetpass.c: Likewise.
23086 * manual/examples/pipe.c: Likewise.
23087 * manual/examples/popen.c: Likewise.
23088 * manual/examples/rprintf.c: Likewise.
23089 * manual/examples/search.c: Likewise.
23090 * manual/examples/select.c: Likewise.
23091 * manual/examples/setjmp.c: Likewise.
23092 * manual/examples/sigh1.c: Likewise.
23093 * manual/examples/sigusr.c: Likewise.
23094 * manual/examples/stpcpy.c: Likewise.
23095 * manual/examples/strdupa.c: Likewise.
23096 * manual/examples/strftim.c: Likewise.
23097 * manual/examples/strncat.c: Likewise.
23098 * manual/examples/subopt.c: Likewise.
23099 * manual/examples/swapcontext.c: Likewise.
23100 * manual/examples/termios.c: Likewise.
23101 * manual/examples/testopt.c: Likewise.
23102 * manual/examples/testpass.c: Likewise.
23103 * manual/examples/timeval_subtract.c: Likewise.
23104
01ae168d
RM
23105 [BZ #13792]
23106 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23107 function to ...
23108 * manual/timeval_subtract.c.texi: ... here, new file.
23109
49efa33d
DM
231102012-03-02 David S. Miller <davem@davemloft.net>
23111
23112 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23113
28afd92d
JM
231142012-03-02 Joseph Myers <joseph@codesourcery.com>
23115
804360ed
JM
23116 [BZ #3976]
23117 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23118 (__sin): Save and restore rounding mode and use round-to-nearest
23119 for all computations.
23120 (__cos): Save and restore rounding mode and use round-to-nearest
23121 for all computations.
23122 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23123 <fenv.h>.
23124 (tan): Save and restore rounding mode and use round-to-nearest for
23125 all computations.
23126 * math/libm-test.inc (cos_test_tonearest): New function.
23127 (cos_test_towardzero): Likewise.
23128 (cos_test_downward): Likewise.
23129 (cos_test_upward): Likewise.
23130 (sin_test_tonearest): Likewise.
23131 (sin_test_towardzero): Likewise.
23132 (sin_test_downward): Likewise.
23133 (sin_test_upward): Likewise.
23134 (tan_test_tonearest): Likewise.
23135 (tan_test_towardzero): Likewise.
23136 (tan_test_downward): Likewise.
23137 (tan_test_upward): Likewise.
23138 (main): Call the new functions.
23139 * sysdeps/i386/fpu/libm-test-ulps: Update.
23140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23141
a6d06d7b
JM
23142 [BZ #10135]
23143 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23144 small n, then large n, before computing and testing k+n.
23145 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23147 Likewise.
23148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23149 Likewise.
23150 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23151 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23152 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23153 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23156 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23157 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23158 * math/libm-test.inc (scalbn_test): Add more tests.
23159 (scalbln_test): Likewise.
23160
07e12bb3
JM
23161 * manual/filesys.texi (mode_t): Describe constraints on size and
23162 signedness, not exact equivalence to a particular type.
23163 (ino_t): Likewise.
23164 (ino64_t): Likewise.
23165 (dev_t): Likewise.
23166 (nlink_t): Likewise.
23167 (blkcnt_t): Likewise.
23168 (blkcnt64_t): Likewise.
23169 * manual/llio.texi (off_t): Likewise.
23170
28afd92d
JM
23171 [BZ #3976]
23172 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23173 (__ieee754_exp): Save and restore rounding mode and use
23174 round-to-nearest for all computations.
23175 * math/libm-test.inc (exp_test_tonearest): New function.
23176 (exp_test_towardzero): Likewise.
23177 (exp_test_downward): Likewise.
23178 (exp_test_upward): Likewise.
23179 (main): Call the new functions.
23180 * sysdeps/i386/fpu/libm-test-ulps: Update.
23181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23182
b1eeb65d
CD
231832012-03-01 Chris Demetriou <cgd@google.com>
23184
23185 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23186 have predictable order.
23187
53362a4b
DM
231882012-03-01 David S. Miller <davem@davemloft.net>
23189
3c969083
DM
23190 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23191
759707de
DM
23192 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23193 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23194 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23195 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23196
dfdb8ff2
DM
23197 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23198 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23199 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23201 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23202 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23203 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23204 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23205 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23206
ead89f96
DM
23207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23208
7f66bd07
DM
23209 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23210 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23211 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23212
53362a4b
DM
23213 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23214 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23215 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23216 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23217 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23220 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23221 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23222 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23223 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23227 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23229 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23230 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23231 * sysdeps/sparc/elf/configure: Regenerated.
23232
7b1902cb
JM
232332012-03-01 Joseph Myers <joseph@codesourcery.com>
23234
bec039bc
JM
23235 * configure.in (AS, LD): Require binutils 2.20 or later.
23236 * configure: Regenerated.
23237 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23238 as required minimum version.
23239 * INSTALL: Regenerated.
23240
7b1902cb
JM
23241 [BZ #2541]
23242 [BZ #4108]
23243 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23244 before squaring exponent.
23245 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23246 bottom long double and 27 bits of top long double before squaring
23247 exponent.
23248 * math/libm-test.inc (erfc_test): Add more tests.
23249 * sysdeps/i386/fpu/libm-test-ulps: Update.
23250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23252
f775c276
KT
232532012-03-01 Kai Tietz <ktietz@redhat.com>
23254
23255 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23256 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23257 containing bit-fields.
23258 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23259 * soft-fp/single.h (_FP_UNION_S): Likewise.
23260 * soft-fp/double.h (_FP_UNION_D): Likewise.
23261
5b8a4d4a
JM
232622012-02-29 Joseph Myers <joseph@codesourcery.com>
23263
0bab47b6
JM
23264 [BZ #13786]
23265 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23266 not include ../strcmp.S.
23267 [USE_AS_STRNCASECMP_L]: Likewise.
23268 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23269 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23270 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23271 (__strncasecmp_l_ia32): Define as alias to
23272 __strncasecmp_l_nonascii.
23273
0fcad3e2
JM
23274 [BZ #5794]
23275 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23276 * sysdeps/i386/fpu/libm-test-ulps: Update.
23277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23278
5b8a4d4a
JM
23279 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23281
8fdceb2e
JL
232822012-02-29 Jeff Law <law@redhat.com>
23283
23284 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23285 out of bounds read.
23286
1f393a11
MP
232872012-02-29 Marek Polacek <polacek@redhat.com>
23288
23289 [BZ #13706]
23290 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23291 * elf/Makefile: Add rules to run tst-unused-dep.out.
23292
8847f037
DM
232932012-02-28 David S. Miller <davem@davemloft.net>
23294
23295 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23296 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23298 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23299 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23300 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23301
169d7f11
JM
233022012-02-29 Joseph Myers <joseph@codesourcery.com>
23303
23304 * math/libm-test.inc (llround_test): Move one test from
23305 lround_test. Use TEST_f_L in moved test.
23306 (lround_test): Move misplaced test to llround_test. Add testcase
23307 from bug 2561.
23308
39adf059
UD
233092012-02-28 Ulrich Drepper <drepper@gmail.com>
23310
23311 * sysdeps/x86_64/fpu/e_expf.S: New file.
23312 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23313
71b5d1c5
SB
233142012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23315
23316 [BZ #13637]
23317 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23318 of remain_len that may cause incomplete multi-byte character and
23319 false match.
23320 * posix/bug-regex33.c: New file.
23321 * posix/Makefile (tests): Add bug-regex33.
23322
1f77f049
JM
233232012-02-28 Joseph Myers <joseph@codesourcery.com>
23324
23325 * manual/macros.texi: New file.
23326 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23327 * manual/libc.texinfo: Include macros.texi.
23328 * manual/creatute.texi: Likewise.
23329 * manual/install.texi: Likewise.
23330 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23331 @glibcadj{} in references to the GNU C Library.
23332 * manual/charset.texi: Likewise.
23333 * manual/conf.texi: Likewise.
23334 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23335 when not using those macros.
23336 * manual/creature.texi: Likewise.
23337 * manual/crypt.texi: Likewise.
23338 * manual/errno.texi: Likewise.
23339 * manual/filesys.texi: Likewise.
23340 * manual/header.texi: Likewise.
23341 * manual/install.texi: Likewise.
23342 * manual/intro.texi: Likewise.
23343 * manual/io.texi: Likewise.
23344 * manual/job.texi: Likewise.
23345 * manual/lang.texi: Likewise.
23346 * manual/libc.texiinfo: Likewise.
23347 * manual/llio.texi: Likewise.
23348 * manual/locale.texi: Likewise.
23349 * manual/maint.texi: Likewise.
23350 * manual/math.texi: Likewise.
23351 * manual/memory.texi: Likewise.
23352 * manual/message.texi: Likewise.
23353 * manual/nss.texi: Likewise.
23354 * manual/pattern.texi: Likewise.
23355 * manual/process.texi: Likewise.
23356 * manual/resource.texi: Likewise.
23357 * manual/search.texi: Likewise.
23358 * manual/setjmp.texi: Likewise.
23359 * manual/signal.texi: Likewise.
23360 * manual/socket.texi: Likewise.
23361 * manual/startup.texi: Likewise.
23362 * manual/stdio.texi: Likewise.
23363 * manual/string.texi: Likewise.
23364 * manual/sysinfo.texi: Likewise.
23365 * manual/syslog.texi: Likewise.
23366 * manual/terminal.texi: Likewise.
23367 * manual/time.texi: Likewise.
23368 * manual/users.texi: Likewise.
23369 * INSTALL: Regenerated.
23370 * NOTES: Regenerated.
d40c5d54 23371 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23372
450bf206
AS
233732012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23374
23375 * include/dirent.h: Include <dirstream.h> before
23376 <dirent/dirent.h>.
23377
741a235b
DM
233782012-02-28 David S. Miller <davem@davemloft.net>
23379
23380 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23381 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23382 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23383 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23384
d6b5aa58
DM
233852012-02-27 David S. Miller <davem@davemloft.net>
23386
1aff59a3
DM
23387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23389 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23390 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23391
d6b5aa58
DM
23392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23393 frame pointer instead of stack pointer relative arg slot.
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23395 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23396 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23397
433f48bf
CD
233982012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23399
23400 [BZ #3992]
23401 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23402
d674b76d
DM
234032012-02-27 David S. Miller <davem@davemloft.net>
23404
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23409 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23410 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23411 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23412 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23413
0e7727f7
JM
234142012-02-27 Joseph Myers <joseph@codesourcery.com>
23415
23416 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23417 later. Allow versions 5-9.
43be4ca2 23418 * configure: Regenerated.
0e7727f7
JM
23419 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23420 required minimum version and 4.6 as recommended version. Do not
23421 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23422 * INSTALL: Regenerated.
0e7727f7 23423
a78bc654
DM
234242012-02-27 David S. Miller <davem@davemloft.net>
23425
428d5830
DM
23426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23430 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23431 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23432 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23433 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23434
a78bc654
DM
23435 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23436 manipulate bits before adding and subtracting TWO112[sx].
23437 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23438
4579f81c
RM
234392012-02-27 Roland McGrath <roland@hack.frob.com>
23440
36c8acb4
RM
23441 [BZ #13775]
23442 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23443 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23444 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23445 being in POSIX, because they are in 1003.1-2008.
23446
84ad622b
RM
23447 * rt/tst-aio.c: Include <fcntl.h>.
23448 * rt/tst-aio7.c: Likewise.
23449 * rt/tst-aio64.c: Likewise.
23450
4579f81c
RM
23451 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23452
abd923db
JM
234532012-02-27 Joseph Myers <joseph@codesourcery.com>
23454
23455 * manual/install.texi (--with-headers): Describe headers as
23456 interface headers, not private headers.
23457 (Specific advice for GNU/Linux systems): Describe use of headers
23458 from "make headers_install", not private headers from older
23459 kernels.
43be4ca2 23460 * INSTALL: Regenerated.
abd923db
JM
23461 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23462 Change to 2.6.19.
23463 * sysdeps/unix/sysv/linux/configure: Regenerated.
23464
6664049b
JM
23465 * manual/llio.texi (fclean): Remove documentation.
23466
bb8b6697
JM
23467 * manual/Makefile (libc-texi-generated): New variable. Include
23468 version.texi.
23469 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23470 $(libc-texi-generated), not duplicated list of files.
23471 (version.texi, stamp-version): New rules.
23472 (realclean): Remove $(libc-texi-generated), not individual files
23473 from that list. Do not remove dir-add.texinfo.
23474 * manual/libc.texinfo: Comment out uses of edition numbers and
23475 references to printed manual. Remove last-updated dates.
23476 (EDITION): Comment out.
23477 (ISBN): Likewise.
23478 (VERSION, UPDATED): Remove.
23479 (version.texi): Include.
23480
12e5c3b9
AS
234812012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23482
23483 * sysdeps/posix/spawni.c: Include <signal.h>.
23484 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23485 * sysdeps/pthread/aio_fsync.c: Likewise.
23486
4efeffc1 234872012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23488
ba63ba08
UD
23489 * conform/Makefile (tests): Run only when not cross-compiling and
23490 when fast-check is not defined.
23491
d94a4670
UD
23492 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23493 * conform/data/limits.h-data: Fixes for POSIX2008.
23494 * conform/run-conformtest.sh: Run all tests.
23495 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23496 headers.
23497 * include/bits/dlfcn.h: Likewise.
23498 * include/langinfo.h: Likewise.
23499 * include/monetary.h: Likewise.
23500 * include/sys/poll.h: Likewise.
23501
23502 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23503 for __USE_GNU.
23504 * posix/spawn.h: Define __need_sigset_t.
23505 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23506 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23507 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23508 to get sigevent_t only.
23509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23510 only for __USE_GNU.
23511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23512 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23513 process_vm_writev only for __USE_GNU.
23514 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23515
23516 * conform/Makefile: For now ignore errors from run-conformtest.
23517 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23518 POSIX to avoid namespace pollution. Don't prepend headers.
23519 * conform/data/aio.h-data: Fixes for POSIX testing.
23520 * conform/data/fcntl.h-data: Likewise.
23521 * conform/data/glob.h-data: Likewise.
23522 * conform/data/grp.h-data: Likewise.
23523 * conform/data/pthread.h-data: Likewise.
23524 * conform/data/pwd.h-data: Likewise.
23525 * conform/data/signal.h-data: Likewise.
23526 * conform/data/spawn.h-data: Likewise.
23527 * conform/data/stdio.h-data: Likewise.
23528 * conform/data/stdlib.h-data: Likewise.
23529 * conform/data/stropts.h-data: Likewise.
23530 * conform/data/sys/mman.h-data: Likewise.
23531 * conform/data/sys/stat.h-data: Likewise.
23532 * conform/data/sys/types.h-data: Likewise.
23533 * conform/data/sys/wait.h-data: Likewise.
23534 * conform/data/time.h-data: Likewise.
23535 * conform/data/unistd.h-data: Likewise.
23536 * conform/data/utime.h-data: Likewise.
23537
23538 * io/sys/stat.h: fchmod was always in POSIX.
23539 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23540 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23541 * rt/aio.h: Define __need_timespec before including <time.h>.
23542 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23543 struct. Add forward declaration of pthread_attr_t and use it in
23544 sigevent.
23545 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23546 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23547 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23548 always remove CLK_TCK definition.
23549
c20105c3
AS
235502012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23551
23552 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23553
7a270350
UD
235542012-02-25 Ulrich Drepper <drepper@gmail.com>
23555
31341567
UD
23556 * conform/run-conformtest.sh: New file.
23557 * conform/Makefile: Run run-conformtest for tests.
23558 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23559 support.
23560
23561 * conform/data/uchar.h-data: New file.
23562 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23563 * conform/data/arpa/inet.h-data: Likewise.
23564 * conform/data/assert.h-data: Likewise.
23565 * conform/data/complex.h-data: Likewise.
23566 * conform/data/cpio.h-data: Likewise.
23567 * conform/data/ctype.h-data: Likewise.
23568 * conform/data/dirent.h-data: Likewise.
23569 * conform/data/dlfcn.h-data: Likewise.
23570 * conform/data/errno.h-data: Likewise.
23571 * conform/data/fcntl.h-data: Likewise.
23572 * conform/data/float.h-data: Likewise.
23573 * conform/data/fmtmsg.h-data: Likewise.
23574 * conform/data/fnmatch.h-data: Likewise.
23575 * conform/data/ftw.h-data: Likewise.
23576 * conform/data/glob.h-data: Likewise.
23577 * conform/data/grp.h-data: Likewise.
23578 * conform/data/iconv.h-data: Likewise.
23579 * conform/data/inttypes.h-data: Likewise.
23580 * conform/data/langinfo.h-data: Likewise.
23581 * conform/data/libgen.h-data: Likewise.
23582 * conform/data/limits.h-data: Likewise.
23583 * conform/data/locale.h-data: Likewise.
23584 * conform/data/math.h-data: Likewise.
23585 * conform/data/monetary.h-data: Likewise.
23586 * conform/data/mqueue.h-data: Likewise.
23587 * conform/data/ndbm.h-data: Likewise.
23588 * conform/data/net/if.h-data: Likewise.
23589 * conform/data/netdb.h-data: Likewise.
23590 * conform/data/netinet/in.h-data: Likewise.
23591 * conform/data/nl_types.h-data: Likewise.
23592 * conform/data/poll.h-data: Likewise.
23593 * conform/data/pthread.h-data: Likewise.
23594 * conform/data/pwd.h-data: Likewise.
23595 * conform/data/regex.h-data: Likewise.
23596 * conform/data/sched.h-data: Likewise.
23597 * conform/data/search.h-data: Likewise.
23598 * conform/data/semaphore.h-data: Likewise.
23599 * conform/data/setjmp.h-data: Likewise.
23600 * conform/data/signal.h-data: Likewise.
23601 * conform/data/spawn.h-data: Likewise.
23602 * conform/data/stdarg.h-data: Likewise.
23603 * conform/data/stdio.h-data: Likewise.
23604 * conform/data/stdlib.h-data: Likewise.
23605 * conform/data/string.h-data: Likewise.
23606 * conform/data/strings.h-data: Likewise.
23607 * conform/data/stropts.h-data: Likewise.
23608 * conform/data/sys/ipc.h-data: Likewise.
23609 * conform/data/sys/mman.h-data: Likewise.
23610 * conform/data/sys/msg.h-data: Likewise.
23611 * conform/data/sys/resource.h-data: Likewise.
23612 * conform/data/sys/select.h-data: Likewise.
23613 * conform/data/sys/sem.h-data: Likewise.
23614 * conform/data/sys/shm.h-data: Likewise.
23615 * conform/data/sys/socket.h-data: Likewise.
23616 * conform/data/sys/stat.h-data: Likewise.
23617 * conform/data/sys/statvfs.h-data: Likewise.
23618 * conform/data/sys/time.h-data: Likewise.
23619 * conform/data/sys/timeb.h-data: Likewise.
23620 * conform/data/sys/times.h-data: Likewise.
23621 * conform/data/sys/types.h-data: Likewise.
23622 * conform/data/sys/uio.h-data: Likewise.
23623 * conform/data/sys/un.h-data: Likewise.
23624 * conform/data/sys/utsname.h-data: Likewise.
23625 * conform/data/sys/wait.h-data: Likewise.
23626 * conform/data/syslog.h-data: Likewise.
23627 * conform/data/tar.h-data: Likewise.
23628 * conform/data/termios.h-data: Likewise.
23629 * conform/data/utime.h-data: Likewise.
23630 * conform/data/utmpx.h-data: Likewise.
23631 * conform/data/varargs.h-data: Likewise.
23632 * conform/data/wchar.h-data: Likewise.
23633 * conform/data/wctype.h-data: Likewise.
23634 * conform/data/wordexp.h-data: Likewise.
23635
23636 * include/stropts.h: New file.
23637 * include/uchar.h: New file.
23638 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23639 * include/assert.h: Likewise.
23640 * include/ctype.h: Likewise.
23641 * include/dirent.h: Likewise.
23642 * include/dlfcn.h: Likewise.
23643 * include/fcntl.h: Likewise.
23644 * include/fnmatch.h: Likewise.
23645 * include/glob.h: Likewise.
23646 * include/grp.h: Likewise.
23647 * include/libio.h: Likewise.
23648 * include/locale.h: Likewise.
23649 * include/math.h: Likewise.
23650 * include/net/if.h: Likewise.
23651 * include/netdb.h: Likewise.
23652 * include/netinet/in.h: Likewise.
23653 * include/pthread.h: Likewise.
23654 * include/pwd.h: Likewise.
23655 * include/regex.h: Likewise.
23656 * include/sched.h: Likewise.
23657 * include/search.h: Likewise.
23658 * include/setjmp.h: Likewise.
23659 * include/signal.h: Likewise.
23660 * include/stdio.h: Likewise.
23661 * include/stdlib.h: Likewise.
23662 * include/string.h: Likewise.
23663 * include/sys/cdefs.h: Likewise.
23664 * include/sys/mman.h: Likewise.
23665 * include/sys/msg.h: Likewise.
23666 * include/sys/resource.h: Likewise.
23667 * include/sys/select.h: Likewise.
23668 * include/sys/socket.h: Likewise.
23669 * include/sys/stat.h: Likewise.
23670 * include/sys/statvfs.h: Likewise.
23671 * include/sys/time.h: Likewise.
23672 * include/sys/times.h: Likewise.
23673 * include/sys/uio.h: Likewise.
23674 * include/sys/utsname.h: Likewise.
23675 * include/sys/wait.h: Likewise.
23676 * include/termios.h: Likewise.
23677 * include/time.h: Likewise.
23678 * include/ulimit.h: Likewise.
23679 * include/unistd.h: Likewise.
23680 * include/utime.h: Likewise.
23681 * include/wchar.h: Likewise.
23682 * include/wctype.h: Likewise.
23683 * include/wordexp.h: Likewise.
23684
23685 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23686
7a270350
UD
23687 * time/time.h: TIME_UTC must be a macro.
23688 Make timespec_get available for ISO C11 only as well.
23689
7724defc
UD
236902012-02-24 Ulrich Drepper <drepper@gmail.com>
23691
23692 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23693 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23694
6b1d1d46
JM
236952012-02-24 Joseph Myers <joseph@codesourcery.com>
23696
23697 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23698
0f8bbd69
JM
236992012-02-24 Joseph Myers <joseph@codesourcery.com>
23700
23701 * manual/texinfo.tex: Update to version 2012-01-19.16.
23702
66ab80bc
JM
237032012-02-24 Joseph Myers <joseph@codesourcery.com>
23704
23705 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23706
74981cc5
RM
237072012-02-24 Roland McGrath <roland@hack.frob.com>
23708
ee968201
RM
23709 [BZ #13738]
23710 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23711 * manual/fdl-1.3.texi: New file.
23712 * manual/fdl-1.1.texi: File removed.
23713
74981cc5
RM
23714 [BZ #13738]
23715 * manual/libc.texinfo (FDL_VERSION): New @set.
23716 Use it for mention of FDL in cover text.
23717 (Documentation License): Use it in @include file name.
23718
7bb764bc
JM
237192012-02-22 Joseph Myers <joseph@codesourcery.com>
23720 Roland McGrath <roland@hack.frob.com>
23721
23722 [BZ #5461]
23723 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23724 not LONG_LONG_MAX and LONG_LONG_MIN.
23725 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23726 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23727 name.
23728 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23729
6cbeae47
JM
237302012-02-22 Joseph Myers <joseph@codesourcery.com>
23731
23732 [BZ #2547]
23733 [BZ #11365]
23734 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23735 manipulate bits before adding and subtracting TWO23[sx].
23736 * math/libm-test.inc (nearbyint_test): Add more tests.
23737
fe45ce09
JM
237382012-02-22 Joseph Myers <joseph@codesourcery.com>
23739
23740 [BZ #2548]
23741 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23742 bits before adding and subtracting TWO23[sx].
23743 * math/libm-test.inc (rint_test): Add more tests.
23744 (rint_test_tonearest): Likewise.
23745 (rint_test_towardzero): Likewise.
23746 (rint_test_downward): Likewise.
23747 (rint_test_upward: Likewise.
23748
ff3b3d82
JM
237492012-02-22 Joseph Myers <joseph@codesourcery.com>
23750
23751 [BZ #10110]
23752 * include/stdc-predef.h: New file. Extracted from features.h.
23753 * include/features.h: Include stdc-predef.h.
23754 * Makefile (headers): Add stdc-predef.h.
23755 * CONFORMANCE (Compiler limitations): Update.
23756
ef0aab35
JM
237572012-02-22 Joseph Myers <joseph@codesourcery.com>
23758
23759 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23760
58639409
DM
237612012-02-21 David S. Miller <davem@davemloft.net>
23762
23763 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23765
c0e70b25
DM
237662012-02-20 David S. Miller <davem@davemloft.net>
23767
23768 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23769 using a normal save/restore sequence, rather than allocating a
23770 dummy stack frame just to store a frame pointer and restore.
23771 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23772
fb06851d
JM
237732012-02-21 Joseph Myers <joseph@codesourcery.com>
23774
23775 * manual/install.texi: Fix stray word in line-wrapped comment.
23776
7a8b71c3
DM
237772012-02-20 David S. Miller <davem@davemloft.net>
23778
d510c123
DM
23779 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23780 both binutils and gcc support GOTDATA.
23781
0722d7c2
DM
23782 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23783 "rd %pc" in the PIC register setup sequences.
23784
3d2b3019
DM
23785 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23786 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23787 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23788 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23789 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23791 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23794 (SYSCALL_ERROR_HANDLER): Likewise.
23795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23798 (SYSCALL_ERROR_HANDLER): Likewise.
23799
c80098a9
DM
23800 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23801 (HAVE_GCC_GOTDATA): New.
23802 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23803 relocation support in both binutils and gcc.
23804 * sysdeps/sparc/elf/configure: Regenerate.
23805
3a2545a0
DM
23806 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23807 * sysdeps/sparc/sparc32/elf/configure: Delete.
23808 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23809 * sysdeps/sparc/sparc64/elf/configure: Delete.
23810 * sysdeps/sparc/elf/configure.in: New file.
23811 * sysdeps/sparc/elf/configure: Generate.
23812
7a8b71c3
DM
23813 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23814 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23815 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23816 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23817 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23818
f1e86fca
JM
238192012-02-21 Joseph Myers <joseph@codesourcery.com>
23820
23821 * manual/install.texi: Do not mention specific glibc version
23822 numbers.
23823 * manual/libc.texinfo (VERSION, UPDATED): Update.
23824 (@copying): Use @copyright{} and range of years.
23825
0e7dfaef
JM
238262012-02-21 Joseph Myers <joseph@codesourcery.com>
23827
23828 [BZ #13695]
23829 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23830 [crti.S not in sysdirs] (generated): Do not append.
23831 [crti.S not in sysdirs] (omit-deps): Likewise.
23832 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23833 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23834 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23835 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23836 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23837 Likewise.
23838 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23839 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23840 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23841 * csu/defs.awk: Remove file.
23842 * sysdeps/generic/initfini.c: Likewise.
23843 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23844 variable.
23845 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23846 Likewise.
23847
599af3ca
JM
238482012-02-20 Joseph Myers <joseph@codesourcery.com>
23849
23850 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23851 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23852 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23853 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23855 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23856 <bits/epoll.h>.
23857 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23858 (__EPOLL_PACKED): Define to empty if not defined by
23859 <bits/epoll.h>.
23860 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23862 bits/epoll.h.
23863
0e499750
JM
238642012-02-20 Joseph Myers <joseph@codesourcery.com>
23865
23866 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23867 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23868 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23869 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23870 <bits/timerfd.h>.
23871 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23873 bits/timerfd.h.
23874
5ad91f6e
JM
238752012-02-20 Joseph Myers <joseph@codesourcery.com>
23876
23877 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23878 in C locale.
23879 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23880 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23881 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23883
06b99b02
AJ
238842012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23885
23886 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23887 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23888
7638c0fd
AS
238892012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23890
23891 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23892 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23893 defined.
23894 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23895 Likewise.
23896 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23897 entry for 2.16.
23898
92221550
AJ
238992012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23900
23901 * math/w_acos.c: Use non-signaling floating-point comparisons.
23902 * math/w_acosf.c: Likewise.
23903 * math/w_acosh.c: Likewise.
23904 * math/w_acoshf.c: Likewise.
23905 * math/w_acoshl.c: Likewise.
23906 * math/w_acosl.c: Likewise.
23907 * math/w_asin.c: Likewise.
23908 * math/w_asinf.c: Likewise.
23909 * math/w_asinl.c: Likewise.
23910 * math/w_atanh.c: Likewise.
23911 * math/w_atanhf.c: Likewise.
23912 * math/w_atanhl.c: Likewise.
23913 * math/w_exp2.c: Likewise.
23914 * math/w_exp2f.c: Likewise.
23915 * math/w_exp2l.c: Likewise.
23916 * math/w_j0.c: Likewise.
23917 * math/w_j0f.c: Likewise.
23918 * math/w_j0l.c: Likewise.
23919 * math/w_j1.c: Likewise.
23920 * math/w_j1f.c: Likewise.
23921 * math/w_j1l.c: Likewise.
23922 * math/w_jn.c: Likewise.
23923 * math/w_jnf.c: Likewise.
23924 * math/w_log.c: Likewise.
23925 * math/w_log10.c: Likewise.
23926 * math/w_log10f.c: Likewise.
23927 * math/w_log10l.c: Likewise.
23928 * math/w_log2.c: Likewise.
23929 * math/w_log2f.c: Likewise.
23930 * math/w_log2l.c: Likewise.
23931 * math/w_logf.c: Likewise.
23932 * math/w_logl.c: Likewise.
23933 * math/w_sqrt.c: Likewise.
23934 * math/w_sqrtf.c: Likewise.
23935 * math/w_sqrtl.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23939 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23940 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23941
ebaf36eb
JM
239422012-02-19 Joseph Myers <joseph@codesourcery.com>
23943
23944 [BZ #9739]
23945 * manual/string.texi (strnlen): Use correct parameter name in
23946 equivalent expression.
23947
71c254a6
JM
239482012-02-19 Joseph Myers <joseph@codesourcery.com>
23949
23950 [BZ #11174]
23951 * manual/users.texi (seteuid): Consistently use neweuid for
23952 argument name.
23953
16d2c631
JM
239542012-02-19 Joseph Myers <joseph@codesourcery.com>
23955
23956 [BZ #13704]
23957 * manual/nss.texi (Services in the NSS configuration): Correct
23958 list of services in example configuration file.
23959
cd837b09
NB
239602012-02-19 Nick Bowler <nbowler@draconx.ca>
23961
23962 [BZ #11322]
23963 * manual/arith.texi: Remove statements about negative zero
23964 behaving identically to zero.
23965
02c4bbad
JM
239662012-02-18 Joseph Myers <joseph@codesourcery.com>
23967
23968 [BZ #5993]
23969 * manual/install.texi: Do not document upgrading from libc5.
23970
366842e7
JM
239712012-02-18 Joseph Myers <joseph@codesourcery.com>
23972
23973 [BZ #4596]
23974 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23975
dd54084d
DM
239762012-02-18 David S. Miller <davem@davemloft.net>
23977
23978 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23979 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23980 %o7 across the call.
23981 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23982 instead.
23983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23984 SETUP_PIC_REG_LEAF.
23985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23986 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23987 * sysdeps/sparc/crtn.S: Likewise.
23988
2bcc53a3
UD
239892012-02-17 Ulrich Drepper <drepper@gmail.com>
23990
23991 * aout/Makefile: Remove.
23992
09c093b5
RK
239932012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23994
23995 [BZ #13058]
23996 * manual/examples/argp-ex1.c (main): Format definition in GNU
23997 style.
23998 * manual/examples/argp-ex2.c (main): Likewise.
23999 * manual/examples/argp-ex3.c (main): Likewise.
24000 * manual/examples/argp-ex4.c (main): Likewise.
24001 * manual/examples/longopt.c (main): Use new-style prototype
24002 definition.
24003 * manual/examples/strncat.c (main): Specify return type and use
24004 (void) for arguments.
24005 * manual/examples/subopt.c (main): Use char **argv argument.
24006
2ee633a2
JM
240072012-02-17 Joseph Myers <joseph@codesourcery.com>
24008
24009 [BZ #5077]
24010 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24011 rounding modes.
24012
0520adde
FB
240132012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24014
24015 [BZ #6907]
24016 * manual/string.texi (strchr): Change when strchrnul is
24017 recommended.
24018
3f4081cd
DGM
240192012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24020
24021 [BZ #174]
24022 * manual/locale.texi (setlocale): Document LOCPATH.
24023
d1b10e78
JM
240242012-02-17 Joseph Myers <joseph@codesourcery.com>
24025
24026 [BZ #10210]
24027 * manual/process.texi (execle): Move @dots{} before last argument.
24028
79c6869c
PB
240292012-02-17 Paul Bolle <pebolle@tiscali.nl>
24030
24031 [BZ #12047]
24032 * manual/charset.texi (Generic Charset Conversion): Fix typo
24033 (LC_TYPE -> LC_CTYPE).
24034
cc6e48bc
NB
240352012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24036
24037 [BZ #5805]
24038 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24039 (scalbnf): Likewise.
24040 (scalbnl): Likewise.
24041 (scalbln): Likewise.
24042 (scalblnf): Likewise.
24043 (scalblnl): Likewise.
24044 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24045 (vwarnx): Likewise.
24046 (verr): Likewise.
24047 (verrx): Likewise.
24048 * manual/filesys.texi (telldir): Use braces around return type.
24049 * manual/llio.texi (mmap): Add space after comma.
24050 (mmap64): Likewise.
24051 * manual/math.texi (jn): Use @var{} on parameter names.
24052 (jnf): Likewise.
24053 (jnl): Likewise.
24054 (yn): Likewise.
24055 (ynf): Likewise.
24056 (ynl): Likewise.
24057 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24058 line.
24059 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24060 "...".
24061 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24062 (sched_get_priority_max): Likewise.
24063 * manual/signal.texi (sigvec): Add space after comma.
24064 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24065 names.
24066 (if_indextoname): Likewise.
24067 (if_freenameindex): Likewise.
24068 (sendto): Use ',' instead of '.' in prototype.
24069 * manual/startup.texi (syscall): Use @dots{} instead of literal
24070 "...".
24071 * manual/stdio.texi (__fpending): Separate initial words of
24072 paragraph from @deftypefun line.
24073 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24074 "...".
24075 (vsyslog): Use @var{} on parameter names.
24076 * manual/terminal.texi (stty): Use @var{} on parameter names.
24077 * manual/users.texi (getutmp): Use @var{} on parameter names.
24078 (getutmpx): Likewise.
24079
5b23062f
JM
240802012-02-17 Joseph Myers <joseph@codesourcery.com>
24081
24082 [BZ #6884]
24083 * manual/stdio.texi (fopen): Fix typos in description of
24084 ",ccs=STRING".
24085
8dee4833
AJ
240862012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24087
24088 [BZ #4026]
24089 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24090 get clock_id definition.
24091
9078ce93
TS
240922012-02-17 Thomas Schwinge <thomas@schwinge.name>
24093
24094 [BZ #4822]
24095 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24096 (madvise): Cast every argument to void on its own.
24097
3835c55f
JM
240982012-02-17 Joseph Myers <joseph@codesourcery.com>
24099
24100 [BZ #9902]
24101 * manual/startup.texi (Exit Status): Fix typo.
24102
35c47e37
JM
241032012-02-17 Joseph Myers <joseph@codesourcery.com>
24104
24105 [BZ #10140]
24106 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24107 * manual/examples/argp-ex2.c: Likewise.
24108 * manual/examples/argp-ex3.c: Likewise.
24109
e3b69ca7
RH
241102012-02-16 Richard Henderson <rth@redhat.com>
24111
24112 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24113 * sysdeps/s390/s390-32/initfini.c: Remove.
24114 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24115 * sysdeps/s390/s390-64/initfini.c: Remove.
24116
df83af67
KK
241172012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24118
24119 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24120 compiler output for sysdeps/generic/initfini.c.
24121 * sysdeps/sh/elf/initfini.c: Remove file.
24122
f63f3380
DM
241232012-02-16 David S. Miller <davem@davemloft.net>
24124
fb59b3a4
DM
24125 [BZ #11494]
24126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24127
f63f3380
DM
24128 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24129 * sysdeps/sparc/crti.S: New file.
24130 * sysdeps/sparc/crtn.S: New file.
24131 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24132 * sysdeps/sparc/sparc64/Makefile: Likewise.
24133
df6a4a4a
MF
241342012-02-15 Mike Frysinger <vapier@gentoo.org>
24135
6dd8f3dc 24136 [BZ #3335]
df6a4a4a
MF
24137 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24138
1cac7236
RM
241392012-02-15 Roland McGrath <roland@hack.frob.com>
24140
d2c736f8
RM
24141 [BZ #4822]
24142 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24143
1cac7236
RM
24144 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24145 (write, read, close): Likewise.
24146 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24147
8e475601
JM
241482012-02-15 Joseph Myers <joseph@codesourcery.com>
24149
24150 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24151 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24152 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24153 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24154 <bits/signalfd.h>.
24155 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24157 bits/signalfd.h.
24158
ed656b40
MP
241592012-02-14 Marek Polacek <polacek@redhat.com>
24160
24161 * sysdeps/x86_64/crti.S: New file.
24162 * sysdeps/x86_64/crtn.S: New file.
24163 * sysdeps/x86_64/elf/initfini.c: Remove file.
24164
2a979d3a
JM
241652012-02-13 Joseph Myers <joseph@codesourcery.com>
24166
24167 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24168 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24169 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24170 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24171 <bits/inotify.h>.
24172 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24174 bits/inotify.h.
24175
2a418ac3
JM
241762012-02-13 Joseph Myers <joseph@codesourcery.com>
24177
24178 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24179 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24180 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24181 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24182 <bits/eventfd.h>.
24183 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24185 bits/eventfd.h.
24186
fb779be7
TS
241872012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24188
e19e83c5
RM
24189 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24190 __feraiseexcept instead of feraiseexcept.
7c35ffed 24191
fb779be7
TS
24192 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24193 nanosleep invocations.
24194 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24195 strings, and add error checking for a nanosleep invocations.
24196
59ba27a6
PE
241972012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24198
24199 Replace FSF snail mail address with URLs, as per GNU coding standards.
24200 Most of the snail mail addresses were wrong anyway, and omitting
24201 them makes the source code easier to maintain. Almost all of the
24202 changes are to license notices and to locale LC_IDENTIFICATION
24203 addresses, except for this one:
24204 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24205 not its snail mail address.
24206
57b957eb
RH
242072012-02-09 Richard Henderson <rth@twiddle.net>
24208
af850b1c
RH
24209 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24210 of kernel-features.h.
24211
57b957eb
RH
24212 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24213
6b73181a
MP
242142012-02-08 Marek Polacek <polacek@redhat.com>
24215
24216 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24217 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24218 * sysdeps/gnu/_G_config.h: Likewise.
24219 * sysdeps/generic/_G_config.h: Likewise.
24220
26ecc33a
AS
242212012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24222
6c6dbc63
AS
24223 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24224 tests.
24225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24226
e216c012
AS
24227 * sysdeps/powerpc/powerpc32/crti.S: New file.
24228 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24229 * sysdeps/powerpc/powerpc64/crti.S: New file.
24230 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24231
26ecc33a
AS
24232 * Makeconfig (have-initfini): Don't set.
24233 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24234 * configure.in (nopic_initfini): Don't substitute.
24235 * config.h.in (HAVE_INITFINI): Don't #undef.
24236 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24237 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24238
3add8e13
JM
242392012-02-08 Joseph Myers <joseph@codesourcery.com>
24240
24241 Support crti.S and crtn.S provided directly by architectures.
24242 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24243 [crti.S in sysdirs] (omit-deps): Likewise.
24244 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24245 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24246 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24247 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24248 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24249 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24250 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24251 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24252 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24253 compiler output for sysdeps/generic/initfini.c.
24254 * sysdeps/i386/elf/Makefile: Remove file.
24255 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24256
a22f12b4
MP
242572012-02-07 Marek Polacek <polacek@redhat.com>
24258
24259 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24260 * sysdeps/gnu/_G_config.h: Likewise.
24261 * sysdeps/mach/hurd/_G_config.h: Likewise.
24262
148cf100
MP
242632012-02-07 Marek Polacek <polacek@redhat.com>
24264
24265 * math/Makefile (tests): Add tst-CMPLX2.
24266 * math/tst-CMPLX2.c: New file.
24267
cfdc0dd7
AS
242682012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24269
84ba42c4
AS
24270 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24271
cfdc0dd7
AS
24272 * math/libm-test.inc (jn_test): Add missing L suffix.
24273
622c86f4
MP
242742012-02-06 Marek Polacek <polacek@redhat.com>
24275
24276 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24277 * sysdeps/i386/fpu/e_powf.S: Likewise.
24278 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24279 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24280 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24281 * sysdeps/i386/fpu/e_pow.S: Likewise.
24282 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24283 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24284 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24285 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24286 * sysdeps/i386/fpu/e_log2.S: Likewise.
24287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24288 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24289 * sysdeps/i386/fpu/e_powl.S: Likewise.
24290 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24291 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24292 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24293 * sysdeps/i386/fpu/e_logl.S: Likewise.
24294 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24295 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24296 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24297 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24298 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24300 * sysdeps/i386/fpu/e_log.S: Likewise.
24301 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24303 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24304 * sysdeps/i386/fpu/e_logf.S: Likewise.
24305 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24306 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24307 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24308 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24309 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24310 * sysdeps/i386/fpu/e_log10.S: Likewise.
24311 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24312 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24313 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24314 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24315 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24316 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24317 * sysdeps/i386/asm-syntax.h: Likewise.
24318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24320 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24321 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24322 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24324 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24325 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24327 * sysdeps/powerpc/sysdep.h: Likewise.
24328 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24329 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24330
d4a54ac6
JM
243312012-02-06 Joseph Myers <joseph@codesourcery.com>
24332
24333 [BZ #411]
24334 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24335
314054ea
JM
243362012-02-06 Joseph Myers <joseph@codesourcery.com>
24337
24338 * sysdeps/i386/sysdep.h: Include <features.h>.
24339 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24340 version.
24341
d8e0ca50
JM
243422012-02-05 Joseph Myers <joseph@codesourcery.com>
24343
24344 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24345 Define.
24346 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24347 LOAD_PIC_REG_STR.
24348
b1da7dd9
JM
243492012-02-03 Joseph Myers <joseph@codesourcery.com>
24350
24351 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24352 (SETUP_PIC_REG): Use GET_PC_THUNK.
24353 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24354 macro.
24355
9a1d9254
JM
243562012-02-03 Joseph Myers <joseph@codesourcery.com>
24357
24358 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24359 for non-PIC compilation.
24360 (SETUP_PIC_REG): Add .p2align directive.
24361 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24362 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24364 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24365 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24366 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24372 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24373 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24374 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24375 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24376 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24378 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24385 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24387 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24388 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24389 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24390 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24391 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24392 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24393 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24394 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24395 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24396 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24397 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24402
65dc3b75
JM
244032012-02-03 Joseph Myers <joseph@codesourcery.com>
24404
24405 * math/tst-CMPLX.c: Include <stdio.h>.
24406
d55bf177
JM
244072012-01-31 Joseph Myers <joseph@codesourcery.com>
24408
24409 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24410 float.
24411 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24412 * sysdeps/sparc/bits/mathdef.h: Likewise.
24413
69db4f8f
MP
244142012-01-31 Marek Polacek <polacek@redhat.com>
24415
24416 * libio/libio.h: Don't define _PARAMS.
24417 * locale/programs/config.h: Don't define PARAMS.
24418 * stdlib/strtol_l.c: Likewise.
24419 (__strtol_l): Remove PARAMS from the prototype.
24420
41b81892
UD
244212012-01-31 Ulrich Drepper <drepper@gmail.com>
24422
3b49edc0
UD
24423 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24424 names. Just use the correct names. Remove unnecessary wrapper
24425 functions.
24426 * malloc/arena.c: Likewise.
24427 * malloc/hooks.c: Likewise.
24428
41b81892
UD
24429 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24430 ARENA_TEST says not to. Simplify test for creation of a new arena.
24431 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24432
27a25b6e
UD
244332012-01-30 Ulrich Drepper <drepper@gmail.com>
24434
24435 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24436 into tail calls.
24437 (update_get_addr): New function.
24438 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24439 GET_ADDR_MODULE parameter.
24440
c8a89e7d
JM
244412012-01-30 Joseph Myers <joseph@codesourcery.com>
24442
24443 * crypt/cert.c: Remove __STDC__ conditionals.
24444 * crypt/crypt-entry.c: Likewise.
24445 * crypt/crypt_util.c: Likewise.
24446 * libio/filedoalloc.c: Likewise.
24447 * libio/fileops.c: Likewise.
24448 * libio/genops.c: Likewise.
24449 * libio/iofclose.c: Likewise.
24450 * libio/iofdopen.c: Likewise.
24451 * libio/iofopen.c: Likewise.
24452 * libio/iofopen64.c: Likewise.
24453 * libio/iogetdelim.c: Likewise.
24454 * libio/iopopen.c: Likewise.
24455 * libio/obprintf.c: Likewise.
24456 * libio/oldfileops.c: Likewise.
24457 * libio/oldiofclose.c: Likewise.
24458 * libio/oldiofdopen.c: Likewise.
24459 * libio/oldiofopen.c: Likewise.
24460 * libio/oldiopopen.c: Likewise.
24461 * libio/wfiledoalloc.c: Likewise.
24462 * libio/wgenops.c: Likewise.
24463 * locale/programs/xmalloc.c: Likewise.
24464 * misc/syslog.c: Likewise.
24465 * stdio-common/xbug.c: Likewise.
24466 * string/memchr.c: Likewise.
24467 * string/memcmp.c: Likewise.
24468 * string/memrchr.c: Likewise.
24469 * string/rawmemchr.c: Likewise.
24470 * sysdeps/posix/getcwd.c: Likewise.
24471 * time/strftime_l.c: Likewise.
24472
3b100462
JM
244732012-01-30 Joseph Myers <joseph@codesourcery.com>
24474
24475 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24476 * config.make.in (config-cflags-sse2avx): Define.
24477 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24478 Fix typo.
24479
607998af
CM
244802012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24481
24482 * scripts/config.guess: Update from upstream config git repository.
24483 * scripts/config.sub: Likewise.
24484
3601428f
CM
244852012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24486
3ac8b282
CM
24487 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24488 (EM_NUM): Update.
24489 (R_TILEPRO_*, R_TILEGX_*): New macros.
24490
e034841e
CM
24491 * scripts/firstversions.awk: Fix bug in version range handling.
24492
540d7568
CM
24493 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24494
3601428f
CM
24495 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24496
463de862
CM
24497 * include/sys/epoll.h: New file.
24498 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24499 libc_hidden_def.
24500
73139a76
UD
245012012-01-28 Ulrich Drepper <drepper@gmail.com>
24502
96bc5b45
UD
24503 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24504 Avoid unnecessary __WORDSIZE == 64 test.
24505 (fmaxf): Use VEX format if possible.
24506 (fmax): Likewise.
24507 (fminf): Likewise.
24508 (fmin): Likewise.
24509
56f6f6a2
UD
24510 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24511 * math/math_private.h: Remove libc_fegetround* and
24512 libc_fesetround*.
24513 * sysdeps/i386/configure.in: Check for -msse2avx.
24514 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24515 also if SSE2AVX is defined.
24516 Remove libc_fegetround* and libc_fesetround*.
24517 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24518 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24519 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24520 of HAS_YMM_USABLE.
24521 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24522 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24523 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24525 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24526
73139a76
UD
24527 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24528
d73f93a4
AZ
245292012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24530
24531 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24532 size is not set.
24533 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24534
6ee65ed6
UD
245352012-01-27 Ulrich Drepper <drepper@gmail.com>
24536
24537 [BZ #13618]
24538 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24539 relocation.
24540 * Makeconfig (libm): Define.
24541 * elf/Makefile: Add rules to build and run tst-relsort1.
24542 * elf/tst-relsort1.c: New file.
24543 * elf/tst-relsort1mod1.c: New file.
24544 * elf/tst-relsort1mod2.c: New file.
24545
8db21882
JM
245462012-01-27 Joseph Myers <joseph@codesourcery.com>
24547
24548 * math/s_ldexp.c: Remove __STDC__ conditionals.
24549 * math/s_ldexpf.c: Likewise.
24550 * math/s_ldexpl.c: Likewise.
24551 * math/s_nextafter.c: Likewise.
24552 * math/s_nexttowardf.c: Likewise.
24553 * math/s_significand.c: Likewise.
24554 * math/s_significandf.c: Likewise.
24555 * math/s_significandl.c: Likewise.
24556 * math/w_jnl.c: Likewise.
24557 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24558 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24559 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24560 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24561 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24576 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24577 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24578 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24579 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24580 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24581 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24582 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24585 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24586 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24587 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24588 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24589 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24591 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24592 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24593 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24594 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24595 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24597 * sysdeps/ieee754/k_standard.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24659 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24672 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24673 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24677 * sysdeps/ieee754/s_matherr.c: Likewise.
24678 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24679 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24680 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24681 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24682
965a54a4
JM
246832012-01-26 Joseph Myers <joseph@codesourcery.com>
24684
24685 * crypt/md5.h: Remove __STDC__ conditionals.
24686 * libio/libioP.h: Likewise.
24687 * locale/programs/config.h: Likewise.
24688 * sysdeps/generic/sysdep.h: Likewise.
24689 * sysdeps/i386/asm-syntax.h: Likewise.
24690 * sysdeps/s390/asm-syntax.h: Likewise.
24691 * sysdeps/unix/sysdep.h: Likewise.
24692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24694
7071ad79
JM
246952012-01-26 Joseph Myers <joseph@codesourcery.com>
24696
24697 * libio/libio.h: Remove __STDC__ conditionals.
24698 * malloc/obstack.h: Likewise.
24699 * math/complex.h: Likewise.
24700 * math/math.h: Likewise.
24701 * sysdeps/generic/_G_config.h: Likewise.
24702 * sysdeps/gnu/_G_config.h: Likewise.
24703 * sysdeps/mach/hurd/_G_config.h: Likewise.
24704 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24705 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24706 * sysdeps/sparc/bits/mathdef.h: Likewise.
24707
afc5ed09
UD
247082012-01-26 Ulrich Drepper <drepper@gmail.com>
24709
24710 [BZ #13583]
24711 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24712 Clean up HAS_* macros.
afc5ed09 24713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24714 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24715 possible.
24716 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24717 HAS_AVX.
24718 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24719 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24720 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24723
bdb6de1d
JM
247242012-01-25 Joseph Myers <joseph@codesourcery.com>
24725
24726 * elf/tst-unique3.cc (gets): Remove declaration.
24727 * elf/tst-unique3lib.cc (gets): Likewise.
24728 * elf/tst-unique3lib2.cc (gets): Likewise.
24729 * elf/tst-unique4.cc (gets): Likewise.
24730
b15549e6
UD
247312012-01-24 Ulrich Drepper <drepper@gmail.com>
24732
24733 * include/stdio.h: Add C++ protection. Add gets declarations and
24734 definitions.
24735 * debug/tst-chk1.c: Don't declare gets here.
24736 * stdio-common/tst-gets.c: Likewise.
24737
a037381f
JM
247382012-01-24 Joseph Myers <joseph@codesourcery.com>
24739
24740 * posix/glob: Remove directory.
24741
f1d4aa75
JM
247422012-01-24 Joseph Myers <joseph@codesourcery.com>
24743
24744 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24745
81c0c964
PT
247462012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24747
24748 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24749 of the non-standard EPFNOSUPPORT.
24750
0ea698ae
ST
247512011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24752
24753 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24754 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24755 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24756
d220b117
UD
247572012-01-21 Ulrich Drepper <drepper@gmail.com>
24758
24759 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24760
3e1aa84e
UD
247612012-01-20 Ulrich Drepper <drepper@gmail.com>
24762
24763 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24764 transient errors.
24765 * nscd/grpcache.c (cache_addgr): Likewise.
24766 * nscd/hstcache.c (cache_addhst): Likewise.
24767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24768 * nscd/pwdcache.c (cache_addpw): Likewise.
24769 * nscd/servicescache.c (cache_addserv): Likewise.
24770
400aa020
UD
247712012-01-16 Ulrich Drepper <drepper@gmail.com>
24772
d77e7869
UD
24773 * malloc/malloc.c: Various cleanups.
24774 * malloc/hooks.c: Likewise.
24775
400aa020
UD
24776 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24777 * stdlib/bug-fmtmsg1.c: New file.
24778
24779 * stdlib/fmtmsg.c (init): Add missing unlock.
24780 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24781
e0a309cf
MP
247822012-01-12 Marek Polacek <polacek@redhat.com>
24783
24784 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24785 and _GNU_SOURCE.
24786
929d11c7
WS
247872012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24788
24789 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24790 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24791 macro to ensure uniqueness of label name.
24792 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24793 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24794
41d0e869
UD
247952012-01-11 Ulrich Drepper <drepper@gmail.com>
24796
0cc5ed3b
UD
24797 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24798
41d0e869
UD
24799 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24800 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24803
a47a831a
UD
248042012-01-10 Ulrich Drepper <drepper@gmail.com>
24805
daa891c0
UD
24806 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24807
24808 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24809 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24810 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24811
e58ef0f2
UD
24812 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24813
a47a831a 24814 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24815 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24816 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24818
24819 * math/bits/math-finite.h: Add ldexp support.
24820
a0bfc9c7
MP
248212012-01-10 Marek Polacek <polacek@redhat.com>
24822
24823 * locale/programs/localedef.h (show_archive_content): Add noreturn
24824 attribute.
24825
d6e97a1d
UD
248262012-01-09 Ulrich Drepper <drepper@gmail.com>
24827
24828 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24829
d5835c26
UD
248302012-01-08 Ulrich Drepper <drepper@gmail.com>
24831
e5f484c6
UD
24832 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24833
d5835c26
UD
24834 * io/Makefile (headers): Add bits/poll2.h.
24835
d1f741e9
WS
248362011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24837
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24839 typo #include statement.
24840
ec09c1c4
UD
248412012-01-08 Ulrich Drepper <drepper@gmail.com>
24842
24843 * include/sys/cdefs.h: Define __attribute_alloc_size.
24844 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24845 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24846 * elf/pldd.c: Likewise.
24847 * iconv/iconv_charmap.c: Likewise.
24848 * iconv/iconvconfig.c: Likewise.
24849 * iconv/strtab.c: Likewise.
24850 * locale/programs/locale.c: Likewise.
24851 * locale/programs/localedef.h: Likewise.
24852 * locale/programs/simple-hash.c: Likewise.
24853 * nscd/nscd.h: Likewise.
24854 * nss/makedb.c: Likewise.
24855 * sysdeps/generic/ldconfig.h: Likewise.
24856 * locale/programs/localedef.c: Remove xmalloc prototype.
24857 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24858
20b38e03
PP
248592012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24860
24861 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24862 appropriate.
24863
a0da5fe1
UD
248642012-01-08 Ulrich Drepper <drepper@gmail.com>
24865
1d5a644a 24866 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24867 * math/tst-CMPLX.c: New file.
1d5a644a 24868
8784a6db
UD
24869 * math/complex.h (CMPLXL): Fix typo.
24870
d9a216c0
UD
24871 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24872 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24873 GLIBC_2.16.
24874 * debug/tst-chk1.c: Add poll and ppoll tests.
24875 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24876 * include/sys/poll.h: Add hidden proto for ppoll.
24877 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24878 * sysdeps/mach/hurd/ppoll.c: Likewise.
24879 * io/ppoll.c: Likewise.
24880 * debug/poll_chk.c: New file.
24881 * debug/ppoll_chk.c: New file.
24882 * include/bits/poll2.h: New file.
24883 * io/bits/poll2.h: New file.
24884
ac097f5c
UD
24885 [BZ #1350]
24886 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24887
2119dcfa
UD
24888 * configure.in: static is always set to yes. Remove.
24889 * config.make.in: Don't set build-static.
24890 * Makeconfig: Remove use of build-static.
24891 * dlfcn/Makefile: Likewise.
24892 * elf/Makefile: Likewise.
24893 * math/Makefile: Likewise.
24894 * misc/Makefile: Likewise.
24895 * nptl/Makefile: Likewise.
24896 * sysdeps/mach/hurd/Makefile: Likewise.
24897
121766a9
UD
24898 * configure.in: PWD_P is not used anymore.
24899 * config.make.in: Remove PWD_P entry.
24900
51a1d39c 24901 * configure.in: Remove last remnants of RANLIB.
8720d066 24902 No need to check for signed size_t anymore.
215f4bdc
UD
24903 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24904 and IA-64.
3857022a 24905 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24906 * aclocal.m4: Likewise.
24907
d3ed7225
UD
24908 * wcsmbs/mbrtoc16.c: Implement using towc function.
24909 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24910 * wcsmbs/wcsmbsload.c: Likewise.
24911 * iconv/gconv_simple.c: Likewise.
24912 * iconv/gconv_int.h: Likewise.
24913 * iconv/gconv_builtin.h: Likewise.
24914 * iconv/iconv_prog.c: Remove CHAR16 handling.
24915
24916 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24917
24918 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24919
a0da5fe1
UD
24920 * configure.in: Remove --with-elf and --enable-bounded options.
24921 Dont set base_machine for ia64. More non-ELF conditions removed.
24922 Remove testing and setting of leading underscore information.
24923 * config.make.in (build-bounded): Set to no.
24924 * config.h.in: Remove NO_UNDERSCORES entry.
24925 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24926 them.
24927 * csu/start.c: Remove !NO_UNDERSCORE code.
24928 * locale/localeinfo.h: Likewise.
24929 * sysdeps/generic/machine-gmon.h: Likewise.
24930 * sysdeps/generic/sysdep.h: Likewise.
24931 * sysdeps/i386/sysdep.h: Likewise.
24932 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24933 * sysdeps/mach/sysdep.h: Likewise.
24934 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24936 * sysdeps/sh/sysdep.h: Likewise.
24937 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24938 * sysdeps/unix/i386/sysdep.S: Likewise.
24939 * sysdeps/unix/sparc/start.c: Likewise.
24940 * sysdeps/unix/sparc/sysdep.S: Likewise.
24941 * sysdeps/unix/sparc/sysdep.h: Likewise.
24942 * sysdeps/unix/start.c: Likewise.
24943 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24944 * sysdeps/x86_64/sysdep.h: Likewise.
24945
df78418a
UD
249462012-01-07 Ulrich Drepper <drepper@gmail.com>
24947
a784e502
UD
24948 [BZ #13553]
24949 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24950 for non-gcc.
24951 * argp/argp-fmtstream.h: Use const instead __const.
24952 * argp/argp.h: Likewise.
24953 * assert/assert.h: Likewise.
24954 * bits/fenv.h: Likewise.
24955 * bits/sched.h: Likewise.
24956 * bits/sigset.h: Likewise.
24957 * bits/sigthread.h: Likewise.
24958 * catgets/nl_types.h: Likewise.
24959 * conform/data/pthread.h-data: Likewise.
24960 * crypt/crypt-private.h: Likewise.
24961 * crypt/crypt.h: Likewise.
24962 * crypt/crypt_util.c: Likewise.
24963 * ctype/ctype.h: Likewise.
24964 * debug/execinfo.h: Likewise.
24965 * debug/mbsnrtowcs_chk.c: Likewise.
24966 * debug/mbsrtowcs_chk.c: Likewise.
24967 * debug/wcsnrtombs_chk.c: Likewise.
24968 * debug/wcsrtombs_chk.c: Likewise.
24969 * debug/wcstombs_chk.c: Likewise.
24970 * dirent/dirent.h: Likewise.
24971 * dlfcn/dlfcn.h: Likewise.
24972 * elf/neededtest4.c: Likewise.
24973 * grp/grp.h: Likewise.
24974 * gshadow/gshadow.h: Likewise.
24975 * iconv/gconv.h: Likewise.
24976 * iconv/gconv_int.h: Likewise.
24977 * iconv/gconv_simple.c: Likewise.
24978 * iconv/iconv.h: Likewise.
24979 * iconv/loop.c: Likewise.
24980 * iconv/skeleton.c: Likewise.
24981 * include/aio.h: Likewise.
24982 * include/aliases.h: Likewise.
24983 * include/argz.h: Likewise.
24984 * include/arpa/inet.h: Likewise.
24985 * include/assert.h: Likewise.
24986 * include/dirent.h: Likewise.
24987 * include/dlfcn.h: Likewise.
24988 * include/execinfo.h: Likewise.
24989 * include/fcntl.h: Likewise.
24990 * include/fenv.h: Likewise.
24991 * include/glob.h: Likewise.
24992 * include/grp.h: Likewise.
24993 * include/libintl.h: Likewise.
24994 * include/mntent.h: Likewise.
24995 * include/netdb.h: Likewise.
24996 * include/pwd.h: Likewise.
24997 * include/rpc/netdb.h: Likewise.
24998 * include/sched.h: Likewise.
24999 * include/search.h: Likewise.
25000 * include/shadow.h: Likewise.
25001 * include/signal.h: Likewise.
25002 * include/stdio.h: Likewise.
25003 * include/stdlib.h: Likewise.
25004 * include/string.h: Likewise.
25005 * include/sys/socket.h: Likewise.
25006 * include/sys/stat.h: Likewise.
25007 * include/sys/statfs.h: Likewise.
25008 * include/sys/statvfs.h: Likewise.
25009 * include/sys/syslog.h: Likewise.
25010 * include/sys/time.h: Likewise.
25011 * include/sys/uio.h: Likewise.
25012 * include/time.h: Likewise.
25013 * include/unistd.h: Likewise.
25014 * include/utmp.h: Likewise.
25015 * include/wchar.h: Likewise.
25016 * include/wctype.h: Likewise.
25017 * inet/aliases.h: Likewise.
25018 * inet/arpa/inet.h: Likewise.
25019 * inet/netinet/ether.h: Likewise.
25020 * inet/netinet/in.h: Likewise.
25021 * intl/libintl.h: Likewise.
25022 * io/bits/fcntl2.h: Likewise.
25023 * io/fcntl.h: Likewise.
25024 * io/ftw.h: Likewise.
25025 * io/sys/poll.h: Likewise.
25026 * io/sys/stat.h: Likewise.
25027 * io/sys/statfs.h: Likewise.
25028 * io/sys/statvfs.h: Likewise.
25029 * io/utime.h: Likewise.
25030 * libio/bits/stdio.h: Likewise.
25031 * libio/bits/stdio2.h: Likewise.
25032 * libio/libio.h: Likewise.
25033 * libio/libioP.h: Likewise.
25034 * libio/stdio.h: Likewise.
25035 * locale/lc-ctype.c: Likewise.
25036 * locale/locale.h: Likewise.
25037 * login/utmp.h: Likewise.
25038 * malloc/arena.c: Likewise.
25039 * malloc/malloc.c: Likewise.
25040 * malloc/malloc.h: Likewise.
25041 * malloc/mcheck.c: Likewise.
25042 * malloc/mtrace.c: Likewise.
25043 * math/bits/mathcalls.h: Likewise.
25044 * math/fenv.h: Likewise.
25045 * math/math_private.h: Likewise.
25046 * misc/bits/error.h: Likewise.
25047 * misc/bits/syslog.h: Likewise.
25048 * misc/err.h: Likewise.
25049 * misc/error.h: Likewise.
25050 * misc/fstab.h: Likewise.
25051 * misc/mntent.h: Likewise.
25052 * misc/regexp.h: Likewise.
25053 * misc/search.h: Likewise.
25054 * misc/sgtty.h: Likewise.
25055 * misc/sys/mman.h: Likewise.
25056 * misc/sys/syslog.h: Likewise.
25057 * misc/sys/uio.h: Likewise.
25058 * misc/sys/xattr.h: Likewise.
25059 * misc/ttyent.h: Likewise.
25060 * nis/rpcsvc/ypclnt.h: Likewise.
25061 * nss/nss.h: Likewise.
25062 * posix/bits/unistd.h: Likewise.
25063 * posix/fnmatch.h: Likewise.
25064 * posix/glob.h: Likewise.
25065 * posix/sched.h: Likewise.
25066 * posix/spawn.h: Likewise.
25067 * posix/sys/wait.h: Likewise.
25068 * posix/unistd.h: Likewise.
25069 * posix/wordexp.h: Likewise.
25070 * pwd/pwd.h: Likewise.
25071 * resolv/netdb.h: Likewise.
25072 * resource/sys/resource.h: Likewise.
25073 * rt/aio.h: Likewise.
25074 * rt/bits/mqueue2.h: Likewise.
25075 * rt/mqueue.h: Likewise.
25076 * shadow/shadow.h: Likewise.
25077 * signal/signal.h: Likewise.
25078 * socket/send.c: Likewise.
25079 * socket/sendto.c: Likewise.
25080 * socket/sys/socket.h: Likewise.
25081 * stdio-common/printf.h: Likewise.
25082 * stdlib/bits/stdlib.h: Likewise.
25083 * stdlib/fmtmsg.h: Likewise.
25084 * stdlib/monetary.h: Likewise.
25085 * stdlib/stdlib.h: Likewise.
25086 * stdlib/ucontext.h: Likewise.
25087 * streams/stropts.h: Likewise.
25088 * string/argz.h: Likewise.
25089 * string/bits/string2.h: Likewise.
25090 * string/string.h: Likewise.
25091 * string/strings.h: Likewise.
25092 * sunrpc/rpc/auth.h: Likewise.
25093 * sunrpc/rpc/auth_des.h: Likewise.
25094 * sunrpc/rpc/clnt.h: Likewise.
25095 * sunrpc/rpc/netdb.h: Likewise.
25096 * sunrpc/rpc/pmap_clnt.h: Likewise.
25097 * sunrpc/rpc/xdr.h: Likewise.
25098 * sysdeps/generic/inttypes.h: Likewise.
25099 * sysdeps/generic/net/if.h: Likewise.
25100 * sysdeps/generic/sys/swap.h: Likewise.
25101 * sysdeps/gnu/net/if.h: Likewise.
25102 * sysdeps/gnu/utmpx.h: Likewise.
25103 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25104 * sysdeps/i386/i486/bits/string.h: Likewise.
25105 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25106 * sysdeps/s390/bits/string.h: Likewise.
25107 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25108 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25109 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25110 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25111 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25112 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25113 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25114 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25115 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25116 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25117 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25118 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25119 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25120 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25121 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25122 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25123 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25125 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25126 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25127 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25128 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25129 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25130 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25131 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25132 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25133 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25134 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25135 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25136 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25137 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25138 * sysvipc/sys/ipc.h: Likewise.
25139 * sysvipc/sys/msg.h: Likewise.
25140 * sysvipc/sys/sem.h: Likewise.
25141 * sysvipc/sys/shm.h: Likewise.
25142 * termios/termios.h: Likewise.
25143 * time/sys/time.h: Likewise.
25144 * time/time.h: Likewise.
25145 * wcsmbs/bits/wchar2.h: Likewise.
25146 * wcsmbs/uchar.h: Likewise.
25147 * wcsmbs/wchar.h: Likewise.
25148 * wctype/wctype.h: Likewise.
25149
0269750c
UD
25150 [BZ #13551]
25151 * Makeconfig: Remove all but ELF support including AIX support.
25152 * Makerules: Likewise.
25153 * config.h.in: Likewise.
25154 * config.make.in: Likewise.
25155 * configure: Likewise.
25156 * configure.in: Likewise.
25157 * csu/Makefile: Likewise.
25158 * csu/version.c: Likewise.
25159 * debug/Makefile: Likewise.
25160 * dlfcn/Makefile: Likewise.
25161 * elf/Makefile: Likewise.
25162 * extra-lib.mk: Likewise.
25163 * iconv/Makefile: Likewise.
25164 * include/libc-symbols.h: Likewise.
25165 * include/shlib-compat.h: Likewise.
25166 * resolv/Makefile: Likewise.
25167 * resolv/res_libc.c: Likewise.
25168 * rt/Makefile: Likewise.
25169 * sysdeps/i386/asm-syntax.h: Likewise.
25170 * sysdeps/i386/sysdep.h: Likewise.
25171 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25172 * sysdeps/mach/sysdep.h: Likewise.
25173 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25174 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25175 * sysdeps/s390/asm-syntax.h: Likewise.
25176 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25178 * sysdeps/sh/sysdep.h: Likewise.
25179 * sysdeps/unix/sparc/sysdep.h: Likewise.
25180 * sysdeps/wordsize-32/divdi3.c: Likewise.
25181 * sysdeps/x86_64/sysdep.h: Likewise.
25182
00bbd29b
UD
25183 * argp/Versions: Remove _argp_unlock_xxx.
25184
25185 [BZ #13559]
25186 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25187 * abilist/libBrokenLocale.abilist: Likewise.
25188 * abilist/libanl.abilist: Likewise.
25189 * abilist/libc.abilist: Likewise.
25190 * abilist/libcrypt.abilist: Likewise.
25191 * abilist/libdl.abilist: Likewise.
25192 * abilist/libm.abilist: Likewise.
25193 * abilist/libnsl.abilist: Likewise.
25194 * abilist/libpthread.abilist: Likewise.
25195 * abilist/libresolv.abilist: Likewise.
25196 * abilist/librt.abilist: Likewise.
25197 * abilist/libthread_db.abilist: Likewise.
25198 * abilist/libutil.abilist: Likewise.
25199 * abilist/libnss_db.abilist: New file.
25200
25201 * scripts/abilist.awk: Add support for indirect functions.
25202
a2693a0e
UD
25203 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25204
3f05895f
UD
25205 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25206
ecb6fb48
UD
25207 * shlib-versions: Remove entries for ports architectures.
25208
664f8cb9
UD
25209 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25210 files in ports.
25211 * elf/stackguard-macros.h: Remove support for IA-64.
25212 * elf/tst-auditmod1.c: Likewise.
25213 * sysdeps/generic/ldsodefs.h: Likewise.
25214
7ae81d88
UD
25215 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25216 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25217 configure files.
25218
bdeba135
UD
25219 [BZ #13552]
25220 * configure.in: Remove --enable-omitfp support.
25221 * FAQ.in: Adjust.
25222 * config.make.in: Likewise.
25223 * Makeconfig: Likewise.
25224 * manual/install.texi: Likewise.
25225
d75a0a62
UD
25226 In case anyone cares, the IA-64 architecture could move to ports.
25227 * sysdeps/ia64/*: Removed.
25228 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25229 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25230
dcc9756b
UD
25231 [BZ #13555]
25232 * configure.in: Remove entries for unsupported architectures.
25233
d3761ebc 25234 [BZ #13533]
9954432e
UD
25235 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25236 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25237 routines.
25238 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25239 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25240 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25241 fall back to using wcrtomb.
25242 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25243 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25244 renaming.
25245 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25246 * wcsmbs/tst-c16c32-1.c: New file.
25247
25248 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25249 local variable.
25250
c3a87236
UD
25251 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25252
28926a1b
UD
25253 * elf/tst-unique3.cc: Add explicit declaration of gets.
25254 * elf/tst-unique3lib.cc: Likewise.
25255 * elf/tst-unique3lib2.cc: Likewise.
25256 * elf/tst-unique4.cc: Likewise.
25257
df78418a
UD
25258 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25259
8ecd6b2a
JM
252602012-01-06 Joseph Myers <joseph@codesourcery.com>
25261
25262 [BZ #13566]
25263 * assert/assert.h (static_assert): Don't define for C++.
25264 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25265 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25266
9f115170
UD
252672012-01-03 Ulrich Drepper <drepper@gmail.com>
25268
5e0d0300
UD
25269 * iconv/loop.c (single loop): Fix assertion in storing of
25270 remaining bytes.
25271
9f115170
UD
25272 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25273
81fb02b0
UD
252742012-01-01 Ulrich Drepper <drepper@gmail.com>
25275
25276 * posix/getconf.c: Update copyright year.
25277 * nss/getent.c: Likewise.
a316c1f6 25278 * nss/makedb.c: Likewise.
81fb02b0
UD
25279 * iconv/iconvconfig.c: Likewise.
25280 * iconv/iconv_prog.c: Likewise.
25281 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25282 * elf/pldd.c: Likewise.
25283 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25284 * catgets/gencat.c: Likewise.
25285 * csu/version.c: Likewise.
25286 * elf/ldd.bash.in: Likewise.
25287 * elf/sprof.c (print_version): Likewise.
25288 * locale/programs/locale.c: Likewise.
25289 * locale/programs/localedef.c: Likewise.
a316c1f6 25290 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25291 * nscd/nscd.c (print_version): Likewise.
25292 * debug/xtrace.sh: Likewise.
25293 * malloc/memusage.sh: Likewise.
25294 * malloc/mtrace.pl: Likewise.
25295 * debug/catchsegv.sh: Likewise.
25296
2ba92745
JJ
252972011-12-30 Jakub Jelinek <jakub@redhat.com>
25298
25299 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25300 pure attribute.
25301
dadebdae
UD
253022011-12-24 Ulrich Drepper <drepper@gmail.com>
25303
d3761ebc 25304 [BZ #13533]
db6af3eb
UD
25305 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25306 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25307 transformations.
25308 * iconv/gconv_int.h: Likewise.
25309 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25310 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25311 from libc for GLIBC_2.16.
25312 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25313 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25314 * wcsmbs/uchar.h: Really define mbstate_t.
25315 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25316 * wcsmbs/c16rtomb.c: New file.
25317 * wcsmbs/mbrtoc16.c: New file.
25318 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25319 for C/POSIX locale.
25320 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25321 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25322
dadebdae
UD
25323 * wcsmbs/wchar.h: Add missing __restrict.
25324
67371b56
UD
253252011-12-23 Ulrich Drepper <drepper@gmail.com>
25326
74033a25
UD
25327 [BZ #13532]
25328 * time/Makefile (routines): Add timespec_get.
25329 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25330 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25331 timespec for ISO C11.
25332 * time/timespec_get.c: New file.
25333 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25334 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25335
380d7e87
UD
25336 [BZ #13531]
25337 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25338 * stdlib/stdlib.h: Declare aligned_alloc.
25339 * Versions.def: Add GLIBC_2.16 for libc.
25340 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25341
4e9e7a35
UD
25342 [BZ 13527]
25343 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25344 ISO C11.
25345
380d7e87 25346 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25347 code.
25348
03a71829
UD
25349 [BZ #13528]
25350 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25351
839e283e
UD
25352 [BZ #13529]
25353 * assert/assert.h (static_assert): Define.
25354
ce5294e2 25355 * version.h: Update for 2.16 development version.
90fa7312 25356
8d44e150 25357 [BZ #13526]
d7809905
UD
25358 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25359 _ISOC11_SOURCE.
25360
c0da14cd
UD
25361 * version.h (RELEASE): Bump for 2.15 release.
25362 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25363
530a3249
MP
25364 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25365 Patch by Marek Polacek <mpolacek@redhat.com>.
25366
67371b56
UD
25367 * bits/byteswap.h: Protect long long constants with __extension__.
25368 * sysdeps/i386/bits/byteswap.h: Likewise.
25369 * sysdeps/ia64/bits/byteswap.h: Likewise.
25370 * sysdeps/s390/bits/byteswap.h: Likewise.
25371 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25372
15db4de1
LD
253732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25374
25375 [BZ #13540]
bbe315ea
LD
25376 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25377 destination buffer.
15db4de1
LD
25378 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25379
2b2596b1
MP
253802011-12-23 Marek Polacek <polacek@redhat.com>
25381
25382 * elf/dl-addr.c (determine_info): Add inline keyword.
25383 * elf/tst-auditmod4b.c (check_avx): Likewise.
25384 * elf/tst-auditmod6b.c (check_avx): Likewise.
25385 * elf/tst-auditmod6c.c (check_avx): Likewise.
25386 * elf/tst-auditmod7b.c (check_avx): Likewise.
25387
70c6c246
UD
253882011-12-23 Ulrich Drepper <drepper@gmail.com>
25389
25390 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25391 !__SSE_MATH__.
25392
c044cf14
LD
253932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25394
15db4de1 25395 [BZ #13540]
c044cf14
LD
25396 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25397 processing for last bytes.
25398
6b13d9d9
BH
253992011-08-06 Bruno Haible <bruno@clisp.org>
25400
d455f537
BH
25401 [BZ #13061]
25402 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25403 U+0385, not to U+1FEE.
25404
6b13d9d9
BH
25405 [BZ #13062]
25406 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25407 entry for U+00A5 U+0301.
25408
db910efd
UD
254092011-12-22 Ulrich Drepper <drepper@gmail.com>
25410
27deeafc
UD
25411 [BZ #13166]
25412 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25413 buffer for the output is too small.
25414
aed9d171
UD
25415 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25416 optimization.
25417
db910efd
UD
25418 [BZ #13185]
25419 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25420 SSE flags if possible.
25421
2bd779ae
LD
254222011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25423
e7f9dac3 25424 [BZ #13540]
2bd779ae
LD
25425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25426 processing for last bytes.
25427
154bfc16
JM
254282011-12-22 Joseph Myers <joseph@codesourcery.com>
25429
25430 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25431 (syscall-list-default-options, syscall-list-default-condition)
25432 (syscall-list-includes): Define.
25433 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25434 list of ABIs and options and #if conditions for each ABI. Do not
25435 handle common syscalls between ABIs specially.
25436 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25437 Remove.
25438 (syscall-list-variants, syscall-list-32bit-options)
25439 (syscall-list-32bit-condition, syscall-list-64bit-options)
25440 (syscall-list-64bit-condition): Define.
25441 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25442 (syscall-list-variants, syscall-list-32bit-options)
25443 (syscall-list-32bit-condition, syscall-list-64bit-options)
25444 (syscall-list-64bit-condition): Define.
25445 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25446 Remove.
25447 (syscall-list-variants, syscall-list-32bit-options)
25448 (syscall-list-32bit-condition, syscall-list-64bit-options)
25449 (syscall-list-64bit-condition): Define.
25450 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25451 Remove.
25452 (syscall-list-variants, syscall-list-32bit-options)
25453 (syscall-list-32bit-condition, syscall-list-64bit-options)
25454 (syscall-list-64bit-condition): Define.
25455
21eaf3a5
UD
254562011-12-22 Ulrich Drepper <drepper@gmail.com>
25457
16c6f992
UD
25458 * locale/iso-639.def: Add brx entry.
25459
41043168
UD
25460 [BZ #13328]
25461 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25462 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25463
21eaf3a5
UD
25464 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25465 __feraiseexcept_renamed.
25466
e3a851a2
UD
254672011-12-21 Ulrich Drepper <drepper@gmail.com>
25468
4920765e
UD
25469 [BZ #13538]
25470 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25471 EPOLLET with unsigned values.
25472 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25473 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25474
e3a851a2
UD
25475 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25476 to large cancellation.
25477 * math/s_cacoshf.c: Likewise.
25478 * math/s_cacoshl.c: Likewise.
25479
b27e24b8
RK
254802011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25481
25482 [BZ #13305]
aebefeee 25483 [BZ #12786]
b27e24b8
RK
25484 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25485 * math/s_cacoshf.c: Likewise.
25486 * math/s_cacoshl.c: Likewise.
25487
ee190f67
UD
254882011-12-21 Ulrich Drepper <drepper@gmail.com>
25489
25490 [BZ #13439]
25491 * iconv/gconv.h: Define __GCONV_SWAP.
25492 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25493 * iconvdata/utf-16.c: Likewise.
25494 * iconvdata/utf-32.c: Likewise.
25495
707f25df
AS
254962011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25497
25498 [BZ #13524]
25499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25500 numerator after shifting it by one limb.
25501
d2daaa1e
RÁE
255022011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25503
25504 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25505 under [__USE_EXTERN_INLINES].
25506
a4647e72
UD
255072011-12-17 Ulrich Drepper <drepper@gmail.com>
25508
25509 [BZ #13446]
25510 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25511
f0b264f1
AZ
255122011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25513
25514 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25515 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25516 optimized code.
25517 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25518 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25519 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25520 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25521 for strncasecmp/strncasecmp_l compilation.
25522 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25523 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25524
8ef4f244
MP
255252011-12-08 Marek Polacek <mpolacek@redhat.com>
25526
25527 [BZ #13484]
25528 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25529 of __asm__.
25530
97ac2654
UD
255312011-12-17 Ulrich Drepper <drepper@gmail.com>
25532
25533 [BZ #13506]
25534 * time/tzfile.c (__tzfile_read): Check values from file header.
25535
91d2a845
WS
255362011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25537
25538 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25539 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25540 * powerpc/powerpc32/dl-start.S: Likewise.
25541 * powerpc/powerpc32/elf/start.S: Likewise.
25542 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25543 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25544 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25545 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25546 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25547 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25548 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25549 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25550 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25551 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25552 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25553 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25554 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25555 * powerpc/powerpc32/memset.S: Likewise.
25556 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25557 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25558 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25559 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25560 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25561 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25562 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25563 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25564 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25565 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25566 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25567 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25568 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25569
a1267ba1
AZ
255702011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25571
25572 * math/libm-test.inc: Added more nearbyint tests.
25573 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25574 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25575 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25576 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25577
ad8ac1bd
RL
255782011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25579
25580 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25581 FD_CLOEXEC.
25582
1d3e4b61
UD
255832011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25584
25585 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25586 Add wcscpy-ssse3 wcscpy-c.
25587 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25588 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25589 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25590 * sysdeps/x86_64/wcschr.S: New file.
25591 * sysdeps/x86_64/wcsrchr.S: New file.
25592 * string/test-strcmp.c: Remove checking of wcscmp function for
25593 wrong alignments.
25594 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25595 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25596 wcsrchr-sse2 wcsrchr-c.
25597 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25598 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25599 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25600 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25601 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25602 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25603 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25604 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25605 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25606 * wcsmbc/wcschr.c (WCSCHR): New macro.
25607
5b330a2d
UD
256082011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25609
25610 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25611 * wcsmbs/test-wcsrchr.c: New file.
25612 * string/test-strrchr.c: Add wcsrchr support.
25613 (WIDE): New macro.
25614 * wcsmbs/test-wcscpy.c: New file.
25615 * string/test-strcpy.c: Add wcscpy support.
25616 (WIDE): New macro.
26428b7c 25617
f039c043
UD
256182011-12-10 Ulrich Drepper <drepper@gmail.com>
25619
25620 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25621 the inner loop.
25622
850fb039
AS
256232011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25624
25625 [BZ #13472]
25626 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25627
4efbd5cb
UD
256282011-12-04 Ulrich Drepper <drepper@gmail.com>
25629
52ff5dd0 25630 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25631 Minor optimizations.
52ff5dd0 25632
4efbd5cb
UD
25633 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25634 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25635 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25636
8a426e12
UD
256372011-12-03 Ulrich Drepper <drepper@gmail.com>
25638
aff2453d
UD
25639 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25640 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25641 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25642 for gcc to avoid warnings.
25643 * inet/Makefile (tests): Add tst-checks.
25644 * inet/tst-checks.c: New file.
25645
25646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25647 warning.
25648
25649 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25650 __wmemcmp_sse2.
25651
25652 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25653 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25654
8a426e12
UD
25655 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25656
9bea3473
UD
256572011-12-02 Ulrich Drepper <drepper@gmail.com>
25658
3a965496
UD
25659 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25660 problem.
25661
9bea3473
UD
25662 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25663
f101631b
UD
256642011-11-29 Joseph Myers <joseph@codesourcery.com>
25665
25666 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25667 conditional on GCC version.
25668 (__arch_compare_and_exchange_val_8_acq)
25669 (__arch_compare_and_exchange_val_16_acq)
25670 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25671 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25672 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25673
a98275aa
UD
256742011-12-02 Joseph Myers <joseph@codesourcery.com>
25675
25676 * sysdeps/sh/backtrace.c: New file.
25677
d4cc29a2
AS
256782011-12-02 Andreas Schwab <schwab@redhat.com>
25679
25680 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25681 parenthesis.
25682
6257af2d
AS
256832011-12-01 Andreas Schwab <schwab@redhat.com>
25684
25685 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25686 falling back to utime.
25687
b5f44c1a
AS
256882011-11-30 Andreas Schwab <schwab@redhat.com>
25689
25690 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25691 expectations for float.
25692
f3a6cc0a
AS
256932011-11-29 Andreas Schwab <schwab@redhat.com>
25694
25695 * locale/weight.h (findidx): Add parameter len.
25696 * locale/weightwc.h (findidx): Likewise.
25697 * posix/fnmatch_loop.c (FCT): Adjust caller.
25698 * posix/regcomp.c (build_equiv_class): Likewise.
25699 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25700 * posix/regexec.c (check_node_accept_bytes): Likewise.
25701 * string/strcoll_l.c (STRCOLL): Likewise.
25702 * string/strxfrm_l.c (STRXFRM): Likewise.
25703
9d65ea3a
UD
257042011-11-17 Ulrich Drepper <drepper@gmail.com>
25705
25706 * Makefile.in: Remove CVSOPT handling.
25707 * configure.in: Remove use of AC_REVISION.
25708 * iconvdata/Makefile (distribute): No need to filter out CVS.
25709 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25710 handling.
25711
5583a086
AS
257122011-11-16 Andreas Schwab <schwab@redhat.com>
25713
25714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25715 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25716 [USE_AS_STRNCASECMP_L]: Likewise.
25717 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25718 NO_TLS_DIRECT_SEG_REFS.
25719 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25720 Fix argument offsets for non-PIC.
25721 [USE_AS_STRNCASECMP_L]: Likewise.
25722 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25723 NO_TLS_DIRECT_SEG_REFS.
25724
d62a8200
UD
257252011-11-15 Ulrich Drepper <drepper@gmail.com>
25726
9d65ea3a 25727 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25728 O_CLOEXEC.
25729 * locale/loadlocale.c (_nl_load_locale): Likewise.
25730
09f93bd3
AS
257312011-11-15 Andreas Schwab <schwab@redhat.com>
25732
446514f9
AS
25733 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25734 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25735 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25736 (SYSCALL_GETTIME): Set errno on error.
25737
09f93bd3
AS
25738 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25739 count references to noai6ai_cached.
25740
312be3f9
UD
257412011-11-15 Ulrich Drepper <drepper@gmail.com>
25742
25743 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25744
25745 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25746 FD_CLOEXEC for /proc/self/maps.
25747
25748 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25749 FD_CLOEXEC for /proc/meminfo.
25750
25751 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25752 gai.conf.
25753
25754 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25755 FD_CLOEXEC for given file.
25756
25757 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25758
25759 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25760 FD_CLOEXEC for /etc/hosts.
25761 (_gethtent): Likewise.
25762
25763 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25764
25765 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25766 cancellation and set FD_CLOEXEC for /etc/netgroup.
25767
25768 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25769 reading /etc/publickey.
25770
25771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25772 allow cancellation when reading /etc/group.
25773
25774 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25775 cancellation.
25776 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25777
25778 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25779 when using data file.
25780
25781 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25782
25783 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25784 (write_nis_obj): Use "c" and "e" in fopen.
25785
25786 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25787
25788 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25789
25790 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25791
25792 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25793
25794 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25795 locale.alias.
25796
25797 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25798
25799 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25800
25801 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25802
25803 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25804 file parsing and set FD_CLOEXEC.
25805
82af0fa8
UD
258062011-11-14 Ulrich Drepper <drepper@gmail.com>
25807
25808 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25809
a5fb313c
AS
258102011-11-14 Andreas Schwab <schwab@redhat.com>
25811
25812 * malloc/arena.c (arena_get2): Don't call reused_arena when
25813 _int_new_arena failed.
25814
6abf3465
UD
258152011-11-14 Ulrich Drepper <drepper@gmail.com>
25816
25817 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25818 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25819 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25820 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25821 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25823 to compile strcasecmp and strncasecmp.
25824 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25825 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25826
25827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25828
76e3966e
UD
258292011-11-13 Ulrich Drepper <drepper@gmail.com>
25830
25831 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25832 locale-defines.sym to gen-as-const-headers.
25833 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25834 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25836 to compile strcasecmp and strncasecmp.
25837 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25838 strcasecmp_l and strncasecmp_l.
25839 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25840 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25841 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25842 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25843 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25844 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25845 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25846 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25847 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25848 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25849 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25850
ab26144e
UD
258512011-11-12 Ulrich Drepper <drepper@gmail.com>
25852
7edb22ef
UD
25853 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25854 result of SYSDEP_GETTIME_CPU to retval.
25855 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25856 parameter list to macro. Remove trailing semicolon. Adjust users.
25857
9694fc44
UD
25858 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25859 variable.
25860
8ad89ef8
UD
25861 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25862 mantissa words.
25863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25864
0c822ef9
UD
25865 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25866 from unused variable.
25867
874e0564
UD
25868 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25869 DWARF definitions.
25870 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25871 for assembling.
25872
3a2edc79
UD
25873 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25874 over namespaces.
25875
f3c2577f
UD
25876 * sunrpc/rpc_prot.c (rejected): Fix case value.
25877
294ce126
UD
25878 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25879 unsigned long long int to avoid warnings in shift.
25880
5e2b63c6
UD
25881 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25882 of use of trans.
25883 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25884 variable tmp.
25885
e7f4b08e
UD
25886 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25887 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25888 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25889
ab26144e
UD
25890 * nis/nis_table.c (nis_list): Use variable of correct type for
25891 result of __follow_path call.
25892
8a6d5255
AZ
258932011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25894
25895 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25896 of math functions ceil, trunc, floor, round, and sqrt, when
25897 avaliable on the platform.
25898 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25899 name clash.
25900 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25901 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25902 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25903
aaddc98c
MP
259042011-10-30 Marek Polacek <mpolacek@redhat.com>
25905
25906 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25908
95b7042b
RM
259092011-11-11 Roland McGrath <roland@hack.frob.com>
25910
25911 * include/unistd.h: Fix __readlink return type.
25912 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25913
57769839
UD
259142011-11-11 Ulrich Drepper <drepper@gmail.com>
25915
25916 * stdlib/ucontext.h: Undo last change for makecontext.
25917
edc5984d
AS
259182011-11-11 Andreas Schwab <schwab@redhat.com>
25919
98591e58
AS
25920 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25921
edc5984d
AS
25922 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25923 * setjmp/setjmp.h: Mark functions as non-leaf.
25924 * setjmp/bits/setjmp2.h: Likewise.
25925 * stdlib/ucontext.h: Likewise.
25926
77cdc054
AS
259272011-11-10 Andreas Schwab <schwab@redhat.com>
25928
25929 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25930 (reused_arena): Don't check arena limit.
25931 (arena_get2): Atomically check arena limit.
25932
fe72eebd
UD
259332011-11-08 Ulrich Drepper <drepper@gmail.com>
25934
5f078c32
UD
25935 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25936 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25937
fe72eebd
UD
25938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25939 instructions.
25940
ae1bc2fa
AS
259412011-11-07 Andreas Schwab <schwab@redhat.com>
25942
7583a88d
AS
25943 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25944 handler when locking.
25945
ae1bc2fa
AS
25946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25947 Fix size of allocated buffer.
25948
10fb0bfa
AS
259492011-11-04 Andreas Schwab <schwab@redhat.com>
25950
998832a4
AS
25951 [BZ #10103]
25952 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25953 declarations for long double functions.
25954 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25955
10fb0bfa
AS
25956 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25957
3d7ba52b
AS
259582011-11-03 Andreas Schwab <schwab@redhat.com>
25959
a9ae54a1
AS
25960 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25961 installed.
25962
3d7ba52b
AS
25963 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25964 is disabled.
25965
bc8db248
ST
259662011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25967
25968 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25969
45b96dd6
AS
259702011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25971
647776f6
AS
25972 * include/alloca.h (stackinfo_alloca_round): Define.
25973 (extend_alloca): Use it.
25974 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25975 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25976 here.
25977
d91a8b93
AS
25978 * scripts/check-local-headers.sh: Ignore libaudit.h.
25979
45b96dd6
AS
25980 * nscd/Makefile (extra-objs): Make recursively expanded.
25981
432d41ce
UD
259822011-11-01 Ulrich Drepper <drepper@gmail.com>
25983
34372fc6
UD
25984 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25986
fadb59f8
UD
25987 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25988 * posix/tst-rfc3484-2.c: Likewise.
25989 * posix/tst-rfc3484-3.c: Likewise.
25990
78239589
UD
25991 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25992 process_vm_writev.
25993 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25994 process_vm_writev.
25995 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25996 process_vm_writev from libc using GLIBC_2.15 version.
25997
432d41ce
UD
25998 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25999
02f9c6cf
PP
260002011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26001
26002 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26003 stack usage.
26004
3a2c0242
UD
260052011-10-31 Ulrich Drepper <drepper@gmail.com>
26006
f4ec4833
UD
26007 [BZ #13367]
26008 * nss/getent.c (initgroups_keys): Show error message in case no group
26009 names are given.
26010
3a2c0242
UD
26011 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26012 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26013 __bump_nl_timestamp.
26014 * nscd/connections (nscd_init): When host database is served open
26015 netlink socket and request notification about configuration changes.
26016 (main_loop_poll): Track netlink file descriptor and bump timestamp
26017 in case data becomes available.
26018 (main_loop_epoll): Likewise.
26019 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26020 (database_pers_head): Add extra_data fileds.
26021 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26022 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26023 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26024 Adjust caller.
26025 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26026 in6ai data, call __free_in6ai.
26027 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26028 Add -DHAVE_NETLINK.
26029 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26030 interface information. Reuse previous data if netlink timestamp
26031 is not changed.
26032 (__bump_nl_timestamp): New function.
26033 (__free_in6ai): New function.
26034
636064eb
UD
260352011-10-30 Ulrich Drepper <drepper@gmail.com>
26036
26037 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26038 close_not_cancel_no_status here.
26039 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26040
9beb2334
UD
260412011-10-29 Ulrich Drepper <drepper@gmail.com>
26042
6ef76f3b
UD
26043 [BZ #13276]
26044 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26045 return value.
26046
0ffc4f3e 26047 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26048 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26049 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26050
cb95113e
UD
260512011-07-03 Andreas Jaeger <aj@suse.de>
26052
26053 [BZ #10709]
26054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26055 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26056 * math/libm-test.inc (sin_test): Add test case.
26057
a1b560ff
UD
260582011-10-29 Ulrich Drepper <drepper@gmail.com>
26059
c9aaface
UD
26060 [BZ #13337]
26061 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26062 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26063
d272e7f1
UD
26064 * elf/chroot_canon.c (chroot_canon): Cleanups.
26065
1bc33071
UD
26066 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26067
1760874d
TJ
26068 [BZ #13335]
26069 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26070 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26071
51d91b18
UD
26072 * string/test-strchr.c: Make usable for strchrnul testing.
26073 * string/test-strchrnul.c: New file.
26074 * string/Makefile (strop-tests): Add strchrnul.
26075
a1b560ff 26076 * po/it.po: Update from translation team.
b611fb81 26077 * po/es.po: Likewise.
a1b560ff 26078
a5b81e1f
UD
260792011-10-28 Ulrich Drepper <drepper@gmail.com>
26080
fd52bc6d
UD
26081 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26082 the three constants needed as parameters. Drop the others.
26083 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26084 __m128i_strloadu_tolower.
52e4b9eb
UD
26085 Create and initialize variable zero and use it in all the places
26086 where _mm_setzero_si128 was used.
fd52bc6d 26087
a5b81e1f
UD
26088 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26089 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26090 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26091 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26092 anymore.
26093 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26095 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26096 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26097 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26098 __mpranred, __mptan.
26099 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26100 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26101 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26102 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26103 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26104 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26105 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26106 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26107 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26108
b4343346
AS
261092011-10-28 Andreas Schwab <schwab@redhat.com>
26110
0c92d8a8
AS
26111 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26112 redefine if SHARED.
26113 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26114
b4343346
AS
26115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26116 wide char related routines to wcsmbs subdir.
26117
3871f58f
AS
261182011-10-27 Andreas Schwab <schwab@redhat.com>
26119
26120 [BZ #13344]
26121 * misc/sys/cdefs.h (__THROWNL): Define.
26122 * posix/unistd.h: Use __THREADNL instead of __THREAD
26123 for memory synchronization functions.
26124
94d44d9f
RM
261252011-10-26 Roland McGrath <roland@hack.frob.com>
26126
21b64b15 26127 [BZ #13349]
94d44d9f
RM
26128 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26129 doesn't exist.
26130 * manual/stdio.texi (Obstack Streams): Node removed.
26131
f6ce9294
AS
261322011-10-26 Andreas Schwab <schwab@redhat.com>
26133
80479147
AS
26134 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26135 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26136 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26137
f6ce9294
AS
26138 * math/math_private.h (math_force_eval): Allow non-addressable
26139 arguments.
26140 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26141
618280a1
UD
261422011-10-25 Ulrich Drepper <drepper@gmail.com>
26143
e0016b11
UD
26144 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26145 file is not needed.
26146
26147 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26148 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26154 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26155 Add AVX variants.
26156 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26157 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26158 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26159 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26160 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26161 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26162 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26163 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26164 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26165 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26166 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26167 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26169 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26170 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26171 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26172 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26173 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26174 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26175
26176 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26177 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26178
618280a1
UD
26179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26180 place. Use VEX encoding when compiling for AVX.
26181
37822576
AS
261822011-10-25 Andreas Schwab <schwab@redhat.com>
26183
1f1e1947
AS
26184 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26185 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26186
37822576
AS
26187 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26188
31ea014d
UD
261892011-10-25 Ulrich Drepper <drepper@gmail.com>
26190
d7826aa1 26191 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26192 useless if() expression.
d7826aa1
UD
26193 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26202 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26203 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26204 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26205 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26206 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26207 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26208 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26211 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26212
31ea014d
UD
26213 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26214
16437fec
AS
262152011-10-25 Andreas Schwab <schwab@redhat.com>
26216
26217 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26218 condition.
26219 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26220
31d3cc00
UD
262212011-10-25 Ulrich Drepper <drepper@gmail.com>
26222
26223 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26224 .text section. Avoid duplicate constants.
26225 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26235 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26237 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26242 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26248 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26249 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26250 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26251 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26252 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26254 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26256 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26257 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26258 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26259 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26260 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26261 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26263 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26264 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26265 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26266 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26267 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26268 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26269 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26270
58985aa9
UD
262712011-10-24 Ulrich Drepper <drepper@gmail.com>
26272
202c9deb
UD
26273 * sysdeps/x86_64/dla.h: Move to ...
26274 * sysdeps/x86_64/fpu/dla.h: ...here.
26275 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26276 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26277
af968f62
UD
26278 * config.make.in: Add have-mfma4 entry.
26279 * configure.in: Substitute libc_cv_cc_fma4.
26280 * math/Makefile (dbl-only-routines): Add sincostab.
26281 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26282 Use __sincostab not sincos.
26283 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26284 name is a macro.
26285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26289 using __copysign.
26290 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26291 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26292 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26293 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26294 and __inv.
26295 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26296 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26297 __copysign.
26298 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26299 define aliases when function name is a macro.
26300 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26301 sysdeps/ieee754/dbl-64/sincos.tbl.
26302 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26303 fma4-enabled routines.
26304 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26305 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26306 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26307 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26308 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26309 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26310 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26311 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26312 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26313 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26314 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26315 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26316 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26317 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26318 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26319 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26320 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26321 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26322 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26324 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26325 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26326 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26327 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26331 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26332 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26333 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26334
58985aa9
UD
26335 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26336 rename.
26337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26345
a201fbcf
AS
263462011-10-24 Andreas Schwab <schwab@redhat.com>
26347
26348 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26349
fc2ee42a
LD
263502011-10-23 Ulrich Drepper <drepper@gmail.com>
26351
bb3129bd
UD
26352 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26353
0275fff8
UD
26354 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26355 prediction.
26356 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26357
2fa2ae85
UD
26358 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26359 Remove unused variable magic_bits.
26360 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26361
fc2ee42a
LD
26362 * string/strnlen.c: Define and use STRNLEN macro.
26363 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26364 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26365 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26366 * wcsmbs/wcslen.c: Define and use WCSLEN.
26367 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26368 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26369 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26370 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26371 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26372 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26373 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26374
ce7dd29f
LD
263752011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26376
26377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26378 strnlen-sse2-no-bsf.
26379 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26381 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26382 Add strnlen support.
26383 (USE_AS_STRNLEN): New macro.
26384 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26385 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26386 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26387 * sysdeps/x86_64/wcslen.S: New file.
26388
979c70a3
MZ
263892011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26390
26391 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26392 XMM-moves are used for copying on small sizes.
26393
2d09f82f
LD
263942011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26395
26396 * wcsmbs/Makefile (strop-tests): Add wcschr.
26397 * wcsmbs/test-wcschr.c: New file.
26398 * string/test-strchr.c: Update.
26399 Add wcschr support.
26400 (WIDE): New macro.
26401
619fccca
LD
264022011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26403
2d09f82f 26404 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26405 * wcsmbs/test-wcslen.c: New file.
26406 * string/test-strlen.c: Update.
26407 Add wcslen support.
26408 (WIDE): New macro.
26409
09f699ea
UD
264102011-10-23 Ulrich Drepper <drepper@gmail.com>
26411
26412 * po/it.po: Update from translation team.
26413
95584d3b
LD
264142011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26415
26416 * sysdeps/x86_64/wcscmp.S: Update.
26417 Fix wrong comparison semantics.
26418 wcscmp shall use signed comparison not unsigned.
26419 Don't use substraction to avoid overflow bug.
26420 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26421 * wcsmbc/wcscmp.c: Likewise.
26422 * string/test-strcmp.c: Likewise.
26423 Add new tests to check cases with negative values.
26424
c8b3296b
UD
264252011-10-23 Ulrich Drepper <drepper@gmail.com>
26426
26427 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26428 * sysdeps/x86_64/dla.h: ...here. New file.
26429 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26438
246ad57a
AS
264392011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26440
26441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26442 __ynl_finite aliases.
26443
a1a87169
UD
264442011-10-22 Ulrich Drepper <drepper@gmail.com>
26445
0d355eb7
UD
26446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26447
a1a87169
UD
26448 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26449 define DLA_FMA.
26450 [DLA_FMA] (EMULV): Use DLA_FMA.
26451 [DLA_FMA] (MUL12): Use EMULV.
26452 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26453 that are not needed.
26454 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26461
ee2aafe0
AS
264622011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26463
26464 * math/s_nan.c: Undef __nan.
26465 * math/s_nanf.c: Undef __nanf.
26466 * math/s_nanl.c: Undef __nanl.
26467 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26468 "math_private.h".
26469
bc62c2fb
UD
264702011-10-22 Ulrich Drepper <drepper@gmail.com>
26471
77425c63
UD
26472 * math/s_catan.c: Add branch predictions.
26473 * math/s_catanf.c: Likewise.
26474 * math/s_catanh.c: Likewise.
26475 * math/s_catanhf.c: Likewise.
26476 * math/s_catanhl.c: Likewise.
26477 * math/s_catanl.c: Likewise.
26478 * math/s_cexp.c: Likewise.
26479 * math/s_cexpf.c: Likewise.
26480 * math/s_cexpl.c: Likewise.
26481 * math/s_clog.c: Likewise.
26482 * math/s_clog10.c: Likewise.
26483 * math/s_clog10f.c: Likewise.
26484 * math/s_clog10l.c: Likewise.
26485 * math/s_clogf.c: Likewise.
26486 * math/s_clogl.c: Likewise.
26487 * math/s_csqrt.c: Likewise.
26488 * math/s_csqrtf.c: Likewise.
26489 * math/s_csqrtl.c: Likewise.
26490 * math/s_ctanf.c: Likewise.
26491 * math/s_ctanh.c: Likewise.
26492 * math/s_ctanhf.c: Likewise.
26493 * math/s_ctanhl.c: Likewise.
26494 * math/s_ctanl.c: Likewise.
26495
bc62c2fb
UD
26496 * math/math_private.h: Define __nan, __nanf, __nanl.
26497 * math/s_cacosh.c: Include <math_private.h>.
26498 * math/s_cacoshl.c: Likewise.
26499 * math/s_casinh.c: Likewise.
26500 * math/s_casinhf.c: Likewise.
26501 * math/s_casinhl.c: Likewise.
26502 * math/s_ccos.c: Rely entire on ccosh.
26503 * math/s_ccosf.c: Rely entire on ccoshf.
26504 * math/s_ccosl.c: Rely entirely on ccoshl.
26505 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26506 Remove tests for FE_INVALID.
26507 * math/s_ccoshf.c: Likewise.
26508 * math/s_ccoshl.c: Likewise.
26509 * math/s_csin.c: Likewise.
26510 * math/s_csinf.c: Likewise.
26511 * math/s_csinh.c Likewise.
26512 * math/s_csinhf.c: Likewise.
26513 * math/s_csinhl.c: Likewise.
26514 * math/s_csinl.c: Likewise.
26515 * math/s_ctan.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26517 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26518 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26519
8ec250a4
UD
265202011-10-21 Ulrich Drepper <drepper@gmail.com>
26521
c196fed8
UD
26522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26523 compilation problems.
26524
8ec250a4
UD
26525 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26526 __builtin_expect.
26527
8d4f46c6
UD
265282011-10-20 Ulrich Drepper <drepper@gmail.com>
26529
ed72b654
UD
26530 * sysdeps/i386/configure.in: Test for -mfma4 option.
26531 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26532 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26533 COMMON_CPUID_INDEX_80000001.
26534 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26535 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26536 use it if FMA3 is not supported.
26537 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26538
8d4f46c6
UD
26539 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26540 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26541
d45c60c2
AS
265422011-10-20 Andreas Schwab <schwab@redhat.com>
26543
26544 [BZ #12892]
26545 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26546 it would create a cycle with a link time dependency.
26547
d9a4d2ab
UD
265482011-10-19 Ulrich Drepper <drepper@gmail.com>
26549
855d1560
UD
26550 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26551 instruction.
26552 * string/Makefile (strop-tests): Add rawmemchr.
26553 * string/test-rawmemchr.c: New file.
26554
d9a4d2ab
UD
26555 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26556 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26557 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26558 when compiling str{,n}casecmp and when AVX is available. Hook up
26559 new optimized code in initializers.
26560
8f3b1ffe
AS
265612011-10-19 Andreas Schwab <schwab@redhat.com>
26562
26563 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26564 __feraiseexcept instead of feraiseexcept.
26565
d38f1dba
UD
265662011-10-18 Ulrich Drepper <drepper@gmail.com>
26567
d9a8d0ab
UD
26568 * math/math_private.h: Define defaults for libc_fetestexcept and
26569 libc_feupdateenv.
26570 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26571 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26572 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26573 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26574 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26575 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26576 libc_fetestexcept and libc_feupdateenv.
26577
4855e3dd
UD
26578 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26579 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26580 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26581 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26582 libc_feholdexcept_setround.
26583
581d30e3
UD
26584 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26585 Add s_nearbyint-c and s_nearbyintf-c.
26586 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26587 nearbyintf inlines.
26588 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26589 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26590 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26591 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26592
d38f1dba
UD
26593 * math/math_private.h: Define defaults for libc_fegetround,
26594 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26595 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26596 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26598 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26599 standard functions.
26600 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26601 Remove comments and hacks for old compiler versions.
26602 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26603 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26604 libc_feholdexceptl.
26605
caa6c9d8
AS
266062011-10-18 Andreas Schwab <schwab@redhat.com>
26607
26608 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26609 (__feraiseexcept_renamed): Add __NTH.
26610 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26611 namespace violations.
26612
97c066e6
UD
266132011-10-17 Ulrich Drepper <drepper@gmail.com>
26614
99ce7b04
UD
26615 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26616
1004d182
UD
26617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26618
228a984d
UD
26619 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26620 recently added interfaces.
26621 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26622
c8553a6a
UD
26623 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26624 about macro parameter expansion.
26625
ed22dcf6
UD
26626 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26627 __NO_MATH_INLINES is defined. Cleanups.
26628
26629 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26630 and __floorf is target has SSE4.1.
26631 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26632 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26633 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26634 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26635
b171c137
UD
26636 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26637 name.
26638 (floorf): Likewise.
26639
97c066e6
UD
26640 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26641
629f62ef
AS
266422011-10-17 Andreas Schwab <schwab@redhat.com>
26643
49a43d80
AS
26644 * misc/sys/cdefs.h: Fix last change.
26645
629f62ef
AS
26646 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26647 database lookup.
26648
e453f6cd
UD
266492011-10-16 Ulrich Drepper <drepper@gmail.com>
26650
aa78043a
UD
26651 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26652
ad0f5cad
UD
26653 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26654 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26659 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26660 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26661 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26662 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26663 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26664 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26665 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26666 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26667 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26668 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26669 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26670 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26671 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26672 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26673 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26674 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26675
26676 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26677 ceil, ceilf, floor, floorf.
26678
26679 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26680 Perform IRELATIVE relocations last.
26681
e453f6cd
UD
26682 * elf/do-rel.h: Add another parameter nrelative, replacing the
26683 local variable with the same name. Change name of the function
26684 to end in Rel or Rela (uppercase).
26685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26686 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26687 elf_dynamic_do_##reloc function.
26688
fd5bdc09
UD
266892011-10-15 Ulrich Drepper <drepper@gmail.com>
26690
79b195b5
UD
26691 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26692 is sufficient, at least on modern CPUs.
26693
d4a28569
UD
26694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26695
b61099b5
UD
26696 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26697 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26698
bcf01e6d
UD
26699 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26700 __expl_finite.
26701 * math/bits/math-finite.h: Add entries for exp.
26702 * math/e_expl.c: Add __*_finite alias.
26703 * sysdeps/i386/fpu/e_exp.S: Likewise.
26704 * sysdeps/i386/fpu/e_expf.S: Likewise.
26705 * sysdeps/i386/fpu/e_expl.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26707 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26711 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26712 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26713
ba1a0d59
UD
26714 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26715 is sufficient, at least on modern CPUs.
26716
fd5bdc09
UD
26717 * ctype/ctype-info.c (__ctype_init): Define.
26718 * include/ctype.h (__ctype_init): Declare.
26719 (__ctype_b_loc): The variable is always initialized.
26720 (__ctype_toupper_loc): Likewise.
26721 (__ctype_tolower_loc): Likewise.
26722 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26723 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26724
7872cfb0
AS
267252011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26726
b468825a
AS
26727 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26728
7872cfb0
AS
26729 * configure.in: Also look in $cxxmachine/include for C++ system
26730 headers.
26731
be13f7bf
LD
267322011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26733
26734 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26735 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26736 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26737 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26738 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26739 (USE_AS_WMEMCMP): New macro.
26740 Fixing indents.
26741 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26742 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26743 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26744 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26746 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26747 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26748 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26749 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26750 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26751 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26752 (USE_AS_WMEMCMP): New macro.
26753 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26754 * sysdeps/string/test-memcmp.c: Update.
26755 Fix simple_wmemcmp.
26756 Add new tests.
26757 * wcsmbs/wmemcmp.c: Update.
26758 (WMEMCMP): New macro.
26759 Fix overflow bug.
26760
556a2007
AJ
267612011-10-12 Andreas Jaeger <aj@suse.de>
26762
26763 [BZ #13268]
26764 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26765
538faaa7
UD
267662011-10-15 Ulrich Drepper <drepper@gmail.com>
26767
ab6737ff
UD
26768 * libio/iofwide.c (do_length): Avoid warning.
26769
538faaa7
UD
26770 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26771
396a21b1
UD
267722011-10-14 Ulrich Drepper <drepper@gmail.com>
26773
cdf2901f
UD
26774 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26775
38ad40ce
UD
26776 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26777 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26778 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26779 * sysdeps/i386/i686/fpu/e_log.S: New file.
26780 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26781 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26782
396a21b1
UD
26783 * ctype/ctype.h: Add support for inlined isXXX functions when
26784 compiling C++ code.
26785
6b1f68c9
AS
267862011-10-14 Andreas Schwab <schwab@redhat.com>
26787
349290c0
AS
26788 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26789
6b1f68c9
AS
26790 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26791
f2282d42
RM
267922011-10-13 Roland McGrath <roland@hack.frob.com>
26793
26794 [BZ #13291]
26795 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26796
5298ffa8
AS
267972011-10-13 Andreas Schwab <schwab@redhat.com>
26798
714fad23
AS
26799 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26800 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26801 feraiseexcept.
26802
81dcc7fb
AS
26803 * sysdeps/x86_64/memrchr.S: Check for zero size.
26804
5298ffa8
AS
26805 * string/stratcliff.c: Add memrchr tests.
26806
951fbcec
LD
268072011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26808
26809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26810 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26811 rawmemchr-sse2 rawmemchr-sse2-bsf.
26812 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26813 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26814 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26815 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26816 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26817 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26818 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26819 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26820 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26821 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26822 * string/memrchr.c (MEMRCHR): New macro.
26823
0ac5ae23
UD
268242011-10-12 Ulrich Drepper <drepper@gmail.com>
26825
26826 Add integration with gcc's -ffinite-math-only and optimize wrapper
26827 functions in libm.
26828 * Versions.def: Define GLIBC_2.15 version for libm.
26829 * math/Makefile (headers): Add bits/math-finite.h.
26830 * math/bits/math-finite.h: New file.
26831 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26832 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26833 * math/e_acoshl.c: Add __*_finite alias.
26834 * math/e_acosl.c: Likewise.
26835 * math/e_asinl.c: Likewise.
26836 * math/e_atan2l.c: Likewise.
26837 * math/e_atanhl.c: Likewise.
26838 * math/e_coshl.c: Likewise.
26839 * math/e_exp10.c: Likewise.
26840 * math/e_exp10f.c: Likewise.
26841 * math/e_exp10l.c: Likewise.
26842 * math/e_exp2l.c: Likewise.
26843 * math/e_fmodl.c: Likewise.
26844 * math/e_gammal_r.c: Likewise.
26845 * math/e_hypotl.c: Likewise.
26846 * math/e_j0l.c: Likewise.
26847 * math/e_j1l.c: Likewise.
26848 * math/e_jnl.c: Likewise.
26849 * math/e_lgammal_r.c: Likewise.
26850 * math/e_log10l.c: Likewise.
26851 * math/e_log2l.c: Likewise.
26852 * math/e_logl.c: Likewise.
26853 * math/e_powl.c: Likewise.
26854 * math/e_sinhl.c: Likewise.
26855 * math/e_sqrtl.c: Likewise.
26856 * math/e_scalb.c: Completely rewritten and optimized.
26857 * math/e_scalbf.c: Likewise.
26858 * math/e_scalbl.c: Likewise.
26859 * math/w_acos.c: Likewise.
26860 * math/w_acosf.c: Likewise.
26861 * math/w_acosl.c: Likewise.
26862 * math/w_acosh.c: Likewise.
26863 * math/w_acoshf.c: Likewise.
26864 * math/w_acoshl.c: Likewise.
26865 * math/w_asin.c: Likewise.
26866 * math/w_asinf.c: Likewise.
26867 * math/w_asinl.c: Likewise.
26868 * math/w_atan2.c: Likewise.
26869 * math/w_atan2f.c: Likewise.
26870 * math/w_atan2l.c: Likewise.
26871 * math/w_atanh.c: Likewise.
26872 * math/w_atanhf.c: Likewise.
26873 * math/w_atanhl.c: Likewise.
26874 * math/w_exp10.c: Likewise.
26875 * math/w_exp10f.c: Likewise.
26876 * math/w_exp10l.c: Likewise.
26877 * math/w_fmod.c: Likewise.
26878 * math/w_fmodf.c: Likewise.
26879 * math/w_fmodl.c: Likewise.
26880 * math/w_j0.c: Likewise.
26881 * math/w_j0f.c: Likewise.
26882 * math/w_j0l.c: Likewise.
26883 * math/w_j1.c: Likewise.
26884 * math/w_j1f.c: Likewise.
26885 * math/w_j1l.c: Likewise.
26886 * math/w_jn.c: Likewise.
26887 * math/w_jnf.c: Likewise.
26888 * math/w_log.c: Likewise.
26889 * math/w_logf.c: Likewise.
26890 * math/w_logl.c: Likewise.
26891 * math/w_log10.c: Likewise.
26892 * math/w_log10f.c: Likewise.
26893 * math/w_log10l.c: Likewise.
26894 * math/w_log2.c: Likewise.
26895 * math/w_log2f.c: Likewise.
26896 * math/w_log2l.c: Likewise.
26897 * math/w_pow.c: Likewise.
26898 * math/w_powf.c: Likewise.
26899 * math/w_powl.c: Likewise.
26900 * math/w_remainder.c: Likewise.
26901 * math/w_remainderf.c: Likewise.
26902 * math/w_remainderl.c: Likewise.
26903 * math/w_scalb.c: Likewise.
26904 * math/w_scalbf.c: Likewise.
26905 * math/w_scalbl.c: Likewise.
26906 * math/w_sqrt.c: Likewise.
26907 * math/w_sqrtf.c: Likewise.
26908 * math/w_sqrtl.c: Likewise.
26909 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26910 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26911 used.
26912 * math/math_private.h: Declare __kernel_standard_f.
26913 * math/w_cosh.c: Remove cruft and optimize a bit.
26914 * math/w_coshf.c: Likewise.
26915 * math/w_coshl.c: Likewise.
26916 * math/w_exp2.c: Likewise.
26917 * math/w_exp2f.c: Likewise.
26918 * math/w_exp2l.c: Likewise.
26919 * math/w_hypot.c: Likewise.
26920 * math/w_hypotf.c: Likewise.
26921 * math/w_hypotl.c: Likewise.
26922 * math/w_lgamma.c: Likewise.
26923 * math/w_lgamma_r.c: Likewise.
26924 * math/w_lgammaf.c: Likewise.
26925 * math/w_lgammaf_r.c: Likewise.
26926 * math/w_lgammal.c: Likewise.
26927 * math/w_lgammal_r.c: Likewise.
26928 * math/w_sinh.c: Likewise.
26929 * math/w_sinhf.c: Likewise.
26930 * math/w_sinhl.c: Likewise.
26931 * math/w_tgamma.c: Likewise.
26932 * math/w_tgammaf.c: Likewise.
26933 * math/w_tgammal.c: Likewise.
26934 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26935 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26936 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26937 Minor optimizations. Pretty printing. Remove cruft.
26938 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26939 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26940 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26941 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26942 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26943 * sysdeps/i386/fpu/e_asin.S: Likewise.
26944 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26945 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26946 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26947 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26948 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26949 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26950 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26951 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26952 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26953 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26954 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26955 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26956 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26957 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26958 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26959 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26960 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26961 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26962 * sysdeps/i386/fpu/e_log.S: Likewise.
26963 * sysdeps/i386/fpu/e_log10.S: Likewise.
26964 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26965 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26966 * sysdeps/i386/fpu/e_log2.S: Likewise.
26967 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26969 * sysdeps/i386/fpu/e_logf.S: Likewise.
26970 * sysdeps/i386/fpu/e_logl.S: Likewise.
26971 * sysdeps/i386/fpu/e_pow.S: Likewise.
26972 * sysdeps/i386/fpu/e_powf.S: Likewise.
26973 * sysdeps/i386/fpu/e_powl.S: Likewise.
26974 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26975 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26976 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26977 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26978 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26979 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26980 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26981 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26982 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26988 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27004 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27005 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27007 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27008 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27009 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27010 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27011 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27012 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27013 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27014 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27015 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27016 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27017 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27018 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27019 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27020 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27021 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27022 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27023 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27024 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27025 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27063 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27072 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27074 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27075 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27076 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27077 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27078 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27079 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27080 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27081 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27082 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27083 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27084 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27085 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27086 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27087 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27088 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27089 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27091 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27092 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27093 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27094 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27095 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27096 (__isnanf): Likewise.
27097 (__isinf_ns): Likewise.
27098 (__isinf_nsf): Likewise.
27099 (__finite): Likewise.
27100 (__finitef): Likewise.
27101 (__ieee754_sqrt): Define as macro.
27102 (__ieee754_sqrtf): Define as macro.
27103 (__ieee754_sqrtl): Define as macro.
27104 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27105 inlined copy.
27106 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27107 __FINITE_MATH_ONLY__ consistent.
27108 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27109
12cc2fcd
AS
271102011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27111
a843a204
AS
27112 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27113 of rawmemchr.
27114
12cc2fcd
AS
27115 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27116
c853acd5
UD
271172011-10-09 Ulrich Drepper <drepper@gmail.com>
27118
27119 * po/ja.po: Update from translation team.
27120
c658d255
RM
271212011-10-08 Roland McGrath <roland@hack.frob.com>
27122
110946e4
RM
27123 * locale/programs/locarchive.c (prepare_address_space): New function.
27124 (create_archive, enlarge_archive, open_archive): Use it.
27125
50604220
RM
27126 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27127 inside [SHARED], where it is used.
27128
c658d255
RM
27129 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27130
27131 * nss/getent.c (netgroup_keys): Remove unused variable.
27132 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27133
6a621eb7
UD
271342011-10-08 Ulrich Drepper <drepper@gmail.com>
27135
7edb55ce
UD
27136 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27137 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27139 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27140 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27141 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27142 * math/Makefile (libm-calls): Add s_isinf_ns.
27143 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27144 * math/multc3.c: Likewise.
27145 * math/s_casin.c: Likewise.
27146 * math/s_casinf.c: Likewise.
27147 * math/s_casinl.c: Likewise.
27148 * math/s_ccos.c: Likewise.
27149 * math/s_ccosf.c: Likewise.
27150 * math/s_ccosl.c: Likewise.
27151 * math/s_ctan.c: Likewise.
27152 * math/s_ctanf.c: Likewise.
27153 * math/s_ctanh.c: Likewise.
27154 * math/s_ctanhf.c: Likewise.
27155 * math/s_ctanhl.c: Likewise.
27156 * math/s_ctanl.c: Likewise.
27157 * math/w_fmod.c: Likewise.
27158 * math/w_fmodf.c: Likewise.
27159 * math/w_fmodl.c: Likewise.
27160 * math/w_remainder.c: Likewise.
27161 * math/w_remainderf.c: Likewise.
27162 * math/w_remainderl.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27164 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27165 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27166 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27167 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27168 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27169 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27170 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27171
187da0ae
UD
27172 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27173 of the number.
27174 * stdio-common/printf_fphex.c: Likewise.
27175 * stdio-common/printf_size.c: Likewise.
27176
9277c064
UD
27177 * math/e_exp10.c: Include math_private.h using <...> not "...".
27178 * math/e_exp10f.c: Likewise.
27179 * math/e_exp10l.c: Likewise.
27180 * math/e_exp2l.c: Likewise.
27181 * math/e_j0l.c: Likewise.
27182 * math/e_j1l.c: Likewise.
27183 * math/e_jnl.c: Likewise.
27184 * math/e_lgammal_r.c: Likewise.
27185 * math/e_rem_pio2l.c: Likewise.
27186 * math/e_scalb.c: Likewise.
27187 * math/e_scalbf.c: Likewise.
27188 * math/e_scalbl.c: Likewise.
27189 * math/k_cosl.c: Likewise.
27190 * math/k_sinl.c: Likewise.
27191 * math/k_tanl.c: Likewise.
27192 * math/s_cacoshf.c: Likewise.
27193 * math/s_catan.c: Likewise.
27194 * math/s_catanf.c: Likewise.
27195 * math/s_catanh.c: Likewise.
27196 * math/s_catanhf.c: Likewise.
27197 * math/s_catanhl.c: Likewise.
27198 * math/s_catanl.c: Likewise.
27199 * math/s_ccosh.c: Likewise.
27200 * math/s_ccoshf.c: Likewise.
27201 * math/s_ccoshl.c: Likewise.
27202 * math/s_cexp.c: Likewise.
27203 * math/s_cexpf.c: Likewise.
27204 * math/s_cexpl.c: Likewise.
27205 * math/s_clog.c: Likewise.
27206 * math/s_clog10.c: Likewise.
27207 * math/s_clog10f.c: Likewise.
27208 * math/s_clog10l.c: Likewise.
27209 * math/s_clogf.c: Likewise.
27210 * math/s_clogl.c: Likewise.
27211 * math/s_csin.c: Likewise.
27212 * math/s_csinf.c: Likewise.
27213 * math/s_csinh.c: Likewise.
27214 * math/s_csinhf.c: Likewise.
27215 * math/s_csinhl.c: Likewise.
27216 * math/s_csinl.c: Likewise.
27217 * math/s_csqrt.c: Likewise.
27218 * math/s_csqrtf.c: Likewise.
27219 * math/s_csqrtl.c: Likewise.
27220 * math/s_ctan.c: Likewise.
27221 * math/s_ctanf.c: Likewise.
27222 * math/s_ctanh.c: Likewise.
27223 * math/s_ctanhf.c: Likewise.
27224 * math/s_ctanhl.c: Likewise.
27225 * math/s_ctanl.c: Likewise.
27226 * math/s_ldexp.c: Likewise.
27227 * math/s_ldexpf.c: Likewise.
27228 * math/s_ldexpl.c: Likewise.
27229 * math/s_significand.c: Likewise.
27230 * math/s_significandf.c: Likewise.
27231 * math/s_significandl.c: Likewise.
27232 * math/w_acos.c: Likewise.
27233 * math/w_acosf.c: Likewise.
27234 * math/w_acosh.c: Likewise.
27235 * math/w_acoshf.c: Likewise.
27236 * math/w_acoshl.c: Likewise.
27237 * math/w_acosl.c: Likewise.
27238 * math/w_asin.c: Likewise.
27239 * math/w_asinf.c: Likewise.
27240 * math/w_asinl.c: Likewise.
27241 * math/w_atan2.c: Likewise.
27242 * math/w_atan2f.c: Likewise.
27243 * math/w_atan2l.c: Likewise.
27244 * math/w_atanh.c: Likewise.
27245 * math/w_atanhf.c: Likewise.
27246 * math/w_atanhl.c: Likewise.
27247 * math/w_cosh.c: Likewise.
27248 * math/w_coshf.c: Likewise.
27249 * math/w_coshl.c: Likewise.
27250 * math/w_dremf.c: Likewise.
27251 * math/w_exp10.c: Likewise.
27252 * math/w_exp10f.c: Likewise.
27253 * math/w_exp10l.c: Likewise.
27254 * math/w_exp2.c: Likewise.
27255 * math/w_exp2f.c: Likewise.
27256 * math/w_fmod.c: Likewise.
27257 * math/w_fmodf.c: Likewise.
27258 * math/w_fmodl.c: Likewise.
27259 * math/w_hypot.c: Likewise.
27260 * math/w_hypotf.c: Likewise.
27261 * math/w_hypotl.c: Likewise.
27262 * math/w_j0.c: Likewise.
27263 * math/w_j0f.c: Likewise.
27264 * math/w_j0l.c: Likewise.
27265 * math/w_j1.c: Likewise.
27266 * math/w_j1f.c: Likewise.
27267 * math/w_j1l.c: Likewise.
27268 * math/w_jn.c: Likewise.
27269 * math/w_jnf.c: Likewise.
27270 * math/w_jnl.c: Likewise.
27271 * math/w_lgamma.c: Likewise.
27272 * math/w_lgamma_r.c: Likewise.
27273 * math/w_lgammaf.c: Likewise.
27274 * math/w_lgammaf_r.c: Likewise.
27275 * math/w_lgammal.c: Likewise.
27276 * math/w_lgammal_r.c: Likewise.
27277 * math/w_log.c: Likewise.
27278 * math/w_log10.c: Likewise.
27279 * math/w_log10f.c: Likewise.
27280 * math/w_log10l.c: Likewise.
27281 * math/w_log2.c: Likewise.
27282 * math/w_log2f.c: Likewise.
27283 * math/w_log2l.c: Likewise.
27284 * math/w_logf.c: Likewise.
27285 * math/w_logl.c: Likewise.
27286 * math/w_pow.c: Likewise.
27287 * math/w_powf.c: Likewise.
27288 * math/w_powl.c: Likewise.
27289 * math/w_remainder.c: Likewise.
27290 * math/w_remainderf.c: Likewise.
27291 * math/w_remainderl.c: Likewise.
27292 * math/w_scalb.c: Likewise.
27293 * math/w_scalbf.c: Likewise.
27294 * math/w_scalbl.c: Likewise.
27295 * math/w_sinh.c: Likewise.
27296 * math/w_sinhf.c: Likewise.
27297 * math/w_sinhl.c: Likewise.
27298 * math/w_sqrt.c: Likewise.
27299 * math/w_sqrtf.c: Likewise.
27300 * math/w_sqrtl.c: Likewise.
27301 * math/w_tgamma.c: Likewise.
27302 * math/w_tgammaf.c: Likewise.
27303 * math/w_tgammal.c: Likewise.
27304
6a621eb7
UD
27305 * po/ja.po: Update from translation team.
27306
bf582445
AJ
273072011-09-29 Andreas Jaeger <aj@suse.de>
27308
f9efbf3a
AJ
27309 [BZ #13179]
27310 * sunrpc/netname.c (netname2host): Fix logic.
27311
bf582445
AJ
27312 [BZ #6779]
27313 [BZ #6783]
27314 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27315 correctly.
27316 * math/w_remainder.c (__remainder): Likewise.
27317 * math/w_remainderf.c (__remainderf): Likewise.
27318 * math/libm-test.inc (remainder_test): Add test cases.
27319
48693bea
AK
273202011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27321
27322 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27323 sdiv_qrnnd.
27324
42622229
LD
273252011-10-07 Ulrich Drepper <drepper@gmail.com>
27326
27327 * string/test-memcmp.c: Avoid unncessary #defines.
27328 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27329
093ecf92
LD
273302011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27331
27332 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27333 Use new sse2 version for core i3 - i7 as it's faster
27334 than sse42 version.
27335 (bit_Prefer_PMINUB_for_stringop): New.
27336 * sysdeps/x86_64/rawmemchr.S: Update.
27337 Replace with faster SSE2 version.
27338 * sysdeps/x86_64/memrchr.S: New file.
27339 * sysdeps/x86_64/memchr.S: Update.
27340 Replace with faster SSE2 version.
27341
fde56e5c
MP
273422011-09-12 Marek Polacek <mpolacek@redhat.com>
27343
27344 * elf/dl-load.c (lose): Add cast to avoid warning.
27345
21fd49a9
UD
273462011-10-07 Ulrich Drepper <drepper@gmail.com>
27347
5a06e643
UD
27348 * po/ca.po: Update from translation team.
27349
684ae515
UD
27350 * inet/getnetgrent_r.c: Hook up nscd.
27351 * nscd/Makefile (routines): Add nscd_netgroup.
27352 (nscd-modules): Add netgroupcache.
27353 (CFLAGS-netgroupcache.c): Define.
27354 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27355 (cache_search): Add const to second parameter.
27356 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27357 INNETGR.
27358 (dbs): Add netgrdb entry.
27359 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27360 (verify_persistent_db): Handle netgrdb.
27361 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27362 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27363 GETFDNETGR.
27364 (netgroup_response_header): Define.
27365 (innetgroup_response_header): Define.
27366 (datahead): Add netgroup_response_header and innetgroup_response_header
27367 elements.
27368 * nscd/nscd.conf: Add entries for netgroup cache.
27369 * nscd/nscd.h (dbtype): Add netgrdb.
27370 (_PATH_NSCD_NETGROUP_DB): Define.
27371 (netgroup_iov_disabled): Declare.
27372 (xmalloc, xcalloc, xrealloc): Move declarations here.
27373 (cache_search): Adjust prototype.
27374 Add netgroup-related prototypes.
27375 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27376 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27377 (__nscd_innetgr): Declare.
27378 * nscd/selinux.c (perms): Use access_vector_t as element type and
27379 add netgroup-related initializers.
27380 * nscd/netgroupcache.c: New file.
27381 * nscd/nscd_netgroup.c: New file.
27382 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27383 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27384 For four parameters use innetgr.
27385 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27386 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27387 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27388 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27389
21fd49a9
UD
27390 * nscd/connections.c (register_traced_file): Don't register file
27391 for disabled databases.
27392
054c0457
UD
273932011-10-06 Ulrich Drepper <drepper@gmail.com>
27394
32b63198
UD
27395 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27396
054c0457
UD
27397 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27398 from tree and freeing node.
27399
64031225
JO
274002011-09-25 Jiri Olsa <jolsa@redhat.com>
27401
27402 * nss/nsswitch.c (__nss_database_lookup): Handle
27403 nss_parse_service_list out of memory case.
27404
0490345c
JO
274052011-09-15 Jiri Olsa <jolsa@redhat.com>
27406
27407 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27408 out of memory case.
27409
3a62d00d
AS
274102011-10-04 Andreas Schwab <schwab@redhat.com>
27411
27412 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27413 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27414 pass it down.
27415 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27416 elf_machine_rela, elf_machine_lazy_rel.
27417 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27418 (ELF_DYNAMIC_DO_REL): Likewise.
27419 (ELF_DYNAMIC_DO_RELA): Likewise.
27420 (ELF_DYNAMIC_RELOCATE): Likewise.
27421 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27422 to ELF_DYNAMIC_DO_REL.
27423 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27424 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27425 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27426 elf_machine_rela.
27427 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27428 skip_ifunc, don't call ifunc function if non-zero.
27429 (elf_machine_rela): Likewise.
27430 (elf_machine_lazy_rel): Likewise.
27431 (elf_machine_lazy_rela): Likewise.
27432 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27433 (elf_machine_lazy_rel): Likewise.
27434 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27435 Likewise.
27436 (elf_machine_lazy_rel): Likewise.
27437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27438 Likewise.
27439 (elf_machine_lazy_rel): Likewise.
27440 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27441 (elf_machine_lazy_rel): Likewise.
27442 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27443 (elf_machine_lazy_rel): Likewise.
27444 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27445 (elf_machine_lazy_rel): Likewise.
27446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27447 (elf_machine_lazy_rel): Likewise.
27448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27449 (elf_machine_lazy_rel): Likewise.
27450 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27451 (elf_machine_lazy_rel): Likewise.
27452
68577918
UD
274532011-09-28 Ulrich Drepper <drepper@gmail.com>
27454
27455 * nss/nss_files/files-init.c (_nss_files_init): Use static
27456 initialization for all the *_traced_file variables.
27457
68822d74
AS
274582011-09-28 Andreas Schwab <schwab@redhat.com>
27459
27460 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27461
2056100b
RM
274622011-09-27 Roland McGrath <roland@hack.frob.com>
27463
27464 [BZ #13226]
27465 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27466
32c76b63
AS
274672011-09-27 Andreas Schwab <schwab@redhat.com>
27468
27469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27470 Reread the line before reparsing it.
27471
bf972c9d
AS
274722011-09-26 Andreas Schwab <schwab@redhat.com>
27473
27474 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27475
e057a1b5
JM
274762011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27477 Maxim Kuvyrkov <maxim@codesourcery.com>
27478 Joseph Myers <joseph@codesourcery.com>
27479
27480 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27481 if needed for __stack_chk_guard.
27482
bc7e1c36
RM
274832011-09-19 Roland McGrath <roland@hack.frob.com>
27484
ecb1482f
RM
27485 * sysdeps/posix/spawni.c (script_execute): Always define it.
27486 It will be optimized away if unused.
27487 (maybe_script_execute): New function.
27488 (__spawni): Call it.
27489
bc7e1c36
RM
27490 * Makerules: Don't include tls.make.
27491 (config-tls): Always set to thread.
27492 * tls.make.c: File removed.
27493
1c3b002b
MF
274942011-09-19 Mike Frysinger <vapier@gentoo.org>
27495
27496 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27497 * config.make.in (CPPFLAGS-config): New substituted variable.
27498
2840865d
UD
274992011-09-15 Ulrich Drepper <drepper@gmail.com>
27500
88738eb6
UD
27501 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27502
cbf645a6 27503 [BZ #13192]
2840865d
UD
27504 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27505 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27506
b402e91a
RM
275072011-09-15 Roland McGrath <roland@hack.frob.com>
27508
27509 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27510 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27512 (CALL_FAIL): Likewise.
27513 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27514 (CALL_FAIL): Macro removed.
27515 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27516
4c1a1f71
UD
275172011-09-15 Ulrich Drepper <drepper@gmail.com>
27518
27519 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27520 for __FINITE_MATH_ONLY__ == 1.
27521
edc121be
AS
275222011-09-15 Andreas Schwab <schwab@redhat.com>
27523
27524 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27525 __ieee754_sqrt instead of sqrt.
27526 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27527 __ieee754_sqrtf instead of sqrtf.
27528 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27529 __floorf instead of floorf.
27530 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27531 __floorf, __truncf instead of floorf, truncf.
27532
cd205654
UD
275332011-09-14 Ulrich Drepper <drepper@gmail.com>
27534
ee4d0315
UD
27535 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27536
cd205654
UD
27537 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27538 __extern_always_inline.
27539 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27540 32-bit.
27541
48b67d71
AS
275422011-09-14 Andreas Schwab <schwab@redhat.com>
27543
27544 * elf/rtld.c (dl_main): Also relocate in dependency order when
27545 doing symbol dependency testing.
27546
1ae12c75
AS
275472011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27548
27549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27550 Always define `refsym'.
27551
995a80df
AS
275522011-09-13 Andreas Schwab <schwab@redhat.com>
27553
e529793b
AS
27554 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27555 (__FD_ELT): Renamed from __FDELT.
27556 * misc/bits/select2.h (__FD_ELT): Likewise.
27557 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27558 __FD_MASK instead of __FDELT, __FDMASK.
27559 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27560 Likewise.
27561 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27562 Likewise.
27563
52d4fef8
AS
27564 * elf/Makefile (gen-ldd): Fix pattern.
27565
995a80df
AS
27566 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27567 (init_tls): Likewise.
27568
8682f8b0
UD
275692011-09-12 Ulrich Drepper <drepper@gmail.com>
27570
27571 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27572
de82006d
AS
275732011-09-12 Andreas Schwab <schwab@redhat.com>
27574
a7c8e6a1
AS
27575 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27576 `struct cmsghdr *' instead of `void *'.
27577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27578 Likewise.
27579
0f31fe77
AS
275802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27581
27582 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27583 if non-absolute.
27584 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27585 ldd_rewrite_script.
0f31fe77 27586
32b4c839
UD
275872011-09-11 Ulrich Drepper <drepper@gmail.com>
27588
83cd1420
UD
27589 * configure.in: Remove --with-tls option.
27590 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27591 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27592 out in case it is missing.
27593 * sysdeps/ia64/elf/configure.in: Likewise.
27594 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27595 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27596 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27597 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27598 * sysdeps/sh/elf/configure.in: Likewise.
27599 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27600 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27601 * sysdeps/x86_64/elf/configure.in: Likewise.
27602 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27603 * sysdeps/mach/hurd/tls.h: Likewise.
27604
633f745d
UD
27605 [BZ #13067]
27606 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27607
f318beb8
UD
27608 [BZ #13090]
27609 * configure.in: Fix use of AC_INIT.
27610
32b4c839
UD
27611 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27612
3ce1f295
UD
276132011-09-10 Ulrich Drepper <drepper@gmail.com>
27614
bb016596
UD
27615 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27616 __set_errno.
8e58439c
UD
27617 * malloc/hooks.c: Likewise.
27618
aebae053 27619 [BZ #11929]
02d46fc4
UD
27620 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27621 variables statically.
27622 (narenas): Initialize.
27623 (list_lock): Initialize.
bb016596
UD
27624 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27625 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27626 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27627 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27628 Add initializers to main_arena and mp_.
27629 (malloc_state): Remove pagesize member. Change all users to use
27630 GLRO(dl_pagesize).
27631
27632 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27633 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27634 is always initialized.
27635
22a89187
UD
27636 * malloc/malloc.c: Removed unused configurations and dead code.
27637 * malloc/arena.c: Likewise.
27638 * malloc/hooks.c: Likewise.
02d46fc4 27639 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27640
d063d164
UD
27641 * include/tls.h: Removed. USE___THREAD must always be defined.
27642 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27643 * elf/dl-libc.c: Likewise.
27644 * elf/dl-tsd.c: Likewise.
27645 * include/errno.h: Likewise.
27646 * include/netdb.h: Likewise.
27647 * include/resolv.h: Likewise.
27648 * inet/herrno-loc.c: Likewise.
27649 * inet/herrno.c: Likewise.
27650 * malloc/arena.c: Likewise.
27651 * malloc/hooks.c: Likewise.
27652 * malloc/malloc.c: Likewise.
27653 * resolv/res-state.c: Likewise.
27654 * resolv/res_libc.c: Likewise.
27655 * sysdeps/i386/dl-machine.h: Likewise.
27656 * sysdeps/ia64/dl-machine.h: Likewise.
27657 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27658 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27659 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27660 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27661 * sysdeps/sh/dl-machine.h: Likewise.
27662 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27663 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27664 * sysdeps/unix/i386/sysdep.S: Likewise.
27665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27666 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27671 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27675 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27676 * sysdeps/x86_64/dl-machine.h: Likewise.
27677 * tls.make.c: Likewise.
27678
3ce1f295
UD
27679 * configure.in: Remove --with-__thread option. Make tests for
27680 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27681 tls_model attribute fail if no support is available. Remove
27682 USE_IN_LIBIO.
27683 * Makeconfig: Adjust for dropped configure option. All features are
27684 now mandatory.
27685 * Makerules: Likewise.
27686 * Versions.def: Likewise.
27687 * argp/argp-fmtstream.c: Likewise.
27688 * argp/argp-fmtstream.h: Likewise.
27689 * argp/argp-help.c: Likewise.
27690 * assert/assert.c: Likewise.
27691 * config.h.in: Likewise.
27692 * config.make.in: Likewise.
27693 * configure: Likewise.
27694 * configure.in: Likewise.
27695 * csu/Versions: Likewise.
27696 * csu/init.c: Likewise.
27697 * elf/tst-audit2.c: Likewise.
27698 * elf/tst-tls10.c: Likewise.
27699 * elf/tst-tls10.h: Likewise.
27700 * elf/tst-tls11.c: Likewise.
27701 * elf/tst-tls12.c: Likewise.
27702 * elf/tst-tls14.c: Likewise.
27703 * elf/tst-tlsmod11.c: Likewise.
27704 * elf/tst-tlsmod12.c: Likewise.
27705 * elf/tst-tlsmod13.c: Likewise.
27706 * elf/tst-tlsmod13a.c: Likewise.
27707 * elf/tst-tlsmod14a.c: Likewise.
27708 * elf/tst-tlsmod15b.c: Likewise.
27709 * elf/tst-tlsmod16a.c: Likewise.
27710 * elf/tst-tlsmod16b.c: Likewise.
27711 * elf/tst-tlsmod7.c: Likewise.
27712 * elf/tst-tlsmod8.c: Likewise.
27713 * elf/tst-tlsmod9.c: Likewise.
27714 * gmon/gmon.c: Likewise.
27715 * grp/fgetgrent_r.c: Likewise.
27716 * grp/putgrent.c: Likewise.
27717 * hurd/fopenport.c: Likewise.
27718 * include/libc-symbols.h: Likewise.
27719 * include/tls.h: Likewise.
27720 * intl/gettextP.h: Likewise.
27721 * intl/loadinfo.h: Likewise.
27722 * locale/global-locale.c: Likewise.
27723 * locale/localeinfo.h: Likewise.
27724 * mach/devstream.c: Likewise.
27725 * malloc/arena.c: Likewise.
27726 * malloc/set-freeres.c: Likewise.
27727 * misc/err.c: Likewise.
27728 * misc/getttyent.c: Likewise.
27729 * misc/mntent_r.c: Likewise.
27730 * posix/getopt.c: Likewise.
27731 * posix/wordexp.c: Likewise.
27732 * pwd/fgetpwent_r.c: Likewise.
27733 * resolv/Versions: Likewise.
27734 * resolv/res_hconf.c: Likewise.
27735 * shadow/fgetspent_r.c: Likewise.
27736 * shadow/putspent.c: Likewise.
27737 * stdio-common/printf_fphex.c: Likewise.
27738 * stdio-common/tmpfile.c: Likewise.
27739 * stdlib/abort.c: Likewise.
27740 * stdlib/fmtmsg.c: Likewise.
27741 * sunrpc/auth_unix.c: Likewise.
27742 * sunrpc/clnt_perr.c: Likewise.
27743 * sunrpc/clnt_tcp.c: Likewise.
27744 * sunrpc/clnt_udp.c: Likewise.
27745 * sunrpc/clnt_unix.c: Likewise.
27746 * sunrpc/openchild.c: Likewise.
27747 * sunrpc/svc_simple.c: Likewise.
27748 * sunrpc/svc_tcp.c: Likewise.
27749 * sunrpc/svc_udp.c: Likewise.
27750 * sunrpc/svc_unix.c: Likewise.
27751 * sunrpc/xdr.c: Likewise.
27752 * sunrpc/xdr_array.c: Likewise.
27753 * sunrpc/xdr_rec.c: Likewise.
27754 * sunrpc/xdr_ref.c: Likewise.
27755 * sunrpc/xdr_stdio.c: Likewise.
27756
1248c1c4
PB
277572011-09-09 Ulrich Drepper <drepper@gmail.com>
27758
27759 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27760
277612011-07-03 Andreas Jaeger <aj@suse.de>
27762
27763 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27764 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27765 regenerate with gen-libm-tests.pl.
27766
277672010-05-12 Petr Baudis <pasky@suse.cz>
27768
27769 [BZ #11589]
27770 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27771 around j0() zero points by switching to j1().
27772 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27776
f22e1074
UD
277772011-09-09 Ulrich Drepper <drepper@gmail.com>
27778
f19009c1
UD
27779 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27780 instead of 0.
27781 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27782 instead of 0.
f19009c1
UD
27783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27784 Patch in part by Pavel Roskin <proski@gnu.org>.
27785
3f8cc204
UD
27786 [BZ #13138]
27787 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27788 realloc.
27789 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27790 Free memory block if necessary.
27791
f22e1074
UD
27792 [BZ #12847]
27793 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27794 be NULL. Don't lock in this case.
27795
0a2349f9
RM
277962011-09-09 Roland McGrath <roland@hack.frob.com>
27797
27798 * elf/elf.h (ELFOSABI_GNU): New macro.
27799 (ELFOSABI_LINUX): Define to that.
27800
f3cdd467
DZ
278012011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27802
27803 * string/strncat.c (strncat): Undef the symbol in case it has been
27804 defined in bits/string.h.
27805
74718d13
UD
278062011-09-09 Ulrich Drepper <drepper@gmail.com>
27807
633e9e0f
UD
27808 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27809
0a2349f9 27810 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27811 link map.
27812
f9924780
AJ
278132011-08-17 Andreas Jaeger <aj@suse.de>
27814
27815 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27816
7f5517aa
PP
278172011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27818 Ian Lance Taylor <iant@google.com>
27819
27820 * math/libm-test.inc (lround_test): New testcase.
27821 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27822
762011fe
UD
278232011-09-08 Ulrich Drepper <drepper@gmail.com>
27824
92963737
UD
27825 * Makefile: Remove support for automatic cvs check-ins.
27826 * Makerules: Likewise.
27827 * config.make.in: Likewise.
27828 * configure.in: Likewise.
27829 * intl/Makefile: Likewise.
27830 * locale/Makefile: Likewise.
27831 * po/Makefile: Likewise.
27832 * posix/Makefile: Likewise.
27833 * sysdeps/gnu/Makefile: Likewise.
27834 * sysdeps/mach/hurd/Makefile: Likewise.
27835 * sysdeps/sparc/sparc32/Makefile: Likewise.
27836
b0727fd8
JS
27837 [BZ #13118]
27838 * posix/Makefile (bug-regex32-ENV): Define.
27839 Patch by John Stanley <jpsinthemix@verizon.net>.
27840
a0f33f99
UD
27841 * misc/Makefile (headers): Add bits/select2.h.
27842 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27843 * misc/bits/select2.h: New file.
27844 * include/bits/select2.h: New file.
27845 * debug/Makefile (routines): Add fdelt_chk.
27846 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27847 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27848 FD_ISSET.
27849 * debug/fdelt_chk.c: New file.
27850
762011fe
UD
27851 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27852 * wcsmbs/test-wmemcmp.c: Likewise.
27853 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27854 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27855
278562011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27857
27858 * string/Makefile (strop-tests): Add memcmp.
27859 * string/test-wmemcmp.c: New file.
27860 * string/test-memcmp.c: Add wmemcmp support.
27861
7f513ec8
RM
278622011-09-08 Roland McGrath <roland@hack.frob.com>
27863
0442afb4
RM
27864 [BZ #13153]
27865 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27866 2011-07-19 change.
27867
7f513ec8
RM
27868 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27869 garbage value in a __mach_port_mod_refs call in the cases of the
27870 task-self and thread-self ports.
27871
a12b2239
ST
278722011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27873
27874 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27875
610f9ab4
AS
278762011-09-08 Andreas Schwab <schwab@redhat.com>
27877
7f513ec8 27878 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27879
48882a1a
LD
278802011-09-07 Ulrich Drepper <drepper@gmail.com>
27881
b49865be
UD
27882 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27883
fdc86bc9
UD
27884 * elf/dl-libc.c (dlerror_run): Pass back error code from
27885 dl_catch_error.
27886
c966526a
UD
27887 [BZ #13123]
27888 * elf/dl-load.c (lose): Free l_origin if it is valid.
27889
48882a1a
LD
27890 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27891 names.
27892 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27894 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27895 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27896 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27897 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27898
77a2a8b4
AZ
278992011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27900
27901 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27902 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27903 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27904 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27905 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27906 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27907 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27908 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27909 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27910 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27911
24f579d8
AM
279122011-08-15 Alan Modra <amodra@gmail.com>
27913
27914 [BZ #13092]
27915 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27916 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27917 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27918 ppc_mcount to static-only-routines.
27919 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27920 __mcount_internal.
27921 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27922 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27923
3d4837df
UD
279242011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27925
27926 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27927 for finite and infinity parameters.
27928
22700377
WS
279292011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27930
27931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27932 and add nop instructions for throughput optimization.
27933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27934
5025581e
WS
279352011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27936
27937 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27938 aligned copy for power7 with vector-scalar instructions.
27939 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27940
08a300c9
L
279412011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27942
27943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27944 AVX check.
27945
59178ef9
AS
279462011-09-07 Andreas Schwab <schwab@redhat.com>
27947
27948 [BZ #13144]
27949 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27950 last change.
27951
e38ba7ab
UD
279522011-09-07 Ulrich Drepper <drepper@gmail.com>
27953
27954 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27955 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27956 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27957 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27958 clock_gettime.
27959
d53a73ac
UD
279602011-09-06 Ulrich Drepper <drepper@gmail.com>
27961
fc8bffcc
UD
27962 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27963 Forgot to demangle the pointer.
27964
ceaa0c5d
UD
27965 * sysdeps/i386/sysdep.h: Define atom_text_section.
27966 * sysdeps/x86_64/sysdep.h: Likewise.
27967 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27968 section with atom_text_section.
27969 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27970 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27971 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27973 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27974
a77d3c17
UD
27975 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27977 already be defined. Change to take two parameters and don't assign
27978 result to variable. Adjust all users.
27979 Define INTERNAL_GETTIME if not already defined.
27980 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27981 call.
27982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27983 HAVE_CLOCK_GETTIME_VSYSCALL.
27984 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27985
d53a73ac
UD
27986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27987 gettimeofday vsyscall, just use time.
27988
a8f84144
AS
279892011-09-06 Andreas Schwab <schwab@redhat.com>
27990
27991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27992 <errno.h>.
27993
ef606249
UD
279942011-09-06 Ulrich Drepper <drepper@gmail.com>
27995
27996 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27997 syscall on x86-64.
27998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27999 syscall.
28000 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28001 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28002 syscall if possible.
28003
6585cb60
UD
280042011-09-05 Ulrich Drepper <drepper@gmail.com>
28005
28006 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28007 e_ident. Don't pass to find_mapsXX.
28008 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28009
a5f524e4
LD
280102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28011
28012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28013 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28014 * sysdeps/x86_64/multiarch/strchr.S: Update.
28015 Check bit_slow_BSF bit.
28016 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28017 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28019
554881ef
UD
280202011-09-05 Ulrich Drepper <drepper@gmail.com>
28021
d96de963
UD
28022 [BZ #13134]
28023 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28024 before glibc 2.15.
28025 (tryshell): Define.
28026 (__spawni): Change last parameter to be flag. Test
28027 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28028 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28029 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28030 * posix/spawni.c: Likewise.
28031 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28032 * posix/spawnp.c: Likewise. Change normal version to use
28033 SPAWN_XFLAGS_USE_PATH.
28034 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28035 SPAWN_XFLAGS_TRY_SHELL.
28036
d48e5868
UD
28037 [BZ #13150]
28038 * posix/glob.h: Remove gcc 1.x support.
28039
554881ef
UD
28040 [BZ #13068]
28041 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28042
693fb948
LD
280432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28044
28045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28046 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28047 strrchr-sse2-bsf
28048 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28049 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28050 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28052 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28053 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28054
1b48c537
UD
280552011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28056
49d42c37
UD
28057 * sysdeps/x86_64/wcscmp.S: New file.
28058
1b48c537
UD
28059 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28060 wcscmp-c wcscmp-sse2
28061 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28062 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28063 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28064 * wcsmbs/wcscmp.c: Allow renaming.
28065
15c95c5d
DM
280662011-09-05 David S. Miller <davem@davemloft.net>
28067
28068 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28069 stack slot, rather than the struct return pointer slot.
28070 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28071 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28073 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28074
2f0ad8f3
UD
280752011-09-05 Ulrich Drepper <drepper@gmail.com>
28076
d88ae418
UD
28077 * po/ja.po: Update from translation team.
28078
2f0ad8f3
UD
28079 [BZ #13144]
28080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28081 kernel in 64-bit binaries.
28082
5f4318d1
DM
280832011-09-01 David S. Miller <davem@davemloft.net>
28084
28085 * elf/elf.h (HWCAP_SPARC_*): Move to..
28086 * sysdeps/sparc/sysdep.h: this new file and add new values.
28087 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28088 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28089 _DL_HWCAP_COUNT to 24.
28090 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28091 entries.
28092 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28093 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28094 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28095 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28096 instead of magic constants.
28097 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28098
3ba57516
DM
280992011-08-31 David S. Miller <davem@davemloft.net>
28100
28101 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28103 Reimplement to do errno handling inline.
28104 (SYSCALL_ERROR_HANDLER): New macro.
28105 (__SYSCALL_STRING): Do not do errno handling in asm.
28106 (__CLONE_SYSCALL_STRING): Delete.
28107 (__INTERNAL_SYSCALL_STRING): Delete.
28108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28109 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28110 (PSEUDO): Reimplement to do errno handling inline.
28111 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28112 (SYSCALL_ERROR_HANDLER): New macro.
28113 (__SYSCALL_STRING): Do not do errno handling in asm.
28114 (__CLONE_SYSCALL_STRING): Delete.
28115 (__INTERNAL_SYSCALL_STRING): Delete.
28116 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28117 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28118 i386.
28119 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28120 (inline_syscall*): Add 'err' argument.
28121 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28122 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28123 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28124 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28125
28126 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28127 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28128
2bc17433
AS
281292011-08-30 Andreas Schwab <schwab@redhat.com>
28130
28131 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28132
fbeb5f4d
JO
281332011-08-29 Jiri Olsa <jolsa@redhat.com>
28134
28135 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28136 directive.
28137
ad69cc26
DM
281382011-08-24 David S. Miller <davem@davemloft.net>
28139
28140 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28141
39dd69df
AS
281422011-08-24 Andreas Schwab <schwab@redhat.com>
28143
28144 * elf/Makefile: Add rules to build and run unload8 test.
28145 * elf/unload8.c: New file.
28146 * elf/unload8mod1.c: New file.
28147 * elf/unload8mod1x.c: New file.
28148 * elf/unload8mod2.c: New file.
28149 * elf/unload8mod3.c: New file.
28150
28151 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28152 it wasn't used.
28153
2c0b250a
DM
281542011-08-23 David S. Miller <davem@davemloft.net>
28155
28156 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28157 subtract stack bias.
28158 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28159 %sp not %fp in calculations.
28160 (_JMPBUF_UNWINDS_ADJ): Likewise.
28161
22044b48
DM
28162 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28163 (aio_suspend): Call it to force an exception region around the
28164 AIO_MISC_WAIT() invocation.
28165
2cae4995
AS
281662011-08-23 Andreas Schwab <schwab@redhat.com>
28167
28168 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28169 backslash.
28170
873a772e
AJ
281712011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28172
28173 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28174 protection macro.
28175 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28176 and <dl-machine.h>.
28177 (Elf64_FuncDesc): Remove.
28178
25ad0df1
DM
281792011-08-22 David S. Miller <davem@davemloft.net>
28180
28181 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28182 sigaltstack check, add missing cfi directives.
28183 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28184 missing cfi directives, and sigaltstack handling.
28185
e888bcbe
AS
281862011-08-16 Andreas Schwab <schwab@redhat.com>
28187
28188 [BZ #11724]
28189 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28190 object is seen twice.
28191 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28192
28193 * elf/Makefile (distribute): Add tst-initorder2.c.
28194 (tests): Add tst-initorder2.
28195 (modules-names): Add tst-initorder2a tst-initorder2b
28196 tst-initorder2c tst-initorder2d. Add rules to build them.
28197 ($(objpfx)tst-initorder2.out): New rule.
28198 * elf/tst-initorder2.c: New file.
28199 * elf/tst-initorder2.exp: New file.
28200
87162f46
AS
282012011-08-22 Andreas Schwab <schwab@redhat.com>
28202
70538b7f
AS
28203 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28204
f55ffe58
AS
28205 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28206 dependencies back to end of function.
28207
87162f46
AS
28208 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28209 $(elfobjdir)/ld.so.
28210
91b392a4
UD
282112011-08-21 Ulrich Drepper <drepper@gmail.com>
28212
28213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28214 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28216 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28217 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28218 of __vdso_gettimeofday.
28219 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28220 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28221 attribute_hidden.
28222 (_libc_vdso_platform_setup): Remove initialization of
28223 __vdso_gettimeofday and __vdso_time.
28224
5c43483f
UD
282252011-08-20 Ulrich Drepper <drepper@gmail.com>
28226
775a77e7
UD
28227 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28228 and fgetc_unlocked.
28229 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28230 getc_unlocked.
89f447ed 28231
49c74ba9
UD
28232 * elf/dl-open.c (add_to_global): Report additions to the global scope
28233 for LD_DEBUG=scopes.
28234 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28235 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28236
5c43483f
UD
28237 [BZ #13114]
28238 * stdio-common/Makefile (tests): Add bug24.
28239 * stdio-common/bug24.c: New file.
28240
a101b025
AJ
282412011-08-19 Andreas Jaeger <aj@suse.de>
28242
28243 [BZ #13114]
28244 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28245 non-existant file when using close-on-exec mode.
28246
c88f1766
UD
282472011-08-20 Ulrich Drepper <drepper@gmail.com>
28248
0276a718
UD
28249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28250 the very first instruction.
28251
c88f1766
UD
28252 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28253 the CFI state in the end.
28254 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28255 inclusion of dl-trampoline.h.
28256 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28257
51ccffa0
AS
282582011-08-19 Andreas Schwab <schwab@redhat.com>
28259
94d7165f
AS
28260 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28261 expectations for long double.
28262
51ccffa0
AS
28263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28264 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28265
fd708658 282662011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28267
28268 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28269 artificual limit depends upon the system page size.
28270
44f0a71e
UD
282712011-08-17 Ulrich Drepper <drepper@gmail.com>
28272
28273 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28274 * resolv/Makefile: Define CFLAGS-libresolv.
28275
8de79a24
AS
282762011-08-17 Andreas Schwab <schwab@redhat.com>
28277
28278 * nss/makedb.c (compute_tables): Make variables used in nested
28279 function static.
28280
27724598
UD
282812011-08-17 Ulrich Drepper <drepper@gmail.com>
28282
c5305d88
UD
28283 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28284 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28285 if buffer was too small.
28286
27724598
UD
28287 * elf/pldd.c (main): Attach to all threads in the process.
28288 Rewrite /proc handling to use *at functions.
28289
076fe015
UD
282902011-08-16 Ulrich Drepper <drepper@gmail.com>
28291
174baab3
UD
28292 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28293 specifies first scope to show.
28294 (dl_open_worker): Update callers. Move printing scope of new
28295 object to before the relocation.
44f0a71e 28296 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28297 * sysdeps/generic/ldsodefs.h: Update declaration.
28298
076fe015
UD
28299 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28300 string for the scope number.
28301
a60df2c3
UD
283022011-08-14 Ulrich Drepper <drepper@gmail.com>
28303
28304 * nscd/servicescache.c (cache_addserv): Make sure written is always
28305 initialized.
28306
5e4287d1
RM
283072011-08-14 Roland McGrath <roland@hack.frob.com>
28308
85ae0589
RM
28309 * sysdeps/i386/i486/bits/atomic.h
28310 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28311 statement expression, so as to suppress "set but not used" warning.
28312 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28313
69f63097
RM
28314 * string/strncat.c (STRNCAT): Use prototype definition.
28315
675456ef
RM
28316 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28317 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28318 -Iprograms here.
28319 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28320 (localedef-modules): Add localedef.
28321 (locale-modules): Add locale.
28322
5e4287d1
RM
28323 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28324 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28325 to avoid a warning.
28326
9c96ff23
DM
283272011-08-14 David S. Miller <davem@davemloft.net>
28328
28329 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28330 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28331
f9ddf089
UD
283322011-08-13 Ulrich Drepper <drepper@gmail.com>
28333
44f0a71e 28334 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28335 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28336 * elf/rtld.c (dl_main): Set l_name of vDSO.
28337 Call _dl_show_scope when DL_DEBUG_SCOPES.
28338 (process_dl_debug): Recognize scopes flag and also set it for all.
28339 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28340 Declare _dl_show_scope.
28341
1dc27704
UD
28342 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28343 (do_dlopen): Pass caller_dlopen to dl_open.
28344 (__libc_dlopen_mode): Initialize caller_dlopen.
28345
f9ddf089
UD
28346 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28347 of libc. Make tolower call locale-independent. Optimize a bit by
28348 using isdigit instead of isalnum.
28349 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28350
9ac533d3
UD
283512011-08-12 Ulrich Drepper <drepper@gmail.com>
28352
28353 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28354 was a dependency or dynamically loaded.
28355
89edf2e9
UD
283562011-08-11 Ulrich Drepper <drepper@gmail.com>
28357
8e999d29
UD
28358 * intl/l10nflist.c: Allow architecture-specific pop function.
28359 * sysdeps/x86_64/l10nflist.c: New file.
28360
89edf2e9
UD
28361 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28362 classification.
28363
14d96785
AS
283642011-08-10 Andreas Schwab <schwab@redhat.com>
28365
28366 * include/dirent.h: Add libc_hidden_proto for scandirat and
28367 scandirat64. Don't declare __scandirat64.
28368 * dirent/scandirat.c: Add libc_hidden_def.
28369 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28370 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28371
6761ac04
DM
283722011-08-10 David S. Miller <davem@davemloft.net>
28373
28374 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28375 enum.
28376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28377 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28378 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28379
c55fbd1e
UD
283802011-08-09 Ulrich Drepper <drepper@gmail.com>
28381
28382 * Versions.def [libc]: Add GLIBC_2.15.
28383 * dirent/Makefile (routines): Add scandirat and scandirat64.
28384 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28385 GLIBC_2.15.
28386 * dirent/dirent.h: Declare scandirat and scandirat64.
28387 * dirent/scandirat.c: New file.
28388 * dirent/scandirat64.c: New file.
28389 * sysdeps/wordsize-64/scandirat.c: New file.
28390 * sysdeps/wordsize-64/scandirat64.c: New file.
28391 * dirent/opendir.c: Define opendirat.
28392 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28393 using scandirat.
28394 * dirent/scandir64.c: Adjust for scandir.c change.
28395 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28396 __scandirat64, and __scandir_cancel_handler.
28397 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28398 additional parameter and use openat instead of open (outside of ld.so).
28399 Add new __opendir as wrapper around __opendirat.
28400 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28401 here without requiring old scandirat implementation.
28402
879165f2
UD
284032011-08-08 Ulrich Drepper <drepper@gmail.com>
28404
28405 * dirent/scandir.c (cancel_handler): Renamed to
28406 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28407 defined. Adjust users.
28408 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28409 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28410
cb7e923b
UD
284112011-08-04 Ulrich Drepper <drepper@gmail.com>
28412
16292edd
UD
28413 * string/test-string.h (IMPL): Use __STRING to expand name and then
28414 stringify it.
28415
cb7e923b
UD
28416 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28417 of cleanups.
28418
cff82933
LD
284192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28420
28421 * string/Makefile: Update.
28422 (strop-tests): Append strncat.
28423 * string/test-wcscmp.c: New file.
28424 New comprehensive test for wcscmp.
28425 * string/test-strcmp.c: Update.
28426 (WIDE): New define.
28427
9be9bfcc
AS
284282011-07-22 Andreas Schwab <schwab@redhat.com>
28429
28430 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28431 line.
28432
2e96f1c7
AS
284332011-07-26 Andreas Schwab <schwab@redhat.com>
28434
28435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28436 encoding to ACE if AI_IDN.
28437
85188888
JJ
284382011-08-01 Jakub Jelinek <jakub@redhat.com>
28439
28440 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28441 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28442
5fa16e9b
LD
284432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28444
28445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28446 Fix overflow bug in strncat.
28447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28448
28449 * string/test-strncat.c: Update.
28450 Add new tests for checking overflow bugs.
28451
284522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28453
28454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28455 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28456 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28457 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28458 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28459 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28460 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28461 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28462 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28463
28464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28465 (USE_AS_STRCAT): Define.
28466 Add strcat and strncat support.
28467 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28468
8c1a459f
AS
284692011-07-25 Andreas Schwab <schwab@redhat.com>
28470
28471 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28472 __n bigger than INT_MAX+1.
28473 (__strncmp_g): Likewise.
28474
bba33c28
UD
284752011-07-23 Ulrich Drepper <drepper@gmail.com>
28476
798be72d
UD
28477 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28478 * libio/stido.h: Likewise.
28479
8accd4dc
UD
28480 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28481 (AF_NFC): Define.
28482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28483 (AF_NFC): Define.
28484
cbff0d96
UD
28485 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28487 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28488 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28490
9191c04a
UD
28491 [BZ #13021]
28492 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28493 installed.
28494
bba33c28
UD
28495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28496 typo.
28497 (_dl_x86_64_save_sse): Likewise.
28498
90f139dd
UD
284992011-07-22 Ulrich Drepper <drepper@gmail.com>
28500
1aae088a
UD
28501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28502 OSXSAVE.
28503 (_dl_x86_64_save_sse): Likewise.
28504
8e2045f5
UD
28505 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28506
90f139dd
UD
28507 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28508
1d002f25
AS
285092011-07-21 Andreas Schwab <schwab@redhat.com>
28510
28511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28512 change.
28513 (_dl_x86_64_save_sse): Use correct AVX check.
28514
21137f89
UD
285152011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28516
28517 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28518 bug in strncpy/strncat.
28519 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28520
a65c0b7a
UD
285212011-07-21 Ulrich Drepper <drepper@gmail.com>
28522
28523 * string/tester.c (test_strcat): Add tests for different alignments
28524 of source and destination.
28525 (test_strncat): Likewise.
28526
6986b98a
UD
285272011-07-20 Ulrich Drepper <drepper@gmail.com>
28528
90bb2039
UD
28529 [BZ #12852]
28530 * posix/glob.c (glob): Check passed in values before using them in
28531 expressions to avoid some overflows.
28532 (glob_in_dir): Likewise.
28533
5644ef54
UD
28534 [BZ #13007]
28535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28536 check for AVX enablement so that we don't crash with old kernels and
28537 new hardware.
28538 * elf/tst-audit4.c: Add same checks here.
28539 * elf/tst-audit6.c: Likewise.
28540
28541 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28542
bfc9dc9b
AS
285432011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28544
28545 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28546
702e64bb
UD
285472011-07-20 Ulrich Drepper <drepper@gmail.com>
28548
28549 * po/cs.po: Update from translation team.
28550 * po/bg.po: Likewise.
28551
295e904f
MP
285522011-07-12 Marek Polacek <mpolacek@redhat.com>
28553
28554 * misc/sys/cdefs.h: Add support for const attribute.
28555 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28556 to gnu_dev_{major,minor,makedev} functions.
28557
3ff94596
MP
285582011-07-20 Marek Polacek <mpolacek@redhat.com>
28559
28560 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28561
28b59fca
AS
285622011-07-20 Andreas Schwab <schwab@redhat.com>
28563
28564 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28565 strlen results.
28566
19df733e
AK
285672011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28568
28569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28570 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28571 register in order to avoid conflicts with the soft frame pointer
28572 being held in r11 when necessary.
28573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28574 (INTERNAL_VSYSCALL_NCS): Likewise.
28575
c8835729
MP
285762011-07-14 Marek Polacek <mpolacek@redhat.com>
28577
28578 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28579 * elf/dl-fini.c (_dl_fini): Adjust caller.
28580 * elf/dl-close.c (_dl_close_worker): Likewise.
28581 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28582
b902330c
MP
285832011-07-15 Marek Polacek <mpolacek@redhat.com>
28584
8991e135
MP
28585 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28586 "aux_cache->nlibs < 0".
28587
b902330c
MP
28588 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28589 in the reload-count case.
28590
99710781
LD
285912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28592
28593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28594 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28595 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28596 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28597 * sysdeps/x86_64/multiarch/strcat.S: New file.
28598 * sysdeps/x86_64/multiarch/strncat.S: New file.
28599 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28600 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28601 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28602 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28604 (USE_AS_STRCAT): Define.
28605 Add strcat and strncat support.
28606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28608 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28609 * string/strncat.c: Update.
28610 (USE_AS_STRNCAT): Define.
28611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28612 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28613 and i7.
28614 * sysdeps/x86_64/multiarch/init-arch.h
28615 (bit_Prefer_PMINUB_for_stringop): New.
28616 (index_Prefer_PMINUB_for_stringop): Likewise.
28617 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28618 bit_Prefer_PMINUB_for_stringop.
28619
7dc6bd90
UD
286202011-07-19 Ulrich Drepper <drepper@gmail.com>
28621
28622 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28623 buffer64.
28624 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28625 of casting of buffer.
28626 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28627 buffer32 and buffer64.
28628 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28629 writes instead of casting of buffer.
28630 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28631 buffer32.
28632 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28633 casting of buffer.
28634
e0e72284
AS
286352011-07-19 Andreas Schwab <schwab@redhat.com>
28636
28637 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28638
feb1eb0b
UD
286392011-07-19 Ulrich Drepper <drepper@gmail.com>
28640
28641 * nscd/nscd.c (termination_handler): Don't do anything for a database
28642 if it has not yet been initialized.
28643
298711ff
UD
286442011-07-18 Ulrich Drepper <drepper@gmail.com>
28645
28646 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28647
286482011-07-15 Marek Polacek <mpolacek@redhat.com>
28649
28650 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28651
f9d68389
UD
286522011-07-18 Ulrich Drepper <drepper@gmail.com>
28653
28654 * po/nl.po: Update from translation team.
28655 * po/sv.po: Likewise.
28656
db290cf5
RM
286572011-07-16 Roland McGrath <roland@hack.frob.com>
28658
28659 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28660 now disallowed by GCC.
5c550700 28661
fd5e21c7
RM
28662 * configure.in (use-default-link): Default to yes if a test -shared
28663 link meets our qualifications.
28664 * configure: Regenerated.
28665
5c550700
RM
28666 * config.make.in (output-format): New variable.
28667 * configure.in: Check for ld --print-output-format support.
28668 * configure: Regenerated.
28669 * Makerules ($(common-objpfx)format.lds)
28670 [$(output-format) != unknown]: Just use $(output-format),
28671 instead of the linker-script munging.
28672
9fa2c032
RM
286732011-07-14 Roland McGrath <roland@hack.frob.com>
28674
a6928d51
RM
28675 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28676 of $(common-objpfx)shlib.lds.
28677 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28678
661607b3
RM
28679 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28680 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28681
9fa2c032
RM
28682 * configure.in (-z relro check): Adjust test code to add a large
28683 writable data section after it.
28684 * configure: Regenerated.
28685
defe9061
RM
286862011-07-11 Roland McGrath <roland@hack.frob.com>
28687
28688 * configure.in (-z relro check): Fix test code to make the variable
28689 truly const.
28690 * configure: Regenerated.
28691
319b9ad4
UD
286922011-07-11 Ulrich Drepper <drepper@gmail.com>
28693
28694 * nscd/nscd.h (struct traced_file): Define.
28695 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28696 elements. Add traced_files.
28697 (inotify_fd): Declare.
28698 (register_traced_file): Declare.
28699 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28700 (inotify_fd): Export.
28701 (resolv_conf_descr): Remove.
28702 (nscd_init): Move inotify descriptor creation to main.
28703 Don't register files for notification here.
28704 (register_traced_file): New function.
28705 (invalidate_cache): Don't use reset_res to determine whether to call
28706 res_init, go through the list of registered files.
28707 (main_loop_poll): The inotify descriptors are now stored in the
28708 structures for the traced files.
28709 (main_loop_epoll): Likewise
28710 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28711 to __nss_disable_nscd.
28712 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28713 for a database anymore. Check the records for all the registered
28714 files instead.
28715 * nss/Makefile (libnss_files-routines): Add files-init.
28716 (libnss_db-routines): Add db-init.
28717 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28718 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28719 * nss/nss_db/db-init.c: New file.
28720 * nss/nss_files/files-init.c: New file.
28721 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28722 __nss_lookup_function.
28723 (__nss_lookup_function): Call nss_load_library.
28724 (nss_load_all_libraries): New function.
28725 (__nss_disable_nscd): Take parameter with callback function for files
28726 to register. Set is_nscd. Load all the DSOs for the NSS modules
28727 used for the cached services.
28728 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28729 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28730 options for features to all the files in nscd.
28731
28732 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28733
23bee3e8
RM
287342011-07-10 Roland McGrath <roland@hack.frob.com>
28735
28736 * csu/elf-init.c (__libc_csu_init): Comment typo.
28737
46a5b7f0
UD
287382011-07-09 Ulrich Drepper <drepper@gmail.com>
28739
28740 * po/pl.po: Update from translation team.
28741 * po/ja.po: Likewise.
28742 * po/ru.po: Likewise.
28743 * po/ko.po: Likewise.
28744 * po/fr.po: Likewise.
28745
d30cf5bb
RM
287462011-07-09 Roland McGrath <roland@hack.frob.com>
28747
113ddea4
RM
28748 * configure.in (.ctors/.dtors header and trailer check):
28749 Use an empirical test on a built program.
28750 * configure: Regenerated.
28751
574920b4
RM
28752 * configure.in (-z relro check): Use an empirical test on a built DSO.
28753 Detect, but do not require, on ia64.
28754 * configure: Regenerated.
28755
d30cf5bb
RM
28756 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28757 Update tests that use readelf to use $READELF instead.
28758 * configure: Regenerated.
28759
8538fdb3
UD
287602011-07-08 Ulrich Drepper <drepper@gmail.com>
28761
28762 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28763 if the result is not used.
28764
04d08991
AJ
287652011-07-05 Andreas Jaeger <aj@suse.de>
28766
28767 [BZ#9696]
28768 * stdlib/tst-strtod.c: Add testcase.
28769
de283087
AD
287702011-07-07 Ulrich Drepper <drepper@gmail.com>
28771
4e5f31c8 28772 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28773 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28774 The latter has a higher limit. Take additional parameter to pass to
28775 the new function.
28776 (__pathconf): Pass file to __statfs_link_max.
28777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28778 __statfs_link_max.
28779 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28780 __statfs_link_max.
28781
de283087
AD
28782 [BZ #12868]
28783 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28784 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28785 Handle Lustre.
28786 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28787 (__statfs_filesize_max): Likewise.
28788 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28789
c75fa153
AJ
287902011-07-05 Andreas Jaeger <aj@suse.de>
28791
28792 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28793
1a544854
UD
287942011-07-06 Marek Polacek <mpolacek@redhat.com>
28795
28796 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28797 `status' variable.
28798 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28799 Likewise.
28800
6f0eec67
UD
288012011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 * Makefile (strop-tests): Add strncat.
28804 * string/test-strncat.c: New file.
28805
aae30307
UD
288062011-06-30 Marek Polacek <mpolacek@redhat.com>
28807
28808 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28809
c0cfb5eb
UD
288102011-06-21 Andreas Jaeger <aj@suse.de>
28811
28812 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28813 Copy rule from iconvdata/Makefile.
28814
01636b21
UD
288152011-07-06 Ulrich Drepper <drepper@gmail.com>
28816
28817 [BZ #12922]
28818 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28819 but no long options are defined, just return 'W'.
28820
9895c8bc
UD
288212011-06-22 Marek Polacek <mpolacek@redhat.com>
28822
28823 [BZ #9696]
28824 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28825
5d4cf042
UD
288262011-07-06 Ulrich Drepper <drepper@gmail.com>
28827
28828 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28829 netgroups to read.
960e5535 28830 (innetgr): Likewise.
5d4cf042 28831
751eb97e
RM
288322011-07-05 Roland McGrath <roland@hack.frob.com>
28833
28834 * config.make.in (install_root): Default to $(DESTDIR).
28835
f15f1e45
UD
288362011-07-05 Ulrich Drepper <drepper@gmail.com>
28837
28838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28839
4e34ac6a
RM
288402011-07-02 Roland McGrath <roland@hack.frob.com>
28841
5e9b6af4
RM
28842 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28843
84f9ea0f
RM
28844 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28845 containing directory rather than embedding absolute directory names.
28846
ea5ee9f7
RM
28847 * scripts/check-local-headers.sh: Rewritten using awk.
28848 Match by word, not by line. Print error messages for matches.
28849 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28850
1b74661a
RM
28851 * Makerules [shlib-lds-flags empty]:
28852 ($(common-objpfx)libc_pic.opts): New target.
28853 ($(common-objpfx)libc_pic.os.clean): New target.
28854 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28855
28856 * config.make.in (OBJCOPY): New variable.
28857 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28858 * configure: Regenerated.
28859
f781ef40
RM
28860 * config.make.in (use-default-link): New variable.
28861 * configure.in (use_default_link): Grok --with-default-link to set it.
28862 * configure: Regenerated.
28863 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28864 (shlib-lds, shlib-lds-flags): Define to empty.
28865
2d4fa81e
RM
28866 * Makerules (shlib-lds): New variable.
28867 (shlib-lds-flags): New variable.
28868 (build-shlib, build-moduile, build-module-asneeded): Use it.
28869 ($(common-objpfx)libc.so): Use $(shlib-lds).
28870 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28871 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28872
31fffa6b
RM
28873 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28874 DT_FLAGS/DT_FLAGS_1 with zero flags.
28875
4e34ac6a
RM
28876 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28877 linker script munging.
28878
fcfc776b
UD
288792011-07-02 Ulrich Drepper <drepper@gmail.com>
28880
28881 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28882 as 128-bit value.
28883 * crypt/sha512.c (sha512_process_block): Perform total addition using
28884 128-bit if possible.
28885 (__sha512_finish_ctx): Likewise.
28886 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28887 as 64-bit value.
28888 * crypt/sha256.c (SWAP64): Define.
28889 (sha256_process_block): Perform total addition using 64-bit if
28890 possible.
28891 (__sha256_finish_ctx): Likewise.
28892
99231d9a
UD
288932011-07-01 Ulrich Drepper <drepper@gmail.com>
28894
28895 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28897 * nscd/hstcache.c (cache_addhst): Likewise.
28898 * nscd/grpcache.c (cache_addgr): Likewise.
28899 * nscd/aicache.c (addhstaiX): Likewise
28900 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28901
445b4a53
TK
289022011-07-01 Thorsten Kukuk <kukuk@suse.de>
28903
28904 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28906 * nscd/hstcache.c (cache_addhst): Likewise.
28907 * nscd/grpcache.c (cache_addgr): Likewise.
28908 * nscd/aicache.c (addhstaiX): Likewise
28909
6d4d8e8e
AS
289102011-07-01 Andreas Schwab <schwab@redhat.com>
28911
28912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28913 domain only when needed.
28914
89f654c5
AS
289152011-06-30 Andreas Schwab <schwab@redhat.com>
28916
28917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28918 is always restored.
28919
cf3b23ff
UD
289202011-06-29 Ulrich Drepper <drepper@gmail.com>
28921
28922 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28923 are re-adding the entry.
28924 * nscd/servicescache.c (cache_addserv): Likewise.
28925
751626f9
AJ
289262011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28927
28928 * sysdeps/generic/dl-irel.h: fix protection against multiple
28929 inclusions.
28930 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28931
9113ea1f
UD
289322011-06-28 Ulrich Drepper <drepper@gmail.com>
28933
5c0b8d90
UD
28934 [BZ #12935]
28935 * malloc/memusage.sh: Fix quoting in message.
28936 * debug/xtrace.sh: Likewise.
28937
9113ea1f
UD
28938 * configure.in: Remove support for --experimental-malloc option, make
28939 it the default.
28940 * config.make.in: Likewise.
28941 * malloc/Makefile: Likewise.
28942
a4172181
AS
289432011-06-27 Andreas Schwab <schwab@redhat.com>
28944
28945 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28946 two-byte characters.
28947
78a7eee7
RM
289482011-06-27 Roland McGrath <roland@hack.frob.com>
28949
62bede13
RM
28950 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28951 AC_CACHE_CHECK invocation.
28952 * configure: Regenerated.
28953
78a7eee7
RM
28954 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28955
5ce33a62
UD
289562011-06-27 Ulrich Drepper <drepper@gmail.com>
28957
034807a9
UD
28958 [BZ #12350]
28959 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28960 bit from old_res_options.
28961
4902da17
UD
28962 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28963
5ce33a62
UD
28964 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28965 value type for setfct.
28966
c2344f56
L
289672011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28968
28969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28970 __gettimeofday instead of gettimeofday.
28971
68468076
UD
289722011-06-26 Ulrich Drepper <drepper@gmail.com>
28973
28974 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28975
acb0d739
L
289762011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28977
28978 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28979
28980 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28981 info.
28982
8912479f
L
289832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28984
28985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28986 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28987 strcpy-sse2-unaligned strncpy-sse2-unaligned
28988 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28989 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28990 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28991 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28992 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28993 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28995 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28996 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28997 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28998 (STRCPY): Support SSE2 and SSSE3 versions.
28999
d5495a11
UD
290002011-06-24 Ulrich Drepper <drepper@gmail.com>
29001
29002 [BZ #12874]
29003 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29004 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29005 kernels which artificially limit size of requests.
29006
0b1cbaae
L
290072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29008
29009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29010 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29011 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29012 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29013 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29014 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29015 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29016 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29018 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29019 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29020 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29021 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29022 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29023 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29025 Enable unaligned load optimization for Intel Core i3, i5 and i7
29026 processors.
29027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29028 Define.
29029 (index_Fast_Unaligned_Load): Define.
29030 (HAS_FAST_UNALIGNED_LOAD): Define.
29031
07f494a0
MP
290322011-06-23 Marek Polacek <mpolacek@redhat.com>
29033
29034 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29035
fa3fc0fe
UD
290362011-06-22 Ulrich Drepper <drepper@gmail.com>
29037
29038 [BZ #12907]
29039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29040 until it is clear that the information is realy needed.
29041 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29042
e12df166
AS
290432011-06-22 Andreas Schwab <schwab@redhat.com>
29044
29045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29046
852eb34d
UD
290472011-06-22 Ulrich Drepper <drepper@gmail.com>
29048
84e2a551
UD
29049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29050 /sys/devices/system/cpu/online if it is usable.
29051
852eb34d
UD
29052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29053 reading the information from the /proc filesystem to once a second.
29054
6e502e19
UD
290552011-06-21 Andreas Jaeger <aj@suse.de>
29056
29057 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29058 NULL after inclusion of kernel headers.
29059
75d39ff2
UD
290602011-06-21 Ulrich Drepper <drepper@gmail.com>
29061
51f9aa6a
UD
29062 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29063 calls to internal_setent.
29064
c0244a9d
UD
29065 [BZ #12885]
29066 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29067 addresses using gethostbyname4_r ignore IPv4 addresses.
29068
c5e3c2ae
UD
29069 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29070 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29071
75d39ff2
UD
29072 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29073
42675c6f
DM
290742011-06-20 David S. Miller <davem@davemloft.net>
29075
29076 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29077 inclusions.
29078 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29079
29080 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29081 (elf_irel): Use it.
29082 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29083 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29084 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29085 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29086 * sysdeps/x86_64/dl-irel.h: Likewise.
29087
29088 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29089 * elf/dl-sym.c: Likewise.
29090
57912a71
UD
290912011-06-15 Ulrich Drepper <drepper@gmail.com>
29092
29093 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29094 need to dereference resplen2.
29095
ee22793d
AS
290962011-06-14 Andreas Schwab <schwab@redhat.com>
29097
29098 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29099
a9e836b0
UD
291002011-06-15 Ulrich Drepper <drepper@gmail.com>
29101
77fb9117
UD
29102 * Makeconfig: Define vardbdir and inst_vardbdir.
29103 * nss/Makefile: Add rules to install db-Makefile.
29104
40c1b22c
UD
29105 * nss/nss_db/db-XXX.c: Cleanup.
29106
9f2da732
UD
29107 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29108 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29109 GLIBC_PRIVATE.
29110 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29111 * nss/makedb.c: Implement -g option to specify that value strings
29112 are generated and should not be added to table iterated over for
29113 get*ent calls.
29114 * nss/nss_db/db-initgroups.c: New file.
29115
82e9a1f7
UD
29116 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29117 interface.
29118
c41af17e
UD
29119 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29120 (internal_getgrouplist): Adjust to name change.
29121 Update use_initgroups_entry if this is not the first call.
29122 * nss/databases.def: Add initgroups entry.
29123
a9e836b0
UD
29124 * nss/makedb.c (compute_tables): Check result of multiple hash table
29125 sizes to minimize maximum chain length.
29126
2666d441
UD
291272011-06-14 Ulrich Drepper <drepper@gmail.com>
29128
29129 * Versions.def: Add entry for libnss_db.
29130 * shlib-versions: Likewise.
29131 * nss/Makefile: Add rules to build libnss_db.
29132 * nss/Versions: Add libnss_db information. Organize libnss_files
29133 entries better.
29134 * nss/db-Makefile: Add gshadow support. Change rules for the new
29135 makedb progra. Some minor improvements to generate smaller files.
29136 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29137 here from...
29138 * nss/makedb.c: ...here.
29139 Improve database format to be smaller and require less memory at
29140 runtime.
29141 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29142 db anymore.
29143 * nss/nss_db/db-netgrp.c: Likewise.
29144 * nss/nss_db/db-open.c: Likewise.
29145 * nss/nss_files/flies-XXX.x: Adjust comments.
29146 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29147 * nss/nss_files/files-grp.c: Likewise.
29148 * nss/nss_files/files-hosts.c: Likewise.
29149 * nss/nss_files/files-network.c: Likewise.
29150 * nss/nss_files/files-proto.c: Likewise.
29151 * nss/nss_files/files-pwd.c: Likewise.
29152 * nss/nss_files/files-rpc.c: Likewise.
29153 * nss/nss_files/files-service.c: Likewise.
29154 * nss/nss_files/files-sgrp.c: Likewise.
29155 * nss/nss_files/files-spwd.c: Likewise.
29156 * nss/nss_db/db-alias.c: Removed.
29157 * nss/nss_db/dummy-db.h: Removed.
29158
9ee76b5a
UD
291592011-06-02 Ulrich Drepper <drepper@gmail.com>
29160
29161 * nss/makedb.c: Rewritten to not use database library.
29162 * nss/Makefile: Update to build new makedb program.
29163
c71ca1f8
AJ
291642011-06-14 Andreas Jaeger <aj@suse.de>
29165
29166 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29167 memset declaration.
29168
3154bfb8
UD
291692011-06-10 Andreas Schwab <schwab@redhat.com>
29170
29171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29172 tmpbuf.
29173
b350afab
RM
291742011-06-10 Roland McGrath <roland@hack.frob.com>
29175
decd4e50
RM
29176 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29177 * elf/Makefile ($(objpfx)ld.so): Likewise.
29178
5615eaf2
RM
29179 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29180 Don't list ld.so twice in dependencies.
29181
29182 * posix/bug-regex31.c: Include <stdlib.h>.
29183
29184 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29185
29186 * nis/nss_compat/compat-spwd.c
29187 (getspent_next_nss_netgr): Remove unused variable.
29188 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29189
29190 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29191 nonmembers" output to use the right array.
29192
29193 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29194
29195 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29196
29197 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29198 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29199 * catgets/gencat.c (read_input_file): Likewise.
29200 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29201
29202 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29203 variable definition inside #if's controlling its use.
29204
29205 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29206
29207 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29208
29209 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29210
29211 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29212 unreachable code.
29213
29214 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29215
b68e08db
RM
29216 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29217 * configure: Regenerated.
29218
b350afab
RM
29219 * Makerules: Revert last change.
29220 * elf/Makefile: Likewise.
29221
28368601
RM
292222011-06-09 Roland McGrath <roland@hack.frob.com>
29223
29224 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29225 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29226 (reloc-link): Likewise.
29227
11988f8f
UD
292282011-06-09 Ulrich Drepper <drepper@gmail.com>
29229
29230 * elf/Makefile: Add rules to build pldd.
29231 * elf/pldd.c: New file.
29232 * elf/pldd-xx.c: New file.
29233
e80fab37
UD
292342011-06-07 Ulrich Drepper <drepper@gmail.com>
29235
29236 * version.h: Update for 2.15 development version.
29237
9b849836
DM
292382011-06-07 David S. Miller <davem@davemloft.net>
29239
29240 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29241 ifuncs.
29242 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29243 elf_machine_lazy_rel): Likewise.
29244 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29245 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29246 elf_machine_lazy_rel): Likewise.
29247 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29248 dl_hwcap via passed in argument.
29249 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29250 Likewise.
29251
5a31b283
AK
292522011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29253
29254 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29255
069e52f8
RM
292562011-06-06 Roland McGrath <roland@hack.frob.com>
29257
29258 [BZ #12849]
29259 * manual/fdl-1.1.texi: New file, verbatim from:
29260 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29261 * manual/lgpl-2.1.texi: New file, verbatim from:
29262 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29263 * manual/Makefile (licenses): New variable, list those new file names.
29264 (texis): Use it.
29265 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29266
29267 * manual/fdl.texi: File removed.
29268 * manual/lesser.texi: File removed.
29269 * manual/libc.texinfo (Copying, Documentation License):
29270 Use new @include file names, put @appendix directive before @include.
29271
f16846a5
JJ
292722011-06-04 Jakub Jelinek <jakub@redhat.com>
29273
29274 [BZ #12841]
29275 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29276 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29277 (mq_open): Add __NTH.
29278
3d29045b
L
292792011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29280
29281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29282 Assume Intel Core i3/i5/i7 processor if AVX is available.
29283
8c297311
UD
292842011-05-31 Ulrich Drepper <drepper@gmail.com>
29285
29286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29287 typo.
29288
c8fc0c91
UD
292892011-05-31 Andreas Schwab <schwab@redhat.com>
29290
29291 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29292 memory. Use alloca_account. Fix memory leak when retrying.
29293
5b27a807
UD
292942011-05-31 Ulrich Drepper <drepper@gmail.com>
29295
356f8bc6
UD
29296 * version.h (RELEASE): Bump for 2.14 release.
29297 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29298
5b27a807
UD
29299 * config.make.in (RANLIB): Remove entry.
29300
01f16ab0
UD
293012011-05-30 Ulrich Drepper <drepper@gmail.com>
29302
41fce8bd
UD
29303 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29304 (libc.pot): Work around missing support for .ksh extension in xgettext.
29305
4769ae77
UD
29306 [BZ #12684]
29307 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29308 if both request failed.
29309 (send_dg): In case of server errors clear resplen or *resplen2.
29310
6b1e7d19
UD
29311 [BZ #12454]
29312 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29313 when there are multiple maps.
29314 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29315 (_dl_fini): Remove test here.
29316
01f16ab0
UD
29317 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29318
b1ebd700
UD
293192011-05-29 Ulrich Drepper <drepper@gmail.com>
29320
7ae22829
UD
29321 [BZ #12350]
29322 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29323 bit from old_res_options.
29324 (gaih_inet): Likewise.
29325
553149f6 29326 [BZ #11099]
18a84741 29327 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29328 as signed.
29329
652ffab1
UD
29330 * resolv/res_init.c (res_setoptions): Make the code more compact.
29331
16985fd0
UD
29332 [BZ #11558]
29333 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29334 set RES_USEVC.
29335
0464f746
UD
29336 [BZ #11634]
29337 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29338
7d17596c
UD
29339 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29340
cf6bbbd7
UD
29341 [BZ #11781]
29342 * malloc/malloc.h: Declare malloc hook variables as volatile.
29343
13f1ab36
UD
29344 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29345 in last patch.
29346
b1ebd700
UD
29347 [BZ #11799]
29348 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29349 raise in the comment.
80e2212d
UD
29350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29352 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29353
ce67228d
UD
293542011-05-28 Ulrich Drepper <drepper@gmail.com>
29355
8887a920
UD
29356 [BZ #12811]
29357 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29358 grow the buffers more if it already has to be sufficient.
29359 (build_wcs_upper_buffer): Likewise.
29360 * posix/regexec.c (check_matching): Likewise.
29361 (clean_state_log_if_needed): Likewise.
29362 (extend_buffers): Don't enlarge buffers beyond size of the input
29363 buffer.
29364 Patches mostly by Emil Wojak <emil@wojak.eu>.
29365 * posix/bug-regex32.c: New file.
29366 * posix/Makefile (tests): Add bug-regex32.
29367
4f031072
UD
29368 * locale/findlocale.c (_nl_find_locale): Return right away if
29369 _nl_explode_name failed.
29370 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29371
d0478f0c
UD
29372 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29373
de81b246
UD
29374 * debug/xtrace.sh: Unify messages.
29375 * malloc/memusage.sh: Likewise.
29376
c738465a
UD
29377 [BZ #12813]
29378 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29379 time symbol from vDSO. Substitute with vsyscall if not available.
29380 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29381 __vdso_time.
29382
f1f929d7
UD
29383 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29384 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29385 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29386 Add sendmmsg and internal_sendmmsg.
29387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29388 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29389 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29390
ce67228d
UD
29391 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29392 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29394
e57420c6
UD
293952011-05-27 Ulrich Drepper <drepper@gmail.com>
29396
a8509ca5
UD
29397 [BZ #12813]
29398 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29399 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29400 available.
29401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29402 __vdso_getcpu.
29403
e57420c6
UD
29404 [BZ #12814]
29405 * iconvdata/Makefile (tests): Add bug-iconv9.
29406 * iconvdata/bug-iconv9.c: New file.
29407
4d07db15
AS
294082011-05-27 Andreas Schwab <schwab@redhat.com>
29409
29410 [BZ #12814]
29411 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29412
ea486f69
JJ
294132011-05-25 Jakub Jelinek <jakub@redhat.com>
29414
29415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29416 (struct user_regs_struct): Change intcs field back to cs.
29417
6f038433
UD
294182011-05-25 Ulrich Drepper <drepper@gmail.com>
29419
29420 * po/ja.po: Update from translation team.
29421
67f86a25
UD
294222011-05-23 Ulrich Drepper <drepper@gmail.com>
29423
29424 [BZ #12795]
29425 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29426 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29427
def7fbd6
AS
294282011-05-20 Andreas Schwab <schwab@redhat.com>
29429
29430 * stdlib/longlong.h: Update from GCC.
29431
f50ef8f1
AS
294322011-05-23 Andreas Schwab <schwab@redhat.com>
29433
29434 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29435 parameter name.
29436 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29437 Add parameter name.
29438 (__sysconf): Pass it down.
29439
de7ce8f1
UD
294402011-05-22 Ulrich Drepper <drepper@gmail.com>
29441
f2962a71
UD
29442 [BZ #12671]
29443 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29444 some situations.
29445 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29446 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29447 add in in __libc_use_alloca calls. Adjust callers.
29448 (glob): Use malloc in some situations.
29449
de7ce8f1
UD
29450 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29451 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29452 pltexit.
29453
aec84f53
UD
294542011-05-21 Ulrich Drepper <drepper@gmail.com>
29455
05bb4a68
UD
29456 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29457 and CLOCK_BOOTTIME_ALARM.
29458
7ea72f99
UD
29459 [BZ #12782]
29460 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29461 is returned.
29462
7e4afad5
UD
29463 * string/_strerror.c (__strerror_r): Print negative errors as signed
29464 numbers.
29465
8e211fec
UD
29466 [BZ #12777]
29467 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29468 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29469 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29470
f7d82dc9
UD
29471 * configure.in: Fix typo in redirection and correct removal of test
29472 files in two cases.
29473
cc9e536d
UD
29474 [BZ #12788]
29475 * locale/setlocale.c (new_composite_name): Fix test to check for
29476 identical name of all categories.
29477
aec84f53
UD
29478 [BZ #12792]
29479 * libio/filedoalloc.c (local_isatty): New function.
29480 (_IO_file_doallocate): Use local_isatty.
29481 * stdio-common/perror.c (perror): In case a new stream is used
29482 forward the stream error.
29483 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29484 error flag.
29485
78e64fdc
RT
294862011-05-20 Ulrich Drepper <drepper@gmail.com>
29487
34a9094f
UD
29488 [BZ #11869]
29489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29490 alloca.
29491 * include/alloca.h (extend_alloca_account): Define.
29492
78e64fdc
RT
29493 [BZ #11857]
29494 * posix/regex.h: Fix comments with documentation of user-accessible
29495 fields after compilation and describe correct free'ing of pattern
29496 after re_compile_pattern.
29497 Patch by Reuben Thomas <rrt@sc3d.org>.
29498
457bddfc
RA
294992011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29500
29501 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29502 and -mno-altivec to prevent the compiler from using Altivec and/or
29503 VSX instructions when the corresponding registers are not available.
29504
a4527b51
AS
295052011-05-19 Andreas Schwab <schwab@redhat.com>
29506
29507 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29508
ed690b2f
UD
295092011-05-19 Ulrich Drepper <drepper@gmail.com>
29510
29511 * libio/freopen.c (freopen): Use __dup2, not dup2.
29512 * libio/freopen64.c (freopen64): Likewise.
29513
8db73634
L
295142011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29515
29516 [BZ #12775]
29517 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29518 * math/Makefile (tests): Add test-powl.
29519 (CFLAGS-test-powl.c): Define.
29520 * math/test-powl.c: New file.
29521
0a197a9d
L
295222011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29523
29524 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29525
ee30c380
UD
295262011-05-17 Ulrich Drepper <drepper@gmail.com>
29527
29528 [BZ #11837]
29529 * iconvdata/gb18030.c: Update to GB18020-2005.
29530
6ce75379
UD
295312011-05-16 Ulrich Drepper <drepper@gmail.com>
29532
a4b89fd8
AR
29533 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29534 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29535 Patch by Aharon Robbins <arnold@skeeve.com>.
29536
ea389b12
UD
29537 [BZ #11892]
29538 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29539 on the stack.
29540
68a3f91f
UD
29541 [BZ #11895]
29542 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29543 through underflows.
29544
15cc7dd1
UD
29545 [BZ #12766]
29546 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29547 point to strings before performing equality test for error_one_per_line
29548 mode.
29549
f3799213
UD
29550 [BZ #11697]
29551 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29552
d79a9c94
UD
29553 [BZ #11820]
29554 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29555 (struct user_fpregs_struct): Avoid __uint*_t types.
29556
56e5eb46
UD
29557 [BZ #6420]
29558 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29559 symbol info. Use it instead of calling _dl_addr locally.
29560 (lock_and_info): New function.
29561 (tr_freehook): Call lock_and_info and pass symbol info as additional
29562 parameter to tr_where.
29563 (tr_mallochook): Likewise.
29564 (tr_reallochook): Likewise.
29565 (tr_memalignhook): Likewise.
29566
6ce75379
UD
29567 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29568 used and couldn't be at all thread-safe.
29569
f8a3b5bf
UD
295702011-05-15 Ulrich Drepper <drepper@gmail.com>
29571
94b7cc37
UD
29572 * libio/freopen.c (freopen): Don't close old file descriptor
29573 before the new one is opened. Instead dup the new file descriptor
29574 to the old one after the new stream is created.
29575 * libio/freopen64.c (freopen64): Likewise.
29576 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29577 * libio/fileops.c (_IO_new_file_close_it): Handle new
29578 _IO_FLAGS2_NOCLOSE flag.
29579 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29580 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29581 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29582 _IO_FLAGS2_NOCLOSE flag.
29583 * include/unistd.h: Add hidden_proto for dup3.
29584 Define __have_dup3.
29585 * io/dup3.c: Define hidden symbol.
29586 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29587
bd25564e
UD
29588 [BZ #7101]
29589 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29590 when an incomplete long option is used.
29591 * posix/tst-getopt_long1.c: New file.
29592 * posix/Makefile (tests): Add tst-getopt_long1.
29593
c84cfef4
UD
29594 [BZ #10138]
29595 * scripts/config.guess: Update from autoconf-2.68.
29596 * scripts/config.sub: Likewise.
29597
3b85df27
UD
29598 [BZ #10157]
29599 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29600 tests into ...
29601 (has_cpuclock): ...this. New function.
29602 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29603 macro here based on has_cpuclock code.
29604
15a856b1
UD
29605 [BZ #10149]
29606 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29607 First byte (not low byte) is now always NUL.
29608 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29609
05f399e6
UD
29610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29611 Use non-cancelable interfaces.
29612
10a52685 29613 [BZ #9809]
94ecc67d
UD
29614 * locale/iso-639.def: Add entry for Sorani.
29615
f8a3b5bf
UD
29616 [BZ #11901]
29617 * include/stdlib.h: Move include protection to the right place.
29618 Define abort_msg_s. Declare __abort_msg with it.
29619 * stdlib/abort.c (__abort_msg): Adjust type.
29620 * assert/assert.c (__assert_fail_base): New function. Majority
29621 of code from __assert_fail. Allocate memory for __abort_msg with
29622 mmap.
29623 (__assert_fail): Now call __assert_fail_base.
29624 * assert/assert-perr.c: Remove bulk of implementation. Use
29625 __assert_fail_base.
29626 * include/assert.hL Declare __assert_fail_base.
29627 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29628 mmap.
29629 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29630
1af4e298
UD
296312011-05-14 Ulrich Drepper <drepper@gmail.com>
29632
f8a3b5bf 29633 [BZ #11952]
d26dfc60
MG
29634 [BZ #12453]
29635 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29636 until all modules are registered in the DTV.
29637 * elf/Makefile: Add rules to build and run tst-tls19.
29638 * elf/tst-tls19.c: New file.
29639 * elf/tst-tls19mod1.c: New file.
29640 * elf/tst-tls19mod2.c: New file.
29641 * elf/tst-tls19mod3.c: New file.
29642 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29643
2fc54d6f
UD
29644 [BZ #12083]
29645 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29646 correctly.
29647
98d76b46
UD
29648 [BZ #12601]
29649 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29650 two-byte sequence errors.
29651 * iconvdata/Makefile (tests): Add bug-iconv8.
29652 * iconvdata/bug-iconv8.c: New file.
29653
da3c19ef
UD
29654 [BZ #12626]
29655 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29656 buf2 definition.
29657
ca408c15
UD
29658 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29659
d6f67f7d
UD
29660 [BZ #12432]
29661 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29662 (dummy_getcfa): New function.
29663 (init): Get _Unwind_GetCFA address, use dummy if not found.
29664 (backtrace_helper): In recursion check, also check whether CFA changes.
29665 (__backtrace): Completely initialize arg.
29666
1af4e298 29667 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29668 storing incomplete byte sequence in state object. Avoid testing for
29669 guaranteed too small input if we know there is enough data available.
1af4e298 29670
da62f81b
AS
296712011-05-11 Andreas Schwab <schwab@redhat.com>
29672
29673 * Makeconfig (+link-pie): Indent.
29674 * Rules (binaries-pie): Define if $(have-fpie) and
29675 $(build-shared).
29676 (binaries-shared): Also filter out $(binaries-pie).
29677 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29678 * nscd/Makefile (others-pie): Add nscd.
29679 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29680 ($(objpfx)nscd): Remove command override.
29681 * login/Makefile (others-pie): Add pt_chown.
29682 ($(objpfx)pt_chown): Remove command override.
29683 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29684 remove command overrides.
29685
fcabc0f8
UD
296862011-05-13 Ulrich Drepper <drepper@gmail.com>
29687
20030ae6
UD
29688 * libio/tst_putwc.c: Fix error messages.
29689
fcabc0f8
UD
29690 [BZ #12724]
29691 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29692 currently writing and seek to current position when not.
29693 * libio/Makefile (tests): Add bug-fclose1.
29694 * libio/bug-fclose1.c: New file.
29695
320a5dc0
PB
296962011-05-12 Ulrich Drepper <drepper@gmail.com>
29697
29698 [BZ #12511]
29699 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29700 don't set DF_1_NODELETE here.
29701 (do_lookup_x): When entering new entry test for copy relocation
29702 and if necessary set DF_1_NODELETE flag.
29703 * elf/tst-unique4.cc: New file.
29704 * elf/tst-unique4.h: New file.
29705 * elf/tst-unique4lib.cc: New file.
29706 * elf/Makefile: Add rules to build and run tst-unique4.
29707 Patch by Piotr Bury <pbury@goahead.com>.
29708
22836f52
UD
297092011-05-11 Ulrich Drepper <drepper@gmail.com>
29710
f574184a
UD
29711 [BZ #12052]
29712 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29713
e1fb097f
UD
29714 [BZ #12625]
29715 * misc/mntent_r.c (addmntent): Flush the stream after the output
29716
22836f52
UD
29717 [BZ #12393]
29718 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29719 (is_trusted_path_normalize): Skip initial colon. Append slash
29720 to empty buffer. Duplicate is_trusted_path code but allow
29721 constructed patch to be prefix.
29722 (is_dst): Allow $ORIGIN followed by /.
29723 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29724 Correct testing of result of is_trusted_path_normalize
29725 (decompose_rpath): Fix warning.
29726
7b3b0b2a
UD
297272011-05-10 Ulrich Drepper <drepper@gmail.com>
29728
29729 [BZ #11257]
29730 * grp/initgroups.c (internal_getgrouplist): When we found the service
29731 list through the initgroups entry in nsswitch.conf do not always
29732 continue on a successful lookup. Don't always use the
eac80ce2 29733 __nss_group_database value if it is set.
7b3b0b2a
UD
29734 * nss/nsswitch.conf (initgroups): Change action for successful db
29735 lookup to continue for compatibility.
29736
2a81eaa5
UD
297372011-05-09 Ulrich Drepper <drepper@gmail.com>
29738
be97a69e
UD
29739 [BZ #11532]
29740 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29741 and CP774 modules.
29742 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29743 and CP774 modules.
29744 * iconvdata/tst-tables.sh: Likewise.
29745 * iconvdata/cp770.c: New file.
29746 * iconvdata/cp771.c: New file.
29747 * iconvdata/cp772.c: New file.
29748 * iconvdata/cp773.c: New file.
29749 * iconvdata/cp774.c: New file.
29750 * iconvdata/testdata/CP770: New file.
29751 * iconvdata/testdata/CP770..UTF8: New file.
29752 * iconvdata/testdata/CP771: New file.
29753 * iconvdata/testdata/CP771..UTF8: New file.
29754 * iconvdata/testdata/CP772: New file.
29755 * iconvdata/testdata/CP772..UTF8: New file.
29756 * iconvdata/testdata/CP773: New file.
29757 * iconvdata/testdata/CP773..UTF8: New file.
29758 * iconvdata/testdata/CP774: New file.
29759 * iconvdata/testdata/CP774..UTF8: New file.
29760
29761 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29762 END CHARMAP line.
29763 * iconvdata/gen-8bit-gap.sh: Likewise.
29764 * iconvdata/gen-8bit.sh: Likewise.
29765
c1e9e399
UD
29766 * locale/iso-639.def: Add ary entry.
29767
24c55fb3 29768 [BZ #11258]
96b4b1b0
UD
29769 * locale/C-translit.h.in: Add U20A1 transliteration.
29770
bdc2f971
KB
29771 [BZ #12178]
29772 * locale/iso-639.def: Add wae entry.
29773 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29774
2952b117
UD
29775 [BZ #12545]
29776 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29777 for n.
29778
2a81eaa5
UD
29779 [BZ #12711]
29780 * locale/C-translit.h.in: Add entry for U20B9.
29781 Patch by pravin.d.s@gmail.com.
29782
28377d1b
UD
297832011-05-08 Ulrich Drepper <drepper@gmail.com>
29784
7fb90fb8
UD
29785 [BZ #12713]
29786 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29787 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29788 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29789 in rtld. Use *stat64.
7fb90fb8 29790 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29791 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29792 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29793 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29794 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29795 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29796 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29797 __fstatat64 macros.
7fb90fb8
UD
29798 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29799 * dirent/rewinddir.c: Add libc_hidden_def.
29800 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29801 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29802
28377d1b
UD
29803 * include/dirent.h (__alloc_dir): Add flags parameter.
29804 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29805 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29806 __alloc_dir.
29807 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29808 from fdopendir if O_CLOEXEC is already set.
29809
66bdbaa4
AM
298102011-03-15 Alan Modra <amodra@gmail.com>
29811
29812 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29813 l_tls_firstbyte_offset non-zero. Save padding offset in
29814 l_tls_firstbyte_offset for later use.
29815 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29816 freeing static tls block.
29817
95721191
JN
298182011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29819
29820 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29821 where #ifdef was intended. The intent is to prevent ARG_MAX from
29822 being defined by the kernel headers.
29823
f87dfb1f
UD
298242011-05-07 Ulrich Drepper <drepper@gmail.com>
29825
29826 [BZ #12734]
29827 * resolv/resolv.h: Define RES_NOTLDQUERY.
29828 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29829 no-tld-query and set RES_NOTLDQUERY.
29830 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29831 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29832 modern BIND to search name as TLD unless forbidden.
29833
47c3cd7a
UD
298342011-05-07 Petr Baudis <pasky@suse.cz>
29835 Ulrich Drepper <drepper@gmail.com>
29836
29837 [BZ #12393]
29838 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29839 (is_trusted_path): ...to here.
c1e9ea35 29840 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29841 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29842 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29843
8a35c912
PP
298442011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29845
29846 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29847 __BEGIN/__END_DECLS.
29848
acd41f47
UD
298492011-05-06 Ulrich Drepper <drepper@gmail.com>
29850
29851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29852 NSS_STATUS_NOTFOUND if no record was found.
29853
597df647
AS
298542011-05-05 Andreas Schwab <schwab@redhat.com>
29855
29856 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29857 (headers-not-in-tirpc): Remove rpc/netdb.h
29858 * resolv/netdb.h: Revert last change.
29859
b9af1301
PP
298602011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29861
29862 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29863 circular dependency between libgcc.a and libc.a.
29864
4e34d5f5
AS
298652011-05-05 Andreas Schwab <schwab@redhat.com>
29866
29867 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29868 * nis/Makefile: Don't install rpcsvc/*.
29869 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29870 instead of <rpc/types.h>.
29871 (MAXHOSTNAMELEN): Define.
29872
00ee369c
AS
298732011-05-03 Andreas Schwab <schwab@redhat.com>
29874
29875 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29876
0b592a30
MB
298772011-04-28 Maciej Babinski <mbabinski@google.com>
29878
29879 [BZ #12714]
29880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29881 gethostbyname4_r when IPv6 results are possible.
29882
6e04cbbe
UD
298832011-05-02 Ulrich Drepper <drepper@gmail.com>
29884
29885 [BZ #12723]
29886 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29887 _PC_PIPE_BUF handling.
29888
e4ecafe0
BH
298892011-04-30 Bruno Haible <bruno@clisp.org>
29890
29891 [BZ #12717]
29892 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29893 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29894 to 'int'.
29895 * inet/getnameinfo.c (getnameinfo): Likewise.
29896
125ee683
UD
298972011-04-29 Ulrich Drepper <drepper@gmail.com>
29898
29899 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29900 to groups setting in database lookup.
29901 * nss/nsswitch.conf: Add initgroups entry.
29902
b722481a
EB
299032011-04-22 Ulrich Drepper <drepper@gmail.com>
29904
29905 [BZ #12685]
29906 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29907 mode string.
29908 Patch by Eric Blake <eblake@redhat.com>.
29909
4df46dbd
L
299102011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29911
29912 * sunrpc/Makefile (need-export-routines): Add svc_run.
29913 (routines): Remove svc_run.
29914 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29915 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29916 * sunrpc/svc_run.c (svc_run): Likewise.
29917 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29918
e84142d2
UD
299192011-04-21 Ulrich Drepper <drepper@gmail.com>
29920
29921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29922 problem in reallocation in last patch.
29923
877175d8
UD
299242011-04-20 Ulrich Drepper <drepper@gmail.com>
29925
29926 * sunrpc/Makefile: Move inclusion of Rules.
29927
ab8eed78
UD
299282011-04-19 Ulrich Drepper <drepper@gmail.com>
29929
29930 * nss/nss_files/files-initgroups.c: New file.
29931 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29932 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29933 _nss_files_initgroups_dyn.
29934
e3d8f584
RS
299352011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29936
29937 * elf/elf.h (R_ARM_IRELATIVE): Define.
29938
af190f45
UD
299392011-04-19 Ulrich Drepper <drepper@gmail.com>
29940
29941 * po/ru.po: Update from translation team.
29942
53cf59ef
UD
299432011-04-17 Ulrich Drepper <drepper@gmail.com>
29944
29945 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29946 dependencies.
29947
4c559bcd
MF
299482011-02-06 Mike Frysinger <vapier@gentoo.org>
29949
29950 [BZ #12653]
29951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29952 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29956
4420675c
AS
299572011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29958
29959 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29960 differing bytes.
29961 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29964
75ea32ab
UD
299652011-04-17 Ulrich Drepper <drepper@gmail.com>
29966
29967 [BZ #12420]
29968 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29969 storing it.
29970 * stdlib/bug-getcontext.c: New file.
29971 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29972
27390476
AK
299732011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29974
29975 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29976 instructions into .machine "z9-109".
29977 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29978 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29979
10442705
AK
299802011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29981
29982 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29983 between environment variables and auxiliary vector.
29984
7b57bfe5
UD
299852011-04-16 Ulrich Drepper <drepper@gmail.com>
29986
29987 * Makefile: Add rules to build linkobj/libc.so.
29988 * include/libc-symbols.h: Define libc_hidden_nolink.
29989 * include/rpc/auth.h: Mark functions which are to be hidden.
29990 * include/rpc/auth_des.h: Likewise.
29991 * include/rpc/auth_unix.h: Likewise.
29992 * include/rpc/clnt.h: Likewise.
29993 * include/rpc/des_crypt.h: Likewise.
29994 * include/rpc/key_prot.h: Likewise.
29995 * include/rpc/pmap_clnt.h: Likewise.
29996 * include/rpc/pmap_prot.h: Likewise.
29997 * include/rpc/pmap_rmt.h: Likewise.
29998 * include/rpc/rpc_msg.h: Likewise.
29999 * include/rpc/svc.h: Likewise.
30000 * include/rpc/svc_auth.h: Likewise.
30001 * include/rpc/xdr.h: Likewise.
30002 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30003 * nss/Makefile: Likewise.
30004 * sunrpc/Makefile: Don't install headers. Build library with normal
30005 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30006 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30007 for the compat linking library. Remove use of INTDEF/INTUSE.
30008 * sunrpc/auth_none.c: Likewise.
30009 * sunrpc/auth_unix.c: Likewise.
30010 * sunrpc/authdes_prot.c: Likewise.
30011 * sunrpc/authuxprot.c: Likewise.
30012 * sunrpc/clnt_gen.c: Likewise.
30013 * sunrpc/clnt_perr.c: Likewise.
30014 * sunrpc/clnt_raw.c: Likewise.
30015 * sunrpc/clnt_simp.c: Likewise.
30016 * sunrpc/clnt_tcp.c: Likewise.
30017 * sunrpc/clnt_udp.c: Likewise.
30018 * sunrpc/clnt_unix.c: Likewise.
30019 * sunrpc/des_crypt.c: Likewise.
30020 * sunrpc/des_soft.c: Likewise.
30021 * sunrpc/get_myaddr.c: Likewise.
30022 * sunrpc/key_call.c: Likewise.
30023 * sunrpc/key_prot.c: Likewise.
30024 * sunrpc/netname.c: Likewise.
30025 * sunrpc/pm_getmaps.c: Likewise.
30026 * sunrpc/pm_getport.c: Likewise.
30027 * sunrpc/pmap_clnt.c: Likewise.
30028 * sunrpc/pmap_prot.c: Likewise.
30029 * sunrpc/pmap_prot2.c: Likewise.
30030 * sunrpc/pmap_rmt.c: Likewise.
30031 * sunrpc/publickey.c: Likewise.
30032 * sunrpc/rpc_cmsg.c: Likewise.
30033 * sunrpc/rpc_common.c: Likewise.
30034 * sunrpc/rpc_dtable.c: Likewise.
30035 * sunrpc/rpc_prot.c: Likewise.
30036 * sunrpc/rpc_thread.c: Likewise.
30037 * sunrpc/rtime.c: Likewise.
30038 * sunrpc/svc.c: Likewise.
30039 * sunrpc/svc_auth.c: Likewise.
30040 * sunrpc/svc_authux.c: Likewise.
30041 * sunrpc/svc_raw.c: Likewise.
30042 * sunrpc/svc_run.c: Likewise.
30043 * sunrpc/svc_simple.c: Likewise.
30044 * sunrpc/svc_tcp.c: Likewise.
30045 * sunrpc/svc_udp.c: Likewise.
30046 * sunrpc/svc_unix.c: Likewise.
30047 * sunrpc/svcauth_des.c: Likewise.
30048 * sunrpc/xcrypt.c: Likewise.
30049 * sunrpc/xdr.c: Likewise.
30050 * sunrpc/xdr_array.c: Likewise.
30051 * sunrpc/xdr_float.c: Likewise.
30052 * sunrpc/xdr_intXX_t.c: Likewise.
30053 * sunrpc/xdr_mem.c: Likewise.
30054 * sunrpc/xdr_rec.c: Likewise.
30055 * sunrpc/xdr_ref.c: Likewise.
30056 * sunrpc/xdr_sizeof.c: Likewise.
30057 * sunrpc/xdr_stdio.c: Likewise.
30058
e6c61494
UD
300592011-04-10 Ulrich Drepper <drepper@gmail.com>
30060
30061 [BZ #12650]
30062 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30063 * sysdeps/ia64/dl-tls.h: Likewise.
30064 * sysdeps/powerpc/dl-tls.h: Likewise.
30065 * sysdeps/s390/dl-tls.h: Likewise.
30066 * sysdeps/sh/dl-tls.h: Likewise.
30067 * sysdeps/sparc/dl-tls.h: Likewise.
30068 * sysdeps/x86_64/dl-tls.h: Likewise.
30069 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30070
34fe483e
AS
300712011-03-14 Andreas Schwab <schwab@redhat.com>
30072
30073 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30074 rpath element also skip the following colon.
30075 (expand_dynamic_string_token): Add is_path parameter and pass
30076 down to DL_DST_REQUIRED and _dl_dst_substitute.
30077 (decompose_rpath): Call expand_dynamic_string_token with
30078 non-zero is_path. Ignore empty rpaths.
30079 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30080 with zero is_path.
30081
f12a32e6
AS
300822011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30083
30084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30085 Make cancelable.
30086
38a7d692
UD
300872011-04-09 Ulrich Drepper <drepper@gmail.com>
30088
30089 [BZ #12655]
30090 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30091 Patch by Filipe David Manana <fdmanana@apache.org>.
30092
e451d22b
AS
300932011-04-07 Andreas Schwab <schwab@redhat.com>
30094
30095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30096 Maintain aligned stack.
30097 (CHECK_RSP): Remove unused macro.
30098
dedc7c7b
UD
300992011-04-03 Ulrich Drepper <drepper@gmail.com>
30100
30101 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30102 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30103
94521213
UD
301042011-04-02 Ulrich Drepper <drepper@gmail.com>
30105
30106 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30107
8cb700c0 30108 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30109
0354e355
L
301102011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30111
30112 [BZ #12518]
30113 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30114 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30115 * sysdeps/x86_64/memmove.c: New file.
30116 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30117 (memcpy): Renamed to ...
30118 (__new_memcpy): This.
30119 (memcpy): Provide GLIBC_2_14 memcpy.
30120 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30121 (memcpy): Provide GLIBC_2_2_5 memcpy.
30122
8593482f
UD
301232011-04-01 Ulrich Drepper <drepper@gmail.com>
30124
30125 [BZ #12631]
30126 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30127
81a5726b
AS
301282011-03-30 Andreas Schwab <schwab@redhat.com>
30129
30130 * misc/syncfs.c: New file.
30131 * misc/Makefile (routines): Add syncfs.
30132 * posix/unistd.h: Declare syncfs.
30133 * sysdeps/unix/syscalls.list: Add syncfs.
30134
00e5419f
AS
301352011-04-01 Andreas Schwab <schwab@redhat.com>
30136
30137 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30138 open_by_handle_at.
30139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30140 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30144 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30146
748876bf
UD
301472011-04-01 Ulrich Drepper <drepper@gmail.com>
30148
658e451d
UD
30149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30150 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30151 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30156
748876bf
UD
30157 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30158 sync_file_range.c with -fexceptions.
30159 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30160 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30161 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30162 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30163 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30164 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30166 sync_file_range as cancellation point
30167 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30168 now a wrapper around __call_sync_file_range with cancellation handling.
30169 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30170 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30171 function name to __call_sync_file_range.
30172 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30173 Add call_sync_file_range.
748876bf 30174
6e63d5e1
AS
301752011-04-01 Andreas Schwab <schwab@redhat.com>
30176
30177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30178 bits/timex.h.
6e63d5e1 30179
46998f74
UD
301802011-04-01 Ulrich Drepper <drepper@gmail.com>
30181
4c1423ed
UD
30182 * iconv/iconv.h: Fix typo in comment.
30183 * io/fcntl.h: Likewise.
30184 * libio/stdio.h: Likewise.
30185 * posix/spawn.h: Likewise.
30186 * posix/unistd.h: Likewise.
30187 * stdlib/stdlib.h: Likewise.
30188 * time/time.h: Likewise.
30189 * wcsmbs/wchar.h: Likewise.
30190
158648c0
UD
30191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30192 open_by_handle): Add.
30193 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30194 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30195 Augment a few comments.
30196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30201 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30202 open_by_handle.
30203
46998f74
UD
30204 * io/fcntl.h (AT_EMPTY_PATH): Define.
30205
83fe108b
UD
302062011-03-30 Ulrich Drepper <drepper@gmail.com>
30207
30208 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30209 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30210 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30211 to...
30212 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30213 * Versions.def: Add GLIBC_2.14.
30214 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30215 Export.
83fe108b 30216
bb242059
UD
302172011-03-22 Ulrich Drepper <drepper@gmail.com>
30218
30219 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30220 round counter.
30221 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30222
c97a1282
L
302232011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30224
30225 [BZ #12597]
30226 * string/test-strncmp.c (do_page_test): New function.
30227 (check2): Likewise.
30228 (test_main): Call check2.
30229 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30230
2a115601
UD
302312011-03-20 Ulrich Drepper <drepper@gmail.com>
30232
30233 [BZ #12587]
30234 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30235 Handle cache information in CPU leaf 4.
30236 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30237
8126d904
UD
302382011-03-18 Ulrich Drepper <drepper@gmail.com>
30239
042c49c6 30240 [BZ #12583]
8126d904
UD
30241 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30242 character representation.
30243 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30244
ccfe366e
RA
302452011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30246
30247 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30248 END(__isnan) to END(__isnanf) to match function entry point/label
30249 EALIGN(__isnanf,...).
30250
c6e13027
JJ
302512011-03-10 Jakub Jelinek <jakub@redhat.com>
30252
30253 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30254
33f85a3f
UD
302552011-03-10 Ulrich Drepper <drepper@gmail.com>
30256
028478fa
UD
30257 [BZ #12510]
30258 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30259 copy from the symbol referenced in the relocation to initialize the
30260 used variable.
30261 Patch by Piotr Bury <pbury@goahead.com>.
30262 * elf/Makefile: Add rules to build and tst-unique3.
30263 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30264 * elf/tst-unique3.cc: New file.
30265 * elf/tst-unique3.h: New file.
30266 * elf/tst-unique3lib.cc: New file.
30267 * elf/tst-unique3lib2.cc: New file.
30268
33f85a3f
UD
30269 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30270
03592fc7
MF
302712011-03-10 Mike Frysinger <vapier@gentoo.org>
30272
30273 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30274 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30275 to _start.
03592fc7 30276
6a5ee102
UD
302772011-03-06 Ulrich Drepper <drepper@gmail.com>
30278
30279 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30280 to-be-loaded object along a path to loader is ld.so.
30281
7e4ba49c
HJ
302822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30283 Ulrich Drepper <drepper@gmail.com>
30284
30285 * sysdeps/x86_64/memset.S: After aligning destination, code
30286 branches to different locations depending on the value of
30287 misalignment, when multiarch is enabled. Fix this.
30288
302892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30290
30291 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30292 Set _x86_64_preferred_memory_instruction for AMD processsors.
30293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30294 Set bit_Prefer_SSE_for_memop for AMD processors.
30295
13a804de
UD
302962011-03-04 Ulrich Drepper <drepper@gmail.com>
30297
30298 * libio/fmemopen.c (fmemopen): Optimize a bit.
30299
9d25c392
AS
303002011-03-03 Andreas Schwab <schwab@redhat.com>
30301
30302 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30303
a5543c6a
RM
303042011-03-03 Roland McGrath <roland@redhat.com>
30305
30306 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30307
012d35f7
DM
303082011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30309
7e4ba49c 30310 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30311 __bzero_ultra1 instead of __memset_ultra1.
30312
4bff6e01
AS
303132011-02-23 Andreas Schwab <schwab@redhat.com>
30314 Ulrich Drepper <drepper@gmail.com>
30315
30316 [BZ #12509]
30317 * include/link.h (struct link_map): Add l_orig_initfini.
30318 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30319 returning unsuccessfully.
30320 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30321 close of a file loaded at startup, restore the original l_initfini
30322 list.
30323 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30324 list, store the pointer.
30325 * elf/Makefile ($(objpfx)noload-mem): New rule.
30326 (noload-ENV): Define.
30327 (tests): Add $(objpfx)noload-mem.
30328 * elf/noload.c: Include <memcheck.h>.
30329 (main): Call mtrace. Close all opened handles.
30330
f2092faf
AS
303312011-02-17 Andreas Schwab <schwab@redhat.com>
30332
30333 [BZ #12454]
30334 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30335 dependencies are missing.
30336
6c8a2e88
ST
303372011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30338
f2092faf 30339 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30340 Hurd needs munmap.
30341 * sysdeps/mach/hurd/ifreq.h: New file.
30342
84a42118
PB
303432011-01-27 Petr Baudis <pasky@suse.cz>
30344 Ulrich Drepper <drepper@gmail.com>
30345
071f805e 30346 [BZ 12445]#
84a42118
PB
30347 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30348 to extend_alloca().
30349 * stdio-common/bug23.c: New file.
30350 * stdio-common/Makefile (tests): Add bug23.
30351
e23fe25b
AS
303522010-09-28 Andreas Schwab <schwab@redhat.com>
30353 Ulrich Drepper <drepper@gmail.com>
30354
30355 [BZ #12489]
30356 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30357 before performing relro protection. At old place add assertion
30358 to make sure nothing changed.
30359
d3f02e10
NS
303602011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30361 Glauber de Oliveira Costa <glommer@gmail.com>
30362
30363 * elf/elf.h: Add new ARM TLS relocs.
30364
d55fd7a5
RA
303652011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30366
30367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30368 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30369 cast from r3.
30370 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30371 'tests' variable.
30372 * sysdeps/wordsize-64/tst-writev.c: New file.
30373
2206397e
RA
303742011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30375
30376 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30377 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30378 insns in _dl_start to prevent a TOC reference before relocs are
30379 resolved.
30380
e9433893
UD
303812011-02-15 Ulrich Drepper <drepper@gmail.com>
30382
30383 [BZ #12469]
30384 * Makeconfig: Remove RANLIB definition.
30385 * Makerules: Don't use RANLIB.
30386 * aclocal.m4: Remove ranlib test.
30387 * configure.in: No need to check for ranlib.
30388 * elf/rtld-Rules: Don't use RANLIB.
30389
f75286c6
ST
303902011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30391
8e31c82d
ST
30392 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30393 protection macro.
30394 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30395 inclusion protection macro.
30396
f75286c6
ST
30397 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30398 SIGRTMIN and SIGRTMAX and print information in that case only when
30399 SIGRTMIN is defined.
30400
c1d0e639
JJ
304012011-02-11 Jakub Jelinek <jakub@redhat.com>
30402
30403 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30404 arginfo fn returning -1.
30405
30406 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30407 and thousands string is zero terminated.
30408
edf9294e
AS
304092011-02-03 Andreas Schwab <schwab@redhat.com>
30410
30411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30412 sysdeps/unix/sysv/linux/bits/socket.h.
30413
2b7e92df
ST
304142011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30415
edf9294e
AS
30416 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30417 (__CPU_COUNT): Remove old macros.
30418 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30419 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30420 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30421 (__sched_cpualloc, __sched_cpufree): Add declarations.
30422
a4c7ea7b
UD
304232011-02-05 Ulrich Drepper <drepper@gmail.com>
30424
30425 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30426 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30427 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30428 (readdhstai): Return value of addhstaiX call.
30429 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30430 (addgrbyX): Return value returned by cache_addgr.
30431 (readdgrbyname): Return value returned by addgrbyX.
30432 (readdgrbygid): Likewise.
30433 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30434 (addpwbyX): Return value returned by cache_addpw.
30435 (readdpwbyname): Return value returned by addhstbyX.
30436 (readdpwbyuid): Likewise.
30437 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30438 (addservbyX): Return value returned by cache_addserv.
30439 (readdservbyname): Return value returned by addservbyX:
30440 (readdservbyport): Likewise.
30441 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30442 (addhstbyX): Return value returned by cache_addhst.
30443 (readdhstbyname): Return value returned by addhstbyX.
30444 (readdhstbyaddr): Likewise.
30445 (readdhstbynamev6): Likewise.
30446 (readdhstbyaddrv6): Likewise.
30447 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30448 (readdinitgroups): Return value returned by addinitgroupsX.
30449 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30450 (prune_cache): Keep track of timeout value of re-added entries.
30451 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30452 * nscd/nscd.h: Adjust prototypes of readd* functions.
30453
a0bf67cc
RM
304542011-02-04 Roland McGrath <roland@redhat.com>
30455
30456 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30457 (nis_stats): Likewise.
30458 * nis/nis_modify.c (nis_modify): Likewise.
30459 * nis/nis_remove.c (nis_remove): Likewise.
30460 * nis/nis_add.c (nis_add): Likewise.
30461
30462 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30463
30464 * posix/fnmatch_loop.c: Add some consts.
30465
30466 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30467
435b95eb
L
304682011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30469
30470 [BZ #12460]
30471 * config.make.in (config-cflags-novzeroupper): Define.
30472 * configure.in: Substitute libc_cv_cc_novzeroupper.
30473 * elf/Makefile (AVX-CFLAGS): Define.
30474 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30475 (CFLAGS-tst-auditmod4a.c): Likewise.
30476 (CFLAGS-tst-auditmod4b.c): Likewise.
30477 (CFLAGS-tst-auditmod6b.c): Likewise.
30478 (CFLAGS-tst-auditmod6c.c): Likewise.
30479 (CFLAGS-tst-auditmod7b.c): Likewise.
30480 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30481
8517b15e
UD
304822011-02-02 Ulrich Drepper <drepper@gmail.com>
30483
30484 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30485 function to the callback.
30486 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30487
10a656fe
AS
304882011-02-02 Andreas Schwab <schwab@redhat.com>
30489
30490 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30491 of errno.
30492
968dad0a
UD
304932011-01-19 Ulrich Drepper <drepper@gmail.com>
30494
9f94d2ea 30495 [BZ #11724]
968dad0a
UD
30496 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30497 of constructors.
30498 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30499 of destructors.
30500 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30501
30502 [BZ #11724]
30503 * elf/Makefile: Add rules to build and run new test.
30504 * elf/tst-initorder.c: New file.
30505 * elf/tst-initorder.exp: New file.
30506 * elf/tst-initordera1.c: New file.
30507 * elf/tst-initordera2.c: New file.
30508 * elf/tst-initordera3.c: New file.
30509 * elf/tst-initordera4.c: New file.
30510 * elf/tst-initorderb1.c: New file.
30511 * elf/tst-initorderb2.c: New file.
30512 * elf/tst-order-a1.c: New file.
30513 * elf/tst-order-a2.c: New file.
30514 * elf/tst-order-a3.c: New file.
30515 * elf/tst-order-a4.c: New file.
30516 * elf/tst-order-b1.c: New file.
30517 * elf/tst-order-b2.c: New file.
30518 * elf/tst-order-main.c: New file.
30519 New test case by George Gensure <werkt0@gmail.com>.
30520
86e92359
UD
305212010-10-01 Andreas Schwab <schwab@redhat.com>
30522
30523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30524 decoding ACE if AI_CANONIDN.
30525
5d5732b0
UD
305262011-01-18 Ulrich Drepper <drepper@gmail.com>
30527
30528 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30529
a77e8cbc
UD
305302011-01-17 Ulrich Drepper <drepper@gmail.com>
30531
6392473f
UD
30532 * version.h (RELEASE): Bump for 2.13 release.
30533 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30534
620a0529
UD
30535 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30536
18ba70a5
UD
30537 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30538 MADV_NOHUGEPAGE.
32465c3e
UD
30539 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30540 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30541 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30542 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30543 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30544 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30545
c0dafcf1
UD
30546 * posix/getconf.c: Update copyright year.
30547 * catgets/gencat.c: Likewise.
30548 * csu/version.c: Likewise.
30549 * debug/catchsegv.sh: Likewise.
30550 * debug/xtrace.sh: Likewise.
30551 * elf/ldconfig.c: Likewise.
30552 * elf/ldd.bash.in: Likewise.
30553 * elf/sprof.c (print_version): Likewise.
30554 * iconv/iconv_prog.c: Likewise.
30555 * iconv/iconvconfig.c: Likewise.
30556 * locale/programs/locale.c: Likewise.
30557 * locale/programs/localedef.c: Likewise.
30558 * malloc/memusage.sh: Likewise.
30559 * malloc/mtrace.pl: Likewise.
30560 * nscd/nscd.c (print_version): Likewise.
30561 * nss/getent.c: Likewise.
30562
a77e8cbc
UD
30563 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30564 PF_CAIF, and PF_ALG.
30565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30566
77e8bddf
AS
305672011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30568
1f20b93a
AS
30569 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30570 (modules-names): Use them.
30571 (ifunc-test-modules, ifunc-pie-tests): Define.
30572 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30573 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30574 (test-extras): Likewise.
30575 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30576 $(compile-command.c).
30577 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30578 (all-built-dso): Define.
30579 (check-textrel.out, check-execstack.out): Depend on it.
30580
77e8bddf
AS
30581 * configure.in: Don't override --enable-multi-arch.
30582
bc425b33
UD
305832011-01-15 Ulrich Drepper <drepper@gmail.com>
30584
30585 [BZ #6812]
30586 * nscd/hstcache.c (tryagain): Define.
30587 (cache_addhst): Return tryagain not notfound for temporary errors.
30588 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30589 failed.
30590
794c3ad3
UD
305912011-01-14 Ulrich Drepper <drepper@gmail.com>
30592
70181fdd
UD
30593 [BZ #10563]
30594 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30595 to make the syscall.
30596 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30597
794c3ad3
UD
30598 [BZ #12378]
30599 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30600 and fall back to matching as normal character if the string ends before
30601 the matching ']' is found. This is what POSIX requires.
30602 * posix/testfnm.c: Adjust test result.
30603 * posix/globtest.sh: Adjust test result. Add new test.
30604 * posix/tst-fnmatch.input: Likewise.
30605 * posix/tst-fnmatch2.c: Add new test.
30606
68dc9497
AS
306072010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30608
30609 * elf/Makefile (check-execstack): Revert last change. Depend on
30610 check-execstack.h.
30611 (check-execstack.h): New target.
30612 (generated): Add check-execstack.h.
30613 * elf/check-execstack.c: Include "check-execstack.h".
30614 (main): Revert last change.
30615 (handle_file): Return zero if GNU_STACK is absent and
30616 DEFAULT_STACK_PERMS doesn't include PF_X.
30617
451f001b
UD
306182011-01-13 Ulrich Drepper <drepper@gmail.com>
30619
cfa28e56
UD
30620 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30621 in child fails because the descriptor is already closed.
8cf8ce17
UD
30622 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30623 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30625
1086d70d
UD
30626 [BZ #12397]
30627 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30628 syscall.
30629
451f001b
UD
30630 [BZ #10484]
30631 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30632 temporary buffer used to handle multi lookups locally.
a85b5cb4 30633 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30634
08769175
UD
306352011-01-12 Ulrich Drepper <drepper@gmail.com>
30636
30637 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30638 loader is ld.so.
30639
5e49c52e
UD
306402011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30641
30642 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30643 alignment for SSE2.
30644
60522a5f
UD
306452011-01-12 Ulrich Drepper <drepper@gmail.com>
30646
30647 [BZ #12394]
30648 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30649 characters. When rounding increased number of integer digits recompute
30650 number of groups.
30651 * stdio-common/tst-grouping.c: New file.
30652 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30653
f257bbd7
UD
306542011-01-09 Ulrich Drepper <drepper@gmail.com>
30655
30656 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30657 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30658
30659 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30660 void.
30661 * bits/select.h: Likewise.
30662
fa9c15cb
UD
306632011-01-08 Ulrich Drepper <drepper@gmail.com>
30664
30665 * po/ja.po: Update from translation team.
30666
16c2895f
DM
306672011-01-04 David S. Miller <davem@sunset.davemloft.net>
30668
30669 [BZ #11155]
30670 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30671 implementation just like for lxstat, fxstatat, et al.
30672
2543fef2
JM
306732010-12-27 Jim Meyering <meyering@redhat.com>
30674
30675 [BZ #12348]
30676 * posix/regexec.c (build_trtable): Return failure indication upon
30677 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30678
98727dbe
UD
306792010-12-25 Ulrich Drepper <drepper@gmail.com>
30680
5bd6dc5c
UD
30681 [BZ #12201]
30682 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30683 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30684 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30685 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30686
97983464
UD
30687 [BZ #12207]
30688 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30689
98727dbe
UD
30690 [BZ #12204]
30691 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30692 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30693
4a531bb0
L
306942010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30695
30696 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30697 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30698 script has SORT_BY_INIT_PRIORITY.
30699 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30700 NO_CTORS_DTORS_SECTIONS is defined.
30701 * elf/soinit.c: Likewise.
30702 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30703 NO_CTORS_DTORS_SECTIONS is defined.
30704 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30705 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30706 * sysdeps/sh/init-first.c: Likewise.
30707 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30708
07eb4b71
UD
307092010-12-24 Ulrich Drepper <drepper@gmail.com>
30710
30711 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30712 always use the slow path.
30713
30950a5f
RA
307142010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30715
30716 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30717 similar rule which adds the sysdep directories to the header search in
30718 order to pick up the correct platform stackinfo.h.
30719 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30720 perform test if it is, otherwise return successfully without testing.
30721 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30722 DEFAULT_STACK_PERMS define in stackinfo.h.
30723 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30724 defined in stackinfo.h.
30725 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30726 DEFAULT_STACK_PERMS defined in stackinfo.h.
30727 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30728 * sysdeps/ia64/stackinfo.h: Likewise.
30729 * sysdeps/s390/stackinfo.h: Likewise.
30730 * sysdeps/sh/stackinfo.h: Likewise.
30731 * sysdeps/sparc/stackinfo.h: Likewise.
30732 * sysdeps/x86_64/stackinfo.h: Likewise.
30733 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30734 PF_X for powerpc64. Retain PF_X for powerpc32.
30735
db753e2c
UD
307362010-12-19 Ulrich Drepper <drepper@gmail.com>
30737
14b697f7
UD
30738 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30739 accurately.
db753e2c
UD
30740 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30741 GETDENTS_64BIT_ALIGNED.
30742
28300719
UD
307432010-12-14 Ulrich Drepper <dreper@gmail.com>
30744
14b697f7 30745 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30746
4f197237
AS
307472010-12-10 Andreas Schwab <schwab@redhat.com>
30748
dbb0472f
AS
30749 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30750 _GNU_SOURCE.
30751
4f197237
AS
30752 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30753 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30754 Remove __restrict.
30755 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30756 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30757
fb88ac72
UD
307582010-12-09 Ulrich Drepper <drepper@gmail.com>
30759
30760 [BZ #11655]
30761 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30762 are initialized.
30763
42acbb92
JJ
307642010-12-09 Jakub Jelinek <jakub@redhat.com>
30765
30766 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30767
c038d98d
UD
307682010-12-03 Ulrich Drepper <drepper@gmail.com>
30769
30770 * po/it.po: Update from translation team.
30771
3a4a2499
L
307722010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30773
30774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30775 unused codes.
30776
1e24cf6e
UD
307772010-11-30 Ulrich Drepper <drepper@gmail.com>
30778
30779 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30780
a7690819
AS
307812010-11-24 Andreas Schwab <schwab@redhat.com>
30782
30783 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30784 specially.
30785 (gaih_getanswer_slice): Likewise.
30786
3bf8d1b1
JJ
307872010-10-20 Jakub Jelinek <jakub@redhat.com>
30788
30789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30790
6db52fbb
PB
307912010-05-31 Petr Baudis <pasky@suse.cz>
30792
30793 [BZ #11149]
30794 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30795 silently even in the chroot mode.
30796
eaca7569
UD
307972010-11-22 Ulrich Drepper <drepper@gmail.com>
30798
30799 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30800 last patch a bit. Pretty printing
30801
3056dcdb
UD
308022010-05-31 Petr Baudis <pasky@suse.cz>
30803
30804 [BZ #10085]
30805 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30806 initialization of skip_initgroups_dyn.
30807
cf7c9078
UD
308082010-11-19 Ulrich Drepper <drepper@gmail.com>
30809
30810 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30811 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30812
a1fb5e3e
UD
308132010-11-16 Ulrich Drepper <drepper@gmail.com>
30814
30815 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30816
3540d66b
AS
308172010-11-11 Andreas Schwab <schwab@redhat.com>
30818
30819 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30820 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30821 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30822 ($(objpfx)tst-fnmatch-mem): New rule.
30823 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30824 * posix/tst-fnmatch.c (main): Call mtrace.
30825
13b69574
L
308262010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30827
30828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30829 Support Intel processor model 6 and model 0x2c.
30830
da93d214
LM
308312010-11-10 Luis Machado <luisgpm@br.ibm.com>
30832
30833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30834 signed comparison.
30835
8ca52c6e
L
308362010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30837
30838 [BZ #12205]
30839 * string/test-strncasecmp.c (check_result): New function.
30840 (do_one_test): Use it.
30841 (check1): New function.
30842 (test_main): Use it.
30843 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30844 Support strcasecmp and strncasecmp.
30845
69da074d
UD
308462010-11-08 Ulrich Drepper <drepper@gmail.com>
30847
30848 [BZ #12194]
30849 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30850 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30851
ff02d528
L
308522010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30853
30854 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30855 IFUNC support.
30856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30857 memset-x86-64.
30858 * sysdeps/x86_64/multiarch/bzero.S: New file.
30859 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30860 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30861 * sysdeps/x86_64/multiarch/memset.S: New file.
30862 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30864 Set bit_Prefer_SSE_for_memop for Intel processors.
30865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30866 Define.
30867 (index_Prefer_SSE_for_memop): Define.
30868 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30869
344d0b54
LM
308702010-11-04 Luis Machado <luisgpm@br.ibm.com>
30871
30872 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30873 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30874
c0dde15b
UD
308752010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30876
30877 [BZ #12191]
30878 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30879 (__x86_64_raw_data_cache_size_half): Likewise.
30880 (__x86_64_raw_shared_cache_size): Likewise.
30881 (__x86_64_raw_shared_cache_size_half): Likewise.
30882
30883 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30884 (__x86_64_raw_data_cache_size_half): Likewise.
30885 (__x86_64_raw_shared_cache_size): Likewise.
30886 (__x86_64_raw_shared_cache_size_half): Likewise.
30887 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30888 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30889 and __x86_64_raw_shared_cache_size_half. Round
30890 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30891 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30892 to multiple of 256 bytes.
30893
0e516e0e
MS
308942010-11-03 Ulrich Drepper <drepper@gmail.com>
30895
30896 [BZ #12167]
30897 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30898 of inacessible symlinks. Verify result of symlink before returning it.
30899 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30900 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30901
0e012e87
ER
309022010-10-28 Erich Ritz <erichritz@gmail.com>
30903
30904 * math/math.h (isinf): Fix typo in comment.
30905
de0ff7bc
UD
309062010-11-01 Ulrich Drepper <drepper@gmail.com>
30907
30908 * po/da.po: Update from translation team.
30909
fa41c84d
UD
309102010-10-26 Ulrich Drepper <drepper@gmail.com>
30911
30912 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30913 is added to the list.
30914
f0967738
AK
309152010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30916 Ulrich Drepper <drepper@gmail.com>
30917
30918 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30919 the global list here. Move code to...
30920 (_dl_add_to_namespace_list): ...here. New function.
30921 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30922 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30923 * elf/dl-load.c (lose): Don't remove the element from the list.
30924 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30925 (_dl_map_object): Likewise.
30926
309272010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30928
30929 [BZ #12159]
30930 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30931 into all bytes of SSE register.
30932 Patch by Richard Li <richardpku@gmail.com>.
30933
f0967738 309342010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30935
30936 [BZ #12140]
30937 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30938 perturbing.
30939
d0b9e94f
MB
309402010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30941
30942 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30943 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30944 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30945 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30947 submachine.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30949
8e9f92e9
AS
309502010-10-22 Andreas Schwab <schwab@redhat.com>
30951
30952 * include/dlfcn.h (__RTLD_SECURE): Define.
30953 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30954 mode & __RTLD_SECURE instead.
30955 (open_path): Rename preloaded parameter to secure.
30956 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30957 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30958 * elf/dl-deps.c (openaux): Likewise.
30959 * elf/rtld.c (struct map_args): Remove is_preloaded.
30960 (map_doit): Don't use it.
30961 (dl_main): Likewise.
30962 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30963 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30964
bc96fbda
AS
309652010-09-09 Andreas Schwab <schwab@redhat.com>
30966
30967 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30968 (sysd-rules-targets): Remove duplicates.
30969 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30970 rtld-%.$o dependency.
30971
22cd1c9b
AS
309722010-10-18 Andreas Schwab <schwab@redhat.com>
30973
30974 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30975 _dl_map_object do it.
30976
18edac48
UD
309772010-10-19 Ulrich Drepper <drepper@gmail.com>
30978
30979 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30980 fast fma builtins, define the macros in the C99 standard.
30981 (FP_FAST_FMAF): Likewise.
30982 (FP_FAST_FMAL): Likewise.
30983 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30984
30985 * bits/mathdef.h: Update copyright year.
30986 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30987
d2050124
MM
309882010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30989
30990 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30991 builtins, define the macros in the C99 standard.
30992 (FP_FAST_FMAF): Likewise.
30993 (FP_FAST_FMAL): Likewise.
30994 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30995 multiply/add.
30996 (FP_FAST_FMAF): Likewise.
30997
475facd1
JJ
309982010-10-15 Jakub Jelinek <jakub@redhat.com>
30999
31000 [BZ #3268]
31001 * math/libm-test.inc (fma_test): Some new testcases.
31002 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31003 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31004 y and infinite z. Do multiplication by C already in long double.
31005 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31007 y and infinite z. Do bitwise or of inexact bit into u.d.
31008 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31009 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31010 * sysdeps/i386/fpu/s_fma.S: Removed.
31011 * sysdeps/i386/fpu/s_fmal.S: Removed.
31012
7c08a05c
JJ
310132010-10-16 Jakub Jelinek <jakub@redhat.com>
31014
31015 [BZ #3268]
31016 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31018 computation is not scheduled after fetestexcept. Fix value
31019 of minimum denormal long double.
31020
f3f7372d
JJ
310212010-10-14 Jakub Jelinek <jakub@redhat.com>
31022
31023 [BZ #3268]
31024 * math/libm-test.inc (fma_test): Add some more tests.
31025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31026 correctly.
31027
14d43591
AS
310282010-10-15 Andreas Schwab <schwab@redhat.com>
31029
31030 * scripts/data/localplt-s390-linux-gnu.data: New file.
31031 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31032
5e908464
JJ
310332010-10-13 Jakub Jelinek <jakub@redhat.com>
31034
31035 [BZ #3268]
31036 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31037 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31038 instead of dbl-64.
31039 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31040 inlines.
31041 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31043 if one of x and y is very large and the other is subnormal.
31044 * sysdeps/s390/fpu/s_fmaf.c: New file.
31045 * sysdeps/s390/fpu/s_fma.c: New file.
31046 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31047 * sysdeps/powerpc/fpu/s_fma.S: New file.
31048 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31049 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31050 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31051
310522010-10-12 Jakub Jelinek <jakub@redhat.com>
31053
31054 [BZ #3268]
31055 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31056 fma tests.
31057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31058 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31059 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31060 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31061 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31062 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31064
b833d51f
UD
310652010-10-12 Ulrich Drepper <drepper@redhat.com>
31066
31067 [BZ #12078]
31068 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31069 * posix/bug-regex31.input: Add test case.
31070
1751705d
UD
310712010-10-11 Ulrich Drepper <drepper@gmail.com>
31072
e9b9cbf5
UD
31073 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31074 * posix/bug-regex31.input: New file.
31075
31076 [BZ #12078]
31077 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31078 (parse_sub_exp): Fix last change, use postorder.
31079
ef06edbe
UD
31080 * posix/bug-regex31.c: New file.
31081 * posix/Makefile: Add rules to build and run bug-regex31.
31082
a129c80d
UD
31083 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31084
31085 [BZ #12078]
31086 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31087
b76b818e
UD
31088 [BZ #12108]
31089 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31090 to have entries in sys_siglist.
31091
1751705d
UD
31092 [BZ #12093]
31093 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31094 be NULL.
31095
9ff8d36f
JJ
310962010-10-07 Jakub Jelinek <jakub@redhat.com>
31097
31098 [BZ #3268]
31099 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31100 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31101 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31102 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31103 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31104 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31105 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31106 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31107 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31108 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31109 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31110 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31111 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31112 * math/ftestexcept.c (fetestexcept): Likewise.
31113 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31114 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31115 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31116 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31117 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31118 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31119 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31120
af325969
UD
311212010-10-11 Ulrich Drepper <drepper@gmail.com>
31122
c579b202 31123 [BZ #12107]
af325969
UD
31124 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31125 newline.
31126
67a67b95
UD
311272010-10-06 Ulrich Drepper <drepper@gmail.com>
31128
31129 * string/bug-strstr1.c: New file.
31130 * string/Makefile: Add rules to build and run bug-strstr1.
31131
5fb308bc
EB
311322010-10-05 Eric Blake <eblake@redhat.com>
31133
31134 [BZ #12092]
31135 * string/str-two-way.h (two_way_long_needle): Always clear memory
31136 when skipping input due to the shift table.
31137
45db99c7
UD
311382010-10-03 Ulrich Drepper <drepper@gmail.com>
31139
3b111893
UD
31140 [BZ #12005]
31141 * malloc/mcheck.c: Handle large requests.
31142
45db99c7
UD
31143 [BZ #12077]
31144 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31145 for strncmp and strncasecmp.
31146 * string/stratcliff.c: Add tests for strcmp and strncmp.
31147 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31148
cf7a1eb8
NI
311492010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31150
31151 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31152 __set_fpscr.
31153
6484ba5e
AJ
311542010-09-30 Andreas Jaeger <aj@suse.de>
31155
31156 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31157 (CGROUP_SUPER_MAGIC): Define.
31158 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31159 Handle btrfs and cgroup file systems.
31160 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31161 Likewise.
31162
91c42559
LM
311632010-09-27 Luis Machado <luisgpm@br.ibm.com>
31164
31165 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31166 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31167
87a97932
AK
311682010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31169
31170 [BZ #12067]
31171 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31172 trying to locate the ELF header.
31173
c21cc9bc
AS
311742010-09-27 Andreas Schwab <schwab@redhat.com>
31175
31176 [BZ #11611]
31177 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31178 Mask out sign-bit copies when constructing f_fsid.
31179
315970f6
PB
311802010-09-24 Petr Baudis <pasky@suse.cz>
31181
31182 * debug/stack_chk_fail_local.c: Add missing licence exception.
31183 * debug/warning-nop.c: Likewise.
31184
1ac7a2c7
JM
311852010-09-15 Joseph Myers <joseph@codesourcery.com>
31186
31187 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31188 implementing getdents64 using getdents syscall, set d_type if
31189 __ASSUME_GETDENTS32_D_TYPE.
31190
56801c50
AS
311912010-09-16 Andreas Schwab <schwab@redhat.com>
31192
31193 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31194 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31195
dda51327
UD
311962010-09-21 Ulrich Drepper <drepper@redhat.com>
31197
31198 [BZ #12037]
31199 * posix/unistd.h: Undo change of feature selection for ftruncate from
31200 2010-01-11.
31201
8ffcee4a
UD
312022010-09-20 Ulrich Drepper <drepper@redhat.com>
31203
a545ecd9 31204 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31205 detection.
31206
e24f0a8b
AS
312072010-09-20 Andreas Schwab <schwab@redhat.com>
31208
31209 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31210 fanotify_mark.
31211 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31212
7291c56f
AS
312132010-09-14 Andreas Schwab <schwab@redhat.com>
31214
31215 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31216 variables after CHECK_SP call.
31217 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31218
bc5fb037
AS
312192010-09-13 Andreas Schwab <schwab@redhat.com>
31220 Ulrich Drepper <drepper@redhat.com>
31221
31222 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31223 re-relocationg ld.so.
31224 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31225 _dl_init_paths call.
31226 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31227 here anymore.
31228
e66e7419
UD
312292010-09-14 Ulrich Drepper <drepper@redhat.com>
31230
31231 * resolv/res_init.c (__res_vinit): Count the default server we added.
31232
c044aa75
CLT
312332010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31234 Ulrich Drepper <drepper@redhat.com>
31235
31236 [BZ #11968]
31237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31238 (____longjmp_chk): Use %ebx for saving value across system call.
31239 Add unwind info.
31240
32cf4069
AS
312412010-09-06 Andreas Schwab <schwab@redhat.com>
31242
31243 * manual/Makefile: Don't mix pattern rules with normal rules.
31244
817328ee
AS
312452010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31246
31247 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31248 operation.
31249 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31250 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31251 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31252 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31253 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31254 Likewise.
31255
29fddf61
UD
312562010-09-04 Ulrich Drepper <drepper@redhat.com>
31257
31258 [BZ #11979]
31259 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31260 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31261
0959ffc9
UD
312622010-09-02 Ulrich Drepper <drepper@redhat.com>
31263
31264 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31265 * sysdeps/x86_64/addmul_1.S: Likewise.
31266 * sysdeps/x86_64/lshift.S: Likewise.
31267 * sysdeps/x86_64/mul_1.S: Likewise.
31268 * sysdeps/x86_64/rshift.S: Likewise.
31269 * sysdeps/x86_64/sub_n.S: Likewise.
31270 * sysdeps/x86_64/submul_1.S: Likewise.
31271
ece29840
ST
312722010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31273
0959ffc9
UD
31274 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31275 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31276 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31277 * bits/sched.h [__need_schedparam]
ece29840 31278 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31279 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31280 (__defined_schedparam): Define to 1.
ece29840
ST
31281 (__sched_param): New structure, identical to sched_param.
31282 (__need_schedparam): Undefine.
31283
e53a31fe
MF
312842010-08-31 Mike Frysinger <vapier@gentoo.org>
31285
fdc0c10d
MF
31286 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31287 (epoll_create1): Declare.
31288
e53a31fe
MF
31289 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31290
a726d796
AS
312912010-08-31 Andreas Schwab <schwab@redhat.com>
31292
31293 [BZ #7066]
31294 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31295 shifting retval into place.
31296
2f3e3dc7
UD
312972010-09-01 Ulrich Drepper <drepper@redhat.com>
31298
f2933da9
UD
31299 * nis/rpcsvc/nis.h: Update copyright notice.
31300 * nis/rpcsvc/nis.x: Likewise.
31301 * nis/rpcsvc/nis_callback.h: Likewise.
31302 * nis/rpcsvc/nis_callback.x: Likewise.
31303 * nis/rpcsvc/nis_object.x: Likewise.
31304 * nis/rpcsvc/nis_tags.h: Likewise.
31305 * nis/rpcsvc/yp.h: Likewise.
31306 * nis/rpcsvc/yp.x: Likewise.
31307 * nis/rpcsvc/ypupd.h: Likewise.
31308 * nis/yp_xdr.c: Likewise.
31309 * nis/ypupdate_xdr.c: Likewise.
31310
2f3e3dc7
UD
31311 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31312 mainly the body of pmap_getport. Add parameters to specify timeouts.
31313 (pmap_getport): Use __libc_rpc_getport.
31314 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31315 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31316 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31317
f3dcc2f9
AS
313182010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31319
31320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31321 fanotify_mark.
31322
6d34eb5b
RM
313232010-08-27 Roland McGrath <roland@redhat.com>
31324
31325 * sysdeps/i386/i686/multiarch/Makefile
31326 (CFLAGS-varshift.c): New variable.
31327
9ea3de11
UD
313282010-08-27 Ulrich Drepper <drepper@redhat.com>
31329
c96d23fc
UD
31330 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31331 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31332
9ea3de11
UD
31333 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31334
31335 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31336
623aac7f
L
313372010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31338
31339 * sysdeps/x86_64/strlen.S: Unroll the loop.
31340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31341 strlen-sse2 strlen-sse2-bsf.
31342 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31343 __strlen_no_bsf if bit_Slow_BSF is set.
31344 (__strlen_sse42): Removed.
31345 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31346 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31347
8b2b7715
RM
313482010-08-25 Roland McGrath <roland@redhat.com>
31349
31350 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31351 * sysdeps/x86_64/multiarch/varshift.c: New file.
31352 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31353 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31354 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31355 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31356
e73015f2
L
313572010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31358
31359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31360 strlen-sse2 strlen-sse2-bsf.
31361 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31362 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31363 (__strlen_sse2): Removed.
31364 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31365 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31367 bit_Slow_BSF for Atom.
31368 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31369 (index_Slow_BSF): Define.
31370 (HAS_SLOW_BSF): Define.
31371
df24a73e
UD
313722010-08-25 Ulrich Drepper <drepper@redhat.com>
31373
31374 [BZ #10851]
31375 * resolv/res_init.c (__res_vinit): When no server address at all
31376 is given default to loopback.
31377
f2ac4868
RM
313782010-08-24 Roland McGrath <roland@redhat.com>
31379
09055553
RM
31380 * configure.in: Remove config-name.h generation.
31381 * configure: Regenerated.
31382 * config-name.in: File removed.
31383 * scripts/config-uname.sh: New file.
31384 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31385 ($(objdir)config-name.h): New target.
31386
f2ac4868
RM
31387 * sunrpc/rpc_parse.h: Avoid nested comment.
31388
73f27d5e
RH
313892010-08-24 Richard Henderson <rth@redhat.com>
31390 Ulrich Drepper <drepper@redhat.com>
31391 H.J. Lu <hongjiu.lu@intel.com>
31392
31393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31395 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31396 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31397 _mm_alignr_epi8 with _mm_loadu_si128.
31398 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31399 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31400 (__m128i_shift_right): Removed.
31401 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31402 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31403 * sysdeps/x86_64/multiarch/varshift.h: New file.
31404 * sysdeps/x86_64/multiarch/varshift.S: New file.
31405
84b9230c
MF
314062010-08-21 Mike Frysinger <vapier@gentoo.org>
31407
31408 * configure.in: Move assembler checks to before sysdep dir checking.
31409
9bbd0ddc
PB
314102010-08-20 Petr Baudis <pasky@suse.cz>
31411
31412 * LICENSES: Sync the sunrpc license.
31413
9da4bb31
UD
314142010-08-19 Ulrich Drepper <drepper@redhat.com>
31415
a7ab6ec8
UD
31416 * sunrpc/auth_des.c: Update copyright notice once again.
31417 * sunrpc/auth_none.c: Likewise.
31418 * sunrpc/auth_unix.c: Likewise.
31419 * sunrpc/authdes_prot.c: Likewise.
31420 * sunrpc/authuxprot.c: Likewise.
31421 * sunrpc/bindrsvprt.c: Likewise.
31422 * sunrpc/clnt_gen.c: Likewise.
31423 * sunrpc/clnt_perr.c: Likewise.
31424 * sunrpc/clnt_raw.c: Likewise.
31425 * sunrpc/clnt_simp.c: Likewise.
31426 * sunrpc/clnt_tcp.c: Likewise.
31427 * sunrpc/clnt_udp.c: Likewise.
31428 * sunrpc/clnt_unix.c: Likewise.
31429 * sunrpc/des_crypt.c: Likewise.
31430 * sunrpc/des_soft.c: Likewise.
31431 * sunrpc/get_myaddr.c: Likewise.
31432 * sunrpc/getrpcport.c: Likewise.
31433 * sunrpc/key_call.c: Likewise.
31434 * sunrpc/key_prot.c: Likewise.
31435 * sunrpc/openchild.c: Likewise.
31436 * sunrpc/pm_getmaps.c: Likewise.
31437 * sunrpc/pm_getport.c: Likewise.
31438 * sunrpc/pmap_clnt.c: Likewise.
31439 * sunrpc/pmap_prot.c: Likewise.
31440 * sunrpc/pmap_prot2.c: Likewise.
31441 * sunrpc/pmap_rmt.c: Likewise.
31442 * sunrpc/rpc/auth.h: Likewise.
31443 * sunrpc/rpc/auth_unix.h: Likewise.
31444 * sunrpc/rpc/clnt.h: Likewise.
31445 * sunrpc/rpc/des_crypt.h: Likewise.
31446 * sunrpc/rpc/key_prot.h: Likewise.
31447 * sunrpc/rpc/netdb.h: Likewise.
31448 * sunrpc/rpc/pmap_clnt.h: Likewise.
31449 * sunrpc/rpc/pmap_prot.h: Likewise.
31450 * sunrpc/rpc/pmap_rmt.h: Likewise.
31451 * sunrpc/rpc/rpc.h: Likewise.
31452 * sunrpc/rpc/rpc_des.h: Likewise.
31453 * sunrpc/rpc/rpc_msg.h: Likewise.
31454 * sunrpc/rpc/svc.h: Likewise.
31455 * sunrpc/rpc/svc_auth.h: Likewise.
31456 * sunrpc/rpc/types.h: Likewise.
31457 * sunrpc/rpc/xdr.h: Likewise.
31458 * sunrpc/rpc_clntout.c: Likewise.
31459 * sunrpc/rpc_cmsg.c: Likewise.
31460 * sunrpc/rpc_common.c: Likewise.
31461 * sunrpc/rpc_cout.c: Likewise.
31462 * sunrpc/rpc_dtable.c: Likewise.
31463 * sunrpc/rpc_hout.c: Likewise.
31464 * sunrpc/rpc_main.c: Likewise.
31465 * sunrpc/rpc_parse.c: Likewise.
31466 * sunrpc/rpc_parse.h: Likewise.
31467 * sunrpc/rpc_prot.c: Likewise.
31468 * sunrpc/rpc_sample.c: Likewise.
31469 * sunrpc/rpc_scan.c: Likewise.
31470 * sunrpc/rpc_scan.h: Likewise.
31471 * sunrpc/rpc_svcout.c: Likewise.
31472 * sunrpc/rpc_tblout.c: Likewise.
31473 * sunrpc/rpc_util.c: Likewise.
31474 * sunrpc/rpc_util.h: Likewise.
31475 * sunrpc/rpcinfo.c: Likewise.
31476 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31477 * sunrpc/rpcsvc/key_prot.x: Likewise.
31478 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31479 * sunrpc/rpcsvc/mount.x: Likewise.
31480 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31481 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31482 * sunrpc/rpcsvc/rex.x: Likewise.
31483 * sunrpc/rpcsvc/rstat.x: Likewise.
31484 * sunrpc/rpcsvc/rusers.x: Likewise.
31485 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31486 * sunrpc/rpcsvc/spray.x: Likewise.
31487 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31488 * sunrpc/rtime.c: Likewise.
31489 * sunrpc/svc.c: Likewise.
31490 * sunrpc/svc_auth.c: Likewise.
31491 * sunrpc/svc_authux.c: Likewise.
31492 * sunrpc/svc_raw.c: Likewise.
31493 * sunrpc/svc_run.c: Likewise.
31494 * sunrpc/svc_simple.c: Likewise.
31495 * sunrpc/svc_tcp.c: Likewise.
31496 * sunrpc/svc_udp.c: Likewise.
31497 * sunrpc/svc_unix.c: Likewise.
31498 * sunrpc/svcauth_des.c: Likewise.
31499 * sunrpc/xcrypt.c: Likewise.
31500 * sunrpc/xdr.c: Likewise.
31501 * sunrpc/xdr_array.c: Likewise.
31502 * sunrpc/xdr_float.c: Likewise.
31503 * sunrpc/xdr_mem.c: Likewise.
31504 * sunrpc/xdr_rec.c: Likewise.
31505 * sunrpc/xdr_ref.c: Likewise.
31506 * sunrpc/xdr_sizeof.c: Likewise.
31507 * sunrpc/xdr_stdio.c: Likewise.
31508
9da4bb31
UD
31509 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31510 handling.
31511
bdaa77bc
AS
315122010-08-19 Andreas Schwab <schwab@redhat.com>
31513
31514 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31515
fe2f79db
LM
315162010-08-19 Luis Machado <luisgpm@br.ibm.com>
31517
31518 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31519 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31520 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31521 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31522 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31523 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31524 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31525 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31526 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31527 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31528 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31529 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31530 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31531 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31532
b9b42ee0
AB
315332010-07-26 Anton Blanchard <anton@samba.org>
31534
31535 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31536 * malloc/arena.c (heap_trim): Likewise.
31537
1c06ba31
UD
315382010-08-16 Ulrich Drepper <drepper@redhat.com>
31539
31540 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31541 here. Not...
31542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31543 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31544
f8392f40
L
315452010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31546
31547 * sysdeps/i386/elf/Makefile: New file.
31548
3162f12e
AS
315492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31550
31551 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31552 from fanotify_init.
31553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31554 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31555
28c90b2c
UD
315562010-08-15 Ulrich Drepper <drepper@redhat.com>
31557
31558 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31559 of strncasecmp_l.
1feccb6c 31560 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31561
ca6bb004
UD
315622010-08-14 Ulrich Drepper <drepper@redhat.com>
31563
e9f82e0d
UD
31564 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31565 strncase_l-nonascii.
31566 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31567 Add strncase_l-ssse3.
31568 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31569 * sysdeps/x86_64/strcmp.S: Likewise.
31570 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31571 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31572 * sysdeps/x86_64/strncase.S: New file.
31573 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31574 * sysdeps/x86_64/strncase_l.S: New file.
31575 * string/Makefile (strop-tests): Add strncasecmp.
31576 * string/test-strncasecmp.c: New file.
31577
31578 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31579 warning.
31580
ca6bb004
UD
31581 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31582 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31583
052fa7b3
AS
315842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31585
31586 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31587
962dba78
UD
315882010-08-12 Ulrich Drepper <drepper@redhat.com>
31589
31590 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31591 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31592 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31593
bebff237
AM
315942010-05-01 Alan Modra <amodra@gmail.com>
31595
31596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31597 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31598 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31599 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31600 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31601 tidying. Don't tail-call __sigjmp_save for static lib.
31602 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31603 save location.
31604 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31605 (CALL_MCOUNT): Add eh info, and nop after bl.
31606 (TAIL_CALL_SYSCALL_ERROR): New macro.
31607 (PSEUDO_RET): Use it.
31608 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31609 Correct save location of integer regs and cr.
31610 (_dl_profile_resolve): Correct cr save location. Delete nops
31611 after bl when SHARED. Reduce cfi size a little by better
31612 placement of cfi directives.
31613 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31614 make a stack frame. Instead use parm save area as a temp.
31615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31616 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31618 Don't make a stack frame for parent, use parm save area.
31619 Increase child stack frame to 112 bytes. Don't save unused reg,
31620 and adjust reg usage. Set up cfi on error recovery and
31621 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31623 (__makecontext): Add dummy nop after jump to exit.
31624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31625 Use correct parm save area and cr save, reduce stack frame.
31626 Correct cfi for possible PSEUDO_RET frame setup.
31627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31628 Branch to local label emitted by PSEUDO_RET rather than
31629 __syscall_error.
31630
02637374
AS
316312010-08-12 Andreas Schwab <schwab@redhat.com>
31632
31633 [BZ #11904]
31634 * locale/programs/locale.c (print_assignment): New function.
31635 (show_locale_vars): Use it.
31636
c3e2f19b
UD
316372010-08-11 Ulrich Drepper <drepper@redhat.com>
31638
3cdaa6ad
UD
31639 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31640 field.
31641 (struct statfs64): Likewise.
31642 (_STATFS_F_FLAGS): Define.
31643 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31644 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31645 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31646 (ST_VALID): Define locally.
31647 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31648 __statvfs_getflags, use the provided value.
31649 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31650 __ASSUME_STATFS_F_FLAGS.
31651
754f7da3
UD
31652 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31653
10b3bedc
UD
31654 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31655 Add sys/fanotify.h.
31656 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31657 fanotify_mask for GLIBC_2.13.
31658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31659 fanotify_init and fanotify_mark.
31660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31661 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31662
c08fb0d7
UD
31663 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31664 Add prlimit.
31665 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31666 prlimit64 for GLIBC_2.13.
31667 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31668 prlimit64.
31669 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31670 syscall.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31672 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31673 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31674 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31676 add prlimit alias.
31677 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31678
15bac72b
UD
31679 [BZ #11903]
31680 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31681 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31682
c3e2f19b
UD
31683 * nss/Makefile: Add rules to build and run tst-nss-test1.
31684 * shlib-versions: Add entry for libnss_test1.
31685 * nss/nss_test1.c: New file.
31686 * nss/tst-nss-test1.c: New file.
31687
31688 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31689 (__nss_configure_lookup): Set appropriate entry in
31690 __nss_configure_lookup to true.
31691 * nss/nsswitch.h: Define enum with indeces of databases in
31692 databases and __nss_database_custom arrays. Declare
31693 __nss_database_custom.
31694 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31695 to avoid using nscd when custom rules are installed.
31696 * nss/getXXbyYY_r.c: Likewise.
31697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31698
31699 * nss/nss_files/files-parse.c: Whitespace fixes.
31700
f15ce4d8
UD
317012010-08-09 Ulrich Drepper <drepper@redhat.com>
31702
31703 [BZ #11883]
31704 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31705 * posix/fnmatch_loop.c: Likewise.
31706
d22e4cc9
AK
317072010-07-17 Andi Kleen <ak@linux.intel.com>
31708
31709 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31710 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31711 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31712 * Versions.def [GLIBC_2.13]: Add.
31713
805bc17d
UD
317142010-08-06 Ulrich Drepper <drepper@redhat.com>
31715
31716 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31717 Also fail if tpwd after pwuid call is NULL.
31718
5a42321d
ST
317192010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31720
31721 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31722 when converting to ms.
31723
fd3ebeda
ST
317242010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31725
31726 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31727 EOPNOTSUPP errors with ENOTTY.
31728 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31729 EOPNOTSUPP errors with ENOTTY.
31730
73507d3a
UD
317312010-07-31 Ulrich Drepper <drepper@redhat.com>
31732
31733 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31734 Add strcasecmp_l-ssse3.
31735 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31736 strcasecmp.
31737 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31738 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31739 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31740
fe36dd02
UD
317412010-07-30 Ulrich Drepper <drepper@redhat.com>
31742
66f6765a
UD
31743 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31744
42e08a54
UD
31745 * string/Makefile (strop-tests): Add strcasecmp.
31746 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31747 strcasecmp_l-nonascii.
31748 (gen-as-const-headers): Add locale-defines.sym.
31749 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31750 * sysdeps/x86_64/strcasecmp.S: New file.
31751 * sysdeps/x86_64/strcasecmp_l.S: New file.
31752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31753 * sysdeps/x86_64/locale-defines.sym: New file.
31754 * string/test-strcasecmp.c: New file.
31755
fe36dd02
UD
31756 * string/test-strcasestr.c: Test both ends of the range of characters.
31757 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31758
48cbc0d6
RM
317592010-07-29 Roland McGrath <roland@redhat.com>
31760
76e6d6bc 31761 [BZ #11856]
48cbc0d6
RM
31762 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31763
880113d9
UD
317642010-07-27 Ulrich Drepper <drepper@redhat.com>
31765
31766 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31767 for ld.so.
31768
deb9cabb
AS
317692010-07-27 Andreas Schwab <schwab@redhat.com>
31770
31771 * manual/memory.texi (Malloc Tunable Parameters): Document
31772 M_PERTURB.
31773
1c7570ff
RM
317742010-07-26 Roland McGrath <roland@redhat.com>
31775
31776 [BZ #11840]
31777 * configure.in (-fgnu89-inline check): Set and substitute
31778 gnu89_inline, not libc_cv_gnu89_inline.
31779 * configure: Regenerated.
31780 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31781
24fb0f88
UD
317822010-07-26 Ulrich Drepper <drepper@redhat.com>
31783
31784 * string/test-strnlen.c: New file.
31785 * string/Makefile (strop-tests): Add strnlen.
31786 * string/tester.c (test_strnlen): Add a few more test cases.
31787 * string/tst-strlen.c: Better error reporting.
31788
31789 * sysdeps/x86_64/strnlen.S: New file.
31790
8e96b93a
UD
317912010-07-24 Ulrich Drepper <drepper@redhat.com>
31792
31793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31794 lower-latency instructions.
31795
dbc676d4
UD
317962010-07-23 Ulrich Drepper <drepper@redhat.com>
31797
31798 * string/test-strcasestr.c: New file.
31799 * string/test-strstr.c: New file.
31800 * string/Makefile (strop-tests): Add strstr and strcasestr.
31801 * string/str-two-way.h: Don't undefine MAX.
31802 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31803
f6a31e0e
AS
318042010-07-21 Andreas Schwab <schwab@redhat.com>
31805
31806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31807 strcasestr-nonascii.
31808 (CFLAGS-strcasestr-nonascii.c): Define.
31809 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31810 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31811 Remove unused attribute.
31812
5dbc3b6c
RM
318132010-07-20 Roland McGrath <roland@redhat.com>
31814
31815 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31816 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31817 ld.so.cache was broken. With it, there is no way to disable dsocaps
31818 like LD_HWCAP_MASK can disable hwcaps.
31819
23d101d8
EPM
318202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31821
31822 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31823
cc9f2e47
UD
318242010-07-16 Ulrich Drepper <drepper@redhat.com>
31825
31826 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31827 call in strcasestr.
31828 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31829 __strcasestr_sse42_nonascii.
31830 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31831 strcasestr-nonascii.c.
31832 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31833
77c1b069
LM
318342010-06-15 Luis Machado <luisgpm@br.ibm.com>
31835
31836 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31837 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31838 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31839 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31840
440566c3
UD
318412010-07-09 Ulrich Drepper <drepper@redhat.com>
31842
31843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31844 fcntl.
31845
5be9d05d
AS
318462010-07-06 Andreas Schwab <schwab@redhat.com>
31847
c30b7ee2 31848 [BZ #11577]
5be9d05d
AS
31849 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31850 dl_signal_cerror.
31851
8a492a67
UD
318522010-07-06 Ulrich Drepper <drepper@redhat.com>
31853
31854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31855 _PC_PIPE_BUF using F_GETPIPE_SZ.
31856
713df3d5
RM
318572010-07-05 Roland McGrath <roland@redhat.com>
31858
31859 * manual/arith.texi (Rounding Functions): Fix rint description
31860 implicit in round description.
31861
702e8f14
UD
318622010-07-02 Ulrich Drepper <drepper@redhat.com>
31863
31864 * elf/Makefile: Fix linking for a few tests to make recent linker
31865 happy.
31866
52ed8be9
AS
318672010-06-30 Andreas Schwab <schwab@redhat.com>
31868
31869 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31870 $(common-objpfx)libc_nonshared.a.
31871
f47c9a11
LM
318722010-06-21 Luis Machado <luisgpm@br.ibm.com>
31873
31874 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31875 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31876 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31877 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31878 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31879 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31880 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31881 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31896 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31897 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31898 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31899 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31900 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31901 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31902 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31903 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31904 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31905 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31906 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31907 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31922
6fb8cbcb
L
319232010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31924
31925 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31926 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31927 * string/memmove.c (memmove): Renamed to ...
31928 (MEMMOVE): ...this. Default to memmove.
31929 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31930 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31931 (END_CHK): Define.
31932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31933 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31934 mempcpy-ssse3-back memmove-ssse3-back.
31935 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31936 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31937 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31938 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31939 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31940 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31941 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31942 * sysdeps/x86_64/multiarch/memmove.c: New file.
31943 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31944 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31945 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31946 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31947 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31948 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31949 Define.
31950 (index_Fast_Copy_Backward): Define.
31951 (HAS_ARCH_FEATURE): Define.
31952 (HAS_FAST_REP_STRING): Define.
31953 (HAS_FAST_COPY_BACKWARD): Define.
31954
4e733bac 319552010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31956
31957 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31958 Restore proper fallback handling.
31959
63c4ed22
UD
319602010-06-19 Ulrich Drepper <drepper@redhat.com>
31961
ac2b484c
UD
31962 [BZ #11701]
31963 * posix/group_member.c (__group_member): Correct checking loop.
31964
63c4ed22
UD
31965 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31966 OOM in getpwuid_r correctly. Return error number when the caller
31967 should return, otherwise -1.
31968 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31969 call returning > 0 value.
31970 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31971
765ade4b
AS
319722010-06-07 Andreas Schwab <schwab@redhat.com>
31973
31974 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31975 libc_nonshared.a from targets in modules-names.
31976
80da2e09
KS
319772010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31978
31979 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31980 requires it.
31981
158db122
LM
319822010-06-10 Luis Machado <luisgpm@br.ibm.com>
31983
31984 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31986 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31987 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31988
caa78cf8
AS
319892010-06-02 Andreas Schwab <schwab@redhat.com>
31990
31991 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31992
b2ef2c01
UD
319932010-06-14 Ulrich Drepper <drepper@redhat.com>
31994
31995 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31996 and F_GETPIPE_SZ.
31997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32003
fbd643b6
RM
320042010-06-14 Roland McGrath <roland@redhat.com>
32005
32006 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32007
f32f2869
JJ
320082010-06-07 Jakub Jelinek <jakub@redhat.com>
32009
32010 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32011 __REDIRECT followed by __THROW.
32012 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32013 * posix/getopt.h (getopt): Likewise.
32014
2a50c078
EPM
320152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32016
32017 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32018 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32019 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32020 in AT_FLAGS.
32021 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32022 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32023
eb5ad2eb
LM
320242010-05-28 Luis Machado <luisgpm@br.ibm.com>
32025
32026 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32027
3c88fe1e
L
320282010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32029
32030 [BZ #11640]
32031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32032 Properly check family and model.
32033
d2f73151
TY
320342010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32035
32036 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32037
ebd2e13d
LM
320382010-05-24 Luis Machado <luisgpm@br.ibm.com>
32039
32040 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32041
b32b8b45
UD
320422010-05-21 Ulrich Drepper <drepper@redhat.com>
32043
32044 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32045 symbol reference.
32046
9acbe24d
AS
320472010-05-19 Andreas Schwab <schwab@redhat.com>
32048
32049 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32050 symbol reference.
32051
f0ccf6ea
AS
320522010-05-21 Andreas Schwab <schwab@redhat.com>
32053
3d04ff3a
AS
32054 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32055 and internal_recvmmsg.
32056 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32057 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32058 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32059 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32060
f0ccf6ea
AS
32061 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32062 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32063 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32064
5b08ac57
AS
320652010-05-20 Andreas Schwab <schwab@redhat.com>
32066
32067 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32068
4828935d
LM
320692010-05-17 Luis Machado <luisgpm@br.ibm.com>
32070
32071 POWER7 optimizations.
32072 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32073 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32074
373d545e
UD
320752010-05-19 Ulrich Drepper <drepper@redhat.com>
32076
32077 * version.h: Update for 2.13 development version.
32078
21a2b1ae
AS
320792010-05-12 Andrew Stubbs <ams@codesourcery.com>
32080
32081 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32082 exceptions. Return 0.
32083
3f7dcb2b
RM
320842010-05-07 Roland McGrath <roland@redhat.com>
32085
32086 * elf/ldconfig.c (main): Add a const.
32087
5f24d53a 320882010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32089
a160f8d8
UD
32090 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32091 (args_options): Add no-idn option.
32092 (ahosts_keys_int): Add idn_flags to ai_flags.
32093 (parse_option): Handle 'i' option to clear idn_flags.
32094
5f24d53a
UD
32095 * malloc/malloc.c (_int_free): Possible race in the most recently
32096 added check. Only act on the data if no current modification
32097 happened.
265bb1ce
UD
32098
32099See ChangeLog.17 for earlier changes.
This page took 4.302433 seconds and 5 git commands to generate.