]> sourceware.org Git - glibc.git/blame - ChangeLog
Open development for 2.19.
[glibc.git] / ChangeLog
CommitLineData
6c1fd795
DM
12013-08-12 David S. Miller <davem@davemloft.net>
2
3 * version.h (RELEASE): Set to "development".
4 (VERSION): Set to "2.18.90".
5 * NEWS: Add 2.19 section.
6
31ad488d
DM
72013-08-03 David S. Miller <davem@davemloft.net>
8
9 * po/ko.po: Update Korean translation from translation project.
10
db24e684
DM
112013-08-01 David S. Miller <davem@davemloft.net>
12
13 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15 Bilka.
16
f723285b
DM
172013-07-30 David S. Miller <davem@davemloft.net>
18
19 * po/fr.po: Update French translation from translation project.
20
3cbc52db
DM
212013-07-28 David S. Miller <davem@davemloft.net>
22
30bbc0cc
DM
23 * po/cs.po: Update Czech translation from translation project.
24
3cbc52db
DM
25 * po/sv.po: Update Swedish translation from translation project.
26
d492e6d0
DM
272013-07-27 David S. Miller <davem@davemloft.net>
28
f1a7f492
DM
29 * po/eo.po: Update Esperanto translation from translation project.
30
90e62a4a
DM
31 * po/vi.po: Update Vietnamese translation from translation project.
32
d492e6d0
DM
33 * po/de.po: Update German translation from translation project.
34
d4baa62d
DM
352013-07-26 David S. Miller <davem@davemloft.net>
36
641aa7b4
DM
37 * po/bg.po: Update Bulgarian translation from translation project.
38
d4baa62d
DM
39 * po/nl.po: Update Dutch translation from translation project.
40 * po/pl.po: Update Polish translation from translation project.
41 * po/ru.po: Update Russian translation from translation project.
42
61a9dcb9
DM
432013-07-24 David S. Miller <davem@davemloft.net>
44
45 * po/libc.pot: Update.
46
7b1f8b58
AZ
472013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50 variable page size.
51 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54
a8fc7a03
AK
552013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56
57 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58
e4608715
CD
592013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60 Andreas Schwab <schwab@suse.de>
61 Roland McGrath <roland@hack.frob.com>
62 Joseph Myers <joseph@codesourcery.com>
63 Carlos O'Donell <carlos@redhat.com>
64
65 [BZ #15755]
66 * config.h.in: Define HAVE_PT_CHOWN.
67 * config.make.in (build-pt-chown): New variable.
68 * configure.in (--enable-pt_chown): New configure option.
69 * configure: Regenerate.
70 * login/Makefile: Include Makeconfig. Build pt_chown only if
71 build-pt-chown is enabled.
72 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
73 pt_chown to fix pty ownership.
74 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
75 CLOSE_ALL_FDS.
76 * manual/install.texi (Configuring and compiling): Mention
77 --enable-pt_chown. Add @findex for grantpt.
78 * INSTALL: Regenerate.
79
da2d62df
DM
802013-07-20 David S. Miller <davem@davemloft.net>
81
82 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
83 difference between 32-bit and 64-bit.
84
d7e06450
CD
852013-07-15 Carlos O'Donell <carlos@redhat.com>
86
87 [BZ #15711]
88 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
89 Avoid system header dependency with -ffreestanding.
90 ($(objpfx)bits/syscall%d): Likewise.
91
f959cfd7
DM
922013-07-13 David S. Miller <davem@davemloft.net>
93
94 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
95 underflows from atanl/atan2l due to bug 15319.
96 (casinh_test_data): Likewise.
97
c61f8513
DM
982013-07-07 David S. Miller <davem@davemloft.net>
99
100 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
101
72c90ed0
JA
1022013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
103
104 * sysdeps/i386/fpu/libm-test-ulps: Update.
105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
106
52dfbe13
SP
1072013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
108
109 * configure.in (--enable-lock-elision): Fix message text.
110 * INSTALL: Regenerate.
111 * configure: Regenerate.
112
3f169543
AZ
1132013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114
115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
116
521c6785
AJ
1172013-07-03 Andreas Jaeger <aj@suse.de>
118
119 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
120 define.
121 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
122 (ptrace_peeksiginfo_args): Add.
123 (__ptrace_peeksiginfo_flags): Add.
124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
127
d2cc15cb
AM
1282013-07-03 Allan McRae <allan@archlinux.org>
129
130 * sysdeps/i386/fpu/libm-test-ulps: Update.
131
3aaeeca7
DM
1322013-07-02 David S. Miller <davem@davemloft.net>
133
134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
135
5314ed1a
MT
1362013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
137
138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
139
67338156
JM
1402013-07-02 Joseph Myers <joseph@codesourcery.com>
141
142 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144
1717da59
AK
1452013-07-02 Andi Kleen <ak@linux.intel.com>
146
147 * config.h.in (ENABLE_LOCK_ELISION): Add.
148 * configure.in (--enable-lock-elision): Add option.
149 * manual/install.texi: Document --enable lock elision.
150 * configure: Regenerate
151 * INSTALL: Regenerate.
152
1c81621c
L
1532013-07-02 H.J. Lu <hongjiu.lu@intel.com>
154
155 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
156 SSE4.2 strcasecmp for libc.a.
157 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
158
77f01ab5
JM
1592013-07-02 Joseph Myers <joseph@codesourcery.com>
160
161 [BZ #13304]
162 * soft-fp/op-common.h (_FP_FMA): New macro.
163 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
164 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
165 (_FP_MUL_MEAT_1_imm): ... here.
166 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
167 (_FP_MUL_MEAT_1_wide): ... here.
168 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
169 (_FP_MUL_MEAT_1_hard): ... here.
170 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
171 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
172 (_FP_MUL_MEAT_2_wide): ... here.
173 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
174 (_FP_MUL_MEAT_2_wide_3mul): ... here.
175 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
176 (_FP_MUL_MEAT_2_gmp): ... here.
177 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
178 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
179 (_FP_MUL_MEAT_4_wide): ... here.
180 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
181 (_FP_MUL_MEAT_4_gmp): ... here.
182 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
183 (_FP_WFRACBITS_DW_S): Likewise.
184 (_FP_WFRACXBITS_DW_S): Likewise.
185 (_FP_HIGHBIT_DW_S): Likewise.
186 (FP_FMA_S): Likewise.
187 (_FP_FRAC_HIGH_DW_S): Likewise.
188 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
189 (_FP_WFRACBITS_DW_D): Likewise.
190 (_FP_WFRACXBITS_DW_D): Likewise.
191 (_FP_HIGHBIT_DW_D): Likewise.
192 (FP_FMA_D): Likewise.
193 (_FP_FRAC_HIGH_DW_D): Likewise.
194 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
195 (_FP_WFRACBITS_DW_E): Likewise.
196 (_FP_WFRACXBITS_DW_E): Likewise.
197 (_FP_HIGHBIT_DW_E): Likewise.
198 (FP_FMA_E): Likewise.
199 (_FP_FRAC_HIGH_DW_E): Likewise.
200 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
201 (_FP_WFRACBITS_DW_Q): Likewise.
202 (_FP_WFRACXBITS_DW_Q): Likewise.
203 (_FP_HIGHBIT_DW_Q): Likewise.
204 (FP_FMA_Q): Likewise.
205 (_FP_FRAC_HIGH_DW_Q): Likewise.
206 * soft-fp/fmasf4.c: New file.
207 * soft-fp/fmadf4.c: Likewise.
208 * soft-fp/fmatf4.c: Likewise.
209
6308fd9a
LD
2102013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
211
212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
213 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
214 Silvermont.
215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
216 macro.
217 (index_Slow_SSE4_2): Likewise.
218 (index_Prefer_PMINUB_for_stringop): Likewise.
219 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
220 bit_Slow_SSE4_2 is set.
221 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
222 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
223
89cd9569
RA
2242013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
225
226 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
227 rtld_global._dl_hwcap2.
228 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
229 POWER8.
230 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
231 POWER8 feature descriptions defined in _dl_hwcap2.
232 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
233 string handling for POWER8 feature bits.
234 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
235 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
236 _dl_powerpc_cap_flags.
237 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
238 * sysdeps/powerpc/rtld-global-offsets.sym
239 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
240 _dl_hwcap2 in the rtld_global_ro structure.
241
1ae8bfe0
RA
2422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
243
244 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
245 hardware capabilities in support of AT_HWCAP2.
246 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
247 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
248 GLRO(dl_hwcap2).
249 (_dl_show_auxv): Add support for calling _dl_procinfo to display
250 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
251 explicitly the unknown a_type display mechanism is used.
252 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
253 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
254 struct member.
255 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
256 to macro prototype for AT_HWCAP2 support.
257 * sysdeps/i386/dl-procinfo.h: Likewise.
258 * sysdeps/s390/dl-procinfo.h: Likewise.
259 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
260 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
261 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
262 return -1 for unknown a_type display fallback.
263 * sysdeps/sparc/dl-procinfo.h: Likewise.
264 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
265 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
266
8fbec010
JM
2672013-06-28 Joseph Myers <joseph@codesourcery.com>
268
269 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
270 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
271
0432680e
PY
2722013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
273
274 [BZ #12492]
275 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
276 mprotect making __stack_prot writable.
277
ce61a2ad
NF
2782013-06-28 Nathan Froyd <froydnj@codesourcery.com>
279 Joseph Myers <joseph@codesourcery.com>
280
281 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
282 as being properly aligned.
283
f91f1c0f
MR
2842013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
285
3d0f5d0c
MR
286 * dlfcn/modstatic5.c: New file.
287 * dlfcn/tststatic5.c: New file.
288 * dlfcn/Makefile (tests): Add tststatic5.
289 (tests-static): Likewise.
290 (modules-names): Add modstatic5.
291 (tststatic5-ENV): New variable.
292 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
293
f91f1c0f
MR
294 [BZ #15022]
295 * elf/dl-support.c (_dl_main_map): New variable.
296 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
297 (_dl_nns, _dl_load_adds): Set to 1.
298 (_dl_initial_searchlist): Refer to _dl_main_map.
299 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
300 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
301 call to _dl_get_origin.
302 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
303 around call_map.
304 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
305 * dlfcn/modstatic3.c: New file.
306 * dlfcn/tststatic3.c: New file.
307 * dlfcn/tststatic4.c: New file.
308 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
309 (tests-static): Likewise.
310 (modules-names): Add modstatic3.
311 (tststatic3-ENV, tststatic4-ENV): New variables.
312 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
313 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
314
cbe7d24b
JM
3152013-06-26 Joseph Myers <joseph@codesourcery.com>
316
317 * configure.in (CC): Require GCC version 4.4 or later.
318 * configure: Regenerated.
319 * manual/install.texi (Tools for Compilation): Update GCC version
320 requirement.
321 * INSTALL: Regenerated.
322
11b8a0e1
LD
3232013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
324
325 [BZ #15674]
bb5bb87c
L
326 * string/test-memcmp.c (check2): New.
327 (main): Call check2.
328
11b8a0e1
LD
329 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
330
b0037103
MR
3312013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
332
333 [BZ #15022]
334 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
335 over to...
336 (dl_open_worker) [!SHARED]: ... here.
337
c18c701d
RA
3382013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
339
340 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
341
1d17fa5f
RH
3422013-06-25 Richard Henderson <rth@redhat.com>
343
344 * locale/programs/locarchive.c: Include <libc-internal.h>
345
8fcb833a
JM
3462013-06-25 Joseph Myers <joseph@codesourcery.com>
347
348 * manual/texinfo.tex: Update to version 2013-06-21.17, with
349 trailing whitespace removed.
350
17db6e8d
MF
3512013-06-24 Mike Frysinger <vapier@gentoo.org>
352
353 [BZ #10283]
17db6e8d
MF
354 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
355 * locale/programs/locarchive.c: Include libc-mmap.h.
356 (prepare_address_space): Take two new outputs (the mmap base and len).
357 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
358 values.
359 (create_archive): Declare new mmap base and len values for
360 prepare_address_space, and store the result in ah.
361 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
362 (enlarge_archive): If ah->mmap_base is not NULL, use that and
363 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
364 Declare new mmap base and len values for
365 prepare_address_space, and store the result in new_ah.
366 (open_archive): Declare new mmap base and len values for
367 prepare_address_space, and store the result in ah.
368 (close_archive): If ah->mmap_base is not NULL, use that and
369 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
370 * sysdeps/generic/libc-mmap.h: New file.
371
d605071e
MF
3722013-06-24 Mike Frysinger <vapier@gentoo.org>
373
374 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
375 (ALIGN_UP): Likewise.
376 (PTR_ALIGN_DOWN): Likewise.
377 (PTR_ALIGN_UP): Likewise.
378
2f063a6e
RA
3792013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
380
381 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
382 entry mapped to PPC_PLATFORM_POWER8.
383 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
384 POWER8.
385 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
386 (_dl_string_platform): Add case for exporting platform position for
387 POWER8.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
389 search path to sysdeps/powerpc/powerpc32/power8 directory.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
391 search path to sysdeps/powerpc/powerpc64/power8 directory.
392 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
393 power7 directories.
394 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
395 power7 directories.
396
a31ee4b3
SP
3972013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
398
a74ca98f
SP
399 * INSTALL: Regenerate.
400
a31ee4b3
SP
401 * nscd/connections.c (nscd_init): Fix comment.
402
695c378f
JM
4032013-06-22 Joseph Myers <joseph@codesourcery.com>
404
d8412221
JM
405 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
406
695c378f
JM
407 [BZ #15667]
408 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
409 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
410
d1d54715
MR
4112013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
412
413 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
414 DL_DST_REQ_STATIC.
415 (DL_DST_REQ_STATIC): Remove macro.
416
8fdda7af
JM
4172013-06-21 Joseph Myers <joseph@codesourcery.com>
418
419 [BZ #7006]
420 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
421 with a shift of 0 bits.
422
f3bc5e5a
MR
4232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
424
425 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
426 $(tststatic-ENV).
427
be09e8c9
KK
4282013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
429
430 [BZ #15655]
431 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
432
85c2e611
AZ
4332013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434
435 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
436 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
437 accepts -fno-tree-loop-distribute-patterns.
438 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
439 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
440 recursive call.
441 * string/memset.c (memset): Likewise.
442 * string/test-memmove.c (simple_memmove): Disable loop transformation
443 to library calls.
444 * string/test-memset.c (simple_memset): Likewise.
445 * benchtests/bench-memmove.c (simple_memmove): Likewise.
446 * benchtests/bench-memset.c (simple_memset): Likewise.
447 * configure: Regenerated.
448
c91e0825
JM
4492013-06-20 Joseph Myers <joseph@codesourcery.com>
450
b8c792af
JM
451 * math/test-misc.c (main): Ignore fesetround failure when failures
452 of subsequent rounding tests would be ignored.
453
c91e0825
JM
454 [BZ #15654]
455 * math/fedisblxcpt.c (fedisableexcept): Return 0.
456 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
457 * math/fegetenv.c (__fegetenv): Return 0.
458 * math/fegetexcept.c (fegetexcept): Return 0.
459 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
460 FE_TONEAREST.
461 * math/feholdexcpt.c (feholdexcept): Return 0.
462 * math/fesetenv.c (__fesetenv): Return 0.
463 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
464 argument FE_TONEAREST.
465 * math/feupdateenv.c (__feupdateenv): Return 0.
466 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
467
bfcacbde
RM
4682013-06-18 Roland McGrath <roland@hack.frob.com>
469
470 * elf/rtld-Rules (rtld-compile-command.S): New variable.
471 (rtld-compile-command.s, rtld-compile-command.c): New variables.
472 ($(objpfx)rtld-%.os rules): Use them.
473
e55a9b25
AZ
4742013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
475
476 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
477 fields.
478
346d65b3
RM
4792013-06-17 Roland McGrath <roland@hack.frob.com>
480
12086fb4
RM
481 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
482 length of target pattern, then descending length of dependency pattern.
483 * configure.in (AWK): Require gawk 3.1.2 or newer.
484 * manual/install.texi (Tools for Compilation): Say that we do.
485 * configure: Regenerated.
486
346d65b3
RM
487 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
488 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
489 * scripts/sysd-rules.awk: ... this new script.
490 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
491 than a glob-style pattern.
492
1a846317
JM
4932013-06-17 Joseph Myers <joseph@codesourcery.com>
494
495 * math/test-misc.c (main): Do not treat incorrectly rounded
496 conversions as failure unless ROUNDING_TESTS passes.
497
8fc75e6f
JM
4982013-06-15 Joseph Myers <joseph@codesourcery.com>
499
3711a167
JM
500 [BZ #15631]
501 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
502 restore exception state around main square root computation, then
503 check for inexactness explicitly.
504
8fc75e6f
JM
505 * math/libm-test.inc (fma_test_data): Add another test.
506
61dd6208
SP
5072013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
508
adf23d2c
SP
509 * manual/threads.texi (Non-POSIX Extensions): New document
510 node. Document pthread_getattr_default_np and
511 pthread_setattr_default_np.
512
61dd6208
SP
513 * Versions.def (libpthread): Add GLIBC_2.18.
514 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
516 Likewise.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
518 Likewise.
519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
520 Likewise.
521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
522 Likewise.
523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
524 Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
526 Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
528 Likewise.
529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
530 Likewise.
531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
532 Likewise.
533
d086fc7b
LD
5342013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
535
536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
537 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
538
747ef469
SP
5392013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
540 H.J. Lu <hjl.tools@gmail.com>
541
542 [BZ #15627]
543 * sysdeps/x86_64/rtld-memset.c: Remove file.
544 * sysdeps/x86_64/rtld-memset.S: New file.
545
1b2feed2
JM
5462013-06-14 Joseph Myers <joseph@codesourcery.com>
547
548 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
549 (test_in_one_mode): Take arguments for whether the rounding mode
550 is supported for each floating-point type.
551 (do_test): Pass new arguments to test_in_one_mode using
552 ROUNDING_TESTS.
553
a58ad3f8
RM
5542013-06-13 Roland McGrath <roland@hack.frob.com>
555
556 * posix/tst-waitid.c (do_test): Distinguish different instances of
557 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
558 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
559 before entering the kernel for waitpid.
560
c204ab28
SP
5612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 * NEWS: Fix note on clock function precision. Text by Roland
564 McGrath.
565
f4a29fba
RM
5662013-06-13 Roland McGrath <roland@hack.frob.com>
567
568 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
569 it into place only when and if the sanity check passes.
570
1f24b9ad
JM
5712013-06-13 Joseph Myers <joseph@codesourcery.com>
572
573 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
574 output for whether conversion result is exact. Take argument
575 indicating whether type is IBM long double.
576 (round_for_all): Change need_exact field to ibm_ld.
577 * stdlib/tst-strtod-round.c (struct exactness): New type.
578 (struct test): Change bool ld_ok field to struct exactness exact.
579 (TEST): Update all definitions for change to field.
580 (tests): Regenerate array contents.
581 (test_in_one_mode): Take pointer to new field instead of old ld_ok
582 field value. Check for IBM long double here.
583 (do_test): Update calls to test_in_one_mode.
584
58206c68
SP
5852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
586
587 [BZ #12515]
588 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
589 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
590
2d6f4c5b 5912013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
592
593 [BZ #15605]
594 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
595 generated by the compiler on loop optimizations.
596 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
597 general definitions.
598
94f2c076
JM
5992013-06-12 Joseph Myers <joseph@codesourcery.com>
600
601 * math/bug-nextafter.c: Include <math-tests.h>.
602 (main): Only test for exceptions if EXCEPTION_TESTS is true for
603 the relevant type.
604 * math/bug-nexttoward.c: Include <math-tests.h>.
605 (main): Only test for exceptions if EXCEPTION_TESTS is true for
606 the relevant type.
607 * math/test-misc.c: Include <math-tests.h>.
608 (main): Only test for exceptions if EXCEPTION_TESTS is true for
609 the relevant type.
610
e0e50a0a
AJ
6112013-06-12 Andreas Jaeger <aj@suse.de>
612
613 * po/ia.po: Update Interlingua translation from translation
614 project.
615
25061094
SP
6162013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
617
618 * include/fenv.h: Include stdbool.h.
619 (struct rm_ctx): New structure.
620 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
621 Define macro.
622 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
623 (SET_RESTORE_ROUNDF): Likewise.
624 (SET_RESTORE_ROUNDL): Likewise.
625 (SET_RESTORE_ROUND_NOEX): Likewise.
626 (SET_RESTORE_ROUND_NOEXF): Likewise.
627 (SET_RESTORE_ROUND_NOEXL): Likewise.
628 (SET_RESTORE_ROUND_53BIT): Likewise.
629 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
630 (libc_feresetround_noexf_ctx): Likewise.
631 (libc_feresetround_noexl_ctx): Likewise.
632 (libc_feholdsetround_53bit_ctx): Likewise.
633 (libc_feresetround_53bit_ctx): Likewise.
634 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
635 (libc_feholdexcept_setround_sse_ctx): New function.
636 (libc_fesetenv_sse_ctx): Likewise.
637 (libc_feupdateenv_sse_ctx): Likewise.
638 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
639 (libc_feholdexcept_setround_387_ctx): Likewise.
640 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
641 (libc_feholdsetround_387_prec_ctx): Likewise.
642 (libc_feholdsetround_387_ctx): Likewise.
643 (libc_feholdsetround_387_53bit_ctx): Likewise.
644 (libc_feholdsetround_sse_ctx): Likewise.
645 (libc_feresetround_sse_ctx): Likewise.
646 (libc_feresetround_387_ctx): Likewise.
647 (libc_feupdateenv_387_ctx): Likewise.
648 (libc_feholdexcept_setroundf_ctx): Define macro.
649 (libc_fesetenvf_ctx): Likewise.
650 (libc_feupdateenvf_ctx): Likewise.
651 (libc_feholdsetroundf_ctx): Likewise.
652 (libc_feresetroundf_ctx): Likewise.
653 (libc_feholdexcept_setround_ctx): Likewise.
654 (libc_fesetenv_ctx): Likewise.
655 (libc_feupdateenv_ctx): Likewise.
656 (libc_feholdsetround_ctx): Likewise.
657 (libc_feresetround_ctx): Likewise.
658 (libc_feholdexcept_setroundl_ctx): Likewise.
659 (libc_feupdateenvl_ctx): Likewise.
660 (libc_feholdsetroundl_ctx): Likewise.
661 (libc_feresetroundl_ctx): Likewise.
662 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
663 (libc_feresetround_53bit_ctx): Likewise.
664
59b30555
SP
6652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
666
667 * locale/iso-639.def: Convert to UTF-8.
668
f1d73d30
JM
6692013-06-11 Joseph Myers <joseph@codesourcery.com>
670
671 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
672 (EXCEPTION_TESTS_double): Likewise.
673 (EXCEPTION_TESTS_long_double): Likewise.
674 (EXCEPTION_TESTS): Likewise.
675 * math/libm-test.inc (test_exceptions): Only test exceptions if
676 EXCEPTION_TESTS (FLOAT).
677
94aca5e7
SP
6782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
679
680 * benchtests/Makefile (string-bench): Add strcpy_chk and
681 stpcpy_chk.
682 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
683 * benchtests/bench-stpcpy_chk.c: New file.
684 * benchtests/bench-strcpy_chk-ifunc.c: New file.
685 * benchtests/bench-strcpy_chk.c: New file.
686 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
687 code.
688 (do_test): Likewise.
689
fac0c5f2
RA
6902013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
691
692 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
693 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
694 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
695 with tabs where appropriate.
696 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
697 dl-procinfo.h.
698 [PPC_PLATFORM_PPC440]: Likewise.
699 [PPC_PLATFORM_PPC464]: Likewise.
700 [PPC_PLATFORM_PPC476]: Likewise.
701 (_dl_string_platform): Add support for detecting ppc405, ppc440,
702 ppc464, and ppc476 platform strings merging from ports/
703 dl-procinfo.h.
704
f22bc486
AS
7052013-06-11 Andreas Schwab <schwab@suse.de>
706
707 [BZ #14991]
708 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
709 (from_ucs4_idx): Regenerate.
710 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
711 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
712 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
713 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
714 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
715 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
716 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
717 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
718 from FROM_LOOP and TO_LOOP specific macros.
719 (BODY): Handle combining characters.
720 * iconvdata/BIG5HKSCS.irreversible: Update.
721 * iconvdata/BIG5HKSCS.precomposed: New file.
722 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
723 characters.
724 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
725
c1f75dc3
SP
7262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
727
4eacded2
SP
728 * include/sys/time.h: Fix indentation and add copyright header.
729
fec799f8
SP
730 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
731 (do_test): Likewise.
732 * string/test-memchr.c (do_one_test): Likewise.
733 (do_test): Likewise.
734 * string/test-memcmp.c (do_one_test): Likewise.
735 (do_test): Likewise.
736 * string/test-memcpy.c (do_one_test): Likewise.
737 (do_test): Likewise.
738 * string/test-memmem.c (do_one_test): Likewise.
739 (do_test): Likewise.
740 (do_random_tests): Likewise.
741 * string/test-memmove.c (do_one_test): Likewise.
742 (do_test): Likewise.
743 * string/test-memset.c (do_one_test): Likewise.
744 (do_test): Likewise.
745 * string/test-rawmemchr.c (do_one_test): Likewise.
746 (do_test): Likewise.
747 * string/test-strcasecmp.c (do_one_test): Likewise.
748 (do_test): Likewise.
749 * string/test-strcasestr.c (do_one_test): Likewise.
750 (do_test): Likewise.
751 * string/test-strcat.c (do_one_test): Likewise.
752 (do_test): Likewise.
753 * string/test-strchr.c (do_one_test): Likewise.
754 (do_test): Likewise.
755 * string/test-strcmp.c (do_one_test): Likewise.
756 (do_test): Likewise.
757 * string/test-strcpy.c (do_one_test): Likewise.
758 (do_test): Likewise.
759 * string/test-string.h: Likewise.
760 (test_init): Likewise.
761 * string/test-strlen.c (do_one_test): Likewise.
762 (do_test): Likewise.
763 * string/test-strncasecmp.c (do_one_test): Likewise.
764 (do_test): Likewise.
765 * string/test-strncat.c (do_one_test): Likewise.
766 (do_test): Likewise.
767 * string/test-strncmp.c (do_one_test): Likewise.
768 (do_test_limit): Likewise.
769 (do_test): Likewise.
770 * string/test-strncpy.c (do_one_test): Likewise.
771 (do_test): Likewise.
772 * string/test-strnlen.c (do_one_test): Likewise.
773 (do_test): Likewise.
774 * string/test-strpbrk.c (do_one_test): Likewise.
775 (do_test): Likewise.
776 * string/test-strrchr.c (do_one_test): Likewise.
777 (do_test): Likewise.
778 * string/test-strspn.c (do_one_test): Likewise.
779 (do_test): Likewise.
780 * string/test-strstr.c (do_one_test): Likewise.
781 (do_test): Likewise.
782
97020474
SP
783 * benchtests/Makefile (string-bench): Add string benchmarks.
784 * benchtests/bench-bcopy-ifunc.c: New file.
785 * benchtests/bench-bcopy.c: New file.
786 * benchtests/bench-bzero-ifunc.c: New file.
787 * benchtests/bench-bzero.c: New file.
788 * benchtests/bench-memccpy-ifunc.c: New file.
789 * benchtests/bench-memccpy.c: New file.
790 * benchtests/bench-memchr-ifunc.c: New file.
791 * benchtests/bench-memchr.c: New file.
792 * benchtests/bench-memcmp-ifunc.c: New file.
793 * benchtests/bench-memcmp.c: New file.
794 * benchtests/bench-memmem-ifunc.c: New file.
795 * benchtests/bench-memmem.c: New file.
796 * benchtests/bench-memmove-ifunc.c: New file.
797 * benchtests/bench-memmove.c: New file.
798 * benchtests/bench-mempcpy-ifunc.c: New file.
799 * benchtests/bench-mempcpy.c: New file.
800 * benchtests/bench-memset-ifunc.c: New file.
801 * benchtests/bench-memset.c: New file.
802 * benchtests/bench-rawmemchr-ifunc.c: New file.
803 * benchtests/bench-rawmemchr.c: New file.
804 * benchtests/bench-stpcpy-ifunc.c: New file.
805 * benchtests/bench-stpcpy.c: New file.
806 * benchtests/bench-stpncpy-ifunc.c: New file.
807 * benchtests/bench-stpncpy.c: New file.
808 * benchtests/bench-strcasecmp-ifunc.c: New file.
809 * benchtests/bench-strcasecmp.c: New file.
810 * benchtests/bench-strcasestr-ifunc.c: New file.
811 * benchtests/bench-strcasestr.c: New file.
812 * benchtests/bench-strcat-ifunc.c: New file.
813 * benchtests/bench-strcat.c: New file.
814 * benchtests/bench-strchr-ifunc.c: New file.
815 * benchtests/bench-strchr.c: New file.
816 * benchtests/bench-strchrnul-ifunc.c: New file.
817 * benchtests/bench-strchrnul.c: New file.
818 * benchtests/bench-strcmp-ifunc.c: New file.
819 * benchtests/bench-strcmp.c: New file.
820 * benchtests/bench-strcpy-ifunc.c: New file.
821 * benchtests/bench-strcpy.c: New file.
822 * benchtests/bench-strcspn-ifunc.c: New file.
823 * benchtests/bench-strcspn.c: New file.
824 * benchtests/bench-strlen-ifunc.c: New file.
825 * benchtests/bench-strlen.c: New file.
826 * benchtests/bench-strncasecmp-ifunc.c: New file.
827 * benchtests/bench-strncasecmp.c: New file.
828 * benchtests/bench-strncat-ifunc.c: New file.
829 * benchtests/bench-strncat.c: New file.
830 * benchtests/bench-strncmp-ifunc.c: New file.
831 * benchtests/bench-strncmp.c: New file.
832 * benchtests/bench-strncpy-ifunc.c: New file.
833 * benchtests/bench-strncpy.c: New file.
834 * benchtests/bench-strnlen-ifunc.c: New file.
835 * benchtests/bench-strnlen.c: New file.
836 * benchtests/bench-strpbrk-ifunc.c: New file.
837 * benchtests/bench-strpbrk.c: New file.
838 * benchtests/bench-strrchr-ifunc.c: New file.
839 * benchtests/bench-strrchr.c: New file.
840 * benchtests/bench-strspn-ifunc.c: New file.
841 * benchtests/bench-strspn.c: New file.
842 * benchtests/bench-strstr-ifunc.c: New file.
843 * benchtests/bench-strstr.c: New file.
844
c1f75dc3
SP
845 * benchtests/Makefile: Disable parallel execution of targets.
846 (string-bench): Add memcpy.
847 (benchset): New variable to store a list of benchmark sets.
848 (bench-func): Renamed from bench.
849 (bench-set): New target.
850 (bench): Depend on bench-func and bench-set.
851 * benchtests/README: Add section on benchmark sets.
852 * benchtests/bench-memcpy-ifunc.c: New file.
853 * benchtests/bench-memcpy.c: New file.
854 * benchtests/bench-string.h: New file.
855
50fd745b
AS
8562013-06-11 Andreas Schwab <schwab@suse.de>
857
858 [BZ #15577]
859 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
860 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
861 values in the triple.
862 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
863 terminator in the group key.
864
3ee7e9fe
AJ
8652013-06-11 Andreas Jaeger <aj@suse.de>
866
867 * po/zh_TW.po: Update Chinese (traditional) translation from
868 translation project.
869
89fb6835
SP
8702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
871
872 * include/time.h (__clock_gettime): Add libc_hidden_proto.
873 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
874 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
876 (clock_getcpuclockid): Likewise.
877 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
878 Add weak_alias and libc_hidden_def.
879 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
880 * rt/clock_gettime.c (clock_gettime): Rename to
881 __clock_gettime. Add weak_alias and libc_hidden_def.
882 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
883 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
884 __clock_nanosleep. Add weak_alias and libc_hidden_def.
885 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
886 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
887 Likewise.
888 * rt/clock_settime.c (clock_settime): Rename to
889 __clock_settime. Add weak_alias and libc_hidden_def.
890 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
891
0efa6f8b
JM
8922013-06-10 Joseph Myers <joseph@codesourcery.com>
893
b8c61b4b
JM
894 * mach/err_boot.sub: Remove trailing whitespace.
895 * mach/err_ipc.sub: Likewise.
896 * mach/err_mach.sub: Likewise.
897
0efa6f8b
JM
898 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
899 (ROUNDING_TESTS_double): Likewise.
900 (ROUNDING_TESTS_long_double): Likewise.
901 (ROUNDING_TESTS): Likewise.
902 * math/libm-test.inc: Include <math-tests.h>.
903 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
904 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
905 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
906 (IF_ROUND_INIT_FE_UPWARD): Likewise.
907
50b818bf
SP
9082013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
911 of assigning.
912
60d2f8f3
JM
9132013-06-08 Joseph Myers <joseph@codesourcery.com>
914
4902d2c3
JM
915 * sysdeps/gnu/errlist.awk: Do not generate space at end of
916 otherwise empty TRANS lines.
917 * sysdeps/gnu/errlist.c: Regenerated.
918
60d2f8f3
JM
919 * catgets/gencat.c (error_print): Use (void) in function
920 definition.
921 * crypt/crypt_util.c (__init_des): Likewise.
922 * crypt/speeds.c (Stop): Likewise.
923 (main): Likewise.
924 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
925 * inet/ruserpass.c (token): Likewise.
926 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
927 * intl/localealias.c (extend_alias_table): Likewise.
928 * intl/plural-exp.c (init_germanic_plural): Likewise.
929 * libio/fcloseall.c (__fcloseall): Likewise.
930 * libio/genops.c (_IO_flush_all): Likewise.
931 (_IO_flush_all_linebuffered): Likewise.
932 (_IO_cleanup): Likewise.
933 (_IO_iter_begin): Likewise.
934 (_IO_iter_end): Likewise.
935 (_IO_list_lock): Likewise.
936 (_IO_list_unlock): Likewise.
937 (_IO_list_resetlock): Likewise.
938 * libio/getchar.c (getchar): Likewise.
939 * libio/getchar_u.c (getchar_unlocked): Likewise.
940 * libio/getwchar.c (getwchar): Likewise.
941 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
942 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
943 * login/getpt.c (__getpt): Likewise.
944 * login/tst-utmp.c (main): Likewise.
945 * malloc/hooks.c (__malloc_check_init): Likewise.
946 * malloc/malloc.c (__malloc_stats): Likewise.
947 * malloc/mtrace.c (tr_break): Likewise.
948 (mtrace): Likewise.
949 (muntrace): Likewise.
950 * misc/fstab.c (endfsent): Likewise.
951 * misc/getclktck.c (__getclktck): Likewise.
952 * misc/getdtsz.c (__getdtablesize): Likewise.
953 * misc/gethostid.c (gethostid): Likewise.
954 * misc/getpagesize.c (__getpagesize): Likewise.
955 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
956 (__get_nprocs): Likewise.
957 (__get_phys_pages): Likewise.
958 (__get_avphys_pages): Likewise.
959 * misc/getttyent.c (getttyent): Likewise.
960 (setttyent): Likewise.
961 (endttyent): Likewise.
962 * misc/getusershell.c (getusershell): Likewise.
963 (endusershell): Likewise.
964 (setusershell): Likewise.
965 (initshells): Likewise.
966 * misc/hsearch.c (__hdestroy): Likewise.
967 * misc/sync.c (sync): Likewise.
968 * misc/syslog.c (closelog_internal): Likewise.
969 (closelog): Likewise.
970 * misc/ttyslot.c (ttyslot): Likewise.
971 * misc/vhangup.c (vhangup): Likewise.
972 * posix/fork.c (__fork): Likewise.
973 * posix/getegid.c (__getegid): Likewise.
974 * posix/geteuid.c (__geteuid): Likewise.
975 * posix/getgid.c (__getgid): Likewise.
976 * posix/getpid.c (__getpid): Likewise.
977 * posix/getppid.c (__getppid): Likewise.
978 * posix/getuid.c (__getuid): Likewise.
979 * posix/pause.c (pause): Likewise.
980 * posix/setpgrp.c (setpgrp): Likewise.
981 * posix/setsid.c (__setsid): Likewise.
982 * posix/test-vfork.c (noop): Likewise.
983 * resolv/gethnamaddr.c (_endhtent): Likewise.
984 (_gethtent): Likewise.
985 (ht_endhostent): Likewise.
986 (gethostent): Likewise.
987 (dns_service): Likewise.
988 * stdlib/drand48.c (drand48): Likewise.
989 * stdlib/lrand48.c (lrand48): Likewise.
990 * stdlib/mrand48.c (mrand48): Likewise.
991 * stdlib/rand.c (rand): Likewise.
992 * stdlib/random.c (__random): Likewise.
993 * stdlib/setenv.c (clearenv): Likewise.
994 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
995 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
996 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
997 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
998 (__get_nprocs): Likewise.
999 (__get_phys_pages): Likewise.
1000 (__get_avphys_pages): Likewise.
1001 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1002 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1003 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1004 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1005 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1006 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1007 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1008 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1009 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1010 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1011 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1012 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1013 * sysdeps/posix/clock.c (clock): Likewise.
1014 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1015 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1016 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1017 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1018 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1020 (__get_nprocs_conf): Likewise.
1021 (__get_phys_pages): Likewise.
1022 (__get_avphys_pages): Likewise.
1023 * time/clock.c (clock): Likewise.
1024 * time/tzset.c (__tzname_max): Likewise.
1025
2e09a79a
JM
10262013-06-07 Joseph Myers <joseph@codesourcery.com>
1027
1028 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1029 (__bswap_32): Do not use "register".
1030 * crypt/crypt.c (_ufc_doit_r): Likewise.
1031 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1032 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1033 * gmon/gmon.c (__monstartup): Likewise.
1034 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1035 * hurd/hurdmalloc.c (more_memory): Likewise.
1036 (malloc): Likewise.
1037 (free): Likewise.
1038 (realloc): Likewise.
1039 (malloc_fork_prepare): Likewise.
1040 (malloc_fork_parent): Likewise.
1041 (malloc_fork_child): Likewise.
1042 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1043 (_svcauth_des): Likewise.
1044 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1045 * inet/inet_net.c (inet_network): Likewise.
1046 * inet/inet_netof.c (inet_netof): Likewise.
1047 * inet/rcmd.c (__validuser2_sa): Likewise.
1048 * io/fts.c (fts_open): Likewise.
1049 (fts_load): Likewise.
1050 (fts_close): Likewise.
1051 (fts_read): Likewise.
1052 (fts_children): Likewise.
1053 (fts_build): Likewise.
1054 (fts_stat): Likewise.
1055 (fts_sort): Likewise.
1056 (fts_alloc): Likewise.
1057 (fts_lfree): Likewise.
1058 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1059 (_IO_file_xsgetn): Likewise.
1060 (_IO_file_xsgetn_mmap): Likewise.
1061 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1062 (_IO_cookie_write): Likewise.
1063 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1064 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1065 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1066 * malloc/obstack.c (_obstack_begin): Likewise.
1067 (_obstack_begin_1): Likewise.
1068 (_obstack_newchunk): Likewise.
1069 (_obstack_allocated_p): Likewise.
1070 (obstack_free): Likewise.
1071 (_obstack_memory_used): Likewise.
1072 * misc/getttyent.c (getttynam): Likewise.
1073 (getttyent): Likewise.
1074 (skip): Likewise.
1075 (value): Likewise.
1076 * misc/getusershell.c (initshells): Likewise.
1077 * misc/syslog.c (__vsyslog_chk): Likewise.
1078 * misc/ttyslot.c (ttyslot): Likewise.
1079 * nis/nis_hash.c (__nis_hash): Likewise.
1080 * posix/fnmatch_loop.c (FCT): Likewise.
1081 * posix/getconf.c (print_all): Likewise.
1082 (main): Likewise.
1083 * posix/getopt.c (exchange): Likewise.
1084 * posix/glob.c (globfree): Likewise.
1085 (prefix_array): Likewise.
1086 (__glob_pattern_type): Likewise.
1087 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1088 (NS_GET32): Likewise.
1089 (NS_PUT16): Likewise.
1090 (NS_PUT32): Likewise.
1091 * resolv/gethnamaddr.c (getanswer): Likewise.
1092 (gethostbyname2): Likewise.
1093 (gethostbyaddr): Likewise.
1094 (_gethtent): Likewise.
1095 (_gethtbyname2): Likewise.
1096 (_gethtbyaddr): Likewise.
1097 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1098 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1099 * resolv/res_init.c (__res_vinit): Likewise.
1100 (net_mask): Likewise.
1101 * resolv/res_mkquery.c (outchar): Likewise.
1102 (PRINT): Likewise.
1103 * stdio-common/printf_fp.c (outchar): Likewise.
1104 (PRINT): Likewise.
1105 * stdio-common/printf_fphex.c (outchar): Likewise.
1106 (PRINT): Likewise.
1107 * stdio-common/printf_size.c (outchar): Likewise.
1108 (PRINT): Likewise.
1109 * stdio-common/test_rdwr.c (main): Likewise.
1110 * stdio-common/tfformat.c (matches): Likewise.
1111 * stdio-common/vfprintf.c (outchar): Likewise.
1112 (printf_unknown): Likewise.
1113 (buffered_vfprintf): Likewise.
1114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1115 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1116 (ReadFile): Likewise.
1117 * stdlib/qsort.c (SWAP): Likewise.
1118 (_quicksort): Likewise.
1119 * stdlib/setenv.c (__add_to_environ): Likewise.
1120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1121 * stdlib/strtol_l.c (__strtol_l): Likewise.
1122 * stdlib/tst-strtod.c (main): Likewise.
1123 * stdlib/tst-strtol.c (main): Likewise.
1124 * stdlib/tst-strtoll.c (main): Likewise.
1125 * string/bits/string2.h (__strcmp_cc): Likewise.
1126 (__strcmp_cg): Likewise.
1127 (__strcspn_c1): Likewise.
1128 (__strcspn_c2): Likewise.
1129 (__strcspn_c3): Likewise.
1130 (__strspn_c1): Likewise.
1131 (__strspn_c2): Likewise.
1132 (__strspn_c3): Likewise.
1133 (__strsep_1c): Likewise.
1134 (__strsep_2c): Likewise.
1135 (__strsep_3c): Likewise.
1136 * string/memccpy.c (__memccpy): Likewise.
1137 * string/stpcpy.c (__stpcpy): Likewise.
1138 * string/strcmp.c (strcmp): Likewise.
1139 * string/strrchr.c (strrchr): Likewise.
1140 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1141 Likewise.
1142 * sysdeps/mach/hurd/getcwd.c
1143 (_hurd_canonicalize_directory_name_internal): Likewise.
1144 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1145 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1146 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1147 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1148 Likewise, in both definitions.
1149 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1150 definitions.
1151 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1152 64] (__bswap_64): Likewise.
1153 * time/test_time.c (main): Likewise.
1154 * time/tzfile.c (__tzfile_read): Likewise.
1155 (__tzfile_compute): Likewise.
1156 * time/tzset.c (__tzset_parse_tz): Likewise.
1157 (tzset_internal): Likewise.
1158 (compute_change): Likewise.
1159 * wcsmbs/wcscat.c (__wcscat): Likewise.
1160 * wcsmbs/wcschr.c (wcschr): Likewise.
1161 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1162 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1163 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1164 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1165 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1166 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1167 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1168 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1169 * wcsmbs/wmemset.c (wmemset): Likewise.
1170
9e54314b
JM
11712013-06-06 Joseph Myers <joseph@codesourcery.com>
1172
1173 * scripts/config.guess: Update to version 2013-05-16.
1174 * scripts/config.sub: Update to version 2013-04-24.
1175 * scripts/install-sh: Update to version 2011-11-20.07.
1176 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1177 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1178
350635a5
OB
11792013-06-06 Ondřej Bílka <neleai@seznam.cz>
1180
1181 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1182 * elf/sln.c: Likewise.
1183 * hurd/hurd/ioctl.h: Likewise.
1184 * hurd/hurdmalloc.c: Likewise.
1185 * hurd/xattr.c: Likewise.
1186 * include/shlib-compat.h: Likewise.
1187 * inet/ruserpass.c: Likewise.
1188 * libio/iofgets_u.c: Likewise.
1189 * libio/iofgetws_u.c: Likewise.
1190 * locale/programs/ld-identification.c: Likewise.
1191 * locale/programs/ld-time.c: Likewise.
1192 * mach/msg-destroy.c: Likewise.
1193 * nss/nss_files/files-netgrp.c: Likewise.
1194 * resolv/res_data.c: Likewise.
1195 * soft-fp/op-1.h: Likewise.
1196 * soft-fp/op-2.h: Likewise.
1197 * soft-fp/op-4.h: Likewise.
1198 * soft-fp/op-common.h: Likewise.
1199 * stdio-common/printf_fphex.c: Likewise.
1200 * stdlib/strtod_l.c: Likewise.
1201 * sunrpc/rpc/clnt.h: Likewise.
1202 * sysdeps/generic/framestate.c: Likewise.
1203 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1204 * sysdeps/i386/bsd-setjmp.S: Likewise.
1205 * sysdeps/i386/__longjmp.S: Likewise.
1206 * sysdeps/i386/setjmp.S: Likewise.
1207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1210 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1217 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1218 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1219 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1220 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1221 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1223 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1224 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1225 * sysdeps/ieee754/support.c: Likewise.
1226 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1227 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1228 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1229 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1230 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1231 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1232 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1233 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1234 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1235 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1236 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1237 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1238 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1239 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1241 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1244
44a988af
OB
12452013-06-05 Ondřej Bílka <neleai@seznam.cz>
1246
25506f09 1247 * posix/transbug.c: Remove executable mode.
44a988af 1248
9c84384c
JM
12492013-06-05 Joseph Myers <joseph@codesourcery.com>
1250
1251 * crypt/speeds.c: Remove trailing whitespace.
1252 * dlfcn/default.c: Likewise.
1253 * elf/ifuncdep2.c: Likewise.
1254 * elf/ifuncmain1.c: Likewise.
1255 * elf/ifuncmain1vis.c: Likewise.
1256 * elf/testobj.h: Likewise.
1257 * elf/tst-stackguard1.c: Likewise.
1258 * gmon/sys/gmon.h: Likewise.
1259 * hurd/hurdmsg.c: Likewise.
1260 * hurd/new-fd.c: Likewise.
1261 * hurd/ports-get.c: Likewise.
1262 * iconvdata/ibm1008_420.c: Likewise.
1263 * inet/tst-getni1.c: Likewise.
1264 * inet/tst-getni2.c: Likewise.
1265 * libio/ioungetc.c: Likewise.
1266 * libio/wfiledoalloc.c: Likewise.
1267 * manual/libm-err-tab.pl: Likewise.
1268 * math/w_dremf.c: Likewise.
1269 * misc/ftruncate.c: Likewise.
1270 * posix/bug-glob2.c: Likewise.
1271 * posix/tst-pcre.c: Likewise.
1272 * posix/wait4.c: Likewise.
1273 * resolv/README: Likewise.
1274 * resolv/res_debug.h: Likewise.
1275 * resolv/tst-inet_ntop.c: Likewise.
1276 * setjmp/bug269-setjmp.c: Likewise.
1277 * soft-fp/extended.h: Likewise.
1278 * soft-fp/op-1.h: Likewise.
1279 * soft-fp/op-2.h: Likewise.
1280 * soft-fp/op-4.h: Likewise.
1281 * soft-fp/op-8.h: Likewise.
1282 * soft-fp/testit.c: Likewise.
1283 * stdio-common/bug16.c: Likewise.
1284 * stdlib/random.c: Likewise.
1285 * sunrpc/rpcsvc/rquota.x: Likewise.
1286 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1293 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1294 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1295 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1296 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1315 * sysdeps/ieee754/s_lib_version.c: Likewise.
1316 * sysdeps/mach/hurd/check_fds.c: Likewise.
1317 * sysdeps/mach/hurd/getsockname.c: Likewise.
1318 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1319 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1320 * sysdeps/powerpc/bits/link.h: Likewise.
1321 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1322 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1323 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1324 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1325 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1327 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1328 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1329 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1330 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1331 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1332 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1333 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1334 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1335 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1336 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1339 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1340 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1341 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1342 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1344 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1345 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1346 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1348 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1351 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1355 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1356 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1358 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1359 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1361 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1363 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1364 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1365 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1367 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1368 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1369 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1370 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1374 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1375 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1377 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1380 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1381 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1385 * sysdeps/powerpc/sysdep.h: Likewise.
1386 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1387 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1388 * sysdeps/sh/dl-trampoline.S: Likewise.
1389 * sysdeps/sh/memset.S: Likewise.
1390 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1391 * sysdeps/sh/strlen.S: Likewise.
1392 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1393 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1394 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1395 * sysdeps/sparc/sparc32/rem.S: Likewise.
1396 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1397 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1398 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1399 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1400 * sysdeps/sparc/sparc32/urem.S: Likewise.
1401 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1402 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1403 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1404 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1405 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1406 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1407 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1408 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1409 * sysdeps/unix/bsd/times.c: Likewise.
1410 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1411 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1417 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1421 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1422 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1423 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1424 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1425 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1426 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1427 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1428 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1429 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1430 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1431 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1432 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1433 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1434 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1435 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1437 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1438 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1439 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1440 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1441 * sysdeps/x86_64/strcspn.S: Likewise.
1442
869378a5
RA
14432013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1444
1445 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1446 generated file. Regenerate properly from gen-translit.pl.
1447 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1448 locale/C-translit.h.
1449
840e2943
AS
14502013-06-05 Andreas Schwab <schwab@suse.de>
1451
1452 [BZ #15100]
1453 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1454 week as 6 instead of -1.
1455 * time/tst-strptime.c (day_tests): Add test case.
1456
4c60cb0c
SP
14572013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1458
1459 * sysdeps/generic/math_private.h
1460 (libc_feholdexcept_setround_53bit): Replace with
1461 libc_feholdsetround_53bit.
1462 (libc_feupdateenv_53bit): Replace with
1463 libc_feresetround_53bit.
1464 (SET_RESTORE_ROUND_53BIT): Adjust.
1465
d180203e
SP
14662013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1467
96df079a
SP
1468 * string/test-strchrnul.c: Add copyright header.
1469
d180203e
SP
1470 * posix/tst-getaddrinfo4.c: Increase test timeout.
1471
8b0ccb2d
CD
14722013-06-03 Carlos O'Donell <carlos@redhat.com>
1473
1474 [BZ #15536]
1475 * math/libm-test.inc (MAX_EXP): Remove
1476 (MIN_EXP): Define.
1477 (ulp): Use MIN_EXP - MANT_DIG.
1478 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1479
3b3c4d40
CD
14802013-05-31 Carlos O'Donell <carlos@redhat.com>
1481
1482 * po/be.po: Revert last change.
1483 * po/zh_CN.po: Likewise.
1484 * po/header.pot: Likewise.
1485
fab7ce3f
JM
14862013-05-31 Joseph Myers <joseph@codesourcery.com>
1487
1488 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1489 link-libc-deps to empty as target-specific variable.
1490 * Makerules (link-libc-args): New variable.
1491 (libc-for-link): Likewise.
1492 (link-libc-deps): Likewise.
1493 (lib%.so): Depend on $(link-libc-deps). Link with
1494 $(link-libc-args).
1495 (build-module): Link with $(link-libc-args).
1496 (build-module-asneeded): Likewise.
1497 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1498 list of objects.
1499 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1500 target-specific variable.
1501 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1502 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1503 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1504 libc.
1505 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1506 libc and ld.so.
1507 ($(objpfx)libpcprofile.so): Likewise.
1508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1509 libc_nonshared.a.
1510 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1511 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1512 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1513 $(link-libc-deps).
1514 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1515 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1516 * login/Makefile ($(objpfx)libutil.so): Likewise.
1517 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1518 * math/Makefile ($(objpfx)libm.so): Likewise.
1519 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1520 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1521 variable instead of depending directly on libc.
1522 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1523 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1524 $(link-libc-deps).
1525 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1526 libc.
1527 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1528 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1529 ($(objpfx)libanl.so): Likewise.
1530 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1531 ld.so.
1532 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1533 $(link-libc-deps).
1534 * sysdeps/i386/fpu/Makefile: Remove file.
1535 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1536 ($(objpfx)libm.so): Remove dependency on ld.so.
1537
eca5920c
PF
15382013-05-30 Patsy Franklin <pfrankli@redhat.com>
1539
1540 [BZ # 15553]
1541 * nis/yp_xdr.c (XDRMAXNAME): Define.
1542 (XDRMAXRECORD): Define.
1543 (xdr_domainname): Use XDRMAXNAME.
1544 (xdr_mapname): Likewise.
1545 (xdr_peername): Likewise.
1546 (xdr_keydat): Use XDRMAXRECORD.
1547 (xdr_valdat): Likewise.
1548
15492013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1550
1551 [BZ #14256]
1552 * manual/errno.texi (ESTALE): Update to account for more than
1553 just NFS file systems.
1554 * sysdeps/gnu/errlist.c: Regenerated.
1555
b9375348
SP
15562013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1557
1558 [BZ #15465]
1559 * elf/Makefile (tests): Add tst-null-argv.
1560 (modules-names): Add tst-null-argv-lib.
1561 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1562 (tst-null-argv-ENV): Set environment for tst-null-argv.
1563 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1564 (RTLD_PROGNAME): New macro.
1565 * elf/tst-null-argv.c: New test case.
1566 * elf/tst-null-argv-lib.c: Library for test case.
1567 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1568 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1569 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1570 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1571 * elf/dl-init.c (call_init): Likewise.
1572 (_dl_init): Likewise.
1573 * elf/dl-load.c (print_search_path): Likewise.
1574 (_dl_map_object): Likewise.
1575 * elf/dl-lookup.c (do_lookup_x): Likewise.
1576 (add_dependency): Likewise.
1577 (_dl_lookup_symbol_x): Likewise.
1578 (_dl_debug_bindings): Likewise.
1579 * elf/dl-open.c (_dl_show_scope): Likewise.
1580 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1581 * elf/dl-version.c (match_symbol): Likewise.
1582 (_dl_check_map_versions): Likewise.
1583 * elf/rtld.c (dl_main): Likewise.
1584 (print_unresolved): Use RTLD_PROGNAME.
1585 (print_missing_version): Likewise.
1586 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1587 (elf_machine_rela): Likewise.
1588 * sysdeps/powerpc/powerpc32/dl-machine.c
1589 (__process_machine_rela): Likewise.
1590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1591 Likewise.
1592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1593 Likewise.
1594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1595 Likewise.
1596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1598 Likewise.
1599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1600 Likewise.
1601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1602
8a9f20c8
CD
16032013-05-28 Carlos O'Donell <carlos@redhat.com>
1604
1605 * po/be.po: Add descriptive title.
1606 * po/zh_CN.po: Likewise.
1607 * po/header.pot: Likewise.
1608
0e60d68e
MF
16092013-05-28 Mike Frysinger <vapier@gentoo.org>
1610
1611 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1612 error message.
1613 (enlarge_archive): Likewise.
1614
56b672e9
BN
16152013-05-28 Ben North <ben@redfrontdoor.org>
1616
1617 * manual/arith.texi (frexp): It is the magnitude of the return
1618 value which lies in [0.5, 1), not the return value itself.
1619
5e056687
AZ
16202013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1623
2b66ef5d
TS
16242013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1625
528c2405
TS
1626 * stdio-common/bug26.c (main): Correct fscanf template.
1627
07b4c13d
TS
1628 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1629 declare _dl_skip_args.
1630
ec9dd97c
TS
1631 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1632 Don't declare.
1633
2b66ef5d
TS
1634 * manual/platform.texi: Add missing @end deftypefun.
1635
4f8dfe27
JM
16362013-05-24 Joseph Myers <joseph@codesourcery.com>
1637
0323d086
JM
1638 [BZ #15529]
1639 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1640 bit of mantissa of 2^16382.
1641 * math/libm-test.inc (hypot_test_data): Add more tests.
1642
dd4259b9
JM
1643 * math/libm-test.inc: Add drem and pow10 to list of tested
1644 functions.
1645 (pow10_test): New function.
1646 (drem_test): Likewise.
1647 (drem_test_tonearest): Likewise.
1648 (drem_test_towardzero): Likewise.
1649 (drem_test_downward): Likewise.
1650 (drem_test_upward): Likewise.
1651 (main): Call the new functions.
1652
4f8dfe27
JM
1653 * math/libm-test.inc (finite_test_data): Remove.
1654 (finite_test): Run tests from isfinite_test_data.
1655 (gamma_test_data): Remove.
1656 (gamma_test): Run tests from lgamma_test_data.
1657 * sysdeps/i386/fpu/libm-test-ulps: Update.
1658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1659
d116b7c4
AZ
16602013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661
1662 * manual/platform.texi: Add PowerPC PPR function set documentation.
1663 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1664 implementation.
1665
e96e3767
CD
16662013-05-24 Carlos O'Donell <carlos@redhat.com>
1667
1668 * math/libm-test.inc (MAX_EXP): Define.
1669 (ULPDIFF): Define.
1670 (ulp): New function.
1671 (check_float_internal): Use ULPDIFF.
1672 (cpow_test): Disable failing test.
1673 (check_ulp): Test ulp() implemetnation.
1674 (main): Call check_ulp before starting tests.
1675
b679a606
JM
16762013-05-24 Joseph Myers <joseph@codesourcery.com>
1677
e8bdba36
JM
1678 * math/gen-libm-test.pl (generate_testfile): Do not handle
1679 START_DATA and END_DATA.
1680 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1681 END_DATA.
1682 (acos_tonearest_test_data): Likewise.
1683 (acos_towardzero_test_data): Likewise.
1684 (acos_downward_test_data): Likewise.
1685 (acos_upward_test_data): Likewise.
1686 (acosh_test_data): Likewise.
1687 (asin_test_data): Likewise.
1688 (asin_tonearest_test_data): Likewise.
1689 (asin_towardzero_test_data): Likewise.
1690 (asin_downward_test_data): Likewise.
1691 (asin_upward_test_data): Likewise.
1692 (asinh_test_data): Likewise.
1693 (atan_test_data): Likewise.
1694 (atanh_test_data): Likewise.
1695 (atan2_test_data): Likewise.
1696 (cabs_test_data): Likewise.
1697 (cacos_test_data): Likewise.
1698 (cacosh_test_data): Likewise.
1699 (carg_test_data): Likewise.
1700 (casin_test_data): Likewise.
1701 (casinh_test_data): Likewise.
1702 (catan_test_data): Likewise.
1703 (catanh_test_data): Likewise.
1704 (cbrt_test_data): Likewise.
1705 (ccos_test_data): Likewise.
1706 (ccosh_test_data): Likewise.
1707 (ceil_test_data): Likewise.
1708 (cexp_test_data): Likewise.
1709 (cimag_test_data): Likewise.
1710 (clog_test_data): Likewise.
1711 (clog10_test_data): Likewise.
1712 (conj_test_data): Likewise.
1713 (copysign_test_data): Likewise.
1714 (cos_test_data): Likewise.
1715 (cos_tonearest_test_data): Likewise.
1716 (cos_towardzero_test_data): Likewise.
1717 (cos_downward_test_data): Likewise.
1718 (cos_upward_test_data): Likewise.
1719 (cosh_test_data): Likewise.
1720 (cosh_tonearest_test_data): Likewise.
1721 (cosh_towardzero_test_data): Likewise.
1722 (cosh_downward_test_data): Likewise.
1723 (cosh_upward_test_data): Likewise.
1724 (cpow_test_data): Likewise.
1725 (cproj_test_data): Likewise.
1726 (creal_test_data): Likewise.
1727 (csin_test_data): Likewise.
1728 (csinh_test_data): Likewise.
1729 (csqrt_test_data): Likewise.
1730 (ctan_test_data): Likewise.
1731 (ctan_tonearest_test_data): Likewise.
1732 (ctan_towardzero_test_data): Likewise.
1733 (ctan_downward_test_data): Likewise.
1734 (ctan_upward_test_data): Likewise.
1735 (ctanh_test_data): Likewise.
1736 (ctanh_tonearest_test_data): Likewise.
1737 (ctanh_towardzero_test_data): Likewise.
1738 (ctanh_downward_test_data): Likewise.
1739 (ctanh_upward_test_data): Likewise.
1740 (erf_test_data): Likewise.
1741 (erfc_test_data): Likewise.
1742 (exp_test_data): Likewise.
1743 (exp_tonearest_test_data): Likewise.
1744 (exp_towardzero_test_data): Likewise.
1745 (exp_downward_test_data): Likewise.
1746 (exp_upward_test_data): Likewise.
1747 (exp10_test_data): Likewise.
1748 (exp2_test_data): Likewise.
1749 (expm1_test_data): Likewise.
1750 (fabs_test_data): Likewise.
1751 (fdim_test_data): Likewise.
1752 (finite_test_data): Likewise.
1753 (floor_test_data): Likewise.
1754 (fma_test_data): Likewise.
1755 (fma_towardzero_test_data): Likewise.
1756 (fma_downward_test_data): Likewise.
1757 (fma_upward_test_data): Likewise.
1758 (fmax_test_data): Likewise.
1759 (fmin_test_data): Likewise.
1760 (fmod_test_data): Likewise.
1761 (fpclassify_test_data): Likewise.
1762 (frexp_test_data): Likewise.
1763 (gamma_test_data): Likewise.
1764 (hypot_test_data): Likewise.
1765 (ilogb_test_data): Likewise.
1766 (isfinite_test_data): Likewise.
1767 (isgreater_test_data): Likewise.
1768 (isgreaterequal_test_data): Likewise.
1769 (isinf_test_data): Likewise.
1770 (isless_test_data): Likewise.
1771 (islessequal_test_data): Likewise.
1772 (islessgreater_test_data): Likewise.
1773 (isnan_test_data): Likewise.
1774 (isnormal_test_data): Likewise.
1775 (issignaling_test_data): Likewise.
1776 (isunordered_test_data): Likewise.
1777 (j0_test_data): Likewise.
1778 (j1_test_data): Likewise.
1779 (jn_test_data): Likewise.
1780 (ldexp_test_data): Likewise.
1781 (lgamma_test_data): Likewise.
1782 (lrint_test_data): Likewise.
1783 (lrint_tonearest_test_data): Likewise.
1784 (lrint_towardzero_test_data): Likewise.
1785 (lrint_downward_test_data): Likewise.
1786 (lrint_upward_test_data): Likewise.
1787 (llrint_test_data): Likewise.
1788 (llrint_tonearest_test_data): Likewise.
1789 (llrint_towardzero_test_data): Likewise.
1790 (llrint_downward_test_data): Likewise.
1791 (llrint_upward_test_data): Likewise.
1792 (log_test_data): Likewise.
1793 (log10_test_data): Likewise.
1794 (log1p_test_data): Likewise.
1795 (log2_test_data): Likewise.
1796 (logb_test_data): Likewise.
1797 (logb_downward_test_data): Likewise.
1798 (lround_test_data): Likewise.
1799 (llround_test_data): Likewise.
1800 (modf_test_data): Likewise.
1801 (nearbyint_test_data): Likewise.
1802 (nextafter_test_data): Likewise.
1803 (nexttoward_test_data): Likewise.
1804 (pow_test_data): Likewise.
1805 (pow_tonearest_test_data): Likewise.
1806 (pow_towardzero_test_data): Likewise.
1807 (pow_downward_test_data): Likewise.
1808 (pow_upward_test_data): Likewise.
1809 (remainder_test_data): Likewise.
1810 (remainder_tonearest_test_data): Likewise.
1811 (remainder_towardzero_test_data): Likewise.
1812 (remainder_downward_test_data): Likewise.
1813 (remainder_upward_test_data): Likewise.
1814 (remquo_test_data): Likewise.
1815 (rint_test_data): Likewise.
1816 (rint_tonearest_test_data): Likewise.
1817 (rint_towardzero_test_data): Likewise.
1818 (rint_downward_test_data): Likewise.
1819 (rint_upward_test_data): Likewise.
1820 (round_test_data): Likewise.
1821 (scalb_test_data): Likewise.
1822 (scalbn_test_data): Likewise.
1823 (scalbln_test_data): Likewise.
1824 (signbit_test_data): Likewise.
1825 (sin_test_data): Likewise.
1826 (sin_tonearest_test_data): Likewise.
1827 (sin_towardzero_test_data): Likewise.
1828 (sin_downward_test_data): Likewise.
1829 (sin_upward_test_data): Likewise.
1830 (sincos_test_data): Likewise.
1831 (sinh_test_data): Likewise.
1832 (sinh_tonearest_test_data): Likewise.
1833 (sinh_towardzero_test_data): Likewise.
1834 (sinh_downward_test_data): Likewise.
1835 (sinh_upward_test_data): Likewise.
1836 (sqrt_test_data): Likewise.
1837 (tan_test_data): Likewise.
1838 (tan_tonearest_test_data): Likewise.
1839 (tan_towardzero_test_data): Likewise.
1840 (tan_downward_test_data): Likewise.
1841 (tan_upward_test_data): Likewise.
1842 (tanh_test_data): Likewise.
1843 (tgamma_test_data): Likewise.
1844 (trunc_test_data): Likewise.
1845 (y0_test_data): Likewise.
1846 (y1_test_data): Likewise.
1847 (yn_test_data): Likewise.
1848 (significand_test_data): Likewise.
1849
b679a606
JM
1850 * math/gen-libm-test.pl (@functions): Remove variable.
1851 (generate_testfile): Don't handle START and END lines.
1852 * math/libm-test.inc (START): New macro.
1853 (END): Likewise.
1854 (END_COMPLEX): Likewise.
1855 (acos_test): Use END macro without arguments.
1856 (acos_test_tonearest): Likewise.
1857 (acos_test_towardzero): Likewise.
1858 (acos_test_downward): Likewise.
1859 (acos_test_upward): Likewise.
1860 (acosh_test): Likewise.
1861 (asin_test): Likewise.
1862 (asin_test_tonearest): Likewise.
1863 (asin_test_towardzero): Likewise.
1864 (asin_test_downward): Likewise.
1865 (asin_test_upward): Likewise.
1866 (asinh_test): Likewise.
1867 (atan_test): Likewise.
1868 (atanh_test): Likewise.
1869 (atan2_test): Likewise.
1870 (cabs_test): Likewise.
1871 (cacos_test): Use END_COMPLEX macro without arguments.
1872 (cacosh_test): Likewise.
1873 (carg_test): Use END macro without arguments.
1874 (casin_test): Use END_COMPLEX macro without arguments.
1875 (casinh_test): Likewise.
1876 (catan_test): Likewise.
1877 (catanh_test): Likewise.
1878 (cbrt_test): Use END macro without arguments.
1879 (ccos_test): Use END_COMPLEX macro without arguments.
1880 (ccosh_test): Likewise.
1881 (ceil_test): Use END macro without arguments.
1882 (cexp_test): Use END_COMPLEX macro without arguments.
1883 (cimag_test): Use END macro without arguments.
1884 (clog_test): Use END_COMPLEX macro without arguments.
1885 (clog10_test): Likewise.
1886 (conj_test): Likewise.
1887 (copysign_test): Use END macro without arguments.
1888 (cos_test): Likewise.
1889 (cos_test_tonearest): Likewise.
1890 (cos_test_towardzero): Likewise.
1891 (cos_test_downward): Likewise.
1892 (cos_test_upward): Likewise.
1893 (cosh_test): Likewise.
1894 (cosh_test_tonearest): Likewise.
1895 (cosh_test_towardzero): Likewise.
1896 (cosh_test_downward): Likewise.
1897 (cosh_test_upward): Likewise.
1898 (cpow_test): Use END_COMPLEX macro without arguments.
1899 (cproj_test): Likewise.
1900 (creal_test): Use END macro without arguments.
1901 (csin_test): Use END_COMPLEX macro without arguments.
1902 (csinh_test): Likewise.
1903 (csqrt_test): Likewise.
1904 (ctan_test): Likewise.
1905 (ctan_test_tonearest): Likewise.
1906 (ctan_test_towardzero): Likewise.
1907 (ctan_test_downward): Likewise.
1908 (ctan_test_upward): Likewise.
1909 (ctanh_test): Likewise.
1910 (ctanh_test_tonearest): Likewise.
1911 (ctanh_test_towardzero): Likewise.
1912 (ctanh_test_downward): Likewise.
1913 (ctanh_test_upward): Likewise.
1914 (erf_test): Use END macro without arguments.
1915 (erfc_test): Likewise.
1916 (exp_test): Likewise.
1917 (exp_test_tonearest): Likewise.
1918 (exp_test_towardzero): Likewise.
1919 (exp_test_downward): Likewise.
1920 (exp_test_upward): Likewise.
1921 (exp10_test): Likewise.
1922 (exp2_test): Likewise.
1923 (expm1_test): Likewise.
1924 (fabs_test): Likewise.
1925 (fdim_test): Likewise.
1926 (finite_test): Likewise.
1927 (floor_test): Likewise.
1928 (fma_test): Likewise.
1929 (fma_test_towardzero): Likewise.
1930 (fma_test_downward): Likewise.
1931 (fma_test_upward): Likewise.
1932 (fmax_test): Likewise.
1933 (fmin_test): Likewise.
1934 (fmod_test): Likewise.
1935 (fpclassify_test): Likewise.
1936 (frexp_test): Likewise.
1937 (gamma_test): Likewise.
1938 (hypot_test): Likewise.
1939 (ilogb_test): Likewise.
1940 (isfinite_test): Likewise.
1941 (isgreater_test): Likewise.
1942 (isgreaterequal_test): Likewise.
1943 (isinf_test): Likewise.
1944 (isless_test): Likewise.
1945 (islessequal_test): Likewise.
1946 (islessgreater_test): Likewise.
1947 (isnan_test): Likewise.
1948 (isnormal_test): Likewise.
1949 (issignaling_test): Likewise.
1950 (isunordered_test): Likewise.
1951 (j0_test): Likewise.
1952 (j1_test): Likewise.
1953 (jn_test): Likewise.
1954 (ldexp_test): Likewise.
1955 (lgamma_test): Likewise.
1956 (lrint_test): Likewise.
1957 (lrint_test_tonearest): Likewise.
1958 (lrint_test_towardzero): Likewise.
1959 (lrint_test_downward): Likewise.
1960 (lrint_test_upward): Likewise.
1961 (llrint_test): Likewise.
1962 (llrint_test_tonearest): Likewise.
1963 (llrint_test_towardzero): Likewise.
1964 (llrint_test_downward): Likewise.
1965 (llrint_test_upward): Likewise.
1966 (log_test): Likewise.
1967 (log10_test): Likewise.
1968 (log1p_test): Likewise.
1969 (log2_test): Likewise.
1970 (logb_test): Likewise.
1971 (logb_test_downward): Likewise.
1972 (lround_test): Likewise.
1973 (llround_test): Likewise.
1974 (modf_test): Likewise.
1975 (nearbyint_test): Likewise.
1976 (nextafter_test): Likewise.
1977 (nexttoward_test): Likewise.
1978 (pow_test): Likewise.
1979 (pow_test_tonearest): Likewise.
1980 (pow_test_towardzero): Likewise.
1981 (pow_test_downward): Likewise.
1982 (pow_test_upward): Likewise.
1983 (remainder_test): Likewise.
1984 (remainder_test_tonearest): Likewise.
1985 (remainder_test_towardzero): Likewise.
1986 (remainder_test_downward): Likewise.
1987 (remainder_test_upward): Likewise.
1988 (remquo_test): Likewise.
1989 (rint_test): Likewise.
1990 (rint_test_tonearest): Likewise.
1991 (rint_test_towardzero): Likewise.
1992 (rint_test_downward): Likewise.
1993 (rint_test_upward): Likewise.
1994 (round_test): Likewise.
1995 (scalb_test): Likewise.
1996 (scalbn_test): Likewise.
1997 (scalbln_test): Likewise.
1998 (signbit_test): Likewise.
1999 (sin_test): Likewise.
2000 (sin_test_tonearest): Likewise.
2001 (sin_test_towardzero): Likewise.
2002 (sin_test_downward): Likewise.
2003 (sin_test_upward): Likewise.
2004 (sincos_test): Likewise.
2005 (sinh_test): Likewise.
2006 (sinh_test_tonearest): Likewise.
2007 (sinh_test_towardzero): Likewise.
2008 (sinh_test_downward): Likewise.
2009 (sinh_test_upward): Likewise.
2010 (sqrt_test): Likewise.
2011 (tan_test): Likewise.
2012 (tan_test_tonearest): Likewise.
2013 (tan_test_towardzero): Likewise.
2014 (tan_test_downward): Likewise.
2015 (tan_test_upward): Likewise.
2016 (tanh_test): Likewise.
2017 (tgamma_test): Likewise.
2018 (trunc_test): Likewise.
2019 (y0_test): Likewise.
2020 (y1_test): Likewise.
2021 (yn_test): Likewise.
2022 (significand_test): Likewise.
2023
bae143d2
OB
20242013-05-24 Ondřej Bílka <neleai@seznam.cz>
2025
2026 [BZ #15381]
2027 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2028
9323d39b
EM
20292013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2030
d4ea44a0 2031 [BZ #14894]
9323d39b
EM
2032 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2033 __ppc_mdoio and __ppc_mdoom.
2034 * manual/platform.texi: Document new functions __ppc_yield,
2035 __ppc_mdoio and __ppc_mdoom.
2036
13e23af7
CD
20372013-05-22 Carlos O'Donell <carlos@redhat.com>
2038
2039 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2040 (main): Mention "tls" pseudo-hwcap is legacy.
2041 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2042
351fe550
JM
20432013-05-22 Joseph Myers <joseph@codesourcery.com>
2044
2045 * math/gen-libm-test.pl (parse_args): Output only string of
2046 arguments as text for test name, not full call or descriptions of
2047 tests for extra outputs.
2048 (generate_testfile): Do not pass function name to parse_args.
2049 Generate this_func variable from START.
2050 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2051 field to arg_str.
2052 (struct test_ff_f_data): Likewise.
2053 (test_ff_f_data_nexttoward): Likewise.
2054 (struct test_fi_f_data): Likewise.
2055 (struct test_fl_f_data): Likewise.
2056 (struct test_if_f_data): Likewise.
2057 (struct test_fff_f_data): Likewise.
2058 (struct test_c_f_data): Likewise.
2059 (struct test_f_f1_data): Likewise. Remove field extra_name.
2060 (struct test_fF_f1_data): Likewise.
2061 (struct test_ffI_f1_data): Likewise.
2062 (struct test_c_c_data): Rename test_name field to arg_str.
2063 (struct test_cc_c_data): Likewise.
2064 (struct test_f_i_data): Likewise.
2065 (struct test_ff_i_data): Likewise.
2066 (struct test_f_l_data): Likewise.
2067 (struct test_f_L_data): Likewise.
2068 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2069 and extra2_name.
2070 (COMMON_TEST_SETUP): New macro.
2071 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2072 (COMMON_TEST_CLEANUP): Likewise.
2073 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2074 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2075 macros.
2076 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2077 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2078 macros.
2079 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2080 (RUN_TEST_fff_f): Take argument string. Call new setup and
2081 cleanup macros.
2082 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2083 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2084 macros.
2085 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2086 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2087 macros.
2088 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2089 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2090 cleanup macros.
2091 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2092 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2093 cleanup macros.
2094 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2095 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2096 cleanup macros.
2097 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2098 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2099 macros.
2100 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2101 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2102 macros.
2103 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2104 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2105 macros.
2106 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2107 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2108 cleanup macros.
2109 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2110 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2111 cleanup macros.
2112 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2113 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2114 macros.
2115 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2116 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2117 cleanup macros.
2118 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2119 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2120 macros.
2121 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2122 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2123 macros.
2124 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2125 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2126 cleanup macros.
2127 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2128
85118d4d
EBM
21292013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2130
2131 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2132 to _sifields.sigfault.
2133 (si_addr_lsb): Define new macro.
2134 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2137
7a44c18f
CD
21382013-05-03 Carlos O'Donell <carlos at redhat.com>
2139
2140 [BZ #15441]
2141 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2142 returns -1.
2143 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2144 null return -1.
2145 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2146 loading the domain.
2147
b50a7181
JM
21482013-05-22 Joseph Myers <joseph@codesourcery.com>
2149
2150 * math/gen-libm-test.pl (parse_args): Do not include expected
2151 result in test name.
2152 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2154 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2155 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2156 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2158
051063c8
SP
21592013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2160
3ce9e010
SP
2161 * benchtests/Makefile: Sort function entries.
2162
051063c8
SP
2163 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2164 tanh, asinh, acosh, atanh.
2165 * benchtests/acos-inputs: New file.
2166 * benchtests/acosh-inputs: New file.
2167 * benchtests/asin-inputs: New file.
2168 * benchtests/asinh-inputs: New file.
2169 * benchtests/atanh-inputs: New file.
2170 * benchtests/cosh-inputs: New file.
2171 * benchtests/log-inputs: New file.
2172 * benchtests/sinh-inputs: New file.
2173 * benchtests/tanh-inputs: New file.
2174
47c22455
DL
21752013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2176
2177 [BZ #15339]
2178 * posix/tst-getaddrinfo4.c: New test.
2179 * posix/Makefile (tests): Add it.
2180
3d04f5db
SP
21812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2182
2183 [BZ #15339]
2184 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2185 when no services were used.
2186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2187 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2188
d5dd6189
AS
21892013-05-21 Andreas Schwab <schwab@suse.de>
2190
2191 [BZ #15014]
2192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2193 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2194 successful.
2195 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2196 redundant variable declarations and reallocation of buffer when
2197 parsing as IPv6 address. Always set NSS status when called from
2198 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2199 buffer too small. Correct computation of needed size.
2200 * nss/Makefile (tests): Add test-digits-dots.
2201 * nss/test-digits-dots.c: New test.
2202
fef94eab
SP
22032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2204
2205 * benchtests/Makefile: Remove instructions for adding
2206 benchmark tests.
2207 * benchtests/README: New file to explain how to execute and
2208 enhance the benchmark tests.
2209
e39adf43
AS
22102013-05-21 Andreas Schwab <schwab@suse.de>
2211
2212 [BZ #15493]
2213 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2214 * setjmp/tst-sigsetjmp.c: New test.
2215
b2b671b6
OB
22162013-05-20 Ondřej Bílka <neleai@seznam.cz>
2217
2218 * sysdeps/x86_64/memset.S (memset): New implementation.
2219 (__bzero): Likewise.
2220 (__memset_tail): New function.
2221
2d48b41c
OB
22222013-05-20 Ondřej Bílka <neleai@seznam.cz>
2223
2224 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2225 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2226 __memcpy_sse2_unaligned ifunc selection.
2227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2228 Add memcpy-sse2-unaligned.S.
2229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2230 Add: __memcpy_sse2_unaligned.
2231
f16cc3eb
JM
22322013-05-19 Joseph Myers <joseph@codesourcery.com>
2233
3e694268
JM
2234 [BZ #15490]
2235 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2236 math_force_eval before restoring floating-point envrionment.
2237 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2239 Likewise.
2240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2241 <math_private.h>.
2242 (__nearbyintl): Use math_force_eval before restoring
2243 floating-point environment.
2244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2245
db62a907
JM
2246 * math/gen-libm-test.pl (special_functions): Remove.
2247 (parse_args): Don't handle TEST_extra. Handle functions with no
2248 return value.
2249 * math/libm-test.inc (struct test_sincos_data): Replace with
2250 struct test_fFF_11_data.
2251 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2252 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2253 (sincos_test_data): Change element type to struct
2254 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2255 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2256 RUN_TEST_LOOP_sincos.
2257 * math/README.libm-test: Don't mention special handling of
2258 individual functions.
2259 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2261 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2262 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2265
f16cc3eb
JM
2266 * math/gen-libm-test.pl (get_variable): Remove function.
2267 (parse_args): Don't show pointer parameters to call in test
2268 names. Use "extra output N" in test names for extra outputs
2269 rather than naming variables.
2270
3779b5b6
JM
22712013-05-18 Joseph Myers <joseph@codesourcery.com>
2272
2ee094ff
JM
2273 [BZ #15488]
2274 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2275 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2276 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2277 double tests.
2278 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2279 disable.
2280 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2281 check_long_double.
2282
3779b5b6
JM
2283 * math/gen-libm-test.pl (@tests): Remove variable.
2284 ($count): Likewise.
2285 (new_test): Remove function.
2286 (show_exceptions): New function.
2287 (special_functions): Use show_exceptions instead of new_test.
2288 (parse_args): Likewise.
2289 (generate_testfile): Pass only function name in generated call to
2290 print_max_error or print_complex_max_error.
2291 (get_ulps): Do not handle complex tests specially.
2292 (output_test): Rename to ...
2293 (get_all_ulps_for_test): ... this. Return a string rather than
2294 printing to a file. Require ulps to be present.
2295 (output_ulps): Generate arrays rather than #defines.
2296 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2297 (struct ulp_data): New type.
2298 (BUILD_COMPLEX_ULP): Remove macro.
2299 (compare_ulp_data): New function.
2300 (find_ulps): Likewise.
2301 (find_test_ulps): Likewise.
2302 (find_function_ulps): Likewise.
2303 (find_complex_function_ulps): Likewise.
2304 (print_max_error): Determine allowed ulps using
2305 find_function_ulps.
2306 (print_complex_max_error): Determine allowed ulps using
2307 find_complex_function_ulps.
2308 (check_float_internal): Determine max ulps using find_test_ulps.
2309 (check_float): Do not take max_ulp parameter. Update call to
2310 check_float_internal.
2311 (check_complex): Likewise.
2312 (check_int): Do not take max_ulp parameter.
2313 (check_long): Likewise.
2314 (check_bool): Likewise.
2315 (check_longlong): Likewise.
2316 (struct test_f_f_data): Remove max_ulp field.
2317 (struct test_ff_f_data): Likewise.
2318 (struct test_ff_f_data_nexttoward): Likewise.
2319 (struct test_fi_f_data): Likewise.
2320 (struct test_fl_f_data): Likewise.
2321 (struct test_if_f_data): Likewise.
2322 (struct test_fff_f_data): Likewise.
2323 (struct test_c_f_data): Likewise.
2324 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2325 (struct test_fF_f1_data): Likewise.
2326 (struct test_ffI_f1_data): Likewise.
2327 (struct test_c_c_data): Remove max_ulp field.
2328 (struct test_cc_c_data): Likewise.
2329 (struct test_f_i_data): Likewise.
2330 (struct test_ff_i_data): Likewise.
2331 (struct test_f_l_data): Likewise.
2332 (struct test_f_L_data): Likewise.
2333 (struct test_sincos_data): Likewise.
2334 (RUN_TEST_f_f): Do not handle ulps.
2335 (RUN_TEST_LOOP_f_f): Likewise.
2336 (RUN_TEST_2_f): Likewise.
2337 (RUN_TEST_LOOP_2_f): Likewise.
2338 (RUN_TEST_fff_f): Likewise.
2339 (RUN_TEST_LOOP_fff_f): Likewise.
2340 (RUN_TEST_c_f): Likewise.
2341 (RUN_TEST_LOOP_c_f): Likewise.
2342 (RUN_TEST_f_f1): Likewise.
2343 (RUN_TEST_LOOP_f_f1): Likewise.
2344 (RUN_TEST_fF_f1): Likewise.
2345 (RUN_TEST_LOOP_fF_f1): Likewise.
2346 (RUN_TEST_fI_f1): Likewise.
2347 (RUN_TEST_LOOP_fI_f1): Likewise.
2348 (RUN_TEST_ffI_f1): Likewise.
2349 (RUN_TEST_LOOP_ffI_f1): Likewise.
2350 (RUN_TEST_c_c): Likewise.
2351 (RUN_TEST_LOOP_c_c): Likewise.
2352 (RUN_TEST_cc_c): Likewise.
2353 (RUN_TEST_LOOP_cc_c): Likewise.
2354 (RUN_TEST_f_i): Likewise.
2355 (RUN_TEST_LOOP_f_i): Likewise.
2356 (RUN_TEST_f_i_tg): Likewise.
2357 (RUN_TEST_LOOP_f_i_tg): Likewise.
2358 (RUN_TEST_ff_i_tg): Likewise.
2359 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2360 (RUN_TEST_f_b): Likewise.
2361 (RUN_TEST_LOOP_f_b): Likewise.
2362 (RUN_TEST_f_b_tg): Likewise.
2363 (RUN_TEST_LOOP_f_b_tg): Likewise.
2364 (RUN_TEST_f_l): Likewise.
2365 (RUN_TEST_LOOP_f_l): Likewise.
2366 (RUN_TEST_f_L): Likewise.
2367 (RUN_TEST_LOOP_f_L): Likewise.
2368 (RUN_TEST_sincos): Likewise.
2369 (RUN_TEST_LOOP_sincos): Likewise.
2370
8269107f
JM
23712013-05-17 Joseph Myers <joseph@codesourcery.com>
2372
bb38759d
JM
2373 [BZ #15480]
2374 [BZ #15485]
2375 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2376 main case of finite arguments, set rounding mode to FE_TONEAREST
2377 and discard exceptions.
2378 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2379 exceptions.
2380 (remainder_tonearest_test_data): New variable.
2381 (remainder_test_tonearest): New function.
2382 (remainder_towardzero_test_data): New variable.
2383 (remainder_test_towardzero): New function.
2384 (remainder_downward_test_data): New variable.
2385 (remainder_test_downward): New function.
2386 (remainder_upward_test_data): New variable.
2387 (remainder_test_upward): New function.
2388 (main): Call the new test functions.
2389
a00bdcf0
JM
2390 * math/libm-test.inc (struct test_f_f1_data): Remove field
2391 extra_init.
2392 (struct test_fF_f1_data): Likewise.
2393 (struct test_ffI_f1_data): Likewise.
2394 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2395 based on value of EXTRA_EXPECTED.
2396 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2397 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2398 EXTRA_VAR based on value of EXTRA_EXPECTED.
2399 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2400 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2401 EXTRA_VAR based on value of EXTRA_EXPECTED.
2402 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2403 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2404 EXTRA_VAR based on value of EXTRA_EXPECTED.
2405 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2406 * math/gen-libm-test.pl (parse_args): Don't output initializers
2407 for extra output values.
2408
de407f79
JM
2409 * math/libm-test.inc (check_int): Expect result to be exactly
2410 equal to expected value and do not handle ulps.
2411 (check_long): Likewise.
2412 (check_longlong): Likewise.
2413
8269107f
JM
2414 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2415 exceptions.
2416 (cimag_test_data): Likewise.
2417 (conj_test_data): Likewise.
2418 (copysign_test_data): Likewise.
2419 (cproj_test_data): Likewise.
2420 (creal_test_data): Likewise.
2421 (fabs_test_data): Likewise.
2422 (fdim_test_data): Likewise.
2423 (finite_test_data): Likewise.
2424 (floor_test_data): Likewise.
2425 (fmax_test_data): Likewise.
2426 (fmin_test_data): Likewise.
2427 (fmod_test_data): Likewise.
2428 (fpclassify_test_data): Likewise.
2429 (frexp_test_data): Likewise.
2430 (ilogb_test_data): Likewise.
2431 (isfinite_test_data): Likewise.
2432 (isgreater_test_data): Likewise.
2433 (isgreaterequal_test_data): Likewise.
2434 (isinf_test_data): Likewise.
2435 (isless_test_data): Likewise.
2436 (islessequal_test_data): Likewise.
2437 (islessgreater_test_data): Likewise.
2438 (isnan_test_data): Likewise.
2439 (isnormal_test_data): Likewise.
2440 (issignaling_test_data): Likewise.
2441 (isunordered_test_data): Likewise.
2442 (ldexp_test_data): Likewise.
2443 (lrint_test_data): Likewise.
2444 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2445 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2446 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2447 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2448 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2449 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2450 test input.
2451 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2452 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2453 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2454 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2455 that test input.
2456 (lrint_downward_test_data): Test for "inexact" exceptions.
2457 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2458 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2459 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2460 test input.
2461 (lrint_upward_test_data): Test for "inexact" exceptions.
2462 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2463 test input.
2464 (llrint_test_data): Test for "inexact" exceptions.
2465 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2466 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2467 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2468 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2469 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2470 (llrint_downward_test_data): Test for "inexact" exceptions.
2471 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2472 (llrint_upward_test_data): Test for "inexact" exceptions.
2473 (logb_test_data): Likewise.
2474 (logb_downward_test_data): Likewise.
2475 (nextafter_test_data): Likewise.
2476 (nexttoward_test_data): Likewise.
2477 (remainder_test_data): Likewise.
2478 (remquo_test_data): Likewise.
2479 (scalbn_test_data): Likewise.
2480 (scalbln_test_data): Likewise.
2481 (signbit_test_data): Likewise.
2482 (sqrt_test_data): Likewise.
2483 (significand_test_data): Likewise.
2484
48a18de1
SP
24852013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2486
2487 [BZ #15424]
2488 * benchtests/bench-modf.c (struct args): Mark arg0 as
2489 volatile.
2490 * scripts/bench.pl: Mark members of struct args as volatile.
2491
13d3b41a
AZ
24922013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493
68191c1d 2494 [BZ # 15497]
13d3b41a
AZ
2495 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2496 negative infinity on POWER6 or lower.
2497 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2498
2848b105
MR
24992013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2500
2501 [BZ #15442]
2502 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2503 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2504 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2505 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2506 (_FP_SETQNAN): New macro.
2507 (_FP_SETQNAN_SEMIRAW): Likewise.
2508 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2509 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2510 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2511 (FP_EXTEND): Use _FP_FRAC_SNANP.
2512 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2513 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2514 into account.
2515 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2516 New macro.
2517 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2518 Likewise.
2519
323e5cb7
JM
25202013-05-16 Joseph Myers <joseph@codesourcery.com>
2521
c58b274f
JM
2522 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2523 with DIVIDE_BY_ZERO_EXCEPTION.
2524 (gamma_test_data): Likewise.
2525 (lgamma_test_data): Likewise.
2526 (log_test_data): Likewise.
2527 (log10_test_data): Likewise.
2528 (log2_test_data): Likewise.
2529 (tgamma_test_data): Likewise.
2530
0ab34904
JM
2531 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2532 (acos_test_tonearest): Likewise.
2533 (acos_test_towardzero): Likewise.
2534 (acos_test_downward): Likewise.
2535 (acos_test_upward): Likewise.
2536 (acosh_test): Likewise.
2537 (asin_test): Likewise.
2538 (asin_test_tonearest): Likewise.
2539 (asin_test_towardzero): Likewise.
2540 (asin_test_downward): Likewise.
2541 (asin_test_upward): Likewise.
2542 (asinh_test): Likewise.
2543 (atan_test): Likewise.
2544 (atanh_test): Likewise.
2545 (atan2_test): Likewise.
2546 (cabs_test): Likewise.
2547 (cacos_test): Likewise.
2548 (cacosh_test): Likewise.
2549 (casin_test): Likewise.
2550 (casinh_test): Likewise.
2551 (catan_test): Likewise.
2552 (catanh_test): Likewise.
2553 (cbrt_test): Likewise.
2554 (ccos_test): Likewise.
2555 (ccosh_test): Likewise.
2556 (cexp_test): Likewise.
2557 (clog_test): Likewise.
2558 (clog10_test): Likewise.
2559 (cos_test): Likewise.
2560 (cos_test_tonearest): Likewise.
2561 (cos_test_towardzero): Likewise.
2562 (cos_test_downward): Likewise.
2563 (cos_test_upward): Likewise.
2564 (cosh_test): Likewise.
2565 (cosh_test_tonearest): Likewise.
2566 (cosh_test_towardzero): Likewise.
2567 (cosh_test_downward): Likewise.
2568 (cosh_test_upward): Likewise.
2569 (cpow_test): Likewise.
2570 (csin_test): Likewise.
2571 (csinh_test): Likewise.
2572 (csqrt_test): Likewise.
2573 (ctan_test): Likewise.
2574 (ctan_test_tonearest): Likewise.
2575 (ctan_test_towardzero): Likewise.
2576 (ctan_test_downward): Likewise.
2577 (ctan_test_upward): Likewise.
2578 (ctanh_test): Likewise.
2579 (ctanh_test_tonearest): Likewise.
2580 (ctanh_test_towardzero): Likewise.
2581 (ctanh_test_downward): Likewise.
2582 (ctanh_test_upward): Likewise.
2583 (erf_test): Likewise.
2584 (erfc_test): Likewise.
2585 (exp_test): Likewise.
2586 (exp_test_tonearest): Likewise.
2587 (exp_test_towardzero): Likewise.
2588 (exp_test_downward): Likewise.
2589 (exp_test_upward): Likewise.
2590 (exp10_test): Likewise.
2591 (exp2_test): Likewise.
2592 (expm1_test): Likewise.
2593 (fmod_test): Likewise.
2594 (gamma_test): Likewise.
2595 (hypot_test): Likewise.
2596 (j0_test): Likewise.
2597 (j1_test): Likewise.
2598 (jn_test): Likewise.
2599 (lgamma_test): Likewise.
2600 (log_test): Likewise.
2601 (log10_test): Likewise.
2602 (log1p_test): Likewise.
2603 (log2_test): Likewise.
2604 (logb_test_downward): Likewise.
2605 (pow_test): Likewise.
2606 (pow_test_tonearest): Likewise.
2607 (pow_test_towardzero): Likewise.
2608 (pow_test_downward): Likewise.
2609 (pow_test_upward): Likewise.
2610 (remainder_test): Likewise.
2611 (remquo_test): Likewise.
2612 (sin_test): Likewise.
2613 (sin_test_tonearest): Likewise.
2614 (sin_test_towardzero): Likewise.
2615 (sin_test_downward): Likewise.
2616 (sin_test_upward): Likewise.
2617 (sincos_test): Likewise.
2618 (sinh_test): Likewise.
2619 (sinh_test_tonearest): Likewise.
2620 (sinh_test_towardzero): Likewise.
2621 (sinh_test_downward): Likewise.
2622 (sinh_test_upward): Likewise.
2623 (sqrt_test): Likewise.
2624 (tan_test): Likewise.
2625 (tan_test_tonearest): Likewise.
2626 (tan_test_towardzero): Likewise.
2627 (tan_test_downward): Likewise.
2628 (tan_test_upward): Likewise.
2629 (tanh_test): Likewise.
2630 (tgamma_test): Likewise.
2631 (y0_test): Likewise.
2632 (y1_test): Likewise.
2633 (yn_test): Likewise.
2634
323e5cb7
JM
2635 * math/gen-libm-test.pl (adjust_arg): Remove function.
2636 (special_function): Remove argument $in_func. Only handle
2637 generating output for tables of tests, not inside functions.
2638 (parse_args): Likewise.
2639 (generate_testfile): Remove variable $in_func. Update call to
2640 parse_args.
2641 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2642 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2643 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2644 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2645 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2646 (MAX_VALUE_INIT): Rename macro to max_value.
2647 (MIN_VALUE_INIT): Rename macro to min_value.
2648 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2649 (plus_zero): Remove variable.
2650 (minus_zero): Likewise.
2651 (plus_infty): Likewise.
2652 (minus_infty): Likewise.
2653 (qnan_value): Likewise.
2654 (max_value): Likewise.
2655 (min_value): Likewise.
2656 (min_subnorm_value): Likewise.
2657
e054f494
RA
26582013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2659
2660 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2661 uint64_t or uint32_t usage.
2662 * crypt/sha256-block.c: Likewise.
2663 * crypt/sha256-crypt.c: Likewise.
2664 * crypt/sha256.c: Likewise.
2665 * crypt/sha512-block.c: Likewise.
2666 * crypt/sha512-crypt.c: Likewise.
2667 * crypt/sha512.c: Likewise.
2668 * debug/backtrace-tst.c: Likewise.
2669 * debug/pcprofiledump.c: Likewise.
2670 * elf/cache.c: Likewise.
2671 * elf/dl-cache.c: Likewise.
2672 * elf/dl-misc.c: Likewise.
2673 * elf/dl-profile.c: Likewise.
2674 * elf/dl-support.c: Likewise.
2675 * elf/ldconfig.c: Likewise.
2676 * elf/sprof.c: Likewise.
2677 * iconv/dummy-repertoire.c: Likewise.
2678 * iconv/iconv_charmap.c: Likewise.
2679 * iconv/skeleton.c: Likewise.
2680 * iconvdata/8bit-generic.c: Likewise.
2681 * iconvdata/cp737.h: Likewise.
2682 * iconvdata/cp775.h: Likewise.
2683 * iconvdata/ibm1008.h: Likewise.
2684 * iconvdata/ibm1025.h: Likewise.
2685 * iconvdata/ibm1046.h: Likewise.
2686 * iconvdata/ibm1097.h: Likewise.
2687 * iconvdata/ibm1112.h: Likewise.
2688 * iconvdata/ibm1122.h: Likewise.
2689 * iconvdata/ibm1123.h: Likewise.
2690 * iconvdata/ibm1124.h: Likewise.
2691 * iconvdata/ibm1129.h: Likewise.
2692 * iconvdata/ibm1130.h: Likewise.
2693 * iconvdata/ibm1132.h: Likewise.
2694 * iconvdata/ibm1133.h: Likewise.
2695 * iconvdata/ibm1137.h: Likewise.
2696 * iconvdata/ibm1140.h: Likewise.
2697 * iconvdata/ibm1141.h: Likewise.
2698 * iconvdata/ibm1142.h: Likewise.
2699 * iconvdata/ibm1143.h: Likewise.
2700 * iconvdata/ibm1144.h: Likewise.
2701 * iconvdata/ibm1145.h: Likewise.
2702 * iconvdata/ibm1146.h: Likewise.
2703 * iconvdata/ibm1147.h: Likewise.
2704 * iconvdata/ibm1148.h: Likewise.
2705 * iconvdata/ibm1149.h: Likewise.
2706 * iconvdata/ibm1153.h: Likewise.
2707 * iconvdata/ibm1154.h: Likewise.
2708 * iconvdata/ibm1155.h: Likewise.
2709 * iconvdata/ibm1156.h: Likewise.
2710 * iconvdata/ibm1157.h: Likewise.
2711 * iconvdata/ibm1158.h: Likewise.
2712 * iconvdata/ibm1160.h: Likewise.
2713 * iconvdata/ibm1161.h: Likewise.
2714 * iconvdata/ibm1162.h: Likewise.
2715 * iconvdata/ibm1163.h: Likewise.
2716 * iconvdata/ibm1164.h: Likewise.
2717 * iconvdata/ibm1166.h: Likewise.
2718 * iconvdata/ibm1167.h: Likewise.
2719 * iconvdata/ibm12712.h: Likewise.
2720 * iconvdata/ibm1390.h: Likewise.
2721 * iconvdata/ibm1399.h: Likewise.
2722 * iconvdata/ibm16804.h: Likewise.
2723 * iconvdata/ibm4517.h: Likewise.
2724 * iconvdata/ibm4899.h: Likewise.
2725 * iconvdata/ibm4909.h: Likewise.
2726 * iconvdata/ibm4971.h: Likewise.
2727 * iconvdata/ibm5347.h: Likewise.
2728 * iconvdata/ibm803.h: Likewise.
2729 * iconvdata/ibm856.h: Likewise.
2730 * iconvdata/ibm901.h: Likewise.
2731 * iconvdata/ibm902.h: Likewise.
2732 * iconvdata/ibm9030.h: Likewise.
2733 * iconvdata/ibm9066.h: Likewise.
2734 * iconvdata/ibm921.h: Likewise.
2735 * iconvdata/ibm922.h: Likewise.
2736 * iconvdata/ibm9448.h: Likewise.
2737 * iconvdata/isiri-3342.h: Likewise.
2738 * iconvdata/jis0201.h: Likewise.
2739 * include/link.h: Likewise.
2740 * include/netdb.h: Likewise.
2741 * inet/check_native.c: Likewise.
2742 * inet/check_pf.c: Likewise.
2743 * inet/getipv4sourcefilter.c: Likewise.
2744 * inet/getnameinfo.c: Likewise.
2745 * inet/getsourcefilter.c: Likewise.
2746 * inet/htonl.c: Likewise.
2747 * inet/setipv4sourcefilter.c: Likewise.
2748 * inet/setsourcefilter.c: Likewise.
2749 * inet/test-inet6_opt.c: Likewise.
2750 * inet/tst-network.c: Likewise.
2751 * locale/C-collate.c: Likewise.
2752 * locale/C-ctype.c: Likewise.
2753 * locale/C-time.c: Likewise.
2754 * locale/C-translit.h: Likewise.
2755 * locale/loadarchive.c: Likewise.
2756 * locale/programs/3level.h: Likewise.
2757 * locale/programs/charmap.c: Likewise.
2758 * locale/programs/charmap.h: Likewise.
2759 * locale/programs/ld-address.c: Likewise.
2760 * locale/programs/ld-collate.c: Likewise.
2761 * locale/programs/ld-ctype.c: Likewise.
2762 * locale/programs/ld-identification.c: Likewise.
2763 * locale/programs/ld-measurement.c: Likewise.
2764 * locale/programs/ld-messages.c: Likewise.
2765 * locale/programs/ld-monetary.c: Likewise.
2766 * locale/programs/ld-name.c: Likewise.
2767 * locale/programs/ld-numeric.c: Likewise.
2768 * locale/programs/ld-paper.c: Likewise.
2769 * locale/programs/ld-telephone.c: Likewise.
2770 * locale/programs/ld-time.c: Likewise.
2771 * locale/programs/linereader.c: Likewise.
2772 * locale/programs/locale.c: Likewise.
2773 * locale/programs/locarchive.c: Likewise.
2774 * locale/programs/locfile.h: Likewise.
2775 * locale/programs/repertoire.c: Likewise.
2776 * locale/programs/simple-hash.c: Likewise.
2777 * locale/programs/simple-hash.h: Likewise.
2778 * malloc/memusage.c: Likewise.
2779 * malloc/memusagestat.c: Likewise.
2780 * nis/nis_defaults.c: Likewise.
2781 * nis/nis_hash.c: Likewise.
2782 * nis/nis_print.c: Likewise.
2783 * nis/nis_xdr.c: Likewise.
2784 * nscd/connections.c: Likewise.
2785 * nscd/hstcache.c: Likewise.
2786 * nscd/nscd_gethst_r.c: Likewise.
2787 * nscd/nscd_getserv_r.c: Likewise.
2788 * nscd/nscd_helper.c: Likewise.
2789 * nscd/servicescache.c: Likewise.
2790 * nss/makedb.c: Likewise.
2791 * nss/nss_db/db-XXX.c: Likewise.
2792 * nss/nss_db/db-initgroups.c: Likewise.
2793 * nss/nss_db/db-netgrp.c: Likewise.
2794 * nss/nss_files/files-network.c: Likewise.
2795 * nss/nss_files/files-parse.c: Likewise.
2796 * posix/bug-regex5.c: Likewise.
2797 * posix/fnmatch_loop.c: Likewise.
2798 * posix/regcomp.c: Likewise.
2799 * posix/regexec.c: Likewise.
2800 * posix/tst-rfc3484-2.c: Likewise.
2801 * posix/tst-rfc3484-3.c: Likewise.
2802 * posix/tst-rfc3484.c: Likewise.
2803 * resolv/nss_dns/dns-canon.c: Likewise.
2804 * resolv/nss_dns/dns-network.c: Likewise.
2805 * resolv/res_init.c: Likewise.
2806 * resolv/res_mkquery.c: Likewise.
2807 * resolv/tst-aton.c: Likewise.
2808 * stdlib/cxa_atexit.c: Likewise.
2809 * stdlib/cxa_finalize.c: Likewise.
2810 * stdlib/gen-fpioconst.c: Likewise.
2811 * stdlib/strtol_l.c: Likewise.
2812 * string/tst-endian.c: Likewise.
2813 * sunrpc/auth_des.c: Likewise.
2814 * sunrpc/clnt_udp.c: Likewise.
2815 * sunrpc/rtime.c: Likewise.
2816 * sunrpc/svcauth_des.c: Likewise.
2817 * sunrpc/xdr.c: Likewise.
2818 * sunrpc/xdr_intXX_t.c: Likewise.
2819 * sunrpc/xdr_rec.c: Likewise.
2820 * sysdeps/generic/ldconfig.h: Likewise.
2821 * sysdeps/generic/ldsodefs.h: Likewise.
2822 * sysdeps/generic/memusage.h: Likewise.
2823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2825 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2829 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2830 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2833 * sysdeps/posix/getaddrinfo.c: Likewise.
2834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2838 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2839 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2840 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2841 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2842 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2844 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2845 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2846 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2847 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2849 * sysdeps/x86_64/dl-tls.h: Likewise.
2850 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2851 * time/alt_digit.c: Likewise.
2852 * time/era.c: Likewise.
2853 * wcsmbs/tst-c16c32-1.c: Likewise.
2854
8c75f674
JM
28552013-05-16 Joseph Myers <joseph@codesourcery.com>
2856
2857 * math/libm-test.inc (struct test_sincos_data): New type.
2858 (RUN_TEST_LOOP_sincos): New macro.
2859 (sincos_test_data): New variable.
2860 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2861
e6e49e59
RH
28622013-05-16 Richard Henderson <rth@redhat.com>
2863
2864 * math/atest-exp2.c (LIMB64): New macro.
2865 (CONSTSZ): New macro.
2866 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2867 (hexdig): Move ...
2868 (print_mpn_fp): ... to function scope.
2869 (read_mpn_hex): Remove.
2870 (get_log2): Remove.
2871 (exp2_mpn): Use mp_log2.
2872 (main): Use mp_exp1.
2873
15c7c18d
JM
28742013-05-16 Joseph Myers <joseph@codesourcery.com>
2875
105a07df
JM
2876 * math/libm-test.inc: Remove comment about not testing "inexact"
2877 exceptions.
2878 (INEXACT_EXCEPTION): New macro.
2879 (NO_INEXACT_EXCEPTION): Likewise.
2880 (INVALID_EXCEPTION_OK): Update value.
2881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2882 (OVERFLOW_EXCEPTION_OK): Likewise.
2883 (UNDERFLOW_EXCEPTION_OK): Likewise.
2884 (IGNORE_ZERO_INF_SIGN): Likewise.
2885 (ERRNO_UNCHANGED): Likewise.
2886 (ERRNO_EDOM): Likewise.
2887 (ERRNO_ERANGE): Likewise.
2888 (test_exceptions): Handle testing "inexact" exceptions.
2889 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2890 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2891 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2892 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2893 INEXACT_EXCEPTION.
2894 (rint_towardzero_test_data): Likewise.
2895 (rint_downward_test_data): Likewise.
2896 (rint_upward_test_data): Likewise.
2897
e9eee333
JM
2898 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2899 with OVERFLOW_EXCEPTION.
2900 (exp10_test_data): Likewise.
2901 (exp2_test_data): Likewise.
2902 (expm1_test_data): Likewise.
2903 (lgamma_test_data): Likewise.
2904 (pow_test_data): Likewise.
2905 (tgamma_test_data): Likewise.
2906 (yn_test_data): Remove duplicate test of overflow.
2907
1c38ff73
JM
2908 * math/libm-test.inc (struct test_cc_c_data): New type.
2909 (RUN_TEST_LOOP_cc_c): New macro.
2910 (cpow_test_data): New variable.
2911 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2912
15c7c18d
JM
2913 * math/libm-test.inc (struct test_f_L_data): New type.
2914 (RUN_TEST_LOOP_f_L): New macro.
2915 (llrint_test_data): New variable.
2916 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2917 (llrint_tonearest_test_data): New variable.
2918 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2919 (llrint_towardzero_test_data): New variable.
2920 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2921 (llrint_downward_test_data): New variable.
2922 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2923 (llrint_upward_test_data): New variable.
2924 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2925 (llround_test_data): New variable.
2926 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2927
f137ff13
PC
29282013-05-13 Peter Collingbourne <pcc@google.com>
2929
2930 * math/atest-exp2.c (get_log2): Remove const attribute.
2931
3608cb24
JM
29322013-05-15 Joseph Myers <joseph@codesourcery.com>
2933
2934 * math/libm-test.inc (struct test_f_l_data): New type.
2935 (RUN_TEST_LOOP_f_l): New macro.
2936 (lrint_test_data): New variable.
2937 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2938 (lrint_tonearest_test_data): New variable.
2939 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2940 (lrint_towardzero_test_data): New variable.
2941 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2942 (lrint_downward_test_data): New variable.
2943 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2944 (lrint_upward_test_data): New variable.
2945 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2946 (lround_test_data): New variable.
2947 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2948
39b1f617
PC
29492013-05-15 Peter Collingbourne <pcc@google.com>
2950
1deff3dc
PC
2951 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2952 (EXTRACT_WORDS64) Use where appropriate.
2953 (INSERT_WORDS64) Likewise.
2954
791f3ba0
PC
2955 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2956 constraints with x constraints.
2957 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2958
39b1f617
PC
2959 * malloc/obstack.c (_obstack_compat): Add initializer.
2960
12fba011
EM
29612013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2962
2963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2964 si_trapno and add si_addr_lsb to _sifields.sigfault.
2965 (si_trapno): Remove macro.
2966 (si_addr_lsb): Define new macro.
2967 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2968
d369f531
JM
29692013-05-15 Joseph Myers <joseph@codesourcery.com>
2970
b861c6c4
JM
2971 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2972 instead of TEST_f_l.
2973 (llrint_test_tonearest): Likewise.
2974 (llrint_test_towardzero): Likewise.
2975 (llrint_test_downward): Likewise.
2976 (llrint_test_upward): Likewise.
2977 (llround_test): Likewise.
2978
7abeee12
JM
2979 * math/libm-test.inc (struct test_f_i_data): Add comment.
2980 (RUN_TEST_LOOP_f_b): New macro.
2981 (RUN_TEST_LOOP_f_b_tg): Likewise.
2982 (finite_test_data): New variable.
2983 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2984 (isfinite_test_data): New variable.
2985 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2986 (isinf_test_data): New variable.
2987 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2988 (isnan_test_data): New variable.
2989 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2990 (isnormal_test_data): New variable.
2991 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2992 (issignaling_test_data): New variable.
2993 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2994 (signbit_test_data): New variable.
2995 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2996
cbe8c4d3
JM
2997 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2998 with INVALID_EXCEPTION.
2999 (acosh_test_data): Likewise.
3000 (asin_test_data): Likewise.
3001 (atanh_test_data): Likewise.
3002 (fmod_test_data): Likewise.
3003 (log_test_data): Likewise.
3004 (log10_test_data): Likewise.
3005 (log2_test_data): Likewise.
3006 (pow_test_data): Likewise.
3007 (sqrt_test_data): Likewise.
3008 (y0_test_data): Likewise.
3009 (y1_test_data): Likewise.
3010 (yn_test_data): Likewise.
3011
5575c0e5
JM
3012 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3013 function contents.
3014
d369f531
JM
3015 * math/libm-test.inc (struct test_ff_i_data): New type.
3016 (RUN_TEST_LOOP_ff_i_tg): New macro.
3017 (isgreater_test_data): New variable.
3018 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3019 (isgreaterequal_test_data): New variable.
3020 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3021 (isless_test_data): New variable.
3022 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3023 (islessequal_test_data): New variable.
3024 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3025 (islessgreater_test_data): New variable.
3026 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3027 (isunordered_test_data): New variable.
3028 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3029
781fd748
DM
30302013-05-14 David S. Miller <davem@davemloft.net>
3031
3032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3033
87aa21df
JM
30342013-05-14 Joseph Myers <joseph@codesourcery.com>
3035
5e908270
JM
3036 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3037
f71172e5
JM
3038 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3039 extra_test to int.
3040 (struct test_f_i_data): Change type of max_ulp to int.
3041
8cfa635a
JM
3042 * math/libm-test.inc (test_ffI_f1_data): New type.
3043 (RUN_TEST_LOOP_ffI_f1): New macro.
3044 (remquo_test_data): New variable.
3045 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3046
2bcb36b2
JM
3047 * setjmp/tst-setjmp-fp.c: New file.
3048 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3049 (link-libm): New variable.
3050 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3051
acbd839a
JM
3052 * math/libm-test.inc (struct test_f_i_data): New type.
3053 (RUN_TEST_LOOP_f_i): New macro.
3054 (RUN_TEST_LOOP_f_i_tg): Likewise.
3055 (fpclassify_test_data): New variable.
3056 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3057 (ilogb_test_data): New variable.
3058 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3059
e414d745
JM
3060 * math/libm-test.inc (scalbln_test): Correct function name in END
3061 call.
3062
d9c2a0fd
JM
3063 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3064 (RUN_TEST_LOOP_fI_f1): New macro.
3065 (frexp_test_data): New variable.
3066 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3067
9dc9095d
JM
3068 * math/libm-test.inc (struct test_fF_f1_data): New type.
3069 (RUN_TEST_LOOP_fF_f1): New macro.
3070 (modf_test_data): New variable.
3071 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3072
87aa21df
JM
3073 * math/libm-test.inc (struct test_f_f1_data): New type.
3074 (RUN_TEST_LOOP_f_f1): New macro.
3075 (gamma_test_data): New variable.
3076 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3077 (lgamma_test_data): New variable.
3078 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3079
141af660
CD
30802013-05-13 Carlos O'Donell <carlos@redhat.com>
3081
3082 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3083 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3084 (main): Comment "tls" pseudo-hwcap.
3085
6d33265c
JM
30862013-05-13 Joseph Myers <joseph@codesourcery.com>
3087
68fc074c
JM
3088 * math/libm-test.inc (struct test_fl_f_data): New type.
3089 (RUN_TEST_LOOP_fl_f): New variable.
3090 (scalbln_test_data): New variable.
3091 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3092
243216e1
JM
3093 * math/libm-test.inc (struct test_fi_f_data): New type.
3094 (RUN_TEST_LOOP_fi_f): New macro.
3095 (ldexp_test_data): New variable.
3096 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3097 (scalbn_test_data): New variable.
3098 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3099
6a1992e2
JM
3100 * math/libm-test.inc (struct test_c_f_data): New type.
3101 (RUN_TEST_LOOP_c_f): New macro.
3102 (cabs_test_data): New variable.
3103 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3104 (carg_test_data): New variable.
3105 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3106 (cimag_test_data): New variable.
3107 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3108 (creal_test_data): New variable.
3109 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3110
0e400df5
JM
3111 * math/libm-test.inc (struct test_if_f_data): New type.
3112 (RUN_TEST_LOOP_if_f): New macro.
3113 (jn_test_data): New variable.
3114 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3115 (yn_test_data): New variable.
3116 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3117
6d33265c
JM
3118 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3119
f98ece5f
AZ
31202013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3123 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3124
0f7d347b
SP
31252013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3126
43fe811b
SP
3127 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3128 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3129 (bench-deps): Add bench-timing.h.
3130 * benchtests-bench-skeleton.c: Include bench-timing.h.
3131 (main): Use TIMING_* macros instead of clock_gettime.
3132 * benchtests/bench-timing.h: New file.
3133
0f7d347b
SP
3134 [BZ #14582]
3135 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3136 Renamed from _LIB_VERSION.
3137 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3138
601a3a5f
JM
31392013-05-12 Joseph Myers <joseph@codesourcery.com>
3140
4f184d30
JM
3141 * math/libm-test.inc (struct test_fff_f_data): New type.
3142 (RUN_TEST_LOOP_fff_f): New macro.
3143 (fma_test_data): New variable.
3144 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3145 (fma_towardzero_test_data): New variable.
3146 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3147 (fma_downward_test_data): New variable.
3148 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3149 (fma_upward_test_data): New variable.
3150 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3151
08198877
JM
3152 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3153 (struct test_c_c_data): New type.
3154 (RUN_TEST_LOOP_c_c): New macro.
3155 (cacos_test_data): New variable.
3156 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3157 (cacosh_test_data): New variable.
3158 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3159 (casin_test_data): New variable.
3160 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3161 (casinh_test_data): New variable.
3162 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3163 (catan_test_data): New variable.
3164 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3165 (catanh_test_data): New variable.
3166 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3167 (ccos_test_data): New variable.
3168 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3169 (ccosh_test_data): New variable.
3170 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3171 (cexp_test_data): New variable.
3172 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3173 (clog_test_data): New variable.
3174 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3175 (clog10_test_data): New variable.
3176 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3177 (conj_test_data): New variable.
3178 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3179 (cproj_test_data): New variable.
3180 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3181 (csin_test_data): New variable.
3182 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3183 (csinh_test_data): New variable.
3184 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3185 (csqrt_test_data): New variable.
3186 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3187 (ctan_test_data): New variable.
3188 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3189 (ctan_tonearest_test_data): New variable.
3190 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3191 (ctan_towardzero_test_data): New variable.
3192 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3193 (ctan_downward_test_data): New variable.
3194 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3195 (ctan_upward_test_data): New variable.
3196 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3197 (ctanh_test_data): New variable.
3198 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3199 (ctanh_tonearest_test_data): New variable.
3200 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3201 (ctanh_towardzero_test_data): New variable.
3202 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3203 (ctanh_downward_test_data): New variable.
3204 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3205 (ctanh_upward_test_data): New variable.
3206 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3207 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3208 of BUILD_COMPLEX.
3209
601a3a5f
JM
3210 * math/libm-test.inc (struct test_ff_f_data): New type.
3211 (struct test_ff_f_data_nexttoward): Likewise.
3212 (RUN_TEST_LOOP_2_f): New macro.
3213 (RUN_TEST_LOOP_ff_f): Likewise.
3214 (atan2_test_data): New variable.
3215 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3216 (copysign_test_data): New variable.
3217 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3218 (fdim_test_data): New variable.
3219 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3220 (fmax_test_data): New variable.
3221 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3222 (fmin_test_data): New variable.
3223 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3224 (fmod_test_data): New variable.
3225 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3226 (hypot_test_data): New variable.
3227 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3228 (nextafter_test_data): New variable.
3229 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3230 (nexttoward_test_data): New variable.
3231 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3232 (pow_test_data): New variable.
3233 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3234 (pow_tonearest_test_data): New variable.
3235 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3236 (pow_towardzero_test_data): New variable.
3237 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3238 (pow_downward_test_data): New variable.
3239 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3240 (pow_upward_test_data): New variable.
3241 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3242 (remainder_test_data): New variable.
3243 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3244 (scalb_test_data): New variable.
3245 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3246 * sysdeps/i386/fpu/libm-test-ulps: Update.
3247
74c57478
JM
32482013-05-11 Joseph Myers <joseph@codesourcery.com>
3249
8329e4da
JM
3250 * math/libm-test.inc (fma_test): Use max_value instead of local
3251 variable fltmax.
3252 (nextafter_test): Likewise.
3253
74c57478
JM
3254 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3255 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3256 (acos_downward_test_data): New variable.
3257 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3258 (acos_upward_test_data): New variable.
3259 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3260 (acosh_test_data): New variable.
3261 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3262 (asin_test_data): New variable.
3263 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3264 (asin_tonearest_test_data): New variable.
3265 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3266 (asin_towardzero_test_data): New variable.
3267 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3268 (asin_downward_test_data): New variable.
3269 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3270 (asin_upward_test_data): New variable.
3271 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3272 (asinh_test_data): New variable.
3273 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3274 (atan_test_data): New variable.
3275 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3276 (atanh_test_data): New variable.
3277 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3278 (cbrt_test_data): New variable.
3279 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3280 (ceil_test_data): New variable.
3281 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3282 (cos_test_data): New variable.
3283 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3284 (cos_tonearest_test_data): New variable.
3285 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3286 (cos_towardzero_test_data): New variable.
3287 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3288 (cos_downward_test_data): New variable.
3289 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3290 (cos_upward_test_data): New variable.
3291 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3292 (cosh_test_data): New variable.
3293 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3294 (cosh_tonearest_test_data): New variable.
3295 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3296 (cosh_towardzero_test_data): New variable.
3297 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3298 (cosh_downward_test_data): New variable.
3299 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3300 (cosh_upward_test_data): New variable.
3301 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3302 (erf_test_data): New variable.
3303 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3304 (erfc_test_data): New variable.
3305 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3306 (exp_test_data): New variable.
3307 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3308 (exp_tonearest_test_data): New variable.
3309 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3310 (exp_towardzero_test_data): New variable.
3311 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3312 (exp_downward_test_data): New variable.
3313 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3314 (exp_upward_test_data): New variable.
3315 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3316 (exp10_test_data): New variable.
3317 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3318 (exp2_test_data): New variable.
3319 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3320 (expm1_test_data): New variable.
3321 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3322 (fabs_test_data): New variable.
3323 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3324 (floor_test_data): New variable.
3325 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3326 (j0_test_data): New variable.
3327 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3328 (j1_test_data): New variable.
3329 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3330 (log_test_data): New variable.
3331 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3332 (log10_test_data): New variable.
3333 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3334 (log1p_test_data): New variable.
3335 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3336 (log2_test_data): New variable.
3337 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3338 (logb_test_data): New variable.
3339 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3340 (logb_downward_test_data): New variable.
3341 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3342 (nearbyint_test_data): New variable.
3343 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3344 (rint_test_data): New variable.
3345 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3346 (rint_tonearest_test_data): New variable.
3347 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3348 (rint_towardzero_test_data): New variable.
3349 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3350 (rint_downward_test_data): New variable.
3351 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3352 (rint_upward_test_data): New variable.
3353 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3354 (round_test_data): New variable.
3355 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3356 (sin_test_data): New variable.
3357 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3358 (sin_tonearest_test_data): New variable.
3359 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3360 (sin_towardzero_test_data): New variable.
3361 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3362 (sin_downward_test_data): New variable.
3363 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3364 (sin_upward_test_data): New variable.
3365 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3366 (sinh_test_data): New variable.
3367 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3368 (sinh_tonearest_test_data): New variable.
3369 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3370 (sinh_towardzero_test_data): New variable.
3371 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3372 (sinh_downward_test_data): New variable.
3373 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3374 (sinh_upward_test_data): New variable.
3375 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3376 (sqrt_test_data): New variable.
3377 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3378 (tan_test_data): New variable.
3379 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3380 (tan_tonearest_test_data): New variable.
3381 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3382 (tan_towardzero_test_data): New variable.
3383 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3384 (tan_downward_test_data): New variable.
3385 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3386 (tan_upward_test_data): New variable.
3387 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3388 (tanh_test_data): New variable.
3389 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3390 (tgamma_test_data): New variable.
3391 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3392 (trunc_test_data): New variable.
3393 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3394 (y0_test_data): New variable.
3395 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3396 (y1_test_data): New variable.
3397 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3398 (significand_test_data): New variable.
3399 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3400
7187d844
CG
34012013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3402
3403 [BZ #12387]
3404 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3405
f63fae73
PT
34062013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3407
3408 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3409
8a67a4b3
AJ
34102013-05-10 Andreas Jaeger <aj@suse.de>
3411
3412 [BZ #15448]
3413 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3414 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3415
51df539d
JM
34162013-05-10 Joseph Myers <joseph@codesourcery.com>
3417
3418 * math/gen-libm-test.pl (adjust_arg): New function.
3419 (special_functions): Handle generating output in both functions
3420 and arrays.
3421 (parse_args): Likewise.
3422 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3423 $in_func argument to parse_args.
3424 * math/libm-test.inc (struct test_f_f_data): New type.
3425 (IF_ROUND_INIT_): New macro.
3426 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3427 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3428 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3429 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3430 (ROUND_RESTORE_): Likewise.
3431 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3432 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3433 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3434 (ROUND_RESTORE_FE_UPWARD): Likewise.
3435 (RUN_TEST_LOOP_f_f): New macro.
3436 (acos_test_data): New variable.
3437 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3438 (acos_tonearest_test_data): New variable.
3439 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3440
5c637fe5
SP
34412013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3442
3443 * benchtests/bench-skeleton.c (startup): Fix coding style.
3444
ab2b9461
JM
34452013-05-10 Joseph Myers <joseph@codesourcery.com>
3446
3447 [BZ #6809]
3448 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3449 negative infinity argument.
3450 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3451 negative infinity argument.
3452 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3453 negative infinity argument.
3454 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3455 domain errors.
3456
4c0fe6fe
FW
34572013-05-10 Florian Weimer <fweimer@redhat.com>
3458
3459 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3460 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3461 * iconv/iconv_prog.c (main): Likewise.
3462 * locale/programs/charmap-dir.c (charmap_readdir)
3463 (fopen_uncompressed): Likewise.
3464 * locale/programs/locfile.c (siblings_uncached)
3465 (write_locale_data): Use lstat64 instead of lstat.
3466 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3467 stat.
3468
a3375d29
AJ
34692013-05-10 Andreas Jaeger <aj@suse.de>
3470
3471 [BZ #15395]
3472 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3473 localization.
3474 Include <locale.h>.
3475
36129722
CD
34762013-05-09 Carlos O'Donell <carlos@redhat.com>
3477
3478 * elf/dl-close.c (_dl_close_worker): Add comments.
3479
faa7f811
JM
34802013-05-09 Joseph Myers <joseph@codesourcery.com>
3481
ed41ffef
JM
3482 [BZ #15359]
3483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3484 high part of pi/2.
3485 (__ieee754_rem_pio2l): Update comments.
3486
d0213cd0
JM
3487 [BZ #15429]
3488 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3489 high part of pi/2.
3490 (__ieee754_rem_pio2l): Update comments.
3491
0d3e777a
JM
3492 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3493 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3494
24f56066
JM
3495 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3496 M_PI_4l.
3497
faa7f811
JM
3498 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3499 (M_PI_34_LOG10El): Likewise.
3500 (M_PI2_LOG10El): Likewise.
3501 (M_PI4_LOG10El): Likewise.
3502 (M_PI_LOG10El): Likewise.
3503
e9a5e0fd
AZ
35042013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3505
3506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3507
d8cd06db
JM
35082013-05-08 Joseph Myers <joseph@codesourcery.com>
3509
a0d9f9d7
JM
3510 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3511 (MINUS_ZERO_INIT): Likewise.
3512 (PLUS_INFTY_INIT): Likewise.
3513 (MINUS_INFTY_INIT): Likewise.
3514 (QNAN_VALUE_INIT): Likewise.
3515 (MAX_VALUE_INIT): Likewise.
3516 (MIN_VALUE_INIT): Likewise.
3517 (MIN_SUBNORM_VALUE_INIT): Likewise.
3518 (plus_zero): Initialize with PLUS_ZERO_INIT.
3519 (minus_zero): Initialize with MINUS_ZERO_INIT.
3520 (plus_infty): Initialize with PLUS_INFTY_INIT.
3521 (minus_infty): Initialize with MINUS_INFTY_INIT.
3522 (qnan_value): Initialize with QNAN_VALUE_INIT.
3523 (max_value): Initialize with MAX_VALUE_INIT.
3524 (min_value): Initialize with MIN_VALUE_INIT.
3525 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3526
ae08db3b
JM
3527 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3528 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3529 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3530 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3531
f44bf14a
JM
3532 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3533 (RUN_TEST_2_f): Likewise.
3534 (RUN_TEST_ff_f): Likewise.
3535 (RUN_TEST_fi_f): Likewise.
3536 (RUN_TEST_fl_f): Likewise.
3537 (RUN_TEST_fff_f): Likewise.
3538 (RUN_TEST_c_f): Likewise.
3539 (RUN_TEST_f_f1): Likewise.
3540 (RUN_TEST_fF_f1): Likewise.
3541 (RUN_TEST_fI_f1): Likewise.
3542 (RUN_TEST_ffI_f1): Likewise.
3543 (RUN_TEST_c_c): Likewise.
3544 (RUN_TEST_cc_c): Likewise.
3545 (RUN_TEST_f_i): Likewise.
3546 (RUN_TEST_f_i_tg): Likewise.
3547 (RUN_TEST_ff_i_tg): Likewise.
3548 (RUN_TEST_f_b): Likewise.
3549 (RUN_TEST_f_b_tg): Likewise.
3550 (RUN_TEST_f_l): Likewise.
3551 (RUN_TEST_f_L): Likewise.
3552 (RUN_TEST_sincos): Likewise.
3553 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3554 whether to show exceptions. Do not include ");\n" in return
3555 value.
3556 (special_functions): Output call to RUN_TEST_sincos instead of
3557 check_float calls. Update calls to new_test.
3558 (parse_args): Output call to single RUN_TEST_* macro instead of
3559 check_* calls and other assignments. Update calls to new_test.
3560
d8cd06db
JM
3561 [BZ #2546]
3562 [BZ #2560]
3563 [BZ #5159]
3564 [BZ #15426]
3565 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3566 input to result for tgamma overflow.
3567 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3568 (gamma_coeff): New variable.
3569 (NCOEFF): New macro.
3570 (gamma_positive): New function.
3571 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3572 underflow here. Use gamma_positive instead of exp (lgamma) for
3573 other arguments.
3574 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3575 (gamma_coeff): New variable.
3576 (NCOEFF): New macro.
3577 (gammaf_positive): New function.
3578 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3579 underflow here. Use gamma_positive instead of exp (lgamma) for
3580 other arguments.
3581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3582 (gamma_coeff): New variable.
3583 (NCOEFF): New macro.
3584 (gammal_positive): New function.
3585 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3586 underflow here. Use gamma_positive instead of exp (lgamma) for
3587 other arguments.
3588 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3589 (gamma_coeff): New variable.
3590 (NCOEFF): New macro.
3591 (gammal_positive): New function.
3592 (__ieee754_gammal_r): Handle positive infinity, overflow and
3593 underflow here. Handle NaN the same as positive infinity. Remove
3594 check x < 0xffffffff for negative integers. Use gamma_positive
3595 instead of exp (lgamma) for other arguments.
3596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3597 (gamma_coeff): New variable.
3598 (NCOEFF): New macro.
3599 (gammal_positive): New function.
3600 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3601 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3605 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3606 * sysdeps/generic/math_private.h (__gamma_productf): New
3607 prototype.
3608 (__gamma_product): Likewise.
3609 (__gamma_productl): Likewise.
3610 * math/Makefile (libm-calls): Add gamma_product.
3611 * math/libm-test.inc (tgamma_test): Add more tests.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3614
bb7cf681
OB
36152013-05-08 Ondřej Bílka <neleai@seznam.cz>
3616
3617 * benchtests/bench-skeleton.c (main): Preheat CPU.
3618
ba853947
AJ
36192013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3620
3621 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3622
8347c74c
RM
36232013-05-07 Roland McGrath <roland@hack.frob.com>
3624
3625 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3626 and _dl_skip_args_internal.
3627
e8dd4791
CD
36282013-05-07 Carlos O'Donell <carlos@redhat.com>
3629
3630 * manual/message.texi (Message Translation): Talk about users.
3631 Message to key mapping impacts design.
3632
c7405830
RM
36332013-05-06 Roland McGrath <roland@hack.frob.com>
3634
a9173057
RM
3635 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3636
976e2f03
RM
3637 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3638
9723ffc5
RM
3639 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3640 * sysdeps/wordsize-64/glob64.c: ... here.
3641
962e6658
RM
3642 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3643 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3644 New macros.
3645
ee586a6d
RM
3646 * debug/getlogin_r_chk.c: Moved to ...
3647 * login/getlogin_r_chk.c: ... here.
3648 * debug/Makefile (routines): Move getlogin_r_chk to ...
3649 * login/Makefile (routines): ... here.
3650 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3651 * login/Versions (libc: GLIBC_2.4): ... here.
3652
355f9165
RM
3653 * io/poll.c (__poll): Renamed from poll.
3654 Add libc_hidden_def.
3655 (poll): Define as weak alias.
3656
bd9ffde6
RM
3657 * debug/ptsname_r_chk.c: Moved to ...
3658 * login/ptsname_r_chk.c: ... here.
3659 * debug/Makefile (routines): Move ptsname_r_chk to ...
3660 * login/Makefile (routines): ... here.
3661 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3662 * login/Versions (libc: GLIBC_2.4): ... here.
3663
8fb16a04
RM
3664 * posix/getlogin.c: Moved to ...
3665 * login/getlogin.c: ... here.
3666 * posix/getlogin_r.c: Moved to ...
3667 * login/getlogin_r.c: ... here.
3668 * posix/getlogin_r.c: Moved to ...
3669 * login/getlogin_r.c: ... here.
3670 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3671 * login/Makefile (routines): ... here.
3672 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3673 * login/Versions (libc: GLIBC_2.0): ... here.
3674
b99b892f
RM
3675 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3676 (setrlimit): Define as weak alias.
3677
c7405830
RM
3678 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3679 Call __ names for open, ftruncate, and close.
3680 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3681 (truncate): Define as weak alias.
3682
5bf96de5
JM
36832013-05-06 Joseph Myers <joseph@codesourcery.com>
3684
9ea3513c
JM
3685 * math/gen-libm-test.pl (parse_args): Initialize x before each
3686 test of frexp, modf and remquo.
3687
5bf96de5
JM
3688 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3689 test signgam value.
3690
16e616a7
AZ
36912013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3692
3693 [BZ #15418]
3694 [BZ #15419]
3695 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3696 internal tests.
3697 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3698
d5e82754
RM
36992013-05-06 Roland McGrath <roland@hack.frob.com>
3700
3701 * elf/dl-writev.h: New file.
3702 * elf/dl-misc.c: Include it.
3703 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3704 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3705
a7548d41
JM
37062013-05-04 Joseph Myers <joseph@codesourcery.com>
3707
b7dab1e4
JM
3708 * math/libm-test.inc (noXFails): Remove variable.
3709 (noXPasses): Likewise.
3710 (BUILD_COMPLEX_INT): Remove macro.
3711 (print_screen): Remove xfail argument.
3712 (print_screen_max_error): Likewise.
3713 (update_stats): Likewise.
3714 (print_max_error): Likewise. Update calls to other affected
3715 functions.
3716 (print_complex_max_error): Likewise.
3717 (test_single_exception): Update calls to print_screen.
3718 (test_single_errno): Likewise.
3719 (check_float_internal): Remove xfail argument. Update calls to
3720 other affected functions.
3721 (check_float): Likewise.
3722 (check_complex): Likewise.
3723 (check_int): Likewise.
3724 (check_long): Likewise.
3725 (check_bool): Likewise.
3726 (check_longlong): Likewise.
3727 (main): Don't print noXFails and noXPasses.
3728 * math/gen-libm-test.pl (top level): Don't mention expected
3729 failure handling in comment.
3730 (new_test): Don't handle expected failures.
3731 (parse_args): Don't mention expected failure handling in comment.
3732 (generate_testfile): Don't handle expected failures.
3733 (parse_ulps): Likewise.
3734 (print_ulps_file): Likewise.
3735 (get_failure): Remove function.
3736 (output_test): Don't handle expected failures.
3737 * make/README.libm-test: Don't mention expected failure handling.
3738
a7548d41
JM
3739 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3740 (minus_zero): Likewise.
3741 (plus_infty): Likewise.
3742 (minus_infty): Likewise.
3743 (qnan_value): Likewise.
3744 (max_value): Likewise.
3745 (min_value): Likewise.
3746 (min_subnorm_value): Likewise.
3747 (initialize): Do not initialize those variables dynamically.
3748
60bfd54c
RM
37492013-05-03 Roland McGrath <roland@hack.frob.com>
3750
cc0e6ed8
RM
3751 * io/open.c (__open_2): Moved to ...
3752 * io/open_2.c: ... this new file.
3753 * io/open64.c (__open64_2): Moved to ...
3754 * io/open64_2.c: ... this new file.
3755 * io/openat.c (__openat_2): Moved to ...
3756 * io/openat_2.c: ... this new file.
3757 * io/openat64.c (__openat64_2): Moved to ...
3758 * io/openat64_2.c: ... this new file.
3759 * io/Makefile (routines): Add them.
3760 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3761 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3762 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3763 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3764 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3765 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3766 (__openat64): Add hidden_ver.
3767 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3768 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3769
60bfd54c
RM
3770 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3771 Separately conditionalize setting of GLRO(dl_sysinfo) so
3772 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3773 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3774
83e7640f
AZ
37752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3776
3777 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3778 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3779 definition.
3780 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3781 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3782 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3783 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3784 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3785
d5dc2af3
JM
37862013-05-03 Joseph Myers <joseph@codesourcery.com>
3787
c31a5b1e
JM
3788 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3789 test signgam value.
3790
d5dc2af3
JM
3791 * math/libm-test.inc (hypot_test): Do not use
3792 IGNORE_ZERO_INF_SIGN.
3793
164fd39d
AJ
37942013-05-03 Andreas Jaeger <aj@suse.de>
3795
3796 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3797 Linux 3.9.
3798 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3799 (PF_MAX): Adjust for VSOCK change.
3800
8237f48c
AZ
38012013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3802
3803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3804
9df02941
CD
38052013-05-02 Carlos O'Donell <carlos@redhat.com>
3806
3807 [BZ #15264]
3808 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3809 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3810 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3811
d422395e
DM
38122013-05-02 David S. Miller <davem@davemloft.net>
3813
3814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3815
a07c5731
OB
38162013-05-01 Ondřej Bílka <neleai@seznam.cz>
3817
3818 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3819
1324e37f
RM
38202013-05-01 Roland McGrath <roland@hack.frob.com>
3821
3822 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3823
0695940b
RS
38242013-05-01 Richard Smith <richard@metafoo.co.uk>
3825
bb5f27ad 3826 [BZ #14952]
0695940b
RS
3827 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3828 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3829 Use __attribute__ ((__gnu_inline__)).
3830 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3831 Don't use __attribute__ ((__gnu_inline__)).
3832
10de07f5
JM
38332013-05-01 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #15423]
3836 * math/s_catan.c (__catan): Handle small real or imaginary part of
3837 input specially to avoid spurious underflow.
3838 * math/s_catanf.c (__catanf): Likewise.
3839 * math/s_catanh.c (__catanh): Likewise.
3840 * math/s_catanhf.c (__catanhf): Likewise.
3841 * math/s_catanhl.c (__catanhl): Likewise.
3842 * math/s_catanl.c (__catanl): Likewise.
3843 * math/libm-test.inc (catan_test): Add more tests.
3844 (catanh_test): Likewise.
3845 * sysdeps/i386/fpu/libm-test-ulps: Update.
3846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3847
cb4d5414
AZ
38482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849
3850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3851
caf84319
JM
38522013-04-30 Joseph Myers <joseph@codesourcery.com>
3853
3854 [BZ #15416]
3855 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3856 accurately for denominator in atan2.
3857 * math/s_catanf.c (__catanf): Likewise.
3858 * math/s_catanh.c (__catanh): Likewise.
3859 * math/s_catanhf.c (__catanhf): Likewise.
3860 * math/s_catanhl.c (__catanhl): Likewise.
3861 * math/s_catanl.c (__catanl): Likewise.
3862 * math/libm-test.inc (catan_test): Add more tests.
3863 (catanh_test): Likewise.
3864 * sysdeps/i386/fpu/libm-test-ulps: Update.
3865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3866
d569c6ee
SP
38672013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
6dbe713d
SP
3869 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3870
f0ee064b
SP
3871 * benchtests/Makefile (bench): Remove slow benchmarks.
3872 * benchtests/atan-inputs: Add slow benchmark inputs.
3873 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3874 (BENCH_FUNC): Accept variant offset.
3875 (VARIANT): Define.
3876 * benchtests/bench-skeleton.c (main): Run benchmark for each
3877 variant.
3878 * benchtests/cos-inputs: Add slow benchmark inputs.
3879 * benchtests/exp-inputs: Likewise.
3880 * benchtests/pow-inputs: Likewise.
3881 * benchtests/sin-inputs: Likewise.
3882 * benchtests/slowatan-inputs: Remove.
3883 * benchtests/slowatan.c: Remove.
3884 * benchtests/slowcos-inputs: Remove.
3885 * benchtests/slowcos.c: Remove.
3886 * benchtests/slowexp-inputs: Remove.
3887 * benchtests/slowexp.c: Remove.
3888 * benchtests/slowpow-inputs: Remove.
3889 * benchtests/slowpow.c: Remove.
3890 * benchtests/slowsin-inputs: Remove.
3891 * benchtests/slowsin.c: Remove.
3892 * benchtests/slowtan-inputs: Remove.
3893 * benchtests/slowtan.c: Remove.
3894 * benchtests/tan-inputs: Add slow benchmark inputs.
3895 * scripts/bench.pl: Parse comments and directives.
3896
d569c6ee
SP
3897 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3898 in CPPFLAGS.
3899 ($(objpfx)bench-%.c): Remove *-ITER.
3900 * benchtests/bench-modf.c: Remove definition of ITER.
3901 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3902 (main): Loop for DURATION seconds instead of fixed number of
3903 iterations.
3904 * scripts/bench.pl: Don't expect iterations in parameters.
3905
a6a242fe
RM
39062013-04-29 Roland McGrath <roland@hack.frob.com>
3907
3908 * io/fchdir.c (__fchdir): Renamed from fchdir.
3909 (fchdir): Define as weak alias.
3910
f2da7793
JM
39112013-04-29 Joseph Myers <joseph@codesourcery.com>
3912
3913 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3914 (ERRNO_EDOM): Likewise.
3915 (ERRNO_ERANGE): Likewise.
3916 (noErrnoTests): New variable.
3917 (init_max_error): Set errno to 0.
3918 (test_single_errno): New function.
3919 (test_errno): Likewise.
3920 (check_float_internal): Call test_errno. Set errno to 0.
3921 (check_complex): Refer to errno tests in comment.
3922 (check_int): Call test_errno. Set errno to 0.
3923 (check_long): Likewise.
3924 (check_bool): Likewise.
3925 (check_longlong): Likewise.
3926 (cos_test): Use ERRNO_* flags for errno tests instead of
3927 check_int.
3928 (expm1_test): Likewise.
3929 (fmod_test): Likewise.
3930 (ilogb_test): Likewise.
3931 (lgamma_test): Likewise.
3932 (pow_test): Likewise.
3933 (remainder_test): Likewise.
3934 (sin_test): Likewise.
3935 (tan_test): Likewise.
3936 (yn_test): Likewise.
3937 (initialize): Set errno to 0.
3938 (main): Print number of errno tests.
3939 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3940
b1a36ceb
AJ
39412013-04-29 Andreas Jaeger <aj@suse.de>
3942
c3ed8088
AJ
3943 [BZ #15084]
3944 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3945 and RES_USEVC.
3946
f1a24198
AJ
3947 [BZ #15085]
3948 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3949 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3950 unimplemented.
3951
9ce3b2cb
AJ
3952 [BZ #15380]
3953 * stdlib/random.c (__initstate): Return NULL if
3954 __initstate fails.
3955
f1a24198 3956 [BZ #15086]
b1a36ceb
AJ
3957 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3958 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3959 RES_SNGLKUPREOP.
3960
7e7b6f36
AZ
39612013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3962
3963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3964
4d14f449
JM
39652013-04-29 Joseph Myers <joseph@codesourcery.com>
3966
3967 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3968 of individual tests.
3969 (casin_test): Likewise.
3970 (casinh_test): Likewise.
3971
5b4217d7
JM
39722013-04-27 Joseph Myers <joseph@codesourcery.com>
3973
3974 [BZ #15409]
3975 * math/s_catan.c (__catan): Handle arguments with large real or
3976 imaginary part separately without squaring.
3977 * math/s_catanf.c (__catanf): Likewise.
3978 * math/s_catanh.c (__catanh): Likewise.
3979 * math/s_catanhf.c (__catanhf): Likewise.
3980 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3981 and redefine.
3982 (__catanhl): Handle arguments with large real or imaginary part
3983 separately without squaring.
3984 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3985 and redefine.
3986 (__catanl): Handle arguments with large real or imaginary part
3987 separately without squaring.
3988 * math/libm-test.inc (catan_test): Add more tests.
3989 (catanh_test): Likewise.
3990 * sysdeps/i386/fpu/libm-test-ulps: Update.
3991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3992
4220c3ef
AJ
39932013-04-27 Andreas Jaeger <aj@suse.de>
3994
3995 [BZ #15007]
3996 * stdlib/stdlib.h: Update guards for qecvt.
3997 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3998 <stdlib.h>.
3999
4721b2d1
AM
40002013-04-27 Allan McRae <allan@archlinux.org>
4001
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003
f0302940
JM
40042013-04-26 Joseph Myers <joseph@codesourcery.com>
4005
9457fd95
JM
4006 [BZ #15406]
4007 * math/s_catan.c: Include <float.h>.
4008 (__catan): Ensure underflow exception occurs for underflowed
4009 result.
4010 * math/s_catanf.c: Include <float.h>.
4011 (__catanf): Ensure underflow exception occurs for underflowed
4012 result.
4013 * math/s_catanh.c: Include <float.h>.
4014 (__catanh): Ensure underflow exception occurs for underflowed
4015 result.
4016 * math/s_catanhf.c: Include <float.h>.
4017 (__catanhf): Ensure underflow exception occurs for underflowed
4018 result.
4019 * math/s_catanhl.c: Include <float.h>.
4020 (__catanhl): Ensure underflow exception occurs for underflowed
4021 result.
4022 * math/s_catanl.c: Include <float.h>.
4023 (__catanl): Ensure underflow exception occurs for underflowed
4024 result.
4025 * math/libm-test.inc (catan_test): Add more tests.
4026 (catanh_test): Likewise.
4027
f0302940
JM
4028 [BZ #15405]
4029 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4030 underflowed result.
4031 * math/s_ccoshf.c (__ccoshf): Likewise.
4032 * math/s_ccoshl.c (__ccoshl): Likewise.
4033 * math/s_csin.c (__csin): Likewise.
4034 * math/s_csinf.c (__csinf): Likewise.
4035 * math/s_csinh.c (__csinh): Likewise.
4036 * math/s_csinhf.c (__csinhf): Likewise.
4037 * math/s_csinhl.c (__csinhl): Likewise.
4038 * math/s_csinl.c (__csinl): Likewise.
4039 * math/libm-test.inc (ccos_test): Add more tests.
4040 (ccosh_test): Likewise.
4041 (csin_test): Likewise.
4042 (csinh_test): Likewise.
4043
aa630f59
AZ
40442013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4045
4046 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4047 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4048 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4049 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4050 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4051 powerpc/power5+/fpu folders.
4052 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4053
4054
1b835983
MT
40552013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4056
4057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4058
73709b26
JM
40592013-04-25 Joseph Myers <joseph@codesourcery.com>
4060
4061 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4062 additions to variable.
4063 [$(config-machine) = x86_64] (modules-names): Likewise.
4064 ($(objpfx)tst-audit3): Remove dependency.
4065 ($(objpfx)tst-audit3.out): Likewise.
4066 ($(objpfx)tst-audit4): Likewise.
4067 ($(objpfx)tst-audit4.out): Likewise.
4068 ($(objpfx)tst-audit5): Likewise.
4069 ($(objpfx)tst-audit5.out): Likewise.
4070 ($(objpfx)tst-audit6): Likewise.
4071 ($(objpfx)tst-audit6.out): Likewise.
4072 ($(objpfx)tst-audit7): Likewise.
4073 ($(objpfx)tst-audit7.out): Likewise.
4074 (tst-audit3-ENV): Remove variable.
4075 (tst-audit4-ENV): Likewise.
4076 (tst-audit5-ENV): Likewise.
4077 (tst-audit6-ENV): Likewise.
4078 (tst-audit7-ENV): Likewise.
4079 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4080 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4081 addition to variable.
4082 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4085 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4086 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4087 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4088 tst-audit3, tst-audit4 and tst-audit5.
4089 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4090 tst-audit6 and tst-audit7.
4091 [$(subdir) = elf] (modules-names): Add audit modules for those
4092 tests.
4093 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4094 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4095 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4096 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4097 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4098 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4099 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4100 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4101 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4102 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4103 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4104 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4105 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4106 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4107 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4108 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4109 Likewise.
4110 [$(subdir) = elf && $(config-cflags-avx) = yes]
4111 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4112 [$(subdir) = elf && $(config-cflags-avx) = yes]
4113 (CFLAGS-tst-auditmod4a.c): Likewise.
4114 [$(subdir) = elf && $(config-cflags-avx) = yes]
4115 (CFLAGS-tst-auditmod4b.c): Likewise.
4116 [$(subdir) = elf && $(config-cflags-avx) = yes]
4117 (CFLAGS-tst-auditmod6b.c): Likewise.
4118 [$(subdir) = elf && $(config-cflags-avx) = yes]
4119 (CFLAGS-tst-auditmod6c.c): Likewise.
4120 [$(subdir) = elf && $(config-cflags-avx) = yes]
4121 (CFLAGS-tst-auditmod7b.c): Likewise.
4122 * elf/tst-audit3.c: Move to ...
4123 * sysdeps/x86_64/tst-audit3.c: ... here.
4124 * elf/tst-audit4.c: Move to ...
4125 * sysdeps/x86_64/tst-audit4.c: ... here.
4126 * elf/tst-audit5.c: Move to ...
4127 * sysdeps/x86_64/tst-audit5.c: ... here.
4128 * elf/tst-audit6.c: Move to ...
4129 * sysdeps/x86_64/tst-audit6.c: ... here.
4130 * elf/tst-audit7.c: Move to ...
4131 * sysdeps/x86_64/tst-audit7.c: ... here.
4132 * elf/tst-auditmod3a.c: Move to ...
4133 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4134 * elf/tst-auditmod3b.c: Move to ...
4135 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4136 * elf/tst-auditmod4a.c: Move to ...
4137 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4138 * elf/tst-auditmod4b.c: Move to ...
4139 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4140 * elf/tst-auditmod5a.c: Move to ...
4141 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4142 * elf/tst-auditmod5b.c: Move to ...
4143 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4144 * elf/tst-auditmod6a.c: Move to ...
4145 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4146 * elf/tst-auditmod6b.c: Move to ...
4147 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4148 * elf/tst-auditmod6c.c: Move to ...
4149 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4150 * elf/tst-auditmod7a.c: Move to ...
4151 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4152 * elf/tst-auditmod7b.c: Move to ...
4153 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4154
1ef74943
PP
41552013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4156
4157 [BZ #15366]
4158 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4159 define unconditionally.
4160 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4161 define unconditionally.
4162 (INT8_C, INT16_C, etc.): Likewise.
4163
93fd48c5
MR
41642013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4165
ae9552cf
MR
4166 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4167 __ehdr_start with hidden visibility.
4168
93fd48c5
MR
4169 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4170
418601aa
CD
41712013-04-24 Carlos O'Donell <carlos@redhat.com>
4172
4173 * math/libm-test.inc (cos_test): Use accurate hex constants.
4174 (sincost_test): Likewise.
4175
2f38fbfe
JM
41762013-04-24 Joseph Myers <joseph@codesourcery.com>
4177
5e221800
JM
4178 * math/libm-test.inc (catan_test): Add more tests.
4179 (catanh_test): Likewise.
4180
77f143fd
JM
4181 * math/s_catanf.c (__catanf): Use suffixed floating-point
4182 constants.
4183 * math/s_catanhf.c (__catanhf): Likewise.
4184 * math/s_catanhl.c (__catanhl): Likewise.
4185 * math/s_catanl.c (__catanl): Likewise.
4186
2f38fbfe
JM
4187 [BZ #15394]
4188 * math/s_catan.c (__catan): Calculate imaginary part of result
4189 with log1p not log unless computing log of number close to 0.
4190 * math/s_catanf.c (__catanf): Likewise.
4191 * math/s_catanl.c (__catanl): Likewise.
4192 * math/s_catanh.c (__catanh): Calculate real part of result with
4193 log1p not log unless computing log of number close to 0.
4194 * math/s_catanhf.c (__catanhf): Likewise.
4195 * math/s_catanhl.c (__catanhl): Likewise.
4196 * math/libm-test.inc (catan_test): Add more tests.
4197 (catanh_test): Likewise.
4198 * sysdeps/i386/fpu/libm-test-ulps: Update.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4200
45d69176
SP
42012013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4202
4203 * benchtests/Makefile: Mention files in which fast and slow
4204 paths of math functions are implemented.
4205
87f51853
RM
42062013-04-23 Roland McGrath <roland@hack.frob.com>
4207
4208 * sysdeps/posix/timespec_get.c: New file.
4209
3c026539
AZ
42102013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4211
4212 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4213 POWER.
4214 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4215 for POWER.
4216 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4217 powerpc/power5/fpu folders.
4218 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4219 * benchtests/Makefile: Add modf testcase.
4220 * benchtests/bench-modf.c: New file: Benchmark test for mo
4221
ff491d14
SP
42222013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
4224 [BZ #14888]
4225 * time/Makefile (tests): Add tst-strptime-whitespace.
4226 * time/strptime_l.c (get_number): Use ISSPACE.
4227 (__strptime_internal): Likewise.
4228 * time/tst-strptime-whitespace.c: New test case.
4229
7ed3f4e8
AS
42302013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4231
4232 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4233 member.
4234 (_nss_files_init): Set it here.
4235
5c95f7b6
HC
42362013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4237
4238 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4239 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4240 unsigned.
4241
d34c9158
JBG
42422013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4243
4244 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4245
2169712d
SP
42462013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4247
4248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4249 size just once.
4250
29c5de99
DM
42512013-04-21 David S. Miller <davem@davemloft.net>
4252
4253 * po/ru.po: Update Russion translation from translation project.
4254
ccdad15d
AC
42552013-04-17 Adam Conrad <adconrad@0c3.net>
4256
4257 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4258 and setfsgid.
4259
0f122b8d
CD
42602013-04-17 Carlos O'Donell <carlos@redhat.com>
4261
5c5b07da 4262 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4263 * configure: Regenerate.
5c5b07da 4264 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4265 Add example to error message.
4266 * sysdeps/i386/configure: Regenerate.
4267
037714dd
SP
42682013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4269
4270 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4271 slowtan.
4272 * benchtests/cos-inputs: New file.
4273 * benchtests/slowcos-inputs: New file.
4274 * benchtests/slowcos.c: New file.
4275 * benchtests/slowtan-inputs: New file.
4276 * benchtests/slowtan.c: New file.
4277 * benchtests/tan-inputs: New file.
4278
e913141d
RM
42792013-04-16 Roland McGrath <roland@hack.frob.com>
4280
4281 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4282 considered kosher.
4283
a2964074
SP
42842013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4285
4856bcd2
SP
4286 * benchtests/Makefile: Include cppflags-iterator.mk to add
4287 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4288
a2964074
SP
4289 * Makefile.in (bench-clean): New target.
4290 * benchtests/Makefile (bench-clean): Likewise.
4291
9fbf9aca
DH
42922013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4293
4294 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4295
207d1e2a
TS
42962013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4297
4298 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4299
306dfba9
AS
43002013-04-15 Andreas Schwab <schwab@suse.de>
4301
4302 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4304 * nscd/pwdcache.c (cache_addpw): Likewise.
4305 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4306 more than recsize.
4307
206a6699
SP
43082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
4310 * benchtests/Makefile (bench): Write all output to
4311 bench-out.tmp together.
4312
0582f6b3
AS
43132013-04-15 Andreas Schwab <schwab@suse.de>
4314
4315 * nscd/nscd.c (main): Don't fork again after closing files.
4316
acb4325f
SP
43172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4318
5cb26d0a
SP
4319 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4320
acb4325f
SP
4321 * benchtests/Rules (bench-deps): Collect dependencies into a
4322 single variable. Add Makefile to dependencies.
4323 ($(objpfx)bench-%.c): Depend on bench-deps.
4324
47792506
RM
43252013-04-12 Roland McGrath <roland@hack.frob.com>
4326 Xavier Roche <roche+kml2@exalead.com>
4327
4328 [BZ #15361]
4329 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4330 just that it's a file descriptor.
4331 * manual/llio.texi (Synchronizing AIO Operations): Update description
4332 for EBADF error from aio_fsync.
4333
8fc1bee5
SP
43342013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4335
4336 * Rules (bench): Move target definition...
4337 * benchtests/Makefile: ... here.
4338
aba5e333
CD
43392013-04-11 Carlos O'Donell <carlos@redhat.com>
4340
4341 * math/libm-test.inc (cos_test): Fix PI/2 test.
4342 (sincos_test): Likewise.
4343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4344 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4345
273cdee8
AS
43462013-04-11 Andreas Schwab <schwab@suse.de>
4347
6ecec3b6
AS
4348 [BZ #13988]
4349 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4350 accept exponent character only when digits were seen.
4351 * stdio-common/Makefile (tests): Add bug26.
4352 * stdio-common/bug26.c: New file.
4353
273cdee8
AS
4354 [BZ #14293]
4355 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4356 non-freeable.
4357
8da491f5
SP
43582013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
01dc6df9
SP
4360 * Makeconfig (rtld-prefix): Define built linker prefix.
4361 * Rules (run-bench): Use it.
4362 * math/Makefile (run-regen-ulps): Likewise.
4363
8da491f5
SP
4364 * Rules (bench): Remove eval.
4365
abe7f530
SP
43662013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4367 Roland McGrath <roland@hack.frob.com>
4368 Ondrej Bilka <neleai@seznam.cz>
4369
4370 [BZ #15346]
4371 * time/getdate.c: Include ctype.h and alloca.h.
4372 (__getdate_r): Trim leading and trailing spaces of input.
4373 * time/tst-getdate.c (tests): Add tests with leading and
4374 trailing spaces.
4375
61c23e62
RM
43762013-04-08 Roland McGrath <roland@hack.frob.com>
4377
4378 [BZ #14280]
4379 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4380 when computing value.
4381
7208a313
CD
43822013-04-06 Carlos O'Donell <carlos@redhat.com>
4383
085b2d41
CD
4384 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4385 Use testrun.sh to run libm tests.
4386
7208a313
CD
4387 [BZ #15309]
4388 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4389
872c0acd
MM
43902013-04-06 Marko Myllynen <myllynen@redhat.com>
4391
4392 [BZ #15264]
4393 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4394
26510bdd
CD
43952013-04-06 Carlos O'Donell <carlos@redhat.com>
4396
4397 * Makefile.in (regen-ulps): New target.
4398 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4399 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4400 [ifneq (no,$(PERL)] (regen-ulps): New target.
4401 [ifeq (no,$(PERL)] (regen-ulps): New target.
4402 * math/libm-test.inc (ulps_file_name): Define.
4403 (output_dir): New variable.
4404 (options): Add "output-dir" option.
4405 (parse_opt): Handle 'o' case.
4406 (main): If output_dir is non-NULL use it as a prefix
4407 otherwise use "".
4408 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4409
a01f19c8
CD
44102013-04-06 Carlos O'Donell <carlos@redhat.com>
4411
4412 [BZ #10060, #10062]
4413 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4414 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4415 fail configure if __sync_val_compare_and_swap is not inlined.
4416 * sysdeps/i386/configure: Regenerate.
4417 * configure.in: Build for i686 when configured for i386.
4418 * configure: Regenerate.
4419 * README: Remove i386 reference.
4420
b7a329a5
CD
44212013-04-06 Carlos O'Donell <carlos@redhat.com>
4422
4423 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4425
bf0f50df
TS
44262013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4427
ee091edf
TS
4428 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4429 (lmsnanval): New variables.
4430 (F): Add conversion tests.
4431 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4432 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4433
a8b792d6
TS
4434 * stdio-common/tstdiomisc.c (F): Properly collect individual
4435 tests' results.
4436
a1cbf437
TS
4437 [BZ #14686, #15336]
4438 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4439 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4440 Instead, use input NaN values or generate a qNaN by arithmetic
4441 operation. Also fix bugs to comply with the standard.
4442 * math/libm-test.inc (remainder_test): Add more tests.
4443
8b43a0c9
TS
4444 [BZ #15335, #15342]
4445 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4447 input NaN values or generate a qNaN by arithmetic operation.
4448
d91da4ce
TS
4449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4450 unreachable code.
4451
bf0f50df
TS
4452 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4453 definitions.
4454
05e166c8
JM
44552013-04-03 Joseph Myers <joseph@codesourcery.com>
4456
4457 [BZ #14478]
4458 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4459 underflowed result.
4460 * math/s_cexpf.c (__cexpf): Likewise.
4461 * math/s_cexpl.c (__cexpl): Likewise.
4462 * math/libm-test.inc (cexp_test): Add more tests.
4463
1cef1b19
AS
44642013-04-03 Andreas Schwab <schwab@suse.de>
4465
4466 [BZ #15330]
4467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4468 order arrays from heap if bigger than alloca cutoff.
4469
74d87055
TS
44702013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4471
4472 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4473 (SNAN_TESTS_double): Refer to GCC PR56831.
4474 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4475 GCC PR56828.
4476
d755bba4
SP
44772013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4478
90d5d5bb
SP
4479 * Rules (bench): Move bench.out after the run is complete.
4480
73e0cd5d
SP
4481 * Rules (bench): Echo currently running benchmark.
4482
64aabd4b
SP
4483 * benchtests/Makefile (bench): Add atan and slowatan.
4484 * benchtests/atan-inputs: New file.
4485 * benchtests/slowatan-inputs: New file.
4486 * benchtests/slowatan.c: New file.
4487
c871eccd
SP
4488 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4490 its value.
4491
d755bba4
SP
4492 [BZ #15305]
4493 * sysdeps/unix/sysv/linux/kernel-features.h
4494 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4495 __ASSUME_XFS_RESTRICTED_CHOWN.
4496 * sysdeps/unix/sysv/linux/pathconf.c
4497 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4498 Save and restore errno.
4499
52ce4860
JM
45002013-04-02 Joseph Myers <joseph@codesourcery.com>
4501
4502 [BZ #15327]
4503 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4504 arguments using __kernel_casinh.
4505 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4506 arguments using __kernel_casinhf.
4507 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4508 arguments using __kernel_casinhl.
4509 * math/libm-test.inc (cacosh_test): Add more tests.
4510 * sysdeps/i386/fpu/libm-test-ulps: Update.
4511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4512
81f311c2
SP
45132013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4514
e7906a47
SP
4515 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4517
92e3664b
SP
4518 * bench/Makefile (bench): Add sin and slowsin.
4519 * benchtests/sin-inputs: New file.
4520 * benchtests/slowsin-inputs: New file.
4521 * benchtests/slowsin.c: New file.
4522
81f311c2
SP
4523 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4524 (bench): Add slowexp and slowpow.
4525 (exp-ITER): Increase iterations.
4526 (pow-ITER): Likewise.
4527 * benchtests/exp-inputs: Change input.
4528 * benchtests/pow-inputs: Likewise.
4529 * benchtests/slowexp-inputs: New file.
4530 * benchtests/slowexp.c: New file.
4531 * benchtests/slowpow-inputs: New file.
4532 * benchtests/slowpow.c: New file.
4533
ab0f1aa9
AZ
45342013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535
4536 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4537 instructions.
4538 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4539 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4540 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4541 * benchtests/Makefile: Add rint benchtest.
4542 * benchtests/rint-inputs: Input for rint benchtest.
4543
57267616
TS
45442013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4545
4546 * Versions.def (libm): Add GLIBC_2.18.
4547 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4548 hidden libm prototypes.
4549 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4550 * math/Makefile (libm-calls): Add s_issignaling.
4551 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4552 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4553 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4554 declaration.
4555 * math/math.h [__USE_GNU] (issignaling): New macro.
4556 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4557 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4559 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4560 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4561 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4562 * manual/arith.texi (issignaling): New section.
4563 * manual/libm-err-tab.pl (@all_functions): Update comment.
4564 * math/gen-libm-test.pl (parse_args): Apply special handling for
4565 issignaling.
4566 * math/libm-test.inc (print_float, issignaling_test): New
4567 functions.
4568 (check_float_internal): Add issignaling checks.
4569 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4570 default definition.
4571 * sysdeps/powerpc/math-tests.h: New file.
4572 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4573 tests.
4574 * math/test-snan.c (TEST_FUNC): Likewise.
4575
6142896d
DM
45762013-03-30 David S. Miller <davem@davemloft.net>
4577
4578 * po/de.po: Update from translation team.
4579
ccc8cadf
JM
45802013-03-30 Joseph Myers <joseph@codesourcery.com>
4581
4582 [BZ #10357]
4583 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4584 imaginary part less than 1.0 and real part less than 0.5
4585 specially.
4586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4588 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4589 (cacos_test): Add more tests.
4590 (casin_test): Likewise.
4591 (casinh_test): Likewise.
4592 * sysdeps/i386/fpu/libm-test-ulps: Update.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4594
0f6a8d4b
SP
45952013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4596
0d1029de
SP
4597 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4598 ONE with its value.
4599
c2d94018
SP
4600 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4601 (__pow_mp): Replace ONE and MONE with their values.
4602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4604 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4605 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4606 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4607 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4608
27ec37f1
SP
4609 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4610
a64d7e0e
SP
4611 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4612 (__pow_mp): Replace ZERO and MZERO with their values.
4613 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4615 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4617 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4618 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4619 (__sqr): Likewise.
4620
d26dd3eb
SP
4621 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4622
0f6a8d4b
SP
4623 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4624
e57b0c61
RM
46252013-03-28 Roland McGrath <roland@hack.frob.com>
4626
4627 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4628 Declare with __attribute__ ((weak)).
4629 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4630 Call __call_tls_dtors only if it's not NULL.
4631
356b3480
RM
46322013-03-28 Roland McGrath <roland@hack.frob.com>
4633
288f7d79
RM
4634 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4635 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4636 magic __ehdr_start linker symbol if it's defined.
4637 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4638 them up here if it was already done.
4639
dc0a0263
RM
4640 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4641 (_dl_aux_init): Use const in cast when setting it.
4642 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4643 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4644 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4645
3d3436ae
RM
4646 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4647 Declare them here.
4648 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4649 * csu/libc-tls.c: Nor here.
4650 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4651
356b3480
RM
4652 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4653 (__libc_message): Never call vsyslog.
4654
b0f1246a
AM
46552013-03-28 Alan Modra <amodra@gmail.com>
4656
4657 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4658 Define as empty.
4659 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4660 Likewise.
4661
fbbe2b9a
AZ
46622013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4663
4664 [BZ #15214]
4665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4666 underflow.
4667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4668
1728ab37
SP
46692013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4670
7a86be6e
SP
4671 [BZ #15304]
4672 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4673 Don't add gid passed as argument.
4674
1728ab37
SP
4675 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4676
3a7182a1
JM
46772013-03-27 Joseph Myers <joseph@codesourcery.com>
4678
4679 [BZ #15307]
4680 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4681 imaginary part between 1.0 and 1.5 and real part less than 0.5
4682 specially.
4683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4685 * math/libm-test.inc (cacos_test): Add more tests.
4686 (casin_test): Likewise.
4687 (casinh_test): Likewise.
4688 * sysdeps/i386/fpu/libm-test-ulps: Update.
4689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4690
6f2e90e7
SP
46912013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4692
5739f705
SP
4693 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4694 constants.
4695 (norm): Likewise.
4696 (denorm): Likewise.
4697 (__dbl_mp): Likewise.
4698 (add_magnitudes): Likewise.
4699 (sub_magnitudes): Likewise.
4700 (__add): Likewise.
4701 (__sub): Likewise.
4702 (__mul): Likewise.
4703 (__sqr): Likewise.
4704 (__inv): Likewise.
4705 (__dvd): Likewise.
4706
e375e83d
SP
4707 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4708 commented code.
4709 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4710 (__dubcos): Likewise.
4711 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4712 (__ieee754_acos): Likewise.
4713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4714 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4715 (__exp1): Likewise.
4716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4718 (log1): Likewise.
4719 (my_log2): Likewise.
4720 (checkint): Likewise.
4721 * sysdeps/ieee754/dbl-64/e_remainder.c
4722 (__ieee754_remainder): Likewise.
4723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4725 (bsloww): Likewise.
4726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4727
6f2e90e7
SP
4728 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4729 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4730 MANTISSA_STORE_T to store computations on mantissa. Use
4731 macros for rounding and division.
4732 (denorm): Likewise.
4733 (__dbl_mp): Likewise.
4734 (add_magnitudes): Likewise.
4735 (sub_magnitudes): Likewise.
4736 (__mul): Likewise.
4737 (__sqr): Likewise.
4738 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4739 powers of two in terms of TWOPOW macro.
4740 (mp_no): Make type of mantissa as MANTISSA_T.
4741 [!RADIXI]: Define RADIXI.
4742 [!TWO52]: Define TWO52.
4743 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4744
fce14d4e
AZ
47452013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746
4747 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4748 llroundl symbol when building for PPC32.
4749
9ad027fb
MW
47502013-03-24 Mark H Weaver <mhw@netris.org>
4751
4752 * manual/arith.texi (Normalization Functions): Fix prototypes for
4753 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4754
e42a38dd
AZ
47552013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
4757 [BZ #13889]
4758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4759 high value to check if expl overflow.
4760 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4761 to check for underflow and overflow.
4762 * math/libm-test.inc: Add exp test.
4763
2e0fb521
DL
47642013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4765
4766 [BZ #11120]
4767 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4768 with NOT_IN_libc.
4769
b5784d95
AZ
47702013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771
4772 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4773 symbol.
4774
5aa4a1a1
TS
47752013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4776
bdef0be7
TS
4777 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4778 wrap blocks consisting of several statements.
4779
5aa4a1a1
TS
4780 * sysdeps/generic/math-tests.h: New file.
4781 * sysdeps/i386/fpu/math-tests.h: Likewise.
4782 * math/test-snan.c: Include it.
4783 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4784
98c48fe5
JM
47852013-03-21 Joseph Myers <joseph@codesourcery.com>
4786
4787 [BZ #15285]
4788 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4789 (__ieee754_j0l): Do not improve calculations using cos of twice
4790 input for inputs above LDBL_MAX / 2.0L.
4791 (__ieee754_y0l): Likewise.
4792 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4793 (__ieee754_j1l): Do not improve calculations using cos of twice
4794 input for inputs above LDBL_MAX / 2.0L.
4795 (__ieee754_y1l): Likewise.
4796 * math/libm-test.inc (j0_test): Add another test.
4797 (j1_test): Likewise.
4798 (y0_test): Likewise.
4799 (y1_test): Likewise.
4800 * sysdeps/i386/fpu/libm-test-ulps: Update.
4801
3775a8bc
SP
48022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4803
4804 * Rules ($(objpfx)bench-%.c): Include code from a C source
4805 file.
4806
0a1b2ae6
JM
48072013-03-21 Joseph Myers <joseph@codesourcery.com>
4808
4809 [BZ #15287]
4810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4811 imaginary part 1.0 and real part less than 0.5 specially.
4812 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4813 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4814 * math/libm-test.inc (cacos_test): Add more tests.
4815 (casin_test): Likewise.
4816 (casinh_test): Likewise.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
b33d4ce4
SP
48202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4821
4822 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4823 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4824
bef0b507
JM
48252013-03-20 Joseph Myers <joseph@codesourcery.com>
4826
4827 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4828 * config.make.in (config-cflags-sse4): Remove variable.
4829 (config-cflags-avx): Likewise.
4830 (config-cflags-sse2avx): Likewise.
4831 (config-cflags-novzeroupper): Likewise.
4832 (config-asflags-i686): Likewise.
4833 (have-mfma4): Likewise.
4834 (have-as-vis3): Likewise.
4835 (MIG): Likewise.
4836 * configure.in (MIG): Do not AC_SUBST.
4837 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4838 (libc_cv_cc_sse4): Do not AC_SUBST.
4839 (libc_cv_cc_avx): Likewise.
4840 (libc_cv_cc_sse2avx): Likewise.
4841 (libc_cv_cc_novzeroupper): Likewise.
4842 (libc_cv_cc_fma4): Likewise.
4843 (libc_cv_as_i686): Likewise.
4844 (libc_cv_sparc_as_vis3): Likewise.
4845 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4846 LIBC_CONFIG_VAR.
4847 (config-asflags-i686): Likewise.
4848 (config-cflags-avx): Likewise.
4849 (config-cflags-sse2avx): Likewise.
4850 (have-mfma4): Likewise.
4851 (config-cflags-novzeroupper): Likewise.
4852 * sysdeps/mach/configure.in (MIG): Likewise.
4853 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4854 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4855 LIBC_CONFIG_VAR.
4856 (config-cflags-avx): Likewise.
4857 (config-cflags-sse2avx): Likewise.
4858 (have-mfma4): Likewise.
4859 (config-cflags-novzeroupper): Likewise.
4860 * configure: Regenerated.
4861 * sysdeps/i386/configure: Likewise.
4862 * sysdeps/mach/configure: Likewise.
4863 * sysdeps/sparc/configure: Likewise.
4864 * sysdeps/x86_64/configure: Likewise.
4865
912cc4b3
RM
48662013-03-20 Roland McGrath <roland@hack.frob.com>
4867
4868 [BZ #14812]
4869 * locale/programs/localedef.c (options): Put N_ translation marker
4870 on argument names, not just descriptions.
4871
04eed2b0
MS
48722013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4873
4874 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4875
a065ceff
OB
48762013-03-20 Ondřej Bílka <neleai@seznam.cz>
4877
9bb2a810 4878 [BZ #14176]
a065ceff
OB
4879 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4880
a600e5ce
RM
48812013-03-19 Roland McGrath <roland@hack.frob.com>
4882
4883 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4884 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4885 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4886 [!BEFORE_ABORT] (before_abort): New function.
4887 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4888 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4889 (writev_for_fatal): New function.
4890 (WRITEV_FOR_FATAL): New macro; call that.
4891 (backtrace_and_maps): New function.
4892 (BEFORE_ABORT): New macro; call that.
4893 (struct str_list): Type removed.
4894 (__libc_message, __libc_fatal): Functions removed.
4895 Include <sysdeps/posix/libc_fatal.c> instead.
4896
6b18bea6
JM
48972013-03-19 Joseph Myers <joseph@codesourcery.com>
4898
4899 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4900 constants.
4901 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4902 double constants.
4903
aaa8cb4b
AS
49042013-03-19 Andreas Schwab <schwab@suse.de>
4905
44673770
AS
4906 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4907 * sysdeps/gnu/configure: Regenerate.
4908
aaa8cb4b
AS
4909 * configure.in: Substitute libc_cv_rtlddir.
4910 * configure: Regenerate.
4911 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4912 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4913 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4914 * elf/Makefile (install-others, CFLAGS-interp.c)
4915 (ldso_install, common-ldd-rewrite): Likewise.
4916 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4917 $(inst_slibdir)/$(rtld-installed-name).
4918 * scripts/rellns-sh: Add -p option.
4919 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4920 for source.
4921
d3cfc668
SP
49222013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4923
4924 * manual/nptl.texi: Renamed to ...
4925 * manual/threads.texi: ... this.
4926 * manual/Makefile (chapters): Update.
4927
0e2b9cdd
RM
49282013-03-18 Roland McGrath <roland@hack.frob.com>
4929
4930 [BZ #14812]
4931 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4932 on argument names, not just descriptions.
0e2b9cdd
RM
4933 * malloc/memusagestat.c (options): Likewise.
4934 * nss/getent.c (options): Likewise.
63270c24
RM
4935
49362013-03-18 Benno Schulenberg <bensberg@justemail.net>
4937
4938 [BZ #14812]
4939 * iconv/iconv_prog.c (options): Put N_ translation marker
4940 on argument names, not just descriptions.
4941 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4942
b2e1393c
OB
49432013-03-18 Ondrej Bilka <neleai@seznam.cz>
4944
4945 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4946 implementation which is faster on all x86_64 architectures.
4947 Tested on AMD, Intel Nehalem, SNB, IVB.
4948 * sysdeps/x86_64/strnlen.S: Likewise.
4949
4950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4951 Remove all multiarch strlen and strnlen versions.
4952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4953 Remove strlen and strnlen related parts.
4954
4955 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4956 Inline strlen part.
4957 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4958
4959 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4961 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4962 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4964 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4965
ec4ff04d
CD
49662013-03-17 Carlos O'Donell <carlos@redhat.com>
4967
4968 * manual/memory.texi (Malloc Tunable Parameters):
4969 Sort parameters alphabetically. Add comments for missing entries.
4970
cd18e90a
DM
49712013-03-17 David S. Miller <davem@davemloft.net>
4972
4973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4974
2a185d32
JM
49752013-03-16 Joseph Myers <joseph@codesourcery.com>
4976
d2f9799e
JM
4977 [BZ #15283]
4978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4979 for arguments at most half maximum finite value.
4980 * math/libm-test.inc (j0_test): Add more tests.
4981 (j1_test): Likewise.
4982 (y0_test): Likewise.
4983 (y1_test): Likewise.
4984 * sysdeps/i386/fpu/libm-test-ulps: Update.
4985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4986
2a185d32
JM
4987 [BZ #14155]
4988 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4989 1 / x and functions P and Q for arguments above 0x1p256L.
4990 (__ieee754_y0l): Likewise.
4991 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4992 (__ieee754_y1l): Likewise.
4993 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4994 (j1_test): Likewise.
4995 (y0_test): Likewise.
4996 (y1_test): Likewise.
4997
6cbec759
TS
49982013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4999
5000 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5001 variable.
5002
bc16e260
RM
50032013-03-15 Roland McGrath <roland@hack.frob.com>
5004
aefc9b8c
RM
5005 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5006 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5007 zero since it's initialized to EXEC_PAGESIZE.
5008
bc16e260
RM
5009 * sysdeps/unix/sysv/linux/ldsodefs.h
5010 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5011 * sysdeps/generic/ldsodefs.h: ... here.
5012
a57da955
TS
50132013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5014
af00a34d
TS
5015 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5016
495ded2c
TS
5017 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5018 math/test-snan.c.
5019 * math/test-snan.c: Renamed from
5020 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5021 * math/Makefile (tests): Add test-snan.
5022 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5023 test-powerpc-snan.
5024
777b0332
TS
5025 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5026 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5027 functions.
5028 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5029 __builtin_nan family of functions.
5030 * math/libm-test.inc (initialize): Initialize qnan_value with
5031 __builtin_nan family of functions.
5032 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5033 Remove variables.
5034 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5035 Remove functions.
5036 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5037 storage class. Initialize qNaN_var and sNaN_var with
5038 __builtin_nan and __builtin_nans families of functions,
5039 respectively.
5040
64d063b8
TS
5041 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5042 (sqrt_test): Remove duplicate test with qNaN input.
5043 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5044 (round_test, signbit_test, significand_test): Note missing +/-Inf
5045 as well as qNaN tests.
5046
67e971f1
TS
5047 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5048 qNaN_var. Fix a few strings, too.
5049 * math/libm-test.inc (nan_value): Rename to qnan_value.
5050 * math/gen-libm-test.pl (%beautify): Adjust to that.
5051 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5052 * math/test-misc.c (main): Likewise.
5053 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5054 to __qnan_bytes, and __qnan_union, respectively.
5055 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5056 Likewise.
5057 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5058 and lqnanval, respectively.
5059 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5060 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5062 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5063
64487e12
TS
5064 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5065 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5066 doubles.
5067
e015e27b
TS
5068 * math/test-misc.c (main): Fix copy'n'pastos.
5069 * misc/tst-efgcvt.c (special): Likewise.
5070
a57da955
TS
5071 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5072 Remove declarations.
5073
1e380345
SP
50742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5077 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5078 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5079 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5080
ef26eece
AZ
50812013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5084 macro to return vdso values correctly in IFUNC implementations.
5085 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5086 Optimization by using IFUNC.
5087
8cfdb7e0
SP
50882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5089 Richard Henderson <rth@redhat.com>
5090 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5091
5092 * Makefile.in (bench): New target.
5093 * NEWS: Mention the benchmark framework.
5094 * Rules (bench): Likewise.
5095 (binaries-bench): Generate binaries for functions to
5096 benchmark.
5097 * benchtests/Makefile: New makefile for benchmark tests.
5098 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5099 programs.
5100 * benchtests/exp-inputs: New input file for EXP function.
5101 * benchtests/pow-inputs: New input file for POW function.
5102 * scripts/bench.pl: New script to generate source files for
5103 benchmark programs.
5104
bcda9880
SP
51052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5106
d22ca8cd
SP
5107 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5109 computations on mantissa. Use macros for rounding and
5110 division.
5111 (denorm): Likewise.
5112 (__dbl_mp): Likewise.
5113 (add_magnitudes): Likewise.
5114 (sub_magnitudes): Likewise.
5115 (__mul): Likewise.
5116 (__sqr): Likewise.
5117 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5118 powers of two in terms of TWOPOW macro.
5119 (mp_no): Make type of mantissa as MANTISSA_T.
5120 [!RADIXI]: Define RADIXI.
5121 [!TWO52]: Define TWO52.
5122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5123
bcda9880
SP
5124 * manual/nptl.texi (cindex): Modify threads to pthreads.
5125
06d5adfb
JM
51262013-03-15 Joseph Myers <joseph@codesourcery.com>
5127
5128 * sysdeps/x86_64/preconfigure: Regenerated.
5129
41c7328e
JM
51302013-03-14 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #14155]
5133 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5134 0x1p28 and above.
5135 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5136 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5137 0x1p28 and above.
5138 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5139 * math/libm-test.inc (j0_test): Do not allow one spurious
5140 underflow exception.
5141 (y1_test): Likewise.
5142
e25cfa60
SP
51432013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5144
0409959c
SP
5145 * manual/Makefile (chapters): Add nptl.
5146 * manual/debug.texi (Debugging Support): Add link to Threads
5147 chapter.
5148 * manual/nptl.texi: New file.
5149
e25cfa60
SP
5150 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5151
58a1335e
PB
51522013-03-14 Petr Baudis <pasky@ucw.cz>
5153
5154 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5155 for non-NULL pointer before the memory validity test. Pointed
5156 out by Holger Brunck <holger.brunck@keymile.com>.
5157
9dc7c64f
AS
51582013-03-13 Andreas Schwab <schwab@suse.de>
5159
5160 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5161 instead of .os.
5162
54206aa6
JM
51632013-03-13 Joseph Myers <joseph@codesourcery.com>
5164
5165 * timezone/zic.c: Update from tzcode 2013b.
5166
e98cdb38
CD
51672013-03-12 Carlos O'Donell <carlos@redhat.com>
5168
5169 * manual/install.texi (Configuring and compiling):
5170 Mention i686 and i586.
5171 * INSTALL: Regenerate.
5172
9967e003
RM
51732013-03-12 Roland McGrath <roland@hack.frob.com>
5174
5175 * sysdeps/init_array/elf-init.c: New file.
5176 * csu/elf-init.c
5177 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5178 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5179
5180 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5181 __gmon_start__ as global, but as static with a .preinit_array pointer.
5182 * sysdeps/init_array/gmon-start.c: New file. Use that.
5183 * sysdeps/init_array/crti.S: New file, empty except for comments.
5184 * sysdeps/init_array/crtn.S: Likewise.
5185
e6b5a293 51862013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5187
5188 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5189 definining bcopy.
80f844c9
OB
5190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5191 Remove Prefer_SSE_for_memop.
5192 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5193 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5194 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5196 memset-x86-64.
80f844c9 5197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5198 Remove bzero, memset ifunc support.
80f844c9
OB
5199 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5200 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5201 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5202 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5203
fb6b0fcb
AS
52042013-03-11 Andreas Schwab <schwab@suse.de>
5205
5206 [BZ #15234]
5207 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5208 by SHLIB_COMPAT.
5209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5210 (GLIBC_2.16): Remove pthread_atfork.
5211
3e6bd4b1
PP
52122013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5213
5214 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5215 (ptestcases.h): Likewise.
5216
222d7f00
RM
52172013-03-08 Roland McGrath <roland@hack.frob.com>
5218
5219 * Makeconfig ($(common-objpfx)config.status): Depend on
5220 sysdeps/*/preconfigure{,.in} too.
5221
1ba4f030
JM
52222013-03-08 Joseph Myers <joseph@codesourcery.com>
5223
a222d91a
JM
5224 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5225 (__free_hook): Use void * instead of __malloc_ptr_t.
5226 (__malloc_hook): Likewise.
5227 (__realloc_hook): Likewise.
5228 (__memalign_hook): Likewise.
5229 (__after_morecore_hook): Likewise.
5230 * malloc/arena.c (save_malloc_hook): Likewise.
5231 (save_free_hook): Likewise.
5232 * malloc/hooks.c (malloc_hook_ini): Likewise.
5233 (realloc_hook_ini): Likewise.
5234 (memalign_hook_ini): Likewise.
5235 * malloc/malloc.c (malloc_hook_ini): Likewise.
5236 (realloc_hook_ini): Likewise.
5237 (memalign_hook_ini): Likewise.
5238 (__free_hook): Likewise.
5239 (__malloc_hook): Likewise.
5240 (__realloc_hook): Likewise.
5241 (__memalign_hook): Likewise.
5242 (__libc_malloc): Likewise.
5243 (__libc_free): Likewise.
5244 (__libc_realloc): Likewise.
5245 (__libc_memalign): Likewise.
5246 (__libc_valloc): Likewise.
5247 (__libc_pvalloc): Likewise.
5248 (__libc_calloc): Likewise.
5249 (__posix_memalign): Likewise.
5250 * malloc/morecore.c (__sbrk): Likewise.
5251 (__default_morecore): Likewise.
5252
5cc45e10
JM
5253 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5254
dd54b864
JM
5255 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5256 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5257 __malloc_ptrdiff_t.
5258
1ba4f030
JM
5259 * malloc/malloc.h (__malloc_size_t): Remove macro.
5260 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5261 __malloc_size_t.
5262 (old_memalign_hook): Likewise.
5263 (old_realloc_hook): Likewise.
5264 (struct hdr): Likewise.
5265 (flood): Likewise.
5266 (mallochook): Likewise.
5267 (memalignhook): Likewise.
5268 (reallochook): Likewise.
5269 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5270 (tr_old_realloc_hook): Likewise.
5271 (tr_old_memalign_hook): Likewise.
5272 (tr_mallochook): Likewise.
5273 (tr_reallochook): Likewise.
5274 (tr_memalignhook): Likewise.
5275
edf66e57
AZ
52762013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5277
5278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5279 default_ldbl_pack and using as default implementation.
5280 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5281 implementation.
5282 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5283 redundant definition.
5284 (ldbl_insert_mantissa): Likewise.
5285 (ldbl_canonicalize): Likewise.
5286 (ldbl_nearbyint): Likewise.
5287 (ldbl_pack): Rename to ldbl_pack_ppc.
5288 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5289 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5290 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5291
6d9145d8
SP
52922013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
5294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5295 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5296 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5297 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5300 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5301 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5302
4dd4e157
AJ
53032013-03-07 Andreas Jaeger <aj@suse.de>
5304
5305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5306 bits/mman-linux.h.
5307
adbb8027
SP
53082013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
ce544b5b
SP
5310 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5311 Include mpa.h and declare __MPEXP.
5312 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5314 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5315 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5317 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5318 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5319
4cc149fd
SP
5320 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5321 (__slowpow): Use long double EXPL and LOGL functions to
5322 compute POW.
5323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5324 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5325 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5327 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5328 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5329
e6ebd4a7
SP
5330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5331 intermediate variable to calculate exponent.
5332 (__sqr): Likewise.
5333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5334 Likewise.
5335 (__sqr): Likewise.
5336
82a9811d
SP
5337 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5338 [!NO__SQR]: Define __sqr.
5339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5340 and NO__SQR. Remove all code except __mul and __sqr. Include
5341 sysdeps/ieee754/dbl-64/mpa.c.
5342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5343
adbb8027
SP
5344 [BZ #12723]
5345 * posix/Makefile (tests): Add tst-pathconf.
5346 * posix/tst-pathconf.c: New test case.
5347 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5348 _PC_PIPE_BUF.
5349 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5350
39120df9
PF
53512013-03-06 Patsy Franklin <pfrankli@redhat.com>
5352
5353 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5354
67525cb8
AJ
53552013-03-06 Andreas Jaeger <aj@suse.de>
5356
664a9ce4
AJ
5357 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5358 definition via __MAP_ANONYMOUS.
5359
8e39047d
AJ
5360 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5361 it's not part of Linux headers.
5362
67525cb8
AJ
5363 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5364 (MAP_HUGE_MASK): Define.
5365
5366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5367 Define.
5368 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5369 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5370 Define.
5371 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5372 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5373 Define.
5374 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5375 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5376 Define.
5377 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5378
5379 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5380 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5381 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5382 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5383 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5385
5386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5387 Handle f2fs.
5388
5389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5390 Handle f2fs and efivarfs.
5391
5392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5393 f2fs.
5394
5395 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5396 (EFIVARFS_MAGIC): Add.
5397 (F2FS_LINK_MAX): Add.
5398
e1b42695
PP
53992013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5400
5401 * stdio-common/vfprintf.c: Replace __builtin_expect with
5402 __glibc_unlikely.
5403
2d67d91a
JM
54042013-03-06 Joseph Myers <joseph@codesourcery.com>
5405
5406 [BZ #13550]
5407 * sysdeps/generic/bp-sym.h: Remove file.
5408 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5409 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5410 <bp-sym.h> and <bp-asm.h>.
5411 (__longjmp): Don't use BP_SYM.
5412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5413 and <bp-asm.h>.
5414 (memcpy): Don't use BP_SYM.
5415 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5416 <bp-sym.h> and <bp-asm.h>.
5417 (memcpy): Don't use BP_SYM.
5418 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5419 <bp-asm.h>.
5420 (memcpy): Don't use BP_SYM.
5421 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5422 <bp-asm.h>.
5423 (memset): Don't use BP_SYM.
5424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5426 (__bzero): Don't use BP_SYM.
5427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5430 <bp-sym.h> and <bp-asm.h>.
5431 (memcmp): Don't use BP_SYM. Remove comment about bounded
5432 pointers.
5433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5434 <bp-sym.h> and <bp-asm.h>.
5435 (memcpy): Don't use BP_SYM.
5436 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5437 <bp-sym.h> and <bp-asm.h>.
5438 (memset): Don't use BP_SYM.
5439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5441 (__bzero): Don't use BP_SYM.
5442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5445 <bp-sym.h> and <bp-asm.h>.
5446 (strncmp): Don't use BP_SYM. Remove comment about bounded
5447 pointers.
5448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5449 <bp-sym.h> and <bp-asm.h>.
5450 (memcpy): Don't use BP_SYM.
5451 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5452 <bp-sym.h> and <bp-asm.h>.
5453 (memset): Don't use BP_SYM.
5454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5456 (__bzero): Don't use BP_SYM.
5457 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5458 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5460 <bp-sym.h> and <bp-asm.h>.
5461 (__memchr): Don't use BP_SYM.
5462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5463 <bp-sym.h> and <bp-asm.h>.
5464 (memcmp): Don't use BP_SYM. Remove comment about bounded
5465 pointers.
5466 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5467 <bp-sym.h> and <bp-asm.h>.
5468 (memcpy): Don't use BP_SYM.
5469 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5470 <bp-sym.h> and <bp-asm.h>.
5471 (__mempcpy): Don't use BP_SYM.
5472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5473 <bp-sym.h> and <bp-asm.h>.
5474 (__memrchr): Don't use BP_SYM.
5475 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5476 <bp-sym.h> and <bp-asm.h>.
5477 (memset): Don't use BP_SYM.
5478 (__bzero): Likewise.
5479 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5480 <bp-sym.h> and <bp-asm.h>.
5481 (__rawmemchr): Don't use BP_SYM.
5482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5483 <bp-sym.h> and <bp-asm.h>.
5484 (__STRCMP): Don't use BP_SYM.
5485 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5486 <bp-sym.h> and <bp-asm.h>.
5487 (strchr): Don't use BP_SYM.
5488 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5489 <bp-sym.h> and <bp-asm.h>.
5490 (__strchrnul): Don't use BP_SYM.
5491 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5492 <bp-sym.h> and <bp-asm.h>.
5493 (strlen): Don't use BP_SYM.
5494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5495 <bp-sym.h> and <bp-asm.h>.
5496 (strncmp): Don't use BP_SYM. Remove comment about bounded
5497 pointers.
5498 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5499 <bp-sym.h> and <bp-asm.h>.
5500 (__strnlen): Don't use BP_SYM.
5501 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5502 <bp-sym.h> and <bp-asm.h>.
5503 (__GI__setjmp): Don't use BP_SYM.
5504 (_setjmp): Likewise.
5505 (__sigsetjmp): Likewise.
5506 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5507 (L(start_addresses)): Don't use BP_SYM.
5508 (_start): Likewise.
5509 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5510 <bp-asm.h>.
5511 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5512 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5513 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5514 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5515 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5516 <bp-asm.h>.
5517 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5518 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5519 about bounded pointers.
5520 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5521 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5522 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5523 <bp-asm.h>.
5524 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5525 about bounded pointers. Remove GKM FIXME comments.
5526 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5527 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5528 <bp-asm.h>.
5529 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5530 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5531 Remove GKM FIXME comments.
5532 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5533 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5534 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5535 <bp-asm.h>.
5536 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5537 about bounded pointers. Remove GKM FIXME comment.
5538 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5539 and <bp-asm.h>.
5540 (strncmp): Don't use BP_SYM. Remove comment about bounded
5541 pointers.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5543 <bp-sym.h> and <bp-asm.h>.
5544 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5546 <bp-sym.h> and <bp-asm.h>.
5547 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5548 comment.
5549
cdcf361f
PP
55502013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5551
5552 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5553 call free(NULL).
5554
3c4a2b15
DM
55552013-03-05 David S. Miller <davem@davemloft.net>
5556
5557 * po/es.po: Update from translation team.
5558
cdcf361f 55592013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5560
5561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5562 <bits/mman-linux.h>.
5563 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5564 is fine.
5565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5566 <bits/mman-linux.h> to end of file.
5567 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5568 is fine.
5569 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5570 <bits/mman-linux.h> to end of file.
5571 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5572 is fine.
5573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5574 <bits/mman-linux.h> to end of file.
5575
5576 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5577 (MCL_CURRENT, MCL_FUTURE): Define here.
5578
5f67c04f
AK
55792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5580
8a4473cc 5581 [BZ #15232]
5f67c04f
AK
5582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5583 attribute_hidden.
5584 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5585
c3e94a95
AK
55862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5587
5588 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5589 fourth parameter needed for rt_sigprocmask syscall.
5590 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5592 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5593 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5594 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5595 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5596
cfb6382a
JM
55972013-03-04 Joseph Myers <joseph@codesourcery.com>
5598
5599 [BZ #13550]
5600 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5601 comment about bounded pointers.
5602 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5603 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5604
539d8e01
AJ
56052013-03-04 Andreas Jaeger <aj@suse.de>
5606
5607 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5608 common definitions.
5609
5610 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5611 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5613 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5616
2e167a70 56172013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5618
5619 [BZ #15055]
5620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5621 __ieee754_sqrl instead of __sqrl.
5622
68508633
JM
56232013-03-01 Joseph Myers <joseph@codesourcery.com>
5624
5625 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5626 * sysdeps/powerpc/fpu_control.h: ... here.
5627 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5628 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5629 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5630 * sysdeps/powerpc/bits/mathinline.h: ... here.
5631
7775448e
RM
56322013-03-01 Roland McGrath <roland@hack.frob.com>
5633
5634 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5635 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5636 to just [NEED_DL_SYSINFO_DSO].
5637 * elf/dl-support.c: Likewise.
5638 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5639 * elf/rtld.c (dl_main): Likewise.
5640 * elf/setup-vdso.h (setup_vdso): Likewise.
5641 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5642 * sysdeps/unix/sysv/linux/dl-sysdep.c
5643 (_dl_discover_osversion): Likewise.
5644
4e9b5995
CD
56452013-03-01 Carlos O'Donell <carlos@redhat.com>
5646
5647 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5648 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5649
e23872c8
SP
56502013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5651
e5c74c63
SP
5652 * NEWS: Mention libm performance improvements and non-x86 PI
5653 futex support.
5654
e23872c8
SP
5655 * csu/libc-start.c (__pthread_initialize_minimal): Change
5656 function arguments.
5657 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5658
b5510883
JM
56592013-02-28 Joseph Myers <joseph@codesourcery.com>
5660
5661 [BZ #13550]
5662 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5664 <bp-sym.h> and <bp-asm.h>.
5665 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5666 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5667 and <bp-asm.h>.
5668 (memcpy): Don't use BP_SYM.
5669 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5670 <bp-asm.h>.
5671 (__mpn_add_n): Don't use BP_SYM.
5672 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5673 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5674 and <bp-asm.h>.
5675 (__mpn_addmul_1): Don't use BP_SYM.
5676 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5677 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5678 <bp-sym.h>.
5679 (_setjmp): Don't use BP_SYM.
5680 (__novmx_setjmp): Likewise.
5681 (__GI__setjmp): Likewise.
5682 (__vmx_setjmp): Likewise.
5683 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5684 <bp-sym.h>.
5685 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5686 (__bzero): Don't use BP_SYM.
5687 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5688 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5689 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5690 <bp-sym.h> and <bp-asm.h>.
5691 (memcpy): Don't use BP_SYM.
5692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5693 <bp-sym.h> and <bp-asm.h>.
5694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5695 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5696 <bp-sym.h> and <bp-asm.h>.
5697 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5698 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5699 <bp-asm.h>.
5700 (__mpn_lshift): Don't use BP_SYM.
5701 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5702 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5703 <bp-asm.h>.
5704 (memset): Don't use BP_SYM.
5705 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5706 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5707 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5708 <bp-asm.h>.
5709 (__mpn_mul_1): Don't use BP_SYM.
5710 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5711 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5712 <bp-sym.h> and <bp-asm.h>.
5713 (memcmp): Don't use BP_SYM.
5714 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5715 <bp-sym.h> and <bp-asm.h>.
5716 (memcpy): Don't use BP_SYM.
5717 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5718 <bp-sym.h> and <bp-asm.h>.
5719 (memset): Don't use BP_SYM.
5720 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5721 <bp-sym.h> and <bp-asm.h>.
5722 (strncmp): Don't use BP_SYM.
5723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5724 <bp-sym.h> and <bp-asm.h>.
5725 (memcpy): Don't use BP_SYM.
5726 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5727 <bp-sym.h> and <bp-asm.h>.
5728 (memset): Don't use BP_SYM.
5729 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5730 <bp-sym.h> and <bp-asm.h>.
5731 (__memchr): Don't use BP_SYM.
5732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5733 <bp-sym.h> and <bp-asm.h>.
5734 (memcmp): Don't use BP_SYM.
5735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5736 <bp-sym.h> and <bp-asm.h>.
5737 (memcpy): Don't use BP_SYM.
5738 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5739 <bp-sym.h> and <bp-asm.h>.
5740 (__mempcpy): Don't use BP_SYM.
5741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5742 <bp-sym.h> and <bp-asm.h>.
5743 (__memrchr): Don't use BP_SYM.
5744 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5745 <bp-sym.h> and <bp-asm.h>.
5746 (memset): Don't use BP_SYM.
5747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5748 <bp-sym.h> and <bp-asm.h>.
5749 (__rawmemchr): Don't use BP_SYM.
5750 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5751 <bp-sym.h> and <bp-asm.h>.
5752 (__STRCMP): Don't use BP_SYM.
5753 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5754 <bp-sym.h> and <bp-asm.h>.
5755 (strchr): Don't use BP_SYM.
5756 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5757 <bp-sym.h> and <bp-asm.h>.
5758 (__strchrnul): Don't use BP_SYM.
5759 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5760 <bp-sym.h> and <bp-asm.h>.
5761 (strlen): Don't use BP_SYM.
5762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (strncmp): Don't use BP_SYM.
5765 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5766 <bp-sym.h> and <bp-asm.h>.
5767 (__strnlen): Don't use BP_SYM.
5768 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5769 <bp-asm.h>.
5770 (__mpn_rshift): Don't use BP_SYM.
5771 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5772 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5773 <bp-sym.h> and <bp-asm.h>.
5774 (__sigsetjmp): Don't use BP_SYM.
5775 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5776 (L(start_addresses)): Don't use BP_SYM.
5777 (_start): Likewise.
5778 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5779 <bp-asm.h>.
5780 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5781 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5782 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5783 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5784 <bp-asm.h>.
5785 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5786 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5787 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5788 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5789 <bp-asm.h>.
5790 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5791 comments.
5792 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5793 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5794 <bp-asm.h>.
5795 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5796 FIXME comments.
5797 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5798 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5799 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5800 <bp-asm.h>.
5801 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5802 comment.
5803 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5804 and <bp-asm.h>.
5805 (strncmp): Don't use BP_SYM,
5806 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5807 <bp-asm.h>.
5808 (__mpn_sub_n): Don't use BP_SYM.
5809 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5810 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5811 and <bp-asm.h>.
5812 (__mpn_submul_1): Don't use BP_SYM.
5813 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5815 <bp-sym.h> and <bp-asm.h>.
5816 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5818 <bp-sym.h> and <bp-asm.h>.
5819 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5820 comment.
5821
8d19fe64
SP
58222013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5823
5824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5825 Use ZK to minimize writes to Z.
5826 (sub_magnitudes): Simplify code a bit.
5827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5828 Use ZK to minimize writes to Z.
5829 (sub_magnitudes): Simplify code a bit.
5830
85bd816a
RM
58312013-02-27 Roland McGrath <roland@hack.frob.com>
5832
5833 * csu/gmon-start.c: Add special exception to license text.
5834
b5977bf2
RH
58352013-02-27 Richard Henderson <rth@redhat.com>
5836
5837 * scripts/config.guess: Update from config.git.
5838 * scripts/config.sub: Likewise.
5839
11d6e2f2
SP
58402013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5841
09c14ed2
SP
5842 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5843
a688864e
SP
5844 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5845
6295157a
SP
5846 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5847
b8de2202
SP
5848 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5849
11d6e2f2
SP
5850 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5851
7e80ddb8
RM
58522013-02-26 Roland McGrath <roland@hack.frob.com>
5853
5854 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5855 [$(build-shared = yes].
7e80ddb8 5856
7da6d9ed
SP
58572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5858
45f05884
SP
5859 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5860 (__mul): Reduce iterations for calculating mantissa.
5861
2236d359
SP
5862 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5863 MPTWO.
5864 (__mpranred): Likewise.
5865
7da6d9ed
SP
5866 [BZ #15160]
5867 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5868 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5869
b7688c42
PE
58702013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5871
5872 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5873 Define __attribute__.
5874
53a5c423
SP
58752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5876
5877 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5878 unused.
5879 * posix/regex_internal.h (__attribute): Remove.
5880 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5881 (re_string_context_at): Likewise.
5882 (bitset_not): Use __attribute__ and mark function as possibly
5883 unused.
5884 (bitset_merge): Likewise.
5885 (bitset_mask): Likewise.
5886 (re_string_char_size_at): Likewise.
5887 (re_string_wchar_at): Likewise.
5888 (re_string_elem_size_at): Likewise.
5889
60f5a8b5
SP
58902013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5891
2a983a2e
SP
5892 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5893 code.
5894 (cc32): Likewise.
5895
e69804d1
SP
5896 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5897 (__acr): Likewise.
5898 (__cpy): Likewise.
5899 (norm): Likewise.
5900 (denorm): Likewise.
5901 (__dbl_mp): Likewise.
5902 (add_magnitudes): Likewise.
5903 (sub_magnitudes): Likewise.
5904 (__mul): Likewise.
5905 (__inv): Likewise.
5906
2f22a1e8
SP
5907 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5908 style.
5909
8930ddc7
SP
5910 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5911 style.
5912
dc60cb11
SP
5913 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5914 code.
5915
60f5a8b5
SP
5916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5917 up changes with default code.
5918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5919 Likewise.
5920
b4d1fd33
AM
59212013-02-24 Allan McRae <allan@archlinux.org>
5922
faf6f8bc
AM
5923 * manual/socket.texi (The Internet Namespace): Order menu items
5924 to match that in the file.
5925
b4d1fd33
AM
5926 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5927 node listing of the info page menu.
5928
2366713d
JM
59292013-02-21 Joseph Myers <joseph@codesourcery.com>
5930
5931 [BZ #13550]
5932 * sysdeps/i386/bp-asm.h: Remove file.
5933 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5934 (PARMS): Do not use macros from bp-asm.h.
5935 (S1): Likewise.
5936 (S2): Likewise.
5937 (SIZE): Likewise.
5938 (__mpn_add_n): Do not use BP_SYM
5939 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5940 "bp-asm.h".
5941 (PARMS): Do not use macros from bp-asm.h.
5942 (S1): Likewise.
5943 (SIZE): Likewise.
5944 (__mpn_addmul_1): Do not use BP_SYM
5945 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5946 "bp-asm.h".
5947 (PARMS): Do not use macros from bp-asm.h.
5948 (SIGMSK): Likewise.
5949 (_setjmp): Likewise. Do not use BP_SYM.
5950 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5951 "bp-asm.h".
5952 (PARMS): Do not use macros from bp-asm.h.
5953 (SIGMSK): Likewise.
5954 (setjmp): Likewise. Do not use BP_SYM.
5955 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5956 "bp-asm.h".
5957 (PARMS): Do not use macros from bp-asm.h.
5958 (__frexp): Do not use BP_SYM.
5959 (frexp): Likewise.
5960 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5961 "bp-asm.h".
5962 (PARMS): Do not use macros from bp-asm.h.
5963 (__frexpf): Do not use BP_SYM.
5964 (frexpf): Likewise.
5965 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5966 "bp-asm.h".
5967 (PARMS): Do not use macros from bp-asm.h.
5968 (__frexpl): Do not use BP_SYM.
5969 (frexpl): Likewise.
5970 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5971 "bp-asm.h".
5972 (PARMS): Do not use macros from bp-asm.h.
5973 (__remquo): Do not use BP_SYM.
5974 (remquo): Likewise.
5975 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5976 "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (__remquof): Do not use BP_SYM.
5979 (remquof): Likewise.
5980 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5981 "bp-asm.h".
5982 (PARMS): Do not use macros from bp-asm.h.
5983 (__remquol): Do not use BP_SYM.
5984 (remquol): Likewise.
5985 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5986 "bp-asm.h".
5987 (PARMS): Do not use macros from bp-asm.h.
5988 (DEST): Likewise.
5989 (SRC): Likewise.
5990 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5991 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5992 "bp-asm.h".
5993 (PARMS): Do not use macros from bp-asm.h.
5994 (strlen): Do not use BP_SYM.
5995 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5996 "bp-asm.h".
5997 (PARMS): Do not use macros from bp-asm.h.
5998 (S1): Likewise.
5999 (S2): Likewise.
6000 (SIZE): Likewise.
6001 (__mpn_add_n): Do not use BP_SYM.
6002 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6003 "bp-asm.h".
6004 (PARMS): Do not use macros from bp-asm.h.
6005 (S1): Likewise.
6006 (SIZE): Likewise.
6007 (__mpn_addmul_1): Do not use BP_SYM.
6008 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6009 weak_alias.
6010 (bzero): Likewise.
6011 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6012 "bp-asm.h".
6013 (PARMS): Do not use macros from bp-asm.h.
6014 (S): Likewise.
6015 (SIZE): Likewise.
6016 (__mpn_lshift): Do not use BP_SYM.
6017 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6018 "bp-asm.h".
6019 (PARMS): Do not use macros from bp-asm.h.
6020 (DEST): Likewise.
6021 (SRC): Likewise.
6022 (LEN): Likewise.
6023 (memcpy): Likewise. Do not use BP_SYM.
6024 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6025 libc_hidden_def and weak_alias.
6026 (mempcpy): Do not use BP_SYM in weak_alias.
6027 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6028 "bp-asm.h".
6029 (PARMS): Do not use macros from bp-asm.h.
6030 (DEST): Likewise.
6031 (LEN): Likewise.
6032 [!BZERO_P] (CHR): Likewise.
6033 (memset): Likewise. Do not use BP_SYM.
6034 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6035 "bp-asm.h".
6036 (PARMS): Do not use macros from bp-asm.h.
6037 (S1): Likewise.
6038 (SIZE): Likewise.
6039 (__mpn_mul_1): Do not use BP_SYM.
6040 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6041 "bp-asm.h".
6042 (PARMS): Do not use macros from bp-asm.h.
6043 (S): Likewise.
6044 (SIZE): Likewise.
6045 (__mpn_rshift): Do not use BP_SYM.
6046 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6047 "bp-asm.h".
6048 (PARMS): Do not use macros from bp-asm.h.
6049 (STR): Likewise.
6050 (CHR): Likewise.
6051 (strchr): Likewise. Do not use BP_SYM.
6052 (index): Do not use BP_SYM in weak_alias.
6053 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6054 "bp-asm.h".
6055 (PARMS): Do not use macros from bp-asm.h.
6056 (DEST): Likewise.
6057 (SRC): Likewise.
6058 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6059 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6060 "bp-asm.h".
6061 (PARMS): Do not use macros from bp-asm.h.
6062 (strlen): Do not use BP_SYM.
6063 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6064 "bp-asm.h".
6065 (PARMS): Do not use macros from bp-asm.h.
6066 (S1): Likewise.
6067 (S2): Likewise.
6068 (SIZE): Likewise.
6069 (__mpn_sub_n): Do not use BP_SYM.
6070 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6071 "bp-asm.h".
6072 (PARMS): Do not use macros from bp-asm.h.
6073 (S1): Likewise.
6074 (SIZE): Likewise.
6075 (__mpn_submul_1): Do not use BP_SYM.
6076 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6077 "bp-asm.h".
6078 (PARMS): Do not use macros from bp-asm.h.
6079 (S1): Likewise.
6080 (S2): Likewise.
6081 (SIZE): Likewise.
6082 (__mpn_add_n): Do not use BP_SYM.
6083 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6084 weak_alias.
6085 (bzero): Likewise.
6086 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6087 "bp-asm.h".
6088 (PARMS): Do not use macros from bp-asm.h.
6089 (BLK2): Likewise.
6090 (LEN): Likewise.
6091 (memcmp): Do not use BP_SYM.
6092 (bcmp): Do not use BP_SYM in weak_alias.
6093 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6094 "bp-asm.h".
6095 (PARMS): Do not use macros from bp-asm.h.
6096 (DEST): Likewise.
6097 (SRC): Likewise.
6098 (LEN): Likewise.
6099 (memcpy): Likewise. Do not use BP_SYM.
6100 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6101 "bp-asm.h".
6102 (PARMS): Do not use macros from bp-asm.h.
6103 (DEST): Likewise.
6104 (SRC): Likewise.
6105 (LEN): Likewise.
6106 (memmove): Likewise. Do not use BP_SYM.
6107 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6108 "bp-asm.h".
6109 (PARMS): Do not use macros from bp-asm.h.
6110 (DEST): Likewise.
6111 (SRC): Likewise.
6112 (LEN): Likewise.
6113 (__mempcpy): Likewise. Do not use BP_SYM.
6114 (mempcpy): Do not use BP_SYM in weak_alias.
6115 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6116 "bp-asm.h".
6117 (PARMS): Do not use macros from bp-asm.h.
6118 (DEST): Likewise.
6119 (LEN): Likewise.
6120 [!BZERO_P] (CHR): Likewise.
6121 (memset): Likewise. Do not use BP_SYM.
6122 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6123 "bp-asm.h".
6124 (PARMS): Do not use macros from bp-asm.h.
6125 (STR2): Likewise.
6126 (strcmp): Do not use BP_SYM.
6127 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6128 "bp-asm.h".
6129 (PARMS): Do not use macros from bp-asm.h.
6130 (STR): Likewise.
6131 (DELIM): Likewise.
6132 [USE_AS_STRTOK_R] (SAVE): Likewise.
6133 (FUNCTION): Likewise. Do not use BP_SYM.
6134 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6135 aliases.
6136 (strtok_r): Likewise.
6137 (__GI___strtok_r): Likewise.
6138 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6139 (PARMS): Do not use macros from bp-asm.h.
6140 (S): Likewise.
6141 (SIZE): Likewise.
6142 (__mpn_lshift): Do not use BP_SYM.
6143 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6144 (PARMS): Do not use macros from bp-asm.h.
6145 (STR): Likewise.
6146 (CHR): Likewise.
6147 (__memchr): Do not use BP_SYM.
6148 (memchr): Do not use BP_SYM in weak_alias.
6149 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6150 (PARMS): Do not use macros from bp-asm.h.
6151 (BLK2): Likewise.
6152 (LEN): Likewise.
6153 (memcmp): Do not use BP_SYM.
6154 (bcmp): Do not use BP_SYM in weak_alias.
6155 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6156 (PARMS): Do not use macros from bp-asm.h.
6157 (S1): Likewise.
6158 (SIZE): Likewise.
6159 (__mpn_mul_1): Do not use BP_SYM.
6160 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6161 "bp-asm.h".
6162 (PARMS): Do not use macros from bp-asm.h.
6163 (STR): Likewise.
6164 (CHR): Likewise.
6165 (__rawmemchr): Do not use BP_SYM.
6166 (rawmemchr): Do not use BP_SYM in weak_alias.
6167 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (S): Likewise.
6170 (SIZE): Likewise.
6171 (__mpn_rshift): Do not use BP_SYM.
6172 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6173 (PARMS): Do not use macros from bp-asm.h.
6174 (SIGMSK): Likewise.
6175 (__sigsetjmp): Likewise. Do not use BP_SYM.
6176 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6177 (_start): Do not use BP_SYM.
6178 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6179 (PARMS): Do not use macros from bp-asm.h.
6180 (DEST): Likewise.
6181 (SRC): Likewise.
6182 (__stpcpy): Likewise. Do not use BP_SYM.
6183 (stpcpy): Do not use BP_SYM in weak_alias.
6184 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6185 "bp-asm.h".
6186 (PARMS): Do not use macros from bp-asm.h.
6187 (DEST): Likewise.
6188 (SRC): Likewise.
6189 (LEN): Likewise.
6190 (__stpncpy): Likewise. Do not use BP_SYM.
6191 (stpncpy): Do not use BP_SYM in weak_alias.
6192 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6193 (PARMS): Do not use macros from bp-asm.h.
6194 (STR): Likewise.
6195 (CHR): Likewise.
6196 (strchr): Likewise. Do not use BP_SYM.
6197 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6198 "bp-asm.h".
6199 (PARMS): Do not use macros from bp-asm.h.
6200 (STR): Likewise.
6201 (CHR): Likewise.
6202 (__strchrnul): Likewise. Do not use BP_SYM.
6203 (strchrnul): Do not use BP_SYM in weak_alias.
6204 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6205 "bp-asm.h".
6206 (PARMS): Do not use macros from bp-asm.h.
6207 (STOP): Likewise.
6208 (strcspn): Do not use BP_SYM.
6209 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6210 "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6212 (STR): Likewise.
6213 (STOP): Likewise.
6214 (strpbrk): Likewise. Do not use BP_SYM.
6215 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6216 "bp-asm.h".
6217 (PARMS): Do not use macros from bp-asm.h.
6218 (STR): Likewise.
6219 (CHR): Likewise.
6220 (strrchr): Likewise. Do not use BP_SYM.
6221 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6222 (PARMS): Do not use macros from bp-asm.h.
6223 (SKIP): Likewise.
6224 (strspn): Do not use BP_SYM.
6225 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6226 (PARMS): Do not use macros from bp-asm.h.
6227 (STR): Likewise.
6228 (DELIM): Likewise.
6229 (SAVE): Likewise.
6230 (FUNCTION): Likewise. Do not use BP_SYM.
6231 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6232 aliases.
6233 (strtok_r): Likewise.
6234 (__GI___strtok_r): Likewise.
6235 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6236 (PARMS): Do not use macros from bp-asm.h.
6237 (S1): Likewise.
6238 (S2): Likewise.
6239 (SIZE): Likewise.
6240 (__mpn_sub_n): Do not use BP_SYM.
6241 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6242 "bp-asm.h".
6243 (PARMS): Do not use macros from bp-asm.h.
6244 (S1): Likewise.
6245 (SIZE): Likewise.
6246 (__mpn_submul_1): Do not use BP_SYM.
6247 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6248 <bp-sym.h>.
6249 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6250 and <bp-asm.h>.
6251 (PARMS): Do not use macros from bp-asm.h.
6252 (FLAGS): Likewise.
6253 (PTID): Likewise.
6254 (TLS): Likewise.
6255 (CTID): Likewise.
6256 (__clone): Do not use BP_SYM.
6257 (clone): Do not use BP_SYM in weak_alias.
6258 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6259 and <bp-asm.h>.
6260 (PARMS): Do not use macros from bp-asm.h.
6261 (LEN): Likewise.
6262 (__mmap64): Do not use BP_SYM.
6263 (mmap64): Do not use BP_SYM in weak_alias.
6264 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6265 <bp-sym.h> and <bp-asm.h>.
6266 (PARMS): Do not use macros from bp-asm.h.
6267 (__posix_fadvise64_l64): Do not use BP_SYM.
6268 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6269 (PARMS): Do not use macros from bp-asm.h.
6270 (NSOPS): Likewise.
6271 (semtimedop): Do not use BP_SYM.
6272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6273 and <bp-asm.h>.
6274
582a3cff
AM
62752013-02-21 Allan McRae <allan@archlinux.org>
6276
6277 * manual/message.texi (Charset conversion in gettext):
6278 Move @end statement to beginning of line.
6279
bab8a695
SP
62802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
80945231
SP
6282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6283 static.
6284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6285 Likewise.
6286
bab8a695
SP
6287 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6288 (denorm): Likewise.
6289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6291
e21d7aa7
AK
62922013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6293
6294 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6295 tail-call to the resolved function if pltexit isn't needed.
6296
4c7a4263
SP
62972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6298
6299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6300 or Y being zero as being unlikely.
6301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6302 Likewise.
6303
41f49342
CD
63042013-02-20 Carlos O'Donell <carlos@redhat.com>
6305
6306 * manual/nss.texi (System Databases and Name Service Switch):
6307 Remove frobnicate @pxref.
6308
50022a93
TS
63092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6310
6311 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6312 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6313
08cbd996
PM
63142013-02-20 Petr Machata <pmachata@redhat.com>
6315
6316 * elf/elf.h (R_ARM_TARGET1): New macro.
6317 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6318 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6319 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6320 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6321 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6322 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6323 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6324 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6325 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6326 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6327 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6328 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6329 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6330 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6331 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6332 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6333 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6334 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6335 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6336 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6337 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6338 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6339 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6340 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6341 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6342 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6343 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6344 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6345 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6346 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6347 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6348 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6349 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6350 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6351 (R_ARM_THM_GOT_BREL12): Likewise.
6352 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6353 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6354 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6355 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6356 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6357 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6358 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6359 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6360 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6361
c7b275d6
TS
63622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6363
6364 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6365 __attribute_used__ to __attribute__ ((unused)).
6366
20cd7fb3
SP
63672013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6368
6369 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6370 powerpc mpa.c.
6371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6372 comment formatting.
6373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6374
92945b52
JM
63752013-02-19 Joseph Myers <joseph@codesourcery.com>
6376
6377 [BZ #13550]
6378 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6379 Remove macro.
6380 (ENTER): Remove both macro definitions.
6381 (LEAVE): Likewise.
6382 (CHECK_BOUNDS_LOW): Likewise.
6383 (CHECK_BOUNDS_HIGH): Likewise.
6384 (CHECK_BOUNDS_BOTH): Likewise.
6385 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6386 (RETURN_BOUNDED_POINTER): Likewise.
6387 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6388 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6389 (POP_ERRNO_LOCATION_RETURN): Likewise.
6390 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6392 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6393 macros.
6394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6395 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6396 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6397 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6398 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6399 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6400 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6401 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6402 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6403 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6404 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6405 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6407 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6408 removed macros.
6409 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6410 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6411 macros.
6412 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6413 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6414 * sysdeps/i386/i586/memset.S (memset): Likewise.
6415 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6417 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6418 macros.
6419 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6420 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6421 Change uses of L(2) to L(out).
6422 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6423 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6424 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6425 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6426 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6427 removed macros.
6428 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6429 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6430 macros.
6431 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6432 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6433 (RETURN): Do not use macro LEAVE.
6434 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6435 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6436 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6437 * sysdeps/i386/i686/memset.S (memset): Likewise.
6438 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6439 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6440 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6441 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6442 Likewise.
6443 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6444 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6445 L(1_2) and L(1_3) into L(1).
6446 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6447 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6448 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6449 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6450 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6451 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6452 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6453 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6454 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6455 macros.
6456 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6457 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6458 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6459 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6460 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6461 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6462 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6463 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6464 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6465 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6466 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6467 * sysdeps/i386/strspn.S (strspn): Likewise.
6468 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6469 conditional code.
6470 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6471 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6472 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6473 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6474 L(1_3) into L(1_1).
6475 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6476 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6477 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6478 macros.
6479 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6480
2389741a
JJ
64812013-02-19 Jakub Jelinek <jakub@redhat.com>
6482
6483 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6484 macro.
6485
2016b3cd
SP
64862013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6487
e4f22324
SP
6488 * math/atest-exp.c (exp_mpn): Remove ROUND.
6489 * math/atest-exp2.c (exp_mpn): Likewise.
6490 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6491
2016b3cd
SP
6492 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6493 * stdlib/tst-tls-atexit-lib.c: Likewise.
6494 * stdlib/tst-tls-atexit.c: Likewise.
6495
4be9b544
MF
64962013-02-18 Mike Frysinger <vapier@gentoo.org>
6497
6498 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6499 and __attribute_alloc_size__.
6500
2f62b9ee
MF
65012013-02-18 Mike Frysinger <vapier@gentoo.org>
6502
6503 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6504 __attribute_alloc_size__.
6505 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6506 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6507
6ff444c4
MF
65082013-02-18 Mike Frysinger <vapier@gentoo.org>
6509
6510 * include/programs/xmalloc.h: New file.
6511 * catgets/gencat.c: Include it.
6512 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6513 * elf/pldd.c: Likewise.
6514 * iconv/iconv_charmap.c: Likewise.
6515 * iconv/iconvconfig.c: Likewise.
6516 * iconv/strtab.c: Likewise.
6517 * locale/programs/locale.c: Likewise.
6518 * locale/programs/localedef.h: Likewise.
6519 * locale/programs/simple-hash.c: Likewise.
6520 * nscd/nscd.h: Likewise.
6521 * nss/makedb.c: Likewise.
6522 * sysdeps/generic/ldconfig.h: Likewise.
6523
be179c8a
SP
65242013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6525
ba384f6e
SP
6526 * Versions.def: Add GLIBC_2.18.
6527 * include/link.h (struct link_map): New member l_tls_dtor_count.
6528 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6529 (__call_tls_dtors): Likewise.
6530 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6531 __cxa_thread_atexit_impl.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6533 Likewise.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6535 Likewise.
6536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6537 Likewise.
6538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6539 Likewise.
6540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6542 Likewise.
6543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6544 Likewise.
6545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6547 Likewise.
6548 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6549 (tests): Add test case tst-tls-atexit.
6550 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6551 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6552 (GLIBC_PRIVATE): Add __call_tls_dtors.
6553 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6554 for libstdc++.
6555 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6556 * stdlib/tst-tls-atexit.c: New test case.
6557 * stdlib/tst-tls-atexit-lib.c: New test case.
6558
ffaa74cf 6559 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6560
be179c8a
SP
6561 * elf/Versions (ld): Add _dl_find_dso_for_object.
6562 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6563 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6564 (dl_open_worker): Use _dl_find_dso_for_object.
6565 * elf/dl-sym.c (do_sym): Likewise.
6566 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6567
f78b5caa
AK
65682013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6569
6570 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6571 Syntactic changes only.
6572 (_dl_runtime_profile): Do a tail-call to the resolved function.
6573
29691210
JM
65742013-02-17 Joseph Myers <joseph@codesourcery.com>
6575
6576 [BZ #13550]
6577 * sysdeps/x86_64/bp-asm.h: Remove file.
6578 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6579 <bp-sym.h> and <bp-asm.h>.
6580 (__clone): Do not use BP_SYM.
6581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6582 <bp-sym.h> and <bp-asm.h>.
6583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6584 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6585 "bp-asm.h".
6586 (_setjmp): Do not use BP_SYM.
6587 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6588 "bp-asm.h".
6589 (setjmp): Do not use BP_SYM.
6590 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6591 libc_hidden_def.
6592 (mempcpy): Do not use BP_SYM in weak_alias.
6593 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6594 "bp-asm.h".
6595 (strchr): Do not use BP_SYM.
6596 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6597 "bp-asm.h".
6598 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6599 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6600 (_start): Do not use BP_SYM.
6601 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6602 "bp-asm.h".
6603 (strcat): Do not use BP_SYM.
6604 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6605 "bp-asm.h".
6606 (STRCMP): Do not use BP_SYM.
6607 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6608 "bp-asm.h".
6609 (STRCPY): Do not use BP_SYM.
6610 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6611 "bp-asm.h".
6612 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6613 "bp-asm.h".
6614 (FUNCTION): Do not use BP_SYM.
6615 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6616 weak_alias.
6617 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6618
f238fd19
AJ
66192013-02-17 Andreas Jaeger <aj@suse.de>
6620
6621 * time/Versions: Sort entries.
6622 * string/Versions: Likewise.
6623 * resolv/Versions: Likewise.
6624 * posix/Versions: Likewise.
6625 * iconv/Versions: Likewise.
6626 * elf/Versions: Likewise.
6627 * wcsmbs/Versions: Likewise.
6628
bd07f23c 66292013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6630
22af19f9
SP
6631 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6632 loop termination condition.
6633
4709fe76
SP
6634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6635 variable to calculate EZ.
6636 (__sqr): Likewise.
2d0e0f29
SP
6637
6638 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6639 the lower precision input.
6640
daaa7713
JM
66412013-02-15 Joseph Myers <joseph@codesourcery.com>
6642
6643 [BZ #13550]
6644 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6645 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6646 (run-via-rtld-prefix): Do not handle %-bp tests.
6647 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6648 (all-object-suffixes): Remove .ob.
6649 (bppfx): Remove variable.
6650 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6651 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6652 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6653 [$(build-bounded) = yes] (libtype.ob): Likewise.
6654 * Makerules (elide-routines.ob): Remove variable.
6655 (do-tests-clean): Do not handle *-bp.out.
6656 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6657 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6658 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6659 (tests): Do not include $(tests-bp.out).
6660 (xtests): Do not include $(xtests-bp.out).
6661 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6662 [$(build-bounded) = yes] ($(addprefix
6663 $(objpfx),$(binaries-bounded))): Remove rule.
6664 ($(objpfx)%-bp.out): Remove rule.
6665 * config.make.in (build-bounded): Remove variable.
6666 * crypt/Makefile [$(build-bounded) = yes]
6667 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6668 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6669 append to variable.
6670 [$(build-bounded) = yes] (install-lib): Likewise.
6671 [$(build-bounded) = yes] (generated): Likewise.
6672 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6673 Remove rule.
6674 * intl/Makefile [$(build-bounded) = yes]
6675 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6676 * math/Makefile [$(build-bounded) = yes]
6677 ($(tests:%=$(objpfx)%-bp): Likewise.
6678 * misc/Makefile [$(build-bounded) = yes]
6679 ($(objpfx)tst-tsearch-bp): Likewise.
6680 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6681 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6682 Remove dependency.
6683 * string/Makefile (o-objects.ob): Remove variable.
6684 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6685 (CFLAGS-.ob): Remove variable.
6686 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6687 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6688 both definitions of variable.
6689 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6690 (ASFLAGS-.ob): Remove variable.
6691
e97ed6dd
JM
66922013-02-14 Joseph Myers <joseph@codesourcery.com>
6693
2bdd4ca6
JM
6694 [BZ #13550]
6695 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6696 Remove __BOUNDED_POINTERS__ from condition.
6697 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6698 * string/bits/string2.h [!__NO_STRING_INLINES &&
6699 !__BOUNDED_POINTERS__]: Likewise.
6700 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6701 Likewise.
6702 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6703 Remove conditional code.
6704 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6705 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6706 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6707 condition.
6708
e97ed6dd
JM
6709 [BZ #13550]
6710 * csu/libc-start.c: Do not include <bp-sym.h>.
6711 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6712 * elf/dl-open.c: Do not include <bp-sym.h>.
6713 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6714 * math/fegetenv.c: Do not include <bp-sym.h>.
6715 (fegetenv): Do not use BP_SYM in versioned symbols.
6716 * nptl/sysdeps/pthread/bits/libc-lockP.h
6717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6718 <bp-sym.h>.
6719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6720 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6722 (__pthread_mutex_destroy): Likewise.
6723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6724 (__pthread_mutex_lock): Likewise.
6725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6726 (__pthread_mutex_trylock): Likewise.
6727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6728 (__pthread_mutex_unlock): Likewise.
6729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6730 (__pthread_mutexattr_init): Likewise.
6731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6732 (__pthread_mutexattr_destroy): Likewise.
6733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6734 (__pthread_mutexattr_settype): Likewise.
6735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6736 (__pthread_rwlock_init): Likewise.
6737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6738 (__pthread_rwlock_destroy): Likewise.
6739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6740 (__pthread_rwlock_rdlock): Likewise.
6741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6742 (__pthread_rwlock_tryrdlock): Likewise.
6743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6744 (__pthread_rwlock_wrlock): Likewise.
6745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6746 (__pthread_rwlock_trywrlock): Likewise.
6747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6748 (__pthread_rwlock_unlock): Likewise.
6749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6750 (__pthread_key_create): Likewise.
6751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6752 (__pthread_setspecific): Likewise.
6753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6754 (__pthread_getspecific): Likewise.
6755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6756 Likewise.
6757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6758 (_pthread_cleanup_push_defer): Likewise.
6759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6760 (_pthread_cleanup_pop_restore): Likewise.
6761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6762 (pthread_setcancelstate): Likewise.
6763 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6764 <bp-sym.h>.
6765 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6766 (memchr): Do not use BP_SYM in weak_alias.
6767 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6768 (fegetenv): Do not use BP_SYM in versioned symbols.
6769 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6770 (fesetenv): Do not use BP_SYM in versioned symbols.
6771 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6772 (feupdateenv): Do not use BP_SYM in versioned symbols.
6773 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6775 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6776 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6777 (open64): Do not use BP_SYM in weak_alias.
6778 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6779 (fegetenv): Do not use BP_SYM in versioned symbols.
6780 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6781 (fesetenv): Do not use BP_SYM in versioned symbols.
6782 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6783 (feupdateenv): Do not use BP_SYM in versioned symbols.
6784 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6785 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6786 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6787 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6788 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6789 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6791 <bp-sym.h>.
6792 (__libc_start_main): Do not use BP_SYM.
6793
d6752ccd
SP
67942013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6795
cb57ce60
SP
6796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6797 redundant return line.
6798 (norm): Likewise.
6799 (denorm): Likewise.
6800 (dbl_mp): Likewise.
6801 (sub_magnitudes): Likewise.
6802 (__add): Likewise.
6803 (__sub): Likewise.
6804 (__mul): Likewise.
6805 (__inv): Likewise.
6806 (__dvd): Likewise.
6807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6808 (norm): Likewise.
6809 (denorm): Likewise.
6810 (dbl_mp): Likewise.
6811 (sub_magnitudes): Likewise.
6812 (__add): Likewise.
6813 (__sub): Likewise.
6814 (__mul): Likewise.
6815 (__inv): Likewise.
6816 (__dvd): Likewise.
6817
f414520d
SP
6818 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6819 instead of __mul.
6820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6821 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6822 (cc32): Likewise.
6823
d6752ccd
SP
6824 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6825 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6827 of __mul for squares.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6829 function
6830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6831 Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6834
70d9946a
JM
68352013-02-13 Joseph Myers <joseph@codesourcery.com>
6836
6837 [BZ #13550]
6838 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6839 code.
6840 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6841 prototype or function definition. Rename ubp_* variables and
6842 parameters. Remove argv definitions conditional on
6843 [__BOUNDED_POINTERS__].
6844 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6845 * elf/dl-runtime.c (_dl_fixup): Likewise.
6846 * include/set-hooks.h (RUN_HOOK): Likewise.
6847 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6848 definition.
6849 * string/strcpy.c (strcpy): Do not use __unbounded.
6850 * sysdeps/generic/frame.h (struct layout): Likewise.
6851 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6852 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6853 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6854 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6855 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6856 (__backtrace): Likewise.
6857 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6858 use __ptrvalue.
6859 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6861 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6862 Likewise.
6863 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6864 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6865 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6866 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6867 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6868 Do not use __unbounded.
6869 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6870 Rename __unboundedrlimits parameter to rlimits in prototype.
6871 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6872 Do not use __unbounded.
6873 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6874 not use __ptrvalue.
6875 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6876 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6877 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6878 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6879 __ptrvalue or __unbounded.
6880 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6881 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6882 use __unbounded.
6883 (__new_msgctl): Do not use __ptrvalue.
6884 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6885 __unbounded.
6886 (__libc_msgrcv): Do not use __ptrvalue.
6887 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6888 startup_info): Do not use __unbounded.
6889 (__libc_start_main): Likewise. Rename ubp_* variables and
6890 parameters. Remove argv definitions conditional on
6891 [__BOUNDED_POINTERS__].
6892 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6893 __ptrvalue.
6894 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6895 use __unbounded.
6896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6897 or __ptrvalue.
6898 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6899 use __unbounded.
6900 (__new_shmctl): Do not use __ptrvalue.
6901 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6902 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6903 Likewise.
6904 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6906 (__libc_sigaction): Likewise.
6907 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6908 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6909 Likewise.
6910 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6911
cc7834d6
OB
69122013-02-13 Ondřej Bílka <neleai@seznam.cz>
6913
ffb1ec7b 6914 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6915
6916 * string/mempcpy.c: Implement by calling memcpy.
6917
bdf02814
SP
69182013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6919
c2af38aa
SP
6920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6921
4e92d59e
SP
6922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6923 evaluation.
6924
909279a5
SP
6925 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6926 values in the mantissa.
6927
bdf02814
SP
6928 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6929 minimize writes to Z.
6930 (sub_magnitudes): Simplify code a bit.
6931
cd525923
RM
69322013-02-12 Roland McGrath <roland@hack.frob.com>
6933
6934 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6935 from the message. The linker prefixes all warnings with that already.
6936
7e2f0d2d
AS
69372013-02-12 Andreas Schwab <schwab@suse.de>
6938
a445af0b
AS
6939 [BZ #15078]
6940 * posix/regexec.c (extend_buffers): Add parameter min_len.
6941 (check_matching): Pass minimum needed length.
6942 (clean_state_log_if_needed): Likewise.
6943 (get_subexp): Likewise.
6944 * posix/Makefile (tests): Add bug-regex34.
6945 (bug-regex34-ENV): Define.
6946 * posix/bug-regex34.c: New file.
6947
7e2f0d2d
AS
6948 [BZ #11561]
6949 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6950 elements compare against the byte sequence of it, not its name.
6951 * posix/Makefile (tests): Add bug-regex35.
6952 (bug-regex35-ENV): Define.
6953 * posix/bug-regex35.c: New file.
6954
a175b684
TV
69552013-02-11 Tom de Vries <tom@codesourcery.com>
6956
6957 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6958 comment.
6959 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6960 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6961 (CHECK_EOL): Add undef.
6962
310998fe 69632013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6964
6965 * bits/stdlib-bsearch.h: New file.
6966 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6967 * stdlib/stdlib.h: Likewise.
41eda41d 6968
8ded91fb
RM
69692013-02-11 Roland McGrath <roland@hack.frob.com>
6970
6971 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6972 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6973 declaration.
6974 * manual/search.texi (Array Search Function): Add missing const in
6975 lfind prototype.
6976 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6977 declaration to use rlim_t.
6978 (Basic Scheduling Functions): Remove erroneous const from
6979 sched_getparam prototype. Remove erroneous * from
6980 sched_get_priority_max and sched_get_priority_min prototypes.
6981 (Resource Usage): Fix summary @comment on vtimes to refer to
6982 sys/vtimes.h rather than vtimes.h.
6983 Add missing *s in vtimes prototype.
6984 (Limits on Resources): Fix ulimit prototype to return long int.
6985 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6986 prototypes to use long int rather than double.
6987 (BSD Random): Fix initstate and setstate to use char *, not void *.
6988 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6989 prototype to make second argument 'struct aiocb64 *const[]'.
6990 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6991 (Status of AIO Operations): Remove erroneous const in aio_return and
6992 aio_return64 prototypes.
6993 (Synchronizing I/O): Fix sync prototype to return void.
6994 * manual/startup.texi (Suboptions): Remove an erroneous const in
6995 getsubopt prototype.
6996 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6997 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6998 use size_t rather than int.
6999 (Scanning All Users): Likewise for getpwent_r.
7000 (Setting Groups): Add missing const to setgroups prototype.
7001 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7002 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7003 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7004 'const void *' rather than 'const char *'.
7005 (Host Address Functions): Likewise for inet_ntop.
7006 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7007 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7008 ssize_t for return value.
7009 (Sending Data): Likewise for send, sendto, sendmsg.
7010 (Socket Option Functions): Add a missing const in setsockopt prototype.
7011 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7012 use wchar_t for the argument.
7013 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7014 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7015 take no arguments.
7016 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7017 double/float/long double for second argument.
7018 Fix return types of significand, significandf, significandl.
7019 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7020 argument in fchmod prototype.
7021 (File Owner): Use uid_t and gid_t in fchown prototype.
7022 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7023 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7024 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7025 use 'const struct dirent **' as argument types to CMP function pointer
7026 argument.
7027 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7028 (File Times): Fix summary magic @comment for struct utimbuf and utime
7029 to refer to utime.h, not time.h.
7030 * manual/string.texi (Argz Functions): Add missing const in
7031 argz_extract and argz_next prototypes.
7032 (Finding Tokens in a String): Likewise for basename.
7033 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7034 (Copying and Concatenation): Fix typo in wmemmove prototype.
7035 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7036 (Signal Stack): Remove erroneous const in sigstack prototype.
7037 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7038 prototype.
7039 (Simple Calendar Time): Likewise for stime.
7040 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7041 prototype.
7042 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7043 say sys/sysctl.h instead.
7044 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7045 and vsyslog prototypes.
7046
fe77fe6d
TV
70472013-02-11 Tom de Vries <tom@codesourcery.com>
7048
7049 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7050 Remove.
7051
3a09b620
RM
70522013-02-11 Roland McGrath <roland@hack.frob.com>
7053
7054 * misc/sys/mman.h: Fix typo in mremap comment.
7055
550a0b89
RM
70562013-02-08 Roland McGrath <roland@hack.frob.com>
7057
7058 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7059 the '\0' terminator.
7060
a2da1673
JM
70612013-02-08 Joseph Myers <joseph@codesourcery.com>
7062
7063 [BZ #13550]
7064 * debug/segfault.c: Don't include <bp-checks.h>.
7065 * sysdeps/generic/bp-checks.h: Remove file.
7066 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7067 (__GETDENTS): Don't use CHECK_N.
7068 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7069 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7070 (__getgroups): Don't use CHECK_N.
7071 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7072 (setgroups): Don't use CHECK_N.
7073 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7074 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7075 (__libc_msgrcv): Don't use CHECK_N.
7076 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7077 (__libc_msgsnd): Don't use CHECK_N.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7079 <bp-checks.h>.
7080 (__libc_pread): Don't use CHECK_N.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7082 include <bp-checks.h>.
7083 (__libc_pread64): Don't use CHECK_N.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7085 include <bp-checks.h>.
7086 (__libc_pwrite): Don't use CHECK_N.
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7088 include <bp-checks.h>.
7089 (__libc_pwrite64): Don't use CHECK_N.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7091 <bp-checks.h>.
7092 (__libc_pread): Don't use CHECK_N.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7094 include <bp-checks.h>.
7095 (__libc_pread64): Don't use CHECK_N.
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7097 include <bp-checks.h>.
7098 (__libc_pwrite): Don't use CHECK_N.
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7100 include <bp-checks.h>.
7101 (__libc_pwrite64): Don't use CHECK_N.
7102 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7103 (do_pread): Don't use CHECK_N.
7104 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7105 (do_pread64): Don't use CHECK_N.
7106 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7107 (do_pwrite): Don't use CHECK_N.
7108 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7109 (do_pwrite64): Don't use CHECK_N.
7110 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7111 (__libc_readv): Don't use CHECK_N.
7112 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7113 (semop): Don't use CHECK_N.
7114 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7115 <bp-checks.h>.
7116 (semtimedop): Don't use CHECK_N.
7117 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7118 (__libc_pread): Don't use CHECK_N.
7119 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7120 <bp-checks.h>.
7121 (__libc_pread64): Don't use CHECK_N.
7122 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7123 <bp-checks.h>.
7124 (__libc_pwrite): Don't use CHECK_N.
7125 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7126 <bp-checks.h>.
7127 (__libc_pwrite64): Don't use CHECK_N.
7128 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7129 <bp-checks.h>.
7130 (__libc_msgrcv): Don't use CHECK_N.
7131 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7132 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7133 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7134 (__libc_writev): Don't use CHECK_N.
7135
b84660a8
RM
71362013-02-08 Roland McGrath <roland@hack.frob.com>
7137
7f3e75f8
RM
7138 * string/strcpy.c: Removed unused variable.
7139
b84660a8
RM
7140 * Makeconfig (+sysdep-includes): Define with := rather than =.
7141 Use an existing include/ subdir of each sysdeps dir before it.
7142
471514d3
CD
71432013-02-08 Carlos O'Donell <carlos@redhat.com>
7144
7145 * nscd/connection.c (register_traced_file): Comment function.
7146 [HAVE_INOTIFY] (union __inev): Define.
7147 [HAVE_INOTIFY] (inotify_check_files): New function.
7148 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7149 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7150 clear_db_cache.
7151 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7152
b2d3c3be
CD
71532013-02-08 Carlos O'Donell <carlos@redhat.com>
7154
7155 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7156 loaded if not already and that a failure is permanent.
7157
b39949d2
CD
71582013-02-08 Carlos O'Donell <carlos@redhat.com>
7159
ddacd1db 7160 [BZ #15006]
b39949d2
CD
7161 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7162 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7163
b2c9eff4
JM
71642013-02-08 Joseph Myers <joseph@codesourcery.com>
7165
f3aae3f3
JM
7166 [BZ #13550]
7167 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7168 (CHECK_1_NULL_OK): Likewise.
7169 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7170 (__fxstat): Do not use CHECK_1.
7171 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7172 <bp-checks.h>.
7173 (___fxstat64): Do not use CHECK_1.
7174 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7175 <bp-checks.h>.
7176 (__fxstatat): Do not use CHECK_1.
7177 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7178 <bp-checks.h>.
7179 (__fxstatat64): Do not use CHECK_1.
7180 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7181 <bp-checks.h>.
7182 (__fxstat): Do not use CHECK_1.
7183 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7184 <bp-checks.h>.
7185 (__fxstatat): Do not use CHECK_1.
7186 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7187 <bp-checks.h>.
7188 (__getresgid): Do not use CHECK_1.
7189 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7190 <bp-checks.h>.
7191 (__getresuid): Do not use CHECK_1.
7192 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7193 <bp-checks.h>.
7194 (__lxstat): Do not use CHECK_1.
7195 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7196 <bp-checks.h>.
7197 (__old_msgctl): Do not use CHECK_1.
7198 (__new_msgctl): Likewise.
7199 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7200 <bp-checks.h>.
7201 (__new_setrlimit): Do not use CHECK_1.
7202 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7203 <bp-checks.h>.
7204 (__old_shmctl): Do not use CHECK_1.
7205 (__new_shmctl): Likewise.
7206 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7207 <bp-checks.h>.
7208 (__xstat): Do not use CHECK_1.
7209 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7210 (__lxstat): Do not use CHECK_1.
7211 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7212 <bp-checks.h>.
7213 (___lxstat64): Do not use CHECK_1.
7214 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7215 (__old_msgctl): Do not use CHECK_1.
7216 (__new_msgctl): Likewise.
7217 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7218 <bp-checks.h>.
7219 (__gettimeofday): Do not use CHECK_1.
7220 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7221 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7222 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7223 <bp-checks.h>.
7224 (__gettimeofday): Do not use CHECK_1.
7225 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7226 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7227 (__new_shmctl): Do not use CHECK_1.
7228 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7229 <bp-checks.h>.
7230 (do_sigtimedwait): Do not use CHECK_1.
7231 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7232 <bp-checks.h>.
7233 (do_sigwaitinfo): Do not use CHECK_1.
7234 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7235 <bp-checks.h>.
7236 (msgctl): Do not use CHECK_1.
7237 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7238 <bp-checks.h>.
7239 (shmctl): Do not use CHECK_1.
7240 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7241 (ustat): Do not use CHECK_1.
7242 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7243 <bp-checks.h>.
7244 (__fxstat): Do not use CHECK_1.
7245 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7246 <bp-checks.h>.
7247 (__fxstatat): Do not use CHECK_1.
7248 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7249 <bp-checks.h>.
7250 (__lxstat): Do not use CHECK_1.
7251 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7252 <bp-checks.h>.
7253 (__xstat): Do not use CHECK_1.
7254 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7255 (__xstat): Do not use CHECK_1.
7256 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7257 (___xstat64): Do not use CHECK_1.
7258
b2c9eff4
JM
7259 [BZ #13550]
7260 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7261 definitions.
7262 (CHECK_BOUNDS_HIGH): Likewise.
7263 * string/strcpy.c: Do not include <bp-checks.h>.
7264 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7265
f1d70dad
RM
72662013-02-07 Roland McGrath <roland@hack.frob.com>
7267
7268 * nscd/nscd-client.h (__nscd_drop_map_ref):
7269 Add __attribute__ ((unused)).
7270 * nis/nss-nisplus.h (niserr2nss): Likewise.
7271
7272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7273 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7274
7275 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7276 Remove inline keyword.
7277 * include/rounding-mode.h (round_away): Likewise.
7278 * libio/wfileops.c (adjust_wide_data): Likewise.
7279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7280 (__m128i_strloadu_tolower): Likewise.
7281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7282 (__m128i_strloadu_tolower): Likewise.
7283 * time/mktime.c (ydhms_diff): Likewise.
7284 * locale/elem-hash.h (elem_hash): Likewise.
7285 * locale/setlocale.c (setdata): Likewise.
7286 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7287 (re_string_wchar_at): Likewise.
7288 (bitset_not, bitset_merge, bitset_mask): Likewise.
7289 [!(__GNUC__ > 3)] (inline): Remove macro.
7290 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7291 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7292 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7293 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7294 * string/memcmp.c (memcmp_bytes): Likewise.
7295 * locale/programs/locarchive.c (compute_hashval): Likewise.
7296 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7297 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7298 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7299 * nss/getent.c (print_rpc, print_protocols): Likewise.
7300 (print_passwd, print_group, print_aliases): Likewise.
7301 * nis/nss-nisplus.h (niserr2nss): Likewise.
7302 * nscd/connections.c (restart_p): Likewise.
7303 Change return type to bool.
7304
eab55bfb
RM
73052013-02-05 Roland McGrath <roland@hack.frob.com>
7306
7bd642f5
RM
7307 * Makeconfig (all-Depend-files): Add existing
7308 $(sorted-subdirs:=/Depend) files.
7309 (all-subdirs): Remove nss.
7310 * sysdeps/unix/inet/Subdirs: Add it here instead.
7311 * hesiod/Depend: New file.
7312
573c29b2
RM
7313 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7314 instead of calling alloca.
7315
b2e25af0
RM
7316 * io/lseek.c (__lseek): Rename to __libc_lseek.
7317 Define __lseek as an alias.
7318
eab55bfb
RM
7319 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7320
9a0d1941
CD
73212013-02-04 Carlos O'Donell <carlos@redhat.com>
7322
7323 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7324 else clause and remove check for non-standard endianness.
7325
b83bbec4
DM
73262013-02-04 David S. Miller <davem@davemloft.net>
7327
7328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7329
6277fdab
JM
73302013-02-04 Joseph Myers <joseph@codesourcery.com>
7331
7332 [BZ #13550]
7333 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7334 (__ubp_memchr): Remove prototype.
7335 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7336 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7337 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7338 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7339 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7340 Remove alias.
7341 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7342 (__ubp_memchr): Likewise.
7343 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7344 (__ubp_memchr): Likewise.
7345 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7346 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7348 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7349 CHECK_STRING.
7350 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7351 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7352 (__getcwd): Do not use CHECK_STRING.
7353 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7354 <bp-checks.h>.
7355 (__real_chown): Do not use CHECK_STRING.
7356 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7357 <bp-checks.h>.
7358 (fchownat): Do not use CHECK_STRING.
7359 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7360 CHECK_STRING.
7361 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7362 <bp-checks.h>.
7363 (__lchown): Do not use CHECK_STRING.
7364 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7365 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7366 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7367 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7369 include <bp-checks.h>.
7370 (truncate64): Do not use CHECK_STRING.
7371 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7372 <bp-checks.h>.
7373 (__real_chown): Do not use CHECK_STRING.
7374 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7375 <bp-checks.h>.
7376 (__lchown): Do not use CHECK_STRING.
7377 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7378 <bp-checks.h>.
7379 (__chown): Do not use CHECK_STRING.
7380 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7381 <bp-checks.h>.
7382 (truncate64): Do not use CHECK_STRING.
7383 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7384 Likewise.
7385 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7386 (__xmknod): Do not use CHECK_STRING.
7387 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7388 <bp-checks.h>.
7389 (__xmknodat): Do not use CHECK_STRING.
7390 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7391 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7392
903ae060
AS
73932013-02-04 Andreas Schwab <schwab@suse.de>
7394
7395 [BZ #14142]
7396 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7397 * include/netdb.h: Likewise for h_errno.
7398 * elf/tst-stackguard1.c: Include <tls.h>.
7399
542f9466
JK
74002013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7401
7402 * elf/link.h (struct link_map): Extend the l_addr comment.
7403 * include/link.h (struct link_map): Likewise.
7404
e782a927
JM
74052013-02-01 Joseph Myers <joseph@codesourcery.com>
7406
7407 [BZ #13550]
7408 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7409 (BOUNDED_1): Remove macro.
7410 * debug/backtrace.c: Don't include <bp-checks.h>.
7411 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7412 (__backtrace): Likewise.
7413 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7414 <bp-checks.h>.
7415 (__backtrace): Don't use BOUNDED_1.
7416 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7417 <bp-checks.h>.
7418 (__backtrace): Don't use BOUNDED_1.
7419 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7420 (__backtrace): Don't use BOUNDED_1.
7421 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7422 (shmat): Don't use BOUNDED_N.
7423
8cf28c5e
JM
74242013-01-31 Joseph Myers <joseph@codesourcery.com>
7425
3a7ac8a0
JM
7426 [BZ #13550]
7427 * sysdeps/generic/bp-start.h: Remove file.
7428 * csu/libc-start.c: Don't include <bp-start.h>.
7429 (LIBC_START_MAIN): Set up __environ directly instead of using
7430 INIT_ARGV_and_ENVIRON.
7431 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7432 <bp-start.h>.
7433
f3499f95
JM
7434 [BZ #13550]
7435 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7436 definitions.
7437 (CHECK_FCNTL): Likewise.
7438 (CHECK_N_PAGES): Likewise.
7439
32a45bea
JM
7440 [BZ #13550]
7441 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7442 definitions.
7443 (CHECK_SIGSET_NULL_OK): Likewise.
7444 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7445 <bp-checks.h>.
7446 (sigpending): Don't use CHECK_SIGSET.
7447 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7448 <bp-checks.h>.
7449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7450 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7451 <bp-checks.h>.
7452 (do_sigsuspend): Don't use CHECK_SIGSET.
7453 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7454 use CHECK_SIGSET.
7455 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7456 (do_sigwait): Don't use CHECK_SIGSET.
7457 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7458 use CHECK_SIGSET.
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7460 include <bp-checks.h>.
7461 (sigpending): Don't use CHECK_SIGSET.
7462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7463 include <bp-checks.h>.
7464 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7465 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7466 <bp-checks.h>.
7467 (sigpending): Don't use CHECK_SIGSET.
7468 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7469 <bp-checks.h>.
7470 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7471
2e8a5c8c
JM
7472 [BZ #13550]
7473 * sysdeps/generic/bp-semctl.h: Remove file.
7474 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7475 <bp-checks.h> and <bp-semctl.h>.
7476 (__old_semctl): Don't use CHECK_SEMCTL.
7477 (__new_semctl): Likewise.
7478 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7479 and <bp-semctl.h>.
7480 (__old_semctl): Don't use CHECK_SEMCTL.
7481 (__new_semctl): Likewise.
7482 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7483 <bp-checks.h> and <bp-semctl.h>.
7484 (__old_semctl): Don't use CHECK_SEMCTL.
7485 (__new_semctl): Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7487 <bp-checks.h> and <bp-semctl.h>.
7488 (semctl): Don't use CHECK_SEMCTL.
7489
c2d54929
JM
7490 [BZ #13550]
7491 * Makerules (elide-bp-thunks): Remove variable.
7492 (elide-routines.oS): Don't use $(elide-bp-thunks).
7493 (elide-routines.os): Likewise.
7494 (elide-routines.o): Likewise.
7495 (elide-routines.op): Likewise.
7496 (elide-routines.og): Likewise.
7497 (objects): Don't use $(bp-thunks).
7498 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7499 include.
7500 (common-generated): Do not add s-proto-bp.d.
7501 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7502 (int): Likewise.
7503 (typ): Likewise.
7504 Do not generate makefile rules for bounded-pointer thunks.
7505 * sysdeps/generic/bp-thunks.h: Remove file.
7506 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7507 * sysdeps/unix/s-proto-bp.S: Likewise.
7508
8cf28c5e
JM
7509 [BZ #15062]
7510 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7511 parts of result separately when argument is not close to line from
7512 -i to i and one part of argument is small.
7513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7515 * math/libm-test.inc (cacos_test): Add more tests.
7516 (casin_test): Likewise.
7517 (casinh_test): Likewise.
7518 * sysdeps/i386/fpu/libm-test-ulps: Update.
7519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7520
c4e33b8d
DM
75212013-01-31 David S. Miller <davem@davemloft.net>
7522
7523 * po/de.po: Update from translation team.
7524
3b60b421
MK
75252013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7526
7527 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7528
bb931195
TS
75292013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7530
b5a5da23
TS
7531 * configure.in (_AC_PROG_CC_C89): New definition.
7532 * configure: Regenerate.
7533
bb931195
TS
7534 * configure.in (AC_PROG_CPP): New definition.
7535 * configure: Regenerate.
7536
8c53a12c
JM
75372013-01-23 Joseph Myers <joseph@codesourcery.com>
7538
7539 * debug/tst-backtrace.h: New file.
7540 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7541 (ret): Remove variable.
7542 (x): Likewise.
7543 (FAIL): Remove macro.
7544 (NO_INLINE): Likewise.
7545 (fn1): Use match function instead of strstr.
7546 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7547 (ret): Remove variable.
7548 (x): Likewise.
7549 (FAIL): Remove macro.
7550 (NO_INLINE): Likewise.
7551 (fn): Use match function instead of strstr.
7552 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7553 (ret): Remove variable.
7554 (x): Likewise.
7555 (FAIL): Remove macro.
7556 (NO_INLINE): Likewise.
7557 (handle_signal): Use match function instead of strstr.
7558 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7559 (ret): Remove variable.
7560 (x): Likewise.
7561 (FAIL): Remove macro.
7562 (NO_INLINE): Likewise.
7563 (handle_signal): Use match function instead of strstr.
7564
4858fa2a
RM
75652013-01-23 Roland McGrath <roland@hack.frob.com>
7566
7567 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7568
bae8e7f5
DM
75692013-01-23 David S. Miller <davem@davemloft.net>
7570
7571 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7572 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7573 argument of CAS if possible.
7574 * sysdeps/sparc/sparc64/bits/atomic.h
7575 (__arch_compare_and_exchange_val_32_acq): Likewise.
7576 (__arch_compare_and_exchange_val_64_acq): Likewise.
7577
9cbbc4ae
PT
75782013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7579
7580 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7581 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7582 Include <limits.h>.
67b3f58c 7583 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7584
5655a0b5
AC
75852013-01-23 Adam Conrad <adconrad@0c3.net>
7586
7587 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7588 (LDFLAGS-tst-array5): Likewise.
7589
052aff95
JM
75902013-01-23 Joseph Myers <joseph@codesourcery.com>
7591
7592 [BZ #15036]
7593 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7594 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7595 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7596 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7597
7c1e01aa
DM
75982013-01-21 David S. Miller <davem@davemloft.net>
7599
7600 * sysdeps/sparc/backtrace.c: New file.
7601 * sysdeps/sparc/sparc32/backtrace.h: New file.
7602 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7603 * sysdeps/sparc/sparc64/backtrace.h: New file.
7604 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7605 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7606 -funwind-tables.
7607
ab087e0a
AS
76082013-01-21 Andreas Schwab <schwab@suse.de>
7609
7610 [BZ #15020]
7611 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7612 closed its stdout.
7613
ed689c2f
AS
76142013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7615
7616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7617 "mpa2.h".
7618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7619
31d470ac
JM
76202013-01-18 Joseph Myers <joseph@codesourcery.com>
7621 Mark Mitchell <mark@codesourcery.com>
7622 Tom de Vries <tom@codesourcery.com>
7623 Paul Pluzhnikov <ppluzhnikov@google.com>
7624
7625 * debug/tst-backtrace2.c: New file.
7626 * debug/tst-backtrace3.c: Likewise.
7627 * debug/tst-backtrace4.c: Likewise.
7628 * debug/tst-backtrace5.c: Likewise.
7629 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7630 (CFLAGS-tst-backtrace3.c): Likewise.
7631 (CFLAGS-tst-backtrace4.c): Likewise.
7632 (CFLAGS-tst-backtrace5.c): Likewise.
7633 (LDFLAGS-tst-backtrace2): Likewise.
7634 (LDFLAGS-tst-backtrace3): Likewise.
7635 (LDFLAGS-tst-backtrace4): Likewise.
7636 (LDFLAGS-tst-backtrace5): Likewise.
7637 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7638 tst-backtrace4 and tst-backtrace5.
7639
90567f30 76402013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7641 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7642
7643 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7644 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7645 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7646 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7648 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7649 "+r" and remove output regs list as redundant. Add explicit inline
7650 asm to specify register of return val to work around compiler codegen
7651 bug. Remove (int) cast on return value. Add return type parameter to
7652 use in macro so that this macro does not truncate return value for
7653 64-bit values.
7654 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7655 pass to INTERNAL_VSYSCALL_NCS.
7656 (INLINE_VSYSCALL): Add 'long int' as return type to
7657 INTERNAL_VSYSCALL_NCS macro invocation.
7658 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7659 INTERNAL_VSYSCALL_NCS macro invocation.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7661
d3b9ea61
SP
76622013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7663
0b57daeb
SP
7664 [BZ #14496]
7665 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7666 Fix application of SIMD FP exception mask.
7667
caa99d06
SP
7668 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7669 mp_no from a power of two.
7670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7671 __mpexp_twomm1. Use __pow_mp.
7672
d3b9ea61
SP
7673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7674 multiplication.
7675
1dbaee3c
DM
76762013-01-17 David S. Miller <davem@davemloft.net>
7677
7678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7679
728d7b43
JM
76802013-01-17 Joseph Myers <joseph@codesourcery.com>
7681
7682 [BZ #15023]
7683 * include/complex.h: Condition contents on [!_COMPLEX_H].
7684 (__kernel_casinhf): New prototype.
7685 (__kernel_casinh): Likewise.
7686 (__kernel_casinhl): Likewise.
7687 * math/Makefile (libm_calls): Add k_casinh.
7688 * math/k_casinh.c: New file.
7689 * math/k_casinhf.c: Likewise.
7690 * math/k_casinhl.c: Likewise.
7691 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7692 finite nonzero arguments.
7693 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7694 finite nonzero arguments.
7695 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7696 finite nonzero arguments.
7697 * math/s_casinh.c: Do not include <float.h>.
7698 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7699 * math/s_casinhf.c: Do not include <float.h>.
7700 (__casinhf): Move code for finite nonzero arguments to
7701 k_casinhf.c.
7702 * math/s_casinhl.c: Do not include <float.h>.
7703 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7704 redefine.
7705 (__casinhl): Move code for finite nonzero arguments to
7706 k_casinhl.c.
7707 * math/libm-test.inc (cacos_test): Add more tests.
7708 * sysdeps/i386/fpu/libm-test-ulps: Update.
7709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7710
2a26ef3a
PT
77112013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7712
7713 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7714 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7715 [!HAVE_MREMAP]: Remove [defined linux] case.
7716 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7717
a897655d
SP
77182013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7719
7720 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7721
881ebe89 77222013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7723
7724 * elf/elf.h (R_386_SIZE32): New relocation.
7725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7726 R_386_SIZE32.
7727 (elf_machine_rela): Likewise.
7728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7729 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7730
59981e9b
JM
77312013-01-17 Joseph Myers <joseph@codesourcery.com>
7732
7733 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7734 (FP_FAST_FMA): Do not define.
7735 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7736 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7737 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7738 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7739 !_SOFT_FLOAT]: Likewise.
7740 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7741 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7742 value.
7743 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7744 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7745 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7746 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7747 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7748 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7749 file.
7750
cfa8054f
AS
77512013-01-16 Andreas Schwab <schwab@suse.de>
7752
7753 [BZ #14327]
7754 * include/stdlib.h (__mktemp): Add declaration.
7755 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7756 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7757
dd930cc5
SP
77582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7759
881ebe89
SP
7760 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7761 definitions.
7762 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7763 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7764 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7765 definitions here.
7766 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7767 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7768 definitions.
7769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7770 and ONE.
7771 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7772 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7774 definitions.
7775 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7776 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7777 definitions.
7778 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7779
dd930cc5
SP
7780 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7781
c19a9f89
DM
77822013-01-15 David S. Miller <davem@davemloft.net>
7783
1aa61767
DM
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7785 trunc{,f} to libm-sysdep_routes.
7786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7788 file.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7791 file.
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7793 file.
7794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7797 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7798 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7799 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7802
c42d5e98
DM
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7804 nearbyint{,f} to libm-sysdep_routes.
7805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7807 New file.
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7809 file.
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7811 New file.
7812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7813 file.
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7817 file.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7820 file.
7821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7822 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7823 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7824
c19a9f89
DM
7825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7826 libc_feholdexcept and libc_fesetenv.
7827
357679d2
MF
78282013-01-15 Mike Frysinger <vapier@gentoo.org>
7829
7830 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7831
65a82e3d
DM
78322013-01-14 David S. Miller <davem@davemloft.net>
7833
8b954ab9
DM
7834 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7835 (SPARC_ASM_VIS2_IFUNC): Likewise.
7836 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7838 use of 'siam' instruction.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7840 Likewise.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7842 Likewise.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7844 Likewise.
7845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7850 file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7852 file.
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7854 file.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7856 file.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7862 new VIS2 routines.
7863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7866 Likewise.
7867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7872 routines to libm-sysdep_routines.
7873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7874
65a82e3d
DM
7875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7876 fdim/fdimf to libm-sysdep_routines.
7877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7878 file.
7879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7881 file.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7885 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7886 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7887 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7888 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7889
e34ab705
SP
78902013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7891
2a91b573
SP
7892 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7893 to optimize copies.
7894
1066a534
SP
7895 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7898
e34ab705
SP
7899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7900 local variable MPTWO.
7901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7902 Likewise.
7903
aba5e596
MF
79042013-01-13 Mike Frysinger <vapier@gentoo.org>
7905
7906 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7907 GLOB_NOESCAPE.
7908
e557e9e5
MF
79092013-01-13 Mike Frysinger <vapier@gentoo.org>
7910
7911 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7912
0428cec9
MF
79132013-01-13 Mike Frysinger <vapier@gentoo.org>
7914
7915 * manual/pattern.texi (glob_t): Document gl_flags.
7916 (glob64_t): Likewise.
7917
8794a964
DM
79182013-01-11 David S. Miller <davem@davemloft.net>
7919
66438c3f
RM
7920 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7921 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7922 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7923 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7924 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7925 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7926 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7927 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7928 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7929 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7930 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7931 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7932 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7933
4ae4244d
DM
7934 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7935 sparc V9 rather than using V8 code.
7936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7938
8794a964
DM
7939 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7940 Move to...
7941 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7942 Here.
7943
6270516e
RM
79442013-01-11 Roland McGrath <roland@hack.frob.com>
7945
7946 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7947 not in the main loop.
7948 * configure: Regenerated.
7949
6a57d931
JM
79502013-01-11 Joseph Myers <joseph@codesourcery.com>
7951
7952 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7953 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7954 to just #else.
7955 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7956 [!__GLIBC_HAVE_LONG_LONG] case.
7957 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7958 condition to just #else.
7959 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7960 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7961 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7962 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7963 unconditional.
7964 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7965 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7966 #elif condition to just #else.
7967 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7968 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7969 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7970 #elif condition to just #else.
7971
0e8529e9
SE
79722013-01-11 Steve Ellcey <sellcey@mips.com>
7973
7974 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7975 (EF_MIPS_ARCH_64): Fix value.
7976 (EF_MIPS_ARCH_32R2): New.
7977 (EF_MIPS_ARCH_64R2): New.
7978
740b3dbe
L
79792013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7980
7981 * Makeconfig (+link-pie-before-libc): New.
7982 (+link-pie-after-libc): Likewise.
7983 (+link-pie-tests): Likewise.
7984 (+link-pie): Rewritten.
7985 (link-before-libc): Remove $(config-LDFLAGS).
7986 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7987 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7988 (config-LDFLAGS): Renamed to ...
7989 (rtld-LDFLAGS): This.
7990 (rtld-tests-LDFLAGS): New macro.
7991 (link-libc-rpath-link): Likewise.
7992 (link-libc-tests-rpath-link): Likewise.
7993 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7994 (link-libc): Prepand $(link-libc-rpath-link).
7995 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7996 (test-program-prefix): New macro.
7997 (test-via-rtld-prefix): Likewise.
7998 (test-program-cmd): Likewise.
7999 (host-test-program-cmd): Likewise.
8000 * Makefile ($(common-objpfx)testrun.sh): Replace
8001 $(run-program-prefix) with $(test-program-prefix).
8002 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8003 $(rtld-LDFLAGS).
8004 ($(common-objpfx)shlib.lds): Likewise.
8005 (build-module-helper): Likewise.
8006 ($(common-objpfx)format.lds): Likewise.
8007 * Rules (binaries-pie-tests): New.
8008 (binaries-pie-notests): Likewise.
8009 (binaries-pie): Rewritten.
8010 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8011 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8012 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8013 (make-test-out): Replace $(host-built-program-cmd) with
8014 $(host-test-program-cmd).
8015 * config.make.in (build-hardcoded-path-in-tests): New variable.
8016 * configure.in (--enable-hardcoded-path-in-tests): New configure
8017 option.
8018 (hardcoded_path_in_tests): New AC_SUBST.
8019 * configure: Regenerated.
8020 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8021 $(built-program-cmd) with $(test-program-cmd).
8022 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8023 (test_program_cmd): This.
8024 * elf/Makefile ($(objpfx)order.out): Run test with
8025 $(test-program-prefix).
8026 ($(objpfx)order2.out): Likewise.
8027 ($(objpfx)tst-initorder.out): Likewise.
8028 ($(objpfx)tst-initorder2.out): Likewise.
8029 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8030 $(test-program-cmd).
8031 ($(objpfx)tst-array1-static.out): Likewise.
8032 ($(objpfx)tst-array2.out): Likewise.
8033 ($(objpfx)tst-array3.out): Likewise.
8034 ($(objpfx)tst-array4.out): Likewise.
8035 ($(objpfx)tst-array5.out): Likewise.
8036 ($(objpfx)tst-array5-static.out): Likewise.
8037 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8038 $(test-program-cmd).
8039 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8040 $(run-program-prefix) with $(test-program-prefix).
8041 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8042 (test_program_prefix): This.
8043 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8044 $(run-program-prefix) with $(test-program-prefix).
8045 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8046 (test_program_prefix): This.
8047 * iconvdata/tst-tables.sh: Likewise.
8048 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8049 $(run-program-prefix) with $(test-program-prefix).
8050 ($(objpfx)tst-translit.out): Likewise.
8051 ($(objpfx)tst-gettext2.out): Likewise.
8052 ($(objpfx)tst-gettext4.out): Likewise.
8053 ($(objpfx)tst-gettext6.out): Likewise.
8054 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8055 (test_program_prefix): This.
8056 * intl/tst-gettext2.sh: Likewise.
8057 * intl/tst-gettext4.sh Likewise.
8058 * intl/tst-gettext6.sh: Likewise.
8059 * intl/tst-translit.sh: Likewise.
8060 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8061 with $(test-program-cmd).
8062 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8063 $(run-program-prefix) with $(test-program-prefix).
8064 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8065 (test_program_prefix): This.
8066 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8067 $(run-program-prefix) with $(test-program-prefix).
8068 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8069 (test_program_prefix): This.
8070 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8071 * posix/Makefile ($(objpfx)globtest.out): Replace
8072 $(run-via-rtld-prefix) and $(test-wrapper) with
8073 $(test-program-prefix) and $(test-via-rtld-prefix).
8074 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8075 $(test-program-prefix).
8076 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8077 $(host-test-program-cmd).
8078 (tst-spawn-ARGS): Likewise.
8079 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8080 $(test-program-prefix).
8081 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8082 (test_via_rtld_prefix): This.
8083 (test_wrapper): Renamed to ...
8084 (test_program_prefix): This.
8085 (run_program_prefix): Replaced by test_program_prefix.
8086 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8087 (test_program_prefix): This.
8088 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8089 with $(host-test-program-cmd).
8090 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8091 $(run-program-prefix) with $(test-program-prefix).
8092 ($(objpfx)tst-printf.out): Likewise.
8093 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8094 $(test-program-cmd).
8095 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8096 (test_program_prefix): This.
8097 * stdio-common/tst-unbputc.sh: Likewise.
8098 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8099 $(run-program-prefix) with $(test-program-prefix).
8100 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8101 (test_program_prefix): This.
8102 * string/Makefile ($(objpfx)tst-svc.out): Replace
8103 $(built-program-cmd) with $(test-program-cmd).
8104
c6fe55cf
AJ
81052013-01-11 Andreas Jaeger <aj@suse.de>
8106
8107 [BZ #15003]
8108 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8109 value. Sync with Linux 3.7.
8110
9e6919c8
DM
81112013-01-10 David S. Miller <davem@davemloft.net>
8112
8113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8114 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8115 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8116
1c9f1a02
RM
81172013-01-10 Roland McGrath <roland@hack.frob.com>
8118
8119 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8120 never set.
8121 * configure: Regenerated.
8122
b9de2dde
DM
81232013-01-10 David S. Miller <davem@davemloft.net>
8124
8125 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8126 sparc V9 rather than using V8 code.
8127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8129
e7f68ef4
RM
81302013-01-10 Roland McGrath <roland@hack.frob.com>
8131
8132 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8133 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8134 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8135 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8136 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8137 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8138 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8139 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8140 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8141 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8142 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8143 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8144 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8145 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8146 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8147 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8148 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8149 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8150 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8151 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8152 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8153 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8154 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8155 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8156 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8157 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8158 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8159
5a47cc9c
DM
81602013-01-10 David S. Miller <davem@davemloft.net>
8161
8162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8163
4cf8f209
L
81642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * posix/Makefile (tests-static): New variable.
8167 (tests): Add $(tests-static).
8168 (tst-exec-static-ARGS): New variable.
8169 (tst-spawn-static-ARGS): Likewise.
8170 * posix/tst-exec-static.c: New file.
8171 * posix/tst-spawn-static.c: Likewise.
8172 * posix/tst-exec.c: Support run directly.
8173 * posix/tst-spawn.c: Likewise.
8174
fed0faa1
JM
81752013-01-10 Joseph Myers <joseph@codesourcery.com>
8176
828beb13
JM
8177 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8178 long.
8179 * math/bits/mathcalls.h (llrint): Likewise.
8180 (llround): Likewise.
8181 * stdlib/stdlib.h (struct drand48_data): Likewise.
8182 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8183 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8184 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8185 Likewise.
8186 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8187 Likewise.
8188 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8189 (elf_greg_t): Likewise.
8190 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8191 (__jmp_buf): Likewise.
8192 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8193 definitions.
8194 (llrint): Likewise, for all definitions.
8195 (llrintl): Likewise.
8196
fed0faa1
JM
8197 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8198 Remove [__GNUC__] condition.
8199 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8200 condition to just [__USE_ISOC99].
8201 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8202
1a20cb20
L
82032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8204
8205 [BZ #14200]
8206 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8207 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8208 defined.
8209 (_POSIX_V6_ILP32_OFF32): Likewise.
8210 (_XBS5_ILP32_OFF32): Likewise.
8211 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8212 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8213
751b85f7
SP
82142013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
7490eb81
SP
8216 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8217
751b85f7
SP
8218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8219 doubles __mpexp_twomm1. Adjust usage.
8220 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8221 Remove.
8222
988197f0
AS
82232013-01-10 Andreas Schwab <schwab@suse.de>
8224
8225 [BZ #14964]
8226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8227 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8228
e83d7298
DM
82292013-01-09 David S. Miller <davem@davemloft.net>
8230
034ed64b 8231 [BZ #15003]
e83d7298
DM
8232 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8233 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8234 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8235 TCP_FASTOPEN): Define.
8236 (tcp_repair_opt): New structure.
8237 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8238 enum values.
8239 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8240 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8241 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8242 (tcp_cookie_transactions): New structure.
8243
d5e0b9bd
AB
82442013-01-09 Anton Blanchard <anton@samba.org>
8245
8246 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8247 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8248 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8250
0c07e3ea
JM
82512013-01-09 Joseph Myers <joseph@codesourcery.com>
8252
8253 * include/features.h (__USE_ANSI): Remove.
8254
232f7002
RM
82552013-01-09 Roland McGrath <roland@hack.frob.com>
8256
ad98e30c
RM
8257 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8258
232f7002
RM
8259 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8260
950c99ca
SP
82612013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8262
b5792741
SP
8263 * sysdeps/s390/fpu/libm-test-ulps: Update.
8264
47cf2278
SP
8265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8266
950c99ca
SP
8267 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8268 (__acr): Likewise.
8269 (__cpy): Likewise.
8270 (norm): Likewise.
8271 (denorm): Likewise.
8272 (__mp_dbl): Likewise.
8273 (__dbl_mp): Likewise.
8274 (add_magnitudes): Likewise.
8275 (sub_magnitudes): Likewise.
8276 (__add): Likewise.
8277 (__sub): Likewise.
8278 (__mul): Likewise.
8279 (__inv): Likewise.
8280 (__dvd): Likewise.
8281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8282 (__acr): Likewise.
8283 (__cpy): Likewise.
8284 (norm): Likewise.
8285 (denorm): Likewise.
8286 (__mp_dbl): Likewise.
8287 (__dbl_mp): Likewise.
8288 (add_magnitudes): Likewise.
8289 (sub_magnitudes): Likewise.
8290 (__add): Likewise.
8291 (__sub): Likewise.
8292 (__mul): Likewise.
8293 (__inv): Likewise.
8294 (__dvd): Likewise.
8295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8296 (__acr): Likewise.
8297 (__cpy): Likewise.
8298 (norm): Likewise.
8299 (denorm): Likewise.
8300 (__mp_dbl): Likewise.
8301 (__dbl_mp): Likewise.
8302 (add_magnitudes): Likewise.
8303 (sub_magnitudes): Likewise.
8304 (__add): Likewise.
8305 (__sub): Likewise.
8306 (__mul): Likewise.
8307 (__inv): Likewise.
8308 (__dvd): Likewise.
8309
eede9df9
JM
83102013-01-08 Joseph Myers <joseph@codesourcery.com>
8311
8312 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8313 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8314 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8315 2 && __USE_EXTERN_INLINES]: Likewise.
8316
c40ea3d9
AJ
83172013-01-08 Andreas Jaeger <aj@suse.de>
8318
8319 [BZ# 14985]
8320 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8321 Remove.
8322 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8323 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8324
2ccdea26
AB
83252013-01-07 Anton Blanchard <anton@samba.org>
8326
8327 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8328 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8329 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8330 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8331 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8332 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8333 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8334 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8339 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8340 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8341 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8342 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8343 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8344 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8345 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8348 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8350 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8351 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8352 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8353 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8354 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8356 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8357 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8359 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8360 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8361 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8367 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8370
a9708fed
JM
83712013-01-07 Joseph Myers <joseph@codesourcery.com>
8372
375607b9
JM
8373 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8374 (__MALLOC_PMT): Likewise.
8375 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8376 [__GNUC__], only on [_LIBC].
8377 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8378 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8379 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8380 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8381 forward declaration.
8382 (realloc_hook_ini): Likewise.
8383 (memalign_hook_ini): Likewise.
8384 (__libc_memalign): Do not use __MALLOC_PMT in variable
8385 declaration.
8386 (__libc_valloc): Likewise.
8387 (__libc_pvalloc): Likewise.
8388 (__libc_calloc): Likewise.
8389 (__posix_memalign): Likewise.
8390
a9708fed
JM
8391 [BZ #14996]
8392 * math/s_casinh.c: Include <float.h>.
8393 (__casinh): Do not do computation with squaring and square root
8394 for large arguments.
8395 * math/s_casinhf.c: Include <float.h>.
8396 (__casinhf): Do not do computation with squaring and square root
8397 for large arguments.
8398 * math/s_casinhl.c: Include <float.h>.
8399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8400 (__casinhl): Do not do computation with squaring and square root
8401 for large arguments.
8402 * math/libm-test.inc (casin_test): Add more tests.
8403 (casinh_test): Likewise.
8404 * sysdeps/i386/fpu/libm-test-ulps: Update.
8405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8406
afec409a
L
84072013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8408
8409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8410 (__x86_64_raw_data_cache_size): Likewise.
8411 (__x86_64_data_cache_size_half): Likewise.
8412 (__x86_64_raw_data_cache_size_half): Likewise.
8413 (__x86_64_shared_cache_size): Likewise.
8414 (__x86_64_raw_shared_cache_size): Likewise.
8415 (__x86_64_shared_cache_size_half): Likewise.
8416 (__x86_64_raw_shared_cache_size_half): Likewise.
8417 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8418 to ...
8419 (__x86_data_cache_size): This.
8420 (__x86_64_raw_data_cache_size): Renamed to ...
8421 (__x86_raw_data_cache_size): This.
8422 (__x86_64_data_cache_size_half): Renamed to ...
8423 (__x86_data_cache_size_half): This.
8424 (__x86_64_raw_data_cache_size_half): Renamed to ...
8425 (__x86_raw_data_cache_size_half): This.
8426 (__x86_64_shared_cache_size): Renamed to ...
8427 (__x86_shared_cache_size): This.
8428 (__x86_64_raw_shared_cache_size): Renamed to ...
8429 (__x86_raw_shared_cache_size): This.
8430 (__x86_64_shared_cache_size_half): Renamed to ...
8431 (__x86_shared_cache_size_half): This.
8432 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8433 (__x86_raw_shared_cache_size_half): This.
8434 * sysdeps/x86_64/memcpy.S: Updated.
8435 * sysdeps/x86_64/memset.S: Likewise.
8436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8439
0b3986d0
DM
84402013-01-04 David S. Miller <davem@davemloft.net>
8441
8442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8443
e47686e9
AS
84442013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8445
d643bac1
AS
8446 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8447 1 to avoid redefinition warning.
8448 (__USE_GNU): Don't define.
8449 (init_signaling_nan): Protoize.
8450
e47686e9
AS
8451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8452
b18decba
SP
84532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8454
fffb407f
SP
8455 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8457 (__cpymn): Likewise.
8458 (norm): Remove commented code.
8459 (denorm): Likewise.
8460 (__mp_dbl): Likewise.
8461 (__inv): Likewise.
8462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8463 (__cpymn): Likewise.
8464 (norm): Remove commented code.
8465 (denorm): Likewise.
8466 (__mp_dbl): Likewise.
8467 (__inv): Likewise.
8468
b18decba
SP
8469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8470 mp_no value for 1.0 and 2.0.
8471 (norm): Use RADIXI instead of radixi.d.
8472 (denorm): Likewise.
8473 (__mul): Use 0.0 instead of zero.d.
8474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8475 mp_no value for 1.0 and 2.0.
8476 (norm): Use RADIXI instead of radixi.d.
8477 (denorm): Likewise.
8478 (__mul): Use 0.0 instead of zero.d.
8479
cdc1c96f
JM
84802013-01-04 Joseph Myers <joseph@codesourcery.com>
8481
8482 [BZ #14994]
8483 * math/s_casinh.c (__casinh): Reduce finite argument to first
8484 quadrant then set signs of results at the end.
8485 * math/s_casinhf.c (__casinhf): Likewise.
8486 * math/s_casinhl.c (__casinhl): Likewise.
8487 * math/libm-test.inc (casin_test): Add more tests.
8488 (casinh_test): Likewise.
8489 * sysdeps/i386/fpu/libm-test-ulps: Update.
8490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8491
302913e1
SP
84922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8493
6420d207
SP
8494 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8495
a9e48ab4
SP
8496 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8497
b7837264
SP
8498 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8499 declarations.
8500 (denorm): Likewise.
8501 (__mp_dbl): Likewise.
8502 (__inv): Likewise.
8503
f8af25d2
SP
8504 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8505 and adjust the header comment.
8506
302913e1
SP
8507 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8508 variable name from declaration.
8509
5d7dd1ca
L
85102013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8513 Initialize COMMON_CPUID_INDEX_7 element.
8514 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8515 (CPUID_RTM): Likewise.
8516 (HAS_RTM): Likewise.
8517 (COMMON_CPUID_INDEX_7): New enum.
8518
2f5f40f4
AS
85192013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8520
8521 [BZ #14981]
8522 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8523 size is zero, record memory as freed.
8524
4056f4a0
AJ
85252013-01-03 Andreas Jaeger <aj@suse.de>
8526
8527 * po/ia.po: Add new Interlingua translation.
8528
ab15736f 85292012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8530
8531 * locale/programs/localedef.c: Fix description of '--posix' flag.
8532
568035b7
JM
85332013-01-02 Joseph Myers <joseph@codesourcery.com>
8534
e6898b8d
JM
8535 * NEWS: Update dates in second copyright notice.
8536 * README: Update copyright dates in example.
8537 * manual/libc.texinfo: Update copyright dates.
8538 * scripts/test-installation.pl: Update copyright date in --version
8539 output.
8540
0e2f9562
JM
8541 * hurd/ctty-input.c: Fix copyright notice formatting.
8542 * hurd/ctty-output.c: Likewise.
8543 * hurd/dtable.c: Likewise.
8544 * hurd/hurd-raise.c: Likewise.
8545 * hurd/hurdprio.c: Likewise.
8546 * hurd/msgportdemux.c: Likewise.
8547 * misc/sys/file.h: Likewise.
8548 * misc/sys/ioctl.h: Likewise.
8549 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8550 * sysdeps/mach/hurd/chdir.c: Likewise.
8551 * sysdeps/mach/hurd/fchdir.c: Likewise.
8552 * sysdeps/mach/hurd/rename.c: Likewise.
8553 * sysdeps/mach/hurd/rmdir.c: Likewise.
8554 * sysdeps/mach/hurd/seekdir.c: Likewise.
8555 * sysdeps/mach/hurd/setsid.c: Likewise.
8556 * sysdeps/posix/wait3.c: Likewise.
8557
568035b7
JM
8558 * All files with FSF copyright notices: Update copyright dates
8559 using scripts/update-copyrights.
8560 * intl/plural.c: Regenerated.
8561 * locale/programs/charmap-kw.h: Likewise.
8562 * locale/programs/locfile-kw.h: Likewise.
8563
da08f647
SP
85642013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8565
0f5477af
SP
8566 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8567 four values.
8568
44e0d4c2
SP
8569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8570 calculation loop and add branch prediction.
8571
4d55b4e5
SP
8572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8573 check access beyond bounds of m1np.
8574
da08f647
SP
8575 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8576 MPTWO.
8577 (__inv): Remove local variable MPTWO to use the global
8578 constant.
8579 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8581 variable MPTWO.
8582 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8583 MP3HALFS static const.
8584
8e051029
DM
85852013-01-01 David S. Miller <davem@davemloft.net>
8586
8587 * po/ca.po: Update from translation team.
8588
f4cf5f2d
JM
85892013-01-01 Joseph Myers <joseph@codesourcery.com>
8590
8591 * scripts/update-copyrights: New file.
8592 * Makeconfig: Reformat copyright notice.
8593 * ctype/ctype.h: Likewise.
8594 * debug/swprintf_chk.c: Likewise.
8595 * elf/dl-cache.c: Likewise.
8596 * elf/dl-debug.c: Likewise.
8597 * elf/dl-object.c: Likewise.
8598 * grp/initgroups.c: Likewise.
8599 * hurd/Makefile: Likewise.
8600 * hurd/hurd/signal.h: Likewise.
8601 * hurd/hurdfault.c: Likewise.
8602 * hurd/hurdioctl.c: Likewise.
8603 * hurd/hurdlookup.c: Likewise.
8604 * hurd/intr-msg.c: Likewise.
8605 * iconv/gconv_open.c: Likewise.
8606 * libio/swprintf.c: Likewise.
8607 * locale/lc-ctype.c: Likewise.
8608 * locale/nl_langinfo.c: Likewise.
8609 * mach/Machrules: Likewise.
8610 * mach/Makefile: Likewise.
8611 * malloc/obstack.h: Likewise.
8612 * manual/Makefile: Likewise.
8613 * manual/tsort.awk: Likewise.
8614 * misc/bits/stab.def: Likewise.
8615 * nis/nis_print_group_entry.c: Likewise.
8616 * nis/nis_table.c: Likewise.
8617 * nis/nss_compat/compat-pwd.c: Likewise.
8618 * nis/nss_compat/compat-spwd.c: Likewise.
8619 * po/Makefile: Likewise.
8620 * posix/fnmatch.c: Likewise.
8621 * posix/regex.h: Likewise.
8622 * resolv/Makefile: Likewise.
8623 * resolv/nss_dns/dns-network.c: Likewise.
8624 * resolv/res_hconf.c: Likewise.
8625 * scripts/gen-sorted.awk: Likewise.
8626 * soft-fp/soft-fp.h: Likewise.
8627 * stdio-common/printf.h: Likewise.
8628 * stdlib/monetary.h: Likewise.
8629 * stdlib/random.c: Likewise.
8630 * stdlib/random_r.c: Likewise.
8631 * sysdeps/generic/Makefile: Likewise.
8632 * sysdeps/gnu/Makefile: Likewise.
8633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8661 * sysdeps/mach/hurd/errnos.awk: Likewise.
8662 * sysdeps/mach/hurd/fork.c: Likewise.
8663 * sysdeps/mach/hurd/getcwd.c: Likewise.
8664 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8665 * sysdeps/mach/hurd/mmap.c: Likewise.
8666 * sysdeps/mach/hurd/utimes.c: Likewise.
8667 * sysdeps/mach/hurd/xmknod.c: Likewise.
8668 * sysdeps/posix/profil.c: Likewise.
8669 * sysdeps/posix/readdir_r.c: Likewise.
8670 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8671 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8672 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8673 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8675 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8676 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8677 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8679 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8680 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8681 * sysdeps/pthread/lio_listio.c: Likewise.
8682 * sysdeps/sparc/dl-procinfo.h: Likewise.
8683 * sysdeps/unix/i386/sysdep.S: Likewise.
8684 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8685 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8686 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8687 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8689 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8690 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8691 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8692 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8693 * sysdeps/wordsize-32/divdi3.c: Likewise.
8694 * time/sys/time.h: Likewise.
8695 * wcsmbs/Makefile: Likewise.
8696
0549fbba
DM
86972013-01-01 David S. Miller <davem@davemloft.net>
8698
a141f1a7
DM
8699 * po/fr.po: Update from translation team.
8700
0549fbba
DM
8701 * catgets/gencat.c: Update copyright year.
8702 * csu/version.c: Likewise.
8703 * debug/catchsegv.sh: Likewise.
8704 * debug/pcprofiledump.c: Likewise.
8705 * debug/xtrace.sh: Likewise.
8706 * elf/ldconfig.c: Likewise.
8707 * elf/ldd.bash.in: Likewise.
8708 * elf/pldd.c: Likewise.
8709 * elf/sotruss.ksh: Likewise.
8710 * elf/sprof.c: Likewise.
8711 * iconv/iconv_prog.c: Likewise.
8712 * iconv/iconvconfig.c: Likewise.
8713 * locale/programs/locale.c: Likewise.
8714 * locale/programs/localedef.c: Likewise.
8715 * login/programs/pt_chown.c: Likewise.
8716 * malloc/memusage.sh: Likewise.
8717 * malloc/memusagestat.c: Likewise.
8718 * malloc/mtrace.pl: Likewise.
8719 * nscd/nscd.c: Likewise.
8720 * nss/getent.c: Likewise.
8721 * nss/makedb.c: Likewise.
8722 * posix/getconf.c: Likewise.
8723
18ea052c
SP
87242012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
8726 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8727 numbers.
8728
9c89fca6
MF
87292012-12-30 Mike Frysinger <vapier@gentoo.org>
8730
8731 * math/bits/mathcalls.h (modf): Use __nonnull.
8732
085ec079
SP
87332012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8734
8735 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8736 (split): Use macro CN instead of the bare value.
8737 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8738 could be used.
8739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8740 instead of the bare value.
8741 (power1): Likewise.
8742
6d9f97e1
SP
87432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8744
d63f73be
SP
8745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8746 __ATAN_TWOM.
8747 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8748
6d9f97e1
SP
8749 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8750 their values.
8751 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8753 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8755
4c4febf5
AJ
87562012-12-28 Andreas Jaeger <aj@suse.de>
8757
af5843ef
AJ
8758 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8759 values are from Linux 3.7.
8760
4c4febf5
AJ
8761 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8762 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8763
99136f82
SP
87642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8765
2f216c3c 8766 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8767 TRUE case.
8768
99136f82
SP
8769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8770 (norm): Likewise.
8771 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8772 variables with preprocessor constants.
8773 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8774 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8775 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8776
7fffbdff
BH
87772012-12-27 Bruno Haible <bruno@clisp.org>
8778
8779 [BZ #14317]
8780 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8781 only if needed.
8782
b76eb5f0
SP
87832012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8784
31a7fe5c
SP
8785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8786 and use variable directly.
8787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8788
b76eb5f0
SP
8789 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8790 MPONE.
8791 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8793 variable MPONE.
8794 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8796 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8797 include directive. Remove local variable MPONE.
8798 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8801
2c8bfe7d
DM
88022012-12-25 David S. Miller <davem@davemloft.net>
8803
8804 * version.h (RELEASE): Set to "development".
8805 (VERSION): Set to "2.17.90".
8806 * NEWS: Add 2.18 section.
8807
147d03b0
DM
88082012-12-21 David S. Miller <davem@davemloft.net>
8809
8810 * po/hr.po: Update from translation team.
8811
a8ebb2b9
AK
88122012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8813
8814 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8815
95b4f1b6
SE
88162012-12-19 Steve Ellcey <sellcey@mips.com>
8817
b2d94007 8818 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8819
cedb2a90
MS
88202012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8821
8822 * manual/contrib.texi (Contributors): Spelling correction.
8823
bbf527d6
DM
88242012-12-15 David S. Miller <davem@davemloft.net>
8825
8826 * po/ru.po: Update from translation team.
8827
bc38c906
DM
88282012-12-13 David S. Miller <davem@davemloft.net>
8829
85429b1a
DM
8830 * NEWS: Mention IFUNC testsuite enhancements.
8831
d283e353
DM
8832 * po/pl.po: Update from translation team.
8833 * po/bg.po: Likewise.
8834
bc38c906
DM
8835 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8836 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8837
a181b0d7
DM
88382012-12-11 David S. Miller <davem@davemloft.net>
8839
4641d57e
DM
8840 * po/sv.po: Update from translation team.
8841
f7bc6495
DM
8842 * po/vi.po: Update from translation team.
8843
6fc9048f
DM
8844 * po/cs.po: Update from translation team.
8845
a181b0d7
DM
8846 * po/de.po: Update from translation team.
8847 * po/eo.po: Likewise.
8848 * po/nl.po: Likewise.
8849
f70bfe80
SP
88502012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8851
3c8b4190
SP
8852 [BZ #14246]
8853 * manual/argp.texi (Argp Helper Functions): Move node to follow
8854 Argp Parsing State.
8855
f70bfe80
SP
8856 [BZ #14872]
8857 * manual/conf.texi (Limits on File System Capacity): Mention if
8858 terminating null is included in the max size.
8859
188f0adf
AJ
88602012-12-10 Andreas Jaeger <aj@suse.de>
8861
8862 * po/cs.po: Update from translation team.
8863
56e7d3ad
SP
88642012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8865
8866 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8867 void pointer and cast to uintptr_t.
8868 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8869 path.
8870 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8871 * sysdeps/s390/s390-64/memset.S: Likewise.
8872
76f2d2ea 88732012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8874
8875 [BZ #14833]
8876 * menual/message.texi (Message Translation): Fix typos.
8877 (Helper programs for gettext): Likewise.
8878
67cbf9a2
AS
88792012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8880
8881 [BZ #14898]
8882 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8883 Change to -1.
8884
682d0e9a
DM
88852012-12-07 David S. Miller <davem@davemloft.net>
8886
8887 * po/libc.pot: Update.
8888
573cd484
RH
88892012-12-07 Richard Henderson <rth@redhat.com>
8890
7e9da188 8891 [BZ #10114]
573cd484
RH
8892 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8893 normal/normal case to before the switch.
8894 (_FP_DIV): Likewise.
8895
e933a943
MF
88962012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8897 Mike Frysinger <vapier@gentoo.org>
8898
8899 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8900 check for __NR_fadvise64_64.
8901
82123268
CM
89022012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8903
8904 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8905 0, not just to plain "0" as a statement.
8906 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8907 with cw.
8908
d9814526
JM
89092012-12-06 Joseph Myers <joseph@codesourcery.com>
8910
8911 * NEWS: Use sourceware.org in Bugzilla URL.
8912
7728c574
SP
89132012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8914
f16946dd
SP
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8916 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8917
5704bbcb
SP
8918 * stdio-common/tst-put-error.c (do_test): Add newline to the
8919 padded test to ensure flush.
8920
17aa0516
JL
89212012-12-05 Jeff Law <law@redhat.com>
8922
8923 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8924
363313b5
JM
89252012-12-05 Joseph Myers <joseph@codesourcery.com>
8926
effbd42a
JM
8927 * README: Don't refer to ports add-on as distributed separately.
8928 Mention AArch64 in list of systems supported in the ports add-on.
8929
87600365
JM
8930 * LICENSES: Add more non-FSF copyright and license notices.
8931
a0d7066a
JM
8932 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8933 ((unused)).
8934
66ca5a5b
JM
8935 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8936
363313b5
JM
8937 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8938 10000 as width of padded output.
8939
b37984ad
JM
89402012-12-04 Joseph Myers <joseph@codesourcery.com>
8941
9003570a
JM
8942 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8943
b37984ad
JM
8944 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8945 variable LX with __attribute__ ((unused)).
8946 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8947 Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8951 with __attribute__ ((unused)).
8952
c8df52ec
DM
89532012-12-04 David S. Miller <davem@abraco.davemloft.net>
8954
8955 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8956
b3b099af
JM
89572012-12-04 Joseph Myers <joseph@codesourcery.com>
8958
c33aa6e3
JM
8959 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8960 (CFLAGS-nldbl-acos.c): New variable.
8961 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8962 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8963 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8964 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8965 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8966 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8967 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8972 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8973 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8974 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8975 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8976 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8977 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8978 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8979 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9016 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9017 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9018 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9019 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9020 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9021 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9022 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9023 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9024 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9025 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9026 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9031 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9032 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9033 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9034 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9035 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9036 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9037 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9038 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9039 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9040 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9041 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9042 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9043 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9044 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9045 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9046 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9047 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9048 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9049 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9050 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9051 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9052 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9053 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9054 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9055 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9056 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9057 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9058
20f0018d
JM
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9061
b3b099af
JM
9062 [BZ #14914]
9063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9064 whole low double instead of just low 47 bits when splitting values
9065 into two parts.
9066
029264d1
AM
90672012-12-03 Allan McRae <allan@archlinux.org>
9068
9069 * manual/stdio.texi (Predefined Printf Handlers): Remove
9070 @hsep and @vsep usage.
9071
c9d6789e
MF
90722012-12-03 Mike Frysinger <vapier@gentoo.org>
9073
9074 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9075 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9076
4b7634a5
JL
90772012-12-03 Jeff Law <law@redhat.com>
9078
9079 * time/sys/time.h (settimeofday): Do not mark TV argument
9080 as __nonnull.
9081
eb6cbd24
MF
90822012-12-01 Mike Frysinger <vapier@gentoo.org>
9083
9084 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9085 when currently writing and seek to current position when not.
9086 * libio/Makefile (tests): Remove bug-fclose1.
9087 * libio/bug-fclose1.c: Delete.
9088
f638872a
JM
90892012-12-01 Joseph Myers <joseph@codesourcery.com>
9090
9091 * manual/arith.texi (feenableexcept): Fix typo.
9092 (fedisableexcept): Likewise.
9093
48085d14
RM
90942012-11-30 Roland McGrath <roland@hack.frob.com>
9095
9096 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9097 second, differently-typed declaration, rather than a cast.
9098
1a538b9f
SP
90992012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9100
9101 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9102 * include/rpc/svc.h: ... here.
9103
d07f2ff1 91042012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9105
9106 [BZ #13013]
9107 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9108 depending n and resplen2 to catch cases where answer
9109 equals answerp2.
9110
c93ec1f0
CD
91112012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9112
9113 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9114 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9115
37db69de
MF
91162012-11-29 Mike Frysinger <vapier@gentoo.org>
9117
9118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9119
e10c4e4f
RM
91202012-11-29 Roland McGrath <roland@hack.frob.com>
9121
9122 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9123
2af1b328
JL
91242012-11-28 Jeff Law <law@redhat.com>
9125
9126 [BZ #13761]
9127 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9128 dataset_temporary. Track alloca usage into alloca_used.
9129 If dataset is large allocate and release it via malloc/free.
9130
111db5b1
FW
91312012-06-04 Florian Weimer <fweimer@redhat.com>
9132
f06cc227 9133 [BZ #14197]
111db5b1
FW
9134 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9135
dd694abd
DM
91362012-11-28 David S. Miller <davem@davemloft.net>
9137
9138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9139
9984dd01
JM
91402012-11-28 Joseph Myers <joseph@codesourcery.com>
9141
9142 [BZ #14803]
9143 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9144 of pi/2 rounded to nearest to 64 bits.
9145 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9146 nearest to 64 bits.
9147 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9148 bits.
9149
14bc93a9
JL
91502012-11-28 Jeff Law <law@redhat.com>
9151 Martin Osvald <mosvald@redhat.com>
9152
9153 [BZ #14889]
9154 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9155 * sunrpc/svc.c: Include time.h.
9156 (__svc_accept_failed): New function.
9157 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9158 any reason other than EINTR, call __svc_accept_failed.
9159 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9160 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9161
e3c6aa3a
AS
91622012-11-28 Andreas Schwab <schwab@suse.de>
9163
9164 * scripts/abilist.awk: Also handle indirect functions in .opd
9165 section.
9166
1bead169
JM
91672012-11-28 Joseph Myers <joseph@codesourcery.com>
9168
9169 [BZ #13881]
9170 * sysdeps/x86/fpu/powl_helper.c: New file.
9171 * sysdeps/x86/fpu/Makefile: Likewise.
9172 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9173 (p3): New object.
9174 (__ieee754_powl): Use __powl_helper for finite arguments except
9175 integer exponents below 8.
9176 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9177 (p3): New object.
9178 (__ieee754_powl): Use __powl_helper for finite arguments except
9179 integer exponents below 8.
9180 * math/libm-test.inc (pow_test): Add more tests and enable some
9181 previously disabled tests.
9182 * sysdeps/i386/fpu/libm-test-ulps: Update.
9183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9184
0817d63d
SP
91852012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9186 Carlos O'Donell <carlos_odonell@mentor.com>
9187
9188 * nss/makedb.c (is_prime): Assert that input is odd and greater
9189 than 4. Note that fact in a comment too.
9190 (next_prime): Add 4 to input.
9191
de2fd463
SP
91922012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9193
9194 [BZ #11741]
9195 * libio/Makefile (tests): Add test case tst-fwrite-error.
9196 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9197 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9198 * libio/tst-fwrite-error.c: New test case.
9199
c515fb51
L
92002012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9201
9202 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9203 before casting to void *.
9204 * include/libc-internal.h (__pointer_type): New macro.
9205 (__integer_if_pointer_type_sub): Likewise.
9206 (__integer_if_pointer_type): Likewise.
9207 (cast_to_integer): Likewise.
9208 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9209 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9210 before casting to atomic64_t.
9211 (atomic_exchange_acq): Likewise.
9212 (__arch_exchange_and_add_body): Likewise.
9213 (__arch_add_body): Likewise.
9214 (atomic_add_negative): Likewise.
9215 (atomic_add_zero): Likewise.
9216
4cf77aa9
JM
92172012-11-26 Joseph Myers <joseph@codesourcery.com>
9218
9219 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9220 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9221 (add_fdes): Likewise.
9222 (linear_search_fdes): Likewise.
9223 (binary_search_unencoded_fdes): Likewise.
9224
d260b3b4
AS
92252012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9226
9227 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9228
67060746
AC
92292012-11-24 Adam Conrad <adconrad@0c3.net>
9230
9231 * configure.in: Autodetect C++ header directories.
9232 * configure: Regenerated.
9233
800938a1
MF
92342012-11-23 Mike Frysinger <vapier@gentoo.org>
9235
9236 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9237
4e6e34e6
AS
92382012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9239
9240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9241
7c7feb47
JM
92422012-11-22 Joseph Myers <joseph@codesourcery.com>
9243
7184dcdf
JM
9244 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9245 LDBL_MANT_DIG == 106]: Disable some tests.
9246 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9247 Likewise.
9248 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9249 Likewise.
9250
0a42601f
JM
9251 [BZ #14871]
9252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9253 input for small inputs. Return +/- pi/2 for large inputs.
9254 * math/libm-test.inc (atan_test): Add more tests.
9255
79c9b9fe
JM
9256 * sysdeps/generic/unwind-dw2-fde-glibc.c
9257 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9258 __attribute__ ((unused)).
9259
c60d3bf2
JM
9260 [BZ #14645]
9261 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9262 x * y if x and y are nonzero and z is zero.
9263
ef1e0867
JM
9264 [BZ #14811]
9265 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9266 nonzero exponents with absolute value below 0x1p-117 to +/-
9267 0x1p-117.
9268
1468ded3
JM
9269 [BZ #14869]
9270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9271 up arguments below 2**-450, not just those below 2**-500.
9272 * math/libm-test.inc (hypot_test): Add another test.
9273
8e27e3cc
JM
9274 [BZ #14868]
9275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9276 Return a+b for ratio over 2**120, not 2**60.
9277 * math/libm-test.inc (hypot_test): Add another test.
9278
c9c0279b
JM
9279 * math/libm-test.inc (clog_test): Use
9280 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9281 (clog10_test): Likewise.
9282
7c7feb47
JM
9283 [BZ #6778]
9284 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9285
fff1530e
AS
92862012-11-22 Andreas Schwab <schwab@suse.de>
9287
9288 * sysdeps/i386/fpu/libm-test-ulps: Update.
9289
94558d30
PT
92902012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9291
9292 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9293 printf output with newline.
9294
7e1be741
L
92952012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9296
6bfea974
L
9297 [BZ #14865]
9298 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9299 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9300 -z nodlopen, -z initfirst and -z execstack support.
9301 * configure: Regenerated.
9302
7e1be741
L
9303 * elf/elf.h (DF_1_NODIRECT): New macro.
9304 (DF_1_IGNMULDEF): Likewise.
9305 (DF_1_NOKSYMS): Likewise.
9306 (DF_1_NOHDR): Likewise.
9307 (DF_1_EDITED): Likewise.
9308 (DF_1_NORELOC): Likewise.
9309 (DF_1_SYMINTPOSE): Likewise.
9310 (DF_1_GLOBAUDIT): Likewise.
9311 (DF_1_SINGLETON): Likewise.
9312 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9313 DT_1_SUPPORTED_MASK bits.
9314 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9315
105ce2ce
CD
93162012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9317
9318 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9319
123be9de
TS
93202012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9321
d072f3f7
TS
9322 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9323 macro.
9324
123be9de
TS
9325 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9326 (sendmmsg): Move declarations...
9327 * socket/sys/socket.h: ... here.
9328 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9329 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9330 include it from...
9331 * socket/recvmmsg.c: ... this new file.
9332 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9333 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9334 definition of __sendmmsg hidden.
9335 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9336 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9337 Move ENOSYS stub into and include it from...
9338 * socket/sendmmsg.c: ... this new file.
9339 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9340 (sysdep_routines): Move recvmmsg and sendmmsg...
9341 * socket/Makefile (routines): ... here.
9342 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9343 (GLIBC_PRIVATE): Add __sendmmsg.
9344 * include/sys/socket.h (__sendmmsg): Add declarations.
9345 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9346 sendmmsg.
9347
cf9a5d18
JM
93482012-11-20 Joseph Myers <joseph@codesourcery.com>
9349
9350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9351 variable I1 with __attribute__ ((unused)).
9352 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9353
ecd4caf9
JM
93542012-11-19 Joseph Myers <joseph@codesourcery.com>
9355
be14d48f
JM
9356 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9357 DUMMY variables with __attribute__ ((unused)).
9358
ecd4caf9
JM
9359 * bits/byteswap.h: Include <bits/types.h>.
9360 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9361
986cab95
PT
93622012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9363
9364 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9365 string_t. Do not manually set errno.
9366 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9367 length with __strnlen. Make sure to both set errno and return it on
9368 failure.
9369
6d33cc9d
DM
93702012-11-19 David S. Miller <davem@davemloft.net>
9371
9372 With help from Joseph Myers.
9373 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9374 very large arguments properly.
9375 * math/libm-test.inc (atan_test): New tests.
9376 (atan2_test): New tests.
9377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9379
ee663277
JM
93802012-11-19 Joseph Myers <joseph@codesourcery.com>
9381
877f2d8e
JM
9382 [BZ #14856]
9383 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9384 Define to 3.
9385
116fc08a
JM
9386 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9387 [POSIX] (EADDRNOTAVAIL): Likewise.
9388 [POSIX] (EAFNOSUPPORT): Likewise.
9389 [POSIX] (EALREADY): Likewise.
9390 [POSIX] (ECONNABORTED): Likewise.
9391 [POSIX] (ECONNREFUSED): Likewise.
9392 [POSIX] (ECONNRESET): Likewise.
9393 [POSIX] (EDESTADDRREQ): Likewise.
9394 [POSIX] (EDQUOT): Likewise.
9395 [POSIX] (EHOSTUNREACH): Likewise.
9396 [POSIX] (EIDRM): Likewise.
9397 [POSIX] (EISCONN): Likewise.
9398 [POSIX] (ELOOP): Likewise.
9399 [POSIX] (EMULTIHOP): Likewise.
9400 [POSIX] (ENETDOWN): Likewise.
9401 [POSIX] (ENETUNREACH): Likewise.
9402 [POSIX] (ENOBUFS): Likewise.
9403 [POSIX] (ENODATA): Likewise.
9404 [POSIX] (ENOLINK): Likewise.
9405 [POSIX] (ENOMSG): Likewise.
9406 [POSIX] (ENOPROTOOPT): Likewise.
9407 [POSIX] (ENOSR): Likewise.
9408 [POSIX] (ENOSTR): Likewise.
9409 [POSIX] (ENOTCONN): Likewise.
9410 [POSIX] (ENOTSOCK): Likewise.
9411 [POSIX] (EOPNOTSUPP): Likewise.
9412 [POSIX] (EOVERFLOW): Likewise.
9413 [POSIX] (EPROTO): Likewise.
9414 [POSIX] (EPROTONOSUPPORT): Likewise.
9415 [POSIX] (EPROTOTYPE): Likewise.
9416 [POSIX] (ESTALE): Likewise.
9417 [POSIX] (ETIME): Likewise.
9418 [POSIX] (ETXTBSY): Likewise.
9419 [POSIX] (EWOULDBLOCK): Likewise.
9420 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9421 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9422 [POSIX] (SEEK_CUR): Likewise.
9423 [POSIX] (SEEK_END): Likewise.
9424 [POSIX || UNIX98] (mode_t): Do not require.
9425 [POSIX] (off_t): Likewise.
9426 [POSIX] (pid_t): Likewise.
9427 [POSIX] (sys/stat.h): Do not allow header.
9428 [POSIX] (unistd.h): Likewise.
9429 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9430 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9431 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9432 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9433 require.
9434 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9435 sigevent): Specify elements.
9436 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9437 entry.
9438 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9439 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9440
a483863f
JM
9441 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9442 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9443 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9444 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9445 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9446 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9447 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9448 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9449 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9450 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9451 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9452 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9453 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9454 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9455 Likewise.
9456 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9457 Likewise.
9458 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9459 Likewise.
9460 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9461 Likewise.
9462 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9463 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9464 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9465 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9466 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9467 Specify lower bound on value.
9468 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9474 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9475 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9476 value.
9477 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9478 as optional.
9479 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9480 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9481 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9482 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9485 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9486 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9487 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9494 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9495 entry.
9496 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9497 optional.
9498 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9504 Likewise.
9505 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9510 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9512 as optional.
9513 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9517 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9518 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9519 specify as optional.
9520 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9523 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9524 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9525 [XPG3] (NL_LANGMAX): Likewise.
9526 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9527 [POSIX || XPG3] (NL_NMAX): Likewise.
9528 [POSIX || XPG3] (NL_SETMAX): Likewise.
9529 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9530 [XPG3] (NZERO): Likewise.
9531 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9532 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9533 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9534 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9535 (REG_ERANGE): Expect.
9536 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9537 optional-constant.
9538 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9539 Use (void) in prototype.
9540 [POSIX] (*_t): Allow.
9541 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9542 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9543 (WRDE_BADVAL): Expect.
9544
5ba924e3
JM
9545 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9546 expect.
9547 [XPG3 || XPG4] (O_RSYNC): Likewise.
9548 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9549 Likewise.
9550 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9551 [XPG3 || XPG4] (sigqueue): Likewise.
9552 [XPG3 || XPG4] (sigtimedwait): Likewise.
9553 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9554 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9555 [XPG3 || XPG4] (vsnprintf): Likewise.
9556 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9557 Likewise.
9558 [XPG3 || XPG4] (blksize_t): Likewise.
9559 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9560 Likewise.
9561 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9562 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9563 [XPG3 || XPG4] (struct itimerspec): Likewise.
9564 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9565 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9566 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9567 [XPG3 || XPG4] (clockid_t): Likewise.
9568 [XPG3 || XPG4] (timer_t): Likewise.
9569 [XPG3 || XPG4] (clock_getres): Likewise.
9570 [XPG3 || XPG4] (clock_gettime): Likewise.
9571 [XPG3 || XPG4] (clock_settime): Likewise.
9572 [XPG3 || XPG4] (nanosleep): Likewise.
9573 [XPG3 || XPG4] (timer_create): Likewise.
9574 [XPG3 || XPG4] (timer_delete): Likewise.
9575 [XPG3 || XPG4] (timer_gettime): Likewise.
9576 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9577 [XPG3 || XPG4] (timer_settime): Likewise.
9578 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9579 [XPG3 || XPG4] (getlogin_r): Likewise.
9580 [XPG3 || XPG4] (pread): Likewise.
9581 [XPG3 || XPG4] (pthread_atfork): Likewise.
9582 [XPG3 || XPG4] (pwrite): Likewise.
9583
ee663277
JM
9584 [BZ #14835]
9585 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9586 <bits/siginfo.h>.
9587
942caa16
PT
95882012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9589
e19af380
PT
9590 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9591 finalizing MALLSTREAM.
9592
942caa16
PT
9593 * sysdeps/mach/hurd/syncfs.c: New file.
9594
cfde9b46
SP
95952012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9596
9597 [BZ #14719]
9598 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9599 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9600 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9601 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9602 (_nss_dns_gethostbyname4_r): Likewise.
9603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9604 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9605
f6da27e5
PH
96062012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9607
9608 [BZ #13763]
9609 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9610
6665d4a2
SM
96112012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9612
1f51ee92
SM
9613 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9614 * elf/cache.c (print_entry): Print ",AArch64" for
9615 FLAG_AARCH64_LIB64
9616
6665d4a2
SM
9617 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9618 * elf/cache.c (print_entry): Print ",hard-float" for
9619 FLAG_ARM_LIBHF.
9620
05b227bd
DM
96212012-11-18 David S. Miller <davem@davemloft.net>
9622
9623 With help from Joseph Myers.
9624 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9625 cutoff to 2**-13.
9626 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9627 cutoff to 2**-25.
9628 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9629 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9630 small.
9631 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9632 * math/libm-test.inc (y0_test): New tests.
9633 (y1_test): New tests.
9634 * sysdeps/i386/fpu/libm-test-ulps: Update.
9635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9637
786b0b67
AS
96382012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9639
9640 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9641 64-bit targets.
9642 * configure: Regenerated.
9643
8e18b86d
DM
96442012-11-17 David S. Miller <davem@davemloft.net>
9645
9646 [BZ #14811]
9647 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9648 nonzero exponents with absolute value below 0x1p-128 to +/-
9649 0x1p-128.
9650
531f1ae0
JM
96512012-11-17 Joseph Myers <joseph@codesourcery.com>
9652
12df29e2
JM
9653 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9654
150dc1a0
JM
9655 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9656
531f1ae0
JM
9657 * posix/getconf-speclist.c: New file.
9658 * posix/posix-envs.def: Likewise.
9659 * posix/confstr.c (START_ENV_GROUP): New macro.
9660 (END_ENV_GROUP): Likewise.
9661 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9662 (KNOWN_PRESENT_ENV_STRING): Likewise.
9663 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9664 (UNKNOWN_ENVIRONMENT): Likewise.
9665 (confstr): Include posix-envs.def instead of handling
9666 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9667 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9668 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9669 (END_ENV_GROUP): Likewise.
9670 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9671 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9672 (UNKNOWN_ENVIRONMENT): Likewise.
9673 (__sysconf): Include posix-envs.def instead of handling associated
9674 cases directly here.
9675 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9676 preprocessing getconf-speclist.c rather than running getconf or
9677 generating empty file.
9678
a93f9cbc
PT
96792012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9680
9681 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9682
d64d9f87
AL
96832012-11-16 Andrej Lajovic <natrij@gmail.com>
9684
9685 [BZ #14672]
9686 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9687
447885eb
DM
96882012-11-16 David S. Miller <davem@davemloft.net>
9689
9690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9691 smaller than LDBL_EPSILON/2.0L, just return xm1.
9692
bcbf9830
L
96932012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9694
9695 * elf/tst-array1.c (init): Set constructor priority to 1000.
9696 (fini): Set destructor priority to 1000.
9697 * elf/tst-array2dep.c: Likewise.
9698
2b766585
SP
96992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9700
9701 [BZ #11741]
9702 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9703 (_IO_new_file_xsputn): Also return EOF if none of the input
9704 data was written when overflow failed.
9705 * libio/iopadn.c (_IO_padn): Likewise.
9706 * libio/iowpadn.c (_IO_wpadn): Likewise.
9707 * stdio-common/tst-put-error.c: Add copyright notice.
9708 (do_test): Add case for printing padded string.
9709 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9710 _IO_padn returned error.
9711 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9712 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9713 return EOF.
9714
b1848fde
SP
97152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9716
9717 * libio/libioP.h: Add comment note that the references to C++
9718 bits are now obsolete.
9719
2fd89785
MS
97202012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9721
9722 * math/libm-test.inc (check_complex): Use asprintf.
9723
e3ea5409
JM
97242012-11-14 Joseph Myers <joseph@codesourcery.com>
9725
9726 * debug/pcprofiledump.c (print_version): Update copyright year.
9727 * malloc/memusagestat.c (print_version): Likewise.
9728
2e64d265
L
97292012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9730
9731 [BZ #14831]
9732 * elf/Makefile (tests): Add tst-audit8.
9733 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9734 ($(objpfx)tst-audit8.out): New target.
9735 (tst-audit8-ENV): New variable.
9736 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9737 audit if l_reloc_result is NULL.
9738 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9739 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9740 * elf/tst-audit8.c: New file.
9741
c485e4d2
MS
97422012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9743
9744 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9745 * misc/Makefile (CFLAGS-select.c): Define.
9746 * posix/Makefile (CFLAGS-pause.c): Define.
9747
3a0d900a
DM
97482012-11-13 David S. Miller <davem@davemloft.net>
9749
9750 * crypt/Makefile: Move test targets after toplevel Rules
9751 inclusion. Grab any necessary sysdep routines when linking.
9752 * crypt/md5.c (md5_process_block): Remove define, we will always
9753 name it __md5_process_block.
9754 (md5_finish_ctx): Update md5_process_block call.
9755 (md5_stream): Likewise.
9756 (md5_process_bytes): Likewise.
9757 (md5_process_block): Rename to __md5_process_block and move to ...
9758 * crypt/md5-block.c: ... here.
9759 * crypt/sha256.c (sha256_process_block): Move to ...
9760 * crypt/sha256-block.c: ... here.
9761 * crypt/sha512.c (sha512_process_block): Move to ...
9762 * crypt/sha512-block.c: ... here.
9763 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9764 path.
9765 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9766 * sysdeps/sparc/sparc64/multiarch/Makefile
9767 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9768 crypt subdir.
9769 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9770 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9771 multiarch changes.
9772 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9773 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9774 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9775 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9776 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9777 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9778 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9779 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9780 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9781 file.
9782 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9784 file.
9785 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9786
8ca89318
JM
97872012-11-13 Joseph Myers <joseph@codesourcery.com>
9788
e27d476a
JM
9789 * timezone/tzselect.ksh: Update from tzcode git revision
9790 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9791 * timezone/zdump.c: Likewise.
9792 * timezone/zic.c: Likewise.
9793 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9794 in TZVERSION setting, not $(PKGVERSION).
9795 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9796 REPORT_BUGS_TO settings.
9797
8ca89318
JM
9798 [BZ #14838]
9799 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9800 macro.
9801
47594329
MS
98022012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9803
9804 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9805 detection to immediately after _FP_ROUND().
9806 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9807 bits are 0.
9808
640ac3f1
DM
98092012-11-11 David S. Miller <davem@davemloft.net>
9810
9811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9812 inttypes.h
9813 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9814 __close rather than their public counterparts.
9815
3d2577bb
JM
98162012-11-10 Joseph Myers <joseph@codesourcery.com>
9817
9818 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9819 file.
9820 [UNIX98] (sem_timedwait): Do not expect.
9821 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9822 [XPG4 || UNIX98] (sockatmark): Do not expect.
9823 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9824 (clock_getcpuclockid): Do not expect.
9825 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9826 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9827 Do not expect.
9828 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9829 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9830 [UNIX98] (vwscanf): Likewise.
9831 [UNIX98] (vswscanf): Likewise.
9832
fb1ae1ee
JM
98332012-11-09 Joseph Myers <joseph@codesourcery.com>
9834
9ec6f8bd
JM
9835 * timezone/version.h: Remove file.
9836 * timezone/README: Do not refer to version.h.
9837 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9838 $(objpfx)version.h.
9839 ($(objpfx)zdump.o): Likewise.
c3f81911 9840 ($(objpfx)version.h): New target.
9ec6f8bd 9841
0aa8f8a1
JM
9842 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9843 2012i.
9844 * timezone/README: Don't mention modification to tzselect.ksh.
9845 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9846 work on unmodified tzselect.ksh. Substitute version numbers in
9847 tzselect.ksh.
9848
4e87147f
JM
9849 * Makefile (format-me): Remove.
9850 (INSTALL): Adjust indentation. Use commands directly instead of
9851 using $(format-me).
9852
8b748aed
JM
9853 * aclocal.m4 (ACX_PKGVERSION): New macro.
9854 (ACX_BUGURL): Likewise.
9855 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9856 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9857 (REPORT_BUGS_TO): Likewise.
9858 * configure: Regenerated.
9859 * config.h.in (PKGVERSION): New macro.
9860 (REPORT_BUGS_TO): Likewise.
9861 * config.make.in (PKGVERSION): New variable.
9862 (PKGVERSION_TEXI): Likewise.
9863 (REPORT_BUGS_TO): Likewise.
9864 (REPORT_BUGS_TEXI): Likewise.
9865 * Makefile (format-me): Use -I$(common-objpfx)manual.
9866 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9867 ($(common-objpfx)manual/%): New target.
9868 (manual/%): Remove target.
9869 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9870 (print_version): Use PKGVERSION.
9871 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9872 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9873 and REPORT_BUGS_TO.
9874 ($(objpfx)xtrace): Likewise.
9875 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9876 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9877 (print_version): Use PKGVERSION.
9878 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9879 (do_version): Use PKGVERSION.
9880 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9881 REPORT_BUGS_TO.
9882 (common-ldd-rewrite): Likewise.
9883 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9884 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9885 (print_version): Use PKGVERSION.
9886 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9887 * elf/pldd.c (argp_program_bug_address): Remove variable.
9888 (more_help): New function.
9889 (argp): Use more_help.
9890 (print_version): Use PKGVERSION.
9891 * elf/sln.c (main): Use PKGVERSION.
9892 (usage): Use REPORT_BUGS_TO.
9893 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9894 (top level): Use PKGVERSION.
9895 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9896 (print_version): Use PKGVERSION.
9897 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9898 (print_version): Use PKGVERSION.
9899 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9900 (print_version): Use PKGVERSION.
9901 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9902 (print_version): Use PKGVERSION.
9903 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9904 (print_version): Use PKGVERSION.
9905 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9906 (print_version): Use PKGVERSION.
9907 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9908 and BUGURL.
9909 ($(objpfx)memusage): Likewise.
9910 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9911 (do_version): Use PKGVERSION.
9912 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9913 (print_version): Use PKGVERSION.
9914 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9915 ($PKGVERSION): New variable.
9916 ($REPORT_BUGS_TO): Likewise.
9917 (usage): Use $REPORT_BUGS_TO.
9918 (top level): Use $PKGVERSION.
9919 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9920 ($(objpfx)pkgvers.texi): New rule.
9921 ($(objpfx)stamp-pkgvers): Likewise.
9922 * manual/install.texi: Include pkgvers.texi.
9923 (--with-pkgversion): Document new configure option.
9924 (--with-bugurl): Likewise.
9925 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9926 than necessarily for this particular distribution. Use
9927 REPORT_BUGS_TO for where to report bugs.
9928 * INSTALL: Regenerated.
9929 * manual/libc.texinfo: Include pkgvers.texi.
9930 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9931 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9932 (print_version): Use PKGVERSION.
9933 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9934 (print_version): Use PKGVERSION.
9935 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9936 (print_version): Use PKGVERSION.
9937 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9938 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9939 macro.
9940 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9941 (print_version): Use PKGVERSION.
9942 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9943 (print_version): Use PKGVERSION.
9944 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9945 and PKGVERSION.
9946
92e4b6a9
JM
9947 * timezone/checktab.awk: Update from tzcode 2012i.
9948 * timezone/ialloc.c: Likewise.
9949 * timezone/private.h: Likewise.
9950 * timezone/scheck.c: Likewise.
9951 * timezone/tzfile.h: Likewise.
9952 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9953 (TZVERSION): Hardcode tzcode version number.
9954 * timezone/zdump.c: Update from tzcode 2012i.
9955 * timezone/zic.c: Likewise.
9956 * timezone/version.h: New file.
9957 * timezone/README: Describe version.h. Update upstream location.
9958
9bde902c
JM
9959 [BZ #14824]
9960 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9961 (mktemp): Enable declaration.
9962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9966 Likewise.
9967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9968 Likewise.
9969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9970 Likewise.
9971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9972 Likewise.
9973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9974 Likewise.
9975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9976 Likewise.
9977
fb1ae1ee
JM
9978 [BZ #14821]
9979 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9980 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9981 for copies of such integer values.
9982 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9983 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9984
2c1adbcb
AJ
99852012-11-09 Andreas Jaeger <aj@suse.de>
9986
9987 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9988 definitions and declarations that are provided by
9989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9990
d0f8457e
AK
99912012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9992
3a235abb 9993 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9994 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9995 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9996 definition.
9997
57241e26
MS
99982012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9999
10000 * elf/elf.h: Update comment before AArch64 relocations.
10001
60e8270d
DM
100022012-11-07 David S. Miller <davem@davemloft.net>
10003
10004 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10005 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10006 (__start_context): Declare.
10007 (__makecontext_ret): Delete.
10008 (__makecontext): Hook up __start_context instead of
10009 __makecontext_ret.
10010 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10011 (sysdep_routines): Add __start_context when in stdlib.
10012
0fbb0fbc
JM
100132012-11-07 Joseph Myers <joseph@codesourcery.com>
10014
10015 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10016 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10017 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10018 hardcoded "nm".
10019 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10020 (READELF): New variable. Use it instead of hardcoded "readelf".
10021
eb48db7e
L
100222012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10025 * sysdeps/x86/Makefile: Here.
10026 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10027 * sysdeps/x86/tst-xmmymm.sh: This.
10028
05bcf62a
JM
100292012-11-07 Joseph Myers <joseph@codesourcery.com>
10030
c4b6cf53
JM
10031 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10032 expectations.
10033 [UNIX98] (pthread_barrier_t): Do not expect.
10034 [UNIX98] (pthread_barrierattr_t): Likewise.
10035 [UNIX98] (pthread_spinlock_t): Likewise.
10036 [UNIX98] (pthread_barrier_destroy): Likewise.
10037 [UNIX98] (pthread_barrier_init): Likewise.
10038 [UNIX98] (pthread_barrier_wait): Likewise.
10039 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10040 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10041 [UNIX98] (pthread_barrierattr_init): Likewise.
10042 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10043 [UNIX98] (pthread_getcpuclockid): Likewise.
10044 [UNIX98] (pthread_mutex_timedlock): Likewise.
10045 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10046 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10047 [UNIX98] (pthread_sigmask): Likewise.
10048 [UNIX98] (pthread_spin_destroy): Likewise.
10049 [UNIX98] (pthread_spin_init): Likewise.
10050 [UNIX98] (pthread_spin_lock): Likewise.
10051 [UNIX98] (pthread_spin_trylock): Likewise.
10052 [UNIX98] (pthread_spin_unlock): Likewise.
10053 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10054 Do not expect.
10055 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10056 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10057 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10058 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10059 [XPG3 || XPG4] (pthread_key_t): Likewise.
10060 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10061 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10062 [XPG3 || XPG4] (pthread_once_t): Likewise.
10063 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10064 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10065 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10066 [XPG3 || XPG4] (pthread_t): Likewise.
10067
cbe6e120
JM
10068 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10069 not expect.
10070 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10071
1b126443
JM
10072 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10073 Change function return type to int.
10074
b961a573
JM
10075 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10076 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10077 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10078 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10079 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10080 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10081 [!POSIX] (posix_madvise): Likewise.
10082 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10083 && !UNIX98].
10084 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10085 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10086 (mode_t): Likewise.
10087 (posix_mem_offset): Likewise.
10088 (posix_typed_mem_get_info): Likewise.
10089 (posix_typed_mem_open): Likewise.
10090
9e188909
JM
10091 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10092 Change condition to [XOPEN2K8].
10093
05bcf62a
JM
10094 * conform/conformtest.pl: Preprocess allow-header data with -x c
10095 instead of from stdin.
10096 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10097 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10098 [C99-based standards] (cerfc): Likewise.
10099 [C99-based standards] (cexp2): Likewise.
10100 [C99-based standards] (cexpm1): Likewise.
10101 [C99-based standards] (clog10): Likewise.
10102 [C99-based standards] (clog1p): Likewise.
10103 [C99-based standards] (clog2): Likewise.
10104 [C99-based standards] (clgamma): Likewise.
10105 [C99-based standards] (ctgamma): Likewise.
10106 [C99-based standards] (cerff): Likewise.
10107 [C99-based standards] (cerfcf): Likewise.
10108 [C99-based standards] (cexp2f): Likewise.
10109 [C99-based standards] (cexpm1f): Likewise.
10110 [C99-based standards] (clog10f): Likewise.
10111 [C99-based standards] (clog1pf): Likewise.
10112 [C99-based standards] (clog2f): Likewise.
10113 [C99-based standards] (clgammaf): Likewise.
10114 [C99-based standards] (ctgammaf): Likewise.
10115 [C99-based standards] (cerfl): Likewise.
10116 [C99-based standards] (cerfcl): Likewise.
10117 [C99-based standards] (cexp2l): Likewise.
10118 [C99-based standards] (cexpm1l): Likewise.
10119 [C99-based standards] (clog10l): Likewise.
10120 [C99-based standards] (clog1pl): Likewise.
10121 [C99-based standards] (clog2l): Likewise.
10122 [C99-based standards] (clgammal): Likewise.
10123 [C99-based standards] (ctgammal): Likewise.
10124 * conform/data/inttypes.h-data [C99-based standards]: Include
10125 stdint.h-data. Remove all expectations for stdint.h contents.
10126 [C99-based standards] (PRI*): Do not allow.
10127 [C99-based standards] (SCN*): Likewise.
10128 [C99-based standards] (*_t): Likewise.
10129 [C99-based-standards] (PRId8): Expect macro.
10130 [C99-based-standards] (PRIi8): Likewise.
10131 [C99-based-standards] (PRIo8): Likewise.
10132 [C99-based-standards] (PRIu8): Likewise.
10133 [C99-based-standards] (PRIx8): Likewise.
10134 [C99-based-standards] (PRIX8): Likewise.
10135 [C99-based-standards] (SCNd8): Likewise.
10136 [C99-based-standards] (SCNi8): Likewise.
10137 [C99-based-standards] (SCNo8): Likewise.
10138 [C99-based-standards] (SCNu8): Likewise.
10139 [C99-based-standards] (SCNx8): Likewise.
10140 [C99-based-standards] (PRIdLEAST8): Likewise.
10141 [C99-based-standards] (PRIiLEAST8): Likewise.
10142 [C99-based-standards] (PRIoLEAST8): Likewise.
10143 [C99-based-standards] (PRIuLEAST8): Likewise.
10144 [C99-based-standards] (PRIxLEAST8): Likewise.
10145 [C99-based-standards] (PRIXLEAST8): Likewise.
10146 [C99-based-standards] (SCNdLEAST8): Likewise.
10147 [C99-based-standards] (SCNiLEAST8): Likewise.
10148 [C99-based-standards] (SCNoLEAST8): Likewise.
10149 [C99-based-standards] (SCNuLEAST8): Likewise.
10150 [C99-based-standards] (SCNxLEAST8): Likewise.
10151 [C99-based-standards] (PRIdFAST8): Likewise.
10152 [C99-based-standards] (PRIiFAST8): Likewise.
10153 [C99-based-standards] (PRIoFAST8): Likewise.
10154 [C99-based-standards] (PRIuFAST8): Likewise.
10155 [C99-based-standards] (PRIxFAST8): Likewise.
10156 [C99-based-standards] (PRIXFAST8): Likewise.
10157 [C99-based-standards] (SCNdFAST8): Likewise.
10158 [C99-based-standards] (SCNiFAST8): Likewise.
10159 [C99-based-standards] (SCNoFAST8): Likewise.
10160 [C99-based-standards] (SCNuFAST8): Likewise.
10161 [C99-based-standards] (SCNxFAST8): Likewise.
10162 [C99-based-standards] (PRId16): Likewise.
10163 [C99-based-standards] (PRIi16): Likewise.
10164 [C99-based-standards] (PRIo16): Likewise.
10165 [C99-based-standards] (PRIu16): Likewise.
10166 [C99-based-standards] (PRIx16): Likewise.
10167 [C99-based-standards] (PRIX16): Likewise.
10168 [C99-based-standards] (SCNd16): Likewise.
10169 [C99-based-standards] (SCNi16): Likewise.
10170 [C99-based-standards] (SCNo16): Likewise.
10171 [C99-based-standards] (SCNu16): Likewise.
10172 [C99-based-standards] (SCNx16): Likewise.
10173 [C99-based-standards] (PRIdLEAST16): Likewise.
10174 [C99-based-standards] (PRIiLEAST16): Likewise.
10175 [C99-based-standards] (PRIoLEAST16): Likewise.
10176 [C99-based-standards] (PRIuLEAST16): Likewise.
10177 [C99-based-standards] (PRIxLEAST16): Likewise.
10178 [C99-based-standards] (PRIXLEAST16): Likewise.
10179 [C99-based-standards] (SCNdLEAST16): Likewise.
10180 [C99-based-standards] (SCNiLEAST16): Likewise.
10181 [C99-based-standards] (SCNoLEAST16): Likewise.
10182 [C99-based-standards] (SCNuLEAST16): Likewise.
10183 [C99-based-standards] (SCNxLEAST16): Likewise.
10184 [C99-based-standards] (PRIdFAST16): Likewise.
10185 [C99-based-standards] (PRIiFAST16): Likewise.
10186 [C99-based-standards] (PRIoFAST16): Likewise.
10187 [C99-based-standards] (PRIuFAST16): Likewise.
10188 [C99-based-standards] (PRIxFAST16): Likewise.
10189 [C99-based-standards] (PRIXFAST16): Likewise.
10190 [C99-based-standards] (SCNdFAST16): Likewise.
10191 [C99-based-standards] (SCNiFAST16): Likewise.
10192 [C99-based-standards] (SCNoFAST16): Likewise.
10193 [C99-based-standards] (SCNuFAST16): Likewise.
10194 [C99-based-standards] (SCNxFAST16): Likewise.
10195 [C99-based-standards] (PRId32): Likewise.
10196 [C99-based-standards] (PRIi32): Likewise.
10197 [C99-based-standards] (PRIo32): Likewise.
10198 [C99-based-standards] (PRIu32): Likewise.
10199 [C99-based-standards] (PRIx32): Likewise.
10200 [C99-based-standards] (PRIX32): Likewise.
10201 [C99-based-standards] (SCNd32): Likewise.
10202 [C99-based-standards] (SCNi32): Likewise.
10203 [C99-based-standards] (SCNo32): Likewise.
10204 [C99-based-standards] (SCNu32): Likewise.
10205 [C99-based-standards] (SCNx32): Likewise.
10206 [C99-based-standards] (PRIdLEAST32): Likewise.
10207 [C99-based-standards] (PRIiLEAST32): Likewise.
10208 [C99-based-standards] (PRIoLEAST32): Likewise.
10209 [C99-based-standards] (PRIuLEAST32): Likewise.
10210 [C99-based-standards] (PRIxLEAST32): Likewise.
10211 [C99-based-standards] (PRIXLEAST32): Likewise.
10212 [C99-based-standards] (SCNdLEAST32): Likewise.
10213 [C99-based-standards] (SCNiLEAST32): Likewise.
10214 [C99-based-standards] (SCNoLEAST32): Likewise.
10215 [C99-based-standards] (SCNuLEAST32): Likewise.
10216 [C99-based-standards] (SCNxLEAST32): Likewise.
10217 [C99-based-standards] (PRIdFAST32): Likewise.
10218 [C99-based-standards] (PRIiFAST32): Likewise.
10219 [C99-based-standards] (PRIoFAST32): Likewise.
10220 [C99-based-standards] (PRIuFAST32): Likewise.
10221 [C99-based-standards] (PRIxFAST32): Likewise.
10222 [C99-based-standards] (PRIXFAST32): Likewise.
10223 [C99-based-standards] (SCNdFAST32): Likewise.
10224 [C99-based-standards] (SCNiFAST32): Likewise.
10225 [C99-based-standards] (SCNoFAST32): Likewise.
10226 [C99-based-standards] (SCNuFAST32): Likewise.
10227 [C99-based-standards] (SCNxFAST32): Likewise.
10228 [C99-based-standards] (PRId64): Likewise.
10229 [C99-based-standards] (PRIi64): Likewise.
10230 [C99-based-standards] (PRIo64): Likewise.
10231 [C99-based-standards] (PRIu64): Likewise.
10232 [C99-based-standards] (PRIx64): Likewise.
10233 [C99-based-standards] (PRIX64): Likewise.
10234 [C99-based-standards] (SCNd64): Likewise.
10235 [C99-based-standards] (SCNi64): Likewise.
10236 [C99-based-standards] (SCNo64): Likewise.
10237 [C99-based-standards] (SCNu64): Likewise.
10238 [C99-based-standards] (SCNx64): Likewise.
10239 [C99-based-standards] (PRIdLEAST64): Likewise.
10240 [C99-based-standards] (PRIiLEAST64): Likewise.
10241 [C99-based-standards] (PRIoLEAST64): Likewise.
10242 [C99-based-standards] (PRIuLEAST64): Likewise.
10243 [C99-based-standards] (PRIxLEAST64): Likewise.
10244 [C99-based-standards] (PRIXLEAST64): Likewise.
10245 [C99-based-standards] (SCNdLEAST64): Likewise.
10246 [C99-based-standards] (SCNiLEAST64): Likewise.
10247 [C99-based-standards] (SCNoLEAST64): Likewise.
10248 [C99-based-standards] (SCNuLEAST64): Likewise.
10249 [C99-based-standards] (SCNxLEAST64): Likewise.
10250 [C99-based-standards] (PRIdFAST64): Likewise.
10251 [C99-based-standards] (PRIiFAST64): Likewise.
10252 [C99-based-standards] (PRIoFAST64): Likewise.
10253 [C99-based-standards] (PRIuFAST64): Likewise.
10254 [C99-based-standards] (PRIxFAST64): Likewise.
10255 [C99-based-standards] (PRIXFAST64): Likewise.
10256 [C99-based-standards] (SCNdFAST64): Likewise.
10257 [C99-based-standards] (SCNiFAST64): Likewise.
10258 [C99-based-standards] (SCNoFAST64): Likewise.
10259 [C99-based-standards] (SCNuFAST64): Likewise.
10260 [C99-based-standards] (SCNxFAST64): Likewise.
10261 [C99-based-standards] (PRIdMAX): Likewise.
10262 [C99-based-standards] (PRIiMAX): Likewise.
10263 [C99-based-standards] (PRIoMAX): Likewise.
10264 [C99-based-standards] (PRIuMAX): Likewise.
10265 [C99-based-standards] (PRIxMAX): Likewise.
10266 [C99-based-standards] (PRIXMAX): Likewise.
10267 [C99-based-standards] (SCNdMAX): Likewise.
10268 [C99-based-standards] (SCNiMAX): Likewise.
10269 [C99-based-standards] (SCNoMAX): Likewise.
10270 [C99-based-standards] (SCNuMAX): Likewise.
10271 [C99-based-standards] (SCNxMAX): Likewise.
10272 [C99-based-standards] (PRIdPTR): Likewise.
10273 [C99-based-standards] (PRIiPTR): Likewise.
10274 [C99-based-standards] (PRIoPTR): Likewise.
10275 [C99-based-standards] (PRIuPTR): Likewise.
10276 [C99-based-standards] (PRIxPTR): Likewise.
10277 [C99-based-standards] (PRIXPTR): Likewise.
10278 [C99-based-standards] (SCNdPTR): Likewise.
10279 [C99-based-standards] (SCNiPTR): Likewise.
10280 [C99-based-standards] (SCNoPTR): Likewise.
10281 [C99-based-standards] (SCNuPTR): Likewise.
10282 [C99-based-standards] (SCNxPTR): Likewise.
10283 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10284 allow.
10285 * conform/data/stdint.h-data: Update comments to clarify
10286 requirements.
10287 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10288 type.
10289 [C99-based standards] (INT8_MAX): Likewise.
10290 [C99-based standards] (INT16_MIN): Likewise.
10291 [C99-based standards] (INT16_MAX): Likewise.
10292 [C99-based standards] (INT32_MIN): Likewise.
10293 [C99-based standards] (INT32_MAX): Likewise.
10294 [C99-based standards] (INT64_MIN): Likewise.
10295 [C99-based standards] (INT64_MAX): Likewise.
10296 [C99-based standards] (UINT8_MAX): Likewise.
10297 [C99-based standards] (UINT16_MAX): Likewise.
10298 [C99-based standards] (UINT32_MAX): Likewise.
10299 [C99-based standards] (UINT64_MAX): Likewise.
10300 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10301 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10302 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10303 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10304 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10305 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10306 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10307 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10308 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10309 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10310 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10311 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10312 [C99-based standards] (INT_FAST8_MIN): Likewise.
10313 [C99-based standards] (INT_FAST8_MAX): Likewise.
10314 [C99-based standards] (INT_FAST16_MIN): Likewise.
10315 [C99-based standards] (INT_FAST16_MAX): Likewise.
10316 [C99-based standards] (INT_FAST32_MIN): Likewise.
10317 [C99-based standards] (INT_FAST32_MAX): Likewise.
10318 [C99-based standards] (INT_FAST64_MIN): Likewise.
10319 [C99-based standards] (INT_FAST64_MAX): Likewise.
10320 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10321 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10322 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10323 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10324 [C99-based standards] (INTPTR_MIN): Likewise.
10325 [C99-based standards] (INTPTR_MAX): Likewise.
10326 [C99-based standards] (UINTPTR_MAX): Likewise.
10327 [C99-based standards] (INTMAX_MIN): Likewise.
10328 [C99-based standards] (INTMAX_MAX): Likewise.
10329 [C99-based standards] (UINTMAX_MAX): Likewise.
10330 [C99-based standards] (PTRDIFF_MIN): Likewise.
10331 [C99-based standards] (PTRDIFF_MAX): Likewise.
10332 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10333 [C99-based standards] (SIZE_MAX): Likewise.
10334 [C99-based standards] (WCHAR_MAX): Likewise.
10335 [C99-based standards] (WINT_MAX): Likewise.
10336 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10337 constraint on value.
10338 [C99-based standards] (WCHAR_MIN): Likewise.
10339 [C99-based standards] (WINT_MIN): Likewise.
10340 [C99-based standards] (*_t): Allow.
10341 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10342 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10343 Include math.h-data and complex.h-data. Remove all expectations
10344 of math.h and complex.h contents.
10345 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10346 at end of line.
10347 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10348 (struct tm): Expect tag.
10349 [C99-based-standards] (wcstof): Expect function.
10350 [C99-based-standards] (wcstold): Likewise.
10351 [C99-based-standards] (wcstoll): Likewise.
10352 [C99-based-standards] (wcstoull): Likewise.
10353 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10354 macro-int-constant. Specify type.
10355 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10356 constraint on value.
10357 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10358 Specify type.
10359 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10360 Specify value.
10361 [ISO C standards]: Do not allow headers.
10362 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10363 wcs[abcdefghijklmnopqrstuvwxyz]*.
10364 [ISO C standards] (*_t): Do not allow.
10365 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10366 Expect function.
10367 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10368 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10369 Specify type.
10370 [ISO C standards]: Do not allow headers.
10371 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10372 is[abcdefghijklmnopqrstuvwxyz]*.
10373 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10374 to[abcdefghijklmnopqrstuvwxyz]*.
10375 [ISO C standards] (*_t): Do not allow.
10376 * conform/data/stdalign.h-data: New file.
10377 * conform/data/stdbool.h-data: Likewise.
10378 * conform/data/stdnoreturn.h-data: Likewise.
10379
7514feb8
RM
103802012-11-07 Roland McGrath <roland@hack.frob.com>
10381
10382 [BZ #14815]
10383 * manual/filesys.texi (Directory Entries): Typo fix.
10384 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10385
19b2ecfc
MS
103862012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10387
10388 * elf/elf.h (EM_AARCH64): New macro.
10389 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10390 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10391 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10392 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10393 (R_AARCH64_TLSDESC): Likewise.
10394 (NT_ARM_TLS): Likewise.
10395 (NT_ARM_HW_BREAK): Likewise.
10396 (NT_ARM_HW_WATCH): Likewise.
10397
60e235ee
JM
103982012-11-07 Joseph Myers <joseph@codesourcery.com>
10399
10400 [BZ #14811]
10401 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10402 (__ieee754_powl): Saturate nonzero exponents with absolute value
10403 below 0x1p-79 to +/- 0x1p-79.
10404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10405 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10406 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10407 nonzero exponents with absolute value below 0x1p-32 to +/-
10408 0x1p-32.
10409 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10410 (__ieee754_powl): Saturate nonzero exponents with absolute value
10411 below 0x1p-79 to +/- 0x1p-79.
10412 * math/libm-test.inc (pow_test): Add more tests.
10413
0ab234b7
AK
104142012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10415
10416 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10417 _dl_s390_cap_flags with kernel. Increase string length.
10418 (_dl_s390_platforms): Add z196 and zEC12.
10419
45832f74
JM
104202012-11-07 Joseph Myers <joseph@codesourcery.com>
10421
10422 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10423 Change XOPEN21K to XOPEN2K.
10424
19218757
MK
104252012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10426
10427 * string/memmove.c: Use memcpy when possible.
10428
c5f45721
AJ
104292012-11-06 Andreas Jaeger <aj@suse.de>
10430
10431 * po/eo.po: Update from translation team.
10432
82477c28
JM
104332012-11-06 Joseph Myers <joseph@codesourcery.com>
10434
10435 [BZ #14793]
10436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10437 exponent and small x and y exponents, scale x or y up. Increase
10438 by 2 the exponent used in scaling up.
10439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10441 * math/libm-test.inc (fma_test): Add more tests.
10442 (fma_test_towardzero): Likewise.
10443 (fma_test_downward): Likewise.
10444 (fma_test_upward): Likewise.
10445
99252c8c
JM
104462012-11-05 Joseph Myers <joseph@codesourcery.com>
10447
acfa885f
JM
10448 [BZ #14805]
10449 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10450 fenv_t *.
10451
99252c8c
JM
10452 [BZ #14801]
10453 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10454 namespace for names of struct fields.
10455 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10456 fenv_t fields.
10457 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10458 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10459
d6d98dea
ST
104602012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10461
10462 [BZ #3665]
10463 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10464
e10bb107
TS
104652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10466
10467 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10468 PTR_DEMANGLE.
10469
10470 [BZ #5246]
10471 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10472 PTR_DEMANGLE.
10473
a0c2940d
JM
104742012-11-04 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #14797]
10477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10478 definitely overflow as x * y not x * y + z.
10479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10481 * math/libm-test.inc (fma_test): Add more tests.
10482 (fma_test_towardzero): Likewise.
10483 (fma_test_downward): Likewise.
10484 (fma_test_upward): Likewise.
10485
b830319d
TS
104862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10487
10488 [BZ #157]
10489
10490 * include/stub-tag.h: Remove file.
10491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10492 '#include' of it.
10493 * manual/maint.texi (Porting): Don't reference it.
10494 * Makerules ($(objpfx)stubs): Likewise.
10495 * dirent/closedir.c: Don't include <stub-tag.h>.
10496 * dirent/dirfd.c: Likewise.
10497 * dirent/fdopendir.c: Likewise.
10498 * dirent/getdents.c: Likewise.
10499 * dirent/getdents64.c: Likewise.
10500 * dirent/opendir.c: Likewise.
10501 * dirent/readdir.c: Likewise.
10502 * dirent/readdir64.c: Likewise.
10503 * dirent/readdir64_r.c: Likewise.
10504 * dirent/readdir_r.c: Likewise.
10505 * dirent/rewinddir.c: Likewise.
10506 * dirent/seekdir.c: Likewise.
10507 * dirent/telldir.c: Likewise.
10508 * gmon/profil.c: Likewise.
10509 * grp/setgroups.c: Likewise.
10510 * inet/if_index.c: Likewise.
10511 * io/access.c: Likewise.
10512 * io/chdir.c: Likewise.
10513 * io/chmod.c: Likewise.
10514 * io/chown.c: Likewise.
10515 * io/close.c: Likewise.
10516 * io/dup.c: Likewise.
10517 * io/dup2.c: Likewise.
10518 * io/dup3.c: Likewise.
10519 * io/euidaccess.c: Likewise.
10520 * io/faccessat.c: Likewise.
10521 * io/fchdir.c: Likewise.
10522 * io/fchmod.c: Likewise.
10523 * io/fchmodat.c: Likewise.
10524 * io/fchown.c: Likewise.
10525 * io/fchownat.c: Likewise.
10526 * io/fcntl.c: Likewise.
10527 * io/flock.c: Likewise.
10528 * io/fstatfs.c: Likewise.
10529 * io/fstatfs64.c: Likewise.
10530 * io/fstatvfs.c: Likewise.
10531 * io/fstatvfs64.c: Likewise.
10532 * io/futimens.c: Likewise.
10533 * io/fxstat.c: Likewise.
10534 * io/fxstat64.c: Likewise.
10535 * io/fxstatat.c: Likewise.
10536 * io/fxstatat64.c: Likewise.
10537 * io/getcwd.c: Likewise.
10538 * io/isatty.c: Likewise.
10539 * io/lchmod.c: Likewise.
10540 * io/lchown.c: Likewise.
10541 * io/link.c: Likewise.
10542 * io/linkat.c: Likewise.
10543 * io/lseek.c: Likewise.
10544 * io/lseek64.c: Likewise.
10545 * io/lxstat64.c: Likewise.
10546 * io/mkdir.c: Likewise.
10547 * io/mkdirat.c: Likewise.
10548 * io/mkfifo.c: Likewise.
10549 * io/mkfifoat.c: Likewise.
10550 * io/open.c: Likewise.
10551 * io/open64.c: Likewise.
10552 * io/openat.c: Likewise.
10553 * io/openat64.c: Likewise.
10554 * io/pipe.c: Likewise.
10555 * io/pipe2.c: Likewise.
10556 * io/poll.c: Likewise.
10557 * io/posix_fadvise.c: Likewise.
10558 * io/posix_fadvise64.c: Likewise.
10559 * io/posix_fallocate.c: Likewise.
10560 * io/posix_fallocate64.c: Likewise.
10561 * io/read.c: Likewise.
10562 * io/readlink.c: Likewise.
10563 * io/readlinkat.c: Likewise.
10564 * io/rmdir.c: Likewise.
10565 * io/sendfile.c: Likewise.
10566 * io/sendfile64.c: Likewise.
10567 * io/statfs.c: Likewise.
10568 * io/statfs64.c: Likewise.
10569 * io/statvfs.c: Likewise.
10570 * io/statvfs64.c: Likewise.
10571 * io/symlink.c: Likewise.
10572 * io/symlinkat.c: Likewise.
10573 * io/ttyname.c: Likewise.
10574 * io/ttyname_r.c: Likewise.
10575 * io/umask.c: Likewise.
10576 * io/unlink.c: Likewise.
10577 * io/unlinkat.c: Likewise.
10578 * io/utime.c: Likewise.
10579 * io/utimensat.c: Likewise.
10580 * io/write.c: Likewise.
10581 * io/xmknod.c: Likewise.
10582 * io/xmknodat.c: Likewise.
10583 * io/xstat.c: Likewise.
10584 * io/xstat64.c: Likewise.
10585 * login/getpt.c: Likewise.
10586 * login/grantpt.c: Likewise.
10587 * login/unlockpt.c: Likewise.
10588 * math/e_acoshl.c: Likewise.
10589 * math/e_acosl.c: Likewise.
10590 * math/e_asinl.c: Likewise.
10591 * math/e_atan2l.c: Likewise.
10592 * math/e_atanhl.c: Likewise.
10593 * math/e_coshl.c: Likewise.
10594 * math/e_expl.c: Likewise.
10595 * math/e_fmodl.c: Likewise.
10596 * math/e_gammal_r.c: Likewise.
10597 * math/e_hypotl.c: Likewise.
10598 * math/e_j0l.c: Likewise.
10599 * math/e_j1l.c: Likewise.
10600 * math/e_jnl.c: Likewise.
10601 * math/e_lgammal_r.c: Likewise.
10602 * math/e_log10l.c: Likewise.
10603 * math/e_log2l.c: Likewise.
10604 * math/e_logl.c: Likewise.
10605 * math/e_powl.c: Likewise.
10606 * math/e_rem_pio2l.c: Likewise.
10607 * math/e_sinhl.c: Likewise.
10608 * math/e_sqrtl.c: Likewise.
10609 * math/fclrexcpt.c: Likewise.
10610 * math/fedisblxcpt.c: Likewise.
10611 * math/feenablxcpt.c: Likewise.
10612 * math/fegetenv.c: Likewise.
10613 * math/fegetexcept.c: Likewise.
10614 * math/fegetround.c: Likewise.
10615 * math/feholdexcpt.c: Likewise.
10616 * math/fesetenv.c: Likewise.
10617 * math/fesetround.c: Likewise.
10618 * math/feupdateenv.c: Likewise.
10619 * math/fgetexcptflg.c: Likewise.
10620 * math/fraiseexcpt.c: Likewise.
10621 * math/fsetexcptflg.c: Likewise.
10622 * math/ftestexcept.c: Likewise.
10623 * math/k_cosl.c: Likewise.
10624 * math/k_rem_pio2l.c: Likewise.
10625 * math/k_sinl.c: Likewise.
10626 * math/k_tanl.c: Likewise.
10627 * math/s_asinhl.c: Likewise.
10628 * math/s_atanl.c: Likewise.
10629 * math/s_cbrtl.c: Likewise.
10630 * math/s_erfl.c: Likewise.
10631 * math/s_expm1l.c: Likewise.
10632 * math/s_log1pl.c: Likewise.
10633 * math/s_tanhl.c: Likewise.
10634 * misc/acct.c: Likewise.
10635 * misc/brk.c: Likewise.
10636 * misc/chflags.c: Likewise.
10637 * misc/chroot.c: Likewise.
10638 * misc/fchflags.c: Likewise.
10639 * misc/fgetxattr.c: Likewise.
10640 * misc/flistxattr.c: Likewise.
10641 * misc/fremovexattr.c: Likewise.
10642 * misc/fsetxattr.c: Likewise.
10643 * misc/fsync.c: Likewise.
10644 * misc/ftruncate.c: Likewise.
10645 * misc/futimes.c: Likewise.
10646 * misc/futimesat.c: Likewise.
10647 * misc/getdomain.c: Likewise.
10648 * misc/getdtsz.c: Likewise.
10649 * misc/gethostid.c: Likewise.
10650 * misc/gethostname.c: Likewise.
10651 * misc/getloadavg.c: Likewise.
10652 * misc/getpagesize.c: Likewise.
10653 * misc/getsysstats.c: Likewise.
10654 * misc/getxattr.c: Likewise.
10655 * misc/gtty.c: Likewise.
10656 * misc/ioctl.c: Likewise.
10657 * misc/lgetxattr.c: Likewise.
10658 * misc/listxattr.c: Likewise.
10659 * misc/llistxattr.c: Likewise.
10660 * misc/lremovexattr.c: Likewise.
10661 * misc/lsetxattr.c: Likewise.
10662 * misc/lutimes.c: Likewise.
10663 * misc/madvise.c: Likewise.
10664 * misc/mincore.c: Likewise.
10665 * misc/mlock.c: Likewise.
10666 * misc/mlockall.c: Likewise.
10667 * misc/mmap.c: Likewise.
10668 * misc/mprotect.c: Likewise.
10669 * misc/msync.c: Likewise.
10670 * misc/munlock.c: Likewise.
10671 * misc/munlockall.c: Likewise.
10672 * misc/munmap.c: Likewise.
10673 * misc/preadv.c: Likewise.
10674 * misc/preadv64.c: Likewise.
10675 * misc/ptrace.c: Likewise.
10676 * misc/pwritev.c: Likewise.
10677 * misc/pwritev64.c: Likewise.
10678 * misc/readv.c: Likewise.
10679 * misc/reboot.c: Likewise.
10680 * misc/remap_file_pages.c: Likewise.
10681 * misc/removexattr.c: Likewise.
10682 * misc/revoke.c: Likewise.
10683 * misc/select.c: Likewise.
10684 * misc/setdomain.c: Likewise.
10685 * misc/setegid.c: Likewise.
10686 * misc/seteuid.c: Likewise.
10687 * misc/sethostid.c: Likewise.
10688 * misc/sethostname.c: Likewise.
10689 * misc/setregid.c: Likewise.
10690 * misc/setreuid.c: Likewise.
10691 * misc/setxattr.c: Likewise.
10692 * misc/sstk.c: Likewise.
10693 * misc/stty.c: Likewise.
10694 * misc/swapoff.c: Likewise.
10695 * misc/swapon.c: Likewise.
10696 * misc/sync.c: Likewise.
10697 * misc/syncfs.c: Likewise.
10698 * misc/syscall.c: Likewise.
10699 * misc/truncate.c: Likewise.
10700 * misc/ualarm.c: Likewise.
10701 * misc/usleep.c: Likewise.
10702 * misc/ustat.c: Likewise.
10703 * misc/utimes.c: Likewise.
10704 * misc/vhangup.c: Likewise.
10705 * misc/writev.c: Likewise.
10706 * posix/_exit.c: Likewise.
10707 * posix/alarm.c: Likewise.
10708 * posix/execve.c: Likewise.
10709 * posix/fexecve.c: Likewise.
10710 * posix/fork.c: Likewise.
10711 * posix/fpathconf.c: Likewise.
10712 * posix/getaddrinfo.c: Likewise.
10713 * posix/getegid.c: Likewise.
10714 * posix/geteuid.c: Likewise.
10715 * posix/getgid.c: Likewise.
10716 * posix/getgroups.c: Likewise.
10717 * posix/getlogin.c: Likewise.
10718 * posix/getlogin_r.c: Likewise.
10719 * posix/getpgid.c: Likewise.
10720 * posix/getpid.c: Likewise.
10721 * posix/getppid.c: Likewise.
10722 * posix/getresgid.c: Likewise.
10723 * posix/getresuid.c: Likewise.
10724 * posix/getsid.c: Likewise.
10725 * posix/getuid.c: Likewise.
10726 * posix/glob64.c: Likewise.
10727 * posix/nanosleep.c: Likewise.
10728 * posix/pathconf.c: Likewise.
10729 * posix/pause.c: Likewise.
10730 * posix/posix_madvise.c: Likewise.
10731 * posix/pread.c: Likewise.
10732 * posix/pread64.c: Likewise.
10733 * posix/pwrite.c: Likewise.
10734 * posix/pwrite64.c: Likewise.
10735 * posix/sched_getaffinity.c: Likewise.
10736 * posix/sched_getp.c: Likewise.
10737 * posix/sched_gets.c: Likewise.
10738 * posix/sched_primax.c: Likewise.
10739 * posix/sched_primin.c: Likewise.
10740 * posix/sched_rr_gi.c: Likewise.
10741 * posix/sched_setaffinity.c: Likewise.
10742 * posix/sched_setp.c: Likewise.
10743 * posix/sched_sets.c: Likewise.
10744 * posix/sched_yield.c: Likewise.
10745 * posix/setgid.c: Likewise.
10746 * posix/setlogin.c: Likewise.
10747 * posix/setpgid.c: Likewise.
10748 * posix/setresgid.c: Likewise.
10749 * posix/setresuid.c: Likewise.
10750 * posix/setsid.c: Likewise.
10751 * posix/setuid.c: Likewise.
10752 * posix/sleep.c: Likewise.
10753 * posix/spawni.c: Likewise.
10754 * posix/sysconf.c: Likewise.
10755 * posix/times.c: Likewise.
10756 * posix/wait.c: Likewise.
10757 * posix/wait3.c: Likewise.
10758 * posix/wait4.c: Likewise.
10759 * posix/waitpid.c: Likewise.
10760 * resolv/gai_sigqueue.c: Likewise.
10761 * resource/getpriority.c: Likewise.
10762 * resource/getrlimit.c: Likewise.
10763 * resource/getrusage.c: Likewise.
10764 * resource/nice.c: Likewise.
10765 * resource/setpriority.c: Likewise.
10766 * resource/setrlimit.c: Likewise.
10767 * resource/ulimit.c: Likewise.
10768 * rt/aio_cancel.c: Likewise.
10769 * rt/aio_fsync.c: Likewise.
10770 * rt/aio_read.c: Likewise.
10771 * rt/aio_sigqueue.c: Likewise.
10772 * rt/aio_suspend.c: Likewise.
10773 * rt/aio_write.c: Likewise.
10774 * rt/clock_getres.c: Likewise.
10775 * rt/clock_gettime.c: Likewise.
10776 * rt/clock_nanosleep.c: Likewise.
10777 * rt/clock_settime.c: Likewise.
10778 * rt/lio_listio.c: Likewise.
10779 * rt/mq_close.c: Likewise.
10780 * rt/mq_getattr.c: Likewise.
10781 * rt/mq_notify.c: Likewise.
10782 * rt/mq_open.c: Likewise.
10783 * rt/mq_receive.c: Likewise.
10784 * rt/mq_send.c: Likewise.
10785 * rt/mq_setattr.c: Likewise.
10786 * rt/mq_timedreceive.c: Likewise.
10787 * rt/mq_timedsend.c: Likewise.
10788 * rt/mq_unlink.c: Likewise.
10789 * rt/shm_open.c: Likewise.
10790 * rt/shm_unlink.c: Likewise.
10791 * rt/timer_create.c: Likewise.
10792 * rt/timer_delete.c: Likewise.
10793 * rt/timer_getoverr.c: Likewise.
10794 * rt/timer_gettime.c: Likewise.
10795 * rt/timer_settime.c: Likewise.
10796 * setjmp/__longjmp.c: Likewise.
10797 * setjmp/setjmp.c: Likewise.
10798 * signal/kill.c: Likewise.
10799 * signal/killpg.c: Likewise.
10800 * signal/raise.c: Likewise.
10801 * signal/sigaction.c: Likewise.
10802 * signal/sigaltstack.c: Likewise.
10803 * signal/sigblock.c: Likewise.
10804 * signal/sigignore.c: Likewise.
10805 * signal/sigintr.c: Likewise.
10806 * signal/signal.c: Likewise.
10807 * signal/sigpause.c: Likewise.
10808 * signal/sigpending.c: Likewise.
10809 * signal/sigqueue.c: Likewise.
10810 * signal/sigreturn.c: Likewise.
10811 * signal/sigset.c: Likewise.
10812 * signal/sigsetmask.c: Likewise.
10813 * signal/sigstack.c: Likewise.
10814 * signal/sigsuspend.c: Likewise.
10815 * signal/sigtimedwait.c: Likewise.
10816 * signal/sigvec.c: Likewise.
10817 * signal/sigwait.c: Likewise.
10818 * signal/sigwaitinfo.c: Likewise.
10819 * signal/sysv_signal.c: Likewise.
10820 * socket/accept.c: Likewise.
10821 * socket/accept4.c: Likewise.
10822 * socket/bind.c: Likewise.
10823 * socket/connect.c: Likewise.
10824 * socket/getpeername.c: Likewise.
10825 * socket/getsockname.c: Likewise.
10826 * socket/getsockopt.c: Likewise.
10827 * socket/isfdtype.c: Likewise.
10828 * socket/listen.c: Likewise.
10829 * socket/recv.c: Likewise.
10830 * socket/recvfrom.c: Likewise.
10831 * socket/recvmsg.c: Likewise.
10832 * socket/send.c: Likewise.
10833 * socket/sendmsg.c: Likewise.
10834 * socket/sendto.c: Likewise.
10835 * socket/setsockopt.c: Likewise.
10836 * socket/shutdown.c: Likewise.
10837 * socket/sockatmark.c: Likewise.
10838 * socket/socket.c: Likewise.
10839 * socket/socketpair.c: Likewise.
10840 * stdio-common/ctermid.c: Likewise.
10841 * stdio-common/cuserid.c: Likewise.
10842 * stdio-common/remove.c: Likewise.
10843 * stdio-common/rename.c: Likewise.
10844 * stdio-common/renameat.c: Likewise.
10845 * stdio-common/tempname.c: Likewise.
10846 * stdlib/getcontext.c: Likewise.
10847 * stdlib/makecontext.c: Likewise.
10848 * stdlib/setcontext.c: Likewise.
10849 * stdlib/swapcontext.c: Likewise.
10850 * stdlib/system.c: Likewise.
10851 * streams/fattach.c: Likewise.
10852 * streams/fdetach.c: Likewise.
10853 * streams/getmsg.c: Likewise.
10854 * streams/getpmsg.c: Likewise.
10855 * streams/putmsg.c: Likewise.
10856 * streams/putpmsg.c: Likewise.
10857 * sysdeps/unix/bsd/getpt.c: Likewise.
10858 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10859 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10860 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10862 Likewise.
10863 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10864 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10865 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10866 * sysvipc/msgctl.c: Likewise.
10867 * sysvipc/msgget.c: Likewise.
10868 * sysvipc/msgrcv.c: Likewise.
10869 * sysvipc/msgsnd.c: Likewise.
10870 * sysvipc/semctl.c: Likewise.
10871 * sysvipc/semget.c: Likewise.
10872 * sysvipc/semop.c: Likewise.
10873 * sysvipc/semtimedop.c: Likewise.
10874 * sysvipc/shmat.c: Likewise.
10875 * sysvipc/shmctl.c: Likewise.
10876 * sysvipc/shmdt.c: Likewise.
10877 * sysvipc/shmget.c: Likewise.
10878 * termios/tcdrain.c: Likewise.
10879 * termios/tcflow.c: Likewise.
10880 * termios/tcflush.c: Likewise.
10881 * termios/tcgetattr.c: Likewise.
10882 * termios/tcgetpgrp.c: Likewise.
10883 * termios/tcsendbrk.c: Likewise.
10884 * termios/tcsetattr.c: Likewise.
10885 * termios/tcsetpgrp.c: Likewise.
10886 * time/adjtime.c: Likewise.
10887 * time/clock.c: Likewise.
10888 * time/getitimer.c: Likewise.
10889 * time/gettimeofday.c: Likewise.
10890 * time/setitimer.c: Likewise.
10891 * time/settimeofday.c: Likewise.
10892 * time/stime.c: Likewise.
10893 * time/time.c: Likewise.
10894
108952012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10896
a20492cf
PT
10897 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10898 /usr/old/bin.
10899
72e182e3
PT
10900 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10901 instead of spaces.
10902 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10903
fbeafede
JM
109042012-11-03 Joseph Myers <joseph@codesourcery.com>
10905
5b5b04d6
JM
10906 [BZ #14796]
10907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10908 FE_TONEAREST before applying Dekker multiplication and Knuth
10909 addition. Clear inexact exceptions and check for exact zero
10910 results afterwards.
10911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10914 * math/libm-test.inc (fma_test): Add more tests.
10915 (fma_test_towardzero): Likewise.
10916 (fma_test_downward): Likewise.
10917 (fma_test_upward): Likewise.
10918 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10919 function.
10920 (libc_fesetround): New macro.
10921 (libc_fesetroundf): Likewise.
10922 (libc_fesetroundl): Likewise.
10923 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10924 function.
10925 (libc_fesetround_387): Likewise.
10926 (libc_fesetroundf): New macro.
10927 (libc_fesetround): Likewise.
10928 (libc_fesetroundl): Likewise.
10929 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10930 function.
10931 (libc_fesetroundf): New macro.
10932 (libc_fesetround): Likewise.
10933 (libc_fesetroundl): Likewise.
10934 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10935 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10936 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10937 libm_hidden_ver.
10938 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10939 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10940 libm_hidden_def.
10941 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10942 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10943 libm_hidden_ver.
10944 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10945 libm_hidden_def.
10946
fbeafede
JM
10947 [BZ #3439]
10948 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10949 integer constant usable in #if and use that to give value to enum
10950 constant.
10951 (FE_DIVBYZERO): Likewise.
10952 (FE_UNDERFLOW): Likewise.
10953 (FE_OVERFLOW): Likewise.
10954 (FE_INVALID): Likewise.
10955 (FE_INVALID_SNAN): Likewise.
10956 (FE_INVALID_ISI): Likewise.
10957 (FE_INVALID_IDI): Likewise.
10958 (FE_INVALID_ZDZ): Likewise.
10959 (FE_INVALID_IMZ): Likewise.
10960 (FE_INVALID_COMPARE): Likewise.
10961 (FE_INVALID_SOFTWARE): Likewise.
10962 (FE_INVALID_SQRT): Likewise.
10963 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10964 (FE_TONEAREST): Likewise.
10965 (FE_TOWARDZERO): Likewise.
10966 (FE_UPWARD): Likewise.
10967 (FE_DOWNWARD): Likewise.
10968 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10969 (FE_DIVBYZERO): Likewise.
10970 (FE_OVERFLOW): Likewise.
10971 (FE_UNDERFLOW): Likewise.
10972 (FE_INEXACT): Likewise.
10973 (FE_TONEAREST): Likewise.
10974 (FE_DOWNWARD): Likewise.
10975 (FE_UPWARD): Likewise.
10976 (FE_TOWARDZERO): Likewise.
10977 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10978 (FE_UNDERFLOW): Likewise.
10979 (FE_OVERFLOW): Likewise.
10980 (FE_DIVBYZERO): Likewise.
10981 (FE_INVALID): Likewise.
10982 (FE_TONEAREST): Likewise.
10983 (FE_TOWARDZERO): Likewise.
10984 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10985 (FE_OVERFLOW): Likewise.
10986 (FE_UNDERFLOW): Likewise.
10987 (FE_DIVBYZERO): Likewise.
10988 (FE_INEXACT): Likewise.
10989 (FE_TONEAREST): Likewise.
10990 (FE_TOWARDZERO): Likewise.
10991 (FE_UPWARD): Likewise.
10992 (FE_DOWNWARD): Likewise.
10993 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10994 (FE_DIVBYZERO): Likewise.
10995 (FE_OVERFLOW): Likewise.
10996 (FE_UNDERFLOW): Likewise.
10997 (FE_INEXACT): Likewise.
10998 (FE_TONEAREST): Likewise.
10999 (FE_DOWNWARD): Likewise.
11000 (FE_UPWARD): Likewise.
11001 (FE_TOWARDZERO): Likewise.
11002
105ca950
CM
110032012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11004
11005 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11006
a542b389
AS
110072012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11008
11009 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11010 commands. Quote $PWD.
11011 (blacklist_exports): Don't use remove_newlines. Replace "declare
11012 -x" by "export".
11013 (remove_newlines): Remove.
11014
f62c8abc
L
110152012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11018 * stdlib/stdlib.h (atof): Moved to ...
11019 * include/bits/stdlib-float.h: Here. New file.
11020 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11021 * stdlib/bits/stdlib-float.h: New file.
11022 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11023 -mno-sse -mno-mmx.
11024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11025 <xmmintrin.h>.
11026
0155d5b2
JM
110272012-11-02 Joseph Myers <joseph@codesourcery.com>
11028
a68d0680
JM
11029 * conform/conformtest.pl (@headers): Add fenv.h.
11030 * conform/data/fenv.h-data: New file.
11031 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11032 include of <math/fenv.h>.
11033
caf7f573
JM
11034 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11035 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11036 && !UNIX98]. Enables tests for XOPEN2K8.
11037 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11038 POSIX2008]: Likewise.
11039
6c073ad6
JM
11040 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11041 (struct rusage): Do not expect type or its members.
11042
0155d5b2
JM
11043 [BZ #3439]
11044 * math/math.h (FP_NAN): Define macro to integer constant usable in
11045 #if and use that to give value to enum constant.
11046 (FP_INFINITE): Likewise.
11047 (FP_ZERO): Likewise.
11048 (FP_SUBNORMAL): Likewise.
11049 (FP_NORMAL): Likewise.
11050
b5dcacb4
AS
110512012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11052
11053 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11054 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11055 arguments.
11056
f7934be8
RM
110572012-11-02 Roland McGrath <roland@hack.frob.com>
11058
11059 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11060 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11061 autoconf-time if not.
11062 * configure.in: Remove AC_PREREQ.
11063
d7d08bde
TMQMF
110642012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11065
11066 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11067 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11068 of the internal implementation.
11069
dcdae19a
JM
110702012-11-02 Joseph Myers <joseph@codesourcery.com>
11071
11072 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11073 except include of <misc/sys/syslog.h>.
11074
d6cffd3e
AS
110752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11076
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11078 function returns with a NULL context exit with zero.
11079
b3563932
TMQMF
110802012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11081
11082 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11083
b288a93d
L
110842012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11085
11086 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11087 (run_program_cmd): This.
11088 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11089 (tst_langinfo): New variable. Use it.
11090
a2421a68
SAS
110912012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11092
11093 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11094 floating point opcodes.
11095
6f796e1b
TS
110962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11097
7402596b
TS
11098 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11099 variable.
11100
d0d4f868
TS
11101 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11102
6f796e1b
TS
11103 * sysdeps/mach/hurd/powerpc: Remove directory.
11104 * sysdeps/mach/powerpc: Likewise.
11105
4da224a2
AS
111062012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11107
11108 * scripts/check-local-headers.sh: Ignore c++ headers.
11109
341dd673
TS
111102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11111
11112 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11113 __libc_cleanup_region_start argument.
11114
473611b2
JM
111152012-11-01 Joseph Myers <joseph@codesourcery.com>
11116
11117 [BZ #14784]
11118 [BZ #14785]
11119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11120 x * y using scaling, not as x * y + z.
11121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11123 * math/libm-test.inc (fma_test): Add more tests.
11124 (fma_test_towardzero): Likewise.
11125 (fma_test_downward): Likewise.
11126 (fma_test_upward): Likewise.
11127
4078da3d
TS
111282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11129
11130 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11131
903252aa
JM
111322012-10-31 Joseph Myers <joseph@codesourcery.com>
11133
11134 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11135 New variable.
11136
cbc818d0
TS
111372012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11138
11139 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11140
5a03cb1e
AS
111412012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11144 Fix sort order.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11146 Likewise.
11147
90aff2ff
TMQMF
111482012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11149
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11151 Fix the order of the list for glibc 2.17.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11153 Likewise.
11154
1818fcb7
AS
111552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11156
11157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11158
ef82f4da
JM
111592012-10-31 Joseph Myers <joseph@codesourcery.com>
11160
16a0e2ec
JM
11161 [BZ #14610]
11162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11163 for low part of x being zero before using __atanl (y).
11164 * math/libm-test.inc (atan2_test): Add another test.
11165
0eb69512
JM
11166 * manual/install.texi (Configuring and compiling): Document
11167 general use of test-wrapper and test-wrapper-env.
11168 * INSTALL: Regenerated.
11169
ef82f4da
JM
11170 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11171 (__fma): Do not extract and scale down low bits on after-rounding
11172 systems when result rounded to normal precision would have normal
11173 exponent.
11174 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11175 (__fmal): Do not extract and scale down low bits on after-rounding
11176 systems when result rounded to normal precision would have normal
11177 exponent.
11178 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11179 (__fmal): Do not extract and scale down low bits on after-rounding
11180 systems when result rounded to normal precision would have normal
11181 exponent.
11182 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11183 macro.
11184 (fma_test): Add more tests.
11185 (fma_test_towardzero): Likewise.
11186 (fma_test_downward): Likewise.
11187 (fma_test_upward): Likewise.
11188
954ef0d9
L
111892012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11190
11191 * sysdeps/i386/tininess.h: Renamed to ...
11192 * sysdeps/x86/tininess.h: This.
11193 * sysdeps/x86_64/tininess.h: Removed.
11194
df61ffb2
JM
111952012-10-30 Joseph Myers <joseph@codesourcery.com>
11196
11197 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11198 input. Use $(build-program-cmd).
11199 ($(objpfx)tst-array1-static.out): Likewise.
11200 ($(objpfx)tst-array2.out): Likewise.
11201 ($(objpfx)tst-array3.out): Likewise.
11202 ($(objpfx)tst-array4.out): Likewise.
11203 ($(objpfx)tst-array5.out): Likewise.
11204 ($(objpfx)tst-array5-static.out): Likewise.
11205
01767843
CM
112062012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11207
47cc1490
CM
11208 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11209 if defined.
11210
01767843
CM
11211 * nss/nsswitch.h (nss_interface_function): Provide new
11212 macro for use with NSS functions.
11213 * grp/initgroups.c: Use new macro.
11214 * nss/getXXbyYY.c: Likewise.
11215 * nss/getXXbyYY_r.c: Likewise.
11216 * nss/getXXent.c: Likewise.
11217 * nss/getXXent_r.c: Likewise.
11218 * sysdeps/posix/getaddrinfo.c: Likewise.
11219
8321aa97
AJ
112202012-10-30 Andreas Jaeger <aj@suse.de>
11221
11222 * po/ru.po: Update Russion translation from translation project.
11223
2a27fd6d
JM
112242012-10-30 Joseph Myers <joseph@codesourcery.com>
11225
8627a232
JM
11226 [BZ #14152]
11227 [BZ #14783]
11228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11229 result and shift together with sticky bit instead of replicating
11230 round-to-nearest rounding.
11231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11233 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11234 missing underflow exceptions.
11235 (fma_test_towardzero): Add more tests.
11236 (fma_test_downward): Likewise.
11237 (fma_test_upward): Likewise.
11238
2a27fd6d
JM
11239 [BZ #14047]
11240 * sysdeps/generic/tininess.h: New file.
11241 * sysdeps/i386/tininess.h: Likewise.
11242 * sysdeps/sh/tininess.h: Likewise.
11243 * sysdeps/x86_64/tininess.h: Likewise.
11244 * stdlib/tst-strtod-underflow.c: Likewise.
11245 * stdlib/tst-tininess.c: Likewise.
11246 * stdlib/strtod_l.c: Include <tininess.h>.
11247 (round_and_return): Do not set errno for exact underflow cases.
11248 Force an underflow exception when setting errno for underflow.
11249 Determine underflow based on rounding to normal precision if
11250 TININESS_AFTER_ROUNDING.
11251 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11252 ERANGE for exact underflow cases.
11253 * stdlib/Makefile (tests): Add tst-tininess and
11254 tst-strtod-underflow.
11255 ($(objpfx)tst-tininess): Use $(link-libm).
11256 ($(objpfx)tst-strtod-underflow): Likewise.
11257
e7170363
AJ
112582012-10-30 Andreas Jaeger <aj@suse.de>
11259
e5088dc6
AJ
11260 [BZ#14767]
11261 * elf/Makefile (tests): Remove conditional for have-initfini-array
11262 since this is now always required and the variable does not exist
11263 anymore.
11264 (tests-static): Likewise.
11265 (modules-names): Likewise.
11266
e7170363 11267 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11268
11269 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11270 merged with constructor/destructor.
11271 (init_array): Likewise.
11272 * elf/tst-array2dep.c (fini_array): Likewise.
11273 (init_array): Likewise.
11274
60457d8a
MF
112752012-10-29 Mike Frysinger <vapier@gentoo.org>
11276
11277 * manual/message.texi: Delete @cartouche tags.
11278
8bece752
PT
112792012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11280
94ce799f
PT
11281 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11282 EOPNOTSUPP.
11283 * sysdeps/mach/hurd/fsync.c: Likewise.
11284
8bece752
PT
11285 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11286 [_POSIX_REALTIME_SIGNALS]: Change condition to
11287 [_POSIX_REALTIME_SIGNALS > 0].
11288
86ebe6b1
AJ
112892012-10-27 Andreas Jaeger <aj@suse.de>
11290
11291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11292 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11294 [__WORDSIZE != 64]: Likewise.
11295
54399c08
L
112962012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11297
11298 * iconvdata/tst-table.sh: Remove ${SHELL}.
11299 * iconvdata/tst-tables.sh: Likewise.
11300
e2211bed
DM
113012012-10-25 David S. Miller <davem@davemloft.net>
11302
11303 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11304 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11305 of strtoull.
11306
f303f97c
DM
11307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11308 ifunc-impl-list.c
11309 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11310 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11311 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11312 file.
11313
1e9d84cd
RM
113142012-10-25 Roland McGrath <roland@hack.frob.com>
11315
11316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11317 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11318 __getdirentries.
11319
df381762
JM
113202012-10-25 Joseph Myers <joseph@codesourcery.com>
11321 Jim Blandy <jimb@codesourcery.com>
11322
11323 * scripts/cross-test-ssh.sh: New file.
11324 * manual/install.texi (Configuring and compiling): Document use of
11325 cross-test-ssh.sh.
11326 * INSTALL: Regenerated.
11327
bff64913
PT
113282012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11329
11330 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11331 EOPNOTSUPP.
11332
25fe8932
JM
113332012-10-25 Joseph Myers <joseph@codesourcery.com>
11334
11335 * Makeconfig (run-program-prefix): Fix comment.
11336
cc1290d0
JM
113372012-10-24 Joseph Myers <joseph@codesourcery.com>
11338 Jim Blandy <jimb@codesourcery.com>
11339
11340 * Makeconfig (test-wrapper): New variable,
11341 (test-wrapper-env): Likewise.
11342 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11343 (run-built-tests): Define to yes.
11344 (run-program-prefix): Use $(test-wrapper).
11345 (built-program-cmd): Likewise.
11346 * Rules (make-test-out): Use $(test-wrapper-env) and
11347 $(host-built-program-cmd).
11348 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11349 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11350 tst-pathopt.sh.
11351 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11352 $(test-wrapper-env) to tst-rtld-load-self.sh.
11353 ($(objpfx)order2.out): Use $(test-wrapper).
11354 ($(objpfx)tst-initorder.out): Likewise.
11355 ($(objpfx)tst-initorder2.out): Likewise.
11356 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11357 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11358 (test_wrapper_env): New variable. Use it to run ld.so.
11359 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11360 Use it to run ld.so.
11361 (test_wrapper_env): Likewise.
11362 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11363 $(test-wrapper) to run-iconv-test.sh.
11364 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11365 (ICONV): Use $test_wrapper.
11366 * posix/Makefile ($(objpfx)globtest.out): Pass
11367 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11368 globtest.sh, not $(run-program-prefix).
11369 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11370 (test_wrapper): Likewise.
11371 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11372 set together with run_via_rtld_prefix.
11373 (run_program_prefix): Define in terms of test_wrapper and
11374 run_via_rtld_prefix.
11375
6e6249d0
RM
113762012-10-24 Roland McGrath <roland@hack.frob.com>
11377
11378 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11379 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11380 Targets removed.
11381
11382 [BZ #14743]
11383 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11384 Declare __clock_getres, __clock_gettime, __clock_settime,
11385 __clock_nanosleep, and __clock_getcpuclockid.
11386 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11387 Remove librt_hidden_def (clock_gettime).
11388 * sysdeps/unix/clock_gettime.c: Likewise.
11389 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11391 * rt/clock_getres.c: Define __clock_getres as an alias.
11392 * sysdeps/posix/clock_getres.c: Likewise.
11393 * rt/clock_settime.c: Define __clock_settime as an alias.
11394 * sysdeps/unix/clock_settime.c: Likewise.
11395 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11396 * sysdeps/unix/clock_nanosleep.c: Likewise.
11397 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11398 * rt/clock-compat.c: New file.
11399 * rt/Makefile (librt-routines): Add clock-compat and move
11400 $(clock-routines) to ...
11401 (routines): ... here, new variable.
11402 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11403 Don't add get_clockfreq here.
11404 * rt/Versions (libc: GLIBC_2.17): New version set.
11405 Add clock_* symbols here.
11406 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11408 (GLIBC_2.17): Add clock_* symbols.
11409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11413 Likewise.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11415 Likewise.
11416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11420 * NEWS: Mention the move.
11421
11422 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11423 Use __open, __read, __close rather than their public counterparts.
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11425 (__get_clockfreq_via_cpuinfo): Likewise.
11426 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11427 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11428
11429 * config.h.in (HAVE_IFUNC): New #undef.
11430 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11431 was successful.
11432 * configure: Regenerated.
11433
0cae3f4b
MF
114342012-10-24 Mike Frysinger <vapier@gentoo.org>
11435
11436 * configure.in: Move READELF check to start of file.
11437 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11438 libc_cv_asm_gnu_indirect_function in the process.
11439 * configure: Regenerated.
11440
8175a253
MF
114412012-10-24 Mike Frysinger <vapier@gentoo.org>
11442
11443 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11444 send the output to /dev/null.
11445 (libc_cv_cc_with_libunwind): Likewise.
11446 (libc_cv_as_noexecstack): Likewise.
11447 * configure: Regenerate.
11448
0708a7d1
JM
114492012-10-24 Joseph Myers <joseph@codesourcery.com>
11450
10b40d85
JM
11451 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11452
0708a7d1
JM
11453 * posix/globtest.sh (TMPDIR): Do not set.
11454 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11455 (testout): Likewise.
11456
9fddec1a
AJ
114572012-10-24 Andreas Jaeger <aj@suse.de>
11458
3a8db22f
AJ
11459 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11460 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11461 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11462 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11463 posix_fadvise64, posix_fallocate64.
11464
9fddec1a
AJ
11465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11466 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11467 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11468 Likewise.
11469 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11470 Likewise.
11471 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11472
11473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11474 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11475 <bits/fcntl-linux.h>.
11476 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11477
11478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11479 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11480 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11481 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11482 [__WORDSIZE != 64]: Likewise.
11483
ebfd1bbd
JM
114842012-10-23 Joseph Myers <joseph@codesourcery.com>
11485
03ac099f
JM
11486 * Makeconfig (run-built-tests): New variable.
11487 * Rules [$(cross-compiling) = yes]: Change condition to
11488 [$(run-built-tests) = no].
11489 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11490 to [$(run-built-tests) = yes].
11491 * elf/Makefile [$(cross-compiling) = no]: Likewise
11492 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11493 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11494 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11495 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11496 * io/Makefile [$(cross-compiling) = no]: Likewise.
11497 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11498 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11499 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11500 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11501 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11502 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11503 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11504 * string/Makefile [$(cross-compiling) = no]: Likewise.
11505
ebfd1bbd
JM
11506 * posix/Makefile ($(objpfx)globtest.out): Pass
11507 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11508 $(rtld-installed-name).
11509 * posix/globtest.sh (elf_objpfx): Remove variable.
11510 (rtld_installed_name): Likewise.
11511 (library_path): Likewise.
11512 (run_program_prefix): New variable. Use for running globtest
11513 binary.
11514
166bca24
JB
115152012-10-23 Jim Blandy <jimb@codesourcery.com>
11516 Joseph Myers <joseph@codesourcery.com>
11517
11518 * Makeconfig (host-built-program-cmd): New variable.
11519 * elf/Makefile (tst-stackguard1-ARGS): Use
11520 $(host-built-program-cmd).
11521 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11522 (tst-spawn-ARGS): Likewise.
11523 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11524
88866099
JM
115252012-10-23 Joseph Myers <joseph@codesourcery.com>
11526 Jim Blandy <jimb@codesourcery.com>
11527
11528 * Makeconfig (run-via-rtld-prefix): New variable.
11529 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11530 (built-program-cmd): Likewise.
11531
b4b4c296
AJ
115322012-10-22 Andreas Jaeger <aj@suse.de>
11533
11534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11535 __O_RSYNC if it exists, otherwise to O_SYNC.
11536
6fb54a22
JB
115372012-10-22 Jim Blandy <jimb@codesourcery.com>
11538 Joseph Myers <joseph@codesourcery.com>
11539
11540 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11541 /dev/null.
11542 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11543 from /dev/null
11544 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11545 /dev/null.
11546
481b90b9
AJ
115472012-10-22 Andreas Jaeger <aj@suse.de>
11548
2a0e2669
AJ
11549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11550 Define always.
11551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11552
76e38f9a
AJ
11553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11554 bits/fcntl-linux.h.
11555
7cd37b43
AJ
11556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11557 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11558
481b90b9
AJ
11559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11560 to __O_LARGEFILE.
11561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11562 to __O_LARGEFILE.
11563
aba75984
JB
115642012-10-21 Jim Blandy <jimb@codesourcery.com>
11565 Joseph Myers <joseph@codesourcery.com>
11566
11567 * config.make.in (NM): New variable.
11568
88d4247f
AJ
115692012-10-21 Andreas Jaeger <aj@suse.de>
11570
11571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11572 definitions and declarations that are provided by
11573 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11574
f2eed205
L
115752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11576
11577 [BZ #14683]
11578 * elf/Makefile (tests-static): Add tst-leaks1-static.
11579 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11580 ($(objpfx)tst-leaks1-static): New rule.
11581 ($(objpfx)tst-leaks1-static-mem): Likewise.
11582 (tst-leaks1-static-ENV): New macro.
11583 * elf/dl-open.c (dl_open_worker): Check the main application
11584 only if SHARED is defined.
11585 * elf/tst-leaks1-static.c: New file.
11586
335e6931
AJ
115872012-10-20 Andreas Jaeger <aj@suse.de>
11588
11589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11590 generic values for Linux.
11591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11592 and declarations that are provided by <bits/fcntl-linux.h> and
11593 include <bits/fcntl-linux.h>.
11594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11596
ac5c94d3
RM
115972012-10-20 Roland McGrath <roland@hack.frob.com>
11598
11599 * io/fcntl.h: Move include of <bits/types.h> to the top and
11600 include it unconditionally.
11601
de54b33a
L
116022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11603
228cfb01
L
11604 * wcsmbs/Makefile (tests-ifunc): New variable.
11605 (tests): Add $(tests-ifunc).
11606 * wcsmbs/test-wcschr-ifunc.c: New file.
11607 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11608 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11609 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11610 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11611 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11612
69f07e5f
L
11613 * string/Makefile (tests-ifunc): New variable.
11614 (tests): Add $(tests-ifunc).
11615 * string/test-memccpy.c (TEST_NAME): New macro.
11616 * string/test-memchr.c (TEST_NAME): Likewise.
11617 * string/test-memcmp.c (TEST_NAME): Likewise.
11618 * string/test-memcpy.c (TEST_NAME): Likewise.
11619 * string/test-memmem.c (TEST_NAME): Likewise.
11620 * string/test-memmove.c (TEST_NAME): Likewise.
11621 * string/test-memset.c (TEST_NAME): Likewise.
11622 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11623 * string/test-stpcpy.c (TEST_NAME): Likewise.
11624 * string/test-stpncpy.c (TEST_NAME): Likewise.
11625 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11626 * string/test-strcasestr.c (TEST_NAME): Likewise.
11627 * string/test-strcat.c (TEST_NAME): Likewise.
11628 * string/test-strchr.c (TEST_NAME): Likewise.
11629 * string/test-strcmp.c(TEST_NAME): Likewise.
11630 * string/test-strcpy.c (TEST_NAME): Likewise.
11631 * string/test-strcspn.c (TEST_NAME): Likewise.
11632 * string/test-strlen.c (TEST_NAME): Likewise.
11633 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11634 * string/test-strncmp.c (TEST_NAME): Likewise.
11635 * string/test-strncpy.c (TEST_NAME): Likewise.
11636 * string/test-strnlen.c (TEST_NAME): Likewise.
11637 * string/test-strpbrk.c (TEST_NAME): Likewise.
11638 * string/test-strrchr.c (TEST_NAME): Likewise.
11639 * string/test-strspn.c (TEST_NAME): Likewise.
11640 * string/test-strstr.c (TEST_NAME): Likewise.
11641 * string/test-bcopy-ifunc.c: New file.
11642 * string/test-bzero-ifunc.c: Likewise.
11643 * string/test-memccpy-ifunc.c: Likewise.
11644 * string/test-memchr-ifunc.c: Likewise.
11645 * string/test-memcmp-ifunc.c: Likewise.
11646 * string/test-memcpy-ifunc.c: Likewise.
11647 * string/test-memmem-ifunc.c: Likewise.
11648 * string/test-memmove-ifunc.c: Likewise.
11649 * string/test-mempcpy-ifunc.c: Likewise.
11650 * string/test-memset-ifunc.c: Likewise.
11651 * string/test-rawmemchr-ifunc.c: Likewise.
11652 * string/test-stpcpy-ifunc.c: Likewise.
11653 * string/test-stpncpy-ifunc.c: Likewise.
11654 * string/test-strcasecmp-ifunc.c: Likewise.
11655 * string/test-strcasestr-ifunc.c: Likewise.
11656 * string/test-strcat-ifunc.c: Likewise.
11657 * string/test-strchr-ifunc.c: Likewise.
11658 * string/test-strchrnul-ifunc.c: Likewise.
11659 * string/test-strcmp-ifunc.c: Likewise.
11660 * string/test-strcpy-ifunc.c: Likewise.
11661 * string/test-strcspn-ifunc.c: Likewise.
11662 * string/test-strlen-ifunc.c: Likewise.
11663 * string/test-strncasecmp-ifunc.c: Likewise.
11664 * string/test-strncat-ifunc.c: Likewise.
11665 * string/test-strncmp-ifunc.c: Likewise.
11666 * string/test-strncpy-ifunc.c: Likewise.
11667 * string/test-strnlen-ifunc.c: Likewise.
11668 * string/test-strpbrk-ifunc.c: Likewise.
11669 * string/test-strrchr-ifunc.c: Likewise.
11670 * string/test-strspn-ifunc.c: Likewise.
11671 * string/test-strstr-ifunc.c: Likewise.
11672
de54b33a
L
11673 * debug/Makefile (tests-ifunc): New variable.
11674 (tests): Add $(tests-ifunc).
11675 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11676 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11677 * debug/test-stpcpy_chk-ifunc.c: New file.
11678 * debug/test-strcpy_chk-ifunc.c: Likewise.
11679
88481c16
SP
116802012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11681
11682 [BZ #13601]
11683 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11684 header is not read in.
11685
135948bd
JM
116862012-10-19 Joseph Myers <joseph@codesourcery.com>
11687
89f1c388
JM
11688 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11689 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11690 directly. Pass built executable to script as
11691 $(built-program-cmd).
11692 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11693 $testprogram without using LD_LIBRARY_PATH and $ldso.
11694
e40a0d21
JM
11695 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11696 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11697 $(rtld-installed-name).
11698 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11699 (rtld_installed_name): Likewise.
11700 (library_path): Likewise.
11701 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11702 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11703 $(run-program-prefix) to tst-tables.sh.
11704 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11705 it to run tst-table-from and tst-table-to.
11706 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11707 Pass it to tst-table.sh.
11708 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11709 $(run-program-prefix) to tst-gettext.sh.
11710 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11711 tst-translit.sh.
11712 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11713 tst-gettext2.sh.
11714 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11715 to run tst-gettext.
11716 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11717 to run tst-gettext2.
11718 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11719 to run tst-translit.
11720 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11721 $(run-program-prefix) to tst-mtrace.sh.
11722 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11723 to run tst-mtrace.
11724 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11725 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11726 $(rtld-installed-name).
11727 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11728 (rtld_installed_name): Likewise.
11729 (run_program_prefix): New variable. Use it to run wordexp-test.
11730
728e272a
JM
11731 * Makeconfig (ARCH): Remove all definitions.
11732 (machine): Likewise.
11733 [ARCH]: Remove conditional code.
11734 [!objdir]: Give error.
11735 [!objdir] (objpfx): Remove.
11736 [!objdir] (common-objpfx): Likewise.
11737 [!objdir] (common-objdir): Likewise.
11738 * configure.in (config_makefile): Remove. Hardcode Makefile in
11739 AC_CONFIG_FILES call.
11740 * configure: Regenerated.
11741
d528cdcf
JM
11742 [BZ #13888]
11743 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11744 or TMPDIR.
11745 (testout): Likewise.
11746
135948bd
JM
11747 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11748 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11749 $(rtld-installed-name).
11750 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11751 (rtld_installed_name): Likwise.
11752 (runit): Remove function.
11753 (run_getconf): New variable, Use it for running getconf binary.
11754
38c78296
L
117552012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11756
11757 [BZ #14716]
11758 * string/test-memmem.c (check_result): New function.
11759 (do_one_test): Use it.
11760 (check1): New function.
11761 (test_main): Use it.
11762
d077f65f
MT
117632012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11764
11765 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11766
ced52c71
JM
117672012-10-18 Joseph Myers <joseph@codesourcery.com>
11768
11769 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11770 (_G_LSEEK64): Likewise.
11771 (_G_MMAP64): Likewise.
11772 (_G_FSTAT64): Likewise.
11773 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11774 (_G_LSEEK64): Likewise.
11775 (_G_MMAP64): Likewise.
11776 (_G_FSTAT64): Likewise.
11777 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11778 unconditional. Call __mmap64 directly.
11779 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11780 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11781 __lseek64 directly.
11782 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11783 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11784 __mmap64 directly.
11785 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11786 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11787 __lseek64 directly.
11788 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11789 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11790 __lseek64 directly.
11791 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11792 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11793 __lseek64 directly.
11794 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11795 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11796 __fxstat64 directly.
11797 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11798 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11799 unconditional.
11800 (freopen64) [!_G_OPEN64]: Remove conditional code.
11801 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11802 unconditional.
11803 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11804 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11805 unconditional.
11806 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11807 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11808 unconditional.
11809 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11810 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11811 unconditional.
11812 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11813 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11814 unconditional.
11815 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11816 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11817 unconditional.
11818 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11819 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11820 unconditional.
11821 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11822
b741de23
SP
118232012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11824
11825 [BZ #12140]
11826 * manual/memory.texi (Malloc Tunable Parameters): Add note
11827 about free list pointers overwriting some perturb bytes.
11828 Wording suggested by Roland McGrath.
11829
f9b9d9c9
JM
118302012-10-17 Joseph Myers <joseph@codesourcery.com>
11831
11832 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11833 (lgamma_test): Likewise.
11834 (tgamma_test): Likewise.
11835
172a631a
FW
118362012-10-16 Florian Weimer <fweimer@redhat.com>
11837
11838 [BZ #14700]
11839 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11840 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11841
e9f37252
MK
118422012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11843
11844 * NEWS: Mention BZ #14716.
11845 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11846 when removing AVAILABLE1_USES_J macro.
11847
d394eb74
L
118482012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11851 (__bswap_64): __uint64_t for unsigned 64-bit int.
11852
ca38dc17
AS
118532012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11854
11855 * include/string.h (memmem): Declare libc hidden alias.
11856 * string/memmem.c (memmem): Define libc hidden alias.
11857 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11858 __read, __close instead of open, read, close.
11859
9a387d1f
L
118602012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11861
ac49ecaf
L
11862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11863 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11864 global and hidden.
11865 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11866 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11867 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11868 Likewise.
11869 (__rawmemchr_sse2): Likewise.
11870 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11871 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11872 (__strchr_sse2): Likewise.
11873 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11874 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11875 (__strcasecmp_sse2): Likewise.
11876 (__strncasecmp_sse2): Likewise.
11877 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11878 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11879 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11880 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11881 (__strrchr_sse2): Likewise.
11882 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11883 ifunc-impl-list.c.
11884 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11885 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11886 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11887 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11888 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11889 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11890 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11891 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11892 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11893 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11894 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11895 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11896 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11897 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11898 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11899 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11900 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11901 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11902 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11903 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11904 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11905 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11906 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11907 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11908 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11909 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11910 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11911 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11912 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11913 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11914
b090e8ea
L
11915 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11916 global and hidden.
11917 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11918 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11919 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11920 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11921 Likewise.
11922 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11923 Likewise.
11924 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11925 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11926 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11927 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11928 ifunc-impl-list.c.
11929 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11930 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11932 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11933 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11934 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11935 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11936 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11937 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11943 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11944 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11945 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11946 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11947 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11962 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11970
11dd4af6
L
11971 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11972 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11973 * include/ifunc-impl-list.h: New file.
11974 * misc/ifunc-impl-list.c: Likewise.
11975 * misc/Makefile (routines): Add ifunc-impl-list.
11976 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11977 * string/test-string.h: Include <ifunc-impl-list.h>.
11978 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11979 impl_array): New variables.
11980 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11981 are defined.
11982 (test_init): Call __libc_ifunc_impl_list to initialize
11983 func_list if TEST_IFUNC and TEST_NAME are defined.
11984
9a387d1f
L
11985 * string/Makefile (strop-tests): Add bcopy and bzero.
11986 * string/test-bcopy.c: New file.
11987 * string/test-bzero.c: Likewise.
11988 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11989 defined.
11990 * string/test-memset.c: Support bzero test if TEST_BZERO is
11991 defined.
11992 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11993 __libc_memmove.
11994 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11995 __libc_memset.
11996 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11997 of memset.
11998
472371b9
JM
119992012-10-10 Joseph Myers <joseph@codesourcery.com>
12000
1e4a9536
JM
12001 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12002 * configure: Regenerated.
12003
d173d12e
JM
12004 * Makeconfig (+link-static-before-libc): Don't include
12005 $(link-static-libc).
12006
472371b9
JM
12007 * libio/libio.h (_IO_pos_t): Remove.
12008
89a3ad0b
AO
120092012-10-10 Alexandre Oliva <aoliva@redhat.com>
12010
12011 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12012 McGrath.
12013
e7451425
AO
120142012-10-10 Alexandre Oliva <aoliva@redhat.com>
12015
12016 * crypt/crypt-entry.c: Include fips-private.h.
12017 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12018 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12019 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12020 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12021
4ba74a35
AO
120222012-10-10 Alexandre Oliva <aoliva@redhat.com>
12023
12024 * crypt/crypt-private.h: Include stdbool.h.
12025 (_ufc_setup_salt_r): Return bool.
12026 * crypt/crypt-entry.c: Include errno.h.
12027 (__crypt_r): Return NULL with EINVAL for bad salt.
12028 * crypt/crypt_util.c (bad_for_salt): New.
12029 (_ufc_setup_salt_r): Check that salt is long enough and within
12030 the specified alphabet.
12031 * crypt/badsalttest.c: New file.
12032 * crypt/Makefile (tests): Add it.
12033 ($(objpfx)badsalttest): New.
12034
f96f1242
MK
120352012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12036
12037 * NEWS: Add entry for BZ #14602.
12038
0e8e0c1c
JM
120392012-10-09 Joseph Myers <joseph@codesourcery.com>
12040
12041 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12042 type-generic.
12043 * math/libm-test.inc: Update comment listing what functions and
12044 macros are tested.
12045 (isgreater_test): New function.
12046 (isgreaterequal_test): Likewise.
12047 (isless_test): Likewise.
12048 (islessequal_test): Likewise.
12049 (islessgreater_test): Likewise.
12050 (isunordered_test): Likewise.
12051 (main): Call the new functions.
12052
273edc5e
RM
120532012-10-09 Roland McGrath <roland@hack.frob.com>
12054
b8493de0
RM
12055 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12056 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12057 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12058 * sysdeps/i386/configure: Regenerated.
12059 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12060 * sysdeps/mach/configure: Regenerated.
12061 * sysdeps/mach/hurd/configure: Regenerated.
12062 * sysdeps/powerpc/configure: Regenerated.
12063 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12064 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12065 * sysdeps/s390/s390-32/configure: Regenerated.
12066 * sysdeps/s390/s390-64/configure: Regenerated.
12067 * sysdeps/sh/configure: Regenerated.
12068 * sysdeps/sparc/configure: Regenerated.
12069 * sysdeps/unix/sysv/linux/configure: Regenerated.
12070 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12071 * sysdeps/x86_64/configure: Regenerated.
12072
273edc5e
RM
12073 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12074 defined. Don't check if MAP is NULL.
12075
c8450f70
JM
120762012-10-09 Joseph Myers <joseph@codesourcery.com>
12077
12078 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12079 (_G_stat64): Likewise.
12080 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12081 (_G_stat64): Likewise.
12082 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12083 instead of struct _G_stat64.
12084 * libio/fileops.c (mmap_remap_check): Likewise.
12085 (decide_maybe_mmap): Likewise.
12086 (_IO_new_file_seekoff): Likewise.
12087 (_IO_file_stat): Likewise.
12088 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12089 _G_off64_t.
12090 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12091 instead of struct _G_stat64.
12092 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12093
57e605ba
MK
120942012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12095
12096 [BZ #14602]
12097 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12098 Replace with ...
12099 (CHECK_EOL): New macro.
12100 (two_way_short_needle): Check beginning of haystack for EOL. Use
12101 CHECK_EOL.
12102 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12103 Replace with CHECK_EOL.
12104 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12105 Replace with CHECK_EOL.
12106
ef1bb361
JM
121072012-10-08 Joseph Myers <joseph@codesourcery.com>
12108
12109 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12110 type-generic.
12111 * math/libm-test.inc: Update comment listing what functions and
12112 macros are tested.
12113 (finite_test): New function.
12114 (isinf_test): Likewise.
12115 (isnan_test): Likewise.
12116 (fpclassify_test): Test subnormal input.
12117 (isfinite_test): Likewise.
12118 (isnormal_test): Likewise.
12119 (main): Call the new functions.
12120
55f11534
JN
121212012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12122
12123 [BZ #14660]
12124 * Makerules (%.dynsym): Force C locale when running
12125 $(OBJDUMP) --dynamic-syms.
12126
1ab29350
AS
121272012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12128
12129 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12130 <stdint.h>.
12131
f1ecb7ef
DM
121322012-10-06 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12135 upper 32-bits of the length value in %o2 since we use branch-on-register
12136 tests which consider the entire 64-bit register.
12137
5d41d91a
L
121382012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12139
12140 * string/test-strstr.c (check2): Add a test for page boundary.
12141
3baddb72
DM
121422012-10-05 David S. Miller <davem@davemloft.net>
12143
12144 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12145 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12146 file.
12147 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12148 sysdep_routines.
12149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12150 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12151 and bzero when HWCAP_SPARC_CRYPTO is present.
12152
9cee5585
L
121532012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12154
d7e0dab9
L
12155 [BZ #14602]
12156 * string/test-strstr.c (check2): New function.
12157 (test_main): Call check2.
12158
03759f47
L
12159 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12160 and bug-strchr1.
12161 * string/bug-strcasestr1.c (do_test): Moved to ...
12162 * string/test-strcasestr.c (check1): Here. New function.
12163 (do_one_test): Break out result checking code into ...
12164 (check_result): This. New function.
12165 (do_one_test): Call check_result.
12166 (test_main): Call check1.
12167 * string/bug-strchr1.c (do_test): Moved to ...
12168 * string/test-strchr.c (check1): Here. New function.
12169 (do_one_test): Break out result checking code into ...
12170 (check_result): This. New function.
12171 (do_one_test): Call check_result.
12172 (test_main): Call check1.
12173 * string/bug-strstr1.c (main): Moved to ...
046f153e 12174 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12175 (do_one_test): Break out result checking code into ...
12176 (check_result): This. New function.
12177 (do_one_test): Call check_result.
12178 (test_main): Call check1.
12179 * string/bug-strcasestr1.c: Removed.
12180 * string/bug-strchr1.c: Likewise.
12181 * string/bug-strstr1.c: Likewise.
12182
53cea63e
L
12183 * elf/Makefile (dl-routines): Add hwcaps.
12184 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12185 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12186 (_dl_important_hwcaps): Moved to ...
12187 * elf/dl-hwcaps.c: Here. New file.
12188 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12189
9cee5585 12190 [BZ #14557]
bb859b06
L
12191 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12192 if IS_IN_rtld isn't defined.
12193
9cee5585
L
12194 * elf/dl-support.c (_dl_sysinfo_map): New.
12195 Include "get-dynamic-info.h" and "setup-vdso.h".
12196 (_dl_non_dynamic_init): Call setup_vdso.
12197 * elf/dynamic-link.h: Don't include <assert.h>.
12198 (elf_get_dynamic_info): Moved to ...
12199 * elf/get-dynamic-info.h: Here. New file.
12200 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12201 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12202 * elf/setup-vdso.h: Here. New file.
12203 * elf/rtld.c: Include "setup-vdso.h".
12204 (dl_main): Call setup_vdso.
12205
23c31b76
JM
122062012-10-05 Joseph Myers <joseph@codesourcery.com>
12207
28234b07
JM
12208 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12209 creal in comment listing functions tested. List finite, isinf,
12210 isnan, isless, islessequal, isgreater, isgreaterequal,
12211 islessgreater, isunordered, lgamma_r and pow10 as functions and
12212 macros not tested. Mention which functions not tested are aliases
12213 for other functions. Fix typo. Note that signs of NaNs are not
12214 tested.
12215
23c31b76
JM
12216 * scripts/config.guess: Update from config.git.
12217 * scripts/config.sub: Likewise.
12218
9043e228
RM
122192012-10-04 Roland McGrath <roland@hack.frob.com>
12220
12221 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12222 * misc/madvise.c (madvise): Renamed to __madvise.
12223 Make madvise a weak alias.
12224 * include/sys/mman.h: Declare __madvise.
12225 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12226 * sysdeps/unix/syscalls.list
12227 (madvise): Make __madvise the strong name, and madvise a weak alias.
12228 * sysdeps/unix/sysv/linux/syscalls.list
12229 (madvise, mmap): Remove redundant entries.
12230 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12231 * malloc/malloc.c (mtrim): Likewise.
12232 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12233
f57f8055
RM
122342012-10-03 Roland McGrath <roland@hack.frob.com>
12235
12236 * sysdeps/mach/hurd/dl-cache.c: File removed.
12237 * config.h.in (USE_LDCONFIG): New #undef.
12238 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12239 * configure: Regenerated.
12240 * elf/Makefile (dl-routines): Add dl-cache only under
12241 [$(use-ldconfig) = yes].
12242 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12243 cache on [USE_LDCONFIG].
12244 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12245 [USE_LDCONFIG].
12246 * elf/rtld.c (dl_main): Likewise.
12247
5bb0c10a
PT
122482012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12249
12250 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12251 _SC_LEVEL4_CACHE_LINESIZE.
12252
010188c6
RM
122532012-10-03 Roland McGrath <roland@hack.frob.com>
12254
12255 * sysdeps/unix/bsd/confstr.h: File removed.
12256
b6c5ec07
AO
122572012-10-02 Alexandre Oliva <aoliva@redhat.com>
12258
12259 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12260 sys/sdt-config.h.
12261
408223d4
RM
122622012-10-02 Roland McGrath <roland@hack.frob.com>
12263
12264 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12265 Make 'mapoff' field ElfW(Off) rather than off_t.
12266
bb9510dc
DL
122672012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12268
fc997c6e
DL
12269 * nscd/Makefile: Remove nscd-cflags and all its users.
12270 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12271 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12272
bb9510dc
DL
12273 [BZ #10631]
12274 * malloc.c (malloc_printerr): Clarify error message.
12275
05699367
L
122762012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 [BZ #14648]
12279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12280 Set bit_FMA_Usable if FMA is supported.
12281 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12282 macro.
12283 (bit_FMA4_Usable): Updated.
12284 (index_FMA_Usable): New macro.
12285 (CPUID_FMA): Likewise
12286 (HAS_FMA): Defined with bit_FMA_Usable.
12287
51367701
RM
122882012-10-01 Roland McGrath <roland@hack.frob.com>
12289
12290 * bits/types.h (__swblk_t): Type removed.
12291 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12292 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12294 (__SWBLK_T_TYPE): Likewise.
12295 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12296 (__SWBLK_T_TYPE): Likewise.
12297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12298 (__SWBLK_T_TYPE): Likewise.
12299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12300 (__SWBLK_T_TYPE): Likewise.
12301
4d57bf63 123022012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12303 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12304
12305 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12306 (xdr_mapname): Use YPMAXMAP as maxsize.
12307 (xdr_peername): Use YPMAXPEER as maxsize.
12308 (xdr_keydat): Use YPAXRECORD as maxsize.
12309 (xdr_valdat): Use YPMAXRECORD as maxsize.
12310
93c65d43
RM
123112012-10-01 Roland McGrath <roland@hack.frob.com>
12312
497a03d6
RM
12313 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12314
93c65d43
RM
12315 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12316 * csu/init-first.c: ... here.
12317 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12318 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12319 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12320 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12321 * sysdeps/i386/init-first.c: File removed.
12322 * sysdeps/sh/init-first.c: File removed.
12323
bec749fd
JM
123242012-10-01 Joseph Myers <joseph@codesourcery.com>
12325
12326 [BZ #14645]
12327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12328 if x * y might underflow to zero and z is zero.
12329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12331 * math/libm-test.inc (min_subnorm_value): New variable.
12332 (fma_test): Add more tests.
12333 (fma_test_towardzero): Likewise.
12334 (fma_test_downward): Likewise
12335 (fma_test_upward): Likewise.
12336 (initialize): Set min_subnorm_value.
12337
8ec5b013
JM
123382012-09-29 Joseph Myers <joseph@codesourcery.com>
12339
12340 [BZ #14638]
12341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12342 0 + 0.
12343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12344 mode for addition resulting in exact zero.
12345 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12347 exact 0 + 0.
12348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12350 * math/libm-test.inc (fma_test): Add more tests.
12351 (fma_test_towardzero): New function.
12352 (fma_test_downward): Likewise.
12353 (fma_test_upward): Likewise.
12354 (main): Call the new functions.
12355
b1fa802e
DM
123562012-09-28 David S. Miller <davem@davemloft.net>
12357
12358 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12359
d3b9fd9e
RM
123602012-09-28 Roland McGrath <roland@hack.frob.com>
12361
ea4d37b3
RM
12362 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12363 instead of SIGALRM.
12364
ac51c949
RM
12365 * sysdeps/gnu/_G_config.h: Moved to ...
12366 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12367 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12368 * sysdeps/generic/_G_config.h: ... here.
12369
28c195f7
RM
12370 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12371
848917f9
RM
12372 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12373
6bacf05b
RM
12374 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12375 Conditionalize target on [libnss_test1.so-version].
12376
91363dbb
RM
12377 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12378
cc87f7d8
RM
12379 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12380 (elfobjdir): Move out of conditionals.
12381
b1c608fe
RM
12382 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12383 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12384 (__nss_lookup_function): Conditionalize label remove_from_tree on
12385 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12386
1d9a6d96
DM
123872012-09-28 David S. Miller <davem@davemloft.net>
12388
12389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12390 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12391 file.
12392 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12393 sysdep_routines.
12394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12396 when HWCAP_SPARC_CRYPTO is present.
12397
72581615
PT
123982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12399
12400 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12401
715a900c
JL
124022012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12403
12404 [BZ #6530]
12405 * stdio-common/vfprintf.c (process_string_arg): Revert
12406 2000-07-22 change.
12407
124082011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12409
12410 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12411 for testcase.
12412 * stdio-common/tst-sprintf.c: Include <locale.h>
12413 (main): Test sprintf's handling of incomplete multibyte
12414 characters.
12415
9bac1d86
L
124162012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12417
12418 * elf/dl-runtime.c (VERSYMIDX): Removed.
12419 * elf/dl-version.c (VERSYMIDX): Likewise.
12420 * elf/do-rel.h (VERSYMIDX): Likewise.
12421 (VALIDX): Likewise.
12422 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12423 * elf/rtld.c (VALIDX): Likewise.
12424 (ADDRIDX): Likewise.
9bac1d86
L
12425 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12426 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12427 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12428 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12429 (VALIDX): Likewise.
12430 (ADDRIDX): Likewise.
9bac1d86 12431
b31606c0
PT
124322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12433
12434 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12435
11541177
JL
124362012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12437
12438 [BZ #11438]
12439 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12440 to global scope.
12441 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12442 addresses are in the same scope as 192.0.2/24.
12443 * posix/gai.conf: Document new scope table defaults.
12444
adb26fae
SP
124452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12446
12447 [BZ #5298]
12448 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12449 for ftell. Compute offsets from write pointers instead.
12450 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12451
4573c6b0
SP
124522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12453
12454 [BZ #14543]
12455 * libio/Makefile (tests): New test case tst-fseek.
12456 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12457 combination works in wide mode.
12458 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12459 state when the external buffer state changes.
12460
aa9bbfe6
DM
124612012-09-27 David S. Miller <davem@davemloft.net>
12462
12463 [BZ #14376]
12464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12465 pass reloc->r_addend in as the 'high' argument to
12466 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12467
784421e7
DM
12468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12469
c39bc8b8
PT
124702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12471
12472 * rt/tst-aio2.c: Include <pthread.h>.
12473 * rt/tst-aio3.c: Likewise.
12474
1ccc2399
SE
124752012-09-27 Steve Ellcey <sellcey@mips.com>
12476
12477 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12478
31ed4153
L
124792012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12480
25f5f885
L
12481 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12482 contents on [SHARED].
31ed4153 12483
b7bfe116
MP
124842012-09-26 Marek Polacek <polacek@redhat.com>
12485
12486 [BZ #14530]
12487 [BZ #13741]
12488 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12489 for C++ and GCC <4.3 as well as for non GCC compilers.
12490
43c4edba
MT
124912012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12492
12493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12494
6a1bf82f
RM
124952012-09-25 Roland McGrath <roland@hack.frob.com>
12496
12497 * Makefile.in (all, install): Declare with .PHONY.
12498 Reported by Michael Hope <michael.hope@linaro.org>.
12499
8ad11b9a
TMQMF
125002012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12501
12502 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12503 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12504 system header.
12505 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12506 Likewise.
12507 (sydep_routines): Add the new and the internal functions.
12508 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12509 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12511 (GLIBC_2.17): Add the new function.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12513 (GLIBC_2.17): Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12515 (GLIBC_2.17): Likewise.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12517 (GLIBC_2.17): Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12519
7e2fca8d
AM
125202012-09-25 Alan Modra <amodra@gmail.com>
12521
12522 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12523 Add release barrier before setting once_control to say
12524 initialisation is done. Add hints on lwarx. Use macro in
12525 place of isync.
12526 (clear_once_control): Add release barrier.
12527
b87c4b24
JM
125282012-09-25 Joseph Myers <joseph@codesourcery.com>
12529
d032e0d2
JM
12530 [BZ #13629]
12531 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12532 specially.
12533 * math/s_clog10.c (__clog10): Likewise.
12534 * math/s_clog10f.c (__clog10f): Likewise.
12535 * math/s_clog10l.c (__clog10l): Likewise.
12536 * math/s_clogf.c (__clogf): Likewise.
12537 * math/s_clogl.c (__clogl): Likewise.
12538 * math/Makefile (libm-calls): Add x2y2m1.
12539 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12540 (__x2y2m1): Likewise.
12541 (__x2y2m1l): Likewise.
12542 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12543 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12546 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12547 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12548 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12549 * sysdeps/i386/fpu/libm-test-ulps: Update.
12550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551
b87c4b24
JM
12552 [BZ #14621]
12553 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12554 int as type of variable DEPTH.
12555 (glob): Use size_t instead of int as type of variables NEWCOUNT
12556 and OLD_PATHC.
12557
6d3bf199
LD
125582012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12559
22bf5c17
LD
12560 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12561 Add s_sincosf-sse2.
12562 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12563 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12564 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12565 macros for using routine as __sincosf_ia32.
12566 Use macro for function declaration and weak_alias.
12567 * sysdeps/i386/fpu/libm-test-ulps: Update.
12568
12569 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12571
12572 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12573 subnormal argument.
12574 * math/s_cexpf.c (__cexpf): Likewise.
12575 * math/s_csinf.c (__csinf): Likewise.
12576 * math/s_csinhf.c (__csinhf): Likewise.
12577 * math/s_ctanf.c (__ctanf): Likewise.
12578 * math/s_ctanhf.c (__ctanhf): Likewise.
12579 * math/s_ccosh.c (__ccoshf): Likewise.
12580 * math/s_cexp.c (__cexpl): Likewise.
12581 * math/s_csin.c (__csin): Likewise.
12582 * math/s_csinh.c (__csinh): Likewise.
12583 * math/s_ctan.c (__ctan): Likewise.
12584 * math/s_ctanh.c (ctanh): Likewise.
12585 * math/s_ccoshl.c (__ccoshl): Likewise.
12586 * math/s_cexpl.c (__cexpl): Likewise.
12587 * math/s_csinl.c (__csinl): Likewise.
12588 * math/s_csinhl.c (__csinhl): Likewise.
12589 * math/s_ctanl.c (__ctanl): Likewise.
12590 * math/s_ctanhl.c (__ctanhl): Likewise.
12591
203e5603
JM
125922012-09-25 Joseph Myers <joseph@codesourcery.com>
12593
12594 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12595 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12596 (_IO_off_t): Define to __off_t, not _G_off_t.
12597 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12598 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12599 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12600 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12601 type of __dummy and __dummy2 fields.
12602 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12603 (_G_ssize_t): Likewise.
12604 (_G_off_t): Likewise.
12605 (_G_pid_t): Likewise.
12606 (_G_uid_t): Likewise.
12607 (_G_wchar_t): Likewise.
12608 (_G_wint_t): Likewise.
12609 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12610 (_G_ssize_t): Likewise.
12611 (_G_off_t): Likewise.
12612 (_G_pid_t): Likewise.
12613 (_G_uid_t): Likewise.
12614 (_G_wchar_t): Likewise.
12615 (_G_wint_t): Likewise.
12616 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12617 (_G_ssize_t): Likewise.
12618 (_G_off_t): Likewise.
12619 (_G_pid_t): Likewise.
12620 (_G_uid_t): Likewise.
12621 (_G_wchar_t): Likewise.
12622 (_G_wint_t): Likewise.
12623
9fab36eb
SP
126242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12625
12626 * malloc/arena.c: Include malloc-sysdep.h.
12627 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12628 is sufficient to shrink the heap or an unmap is needed.
12629 * sysdeps/generic/malloc-sysdep.h: New file. Define
12630 new function check_may_shrink_heap.
12631 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12632 new function check_may_shrink_heap.
12633
2b4f00d1
SP
126342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12635
12636 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12637 comments.
12638
9a9028b1
DL
126392012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12640
57c69bef
DL
12641 * catgets/test-gencat.sh: Add "set -e".
12642 * elf/tst-pathopt.sh: Likewise.
12643 * grp/tst_fgetgrent.sh: Likewise.
12644 * iconvdata/run-iconv-test.sh: Likewise.
12645 * intl/tst-gettext.sh: Likewise.
12646 * intl/tst-gettext2.sh: Likewise.
12647 * intl/tst-gettext4.sh: Likewise.
12648 * intl/tst-gettext6.sh: Likewise.
12649 * intl/tst-translit.sh: Likewise.
12650 * io/ftwtest-sh: Likewise.
12651 * libio/test-freopen.sh: Likewise.
12652 * malloc/tst-mtrace.sh: Likewise.
12653 * posix/globtest.sh: Likewise.
12654 * posix/tst-getconf.sh: Likewise.
12655 * posix/wordexp-tst.sh: Likewise.
12656 * stdio-common/tst-printf.sh: Likewise.
12657 * stdio-common/tst-unbputc.sh: Likewise.
12658 * stdlib/tst-fmtmsg.sh: Likewise.
12659 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12660 * catgets/Makefile: Do not specify -e option when running
12661 testsuite shell scripts.
12662 * elf/Makefile: Likewise.
12663 * grp/Makefile: Likewise.
12664 * iconvdata/Makefile: Likewise.
12665 * intl/Makefile: Likewise.
12666 * io/Makefile: Likewise.
12667 * libio/Makefile: Likewise.
12668 * malloc/Makefile: Likewise.
12669 * posix/Makefile: Likewise.
12670 * stdio-common/Makefile: Likewise.
12671 * stdlib/Makefile: Likewise.
12672 * sysdeps/x86_64/Makefile: Likewise.
12673
9a9028b1
DL
12674 * io/ftwtest-sh: Add copyright header.
12675 * posix/globtest.sh: Likewise.
12676 * posix/tst-getconf.sh: Likewise.
12677 * posix/wordexp-tst.sh: Likewise.
12678 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12679
ced6f16e
L
126802012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12681
94b32c39
L
12682 [BZ #13679]
12683 * Makeconfig (+link): Defined as $(+link-static) if
12684 $(build-shared) isn't yes.
12685 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12686 isn't yes.
12687 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12688
189e935b
L
12689 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12690
ced6f16e
L
12691 [BZ #14562]
12692 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12693 new chunk size with MALLOC_ALIGN_MASK.
12694
a9f8e53a
JM
126952012-09-24 Joseph Myers <joseph@codesourcery.com>
12696
12697 [BZ #5044]
12698 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12699 <rounding-mode.h>.
12700 (__printf_fphex): Determine rounding using get_rounding_mode and
12701 round_away.
12702 * stdio-common/tst-printf-round.c (struct hex_test): New
12703 structure.
12704 (hex_tests): New variable.
12705 (test_hex_in_one_mode): New function.
12706 (do_test): Also run tests for hex float output.
12707
43153109
JM
127082012-09-21 Joseph Myers <joseph@codesourcery.com>
12709
12710 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12711 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12712 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12713 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12714 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12715 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12716 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12717 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12718
8a26625d
JM
127192012-09-20 Joseph Myers <joseph@codesourcery.com>
12720
12721 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12722 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12723 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12724 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12725
f3fd569c
DL
127262012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12727
12728 [BZ #14579]
12729 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12730 mode only.
12731 * elf/tst-rtld-load-self.sh: New test.
12732 * elf/Makefile: Run it.
12733
63bbedd4
JM
127342012-09-18 Joseph Myers <joseph@codesourcery.com>
12735
12736 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12737 (tst-writev-ENV): Remove.
12738 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12739
626f8b6a
CM
127402012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12741
12742 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12743
b7aaa4d6
JM
127442012-09-17 Joseph Myers <joseph@codesourcery.com>
12745
12746 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12747 unconditional.
12748 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12749 Likewise.
12750 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12751 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12752 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12753 Likewise.
12754
65513990
L
127552012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12756
12757 [BZ #14587]
12758 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12759 * config.make.in (have-cpp-asm-debuginfo): Removed.
12760 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12761 * configure: Regenerated.
12762
784761be
JM
127632012-09-14 Joseph Myers <joseph@codesourcery.com>
12764
12765 [BZ #5044]
12766 * stdio-common/printf_fp.c: Include <stdbool.h> and
12767 <rounding-mode.h>.
12768 (___printf_fp): Determine rounding using get_rounding_mode and
12769 round_away.
12770 * stdio-common/tst-printf-round.c: New file.
12771 * stdio-common/Makefile (tests): Add tst-printf-round.
12772 (link-libm): New variable.
12773 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12774
9503345f
L
127752012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12776
12777 [BZ #14576]
12778 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12779 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12780 Likewise.
12781 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12782 Likewise.
12783
ad35fc00
JM
127842012-09-13 Joseph Myers <joseph@codesourcery.com>
12785
12786 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12787 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12788 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12789 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12790
6c9b0f68
JM
127912012-09-12 Joseph Myers <joseph@codesourcery.com>
12792
12793 [BZ #14518]
12794 * include/rounding-mode.h: New file.
12795 * sysdeps/generic/get-rounding-mode.h: Likewise.
12796 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12797 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12798 (MAX_VALUE): New macro.
12799 (MIN_VALUE): Likewise.
12800 (overflow_value): New function.
12801 (underflow_value): Likewise.
12802 (round_and_return): Use overflow_value and underflow_value to
12803 determine return values in overflow and underflow cases. Use
12804 round_away to determine rounding depending on rounding mode.
12805 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12806 determine return values in overflow and underflow cases.
12807 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12808 (struct test_results): New structure.
12809 (struct test): Use struct test_results to store expected results
12810 for all rounding modes.
12811 (TEST): Include expected results for all rounding modes.
12812 (test_in_one_mode): New function.
12813 (do_test): Use test_in_one_mode to compute and check results.
12814 Check results for all rounding modes.
12815 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12816 $(link-libm).
12817
19fcedd5
AM
128182012-12-09 Allan McRae <allan@archlinux.org>
12819
1e9d84cd 12820 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12821
8bbfd2f1
JM
128222012-09-11 Joseph Myers <joseph@codesourcery.com>
12823
12824 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12833 (_G_int32_t): Likewise.
12834 (_G_uint16_t): Likewise.
12835 (_G_uint32_t): Likewise.
12836 (_G_HAVE_BOOL): Likewise.
12837 (_G_HAVE_ATEXIT): Likewise.
12838 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12839 (_G_HAVE_IO_FILE_OPEN): Likewise.
12840 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12841 (_G_int32_t): Likewise.
12842 (_G_uint16_t): Likewise.
12843 (_G_uint32_t): Likewise.
12844 (_G_HAVE_BOOL): Likewise.
12845 (_G_HAVE_ATEXIT): Likewise.
12846 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12847 (_G_HAVE_IO_FILE_OPEN): Likewise.
12848
b1dc5912
L
128492012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12850
12851 * csu/libc-tls.c: Update copyright years.
12852
0e886ef9
JM
128532012-09-10 Joseph Myers <joseph@codesourcery.com>
12854
28361c5e
JM
12855 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12856 [!_G_USING_THUNKS]: Remove conditional code.
12857 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12858 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12859
0e886ef9
JM
12860 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12861 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12862 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12863 (_G_VTABLE_LABEL_PREFIX): Likewise.
12864 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12865 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12866 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12867 (_G_VTABLE_LABEL_PREFIX): Likewise.
12868 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12869 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12870 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12871 (_G_VTABLE_LABEL_PREFIX): Likewise.
12872 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12873
bcba7aa2
L
128742012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12875
12876 * libio/Makefile: Include ../Makeconfig before tests.
12877 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12878 only if $(build-shared) is yes.
12879
06585ee8
L
12880 * iconv/gconv_db.c: Update copyright years.
12881
80ccd52c
LD
128822012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12883
12884 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12885 unwind info if defined PIC. Fix special cases description.
12886 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12887
12888 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12889 DP_HI_MASK entry.
12890 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12891
691bc9c1
L
128922012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12893
3d9b46b3
L
12894 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12895
de2139a9
L
12896 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12897 is NULL.
12898
5ca78dd0
L
12899 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12900 (LDLIBS-tst-chk4): This.
12901 (LDFLAGS-tst-chk5): Renamed to ...
12902 (LDLIBS-tst-chk5): This.
12903 (LDFLAGS-tst-chk6): Renamed to ...
12904 (LDLIBS-tst-chk6): This.
12905 (LDFLAGS-tst-lfschk4): Renamed to ...
12906 (LDLIBS-tst-lfschk4): This.
12907 (LDFLAGS-tst-lfschk5): Renamed to ...
12908 (LDLIBS-tst-lfschk5): This.
12909 (LDFLAGS-tst-lfschk6): Renamed to ...
12910 (LDLIBS-tst-lfschk6): This.
12911
691bc9c1
L
12912 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12913 on $(common-objpfx)soversions.mk.
12914
65cafb1c
JM
129152012-09-07 Joseph Myers <joseph@codesourcery.com>
12916
12917 [BZ #10014]
12918 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12919 example host name.
12920
c78ab094
SP
129212012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12922
12923 * malloc/arena.c (arena_get_retry): New function that gets
12924 another arena for the caller to try its request on.
12925 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12926 current arena cannot fulfill the request.
12927 (__libc_memalign): Likewise.
12928 (__libc_memalign): Likewise.
12929 (__libc_pvalloc): Likewise.
12930 (__libc_calloc): Likewise.
12931
01f49f59
JT
129322012-09-05 John Tobey <john.tobey@gmail.com>
12933
12934 [BZ #13542]
12935 * manual/arith.texi (Operations on Complex): Fix description
12936 of carg branch cut.
12937
4c23fed5
JM
129382012-09-06 Joseph Myers <joseph@codesourcery.com>
12939
1d3c8572
JM
12940 [BZ #10014]
12941 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12942 host name.
12943
4c23fed5
JM
12944 [BZ #10038]
12945 * manual/memory.texi (Memory): Make order of menu items match
12946 order of sections.
12947
04570aaa
L
129482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12949
12950 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12951 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12952 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12953
b80af2f4
L
129542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12955
12956 * csu/libc-tls.c (static_dtv): Renamed to ...
12957 (_dl_static_dtv): This. Make it global.
12958 (_dl_initial_dtv): Removed.
12959 (__libc_setup_tls): Updated.
12960 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12961 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12962 DL_INITIAL_DTV.
12963
2abe9f15
PM
129642012-09-06 Petr Machata <pmachata@redhat.com>
12965
12966 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12967 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12968 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12969 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12970
0948c3af
L
129712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12972
12973 [BZ #14545]
12974 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12975 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12976 freeing dtv[-1].
12977
a5055ad1
L
129782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12979
12980 [BZ #14544]
12981 * Makeconfig (link-static-before-libc): Replace $(+prector)
12982 with $(+prectorT).
12983 (link-static-after-libc): Replace $(+postctor) with
12984 $(+postctorT).
12985 (link-bounded): Replace $(+prector)/$(+postctor) with
12986 $(+prectorT)/$(+postctorT).
12987 (+prectorT): New macro.
12988 (+postctorT): Likewise.
12989
ed8c2ecd
JM
129902012-09-06 Joseph Myers <joseph@codesourcery.com>
12991
12992 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12993 (round_str): Handle values above the maximum for IBM long double
12994 as inexact.
12995 * stdlib/tst-strtod-round.c (tests): Regenerated.
12996
14c996c8
AK
129972012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12998
12999 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13000 assembler flag.
13001 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13002 zarch_nohighgprs around the zarch optimized routines.
13003 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13004 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13005 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13006 for zarch.
13007
430d6ce6
DM
130082012-09-05 David S. Miller <davem@davemloft.net>
13009
13010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13011
ff04dda4
DM
13012 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13013 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13014 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13015 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13016 entries.
13017
24d4e01b
AO
130182012-09-05 Alexandre Oliva <aoliva@redhat.com>
13019
13020 * malloc/arena.c: Fold copyright years.
13021 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13022
61d58174
AO
130232012-09-05 Alexandre Oliva <aoliva@redhat.com>
13024
13025 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13026
20196a5e
AO
130272012-09-05 Alexandre Oliva <aoliva@redhat.com>
13028
13029 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13030
5c447383
AO
130312012-09-05 Alexandre Oliva <aoliva@redhat.com>
13032
13033 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13034 change internal state upon failure.
13035
fad64255
AO
130362012-09-05 Alexandre Oliva <aoliva@redhat.com>
13037
13038 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13039 * malloc/memusage.c (mmap): Likewise.
13040 (mmap64, mremap): Likewise. Adjust name in comment.
13041
1ffb8c90
SP
130422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13043
13044 * libio/fileops.c: Fix typos in comments.
13045 * libio/oldfileops.c: Likewise.
13046 * libio/wfileops.c: Likewise.
13047
6ef9cc37
SP
130482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13049
13050 [BZ #1349]
13051 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13052 (tst-malloc-usable-ENV): Set environment for test case.
13053 * malloc/hooks.c (malloc_check_get_size): New function to get
13054 requested size.
13055 * malloc/malloc.c (musable): Use malloc_check_get_size.
13056 * malloc/tst-malloc-usable.c: New test case.
13057
4d038ae3
AS
130582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13059
13060 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13061
c4e85184
AM
130622012-09-05 Allan McRae <allan@archlinux.org>
13063
b9dafc56 13064 [BZ #13966]
c4e85184
AM
13065 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13066 determine header location.
13067 * configure: Regenerated.
13068
e1343020
AS
130692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13070
13071 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13072 float format.
13073 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13074 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13075 format.
e1343020
AS
13076 (test): Regenerate.
13077
0a9f1987
DM
130782012-09-04 David S. Miller <davem@davemloft.net>
13079
13080 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13081 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13082 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13083
29237804
FW
130842012-09-04 Florian Weimer <fweimer@redhat.com>
13085
13086 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13087 failures.
13088
edb3cb88
FW
13089 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13090
60160d83
JM
130912012-09-04 Joseph Myers <joseph@codesourcery.com>
13092
13093 [BZ #9914]
13094 * libio/iogetdelim.c: Include <limits.h>.
13095 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13096 + len + 1 would overflow.
13097
bcd6c8dc
AJ
130982012-09-03 Andreas Jaeger <aj@suse.de>
13099
13100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13101 * sysdeps/i386/fpu/libm-test-ulps: Update.
13102
4ffffbd2
LD
131032012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13104
13105 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13106 Add s_sinf-sse2, s_conf-sse2.
13107
13108 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13109 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13110 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13111 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13112
13113 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13114 for using routine as __sinf_ia32.
13115 Use macro for function declaration and weak_alias.
13116 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13117 for using routine as __cosf_ia32.
13118 Use macro for function declaration and weak_alias.
13119
13120 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13121 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13122
13123 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13124 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13126
13127 * math/libm-test.inc (cos_test): Add more test cases.
13128 (sin_test): Likewise.
13129 (sincos_test): Likewise.
13130
511fa286
AK
131312012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13132
13133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13134 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13135 hidden.
13136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13137
5f30cfec
L
131382012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13139
13140 [BZ #14538]
13141 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13142 first element of the GOT.
13143 (elf_machine_load_address): Return the difference between
13144 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13145
0786794f
AM
131462012-09-01 Allan McRae <allan@archlinux.org>
13147
5f30cfec
L
13148 [BZ #13412]
13149 * configure.in (AWK): Require gawk version 3.0 or later.
13150 * configure: Regenerated.
0786794f 13151
26889eac
JM
131522012-09-01 Joseph Myers <joseph@codesourcery.com>
13153
13154 * sysdeps/unix/sysv/linux/kernel-features.h
13155 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13157 [__NR_clock_getres]: Make code unconditional.
13158 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13159 (clock_getcpuclockid): Remove code left unreachable by removal of
13160 conditionals.
13161 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13162 code unconditional.
13163 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13164 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13165 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13166 Make code unconditional.
13167 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13168 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13169 * sysdeps/unix/sysv/linux/clock_settime.c
13170 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13171 conditional code.
13172 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13173 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13174
d22e28b0
L
131752012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13176
13177 [BZ #14476]
13178 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13179 scripts/test-installation.pl.
13180
13181 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13182 and $ld_so_version if it is set.
13183
050af9c4
SP
131842012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13185
13186 [BZ #14516]
13187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13188 failure if reading from procfs failed.
13189 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13190
ad845c0b
JM
131912012-08-27 Joseph Myers <joseph@codesourcery.com>
13192
13193 * sysdeps/unix/sysv/linux/kernel-features.h
13194 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13195 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13196 Remove conditional code.
13197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13198 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13199 Remove conditional code.
13200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13201 * sysdeps/unix/sysv/linux/i386/fxstat.c
13202 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13204 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13205 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13207 * sysdeps/unix/sysv/linux/i386/lxstat.c
13208 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13210 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13211 Remove conditional code.
13212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13213 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13214 Remove conditional code.
13215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13216 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13217 <kernel-features.h>.
13218 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13219 Remove.
13220 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13221 Remove conditional code.
13222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13223 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13224 Remove conditional.
13225
5dbf56af
MF
132262012-08-27 Mike Frysinger <vapier@gentoo.org>
13227
13228 [BZ #5400]
13229 * NEWS: Add fixed bug number.
13230
d6e70f43
JM
132312012-08-27 Joseph Myers <joseph@codesourcery.com>
13232
7efb4737
JM
13233 [BZ #14519]
13234 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13235 underflowing exponent in case of negative sign.
13236 * stdlib/tst-strtod-round-data: Add more tests.
13237 * stdlib/tst-strtod-round.c (tests): Regenerated.
13238
af92131a
JM
13239 [BZ #3479]
13240 * stdlib/strtod_l.c (NDIG): Remove.
13241 (HEXNDIG): Likewise.
13242 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13243 smallest representable value.
13244 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13245 lie within an exact representation of 1/2 ulp of the result.
13246 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13247 unconditionally.
13248 (TENS_P9_IDX): Define unconditionally.
13249 (TENS_P9_SIZE): Likewise.
13250 (TENS_P10_IDX): Likewise.
13251 (TENS_P10_SIZE): Likewise.
13252 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13253 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13254 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13255 entries for 10^2^13 and 10^2^14.
13256 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13257 (TENS_P13_IDX): Define.
13258 (TENS_P13_SIZE): Likewise.
13259 (TENS_P14_IDX): Likewise.
13260 (TENS_P14_SIZE): Likewise.
13261 (_fpioconst_pow10): Change array size to
13262 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13263 unconditional.
13264 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13265 1024]: Add entries for 10^2^13 and 10^2^14.
13266 [LAST_POW10 > _LAST_POW10]: Remove #error.
13267 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13268 (_fpioconst_pow10): Change array size to
13269 FPIOCONST_POW10_ARRAY_SIZE.
13270 * stdlib/gen-fpioconst.c: New file.
13271 * stdlib/gen-tst-strtod-round.c: Likewise.
13272 * stdlib/tst-strtod-round-data: Likewise.
13273 * stdlib/tst-strtod-round.c: Likewise.
13274 * stdlib/Makefile (tests): Add tst-strtod-round.
13275
d6e70f43
JM
13276 [BZ #14459]
13277 * stdlib/strtod_l.c: Include <stdint.h>.
13278 (NDEBUG): Do not define.
13279 (round_and_return): Change EXPONENT parameter to type intmax_t.
13280 Rearrange calculations to avoid internal overflow possibilities.
13281 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13282 Rearrange calculations to avoid internal overflow possibilities.
13283 Assert that number fits inside MPNSIZE limbs.
13284 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13285 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13286 calculations and add assertions to avoid internal overflow
13287 possibilities. Add casts to avoid signed/unsigned operations.
13288 * stdlib/tst-strtod-overflow.c: New file.
13289 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13290
1f529f7d
MP
132912012-08-25 Marek Polacek <polacek@redhat.com>
13292
13293 * time/time.h: Fix some typos in comments.
13294
59a629f1
RM
132952012-08-23 Roland McGrath <roland@hack.frob.com>
13296
13297 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13298 * posix/tst-rfc3484-2.c: Likewise.
13299 * posix/tst-rfc3484-3.c: Likewise.
13300
d3bafbc9
SM
133012012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13302
13303 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13304 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13305
4efcc022
JM
133062012-08-23 Joseph Myers <joseph@codesourcery.com>
13307
13308 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13309 #include of fxstatat64.c.
13310
3cc3ef96
RM
133112012-08-22 Roland McGrath <roland@hack.frob.com>
13312
f04e2132
RM
13313 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13314 * shadow/getspent_r.c: Likewise.
13315 * shadow/getspnam.c: Likewise.
13316 * shadow/getspnam_r.c: Likewise.
13317 * gshadow/getsgent.c: Likewise.
13318 * gshadow/getsgent_r.c: Likewise.
13319 * gshadow/getsgnam.c: Likewise.
13320 * gshadow/getsgnam_r.c: Likewise.
13321 * inet/getnetbyad.c: Likewise.
13322 * inet/getnetbyad_r.c: Likewise.
13323 * inet/getnetbynm.c: Likewise.
13324 * inet/getnetbynm_r.c: Likewise.
13325 * inet/getnetent.c: Likewise.
13326 * inet/getnetent_r.c: Likewise.
13327 * inet/getproto.c: Likewise.
13328 * inet/getproto_r.c: Likewise.
13329 * inet/getprtent.c: Likewise.
13330 * inet/getprtent_r.c: Likewise.
13331 * inet/getprtname.c: Likewise.
13332 * inet/getprtname_r.c: Likewise.
13333 * inet/getrpcbyname.c: Likewise.
13334 * inet/getrpcbyname_r.c: Likewise.
13335 * inet/getrpcbynumber.c: Likewise.
13336 * inet/getrpcbynumber_r.c: Likewise.
13337 * inet/getrpcent.c: Likewise.
13338 * inet/getrpcent_r.c: Likewise.
13339 * inet/getaliasent.c: Likewise.
13340 * inet/getaliasent_r.c: Likewise.
13341 * inet/getaliasname.c: Likewise.
13342 * inet/getaliasname_r.c: Likewise.
13343 * nscd/getgrgid_r.c: Likewise.
13344 * nscd/getgrnam_r.c: Likewise.
13345 * nscd/gethstbyad_r.c: Likewise.
13346 * nscd/gethstbynm3_r.c: Likewise.
13347 * nscd/getpwnam_r.c: Likewise.
13348 * nscd/getpwuid_r.c: Likewise.
13349 * nscd/getsrvbynm_r.c: Likewise.
13350 * nscd/getsrvbypt_r.c: Likewise.
13351 * nscd/gai.c: Likewise.
13352
c53d909c
RM
13353 * configure.in (build_nscd): New substituted variable, set
13354 by --disable-build-nscd and defaults to $use_nscd.
13355 * configure: Regenerated.
13356 * config.make.in (build-nscd): New substituted variable.
13357 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13358 Change conditional to require [$(build-nscd) = yes] as well.
13359 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13360
3cc3ef96
RM
13361 [BZ# 13696]
13362 * configure.in (use_nscd): New substituted variable, set by
13363 --disable-nscd. If enabled, define USE_NSCD.
13364 * configure: Regenerated.
13365 * config.h.in: Add USE_NSCD.
13366 * config.make.in (use-nscd): New substituted variable.
13367 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13368 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13369 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13370 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13371 (CFLAGS-getgrnam_r.c): Likewise.
13372 (CFLAGS-initgroups.c): Likewise.
13373 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13374 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13375 Variables removed.
13376 * inet/getnetgrent_r.c
13377 (nscd_setnetgrent): New function, broken out of ...
13378 (setnetgrent): ... here. Call it.
13379 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13380 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13381 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13382 * nscd/Makefile (routines, aux): Move definitions after include of
13383 Makeconfig. Conditionalize on [$(use-nscd) != no].
13384 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13385 Conditionalize on [USE_NSCD].
13386 (is_nscd, nscd_init_cb): Likewise.
13387 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13388 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13389 * nss/nss_db/db-init.c: Likewise.
13390 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13391 [USE_NSCD].
13392 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13393 (make_request): Use it.
13394 (cache_valid_p): New function.
13395 (__check_pf): Use it.
13396 * NEWS: Add item for --disable-nscd.
13397
07e51550
DL
133982012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13399
13400 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13401 to support sed >= 4.2.1-20-ga9bf076.
13402 * configure: Regenerated.
13403
35a5b08b
RM
134042012-08-22 Roland McGrath <roland@hack.frob.com>
13405
13406 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13407 Conditionalize whole body on [IREL].
13408
8479f23a
JL
134092012-08-22 Jeff Law <law@redhat.com>
13410
13411 [BZ #14505]
13412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13413 if the family is PF_UNSPEC.
13414
48da0b21
MF
134152012-08-22 Mike Frysinger <vapier@gentoo.org>
13416
13417 * Makerules (lib-version): Rename from V.
13418 (install-lib-nosubdir): Change V to lib-version.
13419
15d0da8c
WS
134202012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13421
13422 [BZ #14252]
13423 * powerpc32/power6/wcschr.c: New file.
13424 * powerpc32/power6/wcscpy.c: New file.
13425 * powerpc32/power6/wcsrchr.c: New file.
13426 * powerpc64/power6/wcschr.c: New file.
13427 * powerpc64/power6/wcscpy.c: New file.
13428 * powerpc64/power6/wcsrchr.c: New file.
13429
bcca0895
MK
134302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13431
13432 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13433 (two_way_short_needle): Use it.
5a4aaa33
RM
13434 * string/strstr.c (AVAILABLE1_USES_J): Define.
13435 * string/strcasestr.c: Likewise.
99677e57
MK
13436
13437 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13438 array references.
13439 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13440
400726de
MK
13441 [BZ #11607]
13442 * NEWS: Add an entry.
13443 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13444 define their defaults.
13445 (two_way_short_needle): Detect end-of-string on-the-fly.
13446 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13447 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13448 * string/bug-strcasestr1.c: New test.
13449 * string/Makefile: Run it.
13450
20a71f2c
MK
134512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13452
13453 [BZ #11607]
13454 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13455 the first character.
13456
21ad0558
RM
134572012-08-21 Roland McGrath <roland@hack.frob.com>
13458
13459 * csu/elf-init.c (__libc_csu_irel): Function removed.
13460 * csu/libc-start.c (apply_irel): New function.
13461 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13462
0e1d9911
JM
134632012-08-21 Joseph Myers <joseph@codesourcery.com>
13464
13465 * sysdeps/unix/sysv/linux/kernel-features.h
13466 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13467 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13468 <kernel-features.h>.
13469 [__NR_fadvise64_64]: Make code unconditional.
13470 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13471 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13472 !__NR_fadvise64_64)]: Likewise.
13473 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13474 !__NR_fadvise64_64))]: Likewise.
13475 [__NR_fadvise64]: Make code unconditional.
13476 [!__NR_fadvise64]: Remove conditional code.
13477 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13478 <kernel-features.h>.
13479 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13480 unconditional.
13481 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13482 conditional code.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13484 not include <kernel-features.h>.
13485 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13486 unconditional.
13487 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13488 conditional code.
13489 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13490 include <kernel-features.h>.
13491 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13492 unconditional.
13493 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13494 conditional code.
13495
14a50c9d
WS
134962012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13497
13498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13499 slight instruction rearrangements per scrollpipe analysis.
13500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13501
c0f4faf0
RM
135022012-08-20 Roland McGrath <roland@hack.frob.com>
13503
696da859
RM
13504 * manual/syslog.texi (syslog; vsyslog, closelog):
13505 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13506 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13507
c0f4faf0
RM
13508 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13509 DSOCAPS to match condition on defining it.
13510
348363b2
JM
135112012-08-20 Joseph Myers <joseph@codesourcery.com>
13512
a35cbf28
JM
13513 * sysdeps/unix/sysv/linux/kernel-features.h
13514 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13516 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13517 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13519 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13520 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13522 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13523 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13524
445f7ecd
JM
13525 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13526 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13527
348363b2
JM
13528 * sysdeps/unix/sysv/linux/kernel-features.h
13529 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13530 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13531 unconditional.
13532 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13533 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13534 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13535 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13536 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13537 Make code unconditional.
13538 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13539 (__mmap64) [!__NR_mmap2]: Likewise.
13540 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13541 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13542 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13543 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13544 [__NR_mmap2]: Make code unconditional.
13545 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13546 (__mmap64) [!__NR_mmap2]: Likewise.
13547
bc5bc0e5
AK
135482012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13549
13550 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13551
88d506de
AJ
135522012-08-18 Andreas Jaeger <aj@suse.de>
13553
13554 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13555
493387d2
MF
135562012-08-18 Mike Frysinger <vapier@gentoo.org>
13557
13558 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13559 * include/unistd.h (__have_sock_cloexec): Likewise.
13560 (__have_pipe2): Likewise.
13561 (__have_dup3): Likewise.
13562
a277af22
MF
135632012-08-18 Mike Frysinger <vapier@gentoo.org>
13564
13565 [BZ #9685]
13566 * include/unistd.h (__have_pipe2): Change define into an extern int.
13567 (__have_dup3): Likewise.
13568 * socket/have_sock_cloexec.c: Include fcntl.h.
13569 (__have_pipe2): New variable.
13570 (__have_dup3): Likewise.
13571
fdab8fd3
MF
135722012-08-17 Mike Frysinger <vapier@gentoo.org>
13573
13574 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13575
31035e80
MP
135762012-08-17 Marek Polacek <polacek@redhat.com>
13577
13578 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13579 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13580
3bd9e993
RM
135812012-08-17 Roland McGrath <roland@hack.frob.com>
13582
c91c505f
RM
13583 * configure.in: Add AC_SUBST for sysheaders.
13584 * configure: Regenerated.
13585 * config.make.in (sysheaders): New substituted variable.
13586
7c6f9d53
RM
13587 * sysdeps/unix/mkfifo.c: Moved ...
13588 * sysdeps/posix/mkfifo.c: ... here.
13589 * sysdeps/unix/mkfifoat.c: Moved ...
13590 * sysdeps/posix/mkfifoat.c: ... here.
13591
13592 * sysdeps/unix/utime.c: Moved ...
13593 * sysdeps/posix/utime.c: ... here.
13594
13595 * sysdeps/unix/time.c: Moved ...
13596 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13597 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13598 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13599
13600 * sysdeps/unix/nice.c: Moved ...
13601 * sysdeps/posix/nice.c: ... here.
13602
13603 * sysdeps/unix/alarm.c: Moved ...
13604 * sysdeps/posix/alarm.c: ... here.
13605
3bd9e993
RM
13606 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13607
d1f09384
JL
136082012-08-17 Jeff Law <law@redhat.com>
13609
13610 * intl/Makefile (codeset_mo): New variable.
13611 ($(codeset_mo)): New target.
13612 (tst-codeset.out): Depend on that. Remove explicit rule.
13613 (tst-gettext3.out, tst-gettext5.out): Likewise.
13614 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13615 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13616 * intl/tst-codeset.sh: Remove.
13617 * intl/tst-gettext3.sh: Likewise.
13618 * intl/tst-gettext5.sh: Likewise.
13619
2ae1ae5c
RM
136202012-08-17 Roland McGrath <roland@hack.frob.com>
13621
c31fdb83
RM
13622 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13623 * sysdeps/unix/syscalls.list: ... here.
13624
a0844057
RM
13625 * sysdeps/posix/getaddrinfo.c
13626 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13627 (gaiconf_init, gaiconf_reload): Use them.
13628 [!_STATBUF_ST_NSEC]
13629 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13630 Define using time_t rather than struct timespec.
13631
750c1f2a
RM
13632 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13633 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13634 Macros removed.
13635 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13636 [!NO_THREADS].
13637 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13638 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13639 Likewise.
13640
2ae1ae5c
RM
13641 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13642 __libc_cleanup_push argument.
13643
e66a42f5
RM
13644 * bits/param.h: New file.
13645 * misc/sys/param.h: New file.
13646 * include/sys/param.h: New file.
13647 * misc/Makefile (headers): Add bits/param.h.
13648 * sysdeps/generic/sys/param.h: File removed.
13649 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13650 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13651 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13652 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13653
b7c08a66
RM
13654 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13655 last change.
13656
b2e1c562
RM
13657 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13658 [_IO_MTSAFE_IO].
13659 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13660 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13661 New macros.
13662
c75ccd4c
RM
13663 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13664 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13665 rather than -D_IO_MTSAFE_IO conditionally.
13666 * stdio-common/Makefile (CPPFLAGS): Likewise.
13667 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13668 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13669 Use $(libio-mtsafe).
13670 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13671 of -D_IO_MTSAFE_IO.
13672 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13673 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13674 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13675 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13676 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13677 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13678 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13679 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13680 (CFLAGS-fread_u_chk.c): Likewise.
13681 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13682 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13683 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13684 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13685 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13686 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13687 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13688 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13689 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13690
13691 * libio/Makefile: Test [$(libc-reentrant) = yes]
13692 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13693
13694 * Makeconfig
13695 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13696 * sysdeps/pthread/configure: File removed.
13697 * sysdeps/pthread/Makeconfig: New file.
13698 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13699 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13700
d9195db8
GB
137012012-08-16 Gary Benson <gbenson@redhat.com>
13702
13703 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13704 unmapping the first object in a namespace.
13705
86466cd9
RM
137062012-08-16 Roland McGrath <roland@hack.frob.com>
13707
13708 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13709 (__internal_setnetgrent): ... this. Add internal_function to
13710 definition. Add libc_hidden_def.
13711 (setnetgrent): Update caller.
13712 (internal_endnetgrent): Renamed to ...
13713 (__internal_endnetgrent): ... this. Add internal_function to
13714 definition. Add libc_hidden_def.
13715 (endnetgrent): Update caller.
13716 (internal_getnetgrent_r): Renamed to ...
13717 (__internal_getnetgrent_r): ... this. Add internal_function to
13718 definition. Add libc_hidden_def.
13719 (__getnetgrent_r): Update caller.
13720 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13721
c3c8283c
JM
137222012-08-16 Joseph Myers <joseph@codesourcery.com>
13723
13724 * stdlib/longlong.h: Update from GCC.
13725
db1ee0a8
RM
137262012-08-16 Roland McGrath <roland@hack.frob.com>
13727
13728 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13729 on _QL, which is set by umul_ppmm but never used.
13730 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13731 variables, which are set by GMP macros but never used.
13732 * stdio-common/_itowa.c (_itowa): Likewise.
13733 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13734 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13735
30f69637
CD
137362012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13737
13738 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13739 struct La_sh_regs is not constant.
13740 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13741 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13742 and struct La_sparc64_regs are not constant.
13743
93a78ac4
JM
137442012-08-16 Joseph Myers <joseph@codesourcery.com>
13745
13746 * sysdeps/unix/sysv/linux/kernel-features.h
13747 (__ASSUME_POSIX_TIMERS): Remove.
13748 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13750 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13751 Make code unconditional.
13752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13753 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13754 Make code unconditional.
13755 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13756 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13757 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13759 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13760 Make code unconditional.
13761 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13762 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13763 (__libc_missing_posix_timers): Remove.
13764
dd924cd7
RM
137652012-08-15 Roland McGrath <roland@hack.frob.com>
13766
4b4f2771
RM
13767 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13768 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13769
601c888b
RM
13770 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13771
176790a7
RM
13772 * elf/dl-sym.c: Include <stdlib.h>.
13773
329bc018
RM
13774 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13775 constants, which avoids warnings in 32-bit builds.
13776
e04e272d
RM
13777 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13778 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13779
952bf94a
RM
13780 * misc/lseek.c: File moved to ...
13781 * io/lseek.c: ... here.
13782
7c99b50a
RM
13783 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13784
dd924cd7
RM
13785 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13786 shifting LEN more than 31 bits at once.
13787
b3f479a8
LD
137882012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13789
13790 [BZ #14195]
8c4ae0d4
RM
13791 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13792 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13793 * string/test-strncasecmp.c (check1): Renamed to...
13794 (bz12205): ...this.
13795 (bz14195): Add new testcase for two empty input strings and N > 0.
13796 (test_main): Call new testcase, adapt for renamed function.
13797
9c55864e
AJ
137982012-08-15 Andreas Jaeger <aj@suse.de>
13799
13800 [BZ #14090]
13801 * crypt/md5test2.c: New test, based on test supplied by Serge
13802 Belyshev <belyshev@depni.sinp.msu.ru>.
13803 * crypt/Makefile (xtests): Add md5test-giant..
13804 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13805
02dcb6c5
PE
138062012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13807
13808 [BZ #14090]
13809 * crypt/md5.c (md5_process_block): Don't assume the buffer
13810 length is less than 2**32.
13811 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13812 length is less than 2**64.
13813
a3f95dcc
RM
138142012-08-15 Roland McGrath <roland@hack.frob.com>
13815
be75d758
RM
13816 * string/str-two-way.h: Include <sys/param.h>.
13817 (MAX): Macro removed.
13818
7312ca90
RM
13819 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13820 Move #define and #undef of memmove to just before and after
13821 including <string.h>.
13822
9a0a5486
RM
13823 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13824 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13825 and after including <string.h>. Move declarations of
13826 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13827 to before #include "string/memmove.c".
13828
67cc348d
RM
13829 * include/dirent.h: Declare __getdirentries.
13830
a3f95dcc
RM
13831 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13832 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13833
ca98e171
MF
138342012-08-14 Mike Frysinger <vapier@gentoo.org>
13835
13836 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13837 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13838 * sysdeps/i386/configure: Regenerated.
13839 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13840 STABS_CURRENT_FILE, and STABS_FUN.
13841 (END): Remove call to STABS_FUN_END.
13842 (STABS_CURRENT_FILE1): Delete.
13843 (STABS_CURRENT_FILE): Likewise.
13844 (STABS_FUN): Likewise.
13845 (STABS_FUN_END): Likewise.
13846 (STABS_FUN2): Likewise.
13847 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13848 * sysdeps/x86_64/configure: Regenerated.
13849
5908bf46
RM
138502012-08-14 Roland McGrath <roland@hack.frob.com>
13851
13852 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13853 * elf/dl-lookup.c: Likewise.
5908bf46 13854
f2c05b9e
JM
138552012-08-14 Joseph Myers <joseph@codesourcery.com>
13856
13857 * sysdeps/unix/sysv/linux/kernel-features.h
13858 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13859 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13860 unconditionally.
13861 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13862 unconditionally.
13863 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13864 condition on __ASSUME_CLONE_THREAD_FLAGS.
13865
e11f5155
AJ
138662012-08-14 Andreas Jaeger <aj@suse.de>
13867
13868 * sysdeps/i386/fpu/libm-test-ulps: Update.
13869
51a9ba86
MK
138702012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13871
2fdd4f78
AJ
13872 * include/atomic.h (atomic_exchange_and_add): Split into ...
13873 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13874 New atomic macros.
51a9ba86 13875
ba6cba9e
MT
138762012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13877
13878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13879
42443a47
JL
138802012-08-13 Jeff Law <law@redhat.com>
13881
13882 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13883 null byte in the output string.
13884
121dce05
JM
138852012-08-10 Joseph Myers <joseph@codesourcery.com>
13886
13887 * sysdeps/unix/sysv/linux/kernel-features.h
13888 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13889 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13890 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13891 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13892 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13893 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13894 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13895
bf51f568
JL
138962012-08-09 Jeff Law <law@redhat.com>
13897
13898 [BZ #13939]
13899 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13900 When avoid_arena is set, don't retry in the that arena. Pick the
13901 next one, whatever it might be.
13902 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13903 (arena_lock): Pass in new parameter to arena_get2.
13904 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13905 arena_get2.
13906 (__libc_malloc): Unify retrying after main arena failure with
13907 __libc_memalign version.
13908 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13909
f85fa270
L
139102012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13911
13912 [BZ #14166]
13913 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13914 to __redirect_strstr.
13915 (__strstr_sse42): Use typeof __redirect_strstr.
13916 (__strstr_ia32): Likewise.
13917 (__libc_strstr): New prototype.
13918 (strstr): Renamed to ...
13919 (__libc_strstr): This.
13920 (strstr): New strong alias of __libc_strstr.
13921 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13923 __redirect_time.
13924 Include <time.h>.
13925 (__libc_time): New prototype.
13926 (time_ifunc): Replace time with __libc_time.
13927 (time): New strong alias and hidden definition of __libc_time.
13928 (__GI_time): Remove strong alias.
13929 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13930 Include <stddef.h>.
13931 (memmove): Redefined to __redirect_memmove.
13932 (__memmove_sse2): Use typeof __redirect_memmove.
13933 (__memmove_ssse3): Likewise.
13934 (__memmove_ssse3_back): Likewise.
13935 (__libc_memmove): New prototype.
13936 (memmove): Renamed to ...
13937 (__libc_memmove): This.
13938 (memmove): New strong alias of __libc_memmove.
13939
33b4a91e
MS
139402012-08-08 Mark Salter <msalter@redhat.com>
13941
13942 * elf/elf.h
13943 (R_MN10300_TLS_GD): Define.
13944 (R_MN10300_TLS_LD): Likewise.
13945 (R_MN10300_TLS_LDO): Likewise.
13946 (R_MN10300_TLS_GOTIE): Likewise.
13947 (R_MN10300_TLS_IE): Likewise.
13948 (R_MN10300_TLS_LE): Likewise.
13949 (R_MN10300_TLS_DTPMOD): Likewise.
13950 (R_MN10300_TLS_DTPOFF): Likewise.
13951 (R_MN10300_TLS_TPOFF): Likewise.
13952 (R_MN10300_SYM_DIFF): Likewise.
13953 (R_MN10300_ALIGN): Likewise.
13954 (R_MN10300_NUM): Update.
13955
b36137f1
JM
139562012-08-08 Joseph Myers <joseph@codesourcery.com>
13957
13958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13959 Remove.
13960
cdd915fd
RM
139612012-08-08 Roland McGrath <roland@hack.frob.com>
13962
a2433aac
RM
13963 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13964
cdd915fd
RM
13965 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13966 sysdeps/unix -> sysdeps/posix move.
13967 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13968
bf9b740a
AM
139692012-08-07 Allan McRae <allan@archlinux.org>
13970
13971 [BZ #14303]
13972 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13973 (SUNOS_CPP): Likewise.
13974 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13975 not found.
13976 (open_input): Call CPP using execvp.
13977
93df14ee
JM
139782012-08-07 Joseph Myers <joseph@codesourcery.com>
13979
13980 * sysdeps/unix/sysv/linux/kernel-features.h
13981 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13982 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13983 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13984 (__ASSUME_WAITID_SYSCALL): Likewise.
13985 * sysdeps/unix/sysv/linux/dl-execstack.c
13986 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13987 code unconditional.
13988 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13989 conditional code.
13990 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13991 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13992 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13993 code.
13994 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13995 unconditional.
13996 [__ASSUME_WAITID_SYSCALL]: Likewise.
13997 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13998
d34689de
RM
139992012-08-07 Roland McGrath <roland@hack.frob.com>
14000
a281decc
RM
14001 * sysdeps/unix/closedir.c: Renamed to ...
14002 * sysdeps/posix/closedir.c: ... here.
14003 * sysdeps/unix/dirfd.c: Renamed to ...
14004 * sysdeps/posix/dirfd.c: ... here.
14005 * sysdeps/unix/dirstream.h: Renamed to ...
14006 * sysdeps/posix/dirstream.h: ... here.
14007 * sysdeps/unix/fdopendir.c: Renamed to ...
14008 * sysdeps/posix/fdopendir.c: ... here.
14009 * sysdeps/unix/opendir.c: Renamed to ...
14010 * sysdeps/posix/opendir.c: ... here.
14011 * sysdeps/unix/readdir.c: Renamed to ...
14012 * sysdeps/posix/readdir.c: ... here.
14013 * sysdeps/unix/readdir_r.c: Renamed to ...
14014 * sysdeps/posix/readdir_r.c: ... here.
14015 * sysdeps/unix/rewinddir.c: Renamed to ...
14016 * sysdeps/posix/rewinddir.c: ... here.
14017 * sysdeps/unix/seekdir.c: Renamed to ...
14018 * sysdeps/posix/seekdir.c: ... here.
14019 * sysdeps/unix/telldir.c: Renamed to ...
14020 * sysdeps/posix/telldir.c: ... here.
14021 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14022 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14023 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14024 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14025
22895b47
RM
14026 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14027 * bits/fcntl.h: ... here.
14028
707a53b6
RM
14029 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14030 not 0.
14031 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14032 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14033 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14034 (struct flock): Move l_start, l_len to the beginning.
14035 Use __pid_t for l_pid.
14036 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14037 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14038 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14039 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14040 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14041 [__USE_LARGEFILE64] (struct flock64): New type.
14042 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14043
f0bd3e25
RM
14044 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14045 * bits/dirent.h: ... here.
14046
d34689de
RM
14047 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14048 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14049
6dad2c06
JM
140502012-08-07 Joseph Myers <joseph@codesourcery.com>
14051
14052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14053 Change from 2.6.0 to 2.6.16.
14054 * sysdeps/unix/sysv/linux/configure: Regenerated.
14055 * sysdeps/unix/sysv/linux/kernel-features.h
14056 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14057 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14058 version.
14059 (__ASSUME_UTIMES): Likewise.
14060 (__ASSUME_CLONE_STOPPED): Remove.
14061 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14062 architectures, not kernel version.
14063 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14064 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14065 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14066 (__ASSUME_WAITID_SYSCALL): Likewise.
14067 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14068 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14069 * README: State 2.6.16 as minimum Linux kernel version. Do not
14070 refer to older versions.
14071
03af9520
RM
140722012-08-06 Roland McGrath <roland@hack.frob.com>
14073
8e49df1d
RM
14074 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14075 Define alphasort64 as an alias.
14076 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14077 Define versionsort64 as an alias.
14078 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14079 Define scandir64 as an alias.
14080 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14081 Define scandirat64 as an alias.
14082 * dirent/alphasort64.c (alphasort64):
14083 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14084 * dirent/versionsort64.c: Likewise.
14085 * dirent/scandir64.c: Likewise.
14086 * dirent/scandirat64.c: Likewise.
14087 * sysdeps/wordsize-64/alphasort.c: File removed.
14088 * sysdeps/wordsize-64/alphasort64.c: File removed.
14089 * sysdeps/wordsize-64/scandir.c: File removed.
14090 * sysdeps/wordsize-64/scandir64.c: File removed.
14091 * sysdeps/wordsize-64/scandirat.c: File removed.
14092 * sysdeps/wordsize-64/scandirat64.c: File removed.
14093 * sysdeps/wordsize-64/versionsort.c: File removed.
14094 * sysdeps/wordsize-64/versionsort64.c: File removed.
14095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14101 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14103
14104 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14106 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14108 [defined __arch64__ || defined __sparcv9]
14109 (__INO_T_MATCHES_INO64_T): New macro.
14110 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14111 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14112 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14113 * sysdeps/unix/sysv/linux/bits/dirent.h
14114 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14115 (_DIRENT_MATCHES_DIRENT64): New macro.
14116
03af9520
RM
14117 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14118 Define lockf64 as an alias.
14119 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14120 Define fseeko64 as an alias.
14121 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14122 Define ftello64 as an alias.
14123 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14124 Define _IO_fgetpos64 and fgetpos64 as aliases.
14125 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14126 Define _IO_fsetpos64 and fsetpos64 as aliases.
14127 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14128 Conditionalize body on this.
14129 * libio/fseeko64.c: Likewise.
14130 * libio/ftello64.c: Likewise.
14131 * libio/iofgetpos64.c: Likewise.
14132 * libio/iofsetpos64.c: Likewise.
14133 * sysdeps/wordsize-64/lockf.c: File removed.
14134 * sysdeps/wordsize-64/lockf64.c: File removed.
14135 * sysdeps/wordsize-64/fseeko.c: File removed.
14136 * sysdeps/wordsize-64/fseeko64.c: File removed.
14137 * sysdeps/wordsize-64/ftello.c: File removed.
14138 * sysdeps/wordsize-64/ftello64.c: File removed.
14139 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14140 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14141 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14142 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14145 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14147 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14149 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14153
14154 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14156 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14158 [defined __arch64__ || defined __sparcv9]
14159 (__OFF_T_MATCHES_OFF64_T): New macro.
14160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14161 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14163 (__OFF_T_MATCHES_OFF64_T): New macro.
14164
c5757acd
L
141652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14166
14167 * stdlib/secure-getenv.c (__secure_getenv): Replace
14168 GLIBC_2_16 with GLIBC_2_17.
14169
3a31811e
L
141702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14174
faa2bccb
DM
141752012-08-03 David S. Miller <davem@davemloft.net>
14176
14177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14178
85fe1997
JM
141792012-08-03 Joseph Myers <joseph@codesourcery.com>
14180
14181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14182 Remove.
14183 (__ASSUME_CORRECT_SI_PID): Likewise.
14184 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14185 (__ASSUME_TMPFS_NAME): Likewise.
14186 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14187 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14188 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14189 (HAVE_AUX_SECURE): Make definition unconditional.
14190 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14191 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14192
4f75b7a0
RM
141932012-08-03 Roland McGrath <roland@hack.frob.com>
14194
14195 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14196 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14197 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14198 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14199 __eloop_threshold instead of SYMLOOP_MAX.
14200
14201 * sysdeps/generic/eloop-threshold.h: New file.
14202 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14203 of MAXSYMLINKS.
14204 * elf/chroot_canon.c (chroot_canon): Likewise.
14205
7aab07e4
JM
142062012-08-03 Joseph Myers <joseph@codesourcery.com>
14207
14208 [BZ #13717]
14209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14210 Change to 2.6.0 everywhere.
14211 * sysdeps/unix/sysv/linux/configure: Regenerated.
14212 * sysdeps/unix/sysv/linux/kernel-features.h
14213 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14214 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14215 kernel versions.
14216 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14217 (__ASSUME_FUTEX_REQUEUE): Remove.
14218 (__ASSUME_STATFS64): Define unconditionally.
14219 (__ASSUME_AT_SECURE): Likewise.
14220 (__ASSUME_CORRECT_SI_PID): Likewise.
14221 (__ASSUME_TGKILL): Define without depending on kernel version for
14222 i386.
14223 (__ASSUME_UTIMES): Likewise.
14224 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14225 kernel version.
14226 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14227 (__ASSUME_TMPFS_NAME): Likewise.
14228 * README: Update reference to Linux kernel versions.
14229
b67e9372
MP
142302012-08-02 Marek Polacek <polacek@redhat.com>
14231
1f529f7d 14232 [BZ# 14150]
b67e9372
MP
14233 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14234 libc_cv_asm_type_prefix with %.
14235 * configure: Regenerated.
d2441631
RM
14236 * include/libc-symbols.h: Remove comment about
14237 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14238 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14239 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14240 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14241 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14242 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14243 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14244 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14245 * elf/tst-unique2mod1.c: Likewise.
14246 * elf/tst-unique1mod2.c: Likewise.
14247 * elf/tst-unique1mod1.c: Likewise.
14248 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14249 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14250 Replace ASM_TYPE_DIRECTIVE with .type.
14251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14252 * sysdeps/i386/sysdep.h: Likewise.
14253 * sysdeps/x86_64/sysdep.h: Likewise.
14254 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14256 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14257 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14258 * sysdeps/powerpc/powerpc32/sysdep.h:
14259 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14260 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14262 * sysdeps/i386/fpu/e_powf.S: Likewise.
14263 * sysdeps/i386/fpu/e_expl.S: Likewise.
14264 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14265 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14266 * sysdeps/i386/fpu/e_pow.S: Likewise.
14267 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14268 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14269 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14270 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14271 * sysdeps/i386/fpu/e_log2.S: Likewise.
14272 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14273 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14274 * sysdeps/i386/fpu/e_powl.S: Likewise.
14275 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14276 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14277 * sysdeps/i386/fpu/e_logl.S: Likewise.
14278 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14279 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14280 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14281 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14282 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14283 * sysdeps/i386/fpu/e_log.S: Likewise.
14284 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14285 * sysdeps/i386/fpu/e_logf.S: Likewise.
14286 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14287 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14288 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14289 * sysdeps/i386/fpu/e_log10.S: Likewise.
14290 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14291 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14292 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14293 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14294 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14295 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14296 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14297 * sysdeps/i386/i686/strtok.S: Likewise.
14298 * sysdeps/i386/i386-mcount.S: Likewise.
14299 * sysdeps/i386/strtok.S: Likewise.
14300 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14301 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14304 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14305 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14306 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14307 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14308 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14309 * sysdeps/x86_64/_mcount.S: Likewise.
14310 * sysdeps/x86_64/strtok.S: Likewise.
14311 * sysdeps/sh/_mcount.S: Likewise.
14312
2747bf9a
RM
143132012-08-01 Roland McGrath <roland@hack.frob.com>
14314
14315 * libio/iofopen.c: Include <fcntl.h>.
14316 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14317 (_IO_fopen64, fopen64): Define as aliases.
14318 * libio/iofopen64.c: Include <fcntl.h>.
14319 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14320 Conditionalize body on this.
14321 * sysdeps/wordsize-64/iofopen.c: File removed.
14322 * sysdeps/wordsize-64/iofopen64.c: File removed.
14323
3fb791b8
MP
143242012-08-01 Marek Polacek <polacek@redhat.com>
14325
14326 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14327 Use dlfcn directly instead of a variable.
14328 (binfmt-subdir): Do not define.
14329 (dlfcn): Likewise.
14330
a9f1039f
JM
143312012-08-01 Joseph Myers <joseph@codesourcery.com>
14332
23bddc06
JM
14333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14334 Remove all definitions.
14335 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14336 <kernel-features.h>.
14337 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14338 (miss_F_GETOWN_EX): Remove all definitions.
14339 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14340 macro definition.
14341 [!__ASSUME_FCNTL64]: Remove conditional code.
14342 [__ASSUME_FCNTL64]: Make code unconditional.
14343 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14344 <kernel-features.h>.
14345 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14346 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14347 (lockf64) [__NR_fcntl64]: Make code unconditional.
14348 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14349
a9f1039f
JM
14350 * sysdeps/unix/sysv/linux/kernel-features.h
14351 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14352 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14353 Make code unconditional.
14354 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14355 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14357 [__NR_vfork]: Make code unconditional.
14358 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14359 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14361 [__NR_vfork]: Make code unconditional.
14362 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14363 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14364
09c0ee5f
RM
143652012-08-01 Roland McGrath <roland@hack.frob.com>
14366
48aec5b9
RM
14367 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14368 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14369
cd97c966
RM
14370 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14371 Define mkstemp64 as an alias.
3f55550c
RM
14372 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14373 Define mkstemps64 as an alias.
cd97c966
RM
14374 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14375 Define mkostemp64 as an alias.
b8625cfc
RM
14376 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14377 Define mkostemps64 as an alias.
cd97c966
RM
14378 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14379 Conditionalize body on this.
14380 * misc/mkostemp64.c: Likewise.
b8625cfc 14381 * misc/mkostemps64.c: Likewise.
3f55550c 14382 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14383 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14384 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14385 * sysdeps/wordsize-64/mkostemp.c: File removed.
14386 * sysdeps/wordsize-64/mkstemp.c: File removed.
14387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14391
09c0ee5f
RM
14392 [BZ #14138]
14393 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14394 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14395 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14396 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14397
14398 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14399 compat_symbol macros from <shlib-compat.h> rather than the underlying
14400 default_symbol_version and symbol_version macros, so that DEFAULT
14401 lines in shlib-versions are respected.
14402 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14403
7e66ee51
FW
144042012-08-01 Florian Weimer <fweimer@redhat.com>
14405
14406 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14407 Declare with warn_unused_result.
14408 (setgid, setregid, setegid, setresgid): Likewise.
14409 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14410 Likewise.
14411 * WUR-REPORT: Remove set*id functions.
14412
d2a54255
PT
144132012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14414
14415 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14416
7ecdb005
RM
144172012-07-31 Roland McGrath <roland@hack.frob.com>
14418
b4180a5e 14419 [BZ #10191]
789bd351
RM
14420 * include/sys/socket.h (__libc_accept, __libc_accept4):
14421 Add attribute_hidden.
14422 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14423
40ce302d
RM
14424 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14425 use of PTR_MANGLE.
14426 * inet/getnetgrent_r.c (setup): Likewise.
14427
7ecdb005
RM
14428 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14429
e2eabb2c
DM
144302012-07-31 David S. Miller <davem@davemloft.net>
14431
14432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14433
d0419dbf
JM
144342012-07-31 Joseph Myers <joseph@codesourcery.com>
14435
14436 [BZ #13629]
14437 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14438 value between 1.0 and 2.0 and smaller part has absolute value less
14439 than 1.0.
14440 * math/s_clog10.c (__clog10): Likewise.
14441 * math/s_clog10f.c (__clog10f): Likewise.
14442 * math/s_clog10l.c (__clog10l): Likewise.
14443 * math/s_clogf.c (__clogf): Likewise.
14444 * math/s_clogl.c (__clogl): Likewise.
14445 * math/libm-test.inc (clog_test): Add more tests.
14446 (clog10_test): Likewise.
14447 * sysdeps/i386/fpu/libm-test-ulps: Update.
14448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14449
2bc13872
FW
144502012-07-31 Florian Weimer <fweimer@redhat.com>
14451
14452 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14453 Exit with zero in case no suitable GID is found, and write a
14454 message to standard error.
14455
bea9b193
RM
144562012-07-30 Roland McGrath <roland@hack.frob.com>
14457
14458 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14459 rather than to 1.
14460 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14461 (MAXPATHLEN): Removed.
14462 (NOGROUP, NODEV): New macros.
14463 (setbit, clrbit, isset, isclr): New macros.
14464 (howmany, roundup, powerof2): New macros.
14465 (DEV_BSIZE): New macro.
14466
14467 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14468 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14469
14470 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14471 definition on [!__NO_LONG_DOUBLE_MATH].
14472
14473 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14474 PTR_MANGLE and PTR_DEMANGLE.
14475
14476 * socket/accept4.c (accept4): Rename to __libc_accept4.
14477 Define accept4 as a weak alias.
14478
14479 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14480 on [_DIRENT_HAVE_D_TYPE].
14481 * io/ftw.c (ftw_dir): Likewise.
14482
14483 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14484
14485 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14486
14487 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14488 Use the BSD numbers rather than the arbitrary ones we had.
14489 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14490 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14491 (SIGXCPU, SIGXFSZ): New macros.
14492 (_NSIG): Now 32.
14493
14494 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14495 initializer on [_LIBC_REENTRANT].
14496
14497 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14498 definitions inside [_POSIX_MAPPED_FILES].
14499
14500 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14501
14502 * dirent/opendir.c: Include <fcntl.h>.
14503
14504 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14505 (__libc_getspecific): Likewise.
14506 (__libc_key_create): Likewise.
14507
14508 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14509 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14510 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14511 (tmpfile64): Define as alias.
14512 * sysdeps/wordsize-64/tmpfile.c: File removed.
14513 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14514 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14516
14517 * stdio-common/vfscanf.c: Include <stdbool.h>.
14518 * nss/makedb.c: Likewise.
14519 * stdio-common/_i18n_number.h: Likewise.
14520 * argp/argp-help.c: Likewise.
14521 * posix/wordexp.c: Likewise.
14522 * sysdeps/posix/spawni.c: Likewise.
14523 * nss/nss_files/files-initgroups.c: Likewise.
14524 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14525 * nss/nss_files/files-initgroups.c: Likewise.
14526 * nss/nss_db/db-netgrp.c: Likewise.
14527 * nss/nss_db/db-initgroups.c: Likewise.
14528 * io/fchmodat.c: Include <sys/stat.h>.
14529
14530 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14531 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14532
14533 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14534 [HAVE_MMAP].
14535
14536 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14537 Add multiple inclusion protection.
14538
e5abc686
DM
145392012-07-27 David S. Miller <davem@davemloft.net>
14540
14541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14542
815e6fa3
GB
145432012-07-27 Gary Benson <gbenson@redhat.com>
14544
14545 [BZ #14298]
14546 * elf/rtld.c: Include <stap-probe.h>.
14547 (dl_main): Added static probes "init_start" and "init_complete".
14548 * elf/dl-load.c: Include <stap-probe.h>.
14549 (lose): Take new parameter "nsid".
14550 Added static probe "map_failed".
14551 (_dl_map_object_from_fd): Pass namespace id to lose.
14552 Added static probe "map_start".
14553 (open_verify): Pass namespace id to lose.
14554 * elf/dl-open.c: Include <stap-probe.h>.
14555 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14556 and "reloc_complete".
14557 * elf/dl-close.c: Include <stap-probe.h>.
14558 (_dl_close_worker): Added static probes "unmap_start" and
14559 "unmap_complete".
14560 * elf/rtld-debugger-interface.txt: New file documenting the above.
14561
9f98c16c
RM
145622012-07-26 Roland McGrath <roland@hack.frob.com>
14563
14564 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14565 rather than a string variable.
14566 * sunrpc/rpc_main.c (h_output): Likewise.
14567 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14568
f3c22df3
PT
145692012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14570
14571 * inet/check_native.c: New file.
14572
3129cfc6
JM
145732012-07-26 Joseph Myers <joseph@codesourcery.com>
14574
da865e95
JM
14575 [BZ #13629]
14576 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14577 if larger part has absolute value 1.0.
14578 * math/s_clog10.c (__clog10): Likewise.
14579 * math/s_clog10f.c (__clog10f): Likewise.
14580 * math/s_clog10l.c (__clog10l): Likewise.
14581 * math/s_clogf.c (__clogf): Likewise.
14582 * math/s_clogl.c (__clogl): Likewise.
14583 * math/libm-test.inc (clog_test): Add more tests.
14584 (clog10_test): Likewise.
14585 * sysdeps/i386/fpu/libm-test-ulps: Update.
14586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14587
3129cfc6
JM
14588 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14589 (pltexit): Likewise.
14590 (La_regs): Likewise.
14591 (La_retval): Likewise.
14592 (int_retval): Likewise.
14593 Update #error for removed macros to refer only to definitions in
14594 tst-audit.h.
14595 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14596 macro.
14597 (pltexit): Likewise.
14598 (La_regs): Likewise.
14599 (La_retval): Likewise.
14600 (int_retval): Likewise.
14601 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14602 macro.
14603 (pltexit): Likewise.
14604 (La_regs): Likewise.
14605 (La_retval): Likewise.
14606 (int_retval): Likewise.
14607 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14608 macro.
14609 (pltexit): Likewise.
14610 (La_regs): Likewise.
14611 (La_retval): Likewise.
14612 (int_retval): Likewise.
14613 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14614 macro.
14615 (pltexit): Likewise.
14616 (La_regs): Likewise.
14617 (La_retval): Likewise.
14618 (int_retval): Likewise.
14619 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14620 macro.
14621 (pltexit): Likewise.
14622 (La_regs): Likewise.
14623 (La_retval): Likewise.
14624 (int_retval): Likewise.
14625 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14626 macro.
14627 (pltexit): Likewise.
14628 (La_regs): Likewise.
14629 (La_retval): Likewise.
14630 (int_retval): Likewise.
14631 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14632 macro definitions in tst-audit.h.
14633 * sysdeps/i386/tst-audit.h: New file.
14634 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14635 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14636 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14637 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14638 * sysdeps/sh/tst-audit.h: Likewise.
14639 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14640 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14641 * sysdeps/x86_64/tst-audit.h: Likewise.
14642
bfc07087
AJ
146432012-07-26 Andreas Jaeger <aj@suse.de>
14644
b1b2aaf8
AJ
14645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14646 ptrace.
14647
14648 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14649 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14650 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14651 PTRACE_O_MASK.
14652 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14653 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14654 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14655
bfc07087
AJ
14656 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14657 value.
14658
14659 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14660 _sigsys.
14661 (si_call_addr, si_syscall, si_arch): Define new macro.
14662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14663 _sigsys.
14664 (si_call_addr, si_syscall, si_arch): Define new marcro.
14665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14666 _sigsys.
14667 (si_call_addr, si_syscall, si_arch): Define new macro.
14668 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14669 _sigsys.
14670 (si_call_addr, si_syscall, si_arch): Define new macro.
14671
89b4b02f
JM
146722012-07-25 Joseph Myers <joseph@codesourcery.com>
14673
14674 [BZ #13717]
14675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14676 Change to 2.4.21 where previously 2.4.1.
14677 * sysdeps/unix/sysv/linux/configure: Regenerated.
14678 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14679 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14680 Linux kernel version.
14681 (__ASSUME_STD_AUXV): Remove.
14682 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14683 kernel version.
14684 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14685 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14686 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14687 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14688 (__ASSUME_NETLINK_SUPPORT): Likewise.
14689 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14690 (__no_netlink_support): Remove conditional definition.
14691 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14692 Remove.
14693 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14694 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14696 (if_nameindex_ioctl): Remove.
14697 (if_nameindex_netlink): Do not handle __no_netlink_support.
14698 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14699 code.
14700 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14701 Remove conditional code.
14702 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14703 code.
14704 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14705 unconditional.
14706 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14707 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14708 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14709 Remove.
14710 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14711 [!__ASSUME_STD_AUXV]: Remove conditional code.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14713 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14714 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14716 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14717 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14718 code.
14719 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14721 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14722 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14723 conditional code.
14724 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14726 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14727 code.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14729 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14730 conditional code.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14732 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14733 code unconditional.
14734 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14735 conditional code.
14736 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14737 unconditional.
14738 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14739 conditional code.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14741 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14742 unconditional.
14743 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14744 conditional code.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14746 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14747 code unconditional.
14748 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14749 conditional code.
14750 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14751 unconditional.
14752 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14753 conditional code.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14755 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14756 code unconditional.
14757 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14758 conditional code.
14759 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14760 unconditional.
14761 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14762 conditional code.
14763
842a39cd
AS
147642012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14765
14766 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14767 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14768 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14769 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14770 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14771 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14772 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14773 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14774 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14775 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14776 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14777 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14778 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14779 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14780 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14781 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14782 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14784 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14786 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14787 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14789
84b3fd84
FW
147902012-07-25 Florian Weimer <fweimer@redhat.com>
14791
14792 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14793 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14794 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14795 Introduce __libc_secure_getenv.
0c7936d5
FW
14796 * stdlib/Versions (2.17): Add secure_getenv
14797 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14798 * stdlib/secure-getenv.c: Rename __secure_getenv to
14799 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14800 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14801 * stdlib/tst-secure-getenv.c: New.
14802 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14803 * manual/startup.texi (Environment Access): Document
14804 secure_getenv.
84b3fd84
FW
14805 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14806 __libc_secure_getenv.
14807 * inet/ruserpass.c (ruserpass): Likewise.
14808 * malloc/mtrace.c (mtrace): Likewise.
14809 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14810 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14811 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14812 * sysdeps/posix/tempname.c: Likewise. Evaluate
14813 HAVE_SECURE_GETENV.
14814 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14815 __secure_getenv to __libc_secure_getenv.
84b3fd84 14816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14818 Likewise.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14820 Likewise.
14821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14828
56e49b71
JM
148292012-07-25 Joseph Myers <joseph@codesourcery.com>
14830
14831 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14832 (struct La_i86_retval): Likewise.
14833 (struct La_x86_64_regs): Likewise.
14834 (struct La_x86_64_retval): Likewise.
14835 (struct La_x32_regs): Likewise.
14836 (struct La_x32_retval): Likewise.
14837 (struct La_ppc32_regs): Likewise.
14838 (struct La_ppc32_retval): Likewise.
14839 (struct La_ppc64_regs): Likewise.
14840 (struct La_ppc64_retval): Likewise.
14841 (struct La_sh_regs): Likewise.
14842 (struct La_sh_retval): Likewise.
14843 (struct La_s390_32_regs): Likewise.
14844 (struct La_s390_32_retval): Likewise.
14845 (struct La_s390_64_regs): Likewise.
14846 (struct La_s390_64_retval): Likewise.
14847 (struct La_sparc32_regs): Likewise.
14848 (struct La_sparc32_retval): Likewise.
14849 (struct La_sparc64_regs): Likewise.
14850 (struct La_sparc64_retval): Likewise.
14851 (struct audit_ifaces): Remove architecture-specific pltenter and
14852 pltexit members.
14853 * sysdeps/i386/ldsodefs.h: New file.
14854 * sysdeps/powerpc/ldsodefs.h: Likewise.
14855 * sysdeps/s390/ldsodefs.h: Likewise.
14856 * sysdeps/sh/ldsodefs.h: Likewise.
14857 * sysdeps/sparc/ldsodefs.h: Likewise.
14858 * sysdeps/x86_64/ldsodefs.h: Likewise.
14859
354691b7
MP
148602012-07-25 Marek Polacek <polacek@redhat.com>
14861
14862 [BZ #6808]
14863 * math/libm-test.inc (yn_test): Add another test.
14864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14865 to ERANGE when the result is +-Inf.
14866 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14867 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14868 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14869 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14870
bf9e2071
JM
148712012-07-24 Joseph Myers <joseph@codesourcery.com>
14872
14873 * conform/data/time.h-data (NULL): Use macro-constant. Require
14874 equal to 0.
14875 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14876 clock_t.
14877 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14878
57633811
TS
148792012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14880
14881 * configure.in <sysdeps resolving>: Correct printing
14882 Implies_before.
14883 * configure: Regenerate.
14884
c23c33b0
TS
148852012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14886
14887 * math/w_ilogb.c: Include <limits.h>.
14888 * math/w_ilogbl.c: Likewise.
14889
b5982523
JM
148902012-07-20 Joseph Myers <joseph@codesourcery.com>
14891
14892 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14893 va_copy. Document allowing for unavailable va_copy only as
14894 pre-C99 compatibility.
14895 * manual/string.texi (Copying and Concatenation): Use va_copy
14896 instead of __va_copy in concat example.
14897
ac4ea442
PT
148982012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14899
14900 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14901 (__sendto): Use create_address_port. Initialize APORT and deallocate
14902 it if not null.
14903
f98eafbd
PT
14904 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14905 with O_NOLINK passed to __file_name_lookup.
14906
898c7aab
PT
14907 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14908 with O_NOLINK passed to __file_name_lookup.
14909
0ced335a
PT
14910 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14911 negative N or less than NGIDS.
14912
b3404dbd
PT
14913 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14914 type to string_t. Set ERANGE as errno and return it if NAME is not big
14915 enough. Use memcpy instead of strncpy.
14916
0f48659e
JM
149172012-07-20 Joseph Myers <joseph@codesourcery.com>
14918
14919 * elf/Makefile (check-data): Remove.
14920 (localplt.data): New vpath directive.
14921 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14922 instead of $(check-data).
14923 * scripts/data/localplt-generic.data: Move to ...
14924 * sysdeps/generic/localplt.data: ... here.
14925 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14926 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14927 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14929 ... here.
14930 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14932 ... here.
14933 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14935 ... here.
14936 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14938 ... here.
14939 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14941 ... here.
14942 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14944 ... here.
14945
d37cbdaa
AZ
149462012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14947
14948 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14949 PPC32 and PPC64 files.
14950 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14951 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14952
46f85fc2
AK
149532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14954
14955 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14956 __makecontext_ret to ...
14957 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14958 ... here and call exit if uc_link is NULL. New file.
14959 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14960 __makecontext_ret.S.
14961 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14962 __makecontext_ret to ...
14963 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14964 ... here and call exit if uc_link is NULL. New file.
14965 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14966 __makecontext_ret.S.
14967
08f43f9b
AK
149682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14969
14970 * elf/elf.h (R_390_IRELATIVE): New definition.
14971 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14972 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14973 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14974 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14975 (elf_machine_lazy_rel): Likewise.
14976 * sysdeps/s390/dl-irel.h: New file.
14977 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14978 * sysdeps/s390/s390-64/memset.S: New asm code.
14979 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14980 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14981 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14982 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14983 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14984 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14985 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14986 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14987 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14988 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14989 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14990 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14991 * sysdeps/s390/s390-32/memset.S: New asm code.
14992 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14993
3b05db33
MP
149942012-07-17 Marek Polacek <polacek@redhat.com>
14995
14996 [BZ #14349]
14997 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14998 * sysdeps/s390/s390-64/configure.in: Likewise.
14999 * sysdeps/sparc/configure.in: Likewise.
15000 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15001 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15002 * sysdeps/i386/configure.in: Likewise.
15003 * sysdeps/x86_64/configure.in: Likewise.
15004 * sysdeps/sh/configure.in: Likewise.
15005 * sysdeps/s390/s390-32/configure: Regenerated.
15006 * sysdeps/s390/s390-64/configure: Likewise.
15007 * sysdeps/x86_64/configure: Likewise.
15008 * sysdeps/sh/configure: Likewise.
15009 * sysdeps/powerpc/powerpc64/configure: Likewise.
15010 * sysdeps/powerpc/powerpc32/configure: Likewise.
15011 * sysdeps/sparc/configure: Likwise.
15012 * sysdeps/i386/configure: Likewise.
15013
a66877c6
MP
15014 * elf/dl-open.c: Comment fixes.
15015
cfc82fd8
JM
150162012-07-17 Joseph Myers <joseph@codesourcery.com>
15017
bd29910a
JM
15018 * Makefile [CXX] (check-data): Remove.
15019 [CXX] (c++-types.data): New vpath directive.
15020 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15021 vpath. Do not allow for C++ type data being missing.
15022 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15023 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15024 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15025 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15026 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15027 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15028 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15030 ... here.
15031 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15033 ... here.
15034 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15036 ... here.
15037 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15039 ... here.
15040 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15042 ... here.
15043 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15045 ... here.
15046 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15048 ... here.
15049 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15051
cfc82fd8
JM
15052 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15053 definitions to architecture-specific files.
15054 (TLS_IE): Likewise.
15055 (TLS_LD): Likewise.
15056 (TLS_GD): Likewise.
15057 * sysdeps/i386/tls-macros.h: New file.
15058 * sysdeps/powerpc/tls-macros.h: Likewise.
15059 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15060 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15061 * sysdeps/sh/tls-macros.h: Likewise.
15062 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15063 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15064 * sysdeps/x86_64/tls-macros.h: Likewise.
15065
f7db3170
TS
150662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15067
07cbfc23
TS
15068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15069 zero value for regular exit case.
15070
f7db3170
TS
15071 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15072 (__start_context): Preserve zero value for regular exit case.
15073
dc97c227
TS
150742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15075 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15076
15077 * manual/setjmp.texi (setcontext): Clarify normal process
15078 termination when uc_link is the null pointer.
15079 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15080 exit call.
15081
d0cd7d02
AS
150822012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15083
15084 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15085 preprocessor. Test for each exception mask separately.
15086
dd318934
AJ
150872012-07-16 Andreas Jaeger <aj@suse.de>
15088
15089 * po/ru.po: Update from translation team.
15090
8048311a
JM
150912012-07-15 Joseph Myers <joseph@codesourcery.com>
15092
15093 * conform/data/string.h-data (NULL): Use macro-constant. Require
15094 equal to 0.
15095 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15096 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15097 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15098 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15100
b637d46e
AJ
151012012-07-13 Andreas Jaeger <aj@suse.de>
15102
15103 * po/fr.po: Update from translation team.
15104
541428fe
MP
151052012-07-12 Marek Polacek <polacek@redhat.com>
15106
15107 [BZ #14173]
15108 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15110 loop condition.
15111
ec332e94
JM
151122012-07-12 Joseph Myers <joseph@codesourcery.com>
15113
15114 [BZ #13717]
15115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15116 Change to 2.4.1 where previously 2.4.0.
15117 * sysdeps/unix/sysv/linux/configure: Regenerated.
15118 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15119 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15120 version.
15121 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15122 (__ASSUME_AT_CLKTCK): Remove.
15123 (__ASSUME_AT_PAGESIZE): Likewise.
15124 (__ASSUME_AT_XID): Likewise.
15125 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15126 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15127 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15128 unconditionally.
15129 (HAVE_AUX_PAGESIZE): Likewise.
15130 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15131 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15132 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15133
7b6e99be
JB
151342012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15135
15136 [BZ #14307]
15137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15138 the temporary buffer used to invoke __gethostbyname2_r,
15139 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15140 host_data / struct gaih_addrtuple.
15141 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15142 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15143 header file nss/nsswitch.h.
15144 * nss/nsswitch.h (global scope): Add definition of implementation
15145 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15146 resolv/nss_dns/dns-host.c).
15147
608404eb
AJ
151482012-07-11 Andreas Jaeger <aj@suse.de>
15149
15150 * po/fr.po: Update from translation team.
15151
71220aca
AJ
15152 * po/sv.po: Update from translation team
15153 * po/fr.po: Another update from translation team.
15154
28cfe843
AZ
151552012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15156
15157 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15158 for subnormals or multiply small sinh result by itself.
15159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15161
6b90f981
DM
151622012-07-11 David S. Miller <davem@davemloft.net>
15163
15164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15165
c6825772
AS
151662012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15167
15168 [BZ #14347]
15169 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15170 (INTERNAL_MARK): Shift it here.
15171
7b8e0d49
MP
151722012-07-10 Marek Polacek <polacek@redhat.com>
15173
15174 [BZ #14151]
15175 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15176 libc_cv_asm_global_directive with .globl.
15177 * configure: Regenerated.
15178 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15179 with .globl.
15180 * sysdeps/i386/configure: Regenerated.
15181 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15182 with .globl.
15183 * sysdeps/x86_64/configure: Regenerated.
15184 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15185 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15186 * elf/tst-unique2mod2.c: Likewise.
15187 * elf/tst-unique2mod1.c: Likewise.
15188 * elf/tst-unique1mod2.c: Likewise.
15189 * elf/tst-unique1mod1.c: Likewise.
15190 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15191 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15193 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15194 * sysdeps/mach/sysdep.h: Likewise.
15195 * sysdeps/i386/sysdep.h: Likewise.
15196 * sysdeps/i386/i386-mcount.S: Likewise.
15197 * sysdeps/x86_64/_mcount.S: Likewise.
15198 * sysdeps/x86_64/sysdep.h: Likewise.
15199 * sysdeps/sh/_mcount.S: Likewise.
15200 * sysdeps/sh/sysdep.h: Likewise.
15201 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15202 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15203 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15204 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15205 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15206 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15207 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15208 * locale/localeinfo.h: Likewise.
15209 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15210 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15211
6c55cda3
RM
152122012-07-09 Roland McGrath <roland@hack.frob.com>
15213
15214 [BZ #14336]
15215 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15216 system".
15217 * manual/message.texi (The Uniforum approach): Likewise.
15218 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15219 (glibc iconv Implementation): Likewise.
15220
638a572e
JM
152212012-07-09 Joseph Myers <joseph@codesourcery.com>
15222
15223 [BZ #14337]
15224 * math/s_clog.c (__clog): Avoid scaling a value down where that
15225 could result in underflow.
15226 * math/s_clog10.c (__clog10): Likewise.
15227 * math/s_clog10f.c (__clog10f): Likewise.
15228 * math/s_clog10l.c (__clog10l): Likewise.
15229 * math/s_clogf.c (__clogf): Likewise.
15230 * math/s_clogl.c (__clogl): Likewise.
15231 * math/libm-test.inc (clog_test): Add more tests.
15232 (clog10_test): Likewise.
15233 * sysdeps/i386/fpu/libm-test-ulps: Update.
15234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15235
261f4859
AS
152362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15237
0abaf3e4
AS
15238 [BZ #14283]
15239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15240 by 7 not 8 to examine high bit of fractional part.
15241
261f4859
AS
15242 [BZ #14042]
15243 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15244 for call to __mcount_internal.
15245 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15246 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15247 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15248
f17ac40d
JM
152492012-07-06 Joseph Myers <joseph@codesourcery.com>
15250
9ad63c23
JM
15251 [BZ #14154]
15252 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15253 approximation for values within 0x1p-13f of an odd multiple of
15254 pi/4.
15255 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15256 exception. Add more tests.
15257 * sysdeps/i386/fpu/libm-test-ulps: Update.
15258
f17ac40d
JM
15259 [BZ #6778]
15260 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15261 inputs and return -1 for them. Do not check for +Inf in case not
15262 reachable for +Inf.
15263 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15264 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15266 and return -1 for them. Do not check for +Inf in case not
15267 reachable for +Inf.
15268 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15269 define.
15270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15271 and return -1 for them. Do not check for +Inf in case not
15272 reachable for +Inf.
15273 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15274 spurious underflow.
15275 * sysdeps/i386/fpu/libm-test-ulps: Update.
15276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15277
fb21f89b
MF
152782012-07-06 Mike Frysinger <vapier@gentoo.org>
15279
15280 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15281
cdfe2c5e
JM
152822012-07-05 Joseph Myers <joseph@codesourcery.com>
15283
15284 [BZ #14157]
15285 [BZ #14331]
15286 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15287 could result in spurious underflow. Scale down values above
15288 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15289 * math/s_csqrtf.c (__csqrtf): Likewise.
15290 * math/s_csqrtl.c (__csqrtl): Likewise.
15291 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15292 spurious underflow.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15295
70d35b67
AS
152962012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15297
704bc459
AS
15298 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15299 xopen-msg.sed.
15300 * catgets/xopen-msg.awk: New file.
15301 * catgets/xopen-msg.sed: Removed.
15302
70d35b67
AS
15303 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15304 po2text.sed.
15305 * intl/po2test.awk: New file.
15306 * intl/po2test.sed: Removed.
15307
ca61cf32
JM
153082012-07-04 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #14328]
15311 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15312 or multiply small sinh result by itself.
15313 * math/s_ctanf.c (__ctanf): Likewise.
15314 * math/s_ctanh.c (__ctanh): Likewise.
15315 * math/s_ctanhf.c (__ctanhf): Likewise.
15316 * math/s_ctanhl.c (__ctanhl): Likewise.
15317 * math/s_ctanl.c (__ctanl): Likewise.
15318 * math/libm-test.inc (ctan_test_tonearest): New function.
15319 (ctan_test_towardzero): Likewise.
15320 (ctan_test_downward): Likewise.
15321 (ctan_test_upward): Likewise.
15322 (ctanh_test_tonearest): Likewise.
15323 (ctanh_test_towardzero): Likewise.
15324 (ctanh_test_downward): Likewise.
15325 (ctanh_test_upward): Likewise.
15326 (main): Call these new functions.
15327 * sysdeps/i386/fpu/libm-test-ulps: Update.
15328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15329
ca48a46a
MF
153302012-07-03 Mike Frysinger <vapier@gentoo.org>
15331
15332 * .gitignore: Delete /ports entry.
15333
9d63d37d
AJ
153342012-07-03 Andreas Jaeger <aj@suse.de>
15335
15336 * po/bg.po: Update from translation team.
15337 * po/cs.po: Likewise.
15338 * po/de.po: Likewise.
15339 * po/hr.po: Likewise.
15340 * po/nl.pl: Likewise.
15341 * po/pl.po: Likewise.
15342 * po/vi.po: Likewise.
15343
370ca3d2
JM
153442012-07-03 Joseph Myers <joseph@codesourcery.com>
15345
95f5a9a8
JM
15346 * Makeconfig [!+link] (+link-before-libc): New variable.
15347 [!+link] (+link-after-libc): Likewise.
15348 [!+link] (+link-tests): Likewise.
15349 [!+link] (+link): Define in terms of $(+link-before-libc) and
15350 $(+link-after-libc).
15351 [!+link-static] (+link-static-before-libc): New variable.
15352 [!+link-static] (+link-static-after-libc): Likewise.
15353 [!+link-static] (+link-static-tests): Likewise.
15354 [!+link-static] (+link-static): Define in terms of
15355 $(+link-static-before-libc) and $(+link-static-after-libc).
15356 [build-shared] (link-libc-before-gnulib): New variable.
15357 [build-shared] (link-libc-tests): Likewise.
15358 [build-shared] (link-libc): Define in terms of
15359 $(link-libc-before-gnulib).
15360 [!build-shared] (link-libc-tests): New variable.
15361 (link-libc-static-tests): New variable.
15362 [!gnulib] (gnulib-arch): New variable.
15363 [!gnulib] (gnulib-tests): Likewise.
15364 [!gnulib] (static-gnulib-arch): Likewise.
15365 [!gnulib] (static-gnulib-tests): Likewise.
15366 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15367 Define with "=" instead of ":=".
15368 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15369 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15370 * Rules (binaries-all-notests): New variable.
15371 (binaries-all-tests): Likewise.
15372 (binaries-static-notests): Likewise.
15373 (binaries-static-tests): Likewise.
15374 (binaries-all): Define using $(binaries-all-notests) and
15375 $(binaries-all-tests).
15376 (binaries-static): Define using $(binaries-static-notests) and
15377 $(binaries-static-tests).
15378 (binaries-shared-tests): New variable.
15379 (binaries-shared-notests): Likewise.
15380 (binaries-shared): Remove variable.
15381 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15382 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15383 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15384 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15385 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15386 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15387 * elf/Makefile (sln-modules): New variable.
15388 (extra-objs): Add $(sln-modules:=.o).
15389 (ldconfig-modules): Add static-stubs.
15390 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15391 * elf/static-stubs.c: New file.
15392
7a845b2c
JM
15393 [BZ #14283]
15394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15395 by 7 not 8 to examine high bit of fractional part. Use volatile
15396 variables when splitting into final array of floats if
15397 __FLT_EVAL_METHOD__ != 0.
15398 * math/libm-test.inc (cos_test): Add another test.
15399 (sin_test): Likewise.
15400 * sysdeps/i386/fpu/libm-test-ulps: Update.
15401
e2283f38
JM
15402 [BZ #14273]
15403 * math/libm-test.inc (cosh_test): Add more tests.
15404
370ca3d2
JM
15405 * version.h (RELEASE): Set to "development".
15406 (VERSION): Set to "2.16.90".
15407
ee9247c3
CD
154082012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15409
15410 * NEWS: Update copyright. Remove last-updated date.
15411 Mention math library bug fixes and timezone data changes.
15412 * README: Mention GNU/Hurd, x32, and HPPA support status.
15413
4648c381
TS
154142012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15415
15416 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15417
aac78a43
AJ
154182012-06-27 Andreas Jaeger <aj@suse.de>
15419
15420 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15421
ed3dbfad
AJ
154222012-06-25 Andreas Jaeger <aj@suse.de>
15423
15424 * sysdeps/s390/fpu/libm-test-ulps: Update.
15425
4d0ee855
AS
154262012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15427 Thomas Schwinge <thomas@codesourcery.com>
15428
15429 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15430 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15432 fanotify_mark.
15433
af1bce34
TS
154342012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15435
a9fa33ba
TS
15436 * sysdeps/mach/start.c: Remove file.
15437 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15438 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15439 * sysdeps/sh/init-first.c: Likewise.
15440
58f902b8
TS
15441 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15442 registers for frame unwinding purposes, add CFI directives.
15443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15444 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15445 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15446 Likewise.
15447
1518f58b
TS
15448 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15449 __fortify_fail returning.
15450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15451
db9b5059
TS
15452 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15453 sysdeps/sh/____longjmp_chk.S.
15454 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15455 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15456 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15457 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15458
967705fe
TS
15459 * sysdeps/sh/abort-instr.h: New file.
15460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15461 process in case exit returns.
15462
a9def8c4
TS
15463 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15464 initialize the GOT register before use.
15465
2a649725
TS
15466 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15467 calculation of ARGC > 4.
15468
af1bce34
TS
15469 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15470 meaningful names to some local labels.
15471
d230f50a
KK
154722012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15473 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15474
15475 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15476 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15477 (__arch_compare_and_exchange_val_16_acq): Likewise.
15478 (__arch_compare_and_exchange_val_32_acq): Likewise.
15479 (atomic_exchange_and_add): Fix gUSA sequence.
15480 (atomic_add): Likewise.
15481 (atomic_add_negative): Likewise.
15482 (atomic_add_zero): Likewise.
15483 (atomic_bit_test_set): Likewise.
15484
0479b305
AS
154852012-06-22 Andreas Schwab <schwab@redhat.com>
15486
15487 [BZ #13579]
15488 * include/link.h (struct link_map): Add l_free_initfini.
15489 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15490 l_initfini.
15491 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15492 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15493 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15494 set.
15495
0e3933b9
CD
154962012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15497
15498 * configure.in: Use AC_LANG_SOURCE.
15499 * configure: Regenerate.
15500
4248b1b1
RM
155012012-06-22 Roland McGrath <roland@hack.frob.com>
15502
15503 * configure.in (libc_cv_localstatedir): New substituted variable.
15504 * configure: Regenerated.
15505 * config.make.in (localstatedir): New variable, substituted from
15506 libc_cv_localstatedir.
15507 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15508 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15509 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15510 * sysdeps/gnu/configure: Regenerated.
15511
006dd861
JL
155122012-06-21 Jeff Law <law@redhat.com>
15513
15514 [BZ #14277]
15515 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15516 free. Simplify list management for _LIBC case.
15517
79662d42
JM
155182012-06-21 Joseph Myers <joseph@codesourcery.com>
15519
b7abb4bf
JM
15520 [BZ #14273]
15521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15522 Clear sign bit of 64-bit integer value before comparing against
15523 overflow value.
15524
79662d42
JM
15525 * sysdeps/mach/configure: Regenerated.
15526
1f150908
L
155272012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 [BZ #14278]
15530 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15531
28363bbf
JL
155322012-06-21 Jeff Law <law@redhat.com>
15533
15534 [BZ #13882]
15535 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15536 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15537 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15538 * elf/dl-open.c (dl_open_worker): Likewise.
15539
09615db4
CD
155402012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15541
15542 * scripts/list-sources.sh: Scan PORTS for translations.
15543 * po/libc.pot: Regenerated.
15544
2174c6dd
AJ
155452012-06-21 Andreas Jaeger <aj@suse.de>
15546
15547 [BZ #12194]
15548 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15549 warning.
15550 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15551 * bits/byteswap-16.h (__bswap_16): Likewise.
15552 * bits/byteswap.h (__bswap_constant_16): Likewise.
15553
3ee947b1
L
155542012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15555
15556 [BZ #14117]
a2f34833
L
15557 * sysdeps/i386/fpu_control.h: Removed.
15558 * sysdeps/x86_64/fpu_control.h: Moved to ...
15559 * sysdeps/x86/fpu_control.h: Here.
15560
3ee947b1
L
15561 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15562 (_FPU_SETCW): Likewise.
15563
ed1825f8
L
155642012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15565
25f1282a
L
15566 [BZ #14117]
15567 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15568 * sysdeps/x86/fpu/bits/mathinline.h: This.
15569 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15570
ed1825f8
L
15571 [BZ #14050]
15572 [BZ #14117]
15573 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15574 functions if __x86_64__ is defined.
15575
36d54b74
CLT
155762012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15577
15578 * string/endian.h: Add !__ASSEMBLER__ condition for including
15579 conversion interfaces.
15580
10285c21
JM
155812012-06-15 Joseph Myers <joseph@codesourcery.com>
15582
15583 [BZ #14241]
15584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15585 of ABS(x) in calculating zero to negative powers other than odd
15586 integers.
15587 * math/libm-test.inc (pow_test): Add more tests.
15588
06c5abbd
AJ
155892012-06-15 Andreas Jaeger <aj@suse.de>
15590
15591 * manual/contrib.texi (Contributors): Update entry of Liubov
15592 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15593 Machado Filho.
15594
a3aeac40
CH
155952012-06-15 Cyril Hrubis <metan@ucw.cz>
15596
15597 * string/string.h: Add __wur to GNU version of strerror_r.
15598
49bdf4c1
L
155992012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15600
15601 [BZ #14229]
15602 * string/Makefile (tests): Add tst-strtok_r.
15603 * string/tst-strtok_r.c: New file.
15604 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15605 RAX_LP/RDX_LP on SAVE_PTR.
15606
834f9b8d
RM
156072012-06-14 Roland McGrath <roland@hack.frob.com>
15608
15609 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15610
75fa1921
JM
156112012-06-14 Joseph Myers <joseph@codesourcery.com>
15612
15613 * libm_test.inc (csqrt_test): Allow more spurious underflow
15614 exceptions.
15615 (j0_test): Likewise.
15616 (j1_test): Likewise.
15617 (y0_test): Likewise.
15618 (y1_test): Likewise.
15619
771766df
CD
156202012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15621
15622 * po/Makefile (libc.pot): Use UTF-8 charset.
15623
ceb9e56b
PP
156242012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15625
15626 [BZ #14210]
15627 Suppress sign-conversion warning from FD_SET.
15628 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15629 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15630 not unsigned long int.
15631 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15632
ddb28975
L
156332012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15634
15635 [BZ #14050]
15636 [BZ #14117]
15637 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15638 __extern_always_inline instead of __extern_inline.
15639 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15640 (__signbit): Likewise.
15641 (__signbitl): Support C++ namespace.
15642 (lrintf): New inline function.
15643 (lrint): Likewise.
15644 (llrintf): Likewise.
15645 (llrint): Likewise.
15646 (fmaxf): Likewise.
15647 (fmax): Likewise.
15648 (fminf): Likewise.
15649 (fmin): Likewise.
15650 (rint): Likewise.
15651 (rintf): Likewise.
15652 (ceil): Likewise.
15653 (ceilf): Likewise.
15654 (floor): Likewise.
15655 (floorf): Likewise.
15656 (nearbyint): Likewise.
15657 (nearbyintf): Likewise.
15658
d7b4fb26
TS
156592012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15660
15661 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15662 non-default versions.
15663
eb55f5c2
RM
156642012-06-11 Roland McGrath <roland@hack.frob.com>
15665
15666 [BZ #14218]
15667 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15668
366af02c
TS
156692012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15670
99ff6e5c
TS
15671 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15672 (FE_UPWARD, FE_DOWNWARD): Don't define.
15673 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15674 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15675
366af02c
TS
15676 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15677 reading it.
15678 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15679 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15680
793ea851
KK
156812012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15682
15683 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15684 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15685 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15686 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15687
a728a38f
L
156882012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15689
15690 [BZ #14117]
c08010c7
L
15691 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15692 * sysdeps/i386/fpu/Implies: New file.
15693 * sysdeps/x86_64/fpu/Implies: Likewise.
15694 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15695 * sysdeps/x86/fpu/bits/fenv.h: This.
15696
a728a38f
L
15697 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15698 __SSE_MATH__.
15699
6e230d11
SP
157002012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15701
15702 [BZ #14134]
15703 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15704 character 0xffff that matches the last element of the
15705 conversion table.
15706
1b671feb
AZ
157072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15708
15709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15710 fmodl commit.
15711
6043738b
AZ
157122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15713
15714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15715 values higher than 25.6283.
15716
34ae0b32
AZ
157172012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15718
15719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15720 subnormal exponent extraction and add some __builtin_expect.
15721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15722 Fix for subnormal mantissa calculation.
15723
1214ec8f
MF
157242012-06-04 Mike Frysinger <vapier@gentoo.org>
15725
15726 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15727 cpu2 is -1 and errno is not ENOSYS.
15728
f3d1f93c
L
157292012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15730
15731 [BZ #14117]
0e4a3cd7
L
15732 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15733 * sysdeps/x86/bits/string.h: This.
15734 * sysdeps/x86_64/bits/string.h: Removed.
15735
6704c645
L
15736 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15737 if not compiling for x86-64, but compiling for >= i486.
15738
48495318
L
15739 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15740 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15741
14adcbfc
L
15742 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15743 New macro from Linux kernel 3.4.0.
15744 (FP_XSTATE_MAGIC2): Likewise.
15745 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15746 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15747 (struct _fpx_sw_bytes): New struct.
15748 (struct _xsave_hdr): Likewise.
15749 (struct _ymmh_state): Likewise.
15750 (struct _xstate): Likewise.
15751
68e408ab
L
15752 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15753 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15754 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15755 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15756 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15757 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15758
f3d1f93c
L
15759 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15761 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15762 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15763 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15764 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15765
d9dc34cd
TMQMF
157662012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15767
15768 [BZ #13743]
15769 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15770 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15771 (sysdep_headers): Include sys/platform/ppc.h.
15772 * sysdeps/powerpc/test-gettimebase.c: Test for
15773 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15774 * manual/Makefile (appendices): Include platform.texi.
15775 * manual/contrib.texi (Contributors): Update @node pointers.
15776 * manual/maint.texi (Maintenance): Likewise.
15777 (Platform): New node.
15778 * manual/platform.texi: New file. Document the new features.
15779
4af3879c
SP
157802012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15781 Jakub Jelinek <jakub@redhat.com>
15782
15783 [BZ #14188]
15784 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15785 where __builtin_expect is unavailable.
15786
2fd6ff13
DM
157872012-06-03 David S. Miller <davem@davemloft.net>
15788
15789 * stdlib/longlong.h: Updated from GCC.
15790
173f7220
AS
157912012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15792
15793 [BZ #14042]
15794 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15795 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15796 __mcount_internal.
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15798 (GLIBC_2.16): Likewise.
15799
f34a1c6f
L
158002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15801
15802 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15803
88a4576f
JM
158042012-06-01 Joseph Myers <joseph@codesourcery.com>
15805
ea32bcdd
JM
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15807 (default-abi): New variable.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15809 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15810 variable.
15811 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15812 Likewise.
15813 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15814 Likewise.
15815 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15816 Likewise.
15817
88a4576f
JM
15818 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15819 definition. Document in comment.
15820
402fe938
DM
158212012-06-01 David S. Miller <davem@davemloft.net>
15822
15823 * stdlib/longlong.h: Updated from GCC.
15824
3553723f
L
158252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 [BZ #14117]
3bd872c4
L
15828 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15829 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15830 sys/debugreg.h sys/io.h here.
15831 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15832 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15833 sys/io.h.
15834 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15835 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15836 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15837 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15838 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15839 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15840
3553723f
L
15841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15842 Define only if __x86_64__ is defined.
15843
4842e4fe
JM
158442012-06-01 Joseph Myers <joseph@codesourcery.com>
15845
c5bfe3d5
JM
15846 [BZ #14048]
15847 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15848 Use int64_t for variable i.
15849 * math/libm-test.inc (fmod_test): Add more tests.
15850
4842e4fe
JM
15851 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15852 z computation is not scheduled after fetestexcept.
15853 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15854 Use math_force_eval instead of asm to ensure calculation scheduled
15855 before exception test.
15856 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15857 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15858
efb73488
AJ
158592012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15860
15861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15862 computation is not scheduled after fetestexcept.
15863
29bcce7c
L
158642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15865
15866 [BZ #14117]
15867 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15868 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15869
73a68f94
AZ
158702012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15871
15872 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15873 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15874
67b6df78
L
158752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15876
edf2933a 15877 [BZ #14117]
ebc64a18
L
15878 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15879 <bits/wordsize.h>.
15880 (__WCHAR_MIN): Support __WORDSIZE == 64.
15881 (__WCHAR_MAX): Likewise.
15882
edf2933a
L
15883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15884 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15885
57c6cf40
L
15886 [BZ #14183]
15887 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15888 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15889
67b6df78 15890 [BZ #14117]
8eb6281e
L
15891 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15893
aac639f4
L
15894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15895 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15896
67b6df78
L
15897 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15898 Defined to 1 if __x86_64__ isn't defined.
15899 (_STAT_VER_LINUX_OLD): New.
15900 (st_atime): Remove duplicate.
15901 (st_mtime): Likewise.
15902 (st_ctime): Likewise.
15903
1c2cfe81
DM
159042012-05-31 David S. Miller <davem@davemloft.net>
15905
15906 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15907 entries.
15908
5be8418c
AS
159092012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15910
e7725326
AS
15911 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15912 gen-libm-test.pl.
15913
5be8418c
AS
15914 [BZ #14132]
15915 * elf/dl-reloc.c: Include <_itoa.h>.
15916 (_dl_reloc_bad_type): Remove use of INTUSE.
15917 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15918 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15919 * stdio-common/psiginfo.c (psiginfo): Likewise.
15920 * stdio-common/psignal.c (psignal): Likewise.
15921 * string/strsignal.c (strsignal): Likewise.
15922 * include/signal.h (_sys_siglist): Declare hidden proto.
15923 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15924 INTVARDEF with libc_hidden_data_def.
15925 * stdio-common/itoa-udigits.c: Likewise.
15926 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15927 (_itoa_lower_digits_internal): Remove declaration.
15928 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15929 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15930 (_sys_sigabbrev_internal): Remove aliases.
15931 (_sys_siglist): Define hidden alias.
15932
507352f1
MT
159332012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15934
15935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15936 bits/sysctl.h.
15937
42bbb1c3
L
159382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15939
15940 [BZ #14117]
6bd784b6
L
15941 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15942 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15943
8bca20f0
L
15944 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15945 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15946 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15947 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15948 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15949 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15950
f9e890a9
L
15951 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15953 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15954
471101a1
L
15955 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15956 with __addr.
15957 (insw): Likewise.
15958 (insl): Likewise.
15959 (outsb): Likewise.
15960 (outsw): Likewise.
15961 (outsl): Likewise.
15962
6451c862
L
15963 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15965 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15966
a254b8c9
L
15967 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15968 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15969 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15970 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15971 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15972 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15973
b8dfdd92
L
15974 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15975 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15976
578cd270
L
15977 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15978 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15979
de662f5f
L
15980 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15983
25653439
L
15984 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15985 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15986 to ...
15987 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15988
6bad24a0
L
15989 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15990 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15991 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15992
42bbb1c3
L
15993 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15994 for x86-64.
15995 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15996
2d10d547
JM
159972012-05-31 Joseph Myers <joseph@codesourcery.com>
15998
15999 * math/math.h (M_El): Use two more decimal places.
16000 (M_LOG2El): Likewise.
16001 (M_LOG10El): Likewise.
16002 (M_LN2l): Likewise.
16003 (M_LN10l): Likewise.
16004 (M_PIl): Likewise.
16005 (M_PI_2l): Likewise.
16006 (M_PI_4l): Likewise.
16007 (M_1_PIl): Likewise.
16008 (M_2_PIl): Likewise.
16009 (M_2_SQRTPIl): Likewise.
16010 (M_SQRT2l): Likewise.
16011 (M_SQRT1_2l): Likewise.
16012
f230c29b
DM
160132012-05-31 David S. Miller <davem@davemloft.net>
16014
16015 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16016 values between float registers.
16017 * sysdeps/sparc/sparc64/memset.S: Likewise.
16018 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16019
fed806c3
MF
160202012-05-31 Mike Frysinger <vapier@gentoo.org>
16021
16022 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16023 -D_FORTIFY_SOURCE=1.
16024 (CPPFLAGS-tst-longjmp_chk.c): Define.
16025 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16026 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16027 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16028 CFLAGS-tst-wchar-h.c.
16029
30917259
MP
160302012-05-31 Marek Polacek <polacek@redhat.com>
16031
16032 [BZ #14132]
16033 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16034 __endmntent_internal): Remove declaration.
16035 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16036 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16037 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16038
1c58d5dc
DM
160392012-05-30 David S. Miller <davem@davemloft.net>
16040
16041 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16042 (___Q_simulate_exceptions): Use real FP ops rather than writing
16043 into the %fsr.
16044 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16045 Likewise.
16046
7dc00e0d
L
160472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16048
16049 [BZ #14117]
0bd53985
L
16050 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16051 * sysdeps/x86/bits/xtitypes.h: This.
16052
3a257e66
L
16053 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16054 * sysdeps/x86/bits/wordsize.h: This.
16055
62f62904
L
16056 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16057 * sysdeps/x86/bits/huge_vall.h: This.
16058
404fe9d9
L
16059 * sysdeps/i386/bits/select.h: Removed.
16060 * sysdeps/x86_64/bits/select.h: Renamed to ...
16061 * sysdeps/x86/bits/select.h: This.
16062
d48d0446
L
16063 * sysdeps/i386/bits/setjmp.h: Removed.
16064 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16065 * sysdeps/x86/bits/setjmp.h: This.
16066
7dc00e0d
L
16067 * sysdeps/i386/bits/mathdef.h: Removed.
16068 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16069 * sysdeps/x86/bits/mathdef.h: This.
16070
03277f8f
AS
160712012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16072
16073 [BZ #14132]
16074 * include/sys/socket.h (__connect_internal)
16075 (__libc_sa_len_internal): Remove declaration.
16076 (__connect, __libc_sa_len): Declare hidden_proto.
16077 (SA_LEN): Remove use of INTUSE.
16078 * socket/connect.c: Add libc_hidden_def.
16079 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16080 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16081 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16082 alias.
16083 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16084 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16085 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16086 of adding _internal alias.
16087
13764867
L
160882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16089
16090 [BZ #14117]
6bd97696
L
16091 * sysdeps/i386/bits/link.h: Removed.
16092 * sysdeps/i386/bits/linkmap.h: Likewise.
16093 * sysdeps/x86_64/bits/link.h: Renamed to ...
16094 * sysdeps/x86/bits/link.h: This.
16095 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16096 * sysdeps/x86/bits/linkmap.h: This.
16097
f726f0bb
L
16098 * sysdeps/i386/bits/endian.h: Removed.
16099 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16100 * sysdeps/x86/bits/endian.h: This.
16101
13764867
L
16102 * sysdeps/i386/bits/byteswap.h: Removed.
16103 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16104 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16105 * sysdeps/x86/bits/byteswap.h: This.
16106 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16107 * sysdeps/x86/bits/byteswap-16.h: This.
16108 * sysdeps/i386/Implies: Add x86.
16109 * sysdeps/x86_64/Implies: Likewise.
16110
ae251b0b
DM
161112012-05-30 David S. Miller <davem@davemloft.net>
16112
16113 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16114 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16115 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16116 (FP_TRAPPING_EXCEPTIONS): Define.
16117 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16118 (FP_TRAPPING_EXCEPTIONS): Define.
16119 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16120 subnormals only when inexact has been signalled or underflow
16121 exceptions are enabled.
16122 (_FP_PACK_CANONICAL): Likewise.
16123
d5c90867
L
161242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16125
16126 [BZ #14183]
16127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16128 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16129
63f1549e
RH
161302012-05-30 Richard Henderson <rth@twiddle.net>
16131
8d8f2279
RH
16132 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16133 with #ifndef NOT_IN_libc.
16134
63f1549e
RH
16135 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16136 marked to avoid plt entry.
16137
0ab0291b
L
161382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16139
16140 [BZ #14112]
16141 * Makeconfig (default-abi): New macro.
16142 (abi-includes): Likewise.
16143 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16144 $(abi-$(default-abi)-lib-soname) for soname if defined.
16145 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16146 abi-variants.
16147 * Makefile (installed-stubs): Likewise.
16148 * include/stubs-biarch.h: Removed.
16149 * scripts/lib-names.awk: Only handle one library at a time.
16150 * scripts/soversions.awk: Remove WORDSIZE support.
16151 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16152 entries.
16153 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16154 Removed.
16155 (syscall-list-default-condition): Likewise.
16156 (syscall-list-default-condition): Likewise.
16157 (syscall-list-includes): Likewise.
16158 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16159 syscall-list-* with abi-*. Handle undefined abi-variants.
16160 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16161 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16162 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16163 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16164 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16165 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16166 Removed.
16167 (syscall-list-32-options): Likewise.
16168 (syscall-list-32-condition): Likewise.
16169 (syscall-list-64-options): Likewise.
16170 (syscall-list-64-condition): Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16172 macro.
16173 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16174 Renamed to ...
16175 (abi-*): This.
16176 (abi-64-ld-soname): New macro.
16177 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16178 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16179 Renamed to ...
16180 (abi-*): This.
16181 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16182 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16183
4da0431d
JM
161842012-05-30 Joseph Myers <joseph@codesourcery.com>
16185
3a85279c
JM
16186 * sysdeps/unix/sysv/linux/kernel-features.h
16187 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16188 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16189 include <kernel-features.h>.
16190 [!__NR_ftruncate64]: Remove conditional code.
16191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16192 [__NR_ftruncate64]: Make code unconditional.
16193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16194 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16195 include <kernel-features.h>.
16196 [!__NR_ftruncate64]: Remove conditional code.
16197 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16198 [__NR_ftruncate64]: Make code unconditional.
16199 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16201 include <kernel-features.h>.
16202 [!__NR_ftruncate64]: Remove conditional code.
16203 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16204 [__NR_ftruncate64]: Make code unconditional.
16205 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16207 include <kernel-features.h>.
16208 [!__NR_ftruncate64]: Remove conditional code.
16209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16210 [__NR_ftruncate64]: Make code unconditional.
16211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16212
4da0431d
JM
16213 * configure.in (libc_cv_fpie): Weaken to a compile test using
16214 LIBC_TRY_CC_OPTION.
16215 * configure: Regenerated.
16216
11ef492c
AK
162172012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16218
16219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16223 Refreshed.
16224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16230 Refreshed.
16231
d66ef399
DM
162322012-05-27 David S. Miller <davem@davemloft.net>
16233
16234 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16235 (___Q_zero): New.
16236 (__Q_simulate_exceptions): Return void. Change to simulate
16237 exceptions by writing into the %fsr.
16238 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16239 (__Qp_handle_exceptions): Likewise.
16240 (numbers): Delete.
16241 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16242 __Qp_handle_exceptions.
16243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16244 __Qp_handle_exceptions.
16245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16246 as unused and give dummy FP_RND_NEAREST initializer.
16247 (FP_INHIBIT_RESULTS): Define.
16248 (___Q_simulate_exceptions): Update declaration.
16249 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16250 formatting.
16251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16252 as unused and give dummy FP_RND_NEAREST initializer.
16253 (__Qp_handle_exceptions): Update declaration.
16254 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16255 formatting.
16256
04fb54b5
TS
162572012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16258
16259 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16260 the temporary FPU control word.
16261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16262 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16264 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16265 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16266 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16267 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16269 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16270 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16272
3f99608f
KK
162732012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16274
16275 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16276 fields.
16277
65a4de4e
CLT
162782012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16279
16280 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16281 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16282 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16283 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16284 Likewise.
16285 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16286 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16287 Likewise.
16288
15749d40
UD
162892012-05-27 Ulrich Drepper <drepper@gmail.com>
16290
16291 * po/h.po: Update from translation team.
16292
25dbcb27
AS
162932012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16294
3d3f8e55
AS
16295 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16296
25dbcb27
AS
16297 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16298 handling of denormals.
16299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16300 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16301 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16306 Likewise.
16307
7ad47a80 163082012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16309
16310 [BZ #14152]
16311 * math/libm-test.inc (fma_test): Don't always expect underflow
16312 exception.
16313
9c6ea9fa
SP
163142012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16315
16316 [BZ #12416]
16317 * elf/tst-execstack.c: Include stackinfo.h.
16318 (do_test): Adjust test case to ensure that pthread_getattr_np
16319 behaviour remains the same after marking stack executable.
16320
a8239222
JM
163212012-05-25 Joseph Myers <joseph@codesourcery.com>
16322
16323 * sysdeps/unix/sysv/linux/kernel-features.h
16324 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16325 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16326 kernel-features.h.
16327 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16328 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16329 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16330 kernel-features.h.
16331 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16332 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16333
918b5606
L
163342012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16335
16336 * configure.in: Define the default includes to being none.
16337 * configure: Regenerated.
16338
3a097cc7
RM
163392012-05-25 Roland McGrath <roland@hack.frob.com>
16340
8422c9a5
RM
16341 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16342 * sysdeps/x86_64/setjmp.S: Likewise.
16343 * sysdeps/i386/bsd-setjmp.S: Likewise.
16344 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16345 * sysdeps/i386/setjmp.S: Likewise.
16346 * sysdeps/i386/__longjmp.S: Likewise.
16347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16348 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16349
3a097cc7
RM
16350 * include/stap-probe.h: New file.
16351 * configure.in: Handle --enable-systemtap.
16352 * configure: Regenerated.
16353 * config.h.in (USE_STAP_PROBE): New #undef.
16354 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16355 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16356 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16357
21708942
JM
163582012-05-25 Joseph Myers <joseph@codesourcery.com>
16359
16360 [BZ #13717]
16361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16362 to 2.4.0 where earlier.
16363 * sysdeps/unix/sysv/linux/configure: Regenerated.
16364 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16365 <kernel-features.h>.
16366 [__ASSUME_32BITUIDS]: Make code unconditional.
16367 [!__ASSUME_32BITUIDS]: Remove conditional code.
16368 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16369 <kernel-features.h>.
16370 [__ASSUME_32BITUIDS]: Make code unconditional.
16371 [!__ASSUME_32BITUIDS]: Remove conditional code.
16372 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16373 [__ASSUME_32BITUIDS]: Make code unconditional.
16374 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16375 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
16400 <kernel-features.h>.
16401 [__ASSUME_32BITUIDS]: Make code unconditional.
16402 [!__ASSUME_32BITUIDS]: Remove conditional code.
16403 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16404 <kernel-features.h>.
16405 [__ASSUME_32BITUIDS]: Make code unconditional.
16406 [!__ASSUME_32BITUIDS]: Remove conditional code.
16407 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16408 <kernel-features.h>.
16409 [__ASSUME_32BITUIDS]: Make code unconditional.
16410 [!__ASSUME_32BITUIDS]: Remove conditional code.
16411 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16412 <kernel-features.h>.
16413 [__ASSUME_32BITUIDS]: Make code unconditional.
16414 [!__ASSUME_32BITUIDS]: Remove conditional code.
16415 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16416 <kernel-features.h>.
16417 [__NR_setresgid] (__setresgid): Do not declare.
16418 [__ASSUME_32BITUIDS]: Make code unconditional.
16419 [!__ASSUME_32BITUIDS]: Remove conditional code.
16420 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16421 <kernel-features.h>.
16422 [__NR_setresuid] (__setresuid): Do not declare.
16423 [__ASSUME_32BITUIDS]: Make code unconditional.
16424 [!__ASSUME_32BITUIDS]: Remove conditional code.
16425 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
16450 <kernel-features.h>.
16451 [__ASSUME_32BITUIDS]: Make code unconditional.
16452 [!__ASSUME_32BITUIDS]: Remove conditional code.
16453 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16454 <kernel-features.h>.
16455 [__ASSUME_32BITUIDS]: Make code unconditional.
16456 [!__ASSUME_32BITUIDS]: Remove conditional code.
16457 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16458 <kernel-features.h>.
16459 [__ASSUME_32BITUIDS]: Make code unconditional.
16460 [!__ASSUME_32BITUIDS]: Remove conditional code.
16461 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16462 <kernel-features.h>.
16463 [__ASSUME_32BITUIDS]: Make code unconditional.
16464 [!__ASSUME_32BITUIDS]: Remove conditional code.
16465 * sysdeps/unix/sysv/linux/kernel-features.h
16466 (__ASSUME_SETRESUID_SYSCALL): Remove.
16467 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16468 (__ASSUME_32BITUIDS): Likewise.
16469 (__ASSUME_LDT_WORKS): Likewise.
16470 (__ASSUME_O_DIRECTORY): Likewise.
16471 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16472 architecture but not kernel version.
16473 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16474 (__ASSUME_MMAP2_SYSCALL): Likewise.
16475 (__ASSUME_STAT64_SYSCALL): Likewise.
16476 (__ASSUME_IPC64): Likewise.
16477 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16478 <kernel-features.h>.
16479 [__ASSUME_32BITUIDS]: Make code unconditional.
16480 [!__ASSUME_32BITUIDS]: Remove conditional code.
16481 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16482 <kernel-features.h>.
16483 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16484 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16485 132096]: Remove conditional code.
16486 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16487 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16488 <kernel-features.h>.
16489 [__ASSUME_32BITUIDS]: Make code unconditional.
16490 [!__ASSUME_32BITUIDS]: Remove conditional code.
16491 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16492 <kernel-features.h>.
16493 [__ASSUME_32BITUIDS]: Make code unconditional.
16494 [!__ASSUME_32BITUIDS]: Remove conditional code.
16495 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16496 <kernel-features.h>.
16497 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16498 unconditional.
16499 (__setresgid): Do not declare.
16500 [__ASSUME_32BITUIDS]: Make code unconditional.
16501 [!__ASSUME_32BITUIDS]: Remove conditional code.
16502 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16503 <kernel-features.h>.
16504 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16505 unconditional.
16506 (__setresuid): Do not declare.
16507 [__ASSUME_32BITUIDS]: Make code unconditional.
16508 [!__ASSUME_32BITUIDS]: Remove conditional code.
16509 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16510 <kernel-features.h>.
16511 [__ASSUME_32BITUIDS]: Make code unconditional.
16512 [!__ASSUME_32BITUIDS]: Remove conditional code.
16513 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16514 <kernel-features.h>.
16515 [__ASSUME_32BITUIDS]: Make code unconditional.
16516 [!__ASSUME_32BITUIDS]: Remove conditional code.
16517
a386f1cc
RH
165182012-05-25 Richard Henderson <rth@twiddle.net>
16519
16520 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16521 dl_hwcap to ifunc resolver.
16522 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16523 elf_ifunc_invoke.
16524 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16525 dl_hwcap to ifunc resolver.
16526 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16527
b6550497
JM
165282012-05-24 Joseph Myers <joseph@codesourcery.com>
16529
16530 [BZ #14153]
16531 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16532 for |x| <= 2**-26, not 2**-57.
16533 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16534 exception.
16535
b0bc23a1
JL
165362012-05-24 Jeff Law <law@redhat.com>
16537
16538 * stdio-common/Makefile (tests): Add bug25.
16539 * stdio-common/bug25.c: New test.
16540
347c92e9
L
165412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16542
16543 [BZ #13576]
16544 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16545 multiple of MALLOC_ALIGNMENT in size.
16546 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16547
6bcc8b3f
JM
165482012-05-24 Joseph Myers <joseph@codesourcery.com>
16549
16550 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16551 Require >= 256.
16552 (FILENAME_MAX): Use macro-int-constant.
16553 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16554 (_IOFBF): Use macro-int-constant.
16555 (_IOLBF): Likewise.
16556 (_IONBF): Likewise.
16557 (SEEK_CUR): Likewise.
16558 (SEEK_END): Likewise.
16559 (SEEK_SET): Likewise.
16560 (TMP_MAX): Likewise.
16561 (EOF): Use macro-int-constant. Require < 0.
16562 (NULL): Use macro-constant. Require == 0.
16563 (stdin): Require type to be FILE *.
16564 (stdout): Likewise.
16565 (stderr): Likewise.
16566 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16567 macro-int-constant.
16568 (EXIT_SUCCESS): Likewise.
16569 (NULL): Use macro-constant. Require == 0.
16570 (RAND_MAX): Use macro-int-constant.
16571 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16572 [C99-based standards] (strtof): Require function.
16573 [C99-based standards] (strtold): Likewise.
16574 [C99-based standards] (strtoll): Likewise.
16575 [C99-based standards] (strtoull): Likewise.
16576 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16577 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16578 [ISO || ISO99 || ISO11] (math.h): Likewise.
16579 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16580 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16582
d18ea0c5
AS
165832012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16584
16585 [BZ #14132]
56d25bb8
AS
16586 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16587 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16588 * intl/dgettext.c (DCGETTEXT): Likewise.
16589 * intl/gettext.c (DCGETTEXT): Likewise.
16590 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16591 * posix/regex_internal.h (gettext): Likewise.
16592 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16593 Remove declaration.
16594 * include/argz.h (__argz_count_internal)
16595 (__argz_stringify_internal): Remove declaration.
16596 (__argz_count, __argz_stringify): Declare hidden proto.
16597 * intl/dcgettext.c: Remove use of INTDEF.
16598 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16599 * string/argz-stringify.c: Likewise.
16600 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16601 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16602 Declare hidden proto.
d18ea0c5
AS
16603 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16604 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16605 Declare hidden proto.
16606 * include/stdio.h (__asprintf_internal): Don't declare.
16607 (__asprintf): Don't define as macro. Declare hidden proto.
16608 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16609 (__fsetlocking): Declare hidden proto.
16610 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16611 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16612 hidden proto.
16613 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16614 (_IO_setlinebuf): Remove use of INTUSE.
16615 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16616 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16617 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16618 Remove declaration.
16619 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16620 (_IO_do_flush): Remove use of INTUSE.
16621 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16622 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16623 (_IO_adjust_column, _IO_least_wmarker)
16624 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16625 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16626 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16627 (_IO_default_doallocate, _IO_wdefault_doallocate)
16628 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16629 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16630 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16631 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16632 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16633 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16634 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16635 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16636 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16637 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16638 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16639 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16640 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16641 proto.
16642 (_IO_flush_all_internal, _IO_adjust_column_internal)
16643 (_IO_default_uflow_internal, _IO_default_finish_internal)
16644 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16645 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16646 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16647 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16648 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16649 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16650 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16651 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16652 (_IO_file_close_internal, _IO_file_close_it_internal)
16653 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16654 (_IO_file_init_internal, _IO_file_attach_internal)
16655 (_IO_file_fopen_internal, _IO_file_read_internal)
16656 (_IO_file_sync_internal, _IO_file_seek_internal)
16657 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16658 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16659 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16660 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16661 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16662 (_IO_list_all_internal, _IO_link_in_internal)
16663 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16664 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16665 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16666 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16667 (_IO_do_write_internal, _IO_padn_internal)
16668 (_IO_getline_info_internal, _IO_getline_internal)
16669 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16670 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16671 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16672 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16673 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16674 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16675 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16676 with libc_hidden_ver, remove use of INTUSE.
16677 * libio/genops.c: Likewise.
16678 * libio/freopen.c: Likewise.
16679 * libio/freopen64.c: Likewise.
16680 * libio/iofclose.c: Likewise.
16681 * libio/iofdopen.c: Likewise.
16682 * libio/iofflush.c: Likewise.
16683 * libio/iofflush_u.c: Likewise.
16684 * libio/iofgets.c: Likewise.
16685 * libio/iofgets_u.c: Likewise.
16686 * libio/iofopen.c: Likewise.
16687 * libio/iofopncook.c: Likewise.
16688 * libio/iofread.c: Likewise.
16689 * libio/iofread_u.c: Likewise.
16690 * libio/ioftell.c: Likewise.
16691 * libio/iofwrite.c: Likewise.
16692 * libio/iogetline.c: Likewise.
16693 * libio/iogets.c: Likewise.
16694 * libio/iogetwline.c: Likewise.
16695 * libio/iopadn.c: Likewise.
16696 * libio/iopopen.c: Likewise.
16697 * libio/ioseekoff.c: Likewise.
16698 * libio/ioseekpos.c: Likewise.
16699 * libio/iosetbuffer.c: Likewise.
16700 * libio/iosetvbuf.c: Likewise.
16701 * libio/ioungetc.c: Likewise.
16702 * libio/ioungetwc.c: Likewise.
16703 * libio/iovdprintf.c: Likewise.
16704 * libio/iovsprintf.c: Likewise.
16705 * libio/iovsscanf.c: Likewise.
16706 * libio/memstream.c: Likewise.
16707 * libio/obprintf.c: Likewise.
16708 * libio/oldfileops.c: Likewise.
16709 * libio/oldiofclose.c: Likewise.
16710 * libio/oldiofdopen.c: Likewise.
16711 * libio/oldiofopen.c: Likewise.
16712 * libio/oldiopopen.c: Likewise.
16713 * libio/oldstdfiles.c: Likewise.
16714 * libio/putc.c: Likewise.
16715 * libio/setbuf.c: Likewise.
16716 * libio/setlinebuf.c: Likewise.
16717 * libio/stdfiles.c: Likewise.
16718 * libio/strops.c: Likewise.
16719 * libio/vasprintf.c: Likewise.
16720 * libio/vscanf.c: Likewise.
16721 * libio/vsnprintf.c: Likewise.
16722 * libio/vswprintf.c: Likewise.
16723 * libio/wfiledoalloc.c: Likewise.
16724 * libio/wfileops.c: Likewise.
16725 * libio/wgenops.c: Likewise.
16726 * libio/wmemstream.c: Likewise.
16727 * libio/wstrops.c: Likewise.
16728 * libio/__fpurge.c: Likewise.
16729 * libio/__fsetlocking.c: Likewise.
16730 * assert/assert.c: Likewise.
16731 * debug/fgets_chk.c: Likewise.
16732 * debug/fgets_u_chk.c: Likewise.
16733 * debug/fread_chk.c: Likewise.
16734 * debug/fread_u_chk.c: Likewise.
16735 * debug/gets_chk.c: Likewise.
16736 * debug/obprintf_chk.c: Likewise.
16737 * debug/vasprintf_chk.c: Likewise.
16738 * debug/vdprintf_chk.c: Likewise.
16739 * debug/vsnprintf_chk.c: Likewise.
16740 * debug/vsprintf_chk.c: Likewise.
16741 * malloc/mtrace.c: Likewise.
16742 * misc/error.c: Likewise.
16743 * misc/syslog.c: Likewise.
16744 * stdio-common/asprintf.c: Likewise.
16745 * stdio-common/fxprintf.c: Likewise.
16746 * stdio-common/getw.c: Likewise.
16747 * stdio-common/isoc99_fscanf.c: Likewise.
16748 * stdio-common/isoc99_scanf.c: Likewise.
16749 * stdio-common/isoc99_vfscanf.c: Likewise.
16750 * stdio-common/isoc99_vscanf.c: Likewise.
16751 * stdio-common/isoc99_vsscanf.c: Likewise.
16752 * stdio-common/printf-prs.c: Likewise.
16753 * stdio-common/printf_fp.c: Likewise.
16754 * stdio-common/printf_fphex.c: Likewise.
16755 * stdio-common/printf_size.c: Likewise.
16756 * stdio-common/putw.c: Likewise.
16757 * stdio-common/scanf.c: Likewise.
16758 * stdio-common/sprintf.c: Likewise.
16759 * stdio-common/tmpfile.c: Likewise.
16760 * stdio-common/vfprintf.c: Likewise.
16761 * stdio-common/vfscanf.c: Likewise.
16762 * stdlib/strfmon_l.c: Likewise.
16763 * sunrpc/openchild.c: Likewise.
16764 * sunrpc/xdr_stdio.c: Likewise.
16765 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16766 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16767
d6c33fda
RM
167682012-05-24 Roland McGrath <roland@hack.frob.com>
16769
c1487492
RM
16770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16771
16772 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16773 in the third column, to generate for the shared library an IFUNC
16774 that uses _dl_vdso_vsym.
16775 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16776 * Makeconfig (object-suffixes-noshared): New variable.
16777
16778 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16779 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16780 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16781 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16782
d6c33fda
RM
16783 [BZ #14132]
16784 * include/sys/time.h (__gettimeofday): Remove macro.
16785 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16786 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16787 Remove INTDEF.
16788 (__gettimeofday): Add libc_hidden_def.
16789 (gettimeofday): Add libc_hidden_weak.
16790 * sysdeps/mach/gettimeofday.c: Likewise.
16791 * sysdeps/posix/gettimeofday.c: Likewise.
16792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16793 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16795 (__gettimeofday_internal): Remove strong_alias.
16796 (__gettimeofday): Add libc_hidden_def.
16797 (gettimeofday): Add libc_hidden_weak.
16798 * sysdeps/unix/syscalls.list (gettimeofday):
16799 Remove __gettimeofday_internal alias.
16800
b5a2bbe6
L
168012012-05-24 Daniel Jacobowitz <drow@false.org>
16802 H.J. Lu <hongjiu.lu@intel.com>
16803
16804 [BZ #12495]
16805 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16806 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16807 (largebin_index_32_big): New.
16808 (largebin_index): Use it for 16-byte alignment.
16809 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16810 correction with front_misalign.
16811
cfba4fda
L
168122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16813
7f907421
L
16814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16816 Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16818 Likewise.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16820 Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16822 Likewise.
16823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16824 Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16826 Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16828 Likewise.
16829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16830 Likewise.
16831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16832 Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16834 Likewise.
16835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16836 Likewise.
16837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16838 Likewise.
16839
cfba4fda
L
16840 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16841 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16842
80bad0cc
JM
168432012-05-24 Joseph Myers <joseph@codesourcery.com>
16844
7a25eb06
JM
16845 [BZ #10846]
16846 [BZ #14036]
16847 * math/libm-test.inc (exp_test): Add test from bug 14036.
16848 (pow_test): Add test from bug 10846.
16849
795405f9
JM
16850 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16851 and other flags.
16852 (special_function): Do not include flags in test name.
16853 (parse_args): Likewise.
16854 * sysdeps/i386/fpu/libm-test-ulps: Update.
16855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16856 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16859
80bad0cc
JM
16860 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16861 exceptions.
16862 * math/libm-test.inc ("Philosophy"): Update comment about
16863 exception testing.
16864 (UNDERFLOW_EXCEPTION): New macro.
16865 (UNDERFLOW_EXCEPTION_OK): Likewise.
16866 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16867 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16868 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16869 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16870 (INVALID_EXCEPTION_OK): Update value.
16871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16872 (OVERFLOW_EXCEPTION_OK): Likewise.
16873 (IGNORE_ZERO_INF_SIGN): Likewise.
16874 (test_exceptions): Handle underflow exceptions.
16875 (acos_test): Update for underflow exception expectations.
16876 (cexp_test): Likewise.
16877 (clog_test): Likewise.
16878 (clog10_test): Likewise.
16879 (csqrt_test): Likewise.
16880 (ctan_test): Likewise.
16881 (ctanh_test): Likewise.
16882 (exp_test): Likewise.
16883 (exp10_test): Likewise.
16884 (exp2_test): Likewise.
16885 (expm1_test): Likewise.
16886 (fma_test): Likewise.
16887 (j0_test): Likewise.
16888 (jn_test): Likewise.
16889 (nexttoward_test): Likewise.
16890 (pow_test): Likewise.
16891 (scalbn_test): Likewise.
16892 (scalbln_test): Likewise.
16893 (tan_test): Likewise.
16894 (y1_test): Likewise.
16895 * sysdeps/i386/fpu/libm-test-ulps: Update.
16896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16897
9e0e3d0b
DM
168982012-05-23 David S. Miller <davem@davemloft.net>
16899
16900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16901 (__libc_sigaction): Remove unused local variables.
16902
ccd0a08f
L
169032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16904
16905 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16906
62bdf9a6
PE
169072012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16908
f8591f80
PE
16909 mktime: avoid signed integer overflow
16910 * time/mktime.c (__mktime_internal): Do not mishandle the case
16911 where diff == INT_MIN.
16912
94c7d826
PE
16913 mktime: simplify computation of average
16914 * time/mktime.c (ranged_convert): Use new time_t_avg function
16915 instead of rolling our own (probably-slower) code.
16916
ce73d683
PE
16917 mktime: do not assume signed right shift propagates sign bit
16918 * time/mktime.c (isdst_differ): New static function.
16919 (__mktime_internal): No need to normalize tm_isdst now.
16920 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16921 tm_isdst values.
16922
72a22e59
PE
16923 mktime: merge another wrapv change from gnulib
16924 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16925 from some compilers.
16926
68605433
PE
16927 mktime: remove incorrect attempt at unusual arithmetics
16928 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16929 The code didn't really work on such machines anyway.
16930 (TYPE_MINIMUM): Assume two's complement.
16931 (twos_complement_arithmetic): Verify that long_int and time_t
16932 are two's complement (or unsigned, in the latter case).
16933
03cf7fe3
PE
16934 mktime: check signed shifts on long_int and time_t, too
16935 * time/mktime.c (SHR): Check that shifts work as desired
16936 on the types long_int and time_t too, as SHR is used on
16937 such types.
16938
f04dfbc2
PE
16939 mktime: do not assume 'long' is wide enough
16940 * time/mktime.c (verify): Move decl up.
16941 (long_int): New type.
16942 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16943 to remove assumption in the code that 'long' is wide enough to
16944 store year values. This assumption is not true on x32 and on
16945 some non-glibc platforms.
16946
62bdf9a6
PE
16947 mktime: merge wrapv change from gnulib
16948 * time/mktime.c (WRAPV): New macro.
16949 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16950 (guess_time_tm, __mktime_internal): Do not assume that signed
16951 integer overflow wraps around; modern compilers generate code
16952 where this assumption is no longer valid.
16953
5e292e4f
L
169542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16955
16956 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16957 Replace "jmp L(pseudo_end)" with "ret".
16958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16959 Likewise.
16960
8caf8c87
AJ
169612012-05-23 Andreas Jaeger <aj@suse.de>
16962
16963 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16964 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16965
1a09dc56
AJ
169662012-05-23 Andreas Jaeger <aj@suse.de>
16967 Maximilian Attems <max@stro.at>
16968
16969 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16970 New macros.
16971
1c87aba0
L
169722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16975 code so that pseudo_end is just ret and the stack pointer is
16976 correct also for static library in error case.
16977
40e45bd5
JM
169782012-05-23 Joseph Myers <joseph@codesourcery.com>
16979
c2670533
JM
16980 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16981 move to syscalls.list.
16982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16986
40e45bd5
JM
16987 * manual/install.texi (Running make install): Do not mention Linux
16988 kernel version for which pt_chown is not needed.
16989 (Linux): Do not mention problems with nscd with 2.0 kernels.
16990 * INSTALL: Regenerated.
16991
be08eda5
AJ
169922012-05-23 Andreas Jaeger <aj@suse.de>
16993
16994 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16995 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16996 macro.
16997 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16999 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17001 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17006 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17007 * sysdeps/unix/sysv/linux/bits/in.h
17008 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17009
a6a056bb
RM
170102012-05-22 Roland McGrath <roland@hack.frob.com>
17011
17012 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17013 (PREPARE_VERSION): Just use assert instead, it will be elided
17014 under [NDEBUG] anyway.
17015
c9009328
L
170162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17017
17018 * sysdeps/unix/sysv/linux/Makefile: Include
17019 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17020 (sysdep_routines): Remove sysctl.
c9009328
L
17021 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17022 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17023 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17024 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17025 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17026
73338355
AJ
170272012-05-22 Andreas Jaeger <aj@suse.de>
17028
17029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17030 that pseudo_end is just ret and the stack pointer is correct also
17031 for static library in error case.
17032
d44638b0
PP
170332012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17034
17035 [BZ #14122]
17036 * nss/nsswitch.c (defconfig_entries): New variable.
17037 (__nss_database_lookup): Don't leak defconfig entries.
17038 (nss_parse_service_list): Don't leak on error paths.
17039 (free_database_entries): New function.
17040 (free_defconfig): New function.
17041 (free_mem): Move common code to free_database_entries.
17042
31a39bd8
L
170432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17044
da0331a8
L
17045 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17046 Add arch_prctl.
17047 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17048
31a39bd8
L
17049 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17050 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17052 New macro.
17053 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17054 (INTERNAL_SYSCALL_TYPES): Likewise.
17055 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17056 (LOAD_REGS_TYPES_[1-6]): Likewise.
17057 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17058 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17059
45470df3
AZ
170602012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17061
17062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17063 copysignl for GLIBC_2_0.
17064 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17065 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17067 logbl for GLIBC_2_0.
17068 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17069 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17070
98a61bcb
L
170712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17072
a4f6e481
L
17073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17075
f63d5db6
L
17076 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17077 Use "neg %eax".
17078
98a61bcb
L
17079 * time/mktime.c: Update copyright years.
17080
95770f14
PE
170812012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17082
6226efbd
PE
17083 mktime: merge comment-quoting-style change from gnulib
17084 * time/mktime.c: Quote 'like this' in comments.
17085 The GNU coding standards suggest that we no longer quote `like this',
17086 as "`" and "'" are typically rendered asymmetrically nowadays.
17087 The typical gnulib style is to quote 'like this' when quoting
17088 code, and "like this" when quoting English.
17089
b99e4f78
PE
17090 * time/mktime.c (compile-command): Add "-I.".
17091
643e01e6
PE
17092 mktime: merge mktime-internal.h change from gnulib
17093 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17094
2554247d
PE
17095 mktime: merge time_r change from gnulib
17096 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17097
826dd0ab
PE
17098 mktime: merge DEBUG change from gnulib
17099 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17100 case system <time.h> has a #define.
17101
bd83aabe
PE
17102 mktime: merge <sys/types.h> change from gnulib
17103 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17104 since <time.t> is now guaranteed to define time_t.
17105
95770f14
PE
17106 mktime: merge HAVE_CONFIG_H change from gnulib
17107 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17108
5e1a27a9
L
171092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17110
0e44a77e
L
17111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17112 Use "neg %eax".
17113
5e1a27a9
L
17114 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17115 __rlim_t cast.
17116 (struct rusage): Use anonymous union to pad each field to
17117 __syscall_slong_t.
17118
46259bec
DM
171192012-05-21 David S. Miller <davem@davemloft.net>
17120
17121 * Makefules (o-iterator): Remove .s cases.
17122 (compile-command.s): Delete.
17123 (COMPILE.s): Delete.
17124 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17125
59f0c22e
JM
171262012-05-21 Joseph Myers <joseph@codesourcery.com>
17127
17128 * configure.in (libc_cv_predef_stack_protector): Only consider
17129 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17130 * configure: Regenerated.
17131
20c07380
L
171322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17133
bbb3154b
L
17134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17135 New macro. Use R*LP on int and pointer.
17136 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17137 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17138 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17139 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17140
20c07380
L
17141 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17142 [__WORDSIZE_TIME64_COMPAT32] instead of
17143 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17144 (struct utmp): Likewise.
17145 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17146 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17147 Renamed to ...
17148 (__WORDSIZE_TIME64_COMPAT32): This.
17149 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17150 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17151 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17153 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17154 (__WORDSIZE_TIME64_COMPAT32): New macro.
17155
d8d1017e
AJ
171562012-05-21 Andreas Jaeger <aj@suse.de>
17157
17158 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17159 only if [SHARED]. Add prototype for __wcschr_ia32.
17160
6c7fb145
RM
171612012-05-21 Roland McGrath <roland@hack.frob.com>
17162
17163 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17164 of %rbp unmolested in the jmp_buf while mangling the low bits.
17165 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17166 unmolested high bits of %rbp while demangling the low bits.
17167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17168
66274218
AJ
171692012-05-21 Andreas Jaeger <aj@suse.de>
17170
07c58f8f
AJ
17171 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17172 * sunrpc/svc_simple.c: Use it for registerrpc.
17173 * sunrpc/xcrypt.c: Use it for passwd2des.
17174
66274218
AJ
17175 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17176
61f65140
L
171772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17178
17179 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17180 Don't define if [__SYSCALL_WORDSIZE != 32].
17181 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17182 New macro.
17183
5fefb436
AJ
171842012-05-21 Bruno Haible <bruno@clisp.org>
17185 Andreas Jaeger <aj@suse.de>
17186
17187 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17188 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17189 inptr and inend for must_buffer_ch.
17190 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17191 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17192 * stdio-common/Makefile (tests): Remove bug15.
17193 (bug15-ENV): Remove macro.
17194 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17195 anymore.
17196
d8e272ab
AJ
171972012-05-19 Andreas Jaeger <aj@suse.de>
17198 Roland McGrath <roland@hack.frob.com>
17199
17200 * manual/contrib.texi: Completely rewritten. It contains now an
17201 alphabetical list of contributors and their contributions.
17202
4a56a162
RH
172032012-05-21 Richard Henderson <rth@twiddle.net>
17204
17205 * misc/getauxval.c (__getauxval): Use unsigned long int.
17206 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17207 (getauxval): Use unsigned long int.
17208
d024d23c
L
172092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17210
17211 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17212
cbc00a03
RM
172132012-05-21 Roland McGrath <roland@hack.frob.com>
17214
17215 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17216 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17217 __alignof__ (long double).
17218
478143fa
AZ
172192012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17220
17221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17222
c7683a6d
RH
172232012-05-20 Richard Henderson <rth@twiddle.net>
17224
17225 * misc/getauxval.c: New file.
17226 * misc/sys/auxv.h: New file.
17227 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17228 (routines): Add getauxval.
17229 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17231 * elf/dl-sysdep.c (_dl_auxv): Remove.
17232 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17233 * elf/dl-support.c (_dl_auxv): New variable.
17234 (_dl_aux_init): Initialize it.
17235 * manual/startup.texi (Auxiliary Vector): New node.
17236 * sysdeps/generic/bits/hwcap.h: New file.
17237 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17238 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17239 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17240 * sysdeps/sparc/sysdep.h: ... here. Include it.
17241 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17244 Update.
c7683a6d
RH
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17248 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17253
a6f1845d
AZ
172542012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17255
17256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17257
cbcbe830
DM
172582012-05-19 David S. Miller <davem@davemloft.net>
17259
17260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17261
e0b16cc2
JM
172622012-05-19 Joseph Myers <joseph@codesourcery.com>
17263
17264 [BZ #14123]
17265 * math/s_ccosh.c: Include <float.h>
17266 (__ccosh): Avoid internal overflow calculating sinh and cosh
17267 values before multiplying by sin and cos values.
17268 * math/s_ccoshf.c: Likewise.
17269 * math/s_ccoshl.c: Likewise.
17270 * math/s_csin.c: Likewise.
17271 * math/s_csinf.c: Likewise.
17272 * math/s_csinl.c: Likewise.
17273 * math/s_csinh.c: Likewise.
17274 * math/s_csinhf.c: Likewise.
17275 * math/s_csinhl.c: Likewise.
17276 * math/libm-test.inc (ccos_test): Add more tests.
17277 (ccosh_test): Likewise.
17278 (csin_test): Likewise.
17279 (csinh_test): Likewise.
17280 * sysdeps/i386/fpu/libm-test-ulps: Update.
17281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282
6ad13e08
L
172832012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17284
f66f0ce8
L
17285 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17286 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17287
6ad13e08
L
17288 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17289
b1d072a7
JM
172902012-05-19 Joseph Myers <joseph@codesourcery.com>
17291
17292 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17293 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17294 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17295 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17296 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17297 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17298 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17299 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17300 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17301 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17302 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17303 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17304 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17305 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17306 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17307 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17308 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17309 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17310 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17311 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17312 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17313 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17314 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17315 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17316 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17317 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17318 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17319 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17320 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17321 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17322 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17323
9eae47cb
AJ
173242012-05-18 Andreas Jaeger <aj@suse.de>
17325
17326 * csu/.gitignore: Delete.
17327
bb07f69f
L
173282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17329
17330 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17331 (timex): Use __syscall_slong_t.
17332
e6bdb741
AJ
173332012-05-18 Andreas Jaeger <aj@suse.de>
17334 Carlos O'Donell <carlos_odonell@mentor.com>
17335
17336 * manual/install.texi (Configuring and compiling): Update
17337 description about files modified in the source directory.
d6c33fda 17338 * INSTALL: Regenerated.
e6bdb741 17339
1b74487e
L
173402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17341
17342 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17343 value. Use "or" to set return value to -1.
17344 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17345 negate return value.
17346
a88b64b9
TMQMF
173472012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17348
17349 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17350 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17351 failure if the compiler has Graphite support disabled.
17352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17353 Likewise.
17354 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17355 CFLAGS-memmove.c): Likewise.
17356 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17357 Likewise.
17358
3707636e
L
173592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17360
610b8622
L
17361 * sysdeps/x86_64/x32/_itoa.h: New file.
17362
7cd195df
L
17363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17364 getdents system call only if kernel and user dirents have the
17365 same d_ino and d_off.
17366
94b07d20
L
17367 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17368 LLONG_MAX != LONG_MAX.
17369 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17370 (_fitoa_word): Likewise.
17371
18298070
L
17372 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17373 years.
17374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17375 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17376 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17377
553c7ea4
L
17378 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17379 include <bits/wordsize.h>. Check __x86_64__ instead of
17380 __WORDSIZE.
17381 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17382 if __x86_64__ is defined. Use anonymous union on fpstate.
17383
3707636e
L
17384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17385 anonymous union.
17386
b53ef01a
AS
173872012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17388
37fb1dc0
AS
17389 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17390 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17391 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17392 Refer to _rtld_local_ro instead of _rtld_global_ro.
17393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17394 Likewise.
17395 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17396 Likewise.
17397 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17398 Likewise.
17399 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17400 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17401 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17402
b53ef01a
AS
17403 * sysdeps/powerpc/powerpc32/dl-machine.c
17404 (__elf_machine_runtime_setup) [PROF]: Don't reference
17405 _dl_prof_resolve.
17406
7a185db2
AJ
174072012-05-18 Andreas Jaeger <aj@suse.de>
17408
17409 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17410 function only available for GCCs before 3.4 since GCC 3.4
17411 introduced a builtin.
17412 (lrint): Likewise.
17413 (llrintf): Likewise.
17414 (llrint): Likewise.
17415 (fmaxf): Likewise.
17416 (fmax): Likewise.
17417 (fminf): Likewise.
17418 (fmin): Likewise.
17419 (rint): Likewise.
17420 (rintf): Likewise.
17421 (nearbyint): Likewise.
17422 (nearbyintf): Likewise.
17423 (ceil): Likewise.
17424 (ceilf): Likewise.
17425 (floor): Likewise.
17426 (floorf): Likewise.
17427
3e5aef87
L
174282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17429
428bd707
L
17430 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17431 on both fields and cast pointer to __syscall_ulong_t.
17432
3e5aef87
L
17433 * bits/types.h (__fsword_t): New type.
17434 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17435 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17437 (__FSWORD_T_TYPE): Likewise.
17438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17439 (__FSWORD_T_TYPE): Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17441 (__FSWORD_T_TYPE): Likewise.
17442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17443 (__FSWORD_T_TYPE): Likewise.
17444 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17445 __SWORD_TYPE with __fsword_t.
17446 (statfs64): Likewise.
17447
1ba7c3dc
DM
174482012-05-17 David S. Miller <davem@davemloft.net>
17449
17450 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17451
59910343
AJ
174522012-05-17 Andreas Jaeger <aj@suse.de>
17453
17454 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17455 warning.
17456
2e4c1e9e
L
174572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17460
de7f5ce7
AJ
174612012-05-17 Andreas Jaeger <aj@suse.de>
17462
17463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17464 when it is used.
17465
286abc3d
CM
174662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17467
17468 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17469
477cc68e
L
174702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17471
17472 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17473 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17474
1a0994f5
CD
174752012-05-17 Andreas Jaeger <aj@suse.de>
17476 Carlos O'Donell <carlos_odonell@mentor.com>
17477
17478 [BZ #14059]
17479 * sysdeps/x86_64/multiarch/init-arch.h
17480 (bit_YMM_Usable): Rename to...
17481 (bit_AVX_Usable): ... this.
17482 (bit_FMA4_Usable): New macro.
17483 (bit_XMM_state): New macro.
17484 (bit_YMM_state): New macro.
17485 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17486 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17487 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17488 (CPUID_OSXSAVE): New macro.
17489 (CPUID_AVX): New macro.
17490 (CPUID_FMA4): New macro.
17491 (index_YMM_Usable): Rename to...
17492 (index_AVX_Usable): ... this.
17493 (HAS_AVX): Use HAS_ARCH_FEATURE.
17494 (HAS_FMA4): Likewise.
17495 (HAS_YMM_USABLE): Remove.
17496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17497 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17498 are present.
17499 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17500 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17501 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17502 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17503 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17504
0af797de
CM
175052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17506
17507 * math/libm-test.c: Support platforms without multiple rounding modes.
17508 * math/bug-nextafter.c: Support platforms without FP exceptions.
17509 * math/bug-nexttoward.c: Likewise.
17510 * math/test-fenv.c: Likewise.
17511 * math/test-misc.c: Likewise.
17512 * stdlib/bug-getcontext.c: Likewise.
17513
e39745ff
AJ
175142012-05-17 Andreas Jaeger <aj@suse.de>
17515
17516 * manual/examples/search.c (critter_cmp): Change signature to
17517 avoid warnings.
17518 * manual/string.texi (Collation Functions): Likewise.
17519
48970aba
L
175202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17521
17522 * bits/types.h: Fold copyright years.
17523 * bits/typesizes.h: Likewise.
17524 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17528 * time/time.h: Likewise.
17529
bedee953
PP
175302012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17531
17532 [BZ #208]
17533 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17534 in instead of returning them. Return void.
17535 (__libc_mallinfo): Accumulate over all arenas.
17536 (__malloc_stats): Adjust for change in int_mallinfo interface.
17537
61653dfb
RM
175382012-05-16 Roland McGrath <roland@hack.frob.com>
17539
30b99d79
RM
17540 [BZ #10375]
17541 * configure.in (NM): Add AC_CHECK_TOOL for it.
17542 (libc_extra_cflags): New substituted variable.
17543 Check for -fstack-protector being used implicitly.
17544 * configure: Regenerated.
17545 * config.make.in (config-extra-cflags): New variable,
17546 gets @libc_extra_cflags@.
17547 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17548
61653dfb
RM
17549 [BZ #10375]
17550 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17551 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17552 * configure: Regenerated.
17553 * config.make.in (CPPUNDEFS): New substituted variable.
17554 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17555 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17556 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17557
661768bb
L
175582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17559
17560 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17561 (mq_attr): Use __syscall_slong_t.
17562
d4261567
L
175632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17564
17565 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17566 Check __x86_64__ instead of __WORDSIZE.
17567 (_STAT_VER_LINUX): Likewise.
17568 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17569 __syscall_ulong_t and __syscall_slong_t.
17570 (stat64): Likewise.
17571
cf3ff365
L
175722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17573
17574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17575
76cf3e4d
L
175762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17577
17578 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17579
a637753a
L
175802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17581
17582 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17583 __syscall_ulong_t.
17584
d5e05119
L
17585 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17586 include <bits/wordsize.h>. Check __x86_64__ instead of
17587 __WORDSIZE.
17588 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17589 defined.
17590 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17591
f62ee380
L
17592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17593 include <bits/wordsize.h>. Check __x86_64__ instead of
17594 __WORDSIZE.
17595 (user_regs_struct): Use "__extension__ unsigned long long"
17596 instead of "unsigned long" if __x86_64__ is defined.
17597 (user): Likewise. Pad after pointer field if __ILP32__ is
17598 defined.
17599
4e124ced
JM
176002012-05-16 Joseph Myers <joseph@codesourcery.com>
17601
6a3951a0
JM
17602 * configure.in (makeinfo): Require version 4.5 or later. Allow
17603 versions 5 to 9.
17604 * configure: Regenerated.
17605 * manual/install.texi (texinfo): Increase version requirement to
17606 4.5 or later.
17607 * INSTALL: Regenerated.
17608
4e124ced
JM
17609 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17610
953ca31a
L
176112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17612
17613 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17614
617aca05
L
17615 * sysdeps/x86_64/x32/ffs.c: New file.
17616
5762f7ae
L
17617 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17618 __syscall_ulong_t.
17619 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17620 defined. Use __syscall_ulong_t.
17621 (shminfo): Use __syscall_ulong_t.
17622 (shm_info): Likewise.
17623
a26b6856
L
17624 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17625 __syscall_ulong_t.
17626
cb2b9ef7
L
17627 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17628 <bits/wordsize.h>.
17629 (msgqnum_t): Use __syscall_ulong_t.
17630 (msglen_t): Likewise.
17631 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17632 __syscall_ulong_t.
17633
34683bb0
L
17634 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17635 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17636
84a68786
L
17637 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17638
48baa5f1
L
17639 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17640 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17641
180be88b
L
17642 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17643 __syscall_slong_t.
17644
5e90c8ad
L
17645 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17646 include <bits/wordsize.h>. Check __x86_64__ instead of
17647 __WORDSIZE.
17648
23dfb58b
L
17649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17650 "unsigned long long int" if __x86_64__ is defined.
17651 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17652
ce5d54b0
L
17653 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17655 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17656
13dc9eac
L
17657 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17658 <stdint.h>.
17659 (GET_PC): Cast to uintptr_t first.
17660 (GET_FRAME): Likewise.
17661 (GET_STACK): Likewise.
17662
a7895d15
L
17663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17665 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17667 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17670 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17671 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17674 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17676 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17678 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17680 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17684 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17686 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17692
656416c9
AS
176932012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17694
5bd66283
AS
17695 * Makerules (+depfiles): Also collect depfiles from .oS in
17696 $(extra-objs).
17697 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17698 .oS, $(libnldbl-routines)).
17699
656416c9
AS
17700 * Makerules (native-compile-mkdep-flags): Define.
17701 * sunrpc/Makefile (extra-objs): Add $(addprefix
17702 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17703 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17704 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17705 calling $(make-target-directory).
17706
a46f2169
L
177072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17708
17709 * bits/types.h (__snseconds_t): Removed.
17710 * time/time.h (struct timespec): Replace __snseconds_t with
17711 __syscall_slong_t.
17712 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17713 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17714 Likewise.
17715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17716 (__SNSECONDS_T_TYPE): Likewise.
17717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17718 (__SNSECONDS_T_TYPE): Likewise.
17719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17720 (__SNSECONDS_T_TYPE): Likewise.
17721
6af6528b
L
177222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/mach/hurd/bits/typesizes.h
17725 (__SYSCALL_SLONG_TYPE): New macro.
17726 (__SYSCALL_ULONG_TYPE): Likewise.
17727
de986b56
L
177282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 * bits/types.h (__syscall_slong_t): New type.
17731 (__syscall_ulong_t): Likewise.
17732
17733 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17734 (__SYSCALL_ULONG_TYPE): Likewise.
17735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17736 (__SYSCALL_SLONG_TYPE): Likewise.
17737 (__SYSCALL_ULONG_TYPE): Likewise.
17738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17739 (__SYSCALL_SLONG_TYPE): Likewise.
17740 (__SYSCALL_ULONG_TYPE): Likewise.
17741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17742 (__SYSCALL_SLONG_TYPE): Likewise.
17743 (__SYSCALL_ULONG_TYPE): Likewise.
17744
85736dc7
L
177452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17748 Add sigaltstack-offsets.sym.
17749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17750 <sigaltstack-offsets.h>.
17751 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17752 longjmp_msg pointer.
17753 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17754 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17755 signal stack.
17756 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17757
cc03b296
JM
177582012-05-15 Joseph Myers <joseph@codesourcery.com>
17759
a9538892
JM
17760 * elf/stackguard-macros.h: Remove file.
17761 * sysdeps/generic/stackguard-macros.h: New file.
17762 * sysdeps/i386/stackguard-macros.h: Likewise.
17763 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17764 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17765 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17766 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17767 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17768 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17769 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17770 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17771 <elf/stackguard-macros.h>.
17772
cc03b296
JM
17773 [BZ #14109]
17774 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17775 __aligned__ in attribute.
17776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17777 (gregset_t): Likewise.
17778
93171016
L
177792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17782 * sysdeps/x86_64/64/Implies-after: Here. New file.
17783 * sysdeps/x86_64/x32/Implies-after: New file.
17784
d86813a0
L
177852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17786
17787 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17788 and access return value for _dl_profile_fixup. Use R10_LP to
17789 load frame size.
17790
2953ec75
L
177912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17792
17793 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17794
3b550e9e
L
177952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17796
17797 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17798 * sysdeps/x86_64/x32/sysdep.h: New file.
17799
eda41706
L
178002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17801
17802 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17803 * sysdeps/x86_64/setjmp.S: Likewise.
17804
9ea01d93
AZ
178052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17806
17807 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17809 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17810 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17811 remove unused global constant.
17812
02a91938
CM
178132012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17814
17815 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17816 include of <not-cancel.h>.
17817
6540185f
RM
178182012-05-15 Roland McGrath <roland@hack.frob.com>
17819
17820 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17821
509072a0
AJ
178222012-05-15 Jeff Law <law@redhat.com>
17823 Andreas Jaeger <aj@suse.de>
17824
17825 [BZ #13594]
17826 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17827 out from...
17828 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17829 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17830 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17831 code changing __hst_map_handle.map.
17832
ba75122d
RM
178332012-05-15 Roland McGrath <roland@hack.frob.com>
17834
17835 * configure.in (sysnames): Look for Implies-before and Implies-after
17836 files.
17837 * configure: Regenerated.
17838
890d8bd8
L
178392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17842 8-byte data alignment with LP_SIZE alignment.
17843
f6ee6623
L
178442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17845
17846 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17847 into R10_LP.
17848
ea2626f6
L
178492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17850
17851 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17852
085f715e
L
178532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17854
17855 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17856 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17858 Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17860
be8498fc
L
178612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17862
17863 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17864 (stackinfo_sub_sp): Likewise.
17865
70bc83b9
L
178662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17867
17868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17869 RAX_LP.
17870
9bc0b730
L
178712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17872
17873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17874 into R*_LP.
17875
6d2850e7
L
178762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17877
17878 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17879 sizes into R*_LP.
17880
3cb84561
L
178812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17884
54e2ed81
L
178852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17886
17887 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17888 into R11_LP and load __x86_64_shared_cache_size_half into
17889 R8_LP.
17890
8a17f349
L
178912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17892
17893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17894 R8_LP.
17895
777b1eea
AZ
178962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17897
17898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17899 logb for POWER7.
17900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17901 logbf for POWER7.
17902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17903 logbl for POWER7.
17904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17905 powerpc32/power7/fpu/s_logb.c via #include.
17906 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17907 powerpc32/power7/fpu/s_logbf.c via #include.
17908 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17909 powerpc32/power7/fpu/s_logbl.c via #include.
17910
d20d4ac2
JM
179112012-05-15 Joseph Myers <joseph@codesourcery.com>
17912
17913 * README.libm: Remove file.
17914
6cdef1ab
L
179152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17916
17917 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17918 count for x32. Use R*_LP and omit operand-size suffix.
17919
0b254d8f
L
179202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17923 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17924 * sysdeps/x86_64/x32/shlib-versions: New file.
17925
ceb809dc
RM
179262012-05-14 Roland McGrath <roland@hack.frob.com>
17927
17928 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17929 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17930 Use _dl_fatal_printf instead.
17931
37f1abd4
JM
179322012-05-14 Joseph Myers <joseph@codesourcery.com>
17933
17934 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17935 set if not set by the user. Do not allow for being unset.
17936 * sysdeps/unix/sysv/linux/configure: Regenerated.
17937
11de3a33
L
179382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17939
17940 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17941 the `q' suffix from lea and replace .quad with ASM_ADDR.
17942
e02f153a
L
179432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17944
17945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17946 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17947 instead of $17.
17948 (PTR_DEMANGLE): Likewise.
17949
520ae0fd
L
179502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17951
17952 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17953 (LP_OP): Likewise.
17954 (ASM_ADDR): Likewise.
17955 (RAX_LP): Likewise.
17956 (RBP_LP): Likewise.
17957 (RBX_LP): Likewise.
17958 (RCX_LP): Likewise.
17959 (RDI_LP): Likewise.
17960 (RSI_LP): Likewise.
17961 (RSP_LP): Likewise.
17962 (R8_LP): Likewise.
17963 (R9_LP): Likewise.
17964 (R10_LP): Likewise.
17965 (R10_LP): Likewise.
17966 (R11_LP): Likewise.
17967 (R12_LP): Likewise.
17968 (R13_LP): Likewise.
17969 (R14_LP): Likewise.
17970 (R15_LP): Likewise.
17971
b985be81
L
179722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17973
17974 * sysdeps/x86_64/x32/dl-machine.h: New file.
17975
6a4888ff
AJ
179762012-05-14 Andreas Jaeger <aj@suse.de>
17977
17978 * manual/Makefile (subdir): Remove export of subdir.
17979 (all): Remove target.
17980 (.PHONY): Remove all from list.
17981 (mkinstalldirs): Remove.
17982 (.PHONY): Remove installdirs from list.
17983 ($(inst_infodir)/libc.info): Use make-target-directory.
17984 (installdirs): Remove.
17985 (subdir_%): Remove.
17986 (glibc-targets): Remove.
17987 (lib): Remove.
17988 (stubs): Remove.
17989 ($(objpfx)stubs ../po/manual.pot): Remove.
17990 ($(objpfx)stamp%): Remove.
17991 (make-target-directory): Remove.
17992 (subdir_install): Remove.
17993 (routines): Remove.
17994 (aux): Remove.
17995 (sources): Remove.
17996 (objects): Remove.
17997 (headers): Remove.
17998
17999 [BZ #13750]
18000 * manual/.gitignore: Remove, it's not needed anymore.
18001 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18002 all files in it.
18003 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18004 directory.
18005 (texis): Renamed to $(objpfx)texis.
18006 (texis-path): New, contains path to generated files.
18007 (chapters.%): Use texis-path for complete path, add extra argument
18008 libc-texinfo.sh.
18009 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18010 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18011 (summary,texi, stamp-summary): Use complete path of
18012 files. Generate files in build dir.
18013 (dir-add.texi): Build in build dir.
18014 (libm-err.texi,stamp-libm-err): Likewise.
18015 (version.texi, stamp-version): Likewise.
18016 (.%c.texi): Likewise.
18017 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18018 (mostlyclean): Remove target.
18019 (realclean): Remove target.
18020 (generated): Add new variable with contents from mostlyclean and
18021 realclean, remove entries duplicated in common-mostlyclean, add
18022 stamp-libm-err and stamp-version.
18023 (generated-dirs): Add libc directory.
18024 ($(inst_infodir)/libc.info): Install files from build dir.
18025
18026 * manual/install.texi (Configuring and compiling): Adjust since
18027 the info files are not part of the tar ball anymore.
18028
7ac77294
AJ
180292012-05-14 Andreas Jaeger <aj@suse.de>
18030
18031 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18032 variable.
18033
ffb7875d
JM
180342012-05-14 Joseph Myers <joseph@codesourcery.com>
18035
18036 [BZ #13717]
18037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18038 to 2.2.0 where earlier.
18039 * sysdeps/unix/sysv/linux/configure: Regenerated.
18040 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18041 Remove conditional code.
18042 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18043 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18044 Remove conditional code.
18045 [!__NR_lchown]: Likewise.
18046 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18047 [__NR_lchown]: Likewise.
18048 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18049 comment referencing __ASSUME_LCHOWN_SYSCALL.
18050 * sysdeps/unix/sysv/linux/i386/sigaction.c
18051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18053 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18054 Remove conditional code.
18055 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18056 (__protocol_available): Remove #if 0 code.
18057 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18058 conditional code.
18059 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18060 * sysdeps/unix/sysv/linux/kernel-features.h
18061 (__ASSUME_GETCWD_SYSCALL): Don't define.
18062 (__ASSUME_REALTIME_SIGNALS): Likewise.
18063 (__ASSUME_PREAD_SYSCALL): Likewise.
18064 (__ASSUME_PWRITE_SYSCALL): Likewise.
18065 (__ASSUME_POLL_SYSCALL): Likewise.
18066 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18067 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18068 non-SPARC.
18069 (__ASSUME_SIOCGIFNAME): Don't define.
18070 (__ASSUME_MSG_NOSIGNAL): Likewise.
18071 (__ASSUME_SENDFILE): Define unconditionally.
18072 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18073 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18074 conditional code.
18075 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18076 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18077 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18078 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18079 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18080 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18081 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18098 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18106 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18107 Remove conditional code.
18108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18109 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18110 Remove conditional code.
18111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18112 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18113 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18114 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18115 Remove conditional code.
18116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18117 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18118 Remove conditional code.
18119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18120 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18121 Remove conditional code.
18122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18123 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18124 Remove conditional code.
18125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18126 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18127 Remove conditional code.
18128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18129 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18132 * sysdeps/unix/sysv/linux/sigaction.c
18133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18135 * sysdeps/unix/sysv/linux/sigpending.c
18136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18138 * sysdeps/unix/sysv/linux/sigprocmask.c
18139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18141 * sysdeps/unix/sysv/linux/sigsuspend.c
18142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18145 (__libc_missing_rt_sigs): Remove.
18146 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18147 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18148 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18149 Remove conditional code.
18150 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18151 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18152 return 1.
18153 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18154 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18155 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18156 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18157
1bfb7291
AJ
181582012-05-14 Andreas Jaeger <aj@suse.de>
18159
caae5a81
AJ
18160 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18161 it's not used in glibc.
18162 (__coshm1): Likewise.
18163 (__acosh1p): Likewise.
18164 (__sgn): Likewise.
18165
1bfb7291
AJ
18166 * manual/string.texi (Copying and Concatenation): Add missing
18167 variable in concat example.
18168 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18169
c044d724
L
181702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18171
144c5467 18172 [BZ #14103]
c044d724
L
18173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18174 __builtin_clzl with __builtin_clzll.
18175
2523c62b
L
181762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18177
18178 [BZ #14104]
18179 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18180 libc_freeres_ptr.
18181
d7bb4c42
LD
181822012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18183
18184 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18185 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18186 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18187 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18188
9dc4e1fb
MF
181892012-05-14 Mike Frysinger <vapier@gentoo.org>
18190
18191 * NEWS: Update ia64 info.
18192
c7df0112
AS
181932012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18194
18195 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18196 used as bcopy.
18197
dc70356c
TS
181982012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18199
18200 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18201 * sysdeps/unix/syscalls.list (dup3): Likewise.
18202 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18203 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18204
9fb1a21f
L
182052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18206
18207 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18208 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18209
4822a2a5
L
182102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18211
18212 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18213 thread pointer.
18214 (TLS_IE): Use mov/add instead of movq/addq to load thread
18215 pointer.
18216 (TLS_GD_PREFIX): New.
18217 (TLS_GD): Use it.
18218
842b81d6
DM
182192012-05-11 David S. Miller <davem@davemloft.net>
18220
18221 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18222 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18223 (_FPU_SETCW): Likewise.
18224
1cf463cd
L
182252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18228 is 32-byte aligned.
18229
60cc4a18
AS
182302012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18231
18232 [BZ #11837]
18233 * iconvdata/gb18030.c: Update tables.
18234 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18235 characters specially.
18236 (BODY for TO_LOOP): Add encoding of missing ranges.
18237
febb44a4
TS
182382012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18239
18240 [BZ #13673]
18241 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18242 * sysdeps/mach/hurd/dup3.c: Likewise.
18243 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18244 * sysdeps/powerpc/memmove.c:: Likewise.
18245
0a10fb9e
L
182462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18247
18248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18249 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18250
df8a552f
L
182512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18252
18253 * elf/elf.h (R_X86_64_RELATIVE64): New.
18254 (R_X86_64_NUM): Updated.
18255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18256 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18257 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18258 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18259 tst-quad1pie tst-quad2pie
18260 (modules-names): Add tst-quadmod1 tst-quadmod2.
18261 ($(objpfx)tst-quad1): New dependency.
18262 ($(objpfx)tst-quad2): Likewise.
18263 ($(objpfx)tst-quad1pie): Likewise.
18264 ($(objpfx)tst-quad2pie): Likewise.
18265 * sysdeps/x86_64/tst-quad1.c: New file.
18266 * sysdeps/x86_64/tst-quad1pie.c: New file.
18267 * sysdeps/x86_64/tst-quad2.c: Likewise.
18268 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18269 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18270 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18271 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18272 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18273
f34d6f84
ST
182742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18275
f42d41d1
ST
18276 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18277 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18278 * streams/stropts.h (t_scalar_t): Define type.
18279
3c3571fc
ST
18280 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18281 (_PATH_PRESERVE): Set to "/var/lib".
18282 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18283
61f06bd3
ST
18284 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18285 instead of int.
18286
918d4d71
ST
18287 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18288 if __dir_mkfile succeeded.
18289
f34d6f84
ST
18290 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18291 checking for _hurd_dtablesize. Unlock it right after having
18292 finished _hurd_dtable allocation.
18293
10589b4a
TS
182942012-05-10 Thomas Schwinge <thomas@schwinge.name>
18295
674cdbc7
TS
18296 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18297 * sysdeps/mach/hurd/configure: Regenerated.
18298 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18299 special-casing to...
18300 * sysdeps/gnu/configure.in: ... this new file.
18301 * sysdeps/unix/sysv/linux/configure: Regenerated.
18302 * sysdeps/gnu/configure: New generated file.
18303
8e41b99f
TS
18304 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18305 for Linux: use nsec instead of usec, as well as:
18306 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18307 members of type struct timespec.
18308 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18309 New macros.
18310 (struct stat64): Likewise.
18311 (_STATBUF_ST_NSEC): New macro.
18312 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18313
10589b4a
TS
18314 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18315 __strtoul_internal rather than strtoul.
18316
63643c85
PT
183172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18318
18319 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18320 and reject them.
18321
3faebe6a
ST
183222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18323
18324 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18325 which preserves existing values.
18326 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18327
c6474b07
PT
183282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18329
18330 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18331 TIMEOUT values. Return EINVAL for NFDS values either negative or
18332 greater than FD_SETSIZE.
18333
1043890b
ST
183342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18335
18336 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18337 allocated, call __vm_protect to finish enabling the existing space, and
18338 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18339 allocate the remainder.
18340
37ed8b9b
PT
183412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18342
18343 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18344 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18345
db653660
ST
183462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18347
37ed8b9b
PT
18348 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18349 sysdeps/mach/hurd/readlink.c.
b29d4053 18350
db653660
ST
18351 * posix/tst-sysconf.c (posix_options): Only use
18352 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18353 _POSIX_SYNCHRONIZED_IO when they are defined
18354 * sysdeps/mach/hurd/bits/posix_opt.h:
18355 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18356 (_XOPEN_REALTIME): Undefine macro.
18357 (_XOPEN_REALTIME_THREADS): Undefine macro.
18358 (_XOPEN_SHM): Undefine macro.
18359 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18360 macro to -1.
18361 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18362 macro to -1.
18363 (_POSIX_ASYNC_IO): Undefine macro.
18364 (_POSIX_PRIORITIZED_IO): Undefine macro.
18365 (_POSIX_SPIN_LOCKS): Define macro to -1.
18366
ee16e894
ST
18367 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18368 SA_NODEFER, SA_RESETHAND.
18369 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18370 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18371 F_DUPFD_CLOEXEC.
18372
6103ae3b
TS
183732012-05-10 Thomas Schwinge <thomas@schwinge.name>
18374
18375 * elf/Makefile (pldd-modules): Define unconditionally.
18376
80b4e5f3
TS
183772012-05-10 Thomas Schwinge <thomas@schwinge.name>
18378
18379 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18380
edadcbd6
ST
183812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18382
18383 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18384 Return ENOENT when name is empty.
18385 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18386
80694780
TS
183872012-05-10 Thomas Schwinge <thomas@schwinge.name>
18388
1792c087
TS
18389 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18390
80694780
TS
18391 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18392
6b645f0d
ST
183932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18394
80694780
TS
18395 Fix mlock in all cases except non-readable pages.
18396 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18397 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18398
6b645f0d
ST
18399 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18400 (__mkdir): When path is `/', just fail with EEXIST.
18401 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18402
e468f8a3
TS
184032012-05-10 Thomas Schwinge <thomas@schwinge.name>
18404
18405 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18406 <sys/uio.h> (for writev).
18407 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18408 and <sys/param.h> (for MIN).
18409
a4186cff
PT
184102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18411
18412 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18413 REQUESTED_TIME. Properly set the remaining time and return EINTR
18414 if interrupted.
18415
510bbf14
TS
184162012-05-10 Thomas Schwinge <thomas@schwinge.name>
18417
18418 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18419 Depend on against $(link-rpcuserlibs).
18420
5d5722e8
ST
184212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18422
a4186cff
PT
18423 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18424 (__libc_stack_end): Do not use attribute_relro.
18425 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18426 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18427 to libthread-provided value.
a4186cff
PT
18428 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18429 attribute_relro.
5d5722e8 18430
37233df9
TS
184312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18432
be971a2b
TS
18433 [BZ #3748]
18434 * bits/libc-lock.h (__libc_once_get): New macro.
18435 * sysdeps/mach/bits/libc-lock.h: Likewise.
18436 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18438 instead of using implementation details.
18439
37233df9
TS
18440 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18441 * libio/freopen.c: Likewise.
18442 * libio/freopen64.c: Likewise.
18443 * misc/syslog.c: Likewise.
18444 * nscd/connections.c: Likewise.
18445 * nscd/netgroupcache.c: Likewise.
18446 * sysdeps/posix/getcwd.c: Likewise.
18447
38de94a5
RM
184482012-05-10 Roland McGrath <roland@hack.frob.com>
18449
18450 * math/w_ilogbf.c: Add #include <limits.h>.
18451
67530489
ST
184522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18453
a4186cff 18454 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18455 path instead of returning without unlocking.
18456
67530489
ST
18457 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18458 immediate-write ioctls.
18459 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18460
5aa3a74a
TS
184612012-05-10 Thomas Schwinge <thomas@schwinge.name>
18462
18bad2ae
TS
18463 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18464 __builtin_frame_address instead of making assumptions about the
18465 location of the return address relative to DATA. Force early load of
18466 the return address.
18467 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18468 __builtin_frame_address.
18469
5aa3a74a
TS
18470 dup3 for GNU Hurd.
18471 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18472 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18473 implement dup3 and do some further code clean-ups.
18474 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18475 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18476
ecd0de9a
ST
184772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18478
cd9fa985
ST
18479 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18480
a4186cff
PT
18481 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18482 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18483 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18484 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18485 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18486 d->port.lock.
802ca5a5 18487
a4186cff
PT
18488 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18489 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18490 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18491
bcf55240
TS
184922012-05-10 Thomas Schwinge <thomas@schwinge.name>
18493
6960eb42
TS
18494 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18495 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18496 definitions.
18497
eb43375f
TS
18498 accept4 for GNU Hurd.
18499 * include/sys/socket.h (__libc_accept4): New prototype.
18500 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18501 to implement __libc_accept4.
18502 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18503 __libc_accept4.
18504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18505
bcf55240
TS
18506 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18507 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18508 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18509 signal-defines.sym.
18510
6178c55b
ST
185112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18512
a4186cff 18513 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18514
6f080c2f
TS
185152012-05-10 Thomas Schwinge <thomas@schwinge.name>
18516
18517 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18518 assertion on O_CLOEXEC flag.
18519 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18520 * hurd/intern-fd.c: Likewise.
18521 * hurd/port2fd.c: Likewise.
18522
bcfe3a54
ST
185232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18524
18525 [BZ #3906]
18526 * bits/in.h (IPV6_PKTINFO): Define new macro.
18527 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18528
89c9aa49
AZ
185292012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18530
18531 [BZ #13954]
18532 [BZ #13955]
18533 [BZ #13956]
18534 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18536 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18537 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18539 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18540 * math/libm-test.inc (logb_test) : Additional logb tests.
18541
021db4be
AJ
185422012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18543 Andreas Jaeger <aj@suse.de>
18544
18545 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18546 * configure: Regenerated.
18547 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18548 * config.make.in (link-obsolete-rpc): New substituted variable.
18549 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18550 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18551 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18552 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18553 so that libc.a contains the symbols.
18554 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18555 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18556 * sunrpc/auth_none.c: Likewise.
18557 * sunrpc/auth_unix.c: Likewise.
18558 * sunrpc/authdes_prot.c: Likewise.
18559 * sunrpc/authuxprot.c: Likewise.
18560 * sunrpc/clnt_gen.c: Likewise.
18561 * sunrpc/clnt_perr.c: Likewise.
18562 * sunrpc/clnt_raw.c: Likewise.
18563 * sunrpc/clnt_simp.c: Likewise.
18564 * sunrpc/clnt_tcp.c: Likewise.
18565 * sunrpc/clnt_udp.c: Likewise.
18566 * sunrpc/clnt_unix.c: Likewise.
18567 * sunrpc/des_crypt.c: Likewise.
18568 * sunrpc/des_soft.c: Likewise.
18569 * sunrpc/get_myaddr.c: Likewise.
18570 * sunrpc/key_call.c: Likewise.
18571 * sunrpc/key_prot.c: Likewise.
18572 * sunrpc/netname.c: Likewise.
18573 * sunrpc/pm_getmaps.c: Likewise.
18574 * sunrpc/pm_getport.c: Likewise.
18575 * sunrpc/pmap_clnt.c: Likewise.
18576 * sunrpc/pmap_prot.c: Likewise.
18577 * sunrpc/pmap_prot2.c: Likewise.
18578 * sunrpc/pmap_rmt.c: Likewise.
18579 * sunrpc/publickey.c: Likewise.
18580 * sunrpc/rpc_cmsg.c: Likewise.
18581 * sunrpc/rpc_common.c: Likewise.
18582 * sunrpc/rpc_dtable.c: Likewise.
18583 * sunrpc/rpc_prot.c: Likewise.
18584 * sunrpc/rpc_thread.c: Likewise.
18585 * sunrpc/rtime.c: Likewise.
18586 * sunrpc/svc.c: Likewise.
18587 * sunrpc/svc_auth.c: Likewise.
18588 * sunrpc/svc_raw.c: Likewise.
18589 * sunrpc/svc_run.c: Likewise.
18590 * sunrpc/svc_tcp.c: Likewise.
18591 * sunrpc/svc_udp.c: Likewise.
18592 * sunrpc/svc_unix.c: Likewise.
18593 * sunrpc/svcauth_des.c: Likewise.
18594 * sunrpc/xcrypt.c: Likewise.
18595 * sunrpc/xdr.c: Likewise.
18596 * sunrpc/xdr_array.c: Likewise.
18597 * sunrpc/xdr_float.c: Likewise.
18598 * sunrpc/xdr_intXX_t.c: Likewise.
18599 * sunrpc/xdr_mem.c: Likewise.
18600 * sunrpc/xdr_rec.c: Likewise.
18601 * sunrpc/xdr_ref.c: Likewise.
18602 * sunrpc/xdr_sizeof.c: Likewise.
18603 * sunrpc/xdr_stdio.c: Likewise.
18604
b5c086a2
RM
186052012-05-10 Roland McGrath <roland@hack.frob.com>
18606
18607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18608 change. Update copyright years.
18609
6d74dd09
JM
186102012-05-10 Joseph Myers <joseph@codesourcery.com>
18611
18612 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18613
28e72501
MK
186142012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18615 Joseph Myers <joseph@codesourcery.com>
18616 Paul Pluzhnikov <ppluzhnikov@google.com>
18617
18618 [BZ #14012]
18619 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18620 requiring rpcgen.
18621 [cross-compiling] (extra-libs): Likewise.
18622 [cross-compiling] (extra-libs-others): Likewise.
18623 [cross-compiling] (librpcsvc-routines): Likewise.
18624 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18625 [cross-compiling] (omit-deps): Likewise.
18626 (sunrpc-CPPFLAGS): New variable.
18627 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18628 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18629 (cross-rpcgen-objs): New variable.
18630 (extra-objs): Append $(cross-rpcgen-objs).
18631 ($(cross-rpcgen-objs)): New rule.
18632 ($(objpfx)cross-rpcgen): Likewise.
18633 (rpcgen-cmd): Define to use $(built-program-file). Expand
18634 comment.
18635 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18636 ($(objpfx)x%.stmp): Likewise.
18637 * sunrpc/proto.h [IS_IN_build] (_): Define.
18638 [IS_IN_build] (_libc_intl_domainname): Likewise.
18639
c8c59454
L
186402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18643 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18644 and R_X86_64_TPOFF64.
18645
6f27cd16
JM
186462012-05-10 Joseph Myers <joseph@codesourcery.com>
18647
18648 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18649 sysdeps/unix/sysv/syscalls.list.
18650 (stime): Likewise.
18651 (utime): Likewise.
18652 * sysdeps/unix/sysv/syscalls.list: Remove file.
18653
02467e1c
PE
186542012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18655
18656 [BZ #3440]
18657 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18658 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18659 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18660 (__LC_IDENTIFICATION): Make these macros useful in #if
18661 expressions, as required by C99.
18662
da392631
AS
186632012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18664
18665 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18666 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18667 after this.
18668
8115f29b
L
186692012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18670
18671 * stdlib/longlong.h: Updated from GCC.
18672
bdd74070
AJ
186732012-05-09 Andreas Jaeger <aj@suse.de>
18674
edfe0dbe
AJ
18675 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18676 default is first entry.
18677 (run_mode): Set type.
18678 (main): Remove informal message about syslog.
18679 (options): Fix typo.
18680
bcfe3a54
ST
18681 [BZ #14053]
18682 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18683 to asm.
bcfe3a54
ST
18684 (lrint): Likewise.
18685 (llrintf): Likewise.
18686 (llrint): Likewise.
18687 (rint): Likewise.
18688 (rintf): Likewise.
18689 (nearbyint): Likewise.
18690 (nearbyintf): Likewise.
bdd74070 18691
91d8d69e
AJ
186922012-05-09 Andreas Jaeger <aj@suse.de>
18693 Pedro Alves <palves@redhat.com>
18694
18695 * nscd/nscd.c (run_mode): Use enum.
18696 (main): Cleanup coding style issue.
18697
bb90b80b
AJ
186982012-05-09 Alexandre Oliva <aoliva@redhat.com>
18699 Andreas Jaeger <aj@suse.de>
18700
bcfe3a54
ST
18701 * nscd/nscd.c (go_background): Replaced with...
18702 (run_mode): ... this.
bb90b80b 18703 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18704 (options): Add -F --foreground.
18705 (main): Implement it.
18706 (parse_opt): Parse it.
bb90b80b 18707
1a4b75a1
AJ
187082012-05-09 Andreas Jaeger <aj@suse.de>
18709
18710 [BZ #14083]
18711 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18712 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18713 -Wconversion warning.
18714 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18715 Likewise.
18716
b1cc2472
JM
187172012-05-09 Joseph Myers <joseph@codesourcery.com>
18718
18719 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18720 == 0.
18721 (LC_ALL): Use macro-int-constant.
18722 (LC_COLLATE): Likewise.
18723 (LC_CTYPE): Likewise.
18724 (LC_MESSAGES): Likewise.
18725 (LC_MONETARY): Likewise.
18726 (LC_NUMERIC): Likewise.
18727 (LC_TIME): Likewise.
18728 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18729 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18731 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18732 Specify type.
18733 [C99-based standards] (float_t): Expect type.
18734 [C99-based standards] (double_t): Expect type.
18735 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18736 type.
18737 [C99-based standards] (HUGE_VALL): Likewise.
18738 [C99-based standards] (INFINITY): Likewise.
18739 [C99-based standards] (NAN): Likewise.
18740 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18741 [C99-based standards] (FP_NAN): Likewise.
18742 [C99-based standards] (FP_NORMAL): Likewise.
18743 [C99-based standards] (FP_SUBNORMAL): Likewise.
18744 [C99-based standards] (FP_ZERO): Likewise.
18745 [C99-based standards] (FP_FAST_FMA): Use
18746 optional-macro-int-constant. Specify type. Require == 1.
18747 [C99-based standards] (FP_FAST_FMAF): Likewise.
18748 [C99-based standards] (FP_FAST_FMAL): Likewise.
18749 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18750 [C99-based standards] (FP_ILOGBNAN): Likewise.
18751 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18752 Specify type.
18753 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18754 [C99-based standards] (math_errhandling): Specify type.
18755 [ISO99 || ISO11] (signgam): Do not allow.
18756 [non-C99-based standards] (copysignf): Do not allow.
18757 [non-C99-based standards] (exp2f): Likewise.
18758 [non-C99-based standards] (log2f): Likewise.
18759 [non-C99-based standards] (modff): Allow.
18760 [non-C99-based standards] (erff): Do not allow.
18761 [non-C99-based standards] (erfcf): Likewise.
18762 [non-C99-based standards] (gammaf): Likewise.
18763 [non-C99-based standards] (hypotf): Likewise.
18764 [non-C99-based standards] (j0f): Likewise.
18765 [non-C99-based standards] (j1f): Likewise.
18766 [non-C99-based standards] (jnf): Likewise.
18767 [non-C99-based standards] (lgammaf): Likewise.
18768 [non-C99-based standards] (tgammaf): Likewise.
18769 [non-C99-based standards] (y0f): Likewise.
18770 [non-C99-based standards] (y1f): Likewise.
18771 [non-C99-based standards] (ynf): Likewise.
18772 [non-C99-based standards] (isnanf): Likewise.
18773 [non-C99-based standards] (acoshf): Likewise.
18774 [non-C99-based standards] (asinhf): Likewise.
18775 [non-C99-based standards] (atanhf): Likewise.
18776 [non-C99-based standards] (cbrtf): Likewise.
18777 [non-C99-based standards] (expm1f): Likewise.
18778 [non-C99-based standards] (ilogbf): Likewise.
18779 [non-C99-based standards] (log1pf): Likewise.
18780 [non-C99-based standards] (logbf): Likewise.
18781 [non-C99-based standards] (nextafterf): Likewise.
18782 [non-C99-based standards] (remainderf): Likewise.
18783 [non-C99-based standards] (rintf): Likewise.
18784 [non-C99-based standards] (scalbf): Likewise.
18785 [non-C99-based standards] (copysignl): Likewise.
18786 [non-C99-based standards] (exp2l): Likewise.
18787 [non-C99-based standards] (log2l): Likewise.
18788 [non-C99-based standards] (modfl): Allow.
18789 [non-C99-based standards] (erfl): Do not allow.
18790 [non-C99-based standards] (erfcl): Likewise.
18791 [non-C99-based standards] (gammal): Likewise.
18792 [non-C99-based standards] (hypotl): Likewise.
18793 [non-C99-based standards] (j0l): Likewise.
18794 [non-C99-based standards] (j1l): Likewise.
18795 [non-C99-based standards] (jnl): Likewise.
18796 [non-C99-based standards] (lgammal): Likewise.
18797 [non-C99-based standards] (tgammal): Likewise.
18798 [non-C99-based standards] (y0l): Likewise.
18799 [non-C99-based standards] (y1l): Likewise.
18800 [non-C99-based standards] (ynl): Likewise.
18801 [non-C99-based standards] (isnanl): Likewise.
18802 [non-C99-based standards] (acoshl): Likewise.
18803 [non-C99-based standards] (asinhl): Likewise.
18804 [non-C99-based standards] (atanhl): Likewise.
18805 [non-C99-based standards] (cbrtl): Likewise.
18806 [non-C99-based standards] (expm1l): Likewise.
18807 [non-C99-based standards] (ilogbl): Likewise.
18808 [non-C99-based standards] (log1pl): Likewise.
18809 [non-C99-based standards] (logbl): Likewise.
18810 [non-C99-based standards] (nextafterl): Likewise.
18811 [non-C99-based standards] (remainderl): Likewise.
18812 [non-C99-based standards] (rintl): Likewise.
18813 [non-C99-based standards] (scalbl): Likewise.
18814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18815 [non-C99-based standards] (FP_*): Do not allow.
18816 [C99-based standards] (FP_*): Change to
18817 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18818 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18819 allow.
18820 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18821 (SIG_ERR): Likewise.
18822 [X/Open-based standards] (SIG_HOLD): Likewise.
18823 (SIG_IGN): Likewise.
18824 (SIGABRT): Use macro-int-constant. Specify type. Require
18825 positive value.
18826 (SIGFPE): Likewise.
18827 (SIGILL): Likewise.
18828 (SIGINT): Likewise.
18829 (SIGSEGV): Likewise.
18830 (SIGTER): Likewise.
18831 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18832 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18833 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18834 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18835 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18836 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18837 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18838 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18839 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18840 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18841 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18842 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18843 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18844 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18845 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18846 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18847 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18848 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18849 [X/Open-based standards] (SIGTRAP): Likewise.
18850 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18851 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18852 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18853 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18854 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18855 allow.
18856
b9f1922d
IW
188572012-05-08 Ian Wienand <ianw@vmware.com>
18858
18859 [BZ #14080]
18860 * time/tzset.c (__tzset_parse_tz): Update default rules for
18861 daylight time changes in the Energy Policy Act of 2005.
18862
1db86e88
AJ
188632012-05-09 Andreas Jaeger <aj@suse.de>
18864
18865 [BZ #13983]
18866 * elf/ldconfig.c (parse_conf): Change string to make clear that
18867 ldconfig only issued a warning if ld.so.conf does not exist.
18868
dee4a4e3
DM
188692012-05-08 David S. Miller <davem@davemloft.net>
18870
ee0db190
DM
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18872 movxtod instead of popping the value on the stack.
18873
dee4a4e3
DM
18874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18875
6a43ec98
CD
188762012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18877
18878 * config.h.in: Add HAVE_ARM_PCS_VFP.
18879
05c2c961
RMG
188802012-05-08 Roland Mc Grath <roland@hack.frob.com>
18881
bcfe3a54
ST
18882 [BZ #13979]
18883 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18884 checking but the checks are disabled for any reason.
05c2c961 18885
4b30f61a
L
188862012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18887
18888 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18889 and ELF64_R_TYPE with ELFW(R_TYPE).
18890
eee2bc67
JM
188912012-05-08 Joseph Myers <joseph@codesourcery.com>
18892
7ea5391a
JM
18893 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18894 (ulimit): Likewise.
18895
eee2bc67
JM
18896 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18897 (settimeofday): Likewise.
18898
abb66a67
MF
188992012-05-08 Mike Frysinger <vapier@gentoo.org>
18900
18901 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18902 a struct th_u2 inside the union, and move tu_block/tu_code into
18903 a new th_u3 union of tu_block/tu_code inside of that. Move
18904 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18905 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18906 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18907 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18908 (th_stuff): Change to th_u1.tu_stuff.
18909 (th_data): Define.
18910 (th_msg): Change to th_u1.th_u2.tu_data.
18911
7f18b530
DM
189122012-05-07 David S. Miller <davem@davemloft.net>
18913
05760585
DM
18914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18915
7f18b530
DM
18916 [BZ #14074]
18917 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18918 (SETUP_PIC_REG): Use it.
18919 (SETUP_PIC_REG_LEAF): Use it.
18920
495fd99f
JM
189212012-05-07 Joseph Myers <joseph@codesourcery.com>
18922
18923 [BZ #13885]
18924 [BZ #13923]
18925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18926 USE_AS_EXPM1L.
18927 (EXPL_FINITE): Likewise.
18928 (FLDLOG): Likewise.
18929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18930 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18931 e_expl.S.
18932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18933 USE_AS_EXPM1L.
18934 (EXPL_FINITE): Likewise.
18935 (FLDLOG): Likewise.
18936 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18937 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18938 e_expl.S.
18939 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18940 test of -max_value argument for long double.
18941 * sysdeps/i386/fpu/libm-test-ulps: Update.
18942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18943
6693d694
DM
189442012-05-06 David S. Miller <davem@davemloft.net>
18945
18946 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18947 quad soft-float symbols whose references which are compiler
18948 generated.
18949 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18950
6c23e11c
JM
189512012-05-06 Joseph Myers <joseph@codesourcery.com>
18952
d8b82cad
JM
18953 [BZ #13884]
18954 [BZ #13914]
18955 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18956 USE_AS_EXP10L.
18957 (EXPL_FINITE): Likewise.
18958 (FLDLOG): Likewise.
18959 (c0): Likewise.
18960 (c1): Likewise.
18961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18962 Adjust comments for base varying.
18963 (__expl_finite): Change alias to EXPL_FINITE.
18964 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18965 e_expl.S.
18966 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18967 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18969 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18971 USE_AS_EXP10L.
18972 (EXPL_FINITE): Likewise.
18973 (FLDLOG): Likewise.
18974 (c0): Likewise.
18975 (c1): Likewise.
18976 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18977 Adjust comments for base varying.
18978 (__expl_finite): Change alias to EXPL_FINITE.
18979 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18980 tests for bugs.
18981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18982
6c23e11c
JM
18983 [BZ #14064]
18984 * math/libm-test.inc (check_float_internal): Correct ulp
18985 calculation for subnormal expected results.
18986
29ba805c
AJ
189872012-05-06 Andreas Jaeger <aj@suse.de>
18988
18989 * Makeconfig (+math-flags): New, set to -frounding-math.
18990 (+cflags): Add +math-flags so that all of glibc gets compiled with
18991 it.
18992
18993 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18994
7b17aeda
JM
189952012-05-05 Joseph Myers <joseph@codesourcery.com>
18996
5779f134
JM
18997 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18998 Disable one test.
18999
41498f4d
JM
19000 [BZ #13787]
19001 [BZ #13922]
19002 [BZ #14036]
19003 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19004 (__ieee754_expl): Allow for and saturate large arguments.
19005 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19006 (u_threshold): Likewise.
19007 (__exp): Call __ieee754_exp before checking for overflow and
19008 underflow.
19009 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19010 (u_threshold): Likewise.
19011 (__expf): Call __ieee754_expf before checking for overflow and
19012 underflow.
19013 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19014 (u_threshold): Likewise.
19015 (__expl): Call __ieee754_expl before checking for overflow and
19016 underflow.
19017 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19018 (__ieee754_expl): Allow for and saturate large arguments.
19019 * math/libm-test.inc (exp_test): Add another test. Do not allow
19020 missing overflow exception on overflow.
19021 (expm1_test): Do not allow missing overflow exception on overflow.
19022
6698b8bf
JM
19023 * sysdeps/i386/fpu/e_expl.c: Move to ...
19024 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19025 rather than using inline asm.
19026 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19027 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19028 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19029
7b17aeda
JM
19030 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19031 (nice): Likewise.
19032 (poll): Likewise.
19033 (signal): Likewise.
19034 (time): Likewise.
19035 (times): Likewise.
19036
f7c85819
JM
190372012-05-04 Joseph Myers <joseph@codesourcery.com>
19038
19039 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19040 sysdeps/unix/common/syscalls.list.
19041 (fchmod): Likewise.
19042 (fchown): Likewise.
19043 (ftruncate): Likewise.
19044 (getrusage): Likewise.
19045 (gettimeofday): Likewise.
19046 (setpgid): Likewise.
19047 (setregid): Likewise.
19048 (setreuid): Likewise.
19049 (sigaction): Likewise.
19050 (truncate): Likewise.
19051 (vhangup): Likewise.
19052 * sysdeps/unix/common/syscalls.list: Remove file.
19053 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19054 * sysdeps/unix/sysv/linux/Implies: Likewise.
19055
336270d0
L
190562012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19057
19058 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19060 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19061 Moved to ...
19062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19063 Here.
19064 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19065 to ...
19066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19067 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19068 to ...
19069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19070 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19071 to ...
19072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19074 to ...
19075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19076 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19077 to ...
19078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19079 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19080 to ...
19081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19082 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19083 to ...
19084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19085 Here.
19086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19087 to ...
19088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19089 Here.
19090 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19091 to ...
19092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19093 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19094 Moved to ...
19095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19096 Here.
19097 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19098 to ...
19099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19100
d128e450
JM
191012012-05-04 Joseph Myers <joseph@codesourcery.com>
19102
fa8ee516
JM
19103 * sysdeps/unix/common/bits/dirent.h: Remove file.
19104 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19105
d128e450
JM
19106 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19107 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19108 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19109 * sysdeps/unix/bsd/isatty.c: Likewise.
19110 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19111 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19112 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19113
ff8faaf0 191142012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19115
62881be4 19116 [BZ #13563]
31dc8730
AZ
19117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19118 long double comparison inaccuracies.
19119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19121
6fef930c
AS
191222012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19123
19124 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19126
8f203e6c
JM
191272012-05-04 Joseph Myers <joseph@codesourcery.com>
19128
19129 [BZ #14049]
19130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19131 nonzero digits before rounding a hex value.
19132 * stdlib/tst-strtod.c (tests): Add another test.
19133
5197d9c2
AK
191342012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19135
19136 * sysdeps/s390/fpu/libm-test-ulps: Update.
19137
f0c1dedf
AJ
191382012-05-03 Andreas Jaeger <aj@suse.de>
19139
19140 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19141 does not get optimized out.
19142 (malloc_opt_barrier): New.
19143
a65ef2ae 191442012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19145 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19146
2b942cb7 19147 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19148 intermediate file deletion.
2b942cb7 19149 (generated): Add .symlist files.
a65ef2ae 19150
54b71e02
JM
191512012-05-03 Joseph Myers <joseph@codesourcery.com>
19152
19153 [BZ #13775]
19154 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19155 Redirect under this condition.
19156 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19157 [__USE_GNU] (__dprintf_chk): Not under this condition.
19158 [__USE_GNU] (__vdprintf_chk): Likewise.
19159 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19160 under this condition.
19161 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19162 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19163 [__USE_XOPEN2K8] (vdprintf): Likewise.
19164 [__USE_GNU] (__dprintf_chk): Not under this condition.
19165 [__USE_GNU] (__vdprintf_chk): Likewise.
19166 [__USE_GNU] (dprintf): Likewise.
19167 [__USE_GNU] (vdprintf): Likewise.
19168
d3dfcc41
RM
191692012-05-03 Roland McGrath <roland@hack.frob.com>
19170
19171 * elf/Makefile (common-generated): Set this instead of generated for
19172 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19173 $(all-built-dso)-derived lists.
19174
7ac30cc5
AJ
191752012-05-03 Andreas Jaeger <aj@suse.de>
19176
0c51e550
AJ
19177 * sysdeps/i386/fpu/libm-test-ulps: Update.
19178
7ac30cc5
AJ
19179 * FAQ: Removed.
19180 * FAQ.in: Likewise.
19181 * scripts/gen-FAQ.pl: Likewise.
19182 * manual/install.texi (Installation): Point to online location of
19183 FAQ.
19184 * Makefile (files-for-dist): Remove FAQ.
19185 (FAQ): Remove.
19186
d4c2917f
AM
191872012-05-02 Allan McRae <allan@archlinux.org>
19188
19189 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19190 (LDFLAGS-reldepmod5.so): Likewise.
19191 (LDFLAGS-reldep6mod1.so): Likewise.
19192 (LDFLAGS-reldep6mod4.so): Likewise.
19193 (LDFLAGS-reldep8mod3.so): Likewise.
19194 (LDFLAGS-unload4mod1.so): Likewise.
19195 (LDFLAGS-unload4mod2.so): Likewise.
19196 (LDFLAGS-tst-initorder): Likewise.
19197 (LDFLAGS-tst-initordera2.so): Likewise.
19198 (LDFLAGS-tst-initordera3.so): Likewise.
19199 (LDFLAGS-tst-initordera4.so): Likewise.
19200 (LDFLAGS-tst-initorderb2.so): Likewise.
19201 (LDFLAGS-noload): Likewise.
19202 (LDFLAGS-next): Likewise.
19203 (LDFLAGS-order2mod1.so): Likewise.
19204 (LDFLAGS-order2mod2.so): Likewise.
19205 (LDFLAGS-tst-initorder2): Likewise.
19206 (LDFLAGS-tst-initorder2a.so): Likewise.
19207 (LDFLAGS-tst-initorder2b.so): Likewise.
19208 (LDFLAGS-tst-initorder2c.so): Likewise.
19209 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19210
d77f993f
DM
192112012-05-02 David S. Miller <davem@davemloft.net>
19212
19213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19214
171a70b4
PP
192152012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19216
19217 [BZ #14055]
19218 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19219
0be196ad
AJ
192202012-05-02 Andreas Jaeger <aj@suse.de>
19221
19222 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19223 since we manipulate rounding mode.
19224 (CPPFLAGS-test-idouble.c): Likewise.
19225 (CPPFLAGS-test-ifloat.c): Likewise.
19226 (CFLAGS-test-ldouble.c): Likewise.
19227 (CFLAGS-test-double.c): Likewise.
19228 (CFLAGS-test-float.c): Likewise.
19229 (CFLAGS-test-misc.c): Likewise.
19230 (CFLAGS-test-test-fenv.c): Likewise.
19231
4f9d04aa
AZ
192322012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19233
2b942cb7
RM
19234 [BZ #2550]
19235 [BZ #2570]
19236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19237 comparisons to determine direction to adjust input.
4f9d04aa 19238
82a79e7d
RM
192392012-05-01 Roland McGrath <roland@hack.frob.com>
19240
f5a01ca9
RM
19241 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19242 output to the target.
19243
90fe4186
RM
19244 * scripts/localplt.awk: New file.
19245 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19246 (check-localplt-CFLAGS): Variable removed.
19247 ($(all-built-dso:=.jmprel)): New static pattern rule.
19248 (generated): Add those targets.
19249 (localplt-built-dso): New variable.
19250 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19251
19252 * elf/check-localplt.c: File removed.
19253
82397ed6
RM
19254 * scripts/check-execstack.awk: New file.
19255 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19256 (check-execstack-CFLAGS): Variable removed.
19257 ($(objpfx)check-execstack.h): Target removed.
19258 ($(objpfx)execstack-default): New target.
19259 (generated): Add that instead of check-execstack.h.
19260 ($(all-built-dso:=.phdr)): New static pattern rule.
19261 (generated): Add those targets.
19262 * elf/check-execstack.c: File removed.
19263
82a79e7d
RM
19264 * scripts/check-textrel.awk: New file.
19265 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19266 (check-textrel-CFLAGS): Variable removed.
19267 (all-built-dso): Use := to define.o
19268 ($(all-built-dso:=.dyn)): New static pattern rule.
19269 (generated): Add those targets.
19270 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19271 * config.make.in (READELF): New substituted variable.
19272 * elf/check-textrel.c: File removed.
19273
62fde54f 192742012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19275
615605c9
JM
19276 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19277 allow.
19278 * conform/data/ctype.h-data [C99-based standards] (isblank):
19279 Expect function.
19280 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19281 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19283 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19284 Specify type. Require positive value.
19285 (EILSEQ): Likewise.
19286 (ERANGE): Likewise.
19287 [ISO || POSIX] (EILSEQ): Do not expect.
19288 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19289 Specify type. Require positive value.
19290 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19295 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19303 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19315 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19316 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19317 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19318 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19321 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19322 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19323 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19324 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19326 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19327 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19328 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19329 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19330 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19331 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19332 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19333 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19348 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19349 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19350 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19351 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19355 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19356 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19357 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19358 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19359 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19360 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19361 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19362 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19363 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19364 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19365 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19366 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19367 Require >= 2.
19368 (FLT_ROUNDS): Expect as macro, not constant.
19369 (FLT_MANT_DIG): Use macro-int-constant.
19370 (DBL_MANT_DIG): Likewise.
19371 (LDBL_MANT_DIG): Likewise.
19372 (FLT_DIG): Likewise.
19373 (DBL_DIG): Likewise.
19374 (LDBL_DIG): Likewise.
19375 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19376 (DBL_MIN_EXP): Likewise.
19377 (LDBL_MIN_EXP): Likewise.
19378 (FLT_MAX_EXP): Use macro-int-constant.
19379 (DBL_MAX_EXP): Likewise.
19380 (LDBL_MAX_EXP): Likewise.
19381 (FLT_MAX_10_EXP): Likewise.
19382 (DBL_MAX_10_EXP): Likewise.
19383 (LDBL_MAX_10_EXP): Likewise.
19384 (FLT_MAX): Use macro-constant.
19385 (DBL_MAX): Likewise.
19386 (LDBL_MAX): Likewise.
19387 (FLT_EPSILON): Use macro-constant. Give upper bound.
19388 (DBL_EPSILON): Likewise.
19389 (LDBL_EPSILON): Likewise.
19390 (FLT_MIN): Likewise.
19391 (DBL_MIN): Likewise.
19392 (LDBL_MIN): Likewise.
19393 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19394 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19395 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19396 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19397 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19398 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19399 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19400 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19401 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19402 [ISO11] (FLT_TRUE_MIN): Likewise.
19403 [ISO11] (LDBL_TRUE_MIN): Likewise.
19404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19405 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19406 (SCHAR_MIN): Use macro-int-constant. Specify type.
19407 (SCHAR_MAX): Likewise.
19408 (UCHAR_MAX): Likewise.
19409 (CHAR_MIN): Likewise.
19410 (CHAR_MAX): Likewise.
19411 (MB_LEN_MAX): Use macro-int-constant.
19412 (SHRT_MIN): Use macro-int-constant. Specify type.
19413 (SHRT_MAX): Likewise.
19414 (USHRT_MAX): Likewise.
19415 (INT_MAX): Likewise.
19416 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19417 bound negative.
19418 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19419 bound with "U".
19420 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19421 bound with "L".
19422 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19423 bound negative. Suffix upper bound with "L".
19424 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19425 bound with "UL".
19426 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19427 Specify type.
19428 [C99-based standards] (LLONG_MAX): Likewise.
19429 [C99-based standards] (ULLONG_MAX): Likewise.
19430 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19431 == 0.
19432 [ISO11] (max_align_t): Require type.
19433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19434
c9140a62
JM
19435 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19436 from $CFLAGS, without defining away __attribute__ calls.
19437 (checknamespace): Use $CFLAGS_namespace.
19438
9af0bf29
JM
19439 * conform/conformtest.pl (@keywords): Only include C99 keywords
19440 for standards based on C99 or C11.
19441
343222a2
JM
19442 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19443 Disable tests.
19444 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19445 UNIX98]: Likewise.
19446
661f8cf0
JM
19447 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19448 usability of symbols in #if.
19449
ee74b9cb
JM
19450 * conform/conformtest.pl: If macro or constant types start
19451 "promoted:", expect the symbol to be of the following type
19452 promoted by the integer promotions.
62fde54f 19453
aafc49b3
JM
19454 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19455 in one place. Also handle "macro-constant".
19456
fefdf574
JM
19457 * conform/conformtest.pl: Only accept expected macro values with
19458 "==". Parse all "macro" lines in one place.
19459 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19460
f2d922fe
JM
19461 * conform/conformtest.pl: Handle braced types on "constant" lines
19462 instead of handling "typed-constant".
19463 * conform/data/signal.h-data: Use "constant" instead of
19464 "typed-constant".
19465
d22956c9
JM
19466 * conform/conformtest.pl: Handle "optional-" at start of lines in
19467 one place rather than duplicating several cases. Handle each
19468 format of "macro" line with initial "optional-".
19469
028e2e38
JM
19470 * conform/conformtest.pl: Only accept expected constant or
19471 optional-constant values with "==". Parse all "constant" lines in
19472 one place. Parse all "optional-constant" lines in one place.
19473 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19474 * conform/data/fmtmsg.h-data: Likewise.
19475 * conform/data/netinet/in.h-data: Likewise.
19476 * conform/data/tar.h-data: Likewise.
19477 * conform/data/limits.h-data: Use "==" form on "constant" and
19478 "optional-constant" lines.
19479
1b8f2850
JM
19480 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19481 Use -std=c99 for XOPEN2K.
19482 (@knownproblems): Remove.
19483 (newtoken): Don't check %isknown.
19484
a05a144b
JM
19485 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19486 Do not expect macro.
19487 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19499 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19500 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19517 [XPG3] (acosh): Likewise.
19518 [XPG3] (asinh): Likewise.
19519 [XPG3] (atanh): Likewise.
19520 [XPG3] (cbrt): Likewise.
19521 [XPG3] (expm1): Likewise.
19522 [XPG3] (ilogb): Likewise.
19523 [XPG3] (log1p): Likewise.
19524 [XPG3] (logb): Likewise.
19525 [XPG3] (nextafter): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19528 [XPG3] (remainder): Likewise.
19529 [XPG3] (rint): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19537 [UNIX98 || XOPEN2K] (scalb): Expect.
19538 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19539 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19675
73c5ebe3
JM
19676 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19677 _XOPEN_SOURCE_EXTENDED for XPG4.
19678
39c33b6c
JM
19679 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19680
62fde54f
JM
19681 * Makeconfig (localtime): Remove variable.
19682 (inst_localtime-file): Likewise.
19683
0741d64c
AS
196842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19685
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19687 Update.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19689 Update.
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19691 Update.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19693 Update.
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19695 Update.
19696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19697 Update.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19699 Update.
19700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19701 Update.
19702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19703 Update.
19704
7cb029ee
JM
197052012-05-01 Joseph Myers <joseph@codesourcery.com>
19706
19707 [BZ #2550]
19708 [BZ #2570]
19709 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19710 comparisons to determine direction to adjust input.
19711 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19712 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19714 Likewise.
19715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19716 Likewise.
19717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19718 Likewise.
19719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19721 Likewise.
19722 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19723 Likewise.
19724 * math/libm-test.inc (nexttoward_test): Add more tests.
19725
412bd966
AS
197262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19727
19728 [BZ #14040]
19729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19730 in version GLIBC_2.1, not GLIBC_2.0.
19731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19732 Likewise.
19733
9568c0c2
JM
197342012-04-30 Joseph Myers <joseph@codesourcery.com>
19735
adfbc8ac
JM
19736 [BZ #13942]
19737 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19738 (1 - x) * (1 + x).
19739 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19740 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19741 * math/libm-test.inc (acos_test): Add more tests.
19742 (asin_test): Likewise.
19743 * sysdeps/i386/fpu/libm-test-ulps: Update.
19744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19745
5ba3cc69
JM
19746 [BZ #14034]
19747 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19748 of square root.
19749 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19750 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19751 * math/libm-test.inc (acos_test_tonearest): New function.
19752 (acos_test_towardzero): Likewise.
19753 (acos_test_downward): Likewise.
19754 (acos_test_upward): Likewise.
19755 (asin_test_tonearest): Likewise.
19756 (asin_test_towardzero): Likewise.
19757 (asin_test_downward): Likewise.
19758 (asin_test_upward): Likewise.
19759 (main): Call the new functions.
19760 * sysdeps/i386/fpu/libm-test-ulps: Update.
19761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19762
9568c0c2
JM
19763 [BZ #13884]
19764 [BZ #13924]
19765 * math/e_exp10.c: Include <float.h>.
19766 (__ieee754_exp10): Handle underflow here rather than multiplying
19767 large negative argument by M_LN10.
19768 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19769 of __ieee754_expf.
19770 * math/e_exp10l.c: Include <float.h>.
19771 (__ieee754_exp10l): Handle underflow here rather than multiplying
19772 large negative argument by M_LN10l.
19773 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19774 spurious overflow exception on underflow.
19775
5ac3ea17
MP
197762012-04-29 Marek Polacek <polacek@redhat.com>
19777
19778 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19779 (__fortify_function): New macro.
19780 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19781 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19782 __extern_always_inline.
19783 * libio/bits/stdio2.h: Likewise.
19784 * libio/bits/stdio.h: Likewise.
19785 * string/string.h: Likewise.
19786 * string/bits/string3.h: Likewise.
19787 * include/stdio.h: Likewise.
19788 * stdlib/bits/stdlib.h: Likewise.
19789 * stdlib/stdlib.h: Likewise.
19790 * rt/bits/mqueue2.h: Likewise.
19791 * rt/mqueue.h: Likewise.
19792 * posix/bits/unistd.h: Likewise.
19793 * posix/unistd.h: Likewise.
19794 * io/bits/poll2.h: Likewise.
19795 * io/bits/fcntl2.h: Likewise.
19796 * io/fcntl.h: Likewise.
19797 * io/sys/poll.h: Likewise.
19798 * misc/bits/syslog.h: Likewise.
19799 * misc/bits/syslog-ldbl.h: Likewise.
19800 * misc/sys/syslog.h: Likewise.
19801 * socket/bits/socket2.h: Likewise.
19802 * socket/sys/socket.h: Likewise.
19803 * debug/tst-chk1.c: Likewise.
19804 * wcsmbs/bits/wchar2.h: Likewise.
19805 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19806 * wcsmbs/wchar.h: Likewise.
19807
ecf0ebfb
AJ
198082012-04-29 Andreas Jaeger <aj@suse.de>
19809
19810 * Makerules (tests): Remove enable-check-abi protection.
19811 (check-abi-warn): Remove.
19812 (check-abi-%): Remove check-abi-warn usage.
19813
19814 * configure.in: Remove check-abi configure option.
19815 * configure: Regenerated.
19816 * config.make.in (enable-check-abi): Remove.
19817
6d5c57fa
AS
198182012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19819
24c5d07e 19820 [BZ #14033]
ded5180a
AS
19821 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19822 double functions to double *_finite functions.
19823
7e0d315d
AS
19824 [BZ #13941]
19825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19826 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19827 LDBL_MIN_EXP.
19828 * stdio-common/Makefile (tests): Add tst-sprintf3.
19829 * stdio-common/tst-sprintf3.c: New file.
19830
6d5c57fa
AS
19831 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19832 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19833
0749ff8b
JM
198342012-04-28 Joseph Myers <joseph@codesourcery.com>
19835
19836 * conform/conformtest.pl: Remove duplicate typed-constant
19837 handling.
19838
8dbd5d7b
DM
198392012-04-28 David S. Miller <davem@davemloft.net>
19840
19841 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19842 (check-abi-%): Remove AWK script prerequisite and explicit
19843 abilist directory.
19844 (check-abi): Rewrite to just diff the symlist with the abilist.
19845 (config-tls, config-abi-config): Delete, no longer used.
19846 (update-abi-%): Remove AWK script and explicit abilist directory.
19847 (update-abi): Rewrite to simply compare and conditionally copy the
19848 symlist and the sysdep abilist file. Remove update-abi-config
19849 checks.
19850 * abilist/ld.abilist: Remove.
19851 * abilist/libBrokenLocale.abilist: Remove.
19852 * abilist/libanl.abilist: Remove.
19853 * abilist/libcrypt.abilist: Remove.
19854 * abilist/libdl.abilist: Remove.
19855 * abilist/librt.abilist: Remove.
19856 * abilist/libthread_db.abilist: Remove.
19857 * abilist/libutil.abilist: Remove.
19858 * scripts/extract-abilist.awk: Remove.
19859 * scripts/merge-abilist.awk: Remove.
19860 * sysdeps/generic/libcidn.abilist: New file.
19861 * sysdeps/generic/libnss_compat.abilist: New file.
19862 * sysdeps/generic/libnss_db.abilist: New file.
19863 * sysdeps/generic/libnss_dns.abilist: New file.
19864 * sysdeps/generic/libnss_files.abilist: New file.
19865 * sysdeps/generic/libnss_hesiod.abilist: New file.
19866 * sysdeps/generic/libnss_nis.abilist: New file.
19867 * sysdeps/generic/libnss_nisplus.abilist: New file.
19868 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19869 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19870 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19871 file.
19872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19873 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19874 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19875 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19876 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19877 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19878 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19879 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19880 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19881 file.
19882 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19883 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19884 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19885 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19886 file.
19887 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19888 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19889 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19890 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19891 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19892 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19893 file.
19894 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19895 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19896 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19897 file.
19898 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19900 New file.
19901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19902 New file.
19903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19904 New file.
19905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19906 New file.
19907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19908 New file.
19909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19910 New file.
19911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19912 New file.
19913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19914 New file.
19915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19916 New file.
19917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19918 New file.
19919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19920 New file.
19921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19922 New file.
19923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19924 New file.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19926 file.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19928 New file.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19930 New file.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19932 file.
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19934 New file.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19936 New file.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19938 file.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19940 New file.
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19942 New file.
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19944 New file.
19945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19946 New file.
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19948 New file.
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19950 New file.
19951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19953 file.
19954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19955 New file.
19956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19957 file.
19958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19959 file.
19960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19961 file.
19962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19963 file.
19964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19965 file.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19967 New file.
19968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19969 file.
19970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19971 file.
19972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19973 New file.
19974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19975 file.
19976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19978 file.
19979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19980 New file.
19981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19982 file.
19983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19984 file.
19985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19986 file.
19987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19988 file.
19989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19990 file.
19991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19992 New file.
19993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19994 file.
19995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19996 file.
19997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19998 New file.
19999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20000 file.
20001 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20002 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20003 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20004 file.
20005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20006 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20007 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20008 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20009 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20010 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20011 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20012 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20013 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20014 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20017 file.
20018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20019 New file.
20020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20021 file.
20022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20023 file.
20024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20025 file.
20026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20027 file.
20028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20029 file.
20030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20031 New file.
20032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20033 New file.
20034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20035 file.
20036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20037 New file.
20038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20039 file.
20040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20042 file.
20043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20044 New file.
20045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20046 file.
20047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20048 file.
20049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20050 file.
20051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20052 file.
20053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20054 file.
20055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20056 New file.
20057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20058 New file.
20059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20060 file.
20061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20062 New file.
20063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20064 file.
20065
41d73a1b
JM
200662012-04-28 Joseph Myers <joseph@codesourcery.com>
20067
20068 * conform/conformtest.pl: Fix typo in handling typed-constant from
20069 allow-header.
20070
28aeeda4
JM
200712012-04-27 Joseph Myers <joseph@codesourcery.com>
20072
adae8f5e
JM
20073 * README: Cut down references to pre-2.6 Linux kernels and
20074 Linuxthreads. Update lists of configurations in libc and ports
20075 and sort alphabetically. Say "or newer" with Linux kernel version
20076 requirements.
20077
28aeeda4
JM
20078 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20079
a462cb63
RA
200802012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20081
20082 [BZ #887]
20083 * math/libm-test.inc (logb_test_downward): New test to expose
20084 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20085 rounding mode.
20086
6ad3493e
JM
200872012-04-27 Joseph Myers <joseph@codesourcery.com>
20088
20089 [BZ #14027]
20090 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20091 to be done.
20092 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20093 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20094
2ce4f015
JM
200952012-04-26 Joseph Myers <joseph@codesourcery.com>
20096
5aeb141a
JM
20097 * sysdeps/unix/i386/brk.S: Remove file.
20098 * sysdeps/unix/i386/dl-brk.S: Likewise.
20099 * sysdeps/unix/i386/pipe.S: Likewise.
20100 * sysdeps/unix/i386/sigreturn.S: Likewise.
20101 * sysdeps/unix/i386/syscall.S: Likewise.
20102 * sysdeps/unix/i386/vfork.S: Likewise.
20103 * sysdeps/unix/i386/wait.S: Likewise.
20104
7143acae
JM
20105 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20106 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20107
2ce4f015
JM
20108 * configure.in (arm*-none*): Do not allow without
20109 --enable-hacker-mode.
20110 (netbsd*): Remove case setting base_os.
20111 (386bsd*): Likewise.
20112 (freebsd*): Likewise.
20113 (bsdi*): Likewise.
20114 (osf*): Likewise.
20115 (sunos*): Likewise.
20116 (ultrix*): Likewise.
20117 (newsos*): Likewise.
20118 (dynix*): Likewise.
20119 (*bsd*): Likewise.
20120 (sysv*): Likewise.
20121 (isc*): Likewise.
20122 (esix*): Likewise.
20123 (sco*): Likewise.
20124 (minix*): Likewise.
20125 (irix4*): Likewise.
20126 (irix6*): Likewise.
20127 (solaris[2-9]*): Likewise.
20128 (none): Likewise.
20129 * configure: Regenerated.
20130
0ac229c8
AZ
201312012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20132
20133 [BZ #11521]
20134 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20135 overflow or cancellation in calculating denominator.
20136 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20138 down expression to avoid unexpected rounding in newer GCCs.
20139 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20140
33f244f4
DM
201412012-04-26 David S. Miller <davem@davemloft.net>
20142
20143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20144 long-double compat symbols.
20145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20158
cfa1f3e8
DM
201592012-04-25 David S. Miller <davem@davemloft.net>
20160
20161 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20162 HWCAP_* values only after the memory barriers have been defined.
20163 (atomic_full_barrier): Define.
20164 (atomic_read_barrier): Define.
20165 (atomic_write_barrier): Define.
20166
6e236b92
SP
201672012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20168
20169 * shlib-versions: Add libgcc_s version information.
20170 * sysdeps/generic/libgcc_s.h: Remove.
20171 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20172 libgcc_s.h.
20173 * sysdeps/gnu/unwind-resume.c: Likewise.
20174 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20175
aab39a09
DM
201762012-04-25 David S. Miller <davem@davemloft.net>
20177
20178 * sysdeps/unix/sparc/brk.S: Delete.
20179 * sysdeps/unix/sparc/dl-brk.S: Delete.
20180 * sysdeps/unix/sparc/pipe.S: Delete.
20181 * sysdeps/unix/sparc/sysdep.S: Delete.
20182 * sysdeps/unix/sparc/sysdep.h: Delete.
20183 * sysdeps/unix/sparc/vfork.S: Delete.
20184 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20185 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20186 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20187 ret_ERRVAL, r0, r1, MOVE): Define.
20188 (JUMPTARGET): Remove.
20189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20190 sysdeps/unix/sparc/sysdep.h
20191 (ENTRY, END): Remove.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20193
a3cc4f48
JM
201942012-04-25 Joseph Myers <joseph@codesourcery.com>
20195
2ed8cda2
JM
20196 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20197 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20198 -DIS_IN_build.
20199
35d76d59
JM
20200 * timezone/README: Update upstream location and email address for
20201 tzcode and tzdata.
20202 * timezone/zdump.c: Update from tzcode 2012b.
20203 * timezone/zic.c: Likewise.
20204
a3cc4f48
JM
20205 * configure.in (libc_cv_as_needed): Remove test.
20206 * configure: Regenerated.
20207 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20208 conditional definition.
20209 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20210 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20211 * config.make.in (have-as-needed): Remove variable.
20212
ceab42c3
SP
202132012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 Paul Pluzhnikov <ppluzhnikov@google.com>
20215
20216 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20217 strings correctly.
20218
3ce2865f
CLT
202192012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20220
20221 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20222 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20223 * sysdeps/sh/strlen.S: Likewise.
20224
f37e0d68
JM
202252012-04-24 Joseph Myers <joseph@codesourcery.com>
20226
ae186e9a
JM
20227 * sysdeps/unix/fork.S: Remove file.
20228 * sysdeps/unix/i386/fork.S: Likewise.
20229 * sysdeps/unix/sparc/fork.S: Likewise.
20230
b96914af
JM
20231 * sysdeps/unix/system.c: Remove file.
20232 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20233
f37e0d68
JM
20234 * sysdeps/unix/getegid.S: Remove file.
20235 * sysdeps/unix/geteuid.S: Likewise.
20236
87ef29ca
RM
202372012-04-24 Roland McGrath <roland@hack.frob.com>
20238
83bcd236
RM
20239 * scripts/check-localplt.awk: New file.
20240 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20241 of diff.
20242 * scripts/data/localplt-generic.data: Add a comment.
20243
87ef29ca
RM
20244 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20245 NODE when __dir_mkfile failed.
20246 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20247 Reported by Ludovic Courtès <ludo@gnu.org>.
20248
e5a6e567
AJ
202492012-04-24 Andreas Jaeger <aj@suse.de>
20250
20251 * Makerules (common-clean): Also remove gen-as-const-headers
20252 files.
20253
c1820385
JM
202542012-04-24 Joseph Myers <joseph@codesourcery.com>
20255
20256 * Makerules (native-compile): Do not change working directory for
20257 build. Use $(OUTPUT_OPTION) in command.
20258 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20259
94e02fc4
AZ
202602012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20261
20262 [BZ #13886]
20263 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20264 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20265 * math/libm-test.inc (floor_test): Add more tests.
20266 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20267
3a533ca3
JM
202682012-04-24 Joseph Myers <joseph@codesourcery.com>
20269
940ab4b3
JM
20270 * sysdeps/unix/getdents.c: Remove file.
20271 * sysdeps/unix/sysv/getdents.c: Likewise.
20272 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20273
90e037bd
JM
20274 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20275 sysdeps/unix/mman/syscalls.list.
20276 (mmap): Likewise.
20277 (mprotect): Likewise.
20278 (msync): Likewise.
20279 (munmap): Likewise.
20280 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20281 * sysdeps/unix/mman/syscalls.list: Remove.
20282 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20283
3a533ca3
JM
20284 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20285 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20286 * configure: Regenerated.
20287 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20288 $(libgcc_s_suffix).
20289 * config.make.in (libgcc_s_suffix): Remove variable.
20290
1ad743de
JM
202912012-04-23 Joseph Myers <joseph@codesourcery.com>
20292
4ad451e2
JM
20293 * sysdeps/unix/sysv/gethostname.c: Move to ...
20294 * sysdeps/posix/gethostname.c: ... here.
20295
5e37ce39
JM
20296 * sysdeps/unix/execve.S: Remove file.
20297
1ad743de
JM
20298 * sysdeps/unix/_exit.S: Remove file.
20299
4e681b5b
AJ
203002012-04-23 Andreas Jaeger <aj@suse.de>
20301
20302 [BZ #13739]
20303 * manual/Makefile: Remove make dist support, there's no
20304 need for a stand-alone documentation tar ball.
20305 (TEXI2DVI): Define always, it's not in Makeconfig.
20306 (dist): Removed.
20307 (tar-it): Removed.
20308 (edition): Removed.
20309 (glibc-doc-$(edition).tar): Removed
20310 (%.Z): Removed.
20311 (%.gz): Removed.
20312 (%.uu): Removed.
20313 (ETAGS): Remove, it's in Makeconfig.
20314 (move-if-change): Remove, it's in Makeconfig.
20315
38686a03 203162012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20317
20318 [BZ #13970]
20319 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20320 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20321 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20322 (strtod_l, strtof_l, strtold_l): Remove __wur.
20323 It is not necessarily an error to ignore strtol's return value.
20324 One can reliably look at the stored endptr to decide whether
20325 the number had valid syntax.
20326
7c0616fa
AJ
203272012-04-21 Andreas Jaeger <aj@suse.de>
20328
803cb6b7 20329 [BZ #13739]
7c0616fa
AJ
20330 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20331
b0fe253f
JM
203322012-04-21 Joseph Myers <joseph@codesourcery.com>
20333
20334 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20335 * sysdeps/unix/sysv/Versions: Remove file.
20336
8280f22d
MT
203372012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20338
20339 [BZ #13927]
20340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20341
75ce411f 203422012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20343
20344 [BZ #7064]
20345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20346 version from __vm86.
20347
097d59fa
JM
203482012-04-20 Joseph Myers <joseph@codesourcery.com>
20349
a90f3bcb
JM
20350 * sysdeps/unix/common/lxstat.c: Remove file.
20351 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20352
edc7ea78
JM
20353 * sysdeps/unix/sysv/Makefile: Remove file.
20354
cb78c221
JM
20355 * sysdeps/unix/sysv/direct.h: Remove file.
20356
efa6a45f
JM
20357 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20358 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20359 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20360 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20361 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20362 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20363 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20364
9c9f2d0c
JM
20365 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20366
4541c83b
JM
20367 * sysdeps/unix/xmknod.c: Remove file.
20368 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20369
f5d153a0
JM
20370 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20371
aa746595
JM
20372 * sysdeps/unix/sysv/i386/time.S: Remove file.
20373
cce5905e
JM
20374 * sysdeps/unix/fxstat.c: Remove file.
20375 * sysdeps/unix/xstat.c: Likewise.
20376 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20377
37fa3841
JM
20378 * sysdeps/unix/sysv/sigaction.c: Remove file.
20379
ff1962a3
JM
20380 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20381 (sysdep_headers): Remove variable.
20382 [termio.h not in sysdep_headers] (generated): Likewise.
20383 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20384 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20385 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20386 * sysdeps/unix/sysv/tcflow.c: Likewise.
20387 * sysdeps/unix/sysv/tcflush.c: Likewise.
20388 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20389 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20390 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20391 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20392 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20393
e7740d31
JM
20394 * sysdeps/unix/siglist.c: Remove file.
20395
ee06f18b
JM
20396 * sysdeps/unix/getppid.S: Remove file.
20397
097d59fa
JM
20398 * sysdeps/unix/mkdir.c: Remove file.
20399 * sysdeps/unix/rmdir.c: Likewise.
20400
ff3d51ec
AS
204012012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20402
20403 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20404 ERR_MAX value.
20405 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20406 errlist-compat value.
20407
50f81fd7
DM
204082012-04-18 David S. Miller <davem@davemloft.net>
20409
20410 * sysdeps/generic/memcopy.h (reg_char): Delete.
20411 * debug/strcat_chk.c: Use char, not reg_char.
20412 * debug/strcpy_chk.c: Likewise.
20413 * debug/strncat_chk.c: Likewise.
20414 * debug/strncpy_chk.c: Likewise.
20415 * string/memchr.c: Likewise.
20416 * string/memrchr.c: Likewise.
20417 * string/rawmemchr.c: Likewise.
20418 * string/strcat.c: Likewise.
20419 * string/strchr.c: Likewise.
20420 * string/strchrnul.c: Likewise.
20421 * string/strcmp.c: Likewise.
20422 * string/strcpy.c: Likewise.
20423 * string/strncat.c: Likewise.
20424 * string/strncmp.c: Likewise.
20425 * string/strncpy.c: Likewise.
20426
8ff41c46
WS
204272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20428
20429 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20430 __builtin_memcopy is called when src and dest ranges are known to not
20431 overlap.
20432
6b652f46
WS
204332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20434
20435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20436 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20437 fwd_align_merge macro call.
20438 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20439 bwd_align_merge macro call.
20440 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20441
b282631e
WS
204422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20443
20444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20445 bwd_align_merge macros.
20446 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20447 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20448 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20449
95aa737c
DM
204502012-04-18 David S. Miller <davem@davemloft.net>
20451
20452 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20453
7a99a614
AJ
204542012-04-18 Andreas Jaeger <aj@suse.de>
20455
20456 [BZ# 6794]
20457 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20458 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20459 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20460
20461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20462 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20463 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20464
20465 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20466 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20467 Adjust for changed ldbl-128 files.
20468
20469 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20470 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20471 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20472
e5270c23
DM
204732012-04-17 David S. Miller <davem@davemloft.net>
20474
20475 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20476
fb5e92c9
AS
204772012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20478
20479 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20480 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20481 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20482 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20483 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20484 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20485
76da7265
AZ
204862012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20487
20488 [BZ #6794]
20489 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20490 * math/libm-test.inc: Add ilogb errno and exception tests.
20491 * math/w_ilogb.c: New file: ilogb wrapper.
20492 * math/w_ilogbf.c: New file: ilogbf wrapper.
20493 * math/w_ilogbl.c: New file: ilogbl wrapper.
20494 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20495 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20496 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20497 exception being thrown with 0.0 as argument.
20498 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20499 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20500 exception being thrown with 0.0 as argument.
20501 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20502 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20503 exception being thrown with 0.0 as argument.
20504 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20505 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20506 exception being thrown with 0.0 as argument.
20507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20508 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20509 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20510 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20511 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20512 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20513 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20514 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20515 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20516
0396e69d
PB
205172012-04-17 Petr Baudis <pasky@ucw.cz>
20518
20519 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20520 with altivec.
20521
750b5926
MP
205222012-04-16 Marek Polacek <polacek@redhat.com>
20523
20524 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20525
751728a1
MP
205262012-04-16 Marek Polacek <polacek@redhat.com>
20527
20528 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20529 operands of fdivp instruction.
20530
34a27407
L
205312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20532
20533 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20534 * elf/tst-auditmod3b.c: Likewise.
20535 * elf/tst-auditmod4b.c: Likewise.
20536 * elf/tst-auditmod5b.c: Likewise.
20537 * elf/tst-auditmod6b.c: Likewise.
20538 * elf/tst-auditmod6c.c: Likewise.
20539 * elf/tst-auditmod7b.c: Likewise.
20540 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20541 * sysdeps/x86_64/preconfigure.in: Likewise.
20542 * sysdeps/x86_64/preconfigure: Regenerated.
20543
7e73e17d
L
205442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20545
20546 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20547 __ILP32__.
20548
c7a6ab72
AB
205492012-04-13 Antoine Balestrat <merkil33@gmail.com>
20550
20551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20552 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20553
a9e8e0e0
CL
205542012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20555
20556 [BZ #13973]
20557 * locale/iso-639.def: Fix gl language name. Spotted by
20558 Yaron Shahrabani.
20559
ec98af7d
RM
205602012-04-12 Roland McGrath <roland@hack.frob.com>
20561
20562 [BZ #2074]
20563 * libio/libio.h (__io_write_fn): Update comment.
20564
247c3ede
PB
205652012-04-12 Petr Baudis <pasky@ucw.cz>
20566
20567 [BZ #2074]
20568 * stdio.texi (Hook Functions): The user provided writer function
20569 is not allowed to return -1.
20570
55939d6d
DM
205712012-04-11 David S. Miller <davem@davemloft.net>
20572
20573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20574
90020f5a
MF
205752012-04-11 Mike Frysinger <vapier@gentoo.org>
20576
20577 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20578 Add a leading slash to rtkaio.
20579
288f9098
JM
205802012-04-11 Jim Meyering <meyering@redhat.com>
20581
90020f5a
MF
20582 [BZ #11959]
20583 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20584 It is not necessarily an error to ignore fwrite's return
20585 value. One can reliably use ferror to test for errors after
20586 the fact.
288f9098 20587
4be2b570
L
205882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20589
20590 * bits/types.h (__snseconds_t): New type.
20591 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20592
20593 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20595 (__SNSECONDS_T_TYPE): Likewise.
20596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20597 (__SNSECONDS_T_TYPE): Likewise.
20598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20599 (__SNSECONDS_T_TYPE): Likewise.
20600
288f9098 206012012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20602
20603 [BZ #2636]
20604 * manual/time.texi (Processor Time): Return type of times is
20605 elapsed real time since an arbitrary point in the past.
20606 (CPU Time): Move CLK_TCK from here...
20607 (Processor Time): ...to here. Correct description.
20608 * manual/conf.texi (Constants for Sysconf): Correct description of
20609 _SC_CLK_TCK.
20610
d7dd4413
DM
206112012-04-10 David S. Miller <davem@davemloft.net>
20612
20613 [BZ #13967]
20614 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20615 where the is a gap between DT_REL(A) and DT_JMPREL.
20616
b46068fc
L
206172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20618
20619 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20620 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20621 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20622
73d65cc3
SP
206232012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20624
20625 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20626 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20627 (dl_main): Handle --inhibit-cache.
20628 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20629 _dl_inhibit_cache.
20630 * elf/dl-load.c (_dl_map_object): Use it.
20631 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20632
bcc8d661
JM
206332012-04-09 Joseph Myers <joseph@codesourcery.com>
20634
8f9a2fae
JM
20635 [BZ #13872]
20636 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20637 (__ieee754_powl): Saturate large exponents rather than testing for
20638 overflow of y*log2(x).
20639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20640 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20641 exceptions.
20642
bcc8d661
JM
20643 [BZ #11521]
20644 * math/s_ctan.c: Include <float.h>.
20645 (__ctan): Avoid internal overflow or cancellation in calculating
20646 denominator.
20647 * math/s_ctanf.c: Likewise.
20648 * math/s_ctanl.c: Likewise.
20649 * math/s_ctanh.c: Likewise.
20650 * math/s_ctanhf.c: Likewise.
20651 * math/s_ctanhl.c: Likewise.
20652 * math/libm-test.inc (ctan_test): Add more tests.
20653 (ctanh_test): Likewise.
20654 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656
823fbbb4
AJ
206572012-04-09 Andreas Jaeger <aj@suse.de>
20658
03879793
AJ
20659 [BZ #6894]
20660 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20661 is an optional BSD extension.
20662
823fbbb4
AJ
20663 [BZ #10254]
20664 * manual/stdio.texi (Opening Streams): Document additional fopen
20665 parameters.
20666
8de131cb
RM
206672012-04-09 Roland McGrath <roland@hack.frob.com>
20668
20669 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20670 %eax without telling the compiler.
20671
c0ed9d7d
CD
206722012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20673
20674 [BZ # 13963]
20675 * manual/install.texi: Use sourceware.org.
20676
c483f6b4
JM
206772012-04-09 Joseph Myers <joseph@codesourcery.com>
20678
d7dd9453
JM
20679 [BZ #13873]
20680 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20681 (__ieee754_pow): Generate overflow and underflow using huge*huge
20682 and tiny*tiny rather than just returning constant infinity or zero
20683 for large exponents.
20684 * math/libm-test.inc (pow_test): Require overflow exceptions for
20685 applicable cases of large exponents.
20686
c483f6b4
JM
20687 [BZ #706]
20688 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20689 (__ieee754_pow): Use iterative multiplication algorithm only for
20690 integer exponents with absolute value below 1024. Check for odd
20691 integer exponents when using algorithm for real exponents.
20692 * math/libm-test.inc (pow_test): Add more tests.
20693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20694
d2de7579
JM
206952012-04-08 Joseph Myers <joseph@codesourcery.com>
20696
20697 [BZ #13705]
20698 * math/libm-test.inc (exp_test): Do not allow overflow exception
20699 on underflow test.
20700
f77f1232
AJ
207012012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20702
20703 [BZ #13705]
20704 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20705 instead of __kernel_standard_f.
20706
3884932b
MF
207072012-04-08 Mike Frysinger <vapier@gentoo.org>
20708
20709 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20710 * sysdeps/x86_64/memset_chk.S: Likewise.
20711
54472e9c
AJ
207122012-04-08 Andreas Jaeger <aj@suse.de>
20713
6ab0fbfc
AJ
20714 [BZ #10153]
20715 * manual/startup.texi (Environment Access): Describe return value
20716 for putenv and setenv.
20717
61efba8c
AJ
20718 [BZ #6895]
20719 * manual/filesys.texi (Directory Entries): Add description for
20720 DT_LNK.
20721
95c3f29a
AJ
20722 [BZ #6890]
20723 * manual/filesys.texi (Directory Entries): Clarify that it's file
20724 system not operating system in the description of DT_UNKNOWN.
20725
54472e9c
AJ
20726 [BZ #6578]
20727 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20728
624254b1
SC
207292012-04-08 Stephen Compall <s11@member.fsf.org>
20730
20731 [BZ #6649]
20732 * manual/llio.texi (Opening and Closing Files): Add cross
20733 reference to explain mode argument.
20734
1e4920e0
MF
207352012-04-07 Mike Frysinger <vapier@gentoo.org>
20736
20737 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20738 * sysdeps/x86_64/memset_chk.S: Likewise.
20739
5ed848f3
DM
207402012-04-07 David S. Miller <davem@davemloft.net>
20741
20742 * elf/elf.h (R_SPARC_WDISP10): Define.
20743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20744 R_SPARC_SIZE32.
20745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20746 R_SPARC_SIZE64 and R_SPARC_H34.
20747
96154cd8
CD
207482012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20749
20750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20751 conditions and remove no longer applicable assertion.
20752
9904dc47
L
207532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20754
20755 * bits/byteswap.h: Include <features.h>.
20756 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20757 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20758
f8887d0a
L
207592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20760
20761 * bits/byteswap.h (__bswap_16): Removed.
20762 Include <bits/byteswap-16.h> to get __bswap_16.
20763 * sysdeps/i386/bits/byteswap.h: Likewise.
20764 * sysdeps/s390/bits/byteswap.h: Likewise.
20765 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20766 * bits/byteswap-16.h: New file.
20767 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20768 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20769 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20770 * string/Makefile (headers): Add bits/byteswap-16.h.
20771
62470f60
PP
207722012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20773
20774 [BZ #13895]
20775 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20776 extra indirection.
20777 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20778 * nss/tst-nss-static.c: New.
20779
4dad7bab
RM
207802012-04-06 Robert Millan <rmh@gnu.org>
20781
20782 [BZ #6486]
20783 * manual/llio.texi (File Position Primitive): lseek
20784 refers to WHENCE when it really means OFFSET.
20785
e9142a17
AJ
207862012-04-06 Andreas Jaeger <aj@suse.de>
20787
2c040eff
AJ
20788 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20789 strncmp declarations.
20790
e9142a17
AJ
20791 * abilist/libc.abilist: Add __poll and __ppoll.
20792
ff9f1c5f
DM
207932012-04-05 David S. Miller <davem@davemloft.net>
20794
dcd2ae90
DM
20795 * scripts/check-local-headers.sh: Accept a host triplet in the
20796 path matched by the exclude regexp.
20797
993eb054
DM
20798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20799 definition.
20800 * sysdeps/powerpc/powerpc32/dl-machine.h
20801 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20802 * sysdeps/s390/s390-32/dl-machine.h
20803 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20804 * sysdeps/sparc/sparc32/dl-machine.h
20805 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20806 * sysdeps/sparc/sparc64/dl-machine.h
20807 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20808
ff9f1c5f
DM
20809 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20810 lazy binding.
48e2e132 20811 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20812 undefined symbol errors.
20813
48e2e132 20814 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20815 DT_NEEDED entries.
20816
e80d6f94
MM
208172012-04-05 Michael Matz <matz@suse.de>
20818
20819 [BZ #13592]
20820 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20821
349fa79f
AJ
208222012-04-05 Andreas Jaeger <aj@suse.de>
20823
20824 [BZ #13908]
20825 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20826 comment.
20827
f402708f
KK
208282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20829
20830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20831 which ROUND is no valid rounding mode.
20832
2ecccfc9
KK
208332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20834
20835 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20836 read again.
20837 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20838
8a53f50f
KK
208392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20840
20841 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20842 an exception using FPU order intentionally.
20843
208442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20845
20846 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20847 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20848 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20849 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20850
d653abb7
SJ
208512012-04-05 Simon Josefsson <simon@josefsson.org>
20852
20853 [BZ #12340]
20854 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20855 EINVAL when BUFLEN is too smal.
20856
c3b1bf7d
TS
208572012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20858
20859 [BZ #13553]
20860 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20861 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20862
b1aa60f3
AJ
208632012-04-03 Andreas Jaeger <aj@suse.de>
20864
c3b1bf7d 20865 [BZ #13938]
67f60a26
AJ
20866 * manual/setjmp.texi (System V contexts): Fix sentence.
20867
b1aa60f3
AJ
20868 [BZ #13926]
20869 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20870 New macro for this case.
20871 [!__GNUC__] (__bswap_64): New inline function for this case.
20872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20873 * bits/byteswap.h: Likewise.
20874 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20875 ull, guard with __GLIBC_HAVE_LONG_LONG.
20876
20877 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20878 __GLIBC_HAVE_LONG_LONG.
20879
20880 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20881 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20882
39c59c35
TMQMF
208832012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20884
20885 [BZ #13691]
20886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20887 inptr and inend, rather than using last_ch.
20888
135ffda8
DM
208892012-04-02 David S. Miller <davem@davemloft.net>
20890
20891 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20892 * stdio-common/printf-parse.h (read_int): Change return type to
20893 'int', return -1 on INT_MAX overflow.
20894 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20895 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20896 overflows INT_MAX. Check for overflow of in-format-string precision
20897 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20898 SIZE_MAX not INT_MAX for integer overflow test.
20899 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20900 skip the construct in the format string but do not record anything.
20901 * stdio-common/bug22.c: Adjust to test both width/prevision
20902 INT_MAX overflow as well as total length INT_MAX overflow. Check
20903 explicitly for proper errno values.
20904
228c019e
TS
209052012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20906
302cadd3
TS
20907 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20908 CHAR_MAX.
20909 * string/test-strcmp.c [! WIDE]: Likewise.
20910 * time/tst-mktime2.c: Likewise for INT_MAX.
20911 * string/test-string.h: #include <sys/param.h> for MIN.
20912
228c019e
TS
20913 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20914 * sysdeps/i386/init-first.c (init): Likewise.
20915 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20916 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20917 * sysdeps/sh/init-first.c (init): Likewise.
20918
cfa633f5
UD
209192012-04-01 Ulrich Drepper <drepper@gmail.com>
20920
20921 * po/ru.po: Update from translation team.
d1635ef8 20922 * po/vi.po: Likewise.
cfa633f5 20923
6cd0a5ea
SP
209242012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20925
20926 * resolv/nss_dns/dns-host.c: Merge copyright years.
20927
4b43400f
LD
209282012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20929
20930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20931 Optimize memcpy with prefetch if
20932 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20933 src, dst pointers have unequal 16 byte alignments.
20934
48c41d04
SP
209352012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20936
20937 [BZ #13928]
20938 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20939 from a CNAME entry and return the minimum ttl for the query.
20940 (gaih_getanswer_slice): Likewise.
20941
b8dc394d
JL
209422012-03-30 Jeff Law <law@redhat.com>
20943
20944 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20945 due to long keys.
20946 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20947 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20948
2f5a5ed0
JL
20949 * resolv/nss_dns/dns-host.c: Update copyright year.
20950
1d39e359
UD
209512012-03-30 Ulrich Drepper <drepper@gmail.com>
20952
c030f70c 20953 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20954 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20955
1d39e359
UD
20956 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20957 comments for sendmmsg.
20958
209592012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20960
20961 [BZ #13691]
20962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20963 with only 1 character between 0x0041 and 0x01b0.
20964 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20965 * wcsmbs/tst-mbsnrtowcs.c: New file.
20966
20fde227
DM
209672012-03-29 David S. Miller <davem@davemloft.net>
20968
20969 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20970 small copies by hand.
20971
984a4237
JL
209722012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20973
20974 [BZ #13761]
20975 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20976 _nss_compat_initgroups_dyn): Fall back to malloc/free
20977 for large group memberships.
20978
18c9d62b
DM
209792012-03-28 David S. Miller <davem@davemloft.net>
20980
88d85d4f
DM
20981 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20982 that branches into memcpy.
20983 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20986 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20988 bits.
20989 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20990 implementation too.
20991 * sysdeps/sparc/mempcpy.S: New file.
20992
e5aa83e1
DM
20993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20994 the IFUNC routine in the libc case.
20995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20996
88570753
DM
20997 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20998 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20999 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21000 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21001 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21002 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21003 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21004 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21005
249d7567
DM
21006 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21007 loop to 256 bytes instead of 64 bytes and fix test signedness.
21008
18c9d62b
DM
21009 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21010 * sysdeps/sparc/sparc32/Makefile: rather than here...
21011 * sysdeps/sparc/sparc64/Makefile: and here.
21012
05f3d1f6
UD
210132012-03-28 Ulrich Drepper <drepper@gmail.com>
21014
21015 * malloc/mallocbug.c: Avoid warnings about unused variables.
21016
86ae07a8
JL
210172012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21018
21019 [BZ #13760]
21020 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21021 in the right place. Discard and retry query if response is
21022 larger than input buffer size.
21023
41bf21a1
JM
210242012-03-28 Joseph Myers <joseph@codesourcery.com>
21025
d6270972
JM
21026 [BZ #369]
21027 [BZ #2678]
21028 [BZ #3866]
21029 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21030 x for large integer exponent.
21031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21032 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21033 sign of result as needed afterwards.
21034 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21035 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21036 result for underflowing pow the same as for overflow.
21037 (__kernel_standard_l): Handle powl overflow and underflow here
21038 rather than calling __kernel_standard.
21039 * math/libm-test.inc (pow_test): Add more tests.
21040
414fca03 21041 [BZ #3868]
41bf21a1
JM
21042 [BZ #13879]
21043 [BZ #13910]
21044 [BZ #13911]
21045 [BZ #13912]
21046 [BZ #13913]
21047 [BZ #13915]
21048 [BZ #13916]
21049 [BZ #13917]
21050 [BZ #13918]
21051 [BZ #13919]
21052 [BZ #13920]
21053 [BZ #13921]
21054 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21055 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21056 (__kernel_standard_l): New function.
21057 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21058 __kernel_standard.
21059 * math/w_acosl.c (__acosl): Likewise.
21060 * math/w_asinl.c (__asinl): Likewise.
21061 * math/w_atan2l.c (__atan2l): Likewise.
21062 * math/w_atanhl.c (__atanhl): Likewise.
21063 * math/w_coshl.c (__coshl): Likewise.
21064 * math/w_exp10l.c (__exp10l): Likewise.
21065 * math/w_exp2l.c (__exp2l): Likewise.
21066 * math/w_fmodl.c (__fmodl): Likewise.
21067 * math/w_hypotl.c (__hypotl): Likewise.
21068 * math/w_j0l.c (__j0l, __y0l): Likewise.
21069 * math/w_j1l.c (__j1l, __y1l): Likewise.
21070 * math/w_jnl.c (__jnl, __ynl): Likewise.
21071 * math/w_lgammal.c (__lgammal): Likewise.
21072 * math/w_log10l.c (__log10l): Likewise.
21073 * math/w_log2l.c (__log2l): Likewise.
21074 * math/w_logl.c (__logl): Likewise.
21075 * math/w_powl.c (__powl): Likewise.
21076 * math/w_remainderl.c (__remainderl): Likewise.
21077 * math/w_scalbl.c (sysv_scalbl): Likewise.
21078 * math/w_sinhl.c (__sinhl): Likewise.
21079 * math/w_sqrtl.c (__sqrtl): Likewise.
21080 * math/w_tgammal.c (__tgammal): Likewise.
21081 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21082 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21083 * math/libm-test.inc (acos_test): Add more tests.
21084 (acosh_test): Likewise.
21085 (asin_test): Likewise.
21086 (atanh_test): Likewise.
21087 (exp_test): Likewise.
21088 (exp10_test): Likewise.
21089 (exp2_test): Likewise.
21090 (expm1_test): Likewise.
21091 (lgamma_test): Likewise.
21092 (log_test): Likewise.
21093 (log10_test): Likewise.
21094 (log1p_test): Likewise.
21095 (log2_test): Likewise.
21096 (pow_test): Do not allow some spurious overflow exceptions.
21097 (sqrt_test): Add more tests.
21098 (tgamma_test): Likewise.
21099 (y0_test): Likewise.
21100 (y1_test): Likewise.
21101 (yn_test): Likewise.
21102
dd62fda6
AB
211032012-03-27 Anton Blanchard <anton@samba.org>
21104
21105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21106 MAP_HUGETLB.
21107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21110
1e3cdfda
AJ
211112012-03-27 David S. Miller <davem@davemloft.net>
21112
b855ab85
DM
21113 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21114
1e3cdfda
AJ
21115 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21116 have-as-vis3 check.
21117
211182012-03-27 Andreas Jaeger <aj@suse.de>
21119
21120 * sysdeps/x86_64/elf/configure.in: Moved to ...
21121 * sysdeps/x86_64/configure.in: ... here.
21122 * sysdeps/x86_64/elf/start.S: Moved to ...
21123 * sysdeps/x86_64/start.S: ... here.
21124 * sysdeps/x86_64/elf/configure: Delete.
21125
21126 * sysdeps/x86_64/configure.in: Merge contents from
21127 sysdeps/i386/configure.in (without i686 check).
21128
21129 * sysdeps/i386/elf/Versions: Merge into ...
21130 * sysdeps/i386/Versions: ... this.
21131 * sysdeps/i386/elf/Versions: Delete file.
21132 * sysdeps/i386/elf/start.S: Moved to ...
21133 * sysdeps/i386/start.S: ...here.
21134 * sysdeps/i386/elf/configure.in: Merge into...
21135 * sysdeps/i386/configure.in: ...here.
21136 * sysdeps/i386/elf/configure.in: Delete file.
21137 * sysdeps/i386/elf/configure: Delete file.
21138
21139 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21140 * debug/backtracesyms.c: ... here.
21141 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21142 * debug/backtracesymsfd.c: ... here.
21143 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21144 * sysdeps/generic/ifunc-sel.h: ... here.
21145
21146 * sysdeps/unix/i386/start.c: Delete file.
21147 * sysdeps/unix/sparc/start.c: Delete file.
21148 * sysdeps/unix/start.c: Delete file.
21149
21150 * sysdeps/sh/elf/configure.in: Moved to ...
21151 * sysdeps/sh/configure.in: ... here.
21152 * sysdeps/sh/elf/start.S: Moved to ...
21153 * sysdeps/sh/start.S: ... here.
21154 * sysdeps/sh/elf/configure: Delete file.
21155
21156 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21157 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21158 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21159 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21160 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21161 * sysdeps/powerpc/powerpc64/start.S: here.
21162 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21163 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21164 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21165 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21166 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21167
21168 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21169 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21170 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21171 * sysdeps/powerpc/powerpc32/start.S: ... here.
21172 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21173 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21174 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21175
21176 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21177 * sysdeps/powerpc/ifunc-sel.h: ... here.
21178 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21179 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21180
21181 * sysdeps/sparc/elf/configure.in: Moved to ...
21182 * sysdeps/sparc/configure.in: ... here.
21183 * sysdeps/sparc/elf/configure: Delete file.
21184 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21185 * sysdeps/sparc/sparc32/start.S: ... here.
21186 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21187 * sysdeps/sparc/sparc64/start.S: ... here.
21188 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21189 * sysdeps/sparc/sparc32/Makefile: ... this.
21190 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21191 * sysdeps/sparc/sparc64/Makefile: ... this.
21192
21193 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21194 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21195 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21196 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21197 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21198 * sysdeps/s390/s390-32/setjmp.S: ... here.
21199 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21200 * sysdeps/s390/s390-32/configure.in: ... here.
21201 * sysdeps/s390/s390-32/elf/configure: Delete file.
21202 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21203 * sysdeps/s390/s390-32/start.S: ... here.
21204
21205 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21206 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21207 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21208 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21209 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21210 * sysdeps/s390/s390-64/setjmp.S: ... here.
21211 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21212 * sysdeps/s390/s390-64/configure.in: ... here
21213 * sysdeps/s390/s390-64/elf/configure: Delete file.
21214 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21215 * sysdeps/s390/s390-64/start.S: ... here.
21216 * sysdeps/s390/s390-64/elf/configure: Delete.
21217
21218 * configure.in: Remove support for elf directories in sysdeps.
21219
21220 * configure: Regenerated.
21221 * sysdeps/i386/configure: Regenerated.
21222 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21223 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21224 * sysdeps/s390/s390-32/configure: Regenerated.
21225 * sysdeps/s390/s390-64/configure: Regenerated.
21226 * sysdeps/sh/configure: Regenerated.
21227 * sysdeps/sparc/configure: Regenerated.
21228 * sysdeps/x86_64/configure: Regenerated.
21229
a3f61311
AS
212302012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21231
c876e002
AS
21232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21233
a3f61311
AS
21234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21235 denormal result into account.
21236
ac4c54f0
RM
212372012-03-25 Roland McGrath <roland@hack.frob.com>
21238
21239 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21240 Reported by Allan McRae <allan@archlinux.org>.
21241
6a9b9c02
JL
212422012-03-23 Jeff Law <law@redhat.com>
21243
21244 * nss/getnssent.c (__nss_getent): Fix typo.
21245
4c42a0c1
DM
212462012-03-23 David S. Miller <davem@davemloft.net>
21247
21248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21249
1532c7ac
L
212502012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21251
21252 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21253 to pad to uint64_t for each field.
21254 (dl_tls_index): Replace unsigned long with uint64_t.
21255
3ff42526
PP
212562012-03-23 Daniel Jacobowitz <dmj@google.com>
21257 Paul Pluzhnikov <ppluzhnikov@google.com>
21258
21259 [BZ #6528]
21260 * grp/Makefile (otherlibs): Don't set it.
21261 * inet/Makefile (otherlibs): Likewise.
21262 * login/Makefile (otherlibs): Likewise.
21263 * nscd/Makefile (otherlibs): Likewise.
21264 * posix/Makefile (otherlibs): Likewise.
21265 * pwd/Makefile (otherlibs): Likewise.
21266 * rt/Makefile (otherlibs): Likewise.
21267 * sunrpc/Makefile (otherlibs): Likewise.
21268 * nss/Makefile (otherlibs): Likewise.
21269 Add libnss_files to routines and static-only-routines.
21270 ($(objpfx)getent): Remove rule.
21271 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21272 static-only-routines.
21273
7c69cd14
JM
212742012-03-22 Joseph Myers <joseph@codesourcery.com>
21275
21276 [BZ #13892]
21277 * math/s_cexp.c: Include <float.h>.
21278 (__cexp): Handle exp result overflowing not necessarily
21279 overflowing both real and imaginary parts of result.
21280 * math/s_cexpf.c: Likewise.
21281 * math/s_cexpl.c: Likewise.
21282 * math/libm-test.inc (cexp_test): Add more tests.
21283 * sysdeps/i386/fpu/libm-test-ulps: Update.
21284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21285
81b035fe
L
212862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21287
21288 * include/link.h (ELFW): New macro.
21289 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21290 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21291
1da7940c
L
212922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21293
21294 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21295 with uint64_t.
21296
b749dbb9
L
212972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21298
21299 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21300 declaration.
21301 (struct La_x32_retval): Likewise.
21302
2ff87f3f
L
213032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21304
21305 * sysdeps/x86_64/preconfigure.in: New file.
21306 * sysdeps/x86_64/preconfigure: New generated file.
21307
c0df8e69
JM
213082012-03-22 Joseph Myers <joseph@codesourcery.com>
21309
48e44791
JM
21310 [BZ #13824]
21311 * math/e_exp2l.c: Include <float.h>.
21312 (__ieee754_exp2l): Handle overflow and underflow cases
21313 separately. Only pass fractional part of argument to
21314 __ieee754_expl.
21315 * math/libm-test.inc (exp2_test): Add more tests.
21316
c0df8e69
JM
21317 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21318 negating x to take absolute value.
21319 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21320 Likewise.
21321 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21322 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21323 Likewise.
21324 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21325 computing low part if x was negated.
21326 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21327
c8e43ba7
L
213282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21329
21330 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21331 la_x32_gnu_pltexit.
21332 (pltexit): Cast int_retval to ptrdiff_t.
21333 * elf/tst-auditmod3b.c: Likewise.
21334 * elf/tst-auditmod4b.c: Likewise.
21335 * elf/tst-auditmod5b.c: Likewise.
21336 * elf/tst-auditmod6b.c: Likewise.
21337 * elf/tst-auditmod6c.c: Likewise.
21338 * elf/tst-auditmod7b.c: Likewise.
21339
21340 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21341 and x32_gnu_pltexit.
21342
21343 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21344 __ELF_NATIVE_CLASS.
21345 (La_x32_regs): New macro.
21346 (La_x32_retval): Likewise.
21347 (la_x32_gnu_pltenter): New function prototype.
21348 (la_x32_gnu_pltexit): Likewise.
21349
7998fa78
AS
213502012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21351
dcb33988
AS
21352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21353 exponent.
21354
233fc563
AS
21355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21356
7998fa78
AS
21357 * configure.in (libc_cv_cc_nofma): Check for option to disable
21358 generation of FMA instructions.
21359 * configure: Regenerate.
21360 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21361 * sysdeps/ieee754/dbl-64/Makefile: New file.
21362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21363 Remove brandred-fma4.
21364 (CFLAGS-brandred-fma4.c): Remove.
21365 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21366 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21367 define.
21368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21369 define.
21370
8e95c99a
L
213712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21372
21373 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21374 LLONG_MAX != LONG_MAX.
21375 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21376 (_fitoa_word): Likewise.
21377 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21378 LLONG_MAX != LONG_MAX.
21379 * stdio-common/_itowa.h: Include <_itoa.h>.
21380 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21381 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21382 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21383 only if not defined.
21384 (_ITOA_WORD_TYPE): Likewise.
21385 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21386 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21387
6f4db457
DM
213882012-03-21 David S. Miller <davem@davemloft.net>
21389
21390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21391
7785fe5a
L
213922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21393
21394 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21395 of x86_64 when setting libc_cv_slibdir, libdir and
21396 libc_cv_localedir.
21397 * sysdeps/unix/sysv/linux/configure: Regenerated.
21398
4535cd55
JM
213992012-03-21 Joseph Myers <joseph@codesourcery.com>
21400
21401 * manual/lang.texi (Old Varargs): Remove section.
21402 (How Variadic): Update menu.
21403 (va_start): Do not mention varargs.h.
21404
17228132
TS
214052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21406 Joseph Myers <joseph@codesourcery.com>
21407
21408 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21409 link test.
21410 * configure: Regenerated.
21411
8149f976
TS
214122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21413
05f3d1f6
UD
21414 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21415 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21416 conformtest.pl
8149f976 21417
1a4ac776
JM
214182012-03-21 Joseph Myers <joseph@codesourcery.com>
21419
be22ce65
JM
21420 * NOTES: Remove.
21421 * Makefile (files-for-dist): Remove NOTES.
21422 (NOTES): Remove rule.
21423 * README: Don't refer to NOTES.
21424 * manual/creature.texi: Don't include macros.texi.
21425 * manual/intro.texi (creature.texi): Remove comment referring to
21426 NOTES.
21427
40b601fb
JM
21428 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21429 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21430 * configure: Regenerated.
21431 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21432 LIBC_TRY_CC_OPTION.
21433 (libc_cv_as_i686): Likewise.
21434 (libc_cv_cc_avx): Likewise.
21435 (libc_cv_cc_sse2avx): Likewise.
21436 (libc_cv_cc_fma4): Likewise.
21437 (libc_cv_cc_novzeroupper): Likewise.
21438 * sysdeps/i386/configure: Regenerated.
21439
1a4ac776
JM
21440 [BZ #13883]
21441 * sysdeps/i386/fpu/s_cexp.S: Remove.
21442 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21443 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21444 * math/libm-test.inc (cexp_test): Add more tests.
21445 * sysdeps/i386/fpu/libm-test-ulps: Update.
21446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21447
a458e7fe
AM
214482012-03-21 Allan McRae <allan@archlinux.org>
21449
21450 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21451
0cb7efc5
JM
214522012-03-21 Joseph Myers <joseph@codesourcery.com>
21453
21454 [BZ #13871]
21455 * math/w_exp2.c: Do not include <float.h>.
21456 (o_threshold, u_threshold): Remove.
21457 (__exp2): Calculate result before checking finiteness and calling
21458 __kernel_standard.
21459 * math/w_exp2f.c: Likewise.
21460 * math/w_exp2l.c: Likewise.
21461 * math/libm-test.inc (exp2_test): Require overflow exception for
21462 1e6 input.
2460d3aa
JM
21463
21464 [BZ #3866]
21465 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21466 range of signed 64-bit integers before using fistpll. Remove
21467 checks for whether integers fit in mantissa bits.
21468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21469 the range of signed 32-bit integers before using fistpl. Remove
21470 checks for whether integers fit in mantissa bits.
21471 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21472 (__ieee754_powl): Test for y outside the range of signed 64-bit
21473 integers before using fistpll. Reduce 64-bit values to 63-bit
21474 ones as needed.
21475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21476 divide-by-zero is raised for zero to large negative powers.
21477 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21478 (__ieee754_powl): Test for y outside the range of signed 64-bit
21479 integers before using fistpll. Reduce 64-bit values to 63-bit
21480 ones as needed.
21481 * math/libm-test.inc (pow_test): Add more tests.
21482
eb96ffb0
L
214832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21486 <stdio-common/_itoa.h>.
21487 * debug/segfault.c: Likewise.
21488 * elf/dl-cache.c: Likewise.
21489 * elf/dl-minimal.c: Likewise.
21490 * elf/dl-misc.c: Likewise.
21491 * elf/dl-sysdep.c: Likewise.
21492 * elf/dl-version.c: Likewise.
21493 * elf/rtld.c: Likewise.
21494 * hurd/hurdsock.c: Likewise.
21495 * hurd/lookup-retry.c: Likewise.
21496 * malloc/malloc.c: Likewise.
21497 * malloc/mtrace.c: Likewise.
21498 * nscd/nscd_getgr_r.c: Likewise.
21499 * nscd/nscd_getpw_r.c: Likewise.
21500 * nscd/nscd_getserv_r.c: Likewise.
21501 * posix/getopt_init.c: Likewise.
21502 * posix/wordexp.c: Likewise.
21503 * stdio-common/_itoa.c: Likewise.
21504 * stdio-common/printf_fphex.c: Likewise.
21505 * stdio-common/vfprintf.c: Likewise.
21506 * string/_strerror.c: Likewise.
21507 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21508 * sysdeps/i386/i686/hp-timing.h: Likewise.
21509 * sysdeps/mach/_strerror.c: Likewise.
21510 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21511 * sysdeps/mach/hurd/sethostid.c: Likewise.
21512 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21513 * sysdeps/mach/xpg-strerror.c: Likewise.
21514 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21515 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21516 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21517 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21519 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21521 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21522 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21523 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21524 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21525 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21526 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21527 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21528 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21529 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21530 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21531 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21532 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21533 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21534 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21535
21536 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21537
21538 * stdio-common/_itoa.h: Moved to ...
21539 * sysdeps/generic/_itoa.h: Here.
21540
21541 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21542
21543 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21544 instead of "_itoa.h" and "_itowa.h".
21545 * stdio-common/vfprintf.: Likewise.
21546
d1af992d
L
215472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21548
21549 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21550 <bits/wordsize.h>.
21551 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21552 (__signbit): Likwise.
21553 (llrintf): Likwise.
21554 (llrint): Likwise.
21555
114883e0
L
215562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21557
21558 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21559 __WORDSIZE != 64.
21560
c135cc1b
JM
215612012-03-20 Joseph Myers <joseph@codesourcery.com>
21562
21563 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21564 OVERFLOW_EXCEPTION_OK.
21565 * math/libm-test.inc ("Philosophy"): Update comment about
21566 exception testing.
21567 (OVERFLOW_EXCEPTION): Define.
21568 (OVERFLOW_EXCEPTION_OK): Likewise.
21569 (INVALID_EXCEPTION_OK): Renumber.
21570 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21571 (IGNORE_ZERO_INF_SIGN): Likewise.
21572 (test_exceptions): Handle FE_OVERFLOW.
21573 (exp10_test): Expect overflow exceptions.
21574 (exp2_test): Likewise.
21575 (expm1_test): Likewise.
21576 (nextafter_test): Likewise.
21577 (pow_test): Likewise.
21578 (scalbn_test): Likewise.
21579 (scalbln_test): Likewise.
21580
95443d88
L
215812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21582
21583 * sysdeps/x86_64/bits/atomic.h
21584 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21585 64bit integer.
21586 (atomic_exchange_acq): Likewise.
21587 (__arch_exchange_and_add_body): Likewise.
21588 (__arch_add_body): Likewise.
21589 (atomic_add_negative): Likewise.
21590 (atomic_add_zero): Likewise.
21591
490df6c4
L
215922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21593
c2722551 21594 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21595 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21596
5e52b189
L
215972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21600 Check __x86_64__ instead of __WORDSIZE.
21601
a9879d4c
L
216022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21603
21604 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21605
5df98260
DM
216062012-03-19 David S. Miller <davem@davemloft.net>
21607
e1497744
DM
21608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21609
5df98260
DM
21610 * sysdeps/sparc/fpu/fenv_private.h: New file.
21611 * sysdeps/sparc/fpu/math_private.h: Use it.
21612 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21613 Remove.
21614 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21615 (libc_feholdexcept_setroundl): Remove.
21616 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21617 Remove.
21618 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21619 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21620
b4c35121
L
216212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21622
21623 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21624 int64_t instead of long int.
21625 (INSERT_WORDS64): Likwise.
21626
56965fd7
L
216272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21628
21629 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21630 _Unwind_GetCFA return to _Unwind_Ptr first.
21631
83d1aec8
JM
216322012-03-19 Joseph Myers <joseph@codesourcery.com>
21633
1897ad44
JM
21634 [BZ #13629]
21635 * math/s_clog.c: Include <float.h>.
21636 (__clog): Scale large or subnormal inputs.
21637 * math/s_clogf.c: Likewise.
21638 * math/s_clogl.c: Likewise.
21639 * math/s_clog10.c: Include <float.h>.
21640 (M_LOG10_2): Define.
21641 (__clog10): Scale large or subnormal inputs.
21642 * math/s_clog10f.c: Likewise.
21643 * math/s_clog10l.c: Likewise.
21644 * math/libm-test.inc (clog_test): Add more tests.
21645 (clog10_test): Likewise.
21646 * sysdeps/i386/fpu/libm-test-ulps: Update.
21647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21648
7726d6a9
JM
21649 [BZ #11451]
21650 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21651 x and y.
21652 * math/libm-test.inc (atan2_test): Add another test.
21653
83d1aec8
JM
21654 * Makerules (common-objdir-compile): Remove.
21655 * sysdeps/unix/Makefile (config-generated): Do not add
21656 $(unix-generated) to variable.
21657 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21658 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21659 Remove rule.
21660 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21661 Likewise.
21662 [generic bits/local_lim.h] (before-compile): Do not append to
21663 variable.
21664 [generic bits/local_lim.h] (common-generated): Likewise.
21665 [generic sys/param.h] (before-compile): Do not append to variable.
21666 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21667 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21668 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21669 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21670 include.
21671 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21672 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21673 [generic sys/param.h] ($(addprefix
21674 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21675 [generic sys/param.h] (common-generated): Do not append to
21676 variable.
21677 [generic sys/param.h] (sysdep_headers): Likewise.
21678 [generic bits/errno.h] (before-compile): Do not append to
21679 variable.
21680 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21681 rule.
21682 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21683 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21684 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21685 [generic bits/errno.h] (common-generated): Do not append to
21686 variable.
21687 [generic bits/ioctls.h] (before-compile): Do not append to
21688 variable.
21689 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21690 rule.
21691 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21692 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21693 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21694 rule.
21695 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21696 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21697 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21698 [generic bits/ioctls.h] (common-generated): Do not append to
21699 variable.
21700 [generic sys/syscall.h] (syscall.h): Remove variable.
21701 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21702 rule.
21703 [generic sys/syscall.h] (before-compile): Do not append to
21704 variable.
21705 [generic sys/syscall.h] (common-generated): Likewise.
21706 * sysdeps/unix/errnos-tmpl.c: Remove file.
21707 * sysdeps/unix/errnos.awk: Likewise.
21708 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21709 * sysdeps/unix/ioctls.awk: Likewise.
21710 * sysdeps/unix/mk-local_lim.c: Likewise.
21711 * sysdeps/unix/snarf-ioctls: Likewise.
21712
4851a949
RH
217132012-03-19 Richard Henderson <rth@twiddle.net>
21714
bd37f2ee
RH
21715 * sysdeps/i386/fpu/fenv_private.h: New file.
21716 * sysdeps/i386/fpu/math_private.h: Use it.
21717 (math_opt_barrier, math_force_eval): Remove.
21718 (libc_feholdexcept_setround_53bit): Remove.
21719 (libc_feupdateenv_53bit): Remove.
21720 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21721 (math_opt_barrier, math_force_eval): Remove.
21722 (libc_feholdexcept): Remove.
21723 (libc_feholdexcept_setround): Remove.
21724 (libc_fetestexcept, libc_fesetenv): Remove.
21725 (libc_feupdateenv_test): Remove.
21726 (libc_feupdateenv, libc_feholdsetround): Remove.
21727 (libc_feresetround): Remove.
21728
d0adc922
RH
21729 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21730 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21731
0fe0f1f8
RH
21732 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21733 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21734 (libc_feupdateenv_testl): New.
21735 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21736 (libc_feupdateenv_testf): New.
21737 (libc_feupdateenv): Use libc_feupdateenv_test.
21738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21740
eb92c487
RH
21741 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21742 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21743 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21744 (libc_feresetround_noex): New.
21745 (libc_feresetround_noexf): New.
21746 (libc_feresetround_noexl): New.
21747 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21748 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21749 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21750 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21751 SET_RESTORE_ROUND.
21752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21754 (__cos): Likewise.
21755 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21757 SET_RESTORE_ROUND_NOEX.
21758 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21759 SET_RESTORE_ROUND_NOEXF.
21760 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21761 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21762 (libc_feholdsetroundf): New.
21763 (libc_feresetround, libc_feresetroundf): New.
21764
7d2e8012
RH
21765 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21766 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21767 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21768
b4dabbb4
RH
21769 * sysdeps/generic/math_private.h: Include <fenv.h>.
21770 (default_libc_feholdexcept): New.
21771 (default_libc_feholdexcept_setround): New.
21772 (default_libc_fesetenv, default_libc_feupdateenv): New.
21773 (libc_feholdexcept): Only define if undefined.
21774 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21775 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21776 (libc_feholdexcept_setroundl): Likewise.
21777 (libc_feholdexcept_setround_53bit): Likewise.
21778 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21779 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21780 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21781 (libc_feupdateenv_53bit): Likewise.
21782 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21783 (libc_feholdexcept): Convert from macro to inline function.
21784 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21785 (libc_fesetenv, libc_feupdateenv): Likewise.
21786
4851a949
RH
21787 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21788 not previously defined.
21789 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21790 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21791 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21792 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21793 * sysdeps/ieee754/flt-32/math_private.h: New file.
21794 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21795 math_private.h below SET_FLOAT_WORD.
21796 (__isnan, __isinf_ns, __finite): Remove.
21797 (__isnanf, __isinf_nsf, __finitef): Remove.
21798
e79d442e
AS
217992012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21800
21801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21802
90b80344
DM
218032012-03-17 David S. Miller <davem@davemloft.net>
21804
21805 [BZ #6471]
21806 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21807 for 2.16.
21808
edc21804
DM
218092012-03-16 David S. Miller <davem@davemloft.net>
21810
77e927af
DM
21811 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21812 warnings.
21813
374976dd
DM
21814 [BZ #6471]
21815 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21816 properly.
21817 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21818 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21819 sysdep_routines when subdir is sysvipc.
21820 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21821 __getshmlba helper.
21822
edc21804
DM
21823 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21824
473c3ef3
L
218252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21826
21827 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21828 [__LP64__].
21829
eb0f39b6
L
218302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21831
21832 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21833 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21834 (__lround): Renamed to ...
21835 (__llround): This. Replace long int with long long int.
21836 Define lround functions as aliases of llround functions.
21837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21838
6b6cd74b
L
218392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21842 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21843 adresses to uintptr_t. Replace "long int" and "unsigned long
21844 int" with "greg_t" on va_arg.
21845
f1a77b01
L
218462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21849 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21850
21851 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21852 Move e_machine check before EI_CLASS check. Handle x32
21853 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21854 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21855 SKIP_EM_IA_64 and include
21856 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21857
21858 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21859 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21860 (add_system_dir): New macro.
21861
21862 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21863 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21864
11b90b9f
JM
218652012-03-16 Joseph Myers <joseph@codesourcery.com>
21866
c36e1d23
JM
21867 [BZ #2551]
21868 [BZ #2552]
21869 [BZ #2553]
21870 [BZ #2554]
21871 [BZ #2562]
21872 [BZ #2563]
21873 [BZ #2565]
21874 [BZ #2566]
21875 [BZ #2576]
21876 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21877 (y0): Likewise.
21878 * math/w_j0f.c (j0f): Likewise.
21879 (y0f): Likewise.
21880 * math/w_j0l.c (__j0l): Likewise.
21881 (__y0l): Likewise.
21882 * math/w_j1.c (j1): Likewise.
21883 (y1): Likewise.
21884 * math/w_j1f.c (j1f): Likewise.
21885 (y1f): Likewise.
21886 * math/w_j1l.c (__j1l): Likewise.
21887 (__y1l): Likewise.
21888 * math/w_jn.c (jn): Likewise.
21889 (yn): Likewise.
21890 * math/w_jnf.c (jnf): Likewise.
21891 (ynf): Likewise.
21892 * math/w_jnl.c (__jnl): Likewise.
21893 (__ynl): Likewise.
21894 * math/libm-test.inc (j0_test): Add more tests.
21895 (j1_test): Likewise.
21896 (jn_test): Likewise. Add trailing semicolon to existing test.
21897 (y0_test): Likewise.
21898 (y1_test): Likewise.
21899 * sysdeps/i386/fpu/libm-test-ulps: Update.
21900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21901
11b90b9f
JM
21902 [BZ #13851]
21903 [BZ #13854]
21904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21905 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21906 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21908 (__tanl): Set errno for infinite argument.
21909 * sysdeps/i386/fpu/mptan.c: Remove.
21910 * sysdeps/i386/fpu/s_tan.S: Likewise.
21911 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21912 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21913 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21914 * math/libm-test.inc (tan_test): Add more tests and enable more
21915 tests for double and long double.
21916 * sysdeps/i386/fpu/libm-test-ulps: Update.
21917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21918
6a1bd2a1
JK
219192012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21920
21921 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21922 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21923
10a803e0
RM
219242012-03-16 Roland McGrath <roland@hack.frob.com>
21925
21926 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21927 * configure.in: Use it for both main tree and add-ons.
21928 * configure: Regenerated.
21929
f196c7f7
L
219302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21931
21932 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21933
8848d99d
JM
219342012-03-16 Joseph Myers <joseph@codesourcery.com>
21935
96cbe7f4
JM
21936 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21937 in comment.
21938
8848d99d
JM
21939 [BZ #13851]
21940 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21941 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21942 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21943 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21944 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21945 infinite argument.
21946 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21948 != 0 for prec == 2.
21949 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21950 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21951 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21952 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21953 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21954 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21955 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21956 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21957 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21958 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21959 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21960 * math/libm-test.inc (cos_test): Add more tests and enable more
21961 tests for long double.
21962 (sin_test): Likewise.
21963 (sincos_test): Likewise.
21964 * sysdeps/i386/fpu/libm-test-ulps: Update.
21965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21966
dd7f4703
DM
219672012-03-16 David S. Miller <davem@davemloft.net>
21968
21969 * sysdeps/sparc/fpu/math_private.h: New file.
21970
006f1daa
DM
219712012-03-15 David S. Miller <davem@davemloft.net>
21972
c0c83bc8
DM
21973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21974 file.
e6a62e18 21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21977 file.
e6a62e18
DM
21978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21984 sysdep routines.
21985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21986
88cb87d9
DM
21987 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21988 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21989
006f1daa 21990 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21992 sparc-ifunc.h
006f1daa 21993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21995 Likewise.
21996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21997 Likewise.
006f1daa
DM
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22002 Likewise.
006f1daa
DM
22003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22008 Likewise.
22009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22010 Likewise.
006f1daa
DM
22011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22031 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22035
11e0098e
AS
220362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22037
22038 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22039 scaling.
22040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22041
e85b09d0
AJ
220422012-03-15 Andreas Jaeger <aj@suse.de>
22043
22044 [BZ #13852]
22045 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22046 ieee754/flt-32 implementation for sin, cos and sincos.
22047 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22048 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22049 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22050 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22051 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22052 ieee754/flt-32 implementation for tan.
22053
22054 * math/libm-test.inc (cos_test): Enable some large input tests for
22055 float as well
22056 (sin_test): Likewise.
22057 (sincos_test): Likewise.
22058 (tan_test): Add tests for large input.
22059
22060 * sysdeps/i386/fpu/libm-test-ulps: Update.
22061
81c64153
AJ
220622012-03-15 Andreas Jaeger <aj@suse.de>
22063
22064 [BZ #13658]
22065 * math/libm-test.inc (cos_test): Add more test cases.
22066 (sin_test): Likewise.
22067 (sincos_test): Likewise.
22068
7bbfa5c6
AJ
220692012-03-15 Andreas Jaeger <aj@suse.de>
22070
22071 [BZ #13837]
22072 * math/libm-test.inc (cos_test): Add a test case for large input
22073 value.
22074 (sin_test): Likewise.
22075 (sincos_test): Likewise.
22076
220772012-03-15 Andreas Jaeger <aj@suse.de>,
22078 Joseph Myers <joseph@codesourcery.com>
22079
22080 [BZ #13658]
0671f479 22081 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22082 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22083 * sysdeps/i386/fpu/branred.c: Likewise.
22084 * sysdeps/i386/fpu/dosincos.c: Likewise.
22085 * sysdeps/i386/fpu/mpa.c: Likewise.
22086 * sysdeps/i386/fpu/s_cos.S: Likewise.
22087 * sysdeps/i386/fpu/s_sin.S: Likewise.
22088 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22089 * sysdeps/i386/fpu/sincos32.c: Likewise.
22090
22091 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22092 Define.
22093 (libc_feupdateenv_53bit): Define.
22094 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22095 Define.
22096 (libc_feupdateenv_53bit): Define.
22097
22098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22099 53 bit (without extend i386 double precision).
22100
22101 * math/libm-test.inc (sincos_test): Add tests for large input.
22102 (sin): Likewise.
22103 (cos): Likewise.
22104
22105 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22106
9cad04ea
AS
221072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22108
22109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22110
f7062b9a
DM
221112012-03-15 David S. Miller <davem@davemloft.net>
22112
22113 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22114 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22115 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22116 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22129 file.
f7062b9a 22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22132 file.
f7062b9a 22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22135 file.
f7062b9a 22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22138 file.
f7062b9a
DM
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22141 fmin/fmax sysdep routines.
22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22143
7bd951ff
DM
221442012-03-14 David S. Miller <davem@davemloft.net>
22145
559398ab
DM
22146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22175 routines.
22176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22177 file.
559398ab 22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22180 file.
559398ab 22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22183 file.
559398ab 22184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22186 file.
559398ab 22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22189 file.
559398ab 22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22192 file.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22194 file.
22195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22196 file.
22197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22198 file.
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22200 New file.
22201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22202 file.
22203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22204 file.
559398ab 22205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22207 file.
559398ab 22208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22210 file.
559398ab 22211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22213 file.
559398ab 22214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22216 VIS3 routines.
559398ab
DM
22217
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22219 New file.
22220
5a1c1e32
DM
22221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22222
eae47a36
DM
22223 * sysdeps/sparc/configure.in: New file.
22224 * sysdeps/sparc/configure: Generate.
22225 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22226 * configure: Regenerate.
22227 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22228 * config.make.in (have-as-vis3): New.
22229 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22230 available use -Av9d instead of -Av9a.
22231 * sysdeps/sparc/sparc64/Makefile: Likewise.
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22234 New file.
22235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22236 file.
22237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22238 New file.
22239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22240 file.
eae47a36
DM
22241 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22246
c0c83bc8
DM
22247 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22248 fzeros/fnegs to load 0x80000000 into a float register instead of
22249 using the stack.
7bd951ff
DM
22250 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22251
bd951ccb
JM
222522012-03-14 Joseph Myers <joseph@codesourcery.com>
22253
22254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22255 bits/syscall.h.
22256 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22257 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22258 ($(inst_includedir)/bits/syscall.h): Remove rule.
22259 ($(objpfx)bits/syscall.d): Include instead of
22260 $(objpfx)syscall-list.d.
22261 (generated): Change syscall-list.h and syscall-list.d to
22262 bits/syscall.h and bits/syscall.d.
22263
bb4e6db2
RM
222642012-03-14 Roland McGrath <roland@hack.frob.com>
22265
22266 [BZ #13846]
22267 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22268
aa4a2ae1
JM
222692012-03-14 Joseph Myers <joseph@codesourcery.com>
22270
e456826d
JM
22271 [BZ #13841]
22272 * math/s_csqrt.c: Include <float.h>.
22273 (__csqrt): Scale large or subnormal inputs.
22274 * math/s_csqrtf.c: Likewise.
22275 * math/s_csqrtl.c: Likewise.
22276 * math/libm-test.inc (csqrt_test): Add more tests.
22277 * sysdeps/i386/fpu/libm-test-ulps: Update.
22278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22279
aa4a2ae1
JM
22280 [BZ #13840]
22281 * math/libm-test.inc (hypot_test): Add more tests.
22282
7c10fd35
DM
222832012-03-13 David S. Miller <davem@davemloft.net>
22284
22285 [BZ #13840]
22286 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22287 double-precision for the calculation instead of scaling.
22288
f453b98b
JM
222892012-03-13 Joseph Myers <joseph@codesourcery.com>
22290
22291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22292 manipulate bits before adding and subtracting TWO52[sx].
22293 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22294 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22295 Likewise.
22296 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22297
09a3453f
DM
222982012-03-13 David S. Miller <davem@davemloft.net>
22299
8e59da90
DM
22300 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22301 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22303 rtld-global-offsets.h
22304 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22305
2a8ab7f2
DM
22306 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22307 large parameters.
22308
10f62770
DM
22309 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22310
5f0bdb18
DM
22311 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22312 'err' in the ifdef scope in which it is actually used.
22313
09a3453f
DM
22314 * nss/nss_db/db-init.c: Include string.h
22315
b4b2eb5e
DM
223162012-03-12 David S. Miller <davem@davemloft.net>
22317
98bb2f1c
DM
22318 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22319 masking out of the most significant byte of random value used.
22320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22321 Fix coding style in previous change.
22322
b4b2eb5e
DM
22323 * sysdeps/unix/sysv/linux/kernel-features.h
22324 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22325 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22326 expression.
22327 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22328 later.
22329
6e226b09
DM
223302012-03-11 David S. Miller <davem@davemloft.net>
22331
a1bcbd40
DM
22332 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22333 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22335 for 'resultvar' otherwise things get truncated on 64-bit.
22336
cb9d6174
DM
22337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22338 Fix masking out of the most significant byte of random value used.
22339
6e226b09
DM
22340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22341
058c132d
AS
223422012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22343
22344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22345
2d2cd515
DM
223462012-03-09 David S. Miller <davem@davemloft.net>
22347
22348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22349 variables with appropriate CPP guards.
22350 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22351 frame pointer, not the stack pointer. Correct layout comments. Fix test
22352 on resulting framesize and the management of the outregs buffer for pltexit.
22353 Preserve floating point return values across _dl_call_pltexit call.
22354 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22355 framesize and the management of the outregs buffer for pltexit.
22356 Preserve floating point return values across _dl_call_pltexit
22357 call.
22358 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22359 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22360 (print_exit): Fix format string for return register value.
22361
9a07f9d0
JM
223622012-03-10 Joseph Myers <joseph@codesourcery.com>
22363
22364 * sunrpc/Makefile (others): Add rpcgen.
22365 ($(objpfx)rpcgen): Remove special build rule and dependency on
22366 libc.
22367 * sunrpc/rpcgen.c: New file.
22368
547b5e30
PE
223692012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22370
c524201a
PE
22371 [BZ #13673]
22372 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22373 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22374 * sysdeps/i386/crti.S: Likewise.
22375 * sysdeps/i386/crtn.S: Likewise.
22376 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22377 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22378 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22379 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22380 * sysdeps/sh/crti.S: Likewise.
22381 * sysdeps/sh/crtn.S: Likewise.
22382 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22383
7b6235f2
PE
22384 [BZ #13673]
22385 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22386 with URL.
22387 * locale/programs/locfile-kw.gperf: Likewise.
22388 * locale/programs/charmap-kw.h: Regenerated.
22389 * locale/programs/locfile-kw.h: Likewise.
22390
547b5e30
PE
22391 [BZ #13673]
22392 * intl/plural.y: Replace FSF snail mail address with URL.
22393 * intl/plural.c: Regenerated.
22394
5f0a5dae
RH
223952012-03-09 Richard Henderson <rth@twiddle.net>
22396
22397 * include/math_private.h: Remove file.
22398 * math/math_private.h: Move file ...
22399 * sysdeps/generic/math_private.h: ... here.
22400
b8c03620
RH
22401 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22402 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22403 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22404
4e234f5d 22405 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22406 and <math_private.h>.
22407 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22408 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22409 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22410 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22411 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22457 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22481 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22487 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22494 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22495 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22498 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22500 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22501 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22511 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22512 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22513 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22514 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22515 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22517 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22518 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22519 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22521 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22523 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22524 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22525 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22526 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22530 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22533 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22534 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22535 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22536 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22537 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22538 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22540 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22541 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22542 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22543 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22545 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22547 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22549 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22550 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22551 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22552 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22553 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22554 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22555 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22556 * sysdeps/ieee754/k_standard.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22707 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22717 * sysdeps/ieee754/s_lib_version.c: Likewise.
22718 * sysdeps/ieee754/s_matherr.c: Likewise.
22719 * sysdeps/ieee754/s_signgam.c: Likewise.
22720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22722 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22723 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22725 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22726 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22727 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22728 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22729 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22730 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22731 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22732 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22733 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22734 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22735 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22736 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22737 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22741
1991fa03
JM
227422012-03-09 Joseph Myers <joseph@codesourcery.com>
22743
22744 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22745 * sunrpc/rpc_main.c: Likewise.
22746 * sunrpc/rpc_svcout.c: Likewise.
22747
60d6f5a6
DM
227482012-03-09 David S. Miller <davem@davemloft.net>
22749
22750 * include/math_private.h: New file.
22751
4962050e
JM
227522012-03-09 Joseph Myers <joseph@codesourcery.com>
22753
02a6f887
JM
22754 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22755 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22756 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22757 from <bits/socket_type.h>.
22758 (enum __socket_type): Don't define here.
22759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22761 bits/socket_type.h.
22762
c6e013c1
JM
22763 [BZ #13566]
22764 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22765 checking __USE_GNU.
22766
4962050e
JM
22767 * Makerules ($(inst_includedir)/%.h): New rule.
22768 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22769 (install-others): Remove variable setting.
22770 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22771
38842f45
RH
227722012-03-08 Richard Henderson <rth@twiddle.net>
22773
67bb6da6
RH
22774 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22775 from macro to inline function; merge with the
22776 !__LIBC_INTERNAL_MATH_INLINES version.
22777 (__ieee754_sqrtf): Likewise.
22778
15194b4b
RH
22779 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22780 to inline function.
22781 (__rintf, __floor, __floorf): Likewise.
22782
64e21ede
RH
22783 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22784 macro to inline function.
22785 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22786
38842f45
RH
22787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22788 not <math/math_private.h>.
22789
c64bf5fe
DM
227902012-03-08 David S. Miller <davem@davemloft.net>
22791
22792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22793 copyright year.
22794 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22795
82d86f28
TS
227962012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22797
22798 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22799 normalization.
22800 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22801 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22802
aea5d727
UD
228032012-03-08 Ulrich Drepper <drepper@gmail.com>
22804
22805 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22806 be defined individually, they must be defined as a block. Define
22807 S for printing a string instead of hidint the different by using a
22808 macro for adding the 'l'.
22809 * stdio-common/tst-fphex-wide.c: Adjust.
22810
70bca0a3
MP
228112012-03-07 Marek Polacek <polacek@redhat.com>
22812
22813 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22814
65b81130
MP
228152012-03-08 Marek Polacek <polacek@redhat.com>
22816
22817 [BZ #13806]
22818 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22819 * stdio-common/tst-fphex.c: Define a few macros to make the
22820 test reusable. Use them.
22821 * stdio-common/tst-fphex-wide.c: New file.
22822
07037eeb
JM
228232012-03-08 Joseph Myers <joseph@codesourcery.com>
22824
a7a93d50
JM
22825 [BZ #6911]
22826 * manual/macros.texi (gnusystems): New macro.
22827 (nongnusystems): Likewise.
22828 (gnulinuxhurdsystems): Likewise.
22829 (gnuhurdsystems): Likewise..
22830 (gnulinuxsystems): Likewise.
22831 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22832 variants of the GNU system, not "GNU system".
22833 * manual/conf.texi: Likewise.
22834 * manual/errno.texi: Likewise. Update example of errno macro
22835 expansion.
22836 * manual/filesys.texi: Likewise.
22837 (getumask): Document as specific to GNU/Hurd.
22838 * manual/install.texi: Likewise. Reword some references to
22839 GNU/Linux.
22840 * manual/intro.texi: Likewise.
22841 * manual/io.texi: Likewise.
22842 (File Name Portability): Detail which constraints are inapplicable
22843 to all GNU systems and which are only inapplicable to GNU/Hurd.
22844 * manual/job.texi: Likewise.
22845 * manual/llio.texi: Likewise.
22846 (O_NOCTTY): Document as present on GNU/Linux.
22847 * manual/maint.texi: Likewise.
22848 * manual/memory.texi: Likewise.
22849 * manual/pattern.texi: Likewise.
22850 * manual/pipe.texi: Likewise.
22851 * manual/process.texi: Likewise.
22852 * manual/resource.texi: Likewise.
22853 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22854 child on GNU/Hurd.
22855 * manual/setjmp.texi: Likewise.
22856 * manual/signal.texi: Likewise.
22857 * manual/startup.texi: Likewise.
22858 * manual/stdio.texi: Likewise.
22859 * manual/terminal.texi: Likewise.
22860 (ONLCR): Document as POSIX.
22861 (OXTABS): Document availability on GNU/Linux as XTABS.
22862 (ONOEOT): Document availability separately from other bits.
22863 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22864 * manual/time.texi: Likewise.
22865 * manual/users.texi: Likewise.
22866 * INSTALL: Regenerated.
22867 * sysdeps/gnu/errlist.c: Regenerated.
22868
07037eeb
JM
22869 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22870 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22871 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22872 puts.
22873 * configure: Regenerated.
22874
d1d3431a
JM
228752012-03-07 Joseph Myers <joseph@codesourcery.com>
22876
af6a1e37
JM
22877 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22878 default includes instead of AC_HEADER_CHECK.
22879 * sysdeps/i386/configure: Regenerated.
22880
d1d3431a
JM
22881 [BZ #10716]
22882 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22883 * math/s_cacoshf.c (__cacoshf): Likewise.
22884 * math/s_cacoshl.c (__cacoshl): Likewise.
22885 * math/s_casinh.c (__casinh): Set signs of result from argument.
22886 * math/s_casinhf.c (__casinhf): Likewise.
22887 * math/s_casinhl.c (__casinhl): Likewise.
22888 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22889 (casinh_test): Add more tests.
22890 * sysdeps/i386/fpu/libm-test-ulps: Update.
22891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22892
482ff4da
UD
228932012-03-07 Ulrich Drepper <drepper@gmail.com>
22894
872fda05
UD
22895 * po/zh_TW.po: Update from translation team.
22896
a4300c7a
UD
22897 * login/Makefile (distribute): Remove variable.
22898 * catgets/Makefile: Likewise.
22899 * mach/Makefile: Likewise.
22900 * malloc/Makefile: Likewise.
22901 * misc/Makefile: Likewise.
22902 * iconv/Makefile: Likewise.
22903 * nscd/Makefile: Likewise.
22904 * hurd/Makefile: Likewise.
22905 * manual/Makefile: Likewise.
22906 * locale/Makefile: Likewise.
22907 * intl/Makefile: Likewise.
22908 * conform/Makefile: Likewise.
22909 * nss/Makefile: Likewise.
22910 * time/Makefile: Likewise.
22911 * soft-fp/Makefile: Likewise.
22912 * dirent/Makefile: Likewise.
22913 * gmon/Makefile: Likewise.
22914 * po/Makefile: Likewise.
22915 * rt/Makefile: Likewise.
22916 * socket/Makefile: Likewise.
22917 * math/Makefile: Likewise.
22918 * signal/Makefile: Likewise.
22919 * debug/Makefile: Likewise.
22920 * elf/Makefile: Likewise.
22921 * timezone/Makefile: Likewise.
22922 * stdlib/Makefile: Likewise.
22923 * iconvdata/Makefile: Likewise.
22924 * sunrpc/Makefile: Likewise.
22925 * io/Makefile: Likewise.
22926 * argp/Makefile: Likewise.
22927 * inet/Makefile: Likewise.
22928 * hesiod/Makefile: Likewise.
22929 * grp/Makefile: Likewise.
22930 * csu/Makefile: Likewise.
22931 * wctype/Makefile: Likewise.
22932 * crypt/Makefile: Likewise.
22933 * libio/Makefile: Likewise.
22934 * string/Makefile: Likewise.
22935 * nis/Makefile: Likewise.
22936 * resolv/Makefile: Likewise.
22937 * stdio-common/Makefile: Likewise.
22938 * wcsmbs/Makefile: Likewise.
22939 * dlfcn/Makefile: Likewise.
22940 * posix/Makefile: Likewise.
22941
3b7c4e74 22942 [BZ #6959]
482ff4da
UD
22943 * timezone/Makefile: Don't install timezone files, just the programs
22944 and scripts.
22945
f72ed77d
UD
229462012-03-06 Ulrich Drepper <drepper@gmail.com>
22947
a000466f
UD
22948 * nss/databases.def: Add missing gshadow entry.
22949
f72ed77d
UD
22950 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22951
a53b7a4e
MP
229522012-03-06 Marek Polacek <polacek@redhat.com>
22953
22954 [BZ #13726]
22955 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22956 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22957 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22958 * stdio-common/tst-long-dbl-fphex.c: New file.
22959
e9258400
DM
229602012-03-06 David S. Miller <davem@davemloft.net>
22961
22962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22963 (set_obp_int): New function.
22964 (get_obp_int): New function.
22965 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22967 Avoid unused variable warnings on 'val' and use builtin_expect.
22968 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22969 __builtin_expect.
e9258400
DM
22970 (INLINE_CLONE_SYSCALL): Likewise.
22971
3bd2c723
DM
229722012-03-05 David S. Miller <davem@davemloft.net>
22973
22974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22975
bbb78d03
AS
229762012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22977
884c5db4
AS
22978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22979
bbb78d03
AS
22980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22981 only for |x| >= 40.
22982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22983
1c9f702a 229842012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22985
22986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22987 Replace gettimeofday with __vdso_gettimeofday.
22988
7be16f82
RM
22989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22990 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22991 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22992
22993 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22994 time with __vdso_time.
22995
ed58a00f
JM
229962012-03-05 Joseph Myers <joseph@codesourcery.com>
22997
22998 * manual/lang.texi (size_t): Note types to which size_t may be
22999 equivalent with the GNU C Library, but do not describe when
23000 differences between them are significant.
23001
30ee4ced
AJ
230022012-03-05 Andreas Jaeger <aj@suse.de>
23003
23004 * sysdeps/i386/fpu/libm-test-ulps: Update.
23005
b7cd39e8
JM
230062012-03-05 Joseph Myers <joseph@codesourcery.com>
23007
23008 [BZ #3976]
23009 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23010 (__ieee754_pow): Save and restore rounding mode and use
23011 round-to-nearest for main computations.
23012 * math/libm-test.inc (pow_test_tonearest): New function.
23013 (pow_test_towardzero): Likewise.
23014 (pow_test_downward): Likewise.
23015 (pow_test_upward): Likewise.
23016 (main): Call the new functions.
23017 * sysdeps/i386/fpu/libm-test-ulps: Update.
23018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23019
23020 [BZ #3976]
23021 * math/libm-test.inc (cosh_test_tonearest): New function.
23022 (cosh_test_towardzero): Likewise.
23023 (cosh_test_downward): Likewise.
23024 (cosh_test_upward): Likewise.
23025 (sinh_test_tonearest): Likewise.
23026 (sinh_test_towardzero): Likewise.
23027 (sinh_test_downward): Likewise.
23028 (sinh_test_upward): Likewise.
23029 (main): Call the new functions.
23030 * sysdeps/i386/fpu/libm-test-ulps: Update.
23031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23032
6c6a98c9
TV
230332012-03-05 Tom de Vries <tom@codesourcery.com>
23034
23035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23036 default stack guard is set in last bytes.
23037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23038
21bb2d2e 230392012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23040
21bb2d2e 23041 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23042
21bb2d2e
AJ
23043 [BZ #13656]
23044 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23045 possibly allocate from heap instead of stack.
23046 * stdio-common/bug-vfprintf-nargs.c: New file.
23047 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23048
c6922934
AS
230492012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23050
23051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23052
bc957d53
MP
230532012-03-03 Marek Polacek <polacek@redhat.com>
23054
23055 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23056 * math/math_private.h: Likewise.
23057 * stdlib/tst-strtod.c: Likewise.
23058 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23059 * sysdeps/x86_64/bits/atomic.h: Likewise.
23060
6358490d
DM
230612012-03-02 David S. Miller <davem@davemloft.net>
23062
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23070 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23071
01ae168d
RM
230722012-03-02 Roland McGrath <roland@hack.frob.com>
23073
d9a17c07
RM
23074 [BZ #13792]
23075 * manual/examples/README: New file, says the example source files
23076 can be used under GPL>=2.
23077 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23078 line containing just "*/".
23079 * manual/examples/add.c: Add copyright header (GPL>=2).
23080 * manual/examples/argp-ex1.c: Likewise.
23081 * manual/examples/argp-ex2.c: Likewise.
23082 * manual/examples/argp-ex3.c: Likewise.
23083 * manual/examples/argp-ex4.c: Likewise.
23084 * manual/examples/atexit.c: Likewise.
23085 * manual/examples/db.c: Likewise.
23086 * manual/examples/dir.c: Likewise.
23087 * manual/examples/dir2.c: Likewise.
23088 * manual/examples/execinfo.c: Likewise.
23089 * manual/examples/filecli.c: Likewise.
23090 * manual/examples/filesrv.c: Likewise.
23091 * manual/examples/fmtmsgexpl.c: Likewise.
23092 * manual/examples/genpass.c: Likewise.
23093 * manual/examples/inetcli.c: Likewise.
23094 * manual/examples/inetsrv.c: Likewise.
23095 * manual/examples/isockad.c: Likewise.
23096 * manual/examples/longopt.c: Likewise.
23097 * manual/examples/memopen.c: Likewise.
23098 * manual/examples/memstrm.c: Likewise.
23099 * manual/examples/mkfsock.c: Likewise.
23100 * manual/examples/mkisock.c: Likewise.
23101 * manual/examples/mygetpass.c: Likewise.
23102 * manual/examples/pipe.c: Likewise.
23103 * manual/examples/popen.c: Likewise.
23104 * manual/examples/rprintf.c: Likewise.
23105 * manual/examples/search.c: Likewise.
23106 * manual/examples/select.c: Likewise.
23107 * manual/examples/setjmp.c: Likewise.
23108 * manual/examples/sigh1.c: Likewise.
23109 * manual/examples/sigusr.c: Likewise.
23110 * manual/examples/stpcpy.c: Likewise.
23111 * manual/examples/strdupa.c: Likewise.
23112 * manual/examples/strftim.c: Likewise.
23113 * manual/examples/strncat.c: Likewise.
23114 * manual/examples/subopt.c: Likewise.
23115 * manual/examples/swapcontext.c: Likewise.
23116 * manual/examples/termios.c: Likewise.
23117 * manual/examples/testopt.c: Likewise.
23118 * manual/examples/testpass.c: Likewise.
23119 * manual/examples/timeval_subtract.c: Likewise.
23120
01ae168d
RM
23121 [BZ #13792]
23122 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23123 function to ...
23124 * manual/timeval_subtract.c.texi: ... here, new file.
23125
49efa33d
DM
231262012-03-02 David S. Miller <davem@davemloft.net>
23127
23128 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23129
28afd92d
JM
231302012-03-02 Joseph Myers <joseph@codesourcery.com>
23131
804360ed
JM
23132 [BZ #3976]
23133 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23134 (__sin): Save and restore rounding mode and use round-to-nearest
23135 for all computations.
23136 (__cos): Save and restore rounding mode and use round-to-nearest
23137 for all computations.
23138 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23139 <fenv.h>.
23140 (tan): Save and restore rounding mode and use round-to-nearest for
23141 all computations.
23142 * math/libm-test.inc (cos_test_tonearest): New function.
23143 (cos_test_towardzero): Likewise.
23144 (cos_test_downward): Likewise.
23145 (cos_test_upward): Likewise.
23146 (sin_test_tonearest): Likewise.
23147 (sin_test_towardzero): Likewise.
23148 (sin_test_downward): Likewise.
23149 (sin_test_upward): Likewise.
23150 (tan_test_tonearest): Likewise.
23151 (tan_test_towardzero): Likewise.
23152 (tan_test_downward): Likewise.
23153 (tan_test_upward): Likewise.
23154 (main): Call the new functions.
23155 * sysdeps/i386/fpu/libm-test-ulps: Update.
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23157
a6d06d7b
JM
23158 [BZ #10135]
23159 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23160 small n, then large n, before computing and testing k+n.
23161 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23163 Likewise.
23164 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23165 Likewise.
23166 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23167 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23170 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23173 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23174 * math/libm-test.inc (scalbn_test): Add more tests.
23175 (scalbln_test): Likewise.
23176
07e12bb3
JM
23177 * manual/filesys.texi (mode_t): Describe constraints on size and
23178 signedness, not exact equivalence to a particular type.
23179 (ino_t): Likewise.
23180 (ino64_t): Likewise.
23181 (dev_t): Likewise.
23182 (nlink_t): Likewise.
23183 (blkcnt_t): Likewise.
23184 (blkcnt64_t): Likewise.
23185 * manual/llio.texi (off_t): Likewise.
23186
28afd92d
JM
23187 [BZ #3976]
23188 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23189 (__ieee754_exp): Save and restore rounding mode and use
23190 round-to-nearest for all computations.
23191 * math/libm-test.inc (exp_test_tonearest): New function.
23192 (exp_test_towardzero): Likewise.
23193 (exp_test_downward): Likewise.
23194 (exp_test_upward): Likewise.
23195 (main): Call the new functions.
23196 * sysdeps/i386/fpu/libm-test-ulps: Update.
23197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23198
b1eeb65d
CD
231992012-03-01 Chris Demetriou <cgd@google.com>
23200
23201 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23202 have predictable order.
23203
53362a4b
DM
232042012-03-01 David S. Miller <davem@davemloft.net>
23205
3c969083
DM
23206 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23207
759707de
DM
23208 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23209 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23210 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23211 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23212
dfdb8ff2
DM
23213 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23214 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23215 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23217 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23218 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23219 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23220 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23221 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23222
ead89f96
DM
23223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23224
7f66bd07
DM
23225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23226 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23228
53362a4b
DM
23229 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23230 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23231 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23232 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23233 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23236 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23238 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23239 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23243 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23245 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23246 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23247 * sysdeps/sparc/elf/configure: Regenerated.
23248
7b1902cb
JM
232492012-03-01 Joseph Myers <joseph@codesourcery.com>
23250
bec039bc
JM
23251 * configure.in (AS, LD): Require binutils 2.20 or later.
23252 * configure: Regenerated.
23253 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23254 as required minimum version.
23255 * INSTALL: Regenerated.
23256
7b1902cb
JM
23257 [BZ #2541]
23258 [BZ #4108]
23259 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23260 before squaring exponent.
23261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23262 bottom long double and 27 bits of top long double before squaring
23263 exponent.
23264 * math/libm-test.inc (erfc_test): Add more tests.
23265 * sysdeps/i386/fpu/libm-test-ulps: Update.
23266 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23268
f775c276
KT
232692012-03-01 Kai Tietz <ktietz@redhat.com>
23270
23271 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23272 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23273 containing bit-fields.
23274 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23275 * soft-fp/single.h (_FP_UNION_S): Likewise.
23276 * soft-fp/double.h (_FP_UNION_D): Likewise.
23277
5b8a4d4a
JM
232782012-02-29 Joseph Myers <joseph@codesourcery.com>
23279
0bab47b6
JM
23280 [BZ #13786]
23281 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23282 not include ../strcmp.S.
23283 [USE_AS_STRNCASECMP_L]: Likewise.
23284 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23285 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23286 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23287 (__strncasecmp_l_ia32): Define as alias to
23288 __strncasecmp_l_nonascii.
23289
0fcad3e2
JM
23290 [BZ #5794]
23291 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23292 * sysdeps/i386/fpu/libm-test-ulps: Update.
23293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23294
5b8a4d4a
JM
23295 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23297
8fdceb2e
JL
232982012-02-29 Jeff Law <law@redhat.com>
23299
23300 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23301 out of bounds read.
23302
1f393a11
MP
233032012-02-29 Marek Polacek <polacek@redhat.com>
23304
23305 [BZ #13706]
23306 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23307 * elf/Makefile: Add rules to run tst-unused-dep.out.
23308
8847f037
DM
233092012-02-28 David S. Miller <davem@davemloft.net>
23310
23311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23315 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23316 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23317
169d7f11
JM
233182012-02-29 Joseph Myers <joseph@codesourcery.com>
23319
23320 * math/libm-test.inc (llround_test): Move one test from
23321 lround_test. Use TEST_f_L in moved test.
23322 (lround_test): Move misplaced test to llround_test. Add testcase
23323 from bug 2561.
23324
39adf059
UD
233252012-02-28 Ulrich Drepper <drepper@gmail.com>
23326
23327 * sysdeps/x86_64/fpu/e_expf.S: New file.
23328 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23329
71b5d1c5
SB
233302012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23331
23332 [BZ #13637]
23333 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23334 of remain_len that may cause incomplete multi-byte character and
23335 false match.
23336 * posix/bug-regex33.c: New file.
23337 * posix/Makefile (tests): Add bug-regex33.
23338
1f77f049
JM
233392012-02-28 Joseph Myers <joseph@codesourcery.com>
23340
23341 * manual/macros.texi: New file.
23342 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23343 * manual/libc.texinfo: Include macros.texi.
23344 * manual/creatute.texi: Likewise.
23345 * manual/install.texi: Likewise.
23346 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23347 @glibcadj{} in references to the GNU C Library.
23348 * manual/charset.texi: Likewise.
23349 * manual/conf.texi: Likewise.
23350 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23351 when not using those macros.
23352 * manual/creature.texi: Likewise.
23353 * manual/crypt.texi: Likewise.
23354 * manual/errno.texi: Likewise.
23355 * manual/filesys.texi: Likewise.
23356 * manual/header.texi: Likewise.
23357 * manual/install.texi: Likewise.
23358 * manual/intro.texi: Likewise.
23359 * manual/io.texi: Likewise.
23360 * manual/job.texi: Likewise.
23361 * manual/lang.texi: Likewise.
23362 * manual/libc.texiinfo: Likewise.
23363 * manual/llio.texi: Likewise.
23364 * manual/locale.texi: Likewise.
23365 * manual/maint.texi: Likewise.
23366 * manual/math.texi: Likewise.
23367 * manual/memory.texi: Likewise.
23368 * manual/message.texi: Likewise.
23369 * manual/nss.texi: Likewise.
23370 * manual/pattern.texi: Likewise.
23371 * manual/process.texi: Likewise.
23372 * manual/resource.texi: Likewise.
23373 * manual/search.texi: Likewise.
23374 * manual/setjmp.texi: Likewise.
23375 * manual/signal.texi: Likewise.
23376 * manual/socket.texi: Likewise.
23377 * manual/startup.texi: Likewise.
23378 * manual/stdio.texi: Likewise.
23379 * manual/string.texi: Likewise.
23380 * manual/sysinfo.texi: Likewise.
23381 * manual/syslog.texi: Likewise.
23382 * manual/terminal.texi: Likewise.
23383 * manual/time.texi: Likewise.
23384 * manual/users.texi: Likewise.
23385 * INSTALL: Regenerated.
23386 * NOTES: Regenerated.
d40c5d54 23387 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23388
450bf206
AS
233892012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23390
23391 * include/dirent.h: Include <dirstream.h> before
23392 <dirent/dirent.h>.
23393
741a235b
DM
233942012-02-28 David S. Miller <davem@davemloft.net>
23395
23396 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23397 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23400
d6b5aa58
DM
234012012-02-27 David S. Miller <davem@davemloft.net>
23402
1aff59a3
DM
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23407
d6b5aa58
DM
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23409 frame pointer instead of stack pointer relative arg slot.
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23413
433f48bf
CD
234142012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23415
23416 [BZ #3992]
23417 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23418
d674b76d
DM
234192012-02-27 David S. Miller <davem@davemloft.net>
23420
23421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23427 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23428 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23429
0e7727f7
JM
234302012-02-27 Joseph Myers <joseph@codesourcery.com>
23431
23432 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23433 later. Allow versions 5-9.
43be4ca2 23434 * configure: Regenerated.
0e7727f7
JM
23435 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23436 required minimum version and 4.6 as recommended version. Do not
23437 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23438 * INSTALL: Regenerated.
0e7727f7 23439
a78bc654
DM
234402012-02-27 David S. Miller <davem@davemloft.net>
23441
428d5830
DM
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23448 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23450
a78bc654
DM
23451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23452 manipulate bits before adding and subtracting TWO112[sx].
23453 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23454
4579f81c
RM
234552012-02-27 Roland McGrath <roland@hack.frob.com>
23456
36c8acb4
RM
23457 [BZ #13775]
23458 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23459 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23460 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23461 being in POSIX, because they are in 1003.1-2008.
23462
84ad622b
RM
23463 * rt/tst-aio.c: Include <fcntl.h>.
23464 * rt/tst-aio7.c: Likewise.
23465 * rt/tst-aio64.c: Likewise.
23466
4579f81c
RM
23467 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23468
abd923db
JM
234692012-02-27 Joseph Myers <joseph@codesourcery.com>
23470
23471 * manual/install.texi (--with-headers): Describe headers as
23472 interface headers, not private headers.
23473 (Specific advice for GNU/Linux systems): Describe use of headers
23474 from "make headers_install", not private headers from older
23475 kernels.
43be4ca2 23476 * INSTALL: Regenerated.
abd923db
JM
23477 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23478 Change to 2.6.19.
23479 * sysdeps/unix/sysv/linux/configure: Regenerated.
23480
6664049b
JM
23481 * manual/llio.texi (fclean): Remove documentation.
23482
bb8b6697
JM
23483 * manual/Makefile (libc-texi-generated): New variable. Include
23484 version.texi.
23485 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23486 $(libc-texi-generated), not duplicated list of files.
23487 (version.texi, stamp-version): New rules.
23488 (realclean): Remove $(libc-texi-generated), not individual files
23489 from that list. Do not remove dir-add.texinfo.
23490 * manual/libc.texinfo: Comment out uses of edition numbers and
23491 references to printed manual. Remove last-updated dates.
23492 (EDITION): Comment out.
23493 (ISBN): Likewise.
23494 (VERSION, UPDATED): Remove.
23495 (version.texi): Include.
23496
12e5c3b9
AS
234972012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23498
23499 * sysdeps/posix/spawni.c: Include <signal.h>.
23500 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23501 * sysdeps/pthread/aio_fsync.c: Likewise.
23502
4efeffc1 235032012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23504
ba63ba08
UD
23505 * conform/Makefile (tests): Run only when not cross-compiling and
23506 when fast-check is not defined.
23507
d94a4670
UD
23508 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23509 * conform/data/limits.h-data: Fixes for POSIX2008.
23510 * conform/run-conformtest.sh: Run all tests.
23511 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23512 headers.
23513 * include/bits/dlfcn.h: Likewise.
23514 * include/langinfo.h: Likewise.
23515 * include/monetary.h: Likewise.
23516 * include/sys/poll.h: Likewise.
23517
23518 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23519 for __USE_GNU.
23520 * posix/spawn.h: Define __need_sigset_t.
23521 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23522 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23523 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23524 to get sigevent_t only.
23525 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23526 only for __USE_GNU.
23527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23528 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23529 process_vm_writev only for __USE_GNU.
23530 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23531
23532 * conform/Makefile: For now ignore errors from run-conformtest.
23533 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23534 POSIX to avoid namespace pollution. Don't prepend headers.
23535 * conform/data/aio.h-data: Fixes for POSIX testing.
23536 * conform/data/fcntl.h-data: Likewise.
23537 * conform/data/glob.h-data: Likewise.
23538 * conform/data/grp.h-data: Likewise.
23539 * conform/data/pthread.h-data: Likewise.
23540 * conform/data/pwd.h-data: Likewise.
23541 * conform/data/signal.h-data: Likewise.
23542 * conform/data/spawn.h-data: Likewise.
23543 * conform/data/stdio.h-data: Likewise.
23544 * conform/data/stdlib.h-data: Likewise.
23545 * conform/data/stropts.h-data: Likewise.
23546 * conform/data/sys/mman.h-data: Likewise.
23547 * conform/data/sys/stat.h-data: Likewise.
23548 * conform/data/sys/types.h-data: Likewise.
23549 * conform/data/sys/wait.h-data: Likewise.
23550 * conform/data/time.h-data: Likewise.
23551 * conform/data/unistd.h-data: Likewise.
23552 * conform/data/utime.h-data: Likewise.
23553
23554 * io/sys/stat.h: fchmod was always in POSIX.
23555 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23556 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23557 * rt/aio.h: Define __need_timespec before including <time.h>.
23558 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23559 struct. Add forward declaration of pthread_attr_t and use it in
23560 sigevent.
23561 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23563 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23564 always remove CLK_TCK definition.
23565
c20105c3
AS
235662012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23567
23568 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23569
7a270350
UD
235702012-02-25 Ulrich Drepper <drepper@gmail.com>
23571
31341567
UD
23572 * conform/run-conformtest.sh: New file.
23573 * conform/Makefile: Run run-conformtest for tests.
23574 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23575 support.
23576
23577 * conform/data/uchar.h-data: New file.
23578 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23579 * conform/data/arpa/inet.h-data: Likewise.
23580 * conform/data/assert.h-data: Likewise.
23581 * conform/data/complex.h-data: Likewise.
23582 * conform/data/cpio.h-data: Likewise.
23583 * conform/data/ctype.h-data: Likewise.
23584 * conform/data/dirent.h-data: Likewise.
23585 * conform/data/dlfcn.h-data: Likewise.
23586 * conform/data/errno.h-data: Likewise.
23587 * conform/data/fcntl.h-data: Likewise.
23588 * conform/data/float.h-data: Likewise.
23589 * conform/data/fmtmsg.h-data: Likewise.
23590 * conform/data/fnmatch.h-data: Likewise.
23591 * conform/data/ftw.h-data: Likewise.
23592 * conform/data/glob.h-data: Likewise.
23593 * conform/data/grp.h-data: Likewise.
23594 * conform/data/iconv.h-data: Likewise.
23595 * conform/data/inttypes.h-data: Likewise.
23596 * conform/data/langinfo.h-data: Likewise.
23597 * conform/data/libgen.h-data: Likewise.
23598 * conform/data/limits.h-data: Likewise.
23599 * conform/data/locale.h-data: Likewise.
23600 * conform/data/math.h-data: Likewise.
23601 * conform/data/monetary.h-data: Likewise.
23602 * conform/data/mqueue.h-data: Likewise.
23603 * conform/data/ndbm.h-data: Likewise.
23604 * conform/data/net/if.h-data: Likewise.
23605 * conform/data/netdb.h-data: Likewise.
23606 * conform/data/netinet/in.h-data: Likewise.
23607 * conform/data/nl_types.h-data: Likewise.
23608 * conform/data/poll.h-data: Likewise.
23609 * conform/data/pthread.h-data: Likewise.
23610 * conform/data/pwd.h-data: Likewise.
23611 * conform/data/regex.h-data: Likewise.
23612 * conform/data/sched.h-data: Likewise.
23613 * conform/data/search.h-data: Likewise.
23614 * conform/data/semaphore.h-data: Likewise.
23615 * conform/data/setjmp.h-data: Likewise.
23616 * conform/data/signal.h-data: Likewise.
23617 * conform/data/spawn.h-data: Likewise.
23618 * conform/data/stdarg.h-data: Likewise.
23619 * conform/data/stdio.h-data: Likewise.
23620 * conform/data/stdlib.h-data: Likewise.
23621 * conform/data/string.h-data: Likewise.
23622 * conform/data/strings.h-data: Likewise.
23623 * conform/data/stropts.h-data: Likewise.
23624 * conform/data/sys/ipc.h-data: Likewise.
23625 * conform/data/sys/mman.h-data: Likewise.
23626 * conform/data/sys/msg.h-data: Likewise.
23627 * conform/data/sys/resource.h-data: Likewise.
23628 * conform/data/sys/select.h-data: Likewise.
23629 * conform/data/sys/sem.h-data: Likewise.
23630 * conform/data/sys/shm.h-data: Likewise.
23631 * conform/data/sys/socket.h-data: Likewise.
23632 * conform/data/sys/stat.h-data: Likewise.
23633 * conform/data/sys/statvfs.h-data: Likewise.
23634 * conform/data/sys/time.h-data: Likewise.
23635 * conform/data/sys/timeb.h-data: Likewise.
23636 * conform/data/sys/times.h-data: Likewise.
23637 * conform/data/sys/types.h-data: Likewise.
23638 * conform/data/sys/uio.h-data: Likewise.
23639 * conform/data/sys/un.h-data: Likewise.
23640 * conform/data/sys/utsname.h-data: Likewise.
23641 * conform/data/sys/wait.h-data: Likewise.
23642 * conform/data/syslog.h-data: Likewise.
23643 * conform/data/tar.h-data: Likewise.
23644 * conform/data/termios.h-data: Likewise.
23645 * conform/data/utime.h-data: Likewise.
23646 * conform/data/utmpx.h-data: Likewise.
23647 * conform/data/varargs.h-data: Likewise.
23648 * conform/data/wchar.h-data: Likewise.
23649 * conform/data/wctype.h-data: Likewise.
23650 * conform/data/wordexp.h-data: Likewise.
23651
23652 * include/stropts.h: New file.
23653 * include/uchar.h: New file.
23654 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23655 * include/assert.h: Likewise.
23656 * include/ctype.h: Likewise.
23657 * include/dirent.h: Likewise.
23658 * include/dlfcn.h: Likewise.
23659 * include/fcntl.h: Likewise.
23660 * include/fnmatch.h: Likewise.
23661 * include/glob.h: Likewise.
23662 * include/grp.h: Likewise.
23663 * include/libio.h: Likewise.
23664 * include/locale.h: Likewise.
23665 * include/math.h: Likewise.
23666 * include/net/if.h: Likewise.
23667 * include/netdb.h: Likewise.
23668 * include/netinet/in.h: Likewise.
23669 * include/pthread.h: Likewise.
23670 * include/pwd.h: Likewise.
23671 * include/regex.h: Likewise.
23672 * include/sched.h: Likewise.
23673 * include/search.h: Likewise.
23674 * include/setjmp.h: Likewise.
23675 * include/signal.h: Likewise.
23676 * include/stdio.h: Likewise.
23677 * include/stdlib.h: Likewise.
23678 * include/string.h: Likewise.
23679 * include/sys/cdefs.h: Likewise.
23680 * include/sys/mman.h: Likewise.
23681 * include/sys/msg.h: Likewise.
23682 * include/sys/resource.h: Likewise.
23683 * include/sys/select.h: Likewise.
23684 * include/sys/socket.h: Likewise.
23685 * include/sys/stat.h: Likewise.
23686 * include/sys/statvfs.h: Likewise.
23687 * include/sys/time.h: Likewise.
23688 * include/sys/times.h: Likewise.
23689 * include/sys/uio.h: Likewise.
23690 * include/sys/utsname.h: Likewise.
23691 * include/sys/wait.h: Likewise.
23692 * include/termios.h: Likewise.
23693 * include/time.h: Likewise.
23694 * include/ulimit.h: Likewise.
23695 * include/unistd.h: Likewise.
23696 * include/utime.h: Likewise.
23697 * include/wchar.h: Likewise.
23698 * include/wctype.h: Likewise.
23699 * include/wordexp.h: Likewise.
23700
23701 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23702
7a270350
UD
23703 * time/time.h: TIME_UTC must be a macro.
23704 Make timespec_get available for ISO C11 only as well.
23705
7724defc
UD
237062012-02-24 Ulrich Drepper <drepper@gmail.com>
23707
23708 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23709 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23710
6b1d1d46
JM
237112012-02-24 Joseph Myers <joseph@codesourcery.com>
23712
23713 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23714
0f8bbd69
JM
237152012-02-24 Joseph Myers <joseph@codesourcery.com>
23716
23717 * manual/texinfo.tex: Update to version 2012-01-19.16.
23718
66ab80bc
JM
237192012-02-24 Joseph Myers <joseph@codesourcery.com>
23720
23721 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23722
74981cc5
RM
237232012-02-24 Roland McGrath <roland@hack.frob.com>
23724
ee968201
RM
23725 [BZ #13738]
23726 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23727 * manual/fdl-1.3.texi: New file.
23728 * manual/fdl-1.1.texi: File removed.
23729
74981cc5
RM
23730 [BZ #13738]
23731 * manual/libc.texinfo (FDL_VERSION): New @set.
23732 Use it for mention of FDL in cover text.
23733 (Documentation License): Use it in @include file name.
23734
7bb764bc
JM
237352012-02-22 Joseph Myers <joseph@codesourcery.com>
23736 Roland McGrath <roland@hack.frob.com>
23737
23738 [BZ #5461]
23739 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23740 not LONG_LONG_MAX and LONG_LONG_MIN.
23741 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23742 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23743 name.
23744 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23745
6cbeae47
JM
237462012-02-22 Joseph Myers <joseph@codesourcery.com>
23747
23748 [BZ #2547]
23749 [BZ #11365]
23750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23751 manipulate bits before adding and subtracting TWO23[sx].
23752 * math/libm-test.inc (nearbyint_test): Add more tests.
23753
fe45ce09
JM
237542012-02-22 Joseph Myers <joseph@codesourcery.com>
23755
23756 [BZ #2548]
23757 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23758 bits before adding and subtracting TWO23[sx].
23759 * math/libm-test.inc (rint_test): Add more tests.
23760 (rint_test_tonearest): Likewise.
23761 (rint_test_towardzero): Likewise.
23762 (rint_test_downward): Likewise.
23763 (rint_test_upward: Likewise.
23764
ff3b3d82
JM
237652012-02-22 Joseph Myers <joseph@codesourcery.com>
23766
23767 [BZ #10110]
23768 * include/stdc-predef.h: New file. Extracted from features.h.
23769 * include/features.h: Include stdc-predef.h.
23770 * Makefile (headers): Add stdc-predef.h.
23771 * CONFORMANCE (Compiler limitations): Update.
23772
ef0aab35
JM
237732012-02-22 Joseph Myers <joseph@codesourcery.com>
23774
23775 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23776
58639409
DM
237772012-02-21 David S. Miller <davem@davemloft.net>
23778
23779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23781
c0e70b25
DM
237822012-02-20 David S. Miller <davem@davemloft.net>
23783
23784 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23785 using a normal save/restore sequence, rather than allocating a
23786 dummy stack frame just to store a frame pointer and restore.
23787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23788
fb06851d
JM
237892012-02-21 Joseph Myers <joseph@codesourcery.com>
23790
23791 * manual/install.texi: Fix stray word in line-wrapped comment.
23792
7a8b71c3
DM
237932012-02-20 David S. Miller <davem@davemloft.net>
23794
d510c123
DM
23795 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23796 both binutils and gcc support GOTDATA.
23797
0722d7c2
DM
23798 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23799 "rd %pc" in the PIC register setup sequences.
23800
3d2b3019
DM
23801 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23802 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23803 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23804 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23810 (SYSCALL_ERROR_HANDLER): Likewise.
23811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23814 (SYSCALL_ERROR_HANDLER): Likewise.
23815
c80098a9
DM
23816 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23817 (HAVE_GCC_GOTDATA): New.
23818 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23819 relocation support in both binutils and gcc.
23820 * sysdeps/sparc/elf/configure: Regenerate.
23821
3a2545a0
DM
23822 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23823 * sysdeps/sparc/sparc32/elf/configure: Delete.
23824 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23825 * sysdeps/sparc/sparc64/elf/configure: Delete.
23826 * sysdeps/sparc/elf/configure.in: New file.
23827 * sysdeps/sparc/elf/configure: Generate.
23828
7a8b71c3
DM
23829 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23830 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23831 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23832 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23833 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23834
f1e86fca
JM
238352012-02-21 Joseph Myers <joseph@codesourcery.com>
23836
23837 * manual/install.texi: Do not mention specific glibc version
23838 numbers.
23839 * manual/libc.texinfo (VERSION, UPDATED): Update.
23840 (@copying): Use @copyright{} and range of years.
23841
0e7dfaef
JM
238422012-02-21 Joseph Myers <joseph@codesourcery.com>
23843
23844 [BZ #13695]
23845 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23846 [crti.S not in sysdirs] (generated): Do not append.
23847 [crti.S not in sysdirs] (omit-deps): Likewise.
23848 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23849 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23850 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23851 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23852 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23853 Likewise.
23854 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23855 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23856 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23857 * csu/defs.awk: Remove file.
23858 * sysdeps/generic/initfini.c: Likewise.
23859 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23860 variable.
23861 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23862 Likewise.
23863
599af3ca
JM
238642012-02-20 Joseph Myers <joseph@codesourcery.com>
23865
23866 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23868 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23870 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23871 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23872 <bits/epoll.h>.
23873 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23874 (__EPOLL_PACKED): Define to empty if not defined by
23875 <bits/epoll.h>.
23876 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23878 bits/epoll.h.
23879
0e499750
JM
238802012-02-20 Joseph Myers <joseph@codesourcery.com>
23881
23882 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23883 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23884 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23885 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23886 <bits/timerfd.h>.
23887 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23889 bits/timerfd.h.
23890
5ad91f6e
JM
238912012-02-20 Joseph Myers <joseph@codesourcery.com>
23892
23893 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23894 in C locale.
23895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23896 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23899
06b99b02
AJ
239002012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23901
23902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23903 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23904
7638c0fd
AS
239052012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23906
23907 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23908 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23909 defined.
23910 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23911 Likewise.
23912 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23913 entry for 2.16.
23914
92221550
AJ
239152012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23916
23917 * math/w_acos.c: Use non-signaling floating-point comparisons.
23918 * math/w_acosf.c: Likewise.
23919 * math/w_acosh.c: Likewise.
23920 * math/w_acoshf.c: Likewise.
23921 * math/w_acoshl.c: Likewise.
23922 * math/w_acosl.c: Likewise.
23923 * math/w_asin.c: Likewise.
23924 * math/w_asinf.c: Likewise.
23925 * math/w_asinl.c: Likewise.
23926 * math/w_atanh.c: Likewise.
23927 * math/w_atanhf.c: Likewise.
23928 * math/w_atanhl.c: Likewise.
23929 * math/w_exp2.c: Likewise.
23930 * math/w_exp2f.c: Likewise.
23931 * math/w_exp2l.c: Likewise.
23932 * math/w_j0.c: Likewise.
23933 * math/w_j0f.c: Likewise.
23934 * math/w_j0l.c: Likewise.
23935 * math/w_j1.c: Likewise.
23936 * math/w_j1f.c: Likewise.
23937 * math/w_j1l.c: Likewise.
23938 * math/w_jn.c: Likewise.
23939 * math/w_jnf.c: Likewise.
23940 * math/w_log.c: Likewise.
23941 * math/w_log10.c: Likewise.
23942 * math/w_log10f.c: Likewise.
23943 * math/w_log10l.c: Likewise.
23944 * math/w_log2.c: Likewise.
23945 * math/w_log2f.c: Likewise.
23946 * math/w_log2l.c: Likewise.
23947 * math/w_logf.c: Likewise.
23948 * math/w_logl.c: Likewise.
23949 * math/w_sqrt.c: Likewise.
23950 * math/w_sqrtf.c: Likewise.
23951 * math/w_sqrtl.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23955 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23957
ebaf36eb
JM
239582012-02-19 Joseph Myers <joseph@codesourcery.com>
23959
23960 [BZ #9739]
23961 * manual/string.texi (strnlen): Use correct parameter name in
23962 equivalent expression.
23963
71c254a6
JM
239642012-02-19 Joseph Myers <joseph@codesourcery.com>
23965
23966 [BZ #11174]
23967 * manual/users.texi (seteuid): Consistently use neweuid for
23968 argument name.
23969
16d2c631
JM
239702012-02-19 Joseph Myers <joseph@codesourcery.com>
23971
23972 [BZ #13704]
23973 * manual/nss.texi (Services in the NSS configuration): Correct
23974 list of services in example configuration file.
23975
cd837b09
NB
239762012-02-19 Nick Bowler <nbowler@draconx.ca>
23977
23978 [BZ #11322]
23979 * manual/arith.texi: Remove statements about negative zero
23980 behaving identically to zero.
23981
02c4bbad
JM
239822012-02-18 Joseph Myers <joseph@codesourcery.com>
23983
23984 [BZ #5993]
23985 * manual/install.texi: Do not document upgrading from libc5.
23986
366842e7
JM
239872012-02-18 Joseph Myers <joseph@codesourcery.com>
23988
23989 [BZ #4596]
23990 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23991
dd54084d
DM
239922012-02-18 David S. Miller <davem@davemloft.net>
23993
23994 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23995 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23996 %o7 across the call.
23997 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23998 instead.
23999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24000 SETUP_PIC_REG_LEAF.
24001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24002 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24003 * sysdeps/sparc/crtn.S: Likewise.
24004
2bcc53a3
UD
240052012-02-17 Ulrich Drepper <drepper@gmail.com>
24006
24007 * aout/Makefile: Remove.
24008
09c093b5
RK
240092012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24010
24011 [BZ #13058]
24012 * manual/examples/argp-ex1.c (main): Format definition in GNU
24013 style.
24014 * manual/examples/argp-ex2.c (main): Likewise.
24015 * manual/examples/argp-ex3.c (main): Likewise.
24016 * manual/examples/argp-ex4.c (main): Likewise.
24017 * manual/examples/longopt.c (main): Use new-style prototype
24018 definition.
24019 * manual/examples/strncat.c (main): Specify return type and use
24020 (void) for arguments.
24021 * manual/examples/subopt.c (main): Use char **argv argument.
24022
2ee633a2
JM
240232012-02-17 Joseph Myers <joseph@codesourcery.com>
24024
24025 [BZ #5077]
24026 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24027 rounding modes.
24028
0520adde
FB
240292012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24030
24031 [BZ #6907]
24032 * manual/string.texi (strchr): Change when strchrnul is
24033 recommended.
24034
3f4081cd
DGM
240352012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24036
24037 [BZ #174]
24038 * manual/locale.texi (setlocale): Document LOCPATH.
24039
d1b10e78
JM
240402012-02-17 Joseph Myers <joseph@codesourcery.com>
24041
24042 [BZ #10210]
24043 * manual/process.texi (execle): Move @dots{} before last argument.
24044
79c6869c
PB
240452012-02-17 Paul Bolle <pebolle@tiscali.nl>
24046
24047 [BZ #12047]
24048 * manual/charset.texi (Generic Charset Conversion): Fix typo
24049 (LC_TYPE -> LC_CTYPE).
24050
cc6e48bc
NB
240512012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24052
24053 [BZ #5805]
24054 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24055 (scalbnf): Likewise.
24056 (scalbnl): Likewise.
24057 (scalbln): Likewise.
24058 (scalblnf): Likewise.
24059 (scalblnl): Likewise.
24060 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24061 (vwarnx): Likewise.
24062 (verr): Likewise.
24063 (verrx): Likewise.
24064 * manual/filesys.texi (telldir): Use braces around return type.
24065 * manual/llio.texi (mmap): Add space after comma.
24066 (mmap64): Likewise.
24067 * manual/math.texi (jn): Use @var{} on parameter names.
24068 (jnf): Likewise.
24069 (jnl): Likewise.
24070 (yn): Likewise.
24071 (ynf): Likewise.
24072 (ynl): Likewise.
24073 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24074 line.
24075 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24076 "...".
24077 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24078 (sched_get_priority_max): Likewise.
24079 * manual/signal.texi (sigvec): Add space after comma.
24080 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24081 names.
24082 (if_indextoname): Likewise.
24083 (if_freenameindex): Likewise.
24084 (sendto): Use ',' instead of '.' in prototype.
24085 * manual/startup.texi (syscall): Use @dots{} instead of literal
24086 "...".
24087 * manual/stdio.texi (__fpending): Separate initial words of
24088 paragraph from @deftypefun line.
24089 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24090 "...".
24091 (vsyslog): Use @var{} on parameter names.
24092 * manual/terminal.texi (stty): Use @var{} on parameter names.
24093 * manual/users.texi (getutmp): Use @var{} on parameter names.
24094 (getutmpx): Likewise.
24095
5b23062f
JM
240962012-02-17 Joseph Myers <joseph@codesourcery.com>
24097
24098 [BZ #6884]
24099 * manual/stdio.texi (fopen): Fix typos in description of
24100 ",ccs=STRING".
24101
8dee4833
AJ
241022012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24103
24104 [BZ #4026]
24105 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24106 get clock_id definition.
24107
9078ce93
TS
241082012-02-17 Thomas Schwinge <thomas@schwinge.name>
24109
24110 [BZ #4822]
24111 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24112 (madvise): Cast every argument to void on its own.
24113
3835c55f
JM
241142012-02-17 Joseph Myers <joseph@codesourcery.com>
24115
24116 [BZ #9902]
24117 * manual/startup.texi (Exit Status): Fix typo.
24118
35c47e37
JM
241192012-02-17 Joseph Myers <joseph@codesourcery.com>
24120
24121 [BZ #10140]
24122 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24123 * manual/examples/argp-ex2.c: Likewise.
24124 * manual/examples/argp-ex3.c: Likewise.
24125
e3b69ca7
RH
241262012-02-16 Richard Henderson <rth@redhat.com>
24127
24128 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24129 * sysdeps/s390/s390-32/initfini.c: Remove.
24130 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24131 * sysdeps/s390/s390-64/initfini.c: Remove.
24132
df83af67
KK
241332012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24134
24135 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24136 compiler output for sysdeps/generic/initfini.c.
24137 * sysdeps/sh/elf/initfini.c: Remove file.
24138
f63f3380
DM
241392012-02-16 David S. Miller <davem@davemloft.net>
24140
fb59b3a4
DM
24141 [BZ #11494]
24142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24143
f63f3380
DM
24144 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24145 * sysdeps/sparc/crti.S: New file.
24146 * sysdeps/sparc/crtn.S: New file.
24147 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24148 * sysdeps/sparc/sparc64/Makefile: Likewise.
24149
df6a4a4a
MF
241502012-02-15 Mike Frysinger <vapier@gentoo.org>
24151
6dd8f3dc 24152 [BZ #3335]
df6a4a4a
MF
24153 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24154
1cac7236
RM
241552012-02-15 Roland McGrath <roland@hack.frob.com>
24156
d2c736f8
RM
24157 [BZ #4822]
24158 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24159
1cac7236
RM
24160 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24161 (write, read, close): Likewise.
24162 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24163
8e475601
JM
241642012-02-15 Joseph Myers <joseph@codesourcery.com>
24165
24166 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24167 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24168 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24169 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24170 <bits/signalfd.h>.
24171 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24173 bits/signalfd.h.
24174
ed656b40
MP
241752012-02-14 Marek Polacek <polacek@redhat.com>
24176
24177 * sysdeps/x86_64/crti.S: New file.
24178 * sysdeps/x86_64/crtn.S: New file.
24179 * sysdeps/x86_64/elf/initfini.c: Remove file.
24180
2a979d3a
JM
241812012-02-13 Joseph Myers <joseph@codesourcery.com>
24182
24183 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24184 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24185 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24186 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24187 <bits/inotify.h>.
24188 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24190 bits/inotify.h.
24191
2a418ac3
JM
241922012-02-13 Joseph Myers <joseph@codesourcery.com>
24193
24194 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24195 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24196 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24197 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24198 <bits/eventfd.h>.
24199 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24201 bits/eventfd.h.
24202
fb779be7
TS
242032012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24204
e19e83c5
RM
24205 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24206 __feraiseexcept instead of feraiseexcept.
7c35ffed 24207
fb779be7
TS
24208 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24209 nanosleep invocations.
24210 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24211 strings, and add error checking for a nanosleep invocations.
24212
59ba27a6
PE
242132012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24214
24215 Replace FSF snail mail address with URLs, as per GNU coding standards.
24216 Most of the snail mail addresses were wrong anyway, and omitting
24217 them makes the source code easier to maintain. Almost all of the
24218 changes are to license notices and to locale LC_IDENTIFICATION
24219 addresses, except for this one:
24220 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24221 not its snail mail address.
24222
57b957eb
RH
242232012-02-09 Richard Henderson <rth@twiddle.net>
24224
af850b1c
RH
24225 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24226 of kernel-features.h.
24227
57b957eb
RH
24228 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24229
6b73181a
MP
242302012-02-08 Marek Polacek <polacek@redhat.com>
24231
24232 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24233 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24234 * sysdeps/gnu/_G_config.h: Likewise.
24235 * sysdeps/generic/_G_config.h: Likewise.
24236
26ecc33a
AS
242372012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24238
6c6dbc63
AS
24239 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24240 tests.
24241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24242
e216c012
AS
24243 * sysdeps/powerpc/powerpc32/crti.S: New file.
24244 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24245 * sysdeps/powerpc/powerpc64/crti.S: New file.
24246 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24247
26ecc33a
AS
24248 * Makeconfig (have-initfini): Don't set.
24249 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24250 * configure.in (nopic_initfini): Don't substitute.
24251 * config.h.in (HAVE_INITFINI): Don't #undef.
24252 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24253 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24254
3add8e13
JM
242552012-02-08 Joseph Myers <joseph@codesourcery.com>
24256
24257 Support crti.S and crtn.S provided directly by architectures.
24258 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24259 [crti.S in sysdirs] (omit-deps): Likewise.
24260 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24261 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24262 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24263 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24264 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24265 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24266 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24267 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24268 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24269 compiler output for sysdeps/generic/initfini.c.
24270 * sysdeps/i386/elf/Makefile: Remove file.
24271 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24272
a22f12b4
MP
242732012-02-07 Marek Polacek <polacek@redhat.com>
24274
24275 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24276 * sysdeps/gnu/_G_config.h: Likewise.
24277 * sysdeps/mach/hurd/_G_config.h: Likewise.
24278
148cf100
MP
242792012-02-07 Marek Polacek <polacek@redhat.com>
24280
24281 * math/Makefile (tests): Add tst-CMPLX2.
24282 * math/tst-CMPLX2.c: New file.
24283
cfdc0dd7
AS
242842012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24285
84ba42c4
AS
24286 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24287
cfdc0dd7
AS
24288 * math/libm-test.inc (jn_test): Add missing L suffix.
24289
622c86f4
MP
242902012-02-06 Marek Polacek <polacek@redhat.com>
24291
24292 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24293 * sysdeps/i386/fpu/e_powf.S: Likewise.
24294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24295 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24296 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24297 * sysdeps/i386/fpu/e_pow.S: Likewise.
24298 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24299 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24300 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24301 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24302 * sysdeps/i386/fpu/e_log2.S: Likewise.
24303 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24304 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24305 * sysdeps/i386/fpu/e_powl.S: Likewise.
24306 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24308 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24309 * sysdeps/i386/fpu/e_logl.S: Likewise.
24310 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24311 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24312 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24313 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24314 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24316 * sysdeps/i386/fpu/e_log.S: Likewise.
24317 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24319 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24320 * sysdeps/i386/fpu/e_logf.S: Likewise.
24321 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24322 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24323 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24324 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24325 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24326 * sysdeps/i386/fpu/e_log10.S: Likewise.
24327 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24328 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24329 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24330 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24332 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24333 * sysdeps/i386/asm-syntax.h: Likewise.
24334 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24336 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24337 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24338 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24339 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24340 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24341 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24343 * sysdeps/powerpc/sysdep.h: Likewise.
24344 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24345 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24346
d4a54ac6
JM
243472012-02-06 Joseph Myers <joseph@codesourcery.com>
24348
24349 [BZ #411]
24350 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24351
314054ea
JM
243522012-02-06 Joseph Myers <joseph@codesourcery.com>
24353
24354 * sysdeps/i386/sysdep.h: Include <features.h>.
24355 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24356 version.
24357
d8e0ca50
JM
243582012-02-05 Joseph Myers <joseph@codesourcery.com>
24359
24360 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24361 Define.
24362 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24363 LOAD_PIC_REG_STR.
24364
b1da7dd9
JM
243652012-02-03 Joseph Myers <joseph@codesourcery.com>
24366
24367 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24368 (SETUP_PIC_REG): Use GET_PC_THUNK.
24369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24370 macro.
24371
9a1d9254
JM
243722012-02-03 Joseph Myers <joseph@codesourcery.com>
24373
24374 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24375 for non-PIC compilation.
24376 (SETUP_PIC_REG): Add .p2align directive.
24377 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24378 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24385 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24386 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24387 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24388 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24389 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24390 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24391 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24392 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24393 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24394 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24395 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24396 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24397 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24418
65dc3b75
JM
244192012-02-03 Joseph Myers <joseph@codesourcery.com>
24420
24421 * math/tst-CMPLX.c: Include <stdio.h>.
24422
d55bf177
JM
244232012-01-31 Joseph Myers <joseph@codesourcery.com>
24424
24425 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24426 float.
24427 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24428 * sysdeps/sparc/bits/mathdef.h: Likewise.
24429
69db4f8f
MP
244302012-01-31 Marek Polacek <polacek@redhat.com>
24431
24432 * libio/libio.h: Don't define _PARAMS.
24433 * locale/programs/config.h: Don't define PARAMS.
24434 * stdlib/strtol_l.c: Likewise.
24435 (__strtol_l): Remove PARAMS from the prototype.
24436
41b81892
UD
244372012-01-31 Ulrich Drepper <drepper@gmail.com>
24438
3b49edc0
UD
24439 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24440 names. Just use the correct names. Remove unnecessary wrapper
24441 functions.
24442 * malloc/arena.c: Likewise.
24443 * malloc/hooks.c: Likewise.
24444
41b81892
UD
24445 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24446 ARENA_TEST says not to. Simplify test for creation of a new arena.
24447 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24448
27a25b6e
UD
244492012-01-30 Ulrich Drepper <drepper@gmail.com>
24450
24451 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24452 into tail calls.
24453 (update_get_addr): New function.
24454 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24455 GET_ADDR_MODULE parameter.
24456
c8a89e7d
JM
244572012-01-30 Joseph Myers <joseph@codesourcery.com>
24458
24459 * crypt/cert.c: Remove __STDC__ conditionals.
24460 * crypt/crypt-entry.c: Likewise.
24461 * crypt/crypt_util.c: Likewise.
24462 * libio/filedoalloc.c: Likewise.
24463 * libio/fileops.c: Likewise.
24464 * libio/genops.c: Likewise.
24465 * libio/iofclose.c: Likewise.
24466 * libio/iofdopen.c: Likewise.
24467 * libio/iofopen.c: Likewise.
24468 * libio/iofopen64.c: Likewise.
24469 * libio/iogetdelim.c: Likewise.
24470 * libio/iopopen.c: Likewise.
24471 * libio/obprintf.c: Likewise.
24472 * libio/oldfileops.c: Likewise.
24473 * libio/oldiofclose.c: Likewise.
24474 * libio/oldiofdopen.c: Likewise.
24475 * libio/oldiofopen.c: Likewise.
24476 * libio/oldiopopen.c: Likewise.
24477 * libio/wfiledoalloc.c: Likewise.
24478 * libio/wgenops.c: Likewise.
24479 * locale/programs/xmalloc.c: Likewise.
24480 * misc/syslog.c: Likewise.
24481 * stdio-common/xbug.c: Likewise.
24482 * string/memchr.c: Likewise.
24483 * string/memcmp.c: Likewise.
24484 * string/memrchr.c: Likewise.
24485 * string/rawmemchr.c: Likewise.
24486 * sysdeps/posix/getcwd.c: Likewise.
24487 * time/strftime_l.c: Likewise.
24488
3b100462
JM
244892012-01-30 Joseph Myers <joseph@codesourcery.com>
24490
24491 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24492 * config.make.in (config-cflags-sse2avx): Define.
24493 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24494 Fix typo.
24495
607998af
CM
244962012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24497
24498 * scripts/config.guess: Update from upstream config git repository.
24499 * scripts/config.sub: Likewise.
24500
3601428f
CM
245012012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24502
3ac8b282
CM
24503 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24504 (EM_NUM): Update.
24505 (R_TILEPRO_*, R_TILEGX_*): New macros.
24506
e034841e
CM
24507 * scripts/firstversions.awk: Fix bug in version range handling.
24508
540d7568
CM
24509 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24510
3601428f
CM
24511 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24512
463de862
CM
24513 * include/sys/epoll.h: New file.
24514 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24515 libc_hidden_def.
24516
73139a76
UD
245172012-01-28 Ulrich Drepper <drepper@gmail.com>
24518
96bc5b45
UD
24519 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24520 Avoid unnecessary __WORDSIZE == 64 test.
24521 (fmaxf): Use VEX format if possible.
24522 (fmax): Likewise.
24523 (fminf): Likewise.
24524 (fmin): Likewise.
24525
56f6f6a2
UD
24526 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24527 * math/math_private.h: Remove libc_fegetround* and
24528 libc_fesetround*.
24529 * sysdeps/i386/configure.in: Check for -msse2avx.
24530 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24531 also if SSE2AVX is defined.
24532 Remove libc_fegetround* and libc_fesetround*.
24533 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24534 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24536 of HAS_YMM_USABLE.
24537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24541 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24542
73139a76
UD
24543 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24544
d73f93a4
AZ
245452012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24546
24547 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24548 size is not set.
24549 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24550
6ee65ed6
UD
245512012-01-27 Ulrich Drepper <drepper@gmail.com>
24552
24553 [BZ #13618]
24554 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24555 relocation.
24556 * Makeconfig (libm): Define.
24557 * elf/Makefile: Add rules to build and run tst-relsort1.
24558 * elf/tst-relsort1.c: New file.
24559 * elf/tst-relsort1mod1.c: New file.
24560 * elf/tst-relsort1mod2.c: New file.
24561
8db21882
JM
245622012-01-27 Joseph Myers <joseph@codesourcery.com>
24563
24564 * math/s_ldexp.c: Remove __STDC__ conditionals.
24565 * math/s_ldexpf.c: Likewise.
24566 * math/s_ldexpl.c: Likewise.
24567 * math/s_nextafter.c: Likewise.
24568 * math/s_nexttowardf.c: Likewise.
24569 * math/s_significand.c: Likewise.
24570 * math/s_significandf.c: Likewise.
24571 * math/s_significandl.c: Likewise.
24572 * math/w_jnl.c: Likewise.
24573 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24574 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24595 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24597 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24598 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24600 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24601 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24602 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24603 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24604 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24605 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24607 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24609 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24613 * sysdeps/ieee754/k_standard.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24675 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24680 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24688 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24693 * sysdeps/ieee754/s_matherr.c: Likewise.
24694 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24695 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24698
965a54a4
JM
246992012-01-26 Joseph Myers <joseph@codesourcery.com>
24700
24701 * crypt/md5.h: Remove __STDC__ conditionals.
24702 * libio/libioP.h: Likewise.
24703 * locale/programs/config.h: Likewise.
24704 * sysdeps/generic/sysdep.h: Likewise.
24705 * sysdeps/i386/asm-syntax.h: Likewise.
24706 * sysdeps/s390/asm-syntax.h: Likewise.
24707 * sysdeps/unix/sysdep.h: Likewise.
24708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24710
7071ad79
JM
247112012-01-26 Joseph Myers <joseph@codesourcery.com>
24712
24713 * libio/libio.h: Remove __STDC__ conditionals.
24714 * malloc/obstack.h: Likewise.
24715 * math/complex.h: Likewise.
24716 * math/math.h: Likewise.
24717 * sysdeps/generic/_G_config.h: Likewise.
24718 * sysdeps/gnu/_G_config.h: Likewise.
24719 * sysdeps/mach/hurd/_G_config.h: Likewise.
24720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24721 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24722 * sysdeps/sparc/bits/mathdef.h: Likewise.
24723
afc5ed09
UD
247242012-01-26 Ulrich Drepper <drepper@gmail.com>
24725
24726 [BZ #13583]
24727 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24728 Clean up HAS_* macros.
afc5ed09 24729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24730 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24731 possible.
24732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24733 HAS_AVX.
24734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24739
bdb6de1d
JM
247402012-01-25 Joseph Myers <joseph@codesourcery.com>
24741
24742 * elf/tst-unique3.cc (gets): Remove declaration.
24743 * elf/tst-unique3lib.cc (gets): Likewise.
24744 * elf/tst-unique3lib2.cc (gets): Likewise.
24745 * elf/tst-unique4.cc (gets): Likewise.
24746
b15549e6
UD
247472012-01-24 Ulrich Drepper <drepper@gmail.com>
24748
24749 * include/stdio.h: Add C++ protection. Add gets declarations and
24750 definitions.
24751 * debug/tst-chk1.c: Don't declare gets here.
24752 * stdio-common/tst-gets.c: Likewise.
24753
a037381f
JM
247542012-01-24 Joseph Myers <joseph@codesourcery.com>
24755
24756 * posix/glob: Remove directory.
24757
f1d4aa75
JM
247582012-01-24 Joseph Myers <joseph@codesourcery.com>
24759
24760 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24761
81c0c964
PT
247622012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24763
24764 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24765 of the non-standard EPFNOSUPPORT.
24766
0ea698ae
ST
247672011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24768
24769 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24770 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24771 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24772
d220b117
UD
247732012-01-21 Ulrich Drepper <drepper@gmail.com>
24774
24775 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24776
3e1aa84e
UD
247772012-01-20 Ulrich Drepper <drepper@gmail.com>
24778
24779 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24780 transient errors.
24781 * nscd/grpcache.c (cache_addgr): Likewise.
24782 * nscd/hstcache.c (cache_addhst): Likewise.
24783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24784 * nscd/pwdcache.c (cache_addpw): Likewise.
24785 * nscd/servicescache.c (cache_addserv): Likewise.
24786
400aa020
UD
247872012-01-16 Ulrich Drepper <drepper@gmail.com>
24788
d77e7869
UD
24789 * malloc/malloc.c: Various cleanups.
24790 * malloc/hooks.c: Likewise.
24791
400aa020
UD
24792 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24793 * stdlib/bug-fmtmsg1.c: New file.
24794
24795 * stdlib/fmtmsg.c (init): Add missing unlock.
24796 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24797
e0a309cf
MP
247982012-01-12 Marek Polacek <polacek@redhat.com>
24799
24800 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24801 and _GNU_SOURCE.
24802
929d11c7
WS
248032012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24804
24805 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24806 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24807 macro to ensure uniqueness of label name.
24808 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24809 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24810
41d0e869
UD
248112012-01-11 Ulrich Drepper <drepper@gmail.com>
24812
0cc5ed3b
UD
24813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24814
41d0e869
UD
24815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24816 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24819
a47a831a
UD
248202012-01-10 Ulrich Drepper <drepper@gmail.com>
24821
daa891c0
UD
24822 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24823
24824 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24825 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24827
e58ef0f2
UD
24828 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24829
a47a831a 24830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24831 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24834
24835 * math/bits/math-finite.h: Add ldexp support.
24836
a0bfc9c7
MP
248372012-01-10 Marek Polacek <polacek@redhat.com>
24838
24839 * locale/programs/localedef.h (show_archive_content): Add noreturn
24840 attribute.
24841
d6e97a1d
UD
248422012-01-09 Ulrich Drepper <drepper@gmail.com>
24843
24844 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24845
d5835c26
UD
248462012-01-08 Ulrich Drepper <drepper@gmail.com>
24847
e5f484c6
UD
24848 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24849
d5835c26
UD
24850 * io/Makefile (headers): Add bits/poll2.h.
24851
d1f741e9
WS
248522011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24853
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24855 typo #include statement.
24856
ec09c1c4
UD
248572012-01-08 Ulrich Drepper <drepper@gmail.com>
24858
24859 * include/sys/cdefs.h: Define __attribute_alloc_size.
24860 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24861 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24862 * elf/pldd.c: Likewise.
24863 * iconv/iconv_charmap.c: Likewise.
24864 * iconv/iconvconfig.c: Likewise.
24865 * iconv/strtab.c: Likewise.
24866 * locale/programs/locale.c: Likewise.
24867 * locale/programs/localedef.h: Likewise.
24868 * locale/programs/simple-hash.c: Likewise.
24869 * nscd/nscd.h: Likewise.
24870 * nss/makedb.c: Likewise.
24871 * sysdeps/generic/ldconfig.h: Likewise.
24872 * locale/programs/localedef.c: Remove xmalloc prototype.
24873 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24874
20b38e03
PP
248752012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24876
24877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24878 appropriate.
24879
a0da5fe1
UD
248802012-01-08 Ulrich Drepper <drepper@gmail.com>
24881
1d5a644a 24882 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24883 * math/tst-CMPLX.c: New file.
1d5a644a 24884
8784a6db
UD
24885 * math/complex.h (CMPLXL): Fix typo.
24886
d9a216c0
UD
24887 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24888 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24889 GLIBC_2.16.
24890 * debug/tst-chk1.c: Add poll and ppoll tests.
24891 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24892 * include/sys/poll.h: Add hidden proto for ppoll.
24893 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24894 * sysdeps/mach/hurd/ppoll.c: Likewise.
24895 * io/ppoll.c: Likewise.
24896 * debug/poll_chk.c: New file.
24897 * debug/ppoll_chk.c: New file.
24898 * include/bits/poll2.h: New file.
24899 * io/bits/poll2.h: New file.
24900
ac097f5c
UD
24901 [BZ #1350]
24902 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24903
2119dcfa
UD
24904 * configure.in: static is always set to yes. Remove.
24905 * config.make.in: Don't set build-static.
24906 * Makeconfig: Remove use of build-static.
24907 * dlfcn/Makefile: Likewise.
24908 * elf/Makefile: Likewise.
24909 * math/Makefile: Likewise.
24910 * misc/Makefile: Likewise.
24911 * nptl/Makefile: Likewise.
24912 * sysdeps/mach/hurd/Makefile: Likewise.
24913
121766a9
UD
24914 * configure.in: PWD_P is not used anymore.
24915 * config.make.in: Remove PWD_P entry.
24916
51a1d39c 24917 * configure.in: Remove last remnants of RANLIB.
8720d066 24918 No need to check for signed size_t anymore.
215f4bdc
UD
24919 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24920 and IA-64.
3857022a 24921 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24922 * aclocal.m4: Likewise.
24923
d3ed7225
UD
24924 * wcsmbs/mbrtoc16.c: Implement using towc function.
24925 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24926 * wcsmbs/wcsmbsload.c: Likewise.
24927 * iconv/gconv_simple.c: Likewise.
24928 * iconv/gconv_int.h: Likewise.
24929 * iconv/gconv_builtin.h: Likewise.
24930 * iconv/iconv_prog.c: Remove CHAR16 handling.
24931
24932 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24933
24934 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24935
a0da5fe1
UD
24936 * configure.in: Remove --with-elf and --enable-bounded options.
24937 Dont set base_machine for ia64. More non-ELF conditions removed.
24938 Remove testing and setting of leading underscore information.
24939 * config.make.in (build-bounded): Set to no.
24940 * config.h.in: Remove NO_UNDERSCORES entry.
24941 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24942 them.
24943 * csu/start.c: Remove !NO_UNDERSCORE code.
24944 * locale/localeinfo.h: Likewise.
24945 * sysdeps/generic/machine-gmon.h: Likewise.
24946 * sysdeps/generic/sysdep.h: Likewise.
24947 * sysdeps/i386/sysdep.h: Likewise.
24948 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24949 * sysdeps/mach/sysdep.h: Likewise.
24950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24952 * sysdeps/sh/sysdep.h: Likewise.
24953 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24954 * sysdeps/unix/i386/sysdep.S: Likewise.
24955 * sysdeps/unix/sparc/start.c: Likewise.
24956 * sysdeps/unix/sparc/sysdep.S: Likewise.
24957 * sysdeps/unix/sparc/sysdep.h: Likewise.
24958 * sysdeps/unix/start.c: Likewise.
24959 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24960 * sysdeps/x86_64/sysdep.h: Likewise.
24961
df78418a
UD
249622012-01-07 Ulrich Drepper <drepper@gmail.com>
24963
a784e502
UD
24964 [BZ #13553]
24965 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24966 for non-gcc.
24967 * argp/argp-fmtstream.h: Use const instead __const.
24968 * argp/argp.h: Likewise.
24969 * assert/assert.h: Likewise.
24970 * bits/fenv.h: Likewise.
24971 * bits/sched.h: Likewise.
24972 * bits/sigset.h: Likewise.
24973 * bits/sigthread.h: Likewise.
24974 * catgets/nl_types.h: Likewise.
24975 * conform/data/pthread.h-data: Likewise.
24976 * crypt/crypt-private.h: Likewise.
24977 * crypt/crypt.h: Likewise.
24978 * crypt/crypt_util.c: Likewise.
24979 * ctype/ctype.h: Likewise.
24980 * debug/execinfo.h: Likewise.
24981 * debug/mbsnrtowcs_chk.c: Likewise.
24982 * debug/mbsrtowcs_chk.c: Likewise.
24983 * debug/wcsnrtombs_chk.c: Likewise.
24984 * debug/wcsrtombs_chk.c: Likewise.
24985 * debug/wcstombs_chk.c: Likewise.
24986 * dirent/dirent.h: Likewise.
24987 * dlfcn/dlfcn.h: Likewise.
24988 * elf/neededtest4.c: Likewise.
24989 * grp/grp.h: Likewise.
24990 * gshadow/gshadow.h: Likewise.
24991 * iconv/gconv.h: Likewise.
24992 * iconv/gconv_int.h: Likewise.
24993 * iconv/gconv_simple.c: Likewise.
24994 * iconv/iconv.h: Likewise.
24995 * iconv/loop.c: Likewise.
24996 * iconv/skeleton.c: Likewise.
24997 * include/aio.h: Likewise.
24998 * include/aliases.h: Likewise.
24999 * include/argz.h: Likewise.
25000 * include/arpa/inet.h: Likewise.
25001 * include/assert.h: Likewise.
25002 * include/dirent.h: Likewise.
25003 * include/dlfcn.h: Likewise.
25004 * include/execinfo.h: Likewise.
25005 * include/fcntl.h: Likewise.
25006 * include/fenv.h: Likewise.
25007 * include/glob.h: Likewise.
25008 * include/grp.h: Likewise.
25009 * include/libintl.h: Likewise.
25010 * include/mntent.h: Likewise.
25011 * include/netdb.h: Likewise.
25012 * include/pwd.h: Likewise.
25013 * include/rpc/netdb.h: Likewise.
25014 * include/sched.h: Likewise.
25015 * include/search.h: Likewise.
25016 * include/shadow.h: Likewise.
25017 * include/signal.h: Likewise.
25018 * include/stdio.h: Likewise.
25019 * include/stdlib.h: Likewise.
25020 * include/string.h: Likewise.
25021 * include/sys/socket.h: Likewise.
25022 * include/sys/stat.h: Likewise.
25023 * include/sys/statfs.h: Likewise.
25024 * include/sys/statvfs.h: Likewise.
25025 * include/sys/syslog.h: Likewise.
25026 * include/sys/time.h: Likewise.
25027 * include/sys/uio.h: Likewise.
25028 * include/time.h: Likewise.
25029 * include/unistd.h: Likewise.
25030 * include/utmp.h: Likewise.
25031 * include/wchar.h: Likewise.
25032 * include/wctype.h: Likewise.
25033 * inet/aliases.h: Likewise.
25034 * inet/arpa/inet.h: Likewise.
25035 * inet/netinet/ether.h: Likewise.
25036 * inet/netinet/in.h: Likewise.
25037 * intl/libintl.h: Likewise.
25038 * io/bits/fcntl2.h: Likewise.
25039 * io/fcntl.h: Likewise.
25040 * io/ftw.h: Likewise.
25041 * io/sys/poll.h: Likewise.
25042 * io/sys/stat.h: Likewise.
25043 * io/sys/statfs.h: Likewise.
25044 * io/sys/statvfs.h: Likewise.
25045 * io/utime.h: Likewise.
25046 * libio/bits/stdio.h: Likewise.
25047 * libio/bits/stdio2.h: Likewise.
25048 * libio/libio.h: Likewise.
25049 * libio/libioP.h: Likewise.
25050 * libio/stdio.h: Likewise.
25051 * locale/lc-ctype.c: Likewise.
25052 * locale/locale.h: Likewise.
25053 * login/utmp.h: Likewise.
25054 * malloc/arena.c: Likewise.
25055 * malloc/malloc.c: Likewise.
25056 * malloc/malloc.h: Likewise.
25057 * malloc/mcheck.c: Likewise.
25058 * malloc/mtrace.c: Likewise.
25059 * math/bits/mathcalls.h: Likewise.
25060 * math/fenv.h: Likewise.
25061 * math/math_private.h: Likewise.
25062 * misc/bits/error.h: Likewise.
25063 * misc/bits/syslog.h: Likewise.
25064 * misc/err.h: Likewise.
25065 * misc/error.h: Likewise.
25066 * misc/fstab.h: Likewise.
25067 * misc/mntent.h: Likewise.
25068 * misc/regexp.h: Likewise.
25069 * misc/search.h: Likewise.
25070 * misc/sgtty.h: Likewise.
25071 * misc/sys/mman.h: Likewise.
25072 * misc/sys/syslog.h: Likewise.
25073 * misc/sys/uio.h: Likewise.
25074 * misc/sys/xattr.h: Likewise.
25075 * misc/ttyent.h: Likewise.
25076 * nis/rpcsvc/ypclnt.h: Likewise.
25077 * nss/nss.h: Likewise.
25078 * posix/bits/unistd.h: Likewise.
25079 * posix/fnmatch.h: Likewise.
25080 * posix/glob.h: Likewise.
25081 * posix/sched.h: Likewise.
25082 * posix/spawn.h: Likewise.
25083 * posix/sys/wait.h: Likewise.
25084 * posix/unistd.h: Likewise.
25085 * posix/wordexp.h: Likewise.
25086 * pwd/pwd.h: Likewise.
25087 * resolv/netdb.h: Likewise.
25088 * resource/sys/resource.h: Likewise.
25089 * rt/aio.h: Likewise.
25090 * rt/bits/mqueue2.h: Likewise.
25091 * rt/mqueue.h: Likewise.
25092 * shadow/shadow.h: Likewise.
25093 * signal/signal.h: Likewise.
25094 * socket/send.c: Likewise.
25095 * socket/sendto.c: Likewise.
25096 * socket/sys/socket.h: Likewise.
25097 * stdio-common/printf.h: Likewise.
25098 * stdlib/bits/stdlib.h: Likewise.
25099 * stdlib/fmtmsg.h: Likewise.
25100 * stdlib/monetary.h: Likewise.
25101 * stdlib/stdlib.h: Likewise.
25102 * stdlib/ucontext.h: Likewise.
25103 * streams/stropts.h: Likewise.
25104 * string/argz.h: Likewise.
25105 * string/bits/string2.h: Likewise.
25106 * string/string.h: Likewise.
25107 * string/strings.h: Likewise.
25108 * sunrpc/rpc/auth.h: Likewise.
25109 * sunrpc/rpc/auth_des.h: Likewise.
25110 * sunrpc/rpc/clnt.h: Likewise.
25111 * sunrpc/rpc/netdb.h: Likewise.
25112 * sunrpc/rpc/pmap_clnt.h: Likewise.
25113 * sunrpc/rpc/xdr.h: Likewise.
25114 * sysdeps/generic/inttypes.h: Likewise.
25115 * sysdeps/generic/net/if.h: Likewise.
25116 * sysdeps/generic/sys/swap.h: Likewise.
25117 * sysdeps/gnu/net/if.h: Likewise.
25118 * sysdeps/gnu/utmpx.h: Likewise.
25119 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25120 * sysdeps/i386/i486/bits/string.h: Likewise.
25121 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25122 * sysdeps/s390/bits/string.h: Likewise.
25123 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25124 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25125 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25126 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25127 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25128 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25129 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25130 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25131 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25132 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25133 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25134 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25135 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25136 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25137 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25138 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25139 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25144 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25145 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25146 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25147 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25148 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25149 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25151 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25153 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25154 * sysvipc/sys/ipc.h: Likewise.
25155 * sysvipc/sys/msg.h: Likewise.
25156 * sysvipc/sys/sem.h: Likewise.
25157 * sysvipc/sys/shm.h: Likewise.
25158 * termios/termios.h: Likewise.
25159 * time/sys/time.h: Likewise.
25160 * time/time.h: Likewise.
25161 * wcsmbs/bits/wchar2.h: Likewise.
25162 * wcsmbs/uchar.h: Likewise.
25163 * wcsmbs/wchar.h: Likewise.
25164 * wctype/wctype.h: Likewise.
25165
0269750c
UD
25166 [BZ #13551]
25167 * Makeconfig: Remove all but ELF support including AIX support.
25168 * Makerules: Likewise.
25169 * config.h.in: Likewise.
25170 * config.make.in: Likewise.
25171 * configure: Likewise.
25172 * configure.in: Likewise.
25173 * csu/Makefile: Likewise.
25174 * csu/version.c: Likewise.
25175 * debug/Makefile: Likewise.
25176 * dlfcn/Makefile: Likewise.
25177 * elf/Makefile: Likewise.
25178 * extra-lib.mk: Likewise.
25179 * iconv/Makefile: Likewise.
25180 * include/libc-symbols.h: Likewise.
25181 * include/shlib-compat.h: Likewise.
25182 * resolv/Makefile: Likewise.
25183 * resolv/res_libc.c: Likewise.
25184 * rt/Makefile: Likewise.
25185 * sysdeps/i386/asm-syntax.h: Likewise.
25186 * sysdeps/i386/sysdep.h: Likewise.
25187 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25188 * sysdeps/mach/sysdep.h: Likewise.
25189 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25190 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25191 * sysdeps/s390/asm-syntax.h: Likewise.
25192 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25194 * sysdeps/sh/sysdep.h: Likewise.
25195 * sysdeps/unix/sparc/sysdep.h: Likewise.
25196 * sysdeps/wordsize-32/divdi3.c: Likewise.
25197 * sysdeps/x86_64/sysdep.h: Likewise.
25198
00bbd29b
UD
25199 * argp/Versions: Remove _argp_unlock_xxx.
25200
25201 [BZ #13559]
25202 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25203 * abilist/libBrokenLocale.abilist: Likewise.
25204 * abilist/libanl.abilist: Likewise.
25205 * abilist/libc.abilist: Likewise.
25206 * abilist/libcrypt.abilist: Likewise.
25207 * abilist/libdl.abilist: Likewise.
25208 * abilist/libm.abilist: Likewise.
25209 * abilist/libnsl.abilist: Likewise.
25210 * abilist/libpthread.abilist: Likewise.
25211 * abilist/libresolv.abilist: Likewise.
25212 * abilist/librt.abilist: Likewise.
25213 * abilist/libthread_db.abilist: Likewise.
25214 * abilist/libutil.abilist: Likewise.
25215 * abilist/libnss_db.abilist: New file.
25216
25217 * scripts/abilist.awk: Add support for indirect functions.
25218
a2693a0e
UD
25219 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25220
3f05895f
UD
25221 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25222
ecb6fb48
UD
25223 * shlib-versions: Remove entries for ports architectures.
25224
664f8cb9
UD
25225 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25226 files in ports.
25227 * elf/stackguard-macros.h: Remove support for IA-64.
25228 * elf/tst-auditmod1.c: Likewise.
25229 * sysdeps/generic/ldsodefs.h: Likewise.
25230
7ae81d88
UD
25231 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25232 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25233 configure files.
25234
bdeba135
UD
25235 [BZ #13552]
25236 * configure.in: Remove --enable-omitfp support.
25237 * FAQ.in: Adjust.
25238 * config.make.in: Likewise.
25239 * Makeconfig: Likewise.
25240 * manual/install.texi: Likewise.
25241
d75a0a62
UD
25242 In case anyone cares, the IA-64 architecture could move to ports.
25243 * sysdeps/ia64/*: Removed.
25244 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25245 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25246
dcc9756b
UD
25247 [BZ #13555]
25248 * configure.in: Remove entries for unsupported architectures.
25249
d3761ebc 25250 [BZ #13533]
9954432e
UD
25251 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25252 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25253 routines.
25254 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25255 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25256 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25257 fall back to using wcrtomb.
25258 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25259 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25260 renaming.
25261 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25262 * wcsmbs/tst-c16c32-1.c: New file.
25263
25264 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25265 local variable.
25266
c3a87236
UD
25267 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25268
28926a1b
UD
25269 * elf/tst-unique3.cc: Add explicit declaration of gets.
25270 * elf/tst-unique3lib.cc: Likewise.
25271 * elf/tst-unique3lib2.cc: Likewise.
25272 * elf/tst-unique4.cc: Likewise.
25273
df78418a
UD
25274 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25275
8ecd6b2a
JM
252762012-01-06 Joseph Myers <joseph@codesourcery.com>
25277
25278 [BZ #13566]
25279 * assert/assert.h (static_assert): Don't define for C++.
25280 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25281 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25282
9f115170
UD
252832012-01-03 Ulrich Drepper <drepper@gmail.com>
25284
5e0d0300
UD
25285 * iconv/loop.c (single loop): Fix assertion in storing of
25286 remaining bytes.
25287
9f115170
UD
25288 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25289
81fb02b0
UD
252902012-01-01 Ulrich Drepper <drepper@gmail.com>
25291
25292 * posix/getconf.c: Update copyright year.
25293 * nss/getent.c: Likewise.
a316c1f6 25294 * nss/makedb.c: Likewise.
81fb02b0
UD
25295 * iconv/iconvconfig.c: Likewise.
25296 * iconv/iconv_prog.c: Likewise.
25297 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25298 * elf/pldd.c: Likewise.
25299 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25300 * catgets/gencat.c: Likewise.
25301 * csu/version.c: Likewise.
25302 * elf/ldd.bash.in: Likewise.
25303 * elf/sprof.c (print_version): Likewise.
25304 * locale/programs/locale.c: Likewise.
25305 * locale/programs/localedef.c: Likewise.
a316c1f6 25306 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25307 * nscd/nscd.c (print_version): Likewise.
25308 * debug/xtrace.sh: Likewise.
25309 * malloc/memusage.sh: Likewise.
25310 * malloc/mtrace.pl: Likewise.
25311 * debug/catchsegv.sh: Likewise.
25312
2ba92745
JJ
253132011-12-30 Jakub Jelinek <jakub@redhat.com>
25314
25315 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25316 pure attribute.
25317
dadebdae
UD
253182011-12-24 Ulrich Drepper <drepper@gmail.com>
25319
d3761ebc 25320 [BZ #13533]
db6af3eb
UD
25321 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25322 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25323 transformations.
25324 * iconv/gconv_int.h: Likewise.
25325 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25326 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25327 from libc for GLIBC_2.16.
25328 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25329 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25330 * wcsmbs/uchar.h: Really define mbstate_t.
25331 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25332 * wcsmbs/c16rtomb.c: New file.
25333 * wcsmbs/mbrtoc16.c: New file.
25334 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25335 for C/POSIX locale.
25336 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25337 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25338
dadebdae
UD
25339 * wcsmbs/wchar.h: Add missing __restrict.
25340
67371b56
UD
253412011-12-23 Ulrich Drepper <drepper@gmail.com>
25342
74033a25
UD
25343 [BZ #13532]
25344 * time/Makefile (routines): Add timespec_get.
25345 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25346 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25347 timespec for ISO C11.
25348 * time/timespec_get.c: New file.
25349 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25350 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25351
380d7e87
UD
25352 [BZ #13531]
25353 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25354 * stdlib/stdlib.h: Declare aligned_alloc.
25355 * Versions.def: Add GLIBC_2.16 for libc.
25356 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25357
4e9e7a35
UD
25358 [BZ 13527]
25359 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25360 ISO C11.
25361
380d7e87 25362 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25363 code.
25364
03a71829
UD
25365 [BZ #13528]
25366 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25367
839e283e
UD
25368 [BZ #13529]
25369 * assert/assert.h (static_assert): Define.
25370
ce5294e2 25371 * version.h: Update for 2.16 development version.
90fa7312 25372
8d44e150 25373 [BZ #13526]
d7809905
UD
25374 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25375 _ISOC11_SOURCE.
25376
c0da14cd
UD
25377 * version.h (RELEASE): Bump for 2.15 release.
25378 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25379
530a3249
MP
25380 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25381 Patch by Marek Polacek <mpolacek@redhat.com>.
25382
67371b56
UD
25383 * bits/byteswap.h: Protect long long constants with __extension__.
25384 * sysdeps/i386/bits/byteswap.h: Likewise.
25385 * sysdeps/ia64/bits/byteswap.h: Likewise.
25386 * sysdeps/s390/bits/byteswap.h: Likewise.
25387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25388
15db4de1
LD
253892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25390
25391 [BZ #13540]
bbe315ea
LD
25392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25393 destination buffer.
15db4de1
LD
25394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25395
2b2596b1
MP
253962011-12-23 Marek Polacek <polacek@redhat.com>
25397
25398 * elf/dl-addr.c (determine_info): Add inline keyword.
25399 * elf/tst-auditmod4b.c (check_avx): Likewise.
25400 * elf/tst-auditmod6b.c (check_avx): Likewise.
25401 * elf/tst-auditmod6c.c (check_avx): Likewise.
25402 * elf/tst-auditmod7b.c (check_avx): Likewise.
25403
70c6c246
UD
254042011-12-23 Ulrich Drepper <drepper@gmail.com>
25405
25406 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25407 !__SSE_MATH__.
25408
c044cf14
LD
254092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25410
15db4de1 25411 [BZ #13540]
c044cf14
LD
25412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25413 processing for last bytes.
25414
6b13d9d9
BH
254152011-08-06 Bruno Haible <bruno@clisp.org>
25416
d455f537
BH
25417 [BZ #13061]
25418 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25419 U+0385, not to U+1FEE.
25420
6b13d9d9
BH
25421 [BZ #13062]
25422 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25423 entry for U+00A5 U+0301.
25424
db910efd
UD
254252011-12-22 Ulrich Drepper <drepper@gmail.com>
25426
27deeafc
UD
25427 [BZ #13166]
25428 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25429 buffer for the output is too small.
25430
aed9d171
UD
25431 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25432 optimization.
25433
db910efd
UD
25434 [BZ #13185]
25435 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25436 SSE flags if possible.
25437
2bd779ae
LD
254382011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25439
e7f9dac3 25440 [BZ #13540]
2bd779ae
LD
25441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25442 processing for last bytes.
25443
154bfc16
JM
254442011-12-22 Joseph Myers <joseph@codesourcery.com>
25445
25446 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25447 (syscall-list-default-options, syscall-list-default-condition)
25448 (syscall-list-includes): Define.
25449 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25450 list of ABIs and options and #if conditions for each ABI. Do not
25451 handle common syscalls between ABIs specially.
25452 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25453 Remove.
25454 (syscall-list-variants, syscall-list-32bit-options)
25455 (syscall-list-32bit-condition, syscall-list-64bit-options)
25456 (syscall-list-64bit-condition): Define.
25457 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25458 (syscall-list-variants, syscall-list-32bit-options)
25459 (syscall-list-32bit-condition, syscall-list-64bit-options)
25460 (syscall-list-64bit-condition): Define.
25461 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25462 Remove.
25463 (syscall-list-variants, syscall-list-32bit-options)
25464 (syscall-list-32bit-condition, syscall-list-64bit-options)
25465 (syscall-list-64bit-condition): Define.
25466 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25467 Remove.
25468 (syscall-list-variants, syscall-list-32bit-options)
25469 (syscall-list-32bit-condition, syscall-list-64bit-options)
25470 (syscall-list-64bit-condition): Define.
25471
21eaf3a5
UD
254722011-12-22 Ulrich Drepper <drepper@gmail.com>
25473
16c6f992
UD
25474 * locale/iso-639.def: Add brx entry.
25475
41043168
UD
25476 [BZ #13328]
25477 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25478 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25479
21eaf3a5
UD
25480 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25481 __feraiseexcept_renamed.
25482
e3a851a2
UD
254832011-12-21 Ulrich Drepper <drepper@gmail.com>
25484
4920765e
UD
25485 [BZ #13538]
25486 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25487 EPOLLET with unsigned values.
25488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25490
e3a851a2
UD
25491 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25492 to large cancellation.
25493 * math/s_cacoshf.c: Likewise.
25494 * math/s_cacoshl.c: Likewise.
25495
b27e24b8
RK
254962011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25497
25498 [BZ #13305]
aebefeee 25499 [BZ #12786]
b27e24b8
RK
25500 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25501 * math/s_cacoshf.c: Likewise.
25502 * math/s_cacoshl.c: Likewise.
25503
ee190f67
UD
255042011-12-21 Ulrich Drepper <drepper@gmail.com>
25505
25506 [BZ #13439]
25507 * iconv/gconv.h: Define __GCONV_SWAP.
25508 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25509 * iconvdata/utf-16.c: Likewise.
25510 * iconvdata/utf-32.c: Likewise.
25511
707f25df
AS
255122011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25513
25514 [BZ #13524]
25515 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25516 numerator after shifting it by one limb.
25517
d2daaa1e
RÁE
255182011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25519
25520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25521 under [__USE_EXTERN_INLINES].
25522
a4647e72
UD
255232011-12-17 Ulrich Drepper <drepper@gmail.com>
25524
25525 [BZ #13446]
25526 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25527
f0b264f1
AZ
255282011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25529
25530 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25531 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25532 optimized code.
25533 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25534 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25535 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25536 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25537 for strncasecmp/strncasecmp_l compilation.
25538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25539 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25540
8ef4f244
MP
255412011-12-08 Marek Polacek <mpolacek@redhat.com>
25542
25543 [BZ #13484]
25544 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25545 of __asm__.
25546
97ac2654
UD
255472011-12-17 Ulrich Drepper <drepper@gmail.com>
25548
25549 [BZ #13506]
25550 * time/tzfile.c (__tzfile_read): Check values from file header.
25551
91d2a845
WS
255522011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25553
25554 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25555 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25556 * powerpc/powerpc32/dl-start.S: Likewise.
25557 * powerpc/powerpc32/elf/start.S: Likewise.
25558 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25559 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25560 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25561 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25562 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25563 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25564 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25565 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25566 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25567 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25568 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25569 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25570 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25571 * powerpc/powerpc32/memset.S: Likewise.
25572 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25573 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25574 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25575 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25576 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25577 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25578 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25579 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25580 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25581 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25582 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25583 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25584 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25585
a1267ba1
AZ
255862011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25587
25588 * math/libm-test.inc: Added more nearbyint tests.
25589 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25593
ad8ac1bd
RL
255942011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25595
25596 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25597 FD_CLOEXEC.
25598
1d3e4b61
UD
255992011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25600
25601 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25602 Add wcscpy-ssse3 wcscpy-c.
25603 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25604 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25605 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25606 * sysdeps/x86_64/wcschr.S: New file.
25607 * sysdeps/x86_64/wcsrchr.S: New file.
25608 * string/test-strcmp.c: Remove checking of wcscmp function for
25609 wrong alignments.
25610 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25611 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25612 wcsrchr-sse2 wcsrchr-c.
25613 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25614 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25615 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25616 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25617 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25618 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25619 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25620 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25621 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25622 * wcsmbc/wcschr.c (WCSCHR): New macro.
25623
5b330a2d
UD
256242011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25625
25626 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25627 * wcsmbs/test-wcsrchr.c: New file.
25628 * string/test-strrchr.c: Add wcsrchr support.
25629 (WIDE): New macro.
25630 * wcsmbs/test-wcscpy.c: New file.
25631 * string/test-strcpy.c: Add wcscpy support.
25632 (WIDE): New macro.
26428b7c 25633
f039c043
UD
256342011-12-10 Ulrich Drepper <drepper@gmail.com>
25635
25636 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25637 the inner loop.
25638
850fb039
AS
256392011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25640
25641 [BZ #13472]
25642 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25643
4efbd5cb
UD
256442011-12-04 Ulrich Drepper <drepper@gmail.com>
25645
52ff5dd0 25646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25647 Minor optimizations.
52ff5dd0 25648
4efbd5cb
UD
25649 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25650 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25651 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25652
8a426e12
UD
256532011-12-03 Ulrich Drepper <drepper@gmail.com>
25654
aff2453d
UD
25655 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25656 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25657 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25658 for gcc to avoid warnings.
25659 * inet/Makefile (tests): Add tst-checks.
25660 * inet/tst-checks.c: New file.
25661
25662 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25663 warning.
25664
25665 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25666 __wmemcmp_sse2.
25667
25668 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25669 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25670
8a426e12
UD
25671 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25672
9bea3473
UD
256732011-12-02 Ulrich Drepper <drepper@gmail.com>
25674
3a965496
UD
25675 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25676 problem.
25677
9bea3473
UD
25678 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25679
f101631b
UD
256802011-11-29 Joseph Myers <joseph@codesourcery.com>
25681
25682 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25683 conditional on GCC version.
25684 (__arch_compare_and_exchange_val_8_acq)
25685 (__arch_compare_and_exchange_val_16_acq)
25686 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25687 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25688 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25689
a98275aa
UD
256902011-12-02 Joseph Myers <joseph@codesourcery.com>
25691
25692 * sysdeps/sh/backtrace.c: New file.
25693
d4cc29a2
AS
256942011-12-02 Andreas Schwab <schwab@redhat.com>
25695
25696 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25697 parenthesis.
25698
6257af2d
AS
256992011-12-01 Andreas Schwab <schwab@redhat.com>
25700
25701 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25702 falling back to utime.
25703
b5f44c1a
AS
257042011-11-30 Andreas Schwab <schwab@redhat.com>
25705
25706 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25707 expectations for float.
25708
f3a6cc0a
AS
257092011-11-29 Andreas Schwab <schwab@redhat.com>
25710
25711 * locale/weight.h (findidx): Add parameter len.
25712 * locale/weightwc.h (findidx): Likewise.
25713 * posix/fnmatch_loop.c (FCT): Adjust caller.
25714 * posix/regcomp.c (build_equiv_class): Likewise.
25715 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25716 * posix/regexec.c (check_node_accept_bytes): Likewise.
25717 * string/strcoll_l.c (STRCOLL): Likewise.
25718 * string/strxfrm_l.c (STRXFRM): Likewise.
25719
9d65ea3a
UD
257202011-11-17 Ulrich Drepper <drepper@gmail.com>
25721
25722 * Makefile.in: Remove CVSOPT handling.
25723 * configure.in: Remove use of AC_REVISION.
25724 * iconvdata/Makefile (distribute): No need to filter out CVS.
25725 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25726 handling.
25727
5583a086
AS
257282011-11-16 Andreas Schwab <schwab@redhat.com>
25729
25730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25731 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25732 [USE_AS_STRNCASECMP_L]: Likewise.
25733 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25734 NO_TLS_DIRECT_SEG_REFS.
25735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25736 Fix argument offsets for non-PIC.
25737 [USE_AS_STRNCASECMP_L]: Likewise.
25738 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25739 NO_TLS_DIRECT_SEG_REFS.
25740
d62a8200
UD
257412011-11-15 Ulrich Drepper <drepper@gmail.com>
25742
9d65ea3a 25743 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25744 O_CLOEXEC.
25745 * locale/loadlocale.c (_nl_load_locale): Likewise.
25746
09f93bd3
AS
257472011-11-15 Andreas Schwab <schwab@redhat.com>
25748
446514f9
AS
25749 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25750 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25751 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25752 (SYSCALL_GETTIME): Set errno on error.
25753
09f93bd3
AS
25754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25755 count references to noai6ai_cached.
25756
312be3f9
UD
257572011-11-15 Ulrich Drepper <drepper@gmail.com>
25758
25759 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25760
25761 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25762 FD_CLOEXEC for /proc/self/maps.
25763
25764 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25765 FD_CLOEXEC for /proc/meminfo.
25766
25767 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25768 gai.conf.
25769
25770 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25771 FD_CLOEXEC for given file.
25772
25773 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25774
25775 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25776 FD_CLOEXEC for /etc/hosts.
25777 (_gethtent): Likewise.
25778
25779 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25780
25781 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25782 cancellation and set FD_CLOEXEC for /etc/netgroup.
25783
25784 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25785 reading /etc/publickey.
25786
25787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25788 allow cancellation when reading /etc/group.
25789
25790 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25791 cancellation.
25792 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25793
25794 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25795 when using data file.
25796
25797 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25798
25799 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25800 (write_nis_obj): Use "c" and "e" in fopen.
25801
25802 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25803
25804 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25805
25806 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25807
25808 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25809
25810 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25811 locale.alias.
25812
25813 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25814
25815 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25816
25817 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25818
25819 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25820 file parsing and set FD_CLOEXEC.
25821
82af0fa8
UD
258222011-11-14 Ulrich Drepper <drepper@gmail.com>
25823
25824 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25825
a5fb313c
AS
258262011-11-14 Andreas Schwab <schwab@redhat.com>
25827
25828 * malloc/arena.c (arena_get2): Don't call reused_arena when
25829 _int_new_arena failed.
25830
6abf3465
UD
258312011-11-14 Ulrich Drepper <drepper@gmail.com>
25832
25833 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25834 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25835 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25839 to compile strcasecmp and strncasecmp.
25840 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25841 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25842
25843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25844
76e3966e
UD
258452011-11-13 Ulrich Drepper <drepper@gmail.com>
25846
25847 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25848 locale-defines.sym to gen-as-const-headers.
25849 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25850 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25852 to compile strcasecmp and strncasecmp.
25853 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25854 strcasecmp_l and strncasecmp_l.
25855 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25856 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25857 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25858 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25859 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25860 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25861 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25862 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25863 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25864 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25865 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25866
ab26144e
UD
258672011-11-12 Ulrich Drepper <drepper@gmail.com>
25868
7edb22ef
UD
25869 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25870 result of SYSDEP_GETTIME_CPU to retval.
25871 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25872 parameter list to macro. Remove trailing semicolon. Adjust users.
25873
9694fc44
UD
25874 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25875 variable.
25876
8ad89ef8
UD
25877 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25878 mantissa words.
25879 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25880
0c822ef9
UD
25881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25882 from unused variable.
25883
874e0564
UD
25884 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25885 DWARF definitions.
25886 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25887 for assembling.
25888
3a2edc79
UD
25889 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25890 over namespaces.
25891
f3c2577f
UD
25892 * sunrpc/rpc_prot.c (rejected): Fix case value.
25893
294ce126
UD
25894 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25895 unsigned long long int to avoid warnings in shift.
25896
5e2b63c6
UD
25897 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25898 of use of trans.
25899 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25900 variable tmp.
25901
e7f4b08e
UD
25902 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25903 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25904 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25905
ab26144e
UD
25906 * nis/nis_table.c (nis_list): Use variable of correct type for
25907 result of __follow_path call.
25908
8a6d5255
AZ
259092011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25910
25911 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25912 of math functions ceil, trunc, floor, round, and sqrt, when
25913 avaliable on the platform.
25914 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25915 name clash.
25916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25917 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25918 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25919
aaddc98c
MP
259202011-10-30 Marek Polacek <mpolacek@redhat.com>
25921
25922 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25924
95b7042b
RM
259252011-11-11 Roland McGrath <roland@hack.frob.com>
25926
25927 * include/unistd.h: Fix __readlink return type.
25928 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25929
57769839
UD
259302011-11-11 Ulrich Drepper <drepper@gmail.com>
25931
25932 * stdlib/ucontext.h: Undo last change for makecontext.
25933
edc5984d
AS
259342011-11-11 Andreas Schwab <schwab@redhat.com>
25935
98591e58
AS
25936 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25937
edc5984d
AS
25938 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25939 * setjmp/setjmp.h: Mark functions as non-leaf.
25940 * setjmp/bits/setjmp2.h: Likewise.
25941 * stdlib/ucontext.h: Likewise.
25942
77cdc054
AS
259432011-11-10 Andreas Schwab <schwab@redhat.com>
25944
25945 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25946 (reused_arena): Don't check arena limit.
25947 (arena_get2): Atomically check arena limit.
25948
fe72eebd
UD
259492011-11-08 Ulrich Drepper <drepper@gmail.com>
25950
5f078c32
UD
25951 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25952 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25953
fe72eebd
UD
25954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25955 instructions.
25956
ae1bc2fa
AS
259572011-11-07 Andreas Schwab <schwab@redhat.com>
25958
7583a88d
AS
25959 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25960 handler when locking.
25961
ae1bc2fa
AS
25962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25963 Fix size of allocated buffer.
25964
10fb0bfa
AS
259652011-11-04 Andreas Schwab <schwab@redhat.com>
25966
998832a4
AS
25967 [BZ #10103]
25968 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25969 declarations for long double functions.
25970 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25971
10fb0bfa
AS
25972 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25973
3d7ba52b
AS
259742011-11-03 Andreas Schwab <schwab@redhat.com>
25975
a9ae54a1
AS
25976 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25977 installed.
25978
3d7ba52b
AS
25979 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25980 is disabled.
25981
bc8db248
ST
259822011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25983
25984 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25985
45b96dd6
AS
259862011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25987
647776f6
AS
25988 * include/alloca.h (stackinfo_alloca_round): Define.
25989 (extend_alloca): Use it.
25990 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25991 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25992 here.
25993
d91a8b93
AS
25994 * scripts/check-local-headers.sh: Ignore libaudit.h.
25995
45b96dd6
AS
25996 * nscd/Makefile (extra-objs): Make recursively expanded.
25997
432d41ce
UD
259982011-11-01 Ulrich Drepper <drepper@gmail.com>
25999
34372fc6
UD
26000 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26002
fadb59f8
UD
26003 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26004 * posix/tst-rfc3484-2.c: Likewise.
26005 * posix/tst-rfc3484-3.c: Likewise.
26006
78239589
UD
26007 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26008 process_vm_writev.
26009 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26010 process_vm_writev.
26011 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26012 process_vm_writev from libc using GLIBC_2.15 version.
26013
432d41ce
UD
26014 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26015
02f9c6cf
PP
260162011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26017
26018 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26019 stack usage.
26020
3a2c0242
UD
260212011-10-31 Ulrich Drepper <drepper@gmail.com>
26022
f4ec4833
UD
26023 [BZ #13367]
26024 * nss/getent.c (initgroups_keys): Show error message in case no group
26025 names are given.
26026
3a2c0242
UD
26027 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26028 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26029 __bump_nl_timestamp.
26030 * nscd/connections (nscd_init): When host database is served open
26031 netlink socket and request notification about configuration changes.
26032 (main_loop_poll): Track netlink file descriptor and bump timestamp
26033 in case data becomes available.
26034 (main_loop_epoll): Likewise.
26035 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26036 (database_pers_head): Add extra_data fileds.
26037 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26038 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26039 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26040 Adjust caller.
26041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26042 in6ai data, call __free_in6ai.
26043 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26044 Add -DHAVE_NETLINK.
26045 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26046 interface information. Reuse previous data if netlink timestamp
26047 is not changed.
26048 (__bump_nl_timestamp): New function.
26049 (__free_in6ai): New function.
26050
636064eb
UD
260512011-10-30 Ulrich Drepper <drepper@gmail.com>
26052
26053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26054 close_not_cancel_no_status here.
26055 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26056
9beb2334
UD
260572011-10-29 Ulrich Drepper <drepper@gmail.com>
26058
6ef76f3b
UD
26059 [BZ #13276]
26060 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26061 return value.
26062
0ffc4f3e 26063 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26064 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26065 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26066
cb95113e
UD
260672011-07-03 Andreas Jaeger <aj@suse.de>
26068
26069 [BZ #10709]
26070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26071 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26072 * math/libm-test.inc (sin_test): Add test case.
26073
a1b560ff
UD
260742011-10-29 Ulrich Drepper <drepper@gmail.com>
26075
c9aaface
UD
26076 [BZ #13337]
26077 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26078 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26079
d272e7f1
UD
26080 * elf/chroot_canon.c (chroot_canon): Cleanups.
26081
1bc33071
UD
26082 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26083
1760874d
TJ
26084 [BZ #13335]
26085 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26086 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26087
51d91b18
UD
26088 * string/test-strchr.c: Make usable for strchrnul testing.
26089 * string/test-strchrnul.c: New file.
26090 * string/Makefile (strop-tests): Add strchrnul.
26091
a1b560ff 26092 * po/it.po: Update from translation team.
b611fb81 26093 * po/es.po: Likewise.
a1b560ff 26094
a5b81e1f
UD
260952011-10-28 Ulrich Drepper <drepper@gmail.com>
26096
fd52bc6d
UD
26097 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26098 the three constants needed as parameters. Drop the others.
26099 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26100 __m128i_strloadu_tolower.
52e4b9eb
UD
26101 Create and initialize variable zero and use it in all the places
26102 where _mm_setzero_si128 was used.
fd52bc6d 26103
a5b81e1f
UD
26104 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26105 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26106 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26108 anymore.
26109 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26112 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26113 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26114 __mpranred, __mptan.
26115 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26116 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26117 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26118 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26119 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26120 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26121 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26122 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26123 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26124
b4343346
AS
261252011-10-28 Andreas Schwab <schwab@redhat.com>
26126
0c92d8a8
AS
26127 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26128 redefine if SHARED.
26129 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26130
b4343346
AS
26131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26132 wide char related routines to wcsmbs subdir.
26133
3871f58f
AS
261342011-10-27 Andreas Schwab <schwab@redhat.com>
26135
26136 [BZ #13344]
26137 * misc/sys/cdefs.h (__THROWNL): Define.
26138 * posix/unistd.h: Use __THREADNL instead of __THREAD
26139 for memory synchronization functions.
26140
94d44d9f
RM
261412011-10-26 Roland McGrath <roland@hack.frob.com>
26142
21b64b15 26143 [BZ #13349]
94d44d9f
RM
26144 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26145 doesn't exist.
26146 * manual/stdio.texi (Obstack Streams): Node removed.
26147
f6ce9294
AS
261482011-10-26 Andreas Schwab <schwab@redhat.com>
26149
80479147
AS
26150 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26151 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26153
f6ce9294
AS
26154 * math/math_private.h (math_force_eval): Allow non-addressable
26155 arguments.
26156 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26157
618280a1
UD
261582011-10-25 Ulrich Drepper <drepper@gmail.com>
26159
e0016b11
UD
26160 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26161 file is not needed.
26162
26163 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26170 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26171 Add AVX variants.
26172 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26173 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26174 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26175 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26176 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26177 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26179 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26182 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26183 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26188 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26189 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26191
26192 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26193 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26194
618280a1
UD
26195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26196 place. Use VEX encoding when compiling for AVX.
26197
37822576
AS
261982011-10-25 Andreas Schwab <schwab@redhat.com>
26199
1f1e1947
AS
26200 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26201 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26202
37822576
AS
26203 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26204
31ea014d
UD
262052011-10-25 Ulrich Drepper <drepper@gmail.com>
26206
d7826aa1 26207 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26208 useless if() expression.
d7826aa1
UD
26209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26219 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26221 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26223 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26224 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26228
31ea014d
UD
26229 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26230
16437fec
AS
262312011-10-25 Andreas Schwab <schwab@redhat.com>
26232
26233 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26234 condition.
26235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26236
31d3cc00
UD
262372011-10-25 Ulrich Drepper <drepper@gmail.com>
26238
26239 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26240 .text section. Avoid duplicate constants.
26241 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26251 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26253 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26258 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26270 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26271 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26272 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26273 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26274 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26275 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26276 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26277 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26279 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26280 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26283 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26284 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26285 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26286
58985aa9
UD
262872011-10-24 Ulrich Drepper <drepper@gmail.com>
26288
202c9deb
UD
26289 * sysdeps/x86_64/dla.h: Move to ...
26290 * sysdeps/x86_64/fpu/dla.h: ...here.
26291 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26292 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26293
af968f62
UD
26294 * config.make.in: Add have-mfma4 entry.
26295 * configure.in: Substitute libc_cv_cc_fma4.
26296 * math/Makefile (dbl-only-routines): Add sincostab.
26297 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26298 Use __sincostab not sincos.
26299 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26300 name is a macro.
26301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26305 using __copysign.
26306 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26307 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26308 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26309 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26310 and __inv.
26311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26312 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26313 __copysign.
26314 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26315 define aliases when function name is a macro.
26316 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26317 sysdeps/ieee754/dbl-64/sincos.tbl.
26318 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26319 fma4-enabled routines.
26320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26321 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26322 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26323 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26325 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26329 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26330 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26331 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26332 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26343 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26344 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26347 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26348 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26349 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26350
58985aa9
UD
26351 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26352 rename.
26353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26361
a201fbcf
AS
263622011-10-24 Andreas Schwab <schwab@redhat.com>
26363
26364 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26365
fc2ee42a
LD
263662011-10-23 Ulrich Drepper <drepper@gmail.com>
26367
bb3129bd
UD
26368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26369
0275fff8
UD
26370 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26371 prediction.
26372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26373
2fa2ae85
UD
26374 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26375 Remove unused variable magic_bits.
26376 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26377
fc2ee42a
LD
26378 * string/strnlen.c: Define and use STRNLEN macro.
26379 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26380 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26382 * wcsmbs/wcslen.c: Define and use WCSLEN.
26383 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26384 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26385 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26386 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26387 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26388 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26389 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26390
ce7dd29f
LD
263912011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26392
26393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26394 strnlen-sse2-no-bsf.
26395 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26397 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26398 Add strnlen support.
26399 (USE_AS_STRNLEN): New macro.
26400 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26401 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26402 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26403 * sysdeps/x86_64/wcslen.S: New file.
26404
979c70a3
MZ
264052011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26406
26407 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26408 XMM-moves are used for copying on small sizes.
26409
2d09f82f
LD
264102011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26411
26412 * wcsmbs/Makefile (strop-tests): Add wcschr.
26413 * wcsmbs/test-wcschr.c: New file.
26414 * string/test-strchr.c: Update.
26415 Add wcschr support.
26416 (WIDE): New macro.
26417
619fccca
LD
264182011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26419
2d09f82f 26420 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26421 * wcsmbs/test-wcslen.c: New file.
26422 * string/test-strlen.c: Update.
26423 Add wcslen support.
26424 (WIDE): New macro.
26425
09f699ea
UD
264262011-10-23 Ulrich Drepper <drepper@gmail.com>
26427
26428 * po/it.po: Update from translation team.
26429
95584d3b
LD
264302011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26431
26432 * sysdeps/x86_64/wcscmp.S: Update.
26433 Fix wrong comparison semantics.
26434 wcscmp shall use signed comparison not unsigned.
26435 Don't use substraction to avoid overflow bug.
26436 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26437 * wcsmbc/wcscmp.c: Likewise.
26438 * string/test-strcmp.c: Likewise.
26439 Add new tests to check cases with negative values.
26440
c8b3296b
UD
264412011-10-23 Ulrich Drepper <drepper@gmail.com>
26442
26443 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26444 * sysdeps/x86_64/dla.h: ...here. New file.
26445 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26454
246ad57a
AS
264552011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26456
26457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26458 __ynl_finite aliases.
26459
a1a87169
UD
264602011-10-22 Ulrich Drepper <drepper@gmail.com>
26461
0d355eb7
UD
26462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26463
a1a87169
UD
26464 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26465 define DLA_FMA.
26466 [DLA_FMA] (EMULV): Use DLA_FMA.
26467 [DLA_FMA] (MUL12): Use EMULV.
26468 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26469 that are not needed.
26470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26477
ee2aafe0
AS
264782011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26479
26480 * math/s_nan.c: Undef __nan.
26481 * math/s_nanf.c: Undef __nanf.
26482 * math/s_nanl.c: Undef __nanl.
26483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26484 "math_private.h".
26485
bc62c2fb
UD
264862011-10-22 Ulrich Drepper <drepper@gmail.com>
26487
77425c63
UD
26488 * math/s_catan.c: Add branch predictions.
26489 * math/s_catanf.c: Likewise.
26490 * math/s_catanh.c: Likewise.
26491 * math/s_catanhf.c: Likewise.
26492 * math/s_catanhl.c: Likewise.
26493 * math/s_catanl.c: Likewise.
26494 * math/s_cexp.c: Likewise.
26495 * math/s_cexpf.c: Likewise.
26496 * math/s_cexpl.c: Likewise.
26497 * math/s_clog.c: Likewise.
26498 * math/s_clog10.c: Likewise.
26499 * math/s_clog10f.c: Likewise.
26500 * math/s_clog10l.c: Likewise.
26501 * math/s_clogf.c: Likewise.
26502 * math/s_clogl.c: Likewise.
26503 * math/s_csqrt.c: Likewise.
26504 * math/s_csqrtf.c: Likewise.
26505 * math/s_csqrtl.c: Likewise.
26506 * math/s_ctanf.c: Likewise.
26507 * math/s_ctanh.c: Likewise.
26508 * math/s_ctanhf.c: Likewise.
26509 * math/s_ctanhl.c: Likewise.
26510 * math/s_ctanl.c: Likewise.
26511
bc62c2fb
UD
26512 * math/math_private.h: Define __nan, __nanf, __nanl.
26513 * math/s_cacosh.c: Include <math_private.h>.
26514 * math/s_cacoshl.c: Likewise.
26515 * math/s_casinh.c: Likewise.
26516 * math/s_casinhf.c: Likewise.
26517 * math/s_casinhl.c: Likewise.
26518 * math/s_ccos.c: Rely entire on ccosh.
26519 * math/s_ccosf.c: Rely entire on ccoshf.
26520 * math/s_ccosl.c: Rely entirely on ccoshl.
26521 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26522 Remove tests for FE_INVALID.
26523 * math/s_ccoshf.c: Likewise.
26524 * math/s_ccoshl.c: Likewise.
26525 * math/s_csin.c: Likewise.
26526 * math/s_csinf.c: Likewise.
26527 * math/s_csinh.c Likewise.
26528 * math/s_csinhf.c: Likewise.
26529 * math/s_csinhl.c: Likewise.
26530 * math/s_csinl.c: Likewise.
26531 * math/s_ctan.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26533 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26534 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26535
8ec250a4
UD
265362011-10-21 Ulrich Drepper <drepper@gmail.com>
26537
c196fed8
UD
26538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26539 compilation problems.
26540
8ec250a4
UD
26541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26542 __builtin_expect.
26543
8d4f46c6
UD
265442011-10-20 Ulrich Drepper <drepper@gmail.com>
26545
ed72b654
UD
26546 * sysdeps/i386/configure.in: Test for -mfma4 option.
26547 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26548 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26549 COMMON_CPUID_INDEX_80000001.
26550 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26551 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26552 use it if FMA3 is not supported.
26553 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26554
8d4f46c6
UD
26555 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26557
d45c60c2
AS
265582011-10-20 Andreas Schwab <schwab@redhat.com>
26559
26560 [BZ #12892]
26561 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26562 it would create a cycle with a link time dependency.
26563
d9a4d2ab
UD
265642011-10-19 Ulrich Drepper <drepper@gmail.com>
26565
855d1560
UD
26566 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26567 instruction.
26568 * string/Makefile (strop-tests): Add rawmemchr.
26569 * string/test-rawmemchr.c: New file.
26570
d9a4d2ab
UD
26571 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26573 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26574 when compiling str{,n}casecmp and when AVX is available. Hook up
26575 new optimized code in initializers.
26576
8f3b1ffe
AS
265772011-10-19 Andreas Schwab <schwab@redhat.com>
26578
26579 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26580 __feraiseexcept instead of feraiseexcept.
26581
d38f1dba
UD
265822011-10-18 Ulrich Drepper <drepper@gmail.com>
26583
d9a8d0ab
UD
26584 * math/math_private.h: Define defaults for libc_fetestexcept and
26585 libc_feupdateenv.
26586 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26587 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26589 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26591 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26592 libc_fetestexcept and libc_feupdateenv.
26593
4855e3dd
UD
26594 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26595 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26596 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26597 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26598 libc_feholdexcept_setround.
26599
581d30e3
UD
26600 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26601 Add s_nearbyint-c and s_nearbyintf-c.
26602 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26603 nearbyintf inlines.
26604 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26608
d38f1dba
UD
26609 * math/math_private.h: Define defaults for libc_fegetround,
26610 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26611 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26612 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26614 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26615 standard functions.
26616 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26617 Remove comments and hacks for old compiler versions.
26618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26619 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26620 libc_feholdexceptl.
26621
caa6c9d8
AS
266222011-10-18 Andreas Schwab <schwab@redhat.com>
26623
26624 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26625 (__feraiseexcept_renamed): Add __NTH.
26626 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26627 namespace violations.
26628
97c066e6
UD
266292011-10-17 Ulrich Drepper <drepper@gmail.com>
26630
99ce7b04
UD
26631 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26632
1004d182
UD
26633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26634
228a984d
UD
26635 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26636 recently added interfaces.
26637 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26638
c8553a6a
UD
26639 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26640 about macro parameter expansion.
26641
ed22dcf6
UD
26642 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26643 __NO_MATH_INLINES is defined. Cleanups.
26644
26645 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26646 and __floorf is target has SSE4.1.
26647 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26648 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26649 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26651
b171c137
UD
26652 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26653 name.
26654 (floorf): Likewise.
26655
97c066e6
UD
26656 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26657
629f62ef
AS
266582011-10-17 Andreas Schwab <schwab@redhat.com>
26659
49a43d80
AS
26660 * misc/sys/cdefs.h: Fix last change.
26661
629f62ef
AS
26662 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26663 database lookup.
26664
e453f6cd
UD
266652011-10-16 Ulrich Drepper <drepper@gmail.com>
26666
aa78043a
UD
26667 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26668
ad0f5cad
UD
26669 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26675 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26678 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26679 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26680 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26681 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26682 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26683 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26684 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26685 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26686 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26687 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26688 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26689 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26690 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26691
26692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26693 ceil, ceilf, floor, floorf.
26694
26695 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26696 Perform IRELATIVE relocations last.
26697
e453f6cd
UD
26698 * elf/do-rel.h: Add another parameter nrelative, replacing the
26699 local variable with the same name. Change name of the function
26700 to end in Rel or Rela (uppercase).
26701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26702 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26703 elf_dynamic_do_##reloc function.
26704
fd5bdc09
UD
267052011-10-15 Ulrich Drepper <drepper@gmail.com>
26706
79b195b5
UD
26707 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26708 is sufficient, at least on modern CPUs.
26709
d4a28569
UD
26710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26711
b61099b5
UD
26712 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26714
bcf01e6d
UD
26715 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26716 __expl_finite.
26717 * math/bits/math-finite.h: Add entries for exp.
26718 * math/e_expl.c: Add __*_finite alias.
26719 * sysdeps/i386/fpu/e_exp.S: Likewise.
26720 * sysdeps/i386/fpu/e_expf.S: Likewise.
26721 * sysdeps/i386/fpu/e_expl.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26727 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26728 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26729
ba1a0d59
UD
26730 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26731 is sufficient, at least on modern CPUs.
26732
fd5bdc09
UD
26733 * ctype/ctype-info.c (__ctype_init): Define.
26734 * include/ctype.h (__ctype_init): Declare.
26735 (__ctype_b_loc): The variable is always initialized.
26736 (__ctype_toupper_loc): Likewise.
26737 (__ctype_tolower_loc): Likewise.
26738 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26739 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26740
7872cfb0
AS
267412011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26742
b468825a
AS
26743 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26744
7872cfb0
AS
26745 * configure.in: Also look in $cxxmachine/include for C++ system
26746 headers.
26747
be13f7bf
LD
267482011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26749
26750 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26751 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26752 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26753 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26755 (USE_AS_WMEMCMP): New macro.
26756 Fixing indents.
26757 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26758 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26759 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26760 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26762 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26763 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26764 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26765 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26766 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26768 (USE_AS_WMEMCMP): New macro.
26769 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26770 * sysdeps/string/test-memcmp.c: Update.
26771 Fix simple_wmemcmp.
26772 Add new tests.
26773 * wcsmbs/wmemcmp.c: Update.
26774 (WMEMCMP): New macro.
26775 Fix overflow bug.
26776
556a2007
AJ
267772011-10-12 Andreas Jaeger <aj@suse.de>
26778
26779 [BZ #13268]
26780 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26781
538faaa7
UD
267822011-10-15 Ulrich Drepper <drepper@gmail.com>
26783
ab6737ff
UD
26784 * libio/iofwide.c (do_length): Avoid warning.
26785
538faaa7
UD
26786 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26787
396a21b1
UD
267882011-10-14 Ulrich Drepper <drepper@gmail.com>
26789
cdf2901f
UD
26790 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26791
38ad40ce
UD
26792 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26793 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26794 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26795 * sysdeps/i386/i686/fpu/e_log.S: New file.
26796 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26797 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26798
396a21b1
UD
26799 * ctype/ctype.h: Add support for inlined isXXX functions when
26800 compiling C++ code.
26801
6b1f68c9
AS
268022011-10-14 Andreas Schwab <schwab@redhat.com>
26803
349290c0
AS
26804 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26805
6b1f68c9
AS
26806 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26807
f2282d42
RM
268082011-10-13 Roland McGrath <roland@hack.frob.com>
26809
26810 [BZ #13291]
26811 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26812
5298ffa8
AS
268132011-10-13 Andreas Schwab <schwab@redhat.com>
26814
714fad23
AS
26815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26816 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26817 feraiseexcept.
26818
81dcc7fb
AS
26819 * sysdeps/x86_64/memrchr.S: Check for zero size.
26820
5298ffa8
AS
26821 * string/stratcliff.c: Add memrchr tests.
26822
951fbcec
LD
268232011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26824
26825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26826 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26827 rawmemchr-sse2 rawmemchr-sse2-bsf.
26828 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26829 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26830 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26831 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26832 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26833 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26834 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26835 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26836 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26837 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26838 * string/memrchr.c (MEMRCHR): New macro.
26839
0ac5ae23
UD
268402011-10-12 Ulrich Drepper <drepper@gmail.com>
26841
26842 Add integration with gcc's -ffinite-math-only and optimize wrapper
26843 functions in libm.
26844 * Versions.def: Define GLIBC_2.15 version for libm.
26845 * math/Makefile (headers): Add bits/math-finite.h.
26846 * math/bits/math-finite.h: New file.
26847 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26848 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26849 * math/e_acoshl.c: Add __*_finite alias.
26850 * math/e_acosl.c: Likewise.
26851 * math/e_asinl.c: Likewise.
26852 * math/e_atan2l.c: Likewise.
26853 * math/e_atanhl.c: Likewise.
26854 * math/e_coshl.c: Likewise.
26855 * math/e_exp10.c: Likewise.
26856 * math/e_exp10f.c: Likewise.
26857 * math/e_exp10l.c: Likewise.
26858 * math/e_exp2l.c: Likewise.
26859 * math/e_fmodl.c: Likewise.
26860 * math/e_gammal_r.c: Likewise.
26861 * math/e_hypotl.c: Likewise.
26862 * math/e_j0l.c: Likewise.
26863 * math/e_j1l.c: Likewise.
26864 * math/e_jnl.c: Likewise.
26865 * math/e_lgammal_r.c: Likewise.
26866 * math/e_log10l.c: Likewise.
26867 * math/e_log2l.c: Likewise.
26868 * math/e_logl.c: Likewise.
26869 * math/e_powl.c: Likewise.
26870 * math/e_sinhl.c: Likewise.
26871 * math/e_sqrtl.c: Likewise.
26872 * math/e_scalb.c: Completely rewritten and optimized.
26873 * math/e_scalbf.c: Likewise.
26874 * math/e_scalbl.c: Likewise.
26875 * math/w_acos.c: Likewise.
26876 * math/w_acosf.c: Likewise.
26877 * math/w_acosl.c: Likewise.
26878 * math/w_acosh.c: Likewise.
26879 * math/w_acoshf.c: Likewise.
26880 * math/w_acoshl.c: Likewise.
26881 * math/w_asin.c: Likewise.
26882 * math/w_asinf.c: Likewise.
26883 * math/w_asinl.c: Likewise.
26884 * math/w_atan2.c: Likewise.
26885 * math/w_atan2f.c: Likewise.
26886 * math/w_atan2l.c: Likewise.
26887 * math/w_atanh.c: Likewise.
26888 * math/w_atanhf.c: Likewise.
26889 * math/w_atanhl.c: Likewise.
26890 * math/w_exp10.c: Likewise.
26891 * math/w_exp10f.c: Likewise.
26892 * math/w_exp10l.c: Likewise.
26893 * math/w_fmod.c: Likewise.
26894 * math/w_fmodf.c: Likewise.
26895 * math/w_fmodl.c: Likewise.
26896 * math/w_j0.c: Likewise.
26897 * math/w_j0f.c: Likewise.
26898 * math/w_j0l.c: Likewise.
26899 * math/w_j1.c: Likewise.
26900 * math/w_j1f.c: Likewise.
26901 * math/w_j1l.c: Likewise.
26902 * math/w_jn.c: Likewise.
26903 * math/w_jnf.c: Likewise.
26904 * math/w_log.c: Likewise.
26905 * math/w_logf.c: Likewise.
26906 * math/w_logl.c: Likewise.
26907 * math/w_log10.c: Likewise.
26908 * math/w_log10f.c: Likewise.
26909 * math/w_log10l.c: Likewise.
26910 * math/w_log2.c: Likewise.
26911 * math/w_log2f.c: Likewise.
26912 * math/w_log2l.c: Likewise.
26913 * math/w_pow.c: Likewise.
26914 * math/w_powf.c: Likewise.
26915 * math/w_powl.c: Likewise.
26916 * math/w_remainder.c: Likewise.
26917 * math/w_remainderf.c: Likewise.
26918 * math/w_remainderl.c: Likewise.
26919 * math/w_scalb.c: Likewise.
26920 * math/w_scalbf.c: Likewise.
26921 * math/w_scalbl.c: Likewise.
26922 * math/w_sqrt.c: Likewise.
26923 * math/w_sqrtf.c: Likewise.
26924 * math/w_sqrtl.c: Likewise.
26925 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26926 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26927 used.
26928 * math/math_private.h: Declare __kernel_standard_f.
26929 * math/w_cosh.c: Remove cruft and optimize a bit.
26930 * math/w_coshf.c: Likewise.
26931 * math/w_coshl.c: Likewise.
26932 * math/w_exp2.c: Likewise.
26933 * math/w_exp2f.c: Likewise.
26934 * math/w_exp2l.c: Likewise.
26935 * math/w_hypot.c: Likewise.
26936 * math/w_hypotf.c: Likewise.
26937 * math/w_hypotl.c: Likewise.
26938 * math/w_lgamma.c: Likewise.
26939 * math/w_lgamma_r.c: Likewise.
26940 * math/w_lgammaf.c: Likewise.
26941 * math/w_lgammaf_r.c: Likewise.
26942 * math/w_lgammal.c: Likewise.
26943 * math/w_lgammal_r.c: Likewise.
26944 * math/w_sinh.c: Likewise.
26945 * math/w_sinhf.c: Likewise.
26946 * math/w_sinhl.c: Likewise.
26947 * math/w_tgamma.c: Likewise.
26948 * math/w_tgammaf.c: Likewise.
26949 * math/w_tgammal.c: Likewise.
26950 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26952 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26953 Minor optimizations. Pretty printing. Remove cruft.
26954 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26956 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26957 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26958 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26959 * sysdeps/i386/fpu/e_asin.S: Likewise.
26960 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26961 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26962 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26963 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26965 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26966 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26967 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26968 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26969 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26970 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26971 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26972 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26973 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26974 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26975 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26976 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26977 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26978 * sysdeps/i386/fpu/e_log.S: Likewise.
26979 * sysdeps/i386/fpu/e_log10.S: Likewise.
26980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26981 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26982 * sysdeps/i386/fpu/e_log2.S: Likewise.
26983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26984 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26985 * sysdeps/i386/fpu/e_logf.S: Likewise.
26986 * sysdeps/i386/fpu/e_logl.S: Likewise.
26987 * sysdeps/i386/fpu/e_pow.S: Likewise.
26988 * sysdeps/i386/fpu/e_powf.S: Likewise.
26989 * sysdeps/i386/fpu/e_powl.S: Likewise.
26990 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26991 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26992 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26996 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26997 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26998 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27020 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27023 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27024 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27025 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27026 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27027 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27028 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27029 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27030 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27033 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27034 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27035 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27036 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27037 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27038 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27039 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27040 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27079 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27094 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27095 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27096 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27097 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27098 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27099 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27100 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27101 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27102 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27103 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27105 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27107 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27109 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27110 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27111 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27112 (__isnanf): Likewise.
27113 (__isinf_ns): Likewise.
27114 (__isinf_nsf): Likewise.
27115 (__finite): Likewise.
27116 (__finitef): Likewise.
27117 (__ieee754_sqrt): Define as macro.
27118 (__ieee754_sqrtf): Define as macro.
27119 (__ieee754_sqrtl): Define as macro.
27120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27121 inlined copy.
27122 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27123 __FINITE_MATH_ONLY__ consistent.
27124 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27125
12cc2fcd
AS
271262011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27127
a843a204
AS
27128 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27129 of rawmemchr.
27130
12cc2fcd
AS
27131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27132
c853acd5
UD
271332011-10-09 Ulrich Drepper <drepper@gmail.com>
27134
27135 * po/ja.po: Update from translation team.
27136
c658d255
RM
271372011-10-08 Roland McGrath <roland@hack.frob.com>
27138
110946e4
RM
27139 * locale/programs/locarchive.c (prepare_address_space): New function.
27140 (create_archive, enlarge_archive, open_archive): Use it.
27141
50604220
RM
27142 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27143 inside [SHARED], where it is used.
27144
c658d255
RM
27145 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27146
27147 * nss/getent.c (netgroup_keys): Remove unused variable.
27148 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27149
6a621eb7
UD
271502011-10-08 Ulrich Drepper <drepper@gmail.com>
27151
7edb55ce
UD
27152 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27153 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27155 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27156 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27157 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27158 * math/Makefile (libm-calls): Add s_isinf_ns.
27159 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27160 * math/multc3.c: Likewise.
27161 * math/s_casin.c: Likewise.
27162 * math/s_casinf.c: Likewise.
27163 * math/s_casinl.c: Likewise.
27164 * math/s_ccos.c: Likewise.
27165 * math/s_ccosf.c: Likewise.
27166 * math/s_ccosl.c: Likewise.
27167 * math/s_ctan.c: Likewise.
27168 * math/s_ctanf.c: Likewise.
27169 * math/s_ctanh.c: Likewise.
27170 * math/s_ctanhf.c: Likewise.
27171 * math/s_ctanhl.c: Likewise.
27172 * math/s_ctanl.c: Likewise.
27173 * math/w_fmod.c: Likewise.
27174 * math/w_fmodf.c: Likewise.
27175 * math/w_fmodl.c: Likewise.
27176 * math/w_remainder.c: Likewise.
27177 * math/w_remainderf.c: Likewise.
27178 * math/w_remainderl.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27180 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27183 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27184 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27185 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27186 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27187
187da0ae
UD
27188 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27189 of the number.
27190 * stdio-common/printf_fphex.c: Likewise.
27191 * stdio-common/printf_size.c: Likewise.
27192
9277c064
UD
27193 * math/e_exp10.c: Include math_private.h using <...> not "...".
27194 * math/e_exp10f.c: Likewise.
27195 * math/e_exp10l.c: Likewise.
27196 * math/e_exp2l.c: Likewise.
27197 * math/e_j0l.c: Likewise.
27198 * math/e_j1l.c: Likewise.
27199 * math/e_jnl.c: Likewise.
27200 * math/e_lgammal_r.c: Likewise.
27201 * math/e_rem_pio2l.c: Likewise.
27202 * math/e_scalb.c: Likewise.
27203 * math/e_scalbf.c: Likewise.
27204 * math/e_scalbl.c: Likewise.
27205 * math/k_cosl.c: Likewise.
27206 * math/k_sinl.c: Likewise.
27207 * math/k_tanl.c: Likewise.
27208 * math/s_cacoshf.c: Likewise.
27209 * math/s_catan.c: Likewise.
27210 * math/s_catanf.c: Likewise.
27211 * math/s_catanh.c: Likewise.
27212 * math/s_catanhf.c: Likewise.
27213 * math/s_catanhl.c: Likewise.
27214 * math/s_catanl.c: Likewise.
27215 * math/s_ccosh.c: Likewise.
27216 * math/s_ccoshf.c: Likewise.
27217 * math/s_ccoshl.c: Likewise.
27218 * math/s_cexp.c: Likewise.
27219 * math/s_cexpf.c: Likewise.
27220 * math/s_cexpl.c: Likewise.
27221 * math/s_clog.c: Likewise.
27222 * math/s_clog10.c: Likewise.
27223 * math/s_clog10f.c: Likewise.
27224 * math/s_clog10l.c: Likewise.
27225 * math/s_clogf.c: Likewise.
27226 * math/s_clogl.c: Likewise.
27227 * math/s_csin.c: Likewise.
27228 * math/s_csinf.c: Likewise.
27229 * math/s_csinh.c: Likewise.
27230 * math/s_csinhf.c: Likewise.
27231 * math/s_csinhl.c: Likewise.
27232 * math/s_csinl.c: Likewise.
27233 * math/s_csqrt.c: Likewise.
27234 * math/s_csqrtf.c: Likewise.
27235 * math/s_csqrtl.c: Likewise.
27236 * math/s_ctan.c: Likewise.
27237 * math/s_ctanf.c: Likewise.
27238 * math/s_ctanh.c: Likewise.
27239 * math/s_ctanhf.c: Likewise.
27240 * math/s_ctanhl.c: Likewise.
27241 * math/s_ctanl.c: Likewise.
27242 * math/s_ldexp.c: Likewise.
27243 * math/s_ldexpf.c: Likewise.
27244 * math/s_ldexpl.c: Likewise.
27245 * math/s_significand.c: Likewise.
27246 * math/s_significandf.c: Likewise.
27247 * math/s_significandl.c: Likewise.
27248 * math/w_acos.c: Likewise.
27249 * math/w_acosf.c: Likewise.
27250 * math/w_acosh.c: Likewise.
27251 * math/w_acoshf.c: Likewise.
27252 * math/w_acoshl.c: Likewise.
27253 * math/w_acosl.c: Likewise.
27254 * math/w_asin.c: Likewise.
27255 * math/w_asinf.c: Likewise.
27256 * math/w_asinl.c: Likewise.
27257 * math/w_atan2.c: Likewise.
27258 * math/w_atan2f.c: Likewise.
27259 * math/w_atan2l.c: Likewise.
27260 * math/w_atanh.c: Likewise.
27261 * math/w_atanhf.c: Likewise.
27262 * math/w_atanhl.c: Likewise.
27263 * math/w_cosh.c: Likewise.
27264 * math/w_coshf.c: Likewise.
27265 * math/w_coshl.c: Likewise.
27266 * math/w_dremf.c: Likewise.
27267 * math/w_exp10.c: Likewise.
27268 * math/w_exp10f.c: Likewise.
27269 * math/w_exp10l.c: Likewise.
27270 * math/w_exp2.c: Likewise.
27271 * math/w_exp2f.c: Likewise.
27272 * math/w_fmod.c: Likewise.
27273 * math/w_fmodf.c: Likewise.
27274 * math/w_fmodl.c: Likewise.
27275 * math/w_hypot.c: Likewise.
27276 * math/w_hypotf.c: Likewise.
27277 * math/w_hypotl.c: Likewise.
27278 * math/w_j0.c: Likewise.
27279 * math/w_j0f.c: Likewise.
27280 * math/w_j0l.c: Likewise.
27281 * math/w_j1.c: Likewise.
27282 * math/w_j1f.c: Likewise.
27283 * math/w_j1l.c: Likewise.
27284 * math/w_jn.c: Likewise.
27285 * math/w_jnf.c: Likewise.
27286 * math/w_jnl.c: Likewise.
27287 * math/w_lgamma.c: Likewise.
27288 * math/w_lgamma_r.c: Likewise.
27289 * math/w_lgammaf.c: Likewise.
27290 * math/w_lgammaf_r.c: Likewise.
27291 * math/w_lgammal.c: Likewise.
27292 * math/w_lgammal_r.c: Likewise.
27293 * math/w_log.c: Likewise.
27294 * math/w_log10.c: Likewise.
27295 * math/w_log10f.c: Likewise.
27296 * math/w_log10l.c: Likewise.
27297 * math/w_log2.c: Likewise.
27298 * math/w_log2f.c: Likewise.
27299 * math/w_log2l.c: Likewise.
27300 * math/w_logf.c: Likewise.
27301 * math/w_logl.c: Likewise.
27302 * math/w_pow.c: Likewise.
27303 * math/w_powf.c: Likewise.
27304 * math/w_powl.c: Likewise.
27305 * math/w_remainder.c: Likewise.
27306 * math/w_remainderf.c: Likewise.
27307 * math/w_remainderl.c: Likewise.
27308 * math/w_scalb.c: Likewise.
27309 * math/w_scalbf.c: Likewise.
27310 * math/w_scalbl.c: Likewise.
27311 * math/w_sinh.c: Likewise.
27312 * math/w_sinhf.c: Likewise.
27313 * math/w_sinhl.c: Likewise.
27314 * math/w_sqrt.c: Likewise.
27315 * math/w_sqrtf.c: Likewise.
27316 * math/w_sqrtl.c: Likewise.
27317 * math/w_tgamma.c: Likewise.
27318 * math/w_tgammaf.c: Likewise.
27319 * math/w_tgammal.c: Likewise.
27320
6a621eb7
UD
27321 * po/ja.po: Update from translation team.
27322
bf582445
AJ
273232011-09-29 Andreas Jaeger <aj@suse.de>
27324
f9efbf3a
AJ
27325 [BZ #13179]
27326 * sunrpc/netname.c (netname2host): Fix logic.
27327
bf582445
AJ
27328 [BZ #6779]
27329 [BZ #6783]
27330 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27331 correctly.
27332 * math/w_remainder.c (__remainder): Likewise.
27333 * math/w_remainderf.c (__remainderf): Likewise.
27334 * math/libm-test.inc (remainder_test): Add test cases.
27335
48693bea
AK
273362011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27337
27338 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27339 sdiv_qrnnd.
27340
42622229
LD
273412011-10-07 Ulrich Drepper <drepper@gmail.com>
27342
27343 * string/test-memcmp.c: Avoid unncessary #defines.
27344 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27345
093ecf92
LD
273462011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27347
27348 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27349 Use new sse2 version for core i3 - i7 as it's faster
27350 than sse42 version.
27351 (bit_Prefer_PMINUB_for_stringop): New.
27352 * sysdeps/x86_64/rawmemchr.S: Update.
27353 Replace with faster SSE2 version.
27354 * sysdeps/x86_64/memrchr.S: New file.
27355 * sysdeps/x86_64/memchr.S: Update.
27356 Replace with faster SSE2 version.
27357
fde56e5c
MP
273582011-09-12 Marek Polacek <mpolacek@redhat.com>
27359
27360 * elf/dl-load.c (lose): Add cast to avoid warning.
27361
21fd49a9
UD
273622011-10-07 Ulrich Drepper <drepper@gmail.com>
27363
5a06e643
UD
27364 * po/ca.po: Update from translation team.
27365
684ae515
UD
27366 * inet/getnetgrent_r.c: Hook up nscd.
27367 * nscd/Makefile (routines): Add nscd_netgroup.
27368 (nscd-modules): Add netgroupcache.
27369 (CFLAGS-netgroupcache.c): Define.
27370 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27371 (cache_search): Add const to second parameter.
27372 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27373 INNETGR.
27374 (dbs): Add netgrdb entry.
27375 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27376 (verify_persistent_db): Handle netgrdb.
27377 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27378 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27379 GETFDNETGR.
27380 (netgroup_response_header): Define.
27381 (innetgroup_response_header): Define.
27382 (datahead): Add netgroup_response_header and innetgroup_response_header
27383 elements.
27384 * nscd/nscd.conf: Add entries for netgroup cache.
27385 * nscd/nscd.h (dbtype): Add netgrdb.
27386 (_PATH_NSCD_NETGROUP_DB): Define.
27387 (netgroup_iov_disabled): Declare.
27388 (xmalloc, xcalloc, xrealloc): Move declarations here.
27389 (cache_search): Adjust prototype.
27390 Add netgroup-related prototypes.
27391 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27392 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27393 (__nscd_innetgr): Declare.
27394 * nscd/selinux.c (perms): Use access_vector_t as element type and
27395 add netgroup-related initializers.
27396 * nscd/netgroupcache.c: New file.
27397 * nscd/nscd_netgroup.c: New file.
27398 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27399 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27400 For four parameters use innetgr.
27401 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27402 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27403 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27404 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27405
21fd49a9
UD
27406 * nscd/connections.c (register_traced_file): Don't register file
27407 for disabled databases.
27408
054c0457
UD
274092011-10-06 Ulrich Drepper <drepper@gmail.com>
27410
32b63198
UD
27411 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27412
054c0457
UD
27413 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27414 from tree and freeing node.
27415
64031225
JO
274162011-09-25 Jiri Olsa <jolsa@redhat.com>
27417
27418 * nss/nsswitch.c (__nss_database_lookup): Handle
27419 nss_parse_service_list out of memory case.
27420
0490345c
JO
274212011-09-15 Jiri Olsa <jolsa@redhat.com>
27422
27423 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27424 out of memory case.
27425
3a62d00d
AS
274262011-10-04 Andreas Schwab <schwab@redhat.com>
27427
27428 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27429 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27430 pass it down.
27431 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27432 elf_machine_rela, elf_machine_lazy_rel.
27433 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27434 (ELF_DYNAMIC_DO_REL): Likewise.
27435 (ELF_DYNAMIC_DO_RELA): Likewise.
27436 (ELF_DYNAMIC_RELOCATE): Likewise.
27437 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27438 to ELF_DYNAMIC_DO_REL.
27439 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27440 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27441 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27442 elf_machine_rela.
27443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27444 skip_ifunc, don't call ifunc function if non-zero.
27445 (elf_machine_rela): Likewise.
27446 (elf_machine_lazy_rel): Likewise.
27447 (elf_machine_lazy_rela): Likewise.
27448 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27449 (elf_machine_lazy_rel): Likewise.
27450 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27451 Likewise.
27452 (elf_machine_lazy_rel): Likewise.
27453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27454 Likewise.
27455 (elf_machine_lazy_rel): Likewise.
27456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27457 (elf_machine_lazy_rel): Likewise.
27458 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27459 (elf_machine_lazy_rel): Likewise.
27460 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27461 (elf_machine_lazy_rel): Likewise.
27462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27463 (elf_machine_lazy_rel): Likewise.
27464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27465 (elf_machine_lazy_rel): Likewise.
27466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27467 (elf_machine_lazy_rel): Likewise.
27468
68577918
UD
274692011-09-28 Ulrich Drepper <drepper@gmail.com>
27470
27471 * nss/nss_files/files-init.c (_nss_files_init): Use static
27472 initialization for all the *_traced_file variables.
27473
68822d74
AS
274742011-09-28 Andreas Schwab <schwab@redhat.com>
27475
27476 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27477
2056100b
RM
274782011-09-27 Roland McGrath <roland@hack.frob.com>
27479
27480 [BZ #13226]
27481 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27482
32c76b63
AS
274832011-09-27 Andreas Schwab <schwab@redhat.com>
27484
27485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27486 Reread the line before reparsing it.
27487
bf972c9d
AS
274882011-09-26 Andreas Schwab <schwab@redhat.com>
27489
27490 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27491
e057a1b5
JM
274922011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27493 Maxim Kuvyrkov <maxim@codesourcery.com>
27494 Joseph Myers <joseph@codesourcery.com>
27495
27496 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27497 if needed for __stack_chk_guard.
27498
bc7e1c36
RM
274992011-09-19 Roland McGrath <roland@hack.frob.com>
27500
ecb1482f
RM
27501 * sysdeps/posix/spawni.c (script_execute): Always define it.
27502 It will be optimized away if unused.
27503 (maybe_script_execute): New function.
27504 (__spawni): Call it.
27505
bc7e1c36
RM
27506 * Makerules: Don't include tls.make.
27507 (config-tls): Always set to thread.
27508 * tls.make.c: File removed.
27509
1c3b002b
MF
275102011-09-19 Mike Frysinger <vapier@gentoo.org>
27511
27512 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27513 * config.make.in (CPPFLAGS-config): New substituted variable.
27514
2840865d
UD
275152011-09-15 Ulrich Drepper <drepper@gmail.com>
27516
88738eb6
UD
27517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27518
cbf645a6 27519 [BZ #13192]
2840865d
UD
27520 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27521 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27522
b402e91a
RM
275232011-09-15 Roland McGrath <roland@hack.frob.com>
27524
27525 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27526 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27528 (CALL_FAIL): Likewise.
27529 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27530 (CALL_FAIL): Macro removed.
27531 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27532
4c1a1f71
UD
275332011-09-15 Ulrich Drepper <drepper@gmail.com>
27534
27535 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27536 for __FINITE_MATH_ONLY__ == 1.
27537
edc121be
AS
275382011-09-15 Andreas Schwab <schwab@redhat.com>
27539
27540 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27541 __ieee754_sqrt instead of sqrt.
27542 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27543 __ieee754_sqrtf instead of sqrtf.
27544 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27545 __floorf instead of floorf.
27546 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27547 __floorf, __truncf instead of floorf, truncf.
27548
cd205654
UD
275492011-09-14 Ulrich Drepper <drepper@gmail.com>
27550
ee4d0315
UD
27551 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27552
cd205654
UD
27553 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27554 __extern_always_inline.
27555 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27556 32-bit.
27557
48b67d71
AS
275582011-09-14 Andreas Schwab <schwab@redhat.com>
27559
27560 * elf/rtld.c (dl_main): Also relocate in dependency order when
27561 doing symbol dependency testing.
27562
1ae12c75
AS
275632011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27564
27565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27566 Always define `refsym'.
27567
995a80df
AS
275682011-09-13 Andreas Schwab <schwab@redhat.com>
27569
e529793b
AS
27570 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27571 (__FD_ELT): Renamed from __FDELT.
27572 * misc/bits/select2.h (__FD_ELT): Likewise.
27573 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27574 __FD_MASK instead of __FDELT, __FDMASK.
27575 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27576 Likewise.
27577 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27578 Likewise.
27579
52d4fef8
AS
27580 * elf/Makefile (gen-ldd): Fix pattern.
27581
995a80df
AS
27582 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27583 (init_tls): Likewise.
27584
8682f8b0
UD
275852011-09-12 Ulrich Drepper <drepper@gmail.com>
27586
27587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27588
de82006d
AS
275892011-09-12 Andreas Schwab <schwab@redhat.com>
27590
a7c8e6a1
AS
27591 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27592 `struct cmsghdr *' instead of `void *'.
27593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27594 Likewise.
27595
0f31fe77
AS
275962011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27597
27598 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27599 if non-absolute.
27600 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27601 ldd_rewrite_script.
0f31fe77 27602
32b4c839
UD
276032011-09-11 Ulrich Drepper <drepper@gmail.com>
27604
83cd1420
UD
27605 * configure.in: Remove --with-tls option.
27606 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27607 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27608 out in case it is missing.
27609 * sysdeps/ia64/elf/configure.in: Likewise.
27610 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27611 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27612 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27613 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27614 * sysdeps/sh/elf/configure.in: Likewise.
27615 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27616 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27617 * sysdeps/x86_64/elf/configure.in: Likewise.
27618 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27619 * sysdeps/mach/hurd/tls.h: Likewise.
27620
633f745d
UD
27621 [BZ #13067]
27622 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27623
f318beb8
UD
27624 [BZ #13090]
27625 * configure.in: Fix use of AC_INIT.
27626
32b4c839
UD
27627 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27628
3ce1f295
UD
276292011-09-10 Ulrich Drepper <drepper@gmail.com>
27630
bb016596
UD
27631 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27632 __set_errno.
8e58439c
UD
27633 * malloc/hooks.c: Likewise.
27634
aebae053 27635 [BZ #11929]
02d46fc4
UD
27636 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27637 variables statically.
27638 (narenas): Initialize.
27639 (list_lock): Initialize.
bb016596
UD
27640 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27641 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27642 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27643 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27644 Add initializers to main_arena and mp_.
27645 (malloc_state): Remove pagesize member. Change all users to use
27646 GLRO(dl_pagesize).
27647
27648 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27649 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27650 is always initialized.
27651
22a89187
UD
27652 * malloc/malloc.c: Removed unused configurations and dead code.
27653 * malloc/arena.c: Likewise.
27654 * malloc/hooks.c: Likewise.
02d46fc4 27655 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27656
d063d164
UD
27657 * include/tls.h: Removed. USE___THREAD must always be defined.
27658 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27659 * elf/dl-libc.c: Likewise.
27660 * elf/dl-tsd.c: Likewise.
27661 * include/errno.h: Likewise.
27662 * include/netdb.h: Likewise.
27663 * include/resolv.h: Likewise.
27664 * inet/herrno-loc.c: Likewise.
27665 * inet/herrno.c: Likewise.
27666 * malloc/arena.c: Likewise.
27667 * malloc/hooks.c: Likewise.
27668 * malloc/malloc.c: Likewise.
27669 * resolv/res-state.c: Likewise.
27670 * resolv/res_libc.c: Likewise.
27671 * sysdeps/i386/dl-machine.h: Likewise.
27672 * sysdeps/ia64/dl-machine.h: Likewise.
27673 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27674 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27675 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27676 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27677 * sysdeps/sh/dl-machine.h: Likewise.
27678 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27679 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27680 * sysdeps/unix/i386/sysdep.S: Likewise.
27681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27682 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27687 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27692 * sysdeps/x86_64/dl-machine.h: Likewise.
27693 * tls.make.c: Likewise.
27694
3ce1f295
UD
27695 * configure.in: Remove --with-__thread option. Make tests for
27696 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27697 tls_model attribute fail if no support is available. Remove
27698 USE_IN_LIBIO.
27699 * Makeconfig: Adjust for dropped configure option. All features are
27700 now mandatory.
27701 * Makerules: Likewise.
27702 * Versions.def: Likewise.
27703 * argp/argp-fmtstream.c: Likewise.
27704 * argp/argp-fmtstream.h: Likewise.
27705 * argp/argp-help.c: Likewise.
27706 * assert/assert.c: Likewise.
27707 * config.h.in: Likewise.
27708 * config.make.in: Likewise.
27709 * configure: Likewise.
27710 * configure.in: Likewise.
27711 * csu/Versions: Likewise.
27712 * csu/init.c: Likewise.
27713 * elf/tst-audit2.c: Likewise.
27714 * elf/tst-tls10.c: Likewise.
27715 * elf/tst-tls10.h: Likewise.
27716 * elf/tst-tls11.c: Likewise.
27717 * elf/tst-tls12.c: Likewise.
27718 * elf/tst-tls14.c: Likewise.
27719 * elf/tst-tlsmod11.c: Likewise.
27720 * elf/tst-tlsmod12.c: Likewise.
27721 * elf/tst-tlsmod13.c: Likewise.
27722 * elf/tst-tlsmod13a.c: Likewise.
27723 * elf/tst-tlsmod14a.c: Likewise.
27724 * elf/tst-tlsmod15b.c: Likewise.
27725 * elf/tst-tlsmod16a.c: Likewise.
27726 * elf/tst-tlsmod16b.c: Likewise.
27727 * elf/tst-tlsmod7.c: Likewise.
27728 * elf/tst-tlsmod8.c: Likewise.
27729 * elf/tst-tlsmod9.c: Likewise.
27730 * gmon/gmon.c: Likewise.
27731 * grp/fgetgrent_r.c: Likewise.
27732 * grp/putgrent.c: Likewise.
27733 * hurd/fopenport.c: Likewise.
27734 * include/libc-symbols.h: Likewise.
27735 * include/tls.h: Likewise.
27736 * intl/gettextP.h: Likewise.
27737 * intl/loadinfo.h: Likewise.
27738 * locale/global-locale.c: Likewise.
27739 * locale/localeinfo.h: Likewise.
27740 * mach/devstream.c: Likewise.
27741 * malloc/arena.c: Likewise.
27742 * malloc/set-freeres.c: Likewise.
27743 * misc/err.c: Likewise.
27744 * misc/getttyent.c: Likewise.
27745 * misc/mntent_r.c: Likewise.
27746 * posix/getopt.c: Likewise.
27747 * posix/wordexp.c: Likewise.
27748 * pwd/fgetpwent_r.c: Likewise.
27749 * resolv/Versions: Likewise.
27750 * resolv/res_hconf.c: Likewise.
27751 * shadow/fgetspent_r.c: Likewise.
27752 * shadow/putspent.c: Likewise.
27753 * stdio-common/printf_fphex.c: Likewise.
27754 * stdio-common/tmpfile.c: Likewise.
27755 * stdlib/abort.c: Likewise.
27756 * stdlib/fmtmsg.c: Likewise.
27757 * sunrpc/auth_unix.c: Likewise.
27758 * sunrpc/clnt_perr.c: Likewise.
27759 * sunrpc/clnt_tcp.c: Likewise.
27760 * sunrpc/clnt_udp.c: Likewise.
27761 * sunrpc/clnt_unix.c: Likewise.
27762 * sunrpc/openchild.c: Likewise.
27763 * sunrpc/svc_simple.c: Likewise.
27764 * sunrpc/svc_tcp.c: Likewise.
27765 * sunrpc/svc_udp.c: Likewise.
27766 * sunrpc/svc_unix.c: Likewise.
27767 * sunrpc/xdr.c: Likewise.
27768 * sunrpc/xdr_array.c: Likewise.
27769 * sunrpc/xdr_rec.c: Likewise.
27770 * sunrpc/xdr_ref.c: Likewise.
27771 * sunrpc/xdr_stdio.c: Likewise.
27772
1248c1c4
PB
277732011-09-09 Ulrich Drepper <drepper@gmail.com>
27774
27775 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27776
277772011-07-03 Andreas Jaeger <aj@suse.de>
27778
27779 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27780 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27781 regenerate with gen-libm-tests.pl.
27782
277832010-05-12 Petr Baudis <pasky@suse.cz>
27784
27785 [BZ #11589]
27786 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27787 around j0() zero points by switching to j1().
27788 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27792
f22e1074
UD
277932011-09-09 Ulrich Drepper <drepper@gmail.com>
27794
f19009c1
UD
27795 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27796 instead of 0.
27797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27798 instead of 0.
f19009c1
UD
27799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27800 Patch in part by Pavel Roskin <proski@gnu.org>.
27801
3f8cc204
UD
27802 [BZ #13138]
27803 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27804 realloc.
27805 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27806 Free memory block if necessary.
27807
f22e1074
UD
27808 [BZ #12847]
27809 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27810 be NULL. Don't lock in this case.
27811
0a2349f9
RM
278122011-09-09 Roland McGrath <roland@hack.frob.com>
27813
27814 * elf/elf.h (ELFOSABI_GNU): New macro.
27815 (ELFOSABI_LINUX): Define to that.
27816
f3cdd467
DZ
278172011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27818
27819 * string/strncat.c (strncat): Undef the symbol in case it has been
27820 defined in bits/string.h.
27821
74718d13
UD
278222011-09-09 Ulrich Drepper <drepper@gmail.com>
27823
633e9e0f
UD
27824 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27825
0a2349f9 27826 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27827 link map.
27828
f9924780
AJ
278292011-08-17 Andreas Jaeger <aj@suse.de>
27830
27831 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27832
7f5517aa
PP
278332011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27834 Ian Lance Taylor <iant@google.com>
27835
27836 * math/libm-test.inc (lround_test): New testcase.
27837 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27838
762011fe
UD
278392011-09-08 Ulrich Drepper <drepper@gmail.com>
27840
92963737
UD
27841 * Makefile: Remove support for automatic cvs check-ins.
27842 * Makerules: Likewise.
27843 * config.make.in: Likewise.
27844 * configure.in: Likewise.
27845 * intl/Makefile: Likewise.
27846 * locale/Makefile: Likewise.
27847 * po/Makefile: Likewise.
27848 * posix/Makefile: Likewise.
27849 * sysdeps/gnu/Makefile: Likewise.
27850 * sysdeps/mach/hurd/Makefile: Likewise.
27851 * sysdeps/sparc/sparc32/Makefile: Likewise.
27852
b0727fd8
JS
27853 [BZ #13118]
27854 * posix/Makefile (bug-regex32-ENV): Define.
27855 Patch by John Stanley <jpsinthemix@verizon.net>.
27856
a0f33f99
UD
27857 * misc/Makefile (headers): Add bits/select2.h.
27858 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27859 * misc/bits/select2.h: New file.
27860 * include/bits/select2.h: New file.
27861 * debug/Makefile (routines): Add fdelt_chk.
27862 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27863 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27864 FD_ISSET.
27865 * debug/fdelt_chk.c: New file.
27866
762011fe
UD
27867 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27868 * wcsmbs/test-wmemcmp.c: Likewise.
27869 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27870 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27871
278722011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27873
27874 * string/Makefile (strop-tests): Add memcmp.
27875 * string/test-wmemcmp.c: New file.
27876 * string/test-memcmp.c: Add wmemcmp support.
27877
7f513ec8
RM
278782011-09-08 Roland McGrath <roland@hack.frob.com>
27879
0442afb4
RM
27880 [BZ #13153]
27881 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27882 2011-07-19 change.
27883
7f513ec8
RM
27884 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27885 garbage value in a __mach_port_mod_refs call in the cases of the
27886 task-self and thread-self ports.
27887
a12b2239
ST
278882011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27889
27890 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27891
610f9ab4
AS
278922011-09-08 Andreas Schwab <schwab@redhat.com>
27893
7f513ec8 27894 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27895
48882a1a
LD
278962011-09-07 Ulrich Drepper <drepper@gmail.com>
27897
b49865be
UD
27898 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27899
fdc86bc9
UD
27900 * elf/dl-libc.c (dlerror_run): Pass back error code from
27901 dl_catch_error.
27902
c966526a
UD
27903 [BZ #13123]
27904 * elf/dl-load.c (lose): Free l_origin if it is valid.
27905
48882a1a
LD
27906 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27907 names.
27908 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27912 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27913 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27914
77a2a8b4
AZ
279152011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27916
27917 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27918 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27919 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27920 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27921 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27922 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27923 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27924 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27925 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27926 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27927
24f579d8
AM
279282011-08-15 Alan Modra <amodra@gmail.com>
27929
27930 [BZ #13092]
27931 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27932 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27933 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27934 ppc_mcount to static-only-routines.
27935 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27936 __mcount_internal.
27937 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27938 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27939
3d4837df
UD
279402011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27941
27942 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27943 for finite and infinity parameters.
27944
22700377
WS
279452011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27946
27947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27948 and add nop instructions for throughput optimization.
27949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27950
5025581e
WS
279512011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27952
27953 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27954 aligned copy for power7 with vector-scalar instructions.
27955 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27956
08a300c9
L
279572011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27958
27959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27960 AVX check.
27961
59178ef9
AS
279622011-09-07 Andreas Schwab <schwab@redhat.com>
27963
27964 [BZ #13144]
27965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27966 last change.
27967
e38ba7ab
UD
279682011-09-07 Ulrich Drepper <drepper@gmail.com>
27969
27970 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27971 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27972 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27973 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27974 clock_gettime.
27975
d53a73ac
UD
279762011-09-06 Ulrich Drepper <drepper@gmail.com>
27977
fc8bffcc
UD
27978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27979 Forgot to demangle the pointer.
27980
ceaa0c5d
UD
27981 * sysdeps/i386/sysdep.h: Define atom_text_section.
27982 * sysdeps/x86_64/sysdep.h: Likewise.
27983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27984 section with atom_text_section.
27985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27986 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27987 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27989 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27990
a77d3c17
UD
27991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27993 already be defined. Change to take two parameters and don't assign
27994 result to variable. Adjust all users.
27995 Define INTERNAL_GETTIME if not already defined.
27996 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27997 call.
27998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27999 HAVE_CLOCK_GETTIME_VSYSCALL.
28000 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28001
d53a73ac
UD
28002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28003 gettimeofday vsyscall, just use time.
28004
a8f84144
AS
280052011-09-06 Andreas Schwab <schwab@redhat.com>
28006
28007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28008 <errno.h>.
28009
ef606249
UD
280102011-09-06 Ulrich Drepper <drepper@gmail.com>
28011
28012 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28013 syscall on x86-64.
28014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28015 syscall.
28016 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28018 syscall if possible.
28019
6585cb60
UD
280202011-09-05 Ulrich Drepper <drepper@gmail.com>
28021
28022 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28023 e_ident. Don't pass to find_mapsXX.
28024 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28025
a5f524e4
LD
280262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28027
28028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28029 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28030 * sysdeps/x86_64/multiarch/strchr.S: Update.
28031 Check bit_slow_BSF bit.
28032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28033 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28034 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28035
554881ef
UD
280362011-09-05 Ulrich Drepper <drepper@gmail.com>
28037
d96de963
UD
28038 [BZ #13134]
28039 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28040 before glibc 2.15.
28041 (tryshell): Define.
28042 (__spawni): Change last parameter to be flag. Test
28043 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28044 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28045 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28046 * posix/spawni.c: Likewise.
28047 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28048 * posix/spawnp.c: Likewise. Change normal version to use
28049 SPAWN_XFLAGS_USE_PATH.
28050 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28051 SPAWN_XFLAGS_TRY_SHELL.
28052
d48e5868
UD
28053 [BZ #13150]
28054 * posix/glob.h: Remove gcc 1.x support.
28055
554881ef
UD
28056 [BZ #13068]
28057 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28058
693fb948
LD
280592011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28060
28061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28062 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28063 strrchr-sse2-bsf
28064 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28065 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28067 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28068 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28070
1b48c537
UD
280712011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28072
49d42c37
UD
28073 * sysdeps/x86_64/wcscmp.S: New file.
28074
1b48c537
UD
28075 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28076 wcscmp-c wcscmp-sse2
28077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28078 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28079 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28080 * wcsmbs/wcscmp.c: Allow renaming.
28081
15c95c5d
DM
280822011-09-05 David S. Miller <davem@davemloft.net>
28083
28084 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28085 stack slot, rather than the struct return pointer slot.
28086 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28087 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28089 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28090
2f0ad8f3
UD
280912011-09-05 Ulrich Drepper <drepper@gmail.com>
28092
d88ae418
UD
28093 * po/ja.po: Update from translation team.
28094
2f0ad8f3
UD
28095 [BZ #13144]
28096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28097 kernel in 64-bit binaries.
28098
5f4318d1
DM
280992011-09-01 David S. Miller <davem@davemloft.net>
28100
28101 * elf/elf.h (HWCAP_SPARC_*): Move to..
28102 * sysdeps/sparc/sysdep.h: this new file and add new values.
28103 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28104 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28105 _DL_HWCAP_COUNT to 24.
28106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28107 entries.
28108 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28109 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28110 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28112 instead of magic constants.
28113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28114
3ba57516
DM
281152011-08-31 David S. Miller <davem@davemloft.net>
28116
28117 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28119 Reimplement to do errno handling inline.
28120 (SYSCALL_ERROR_HANDLER): New macro.
28121 (__SYSCALL_STRING): Do not do errno handling in asm.
28122 (__CLONE_SYSCALL_STRING): Delete.
28123 (__INTERNAL_SYSCALL_STRING): Delete.
28124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28125 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28126 (PSEUDO): Reimplement to do errno handling inline.
28127 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28128 (SYSCALL_ERROR_HANDLER): New macro.
28129 (__SYSCALL_STRING): Do not do errno handling in asm.
28130 (__CLONE_SYSCALL_STRING): Delete.
28131 (__INTERNAL_SYSCALL_STRING): Delete.
28132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28133 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28134 i386.
28135 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28136 (inline_syscall*): Add 'err' argument.
28137 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28138 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28139 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28140 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28141
28142 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28143 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28144
2bc17433
AS
281452011-08-30 Andreas Schwab <schwab@redhat.com>
28146
28147 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28148
fbeb5f4d
JO
281492011-08-29 Jiri Olsa <jolsa@redhat.com>
28150
28151 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28152 directive.
28153
ad69cc26
DM
281542011-08-24 David S. Miller <davem@davemloft.net>
28155
28156 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28157
39dd69df
AS
281582011-08-24 Andreas Schwab <schwab@redhat.com>
28159
28160 * elf/Makefile: Add rules to build and run unload8 test.
28161 * elf/unload8.c: New file.
28162 * elf/unload8mod1.c: New file.
28163 * elf/unload8mod1x.c: New file.
28164 * elf/unload8mod2.c: New file.
28165 * elf/unload8mod3.c: New file.
28166
28167 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28168 it wasn't used.
28169
2c0b250a
DM
281702011-08-23 David S. Miller <davem@davemloft.net>
28171
28172 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28173 subtract stack bias.
28174 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28175 %sp not %fp in calculations.
28176 (_JMPBUF_UNWINDS_ADJ): Likewise.
28177
22044b48
DM
28178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28179 (aio_suspend): Call it to force an exception region around the
28180 AIO_MISC_WAIT() invocation.
28181
2cae4995
AS
281822011-08-23 Andreas Schwab <schwab@redhat.com>
28183
28184 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28185 backslash.
28186
873a772e
AJ
281872011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28188
28189 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28190 protection macro.
28191 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28192 and <dl-machine.h>.
28193 (Elf64_FuncDesc): Remove.
28194
25ad0df1
DM
281952011-08-22 David S. Miller <davem@davemloft.net>
28196
28197 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28198 sigaltstack check, add missing cfi directives.
28199 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28200 missing cfi directives, and sigaltstack handling.
28201
e888bcbe
AS
282022011-08-16 Andreas Schwab <schwab@redhat.com>
28203
28204 [BZ #11724]
28205 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28206 object is seen twice.
28207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28208
28209 * elf/Makefile (distribute): Add tst-initorder2.c.
28210 (tests): Add tst-initorder2.
28211 (modules-names): Add tst-initorder2a tst-initorder2b
28212 tst-initorder2c tst-initorder2d. Add rules to build them.
28213 ($(objpfx)tst-initorder2.out): New rule.
28214 * elf/tst-initorder2.c: New file.
28215 * elf/tst-initorder2.exp: New file.
28216
87162f46
AS
282172011-08-22 Andreas Schwab <schwab@redhat.com>
28218
70538b7f
AS
28219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28220
f55ffe58
AS
28221 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28222 dependencies back to end of function.
28223
87162f46
AS
28224 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28225 $(elfobjdir)/ld.so.
28226
91b392a4
UD
282272011-08-21 Ulrich Drepper <drepper@gmail.com>
28228
28229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28230 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28232 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28233 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28234 of __vdso_gettimeofday.
28235 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28236 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28237 attribute_hidden.
28238 (_libc_vdso_platform_setup): Remove initialization of
28239 __vdso_gettimeofday and __vdso_time.
28240
5c43483f
UD
282412011-08-20 Ulrich Drepper <drepper@gmail.com>
28242
775a77e7
UD
28243 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28244 and fgetc_unlocked.
28245 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28246 getc_unlocked.
89f447ed 28247
49c74ba9
UD
28248 * elf/dl-open.c (add_to_global): Report additions to the global scope
28249 for LD_DEBUG=scopes.
28250 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28251 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28252
5c43483f
UD
28253 [BZ #13114]
28254 * stdio-common/Makefile (tests): Add bug24.
28255 * stdio-common/bug24.c: New file.
28256
a101b025
AJ
282572011-08-19 Andreas Jaeger <aj@suse.de>
28258
28259 [BZ #13114]
28260 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28261 non-existant file when using close-on-exec mode.
28262
c88f1766
UD
282632011-08-20 Ulrich Drepper <drepper@gmail.com>
28264
0276a718
UD
28265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28266 the very first instruction.
28267
c88f1766
UD
28268 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28269 the CFI state in the end.
28270 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28271 inclusion of dl-trampoline.h.
28272 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28273
51ccffa0
AS
282742011-08-19 Andreas Schwab <schwab@redhat.com>
28275
94d7165f
AS
28276 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28277 expectations for long double.
28278
51ccffa0
AS
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28280 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28281
fd708658 282822011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28283
28284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28285 artificual limit depends upon the system page size.
28286
44f0a71e
UD
282872011-08-17 Ulrich Drepper <drepper@gmail.com>
28288
28289 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28290 * resolv/Makefile: Define CFLAGS-libresolv.
28291
8de79a24
AS
282922011-08-17 Andreas Schwab <schwab@redhat.com>
28293
28294 * nss/makedb.c (compute_tables): Make variables used in nested
28295 function static.
28296
27724598
UD
282972011-08-17 Ulrich Drepper <drepper@gmail.com>
28298
c5305d88
UD
28299 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28300 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28301 if buffer was too small.
28302
27724598
UD
28303 * elf/pldd.c (main): Attach to all threads in the process.
28304 Rewrite /proc handling to use *at functions.
28305
076fe015
UD
283062011-08-16 Ulrich Drepper <drepper@gmail.com>
28307
174baab3
UD
28308 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28309 specifies first scope to show.
28310 (dl_open_worker): Update callers. Move printing scope of new
28311 object to before the relocation.
44f0a71e 28312 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28313 * sysdeps/generic/ldsodefs.h: Update declaration.
28314
076fe015
UD
28315 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28316 string for the scope number.
28317
a60df2c3
UD
283182011-08-14 Ulrich Drepper <drepper@gmail.com>
28319
28320 * nscd/servicescache.c (cache_addserv): Make sure written is always
28321 initialized.
28322
5e4287d1
RM
283232011-08-14 Roland McGrath <roland@hack.frob.com>
28324
85ae0589
RM
28325 * sysdeps/i386/i486/bits/atomic.h
28326 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28327 statement expression, so as to suppress "set but not used" warning.
28328 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28329
69f63097
RM
28330 * string/strncat.c (STRNCAT): Use prototype definition.
28331
675456ef
RM
28332 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28333 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28334 -Iprograms here.
28335 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28336 (localedef-modules): Add localedef.
28337 (locale-modules): Add locale.
28338
5e4287d1
RM
28339 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28340 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28341 to avoid a warning.
28342
9c96ff23
DM
283432011-08-14 David S. Miller <davem@davemloft.net>
28344
28345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28346 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28347
f9ddf089
UD
283482011-08-13 Ulrich Drepper <drepper@gmail.com>
28349
44f0a71e 28350 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28351 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28352 * elf/rtld.c (dl_main): Set l_name of vDSO.
28353 Call _dl_show_scope when DL_DEBUG_SCOPES.
28354 (process_dl_debug): Recognize scopes flag and also set it for all.
28355 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28356 Declare _dl_show_scope.
28357
1dc27704
UD
28358 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28359 (do_dlopen): Pass caller_dlopen to dl_open.
28360 (__libc_dlopen_mode): Initialize caller_dlopen.
28361
f9ddf089
UD
28362 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28363 of libc. Make tolower call locale-independent. Optimize a bit by
28364 using isdigit instead of isalnum.
28365 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28366
9ac533d3
UD
283672011-08-12 Ulrich Drepper <drepper@gmail.com>
28368
28369 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28370 was a dependency or dynamically loaded.
28371
89edf2e9
UD
283722011-08-11 Ulrich Drepper <drepper@gmail.com>
28373
8e999d29
UD
28374 * intl/l10nflist.c: Allow architecture-specific pop function.
28375 * sysdeps/x86_64/l10nflist.c: New file.
28376
89edf2e9
UD
28377 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28378 classification.
28379
14d96785
AS
283802011-08-10 Andreas Schwab <schwab@redhat.com>
28381
28382 * include/dirent.h: Add libc_hidden_proto for scandirat and
28383 scandirat64. Don't declare __scandirat64.
28384 * dirent/scandirat.c: Add libc_hidden_def.
28385 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28386 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28387
6761ac04
DM
283882011-08-10 David S. Miller <davem@davemloft.net>
28389
28390 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28391 enum.
28392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28395
c55fbd1e
UD
283962011-08-09 Ulrich Drepper <drepper@gmail.com>
28397
28398 * Versions.def [libc]: Add GLIBC_2.15.
28399 * dirent/Makefile (routines): Add scandirat and scandirat64.
28400 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28401 GLIBC_2.15.
28402 * dirent/dirent.h: Declare scandirat and scandirat64.
28403 * dirent/scandirat.c: New file.
28404 * dirent/scandirat64.c: New file.
28405 * sysdeps/wordsize-64/scandirat.c: New file.
28406 * sysdeps/wordsize-64/scandirat64.c: New file.
28407 * dirent/opendir.c: Define opendirat.
28408 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28409 using scandirat.
28410 * dirent/scandir64.c: Adjust for scandir.c change.
28411 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28412 __scandirat64, and __scandir_cancel_handler.
28413 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28414 additional parameter and use openat instead of open (outside of ld.so).
28415 Add new __opendir as wrapper around __opendirat.
28416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28417 here without requiring old scandirat implementation.
28418
879165f2
UD
284192011-08-08 Ulrich Drepper <drepper@gmail.com>
28420
28421 * dirent/scandir.c (cancel_handler): Renamed to
28422 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28423 defined. Adjust users.
28424 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28426
cb7e923b
UD
284272011-08-04 Ulrich Drepper <drepper@gmail.com>
28428
16292edd
UD
28429 * string/test-string.h (IMPL): Use __STRING to expand name and then
28430 stringify it.
28431
cb7e923b
UD
28432 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28433 of cleanups.
28434
cff82933
LD
284352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28436
28437 * string/Makefile: Update.
28438 (strop-tests): Append strncat.
28439 * string/test-wcscmp.c: New file.
28440 New comprehensive test for wcscmp.
28441 * string/test-strcmp.c: Update.
28442 (WIDE): New define.
28443
9be9bfcc
AS
284442011-07-22 Andreas Schwab <schwab@redhat.com>
28445
28446 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28447 line.
28448
2e96f1c7
AS
284492011-07-26 Andreas Schwab <schwab@redhat.com>
28450
28451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28452 encoding to ACE if AI_IDN.
28453
85188888
JJ
284542011-08-01 Jakub Jelinek <jakub@redhat.com>
28455
28456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28457 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28458
5fa16e9b
LD
284592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28460
28461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28462 Fix overflow bug in strncat.
28463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28464
28465 * string/test-strncat.c: Update.
28466 Add new tests for checking overflow bugs.
28467
284682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28469
28470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28471 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28472 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28473 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28475 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28476 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28477 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28478 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28479
28480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28481 (USE_AS_STRCAT): Define.
28482 Add strcat and strncat support.
28483 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28484
8c1a459f
AS
284852011-07-25 Andreas Schwab <schwab@redhat.com>
28486
28487 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28488 __n bigger than INT_MAX+1.
28489 (__strncmp_g): Likewise.
28490
bba33c28
UD
284912011-07-23 Ulrich Drepper <drepper@gmail.com>
28492
798be72d
UD
28493 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28494 * libio/stido.h: Likewise.
28495
8accd4dc
UD
28496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28497 (AF_NFC): Define.
28498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28499 (AF_NFC): Define.
28500
cbff0d96
UD
28501 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28506
9191c04a
UD
28507 [BZ #13021]
28508 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28509 installed.
28510
bba33c28
UD
28511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28512 typo.
28513 (_dl_x86_64_save_sse): Likewise.
28514
90f139dd
UD
285152011-07-22 Ulrich Drepper <drepper@gmail.com>
28516
1aae088a
UD
28517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28518 OSXSAVE.
28519 (_dl_x86_64_save_sse): Likewise.
28520
8e2045f5
UD
28521 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28522
90f139dd
UD
28523 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28524
1d002f25
AS
285252011-07-21 Andreas Schwab <schwab@redhat.com>
28526
28527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28528 change.
28529 (_dl_x86_64_save_sse): Use correct AVX check.
28530
21137f89
UD
285312011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28532
28533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28534 bug in strncpy/strncat.
28535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28536
a65c0b7a
UD
285372011-07-21 Ulrich Drepper <drepper@gmail.com>
28538
28539 * string/tester.c (test_strcat): Add tests for different alignments
28540 of source and destination.
28541 (test_strncat): Likewise.
28542
6986b98a
UD
285432011-07-20 Ulrich Drepper <drepper@gmail.com>
28544
90bb2039
UD
28545 [BZ #12852]
28546 * posix/glob.c (glob): Check passed in values before using them in
28547 expressions to avoid some overflows.
28548 (glob_in_dir): Likewise.
28549
5644ef54
UD
28550 [BZ #13007]
28551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28552 check for AVX enablement so that we don't crash with old kernels and
28553 new hardware.
28554 * elf/tst-audit4.c: Add same checks here.
28555 * elf/tst-audit6.c: Likewise.
28556
28557 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28558
bfc9dc9b
AS
285592011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28560
28561 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28562
702e64bb
UD
285632011-07-20 Ulrich Drepper <drepper@gmail.com>
28564
28565 * po/cs.po: Update from translation team.
28566 * po/bg.po: Likewise.
28567
295e904f
MP
285682011-07-12 Marek Polacek <mpolacek@redhat.com>
28569
28570 * misc/sys/cdefs.h: Add support for const attribute.
28571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28572 to gnu_dev_{major,minor,makedev} functions.
28573
3ff94596
MP
285742011-07-20 Marek Polacek <mpolacek@redhat.com>
28575
28576 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28577
28b59fca
AS
285782011-07-20 Andreas Schwab <schwab@redhat.com>
28579
28580 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28581 strlen results.
28582
19df733e
AK
285832011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28584
28585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28586 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28587 register in order to avoid conflicts with the soft frame pointer
28588 being held in r11 when necessary.
28589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28590 (INTERNAL_VSYSCALL_NCS): Likewise.
28591
c8835729
MP
285922011-07-14 Marek Polacek <mpolacek@redhat.com>
28593
28594 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28595 * elf/dl-fini.c (_dl_fini): Adjust caller.
28596 * elf/dl-close.c (_dl_close_worker): Likewise.
28597 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28598
b902330c
MP
285992011-07-15 Marek Polacek <mpolacek@redhat.com>
28600
8991e135
MP
28601 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28602 "aux_cache->nlibs < 0".
28603
b902330c
MP
28604 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28605 in the reload-count case.
28606
99710781
LD
286072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28608
28609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28610 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28611 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28612 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28613 * sysdeps/x86_64/multiarch/strcat.S: New file.
28614 * sysdeps/x86_64/multiarch/strncat.S: New file.
28615 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28617 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28618 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28619 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28620 (USE_AS_STRCAT): Define.
28621 Add strcat and strncat support.
28622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28624 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28625 * string/strncat.c: Update.
28626 (USE_AS_STRNCAT): Define.
28627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28628 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28629 and i7.
28630 * sysdeps/x86_64/multiarch/init-arch.h
28631 (bit_Prefer_PMINUB_for_stringop): New.
28632 (index_Prefer_PMINUB_for_stringop): Likewise.
28633 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28634 bit_Prefer_PMINUB_for_stringop.
28635
7dc6bd90
UD
286362011-07-19 Ulrich Drepper <drepper@gmail.com>
28637
28638 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28639 buffer64.
28640 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28641 of casting of buffer.
28642 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28643 buffer32 and buffer64.
28644 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28645 writes instead of casting of buffer.
28646 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28647 buffer32.
28648 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28649 casting of buffer.
28650
e0e72284
AS
286512011-07-19 Andreas Schwab <schwab@redhat.com>
28652
28653 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28654
feb1eb0b
UD
286552011-07-19 Ulrich Drepper <drepper@gmail.com>
28656
28657 * nscd/nscd.c (termination_handler): Don't do anything for a database
28658 if it has not yet been initialized.
28659
298711ff
UD
286602011-07-18 Ulrich Drepper <drepper@gmail.com>
28661
28662 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28663
286642011-07-15 Marek Polacek <mpolacek@redhat.com>
28665
28666 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28667
f9d68389
UD
286682011-07-18 Ulrich Drepper <drepper@gmail.com>
28669
28670 * po/nl.po: Update from translation team.
28671 * po/sv.po: Likewise.
28672
db290cf5
RM
286732011-07-16 Roland McGrath <roland@hack.frob.com>
28674
28675 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28676 now disallowed by GCC.
5c550700 28677
fd5e21c7
RM
28678 * configure.in (use-default-link): Default to yes if a test -shared
28679 link meets our qualifications.
28680 * configure: Regenerated.
28681
5c550700
RM
28682 * config.make.in (output-format): New variable.
28683 * configure.in: Check for ld --print-output-format support.
28684 * configure: Regenerated.
28685 * Makerules ($(common-objpfx)format.lds)
28686 [$(output-format) != unknown]: Just use $(output-format),
28687 instead of the linker-script munging.
28688
9fa2c032
RM
286892011-07-14 Roland McGrath <roland@hack.frob.com>
28690
a6928d51
RM
28691 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28692 of $(common-objpfx)shlib.lds.
28693 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28694
661607b3
RM
28695 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28696 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28697
9fa2c032
RM
28698 * configure.in (-z relro check): Adjust test code to add a large
28699 writable data section after it.
28700 * configure: Regenerated.
28701
defe9061
RM
287022011-07-11 Roland McGrath <roland@hack.frob.com>
28703
28704 * configure.in (-z relro check): Fix test code to make the variable
28705 truly const.
28706 * configure: Regenerated.
28707
319b9ad4
UD
287082011-07-11 Ulrich Drepper <drepper@gmail.com>
28709
28710 * nscd/nscd.h (struct traced_file): Define.
28711 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28712 elements. Add traced_files.
28713 (inotify_fd): Declare.
28714 (register_traced_file): Declare.
28715 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28716 (inotify_fd): Export.
28717 (resolv_conf_descr): Remove.
28718 (nscd_init): Move inotify descriptor creation to main.
28719 Don't register files for notification here.
28720 (register_traced_file): New function.
28721 (invalidate_cache): Don't use reset_res to determine whether to call
28722 res_init, go through the list of registered files.
28723 (main_loop_poll): The inotify descriptors are now stored in the
28724 structures for the traced files.
28725 (main_loop_epoll): Likewise
28726 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28727 to __nss_disable_nscd.
28728 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28729 for a database anymore. Check the records for all the registered
28730 files instead.
28731 * nss/Makefile (libnss_files-routines): Add files-init.
28732 (libnss_db-routines): Add db-init.
28733 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28734 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28735 * nss/nss_db/db-init.c: New file.
28736 * nss/nss_files/files-init.c: New file.
28737 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28738 __nss_lookup_function.
28739 (__nss_lookup_function): Call nss_load_library.
28740 (nss_load_all_libraries): New function.
28741 (__nss_disable_nscd): Take parameter with callback function for files
28742 to register. Set is_nscd. Load all the DSOs for the NSS modules
28743 used for the cached services.
28744 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28745 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28746 options for features to all the files in nscd.
28747
28748 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28749
23bee3e8
RM
287502011-07-10 Roland McGrath <roland@hack.frob.com>
28751
28752 * csu/elf-init.c (__libc_csu_init): Comment typo.
28753
46a5b7f0
UD
287542011-07-09 Ulrich Drepper <drepper@gmail.com>
28755
28756 * po/pl.po: Update from translation team.
28757 * po/ja.po: Likewise.
28758 * po/ru.po: Likewise.
28759 * po/ko.po: Likewise.
28760 * po/fr.po: Likewise.
28761
d30cf5bb
RM
287622011-07-09 Roland McGrath <roland@hack.frob.com>
28763
113ddea4
RM
28764 * configure.in (.ctors/.dtors header and trailer check):
28765 Use an empirical test on a built program.
28766 * configure: Regenerated.
28767
574920b4
RM
28768 * configure.in (-z relro check): Use an empirical test on a built DSO.
28769 Detect, but do not require, on ia64.
28770 * configure: Regenerated.
28771
d30cf5bb
RM
28772 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28773 Update tests that use readelf to use $READELF instead.
28774 * configure: Regenerated.
28775
8538fdb3
UD
287762011-07-08 Ulrich Drepper <drepper@gmail.com>
28777
28778 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28779 if the result is not used.
28780
04d08991
AJ
287812011-07-05 Andreas Jaeger <aj@suse.de>
28782
28783 [BZ#9696]
28784 * stdlib/tst-strtod.c: Add testcase.
28785
de283087
AD
287862011-07-07 Ulrich Drepper <drepper@gmail.com>
28787
4e5f31c8 28788 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28789 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28790 The latter has a higher limit. Take additional parameter to pass to
28791 the new function.
28792 (__pathconf): Pass file to __statfs_link_max.
28793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28794 __statfs_link_max.
28795 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28796 __statfs_link_max.
28797
de283087
AD
28798 [BZ #12868]
28799 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28801 Handle Lustre.
28802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28803 (__statfs_filesize_max): Likewise.
28804 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28805
c75fa153
AJ
288062011-07-05 Andreas Jaeger <aj@suse.de>
28807
28808 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28809
1a544854
UD
288102011-07-06 Marek Polacek <mpolacek@redhat.com>
28811
28812 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28813 `status' variable.
28814 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28815 Likewise.
28816
6f0eec67
UD
288172011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28818
28819 * Makefile (strop-tests): Add strncat.
28820 * string/test-strncat.c: New file.
28821
aae30307
UD
288222011-06-30 Marek Polacek <mpolacek@redhat.com>
28823
28824 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28825
c0cfb5eb
UD
288262011-06-21 Andreas Jaeger <aj@suse.de>
28827
28828 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28829 Copy rule from iconvdata/Makefile.
28830
01636b21
UD
288312011-07-06 Ulrich Drepper <drepper@gmail.com>
28832
28833 [BZ #12922]
28834 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28835 but no long options are defined, just return 'W'.
28836
9895c8bc
UD
288372011-06-22 Marek Polacek <mpolacek@redhat.com>
28838
28839 [BZ #9696]
28840 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28841
5d4cf042
UD
288422011-07-06 Ulrich Drepper <drepper@gmail.com>
28843
28844 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28845 netgroups to read.
960e5535 28846 (innetgr): Likewise.
5d4cf042 28847
751eb97e
RM
288482011-07-05 Roland McGrath <roland@hack.frob.com>
28849
28850 * config.make.in (install_root): Default to $(DESTDIR).
28851
f15f1e45
UD
288522011-07-05 Ulrich Drepper <drepper@gmail.com>
28853
28854 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28855
4e34ac6a
RM
288562011-07-02 Roland McGrath <roland@hack.frob.com>
28857
5e9b6af4
RM
28858 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28859
84f9ea0f
RM
28860 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28861 containing directory rather than embedding absolute directory names.
28862
ea5ee9f7
RM
28863 * scripts/check-local-headers.sh: Rewritten using awk.
28864 Match by word, not by line. Print error messages for matches.
28865 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28866
1b74661a
RM
28867 * Makerules [shlib-lds-flags empty]:
28868 ($(common-objpfx)libc_pic.opts): New target.
28869 ($(common-objpfx)libc_pic.os.clean): New target.
28870 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28871
28872 * config.make.in (OBJCOPY): New variable.
28873 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28874 * configure: Regenerated.
28875
f781ef40
RM
28876 * config.make.in (use-default-link): New variable.
28877 * configure.in (use_default_link): Grok --with-default-link to set it.
28878 * configure: Regenerated.
28879 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28880 (shlib-lds, shlib-lds-flags): Define to empty.
28881
2d4fa81e
RM
28882 * Makerules (shlib-lds): New variable.
28883 (shlib-lds-flags): New variable.
28884 (build-shlib, build-moduile, build-module-asneeded): Use it.
28885 ($(common-objpfx)libc.so): Use $(shlib-lds).
28886 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28887 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28888
31fffa6b
RM
28889 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28890 DT_FLAGS/DT_FLAGS_1 with zero flags.
28891
4e34ac6a
RM
28892 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28893 linker script munging.
28894
fcfc776b
UD
288952011-07-02 Ulrich Drepper <drepper@gmail.com>
28896
28897 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28898 as 128-bit value.
28899 * crypt/sha512.c (sha512_process_block): Perform total addition using
28900 128-bit if possible.
28901 (__sha512_finish_ctx): Likewise.
28902 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28903 as 64-bit value.
28904 * crypt/sha256.c (SWAP64): Define.
28905 (sha256_process_block): Perform total addition using 64-bit if
28906 possible.
28907 (__sha256_finish_ctx): Likewise.
28908
99231d9a
UD
289092011-07-01 Ulrich Drepper <drepper@gmail.com>
28910
28911 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28913 * nscd/hstcache.c (cache_addhst): Likewise.
28914 * nscd/grpcache.c (cache_addgr): Likewise.
28915 * nscd/aicache.c (addhstaiX): Likewise
28916 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28917
445b4a53
TK
289182011-07-01 Thorsten Kukuk <kukuk@suse.de>
28919
28920 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28922 * nscd/hstcache.c (cache_addhst): Likewise.
28923 * nscd/grpcache.c (cache_addgr): Likewise.
28924 * nscd/aicache.c (addhstaiX): Likewise
28925
6d4d8e8e
AS
289262011-07-01 Andreas Schwab <schwab@redhat.com>
28927
28928 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28929 domain only when needed.
28930
89f654c5
AS
289312011-06-30 Andreas Schwab <schwab@redhat.com>
28932
28933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28934 is always restored.
28935
cf3b23ff
UD
289362011-06-29 Ulrich Drepper <drepper@gmail.com>
28937
28938 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28939 are re-adding the entry.
28940 * nscd/servicescache.c (cache_addserv): Likewise.
28941
751626f9
AJ
289422011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28943
28944 * sysdeps/generic/dl-irel.h: fix protection against multiple
28945 inclusions.
28946 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28947
9113ea1f
UD
289482011-06-28 Ulrich Drepper <drepper@gmail.com>
28949
5c0b8d90
UD
28950 [BZ #12935]
28951 * malloc/memusage.sh: Fix quoting in message.
28952 * debug/xtrace.sh: Likewise.
28953
9113ea1f
UD
28954 * configure.in: Remove support for --experimental-malloc option, make
28955 it the default.
28956 * config.make.in: Likewise.
28957 * malloc/Makefile: Likewise.
28958
a4172181
AS
289592011-06-27 Andreas Schwab <schwab@redhat.com>
28960
28961 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28962 two-byte characters.
28963
78a7eee7
RM
289642011-06-27 Roland McGrath <roland@hack.frob.com>
28965
62bede13
RM
28966 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28967 AC_CACHE_CHECK invocation.
28968 * configure: Regenerated.
28969
78a7eee7
RM
28970 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28971
5ce33a62
UD
289722011-06-27 Ulrich Drepper <drepper@gmail.com>
28973
034807a9
UD
28974 [BZ #12350]
28975 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28976 bit from old_res_options.
28977
4902da17
UD
28978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28979
5ce33a62
UD
28980 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28981 value type for setfct.
28982
c2344f56
L
289832011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28984
28985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28986 __gettimeofday instead of gettimeofday.
28987
68468076
UD
289882011-06-26 Ulrich Drepper <drepper@gmail.com>
28989
28990 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28991
acb0d739
L
289922011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28993
28994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28995
28996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28997 info.
28998
8912479f
L
289992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29000
29001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29002 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29003 strcpy-sse2-unaligned strncpy-sse2-unaligned
29004 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29005 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29006 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29007 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29008 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29011 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29012 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29013 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29014 (STRCPY): Support SSE2 and SSSE3 versions.
29015
d5495a11
UD
290162011-06-24 Ulrich Drepper <drepper@gmail.com>
29017
29018 [BZ #12874]
29019 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29020 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29021 kernels which artificially limit size of requests.
29022
0b1cbaae
L
290232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29024
29025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29026 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29027 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29028 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29029 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29030 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29031 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29032 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29035 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29036 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29037 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29038 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29039 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29041 Enable unaligned load optimization for Intel Core i3, i5 and i7
29042 processors.
29043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29044 Define.
29045 (index_Fast_Unaligned_Load): Define.
29046 (HAS_FAST_UNALIGNED_LOAD): Define.
29047
07f494a0
MP
290482011-06-23 Marek Polacek <mpolacek@redhat.com>
29049
29050 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29051
fa3fc0fe
UD
290522011-06-22 Ulrich Drepper <drepper@gmail.com>
29053
29054 [BZ #12907]
29055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29056 until it is clear that the information is realy needed.
29057 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29058
e12df166
AS
290592011-06-22 Andreas Schwab <schwab@redhat.com>
29060
29061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29062
852eb34d
UD
290632011-06-22 Ulrich Drepper <drepper@gmail.com>
29064
84e2a551
UD
29065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29066 /sys/devices/system/cpu/online if it is usable.
29067
852eb34d
UD
29068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29069 reading the information from the /proc filesystem to once a second.
29070
6e502e19
UD
290712011-06-21 Andreas Jaeger <aj@suse.de>
29072
29073 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29074 NULL after inclusion of kernel headers.
29075
75d39ff2
UD
290762011-06-21 Ulrich Drepper <drepper@gmail.com>
29077
51f9aa6a
UD
29078 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29079 calls to internal_setent.
29080
c0244a9d
UD
29081 [BZ #12885]
29082 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29083 addresses using gethostbyname4_r ignore IPv4 addresses.
29084
c5e3c2ae
UD
29085 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29086 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29087
75d39ff2
UD
29088 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29089
42675c6f
DM
290902011-06-20 David S. Miller <davem@davemloft.net>
29091
29092 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29093 inclusions.
29094 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29095
29096 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29097 (elf_irel): Use it.
29098 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29099 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29100 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29101 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29102 * sysdeps/x86_64/dl-irel.h: Likewise.
29103
29104 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29105 * elf/dl-sym.c: Likewise.
29106
57912a71
UD
291072011-06-15 Ulrich Drepper <drepper@gmail.com>
29108
29109 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29110 need to dereference resplen2.
29111
ee22793d
AS
291122011-06-14 Andreas Schwab <schwab@redhat.com>
29113
29114 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29115
a9e836b0
UD
291162011-06-15 Ulrich Drepper <drepper@gmail.com>
29117
77fb9117
UD
29118 * Makeconfig: Define vardbdir and inst_vardbdir.
29119 * nss/Makefile: Add rules to install db-Makefile.
29120
40c1b22c
UD
29121 * nss/nss_db/db-XXX.c: Cleanup.
29122
9f2da732
UD
29123 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29124 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29125 GLIBC_PRIVATE.
29126 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29127 * nss/makedb.c: Implement -g option to specify that value strings
29128 are generated and should not be added to table iterated over for
29129 get*ent calls.
29130 * nss/nss_db/db-initgroups.c: New file.
29131
82e9a1f7
UD
29132 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29133 interface.
29134
c41af17e
UD
29135 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29136 (internal_getgrouplist): Adjust to name change.
29137 Update use_initgroups_entry if this is not the first call.
29138 * nss/databases.def: Add initgroups entry.
29139
a9e836b0
UD
29140 * nss/makedb.c (compute_tables): Check result of multiple hash table
29141 sizes to minimize maximum chain length.
29142
2666d441
UD
291432011-06-14 Ulrich Drepper <drepper@gmail.com>
29144
29145 * Versions.def: Add entry for libnss_db.
29146 * shlib-versions: Likewise.
29147 * nss/Makefile: Add rules to build libnss_db.
29148 * nss/Versions: Add libnss_db information. Organize libnss_files
29149 entries better.
29150 * nss/db-Makefile: Add gshadow support. Change rules for the new
29151 makedb progra. Some minor improvements to generate smaller files.
29152 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29153 here from...
29154 * nss/makedb.c: ...here.
29155 Improve database format to be smaller and require less memory at
29156 runtime.
29157 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29158 db anymore.
29159 * nss/nss_db/db-netgrp.c: Likewise.
29160 * nss/nss_db/db-open.c: Likewise.
29161 * nss/nss_files/flies-XXX.x: Adjust comments.
29162 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29163 * nss/nss_files/files-grp.c: Likewise.
29164 * nss/nss_files/files-hosts.c: Likewise.
29165 * nss/nss_files/files-network.c: Likewise.
29166 * nss/nss_files/files-proto.c: Likewise.
29167 * nss/nss_files/files-pwd.c: Likewise.
29168 * nss/nss_files/files-rpc.c: Likewise.
29169 * nss/nss_files/files-service.c: Likewise.
29170 * nss/nss_files/files-sgrp.c: Likewise.
29171 * nss/nss_files/files-spwd.c: Likewise.
29172 * nss/nss_db/db-alias.c: Removed.
29173 * nss/nss_db/dummy-db.h: Removed.
29174
9ee76b5a
UD
291752011-06-02 Ulrich Drepper <drepper@gmail.com>
29176
29177 * nss/makedb.c: Rewritten to not use database library.
29178 * nss/Makefile: Update to build new makedb program.
29179
c71ca1f8
AJ
291802011-06-14 Andreas Jaeger <aj@suse.de>
29181
29182 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29183 memset declaration.
29184
3154bfb8
UD
291852011-06-10 Andreas Schwab <schwab@redhat.com>
29186
29187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29188 tmpbuf.
29189
b350afab
RM
291902011-06-10 Roland McGrath <roland@hack.frob.com>
29191
decd4e50
RM
29192 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29193 * elf/Makefile ($(objpfx)ld.so): Likewise.
29194
5615eaf2
RM
29195 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29196 Don't list ld.so twice in dependencies.
29197
29198 * posix/bug-regex31.c: Include <stdlib.h>.
29199
29200 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29201
29202 * nis/nss_compat/compat-spwd.c
29203 (getspent_next_nss_netgr): Remove unused variable.
29204 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29205
29206 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29207 nonmembers" output to use the right array.
29208
29209 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29210
29211 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29212
29213 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29214 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29215 * catgets/gencat.c (read_input_file): Likewise.
29216 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29217
29218 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29219 variable definition inside #if's controlling its use.
29220
29221 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29222
29223 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29224
29225 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29226
29227 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29228 unreachable code.
29229
29230 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29231
b68e08db
RM
29232 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29233 * configure: Regenerated.
29234
b350afab
RM
29235 * Makerules: Revert last change.
29236 * elf/Makefile: Likewise.
29237
28368601
RM
292382011-06-09 Roland McGrath <roland@hack.frob.com>
29239
29240 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29241 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29242 (reloc-link): Likewise.
29243
11988f8f
UD
292442011-06-09 Ulrich Drepper <drepper@gmail.com>
29245
29246 * elf/Makefile: Add rules to build pldd.
29247 * elf/pldd.c: New file.
29248 * elf/pldd-xx.c: New file.
29249
e80fab37
UD
292502011-06-07 Ulrich Drepper <drepper@gmail.com>
29251
29252 * version.h: Update for 2.15 development version.
29253
9b849836
DM
292542011-06-07 David S. Miller <davem@davemloft.net>
29255
29256 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29257 ifuncs.
29258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29259 elf_machine_lazy_rel): Likewise.
29260 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29262 elf_machine_lazy_rel): Likewise.
29263 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29264 dl_hwcap via passed in argument.
29265 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29266 Likewise.
29267
5a31b283
AK
292682011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29269
29270 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29271
069e52f8
RM
292722011-06-06 Roland McGrath <roland@hack.frob.com>
29273
29274 [BZ #12849]
29275 * manual/fdl-1.1.texi: New file, verbatim from:
29276 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29277 * manual/lgpl-2.1.texi: New file, verbatim from:
29278 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29279 * manual/Makefile (licenses): New variable, list those new file names.
29280 (texis): Use it.
29281 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29282
29283 * manual/fdl.texi: File removed.
29284 * manual/lesser.texi: File removed.
29285 * manual/libc.texinfo (Copying, Documentation License):
29286 Use new @include file names, put @appendix directive before @include.
29287
f16846a5
JJ
292882011-06-04 Jakub Jelinek <jakub@redhat.com>
29289
29290 [BZ #12841]
29291 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29292 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29293 (mq_open): Add __NTH.
29294
3d29045b
L
292952011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29296
29297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29298 Assume Intel Core i3/i5/i7 processor if AVX is available.
29299
8c297311
UD
293002011-05-31 Ulrich Drepper <drepper@gmail.com>
29301
29302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29303 typo.
29304
c8fc0c91
UD
293052011-05-31 Andreas Schwab <schwab@redhat.com>
29306
29307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29308 memory. Use alloca_account. Fix memory leak when retrying.
29309
5b27a807
UD
293102011-05-31 Ulrich Drepper <drepper@gmail.com>
29311
356f8bc6
UD
29312 * version.h (RELEASE): Bump for 2.14 release.
29313 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29314
5b27a807
UD
29315 * config.make.in (RANLIB): Remove entry.
29316
01f16ab0
UD
293172011-05-30 Ulrich Drepper <drepper@gmail.com>
29318
41fce8bd
UD
29319 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29320 (libc.pot): Work around missing support for .ksh extension in xgettext.
29321
4769ae77
UD
29322 [BZ #12684]
29323 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29324 if both request failed.
29325 (send_dg): In case of server errors clear resplen or *resplen2.
29326
6b1e7d19
UD
29327 [BZ #12454]
29328 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29329 when there are multiple maps.
29330 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29331 (_dl_fini): Remove test here.
29332
01f16ab0
UD
29333 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29334
b1ebd700
UD
293352011-05-29 Ulrich Drepper <drepper@gmail.com>
29336
7ae22829
UD
29337 [BZ #12350]
29338 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29339 bit from old_res_options.
29340 (gaih_inet): Likewise.
29341
553149f6 29342 [BZ #11099]
18a84741 29343 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29344 as signed.
29345
652ffab1
UD
29346 * resolv/res_init.c (res_setoptions): Make the code more compact.
29347
16985fd0
UD
29348 [BZ #11558]
29349 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29350 set RES_USEVC.
29351
0464f746
UD
29352 [BZ #11634]
29353 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29354
7d17596c
UD
29355 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29356
cf6bbbd7
UD
29357 [BZ #11781]
29358 * malloc/malloc.h: Declare malloc hook variables as volatile.
29359
13f1ab36
UD
29360 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29361 in last patch.
29362
b1ebd700
UD
29363 [BZ #11799]
29364 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29365 raise in the comment.
80e2212d
UD
29366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29368 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29369
ce67228d
UD
293702011-05-28 Ulrich Drepper <drepper@gmail.com>
29371
8887a920
UD
29372 [BZ #12811]
29373 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29374 grow the buffers more if it already has to be sufficient.
29375 (build_wcs_upper_buffer): Likewise.
29376 * posix/regexec.c (check_matching): Likewise.
29377 (clean_state_log_if_needed): Likewise.
29378 (extend_buffers): Don't enlarge buffers beyond size of the input
29379 buffer.
29380 Patches mostly by Emil Wojak <emil@wojak.eu>.
29381 * posix/bug-regex32.c: New file.
29382 * posix/Makefile (tests): Add bug-regex32.
29383
4f031072
UD
29384 * locale/findlocale.c (_nl_find_locale): Return right away if
29385 _nl_explode_name failed.
29386 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29387
d0478f0c
UD
29388 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29389
de81b246
UD
29390 * debug/xtrace.sh: Unify messages.
29391 * malloc/memusage.sh: Likewise.
29392
c738465a
UD
29393 [BZ #12813]
29394 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29395 time symbol from vDSO. Substitute with vsyscall if not available.
29396 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29397 __vdso_time.
29398
f1f929d7
UD
29399 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29400 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29401 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29402 Add sendmmsg and internal_sendmmsg.
29403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29404 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29406
ce67228d
UD
29407 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29408 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29410
e57420c6
UD
294112011-05-27 Ulrich Drepper <drepper@gmail.com>
29412
a8509ca5
UD
29413 [BZ #12813]
29414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29415 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29416 available.
29417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29418 __vdso_getcpu.
29419
e57420c6
UD
29420 [BZ #12814]
29421 * iconvdata/Makefile (tests): Add bug-iconv9.
29422 * iconvdata/bug-iconv9.c: New file.
29423
4d07db15
AS
294242011-05-27 Andreas Schwab <schwab@redhat.com>
29425
29426 [BZ #12814]
29427 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29428
ea486f69
JJ
294292011-05-25 Jakub Jelinek <jakub@redhat.com>
29430
29431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29432 (struct user_regs_struct): Change intcs field back to cs.
29433
6f038433
UD
294342011-05-25 Ulrich Drepper <drepper@gmail.com>
29435
29436 * po/ja.po: Update from translation team.
29437
67f86a25
UD
294382011-05-23 Ulrich Drepper <drepper@gmail.com>
29439
29440 [BZ #12795]
29441 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29443
def7fbd6
AS
294442011-05-20 Andreas Schwab <schwab@redhat.com>
29445
29446 * stdlib/longlong.h: Update from GCC.
29447
f50ef8f1
AS
294482011-05-23 Andreas Schwab <schwab@redhat.com>
29449
29450 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29451 parameter name.
29452 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29453 Add parameter name.
29454 (__sysconf): Pass it down.
29455
de7ce8f1
UD
294562011-05-22 Ulrich Drepper <drepper@gmail.com>
29457
f2962a71
UD
29458 [BZ #12671]
29459 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29460 some situations.
29461 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29462 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29463 add in in __libc_use_alloca calls. Adjust callers.
29464 (glob): Use malloc in some situations.
29465
de7ce8f1
UD
29466 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29467 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29468 pltexit.
29469
aec84f53
UD
294702011-05-21 Ulrich Drepper <drepper@gmail.com>
29471
05bb4a68
UD
29472 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29473 and CLOCK_BOOTTIME_ALARM.
29474
7ea72f99
UD
29475 [BZ #12782]
29476 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29477 is returned.
29478
7e4afad5
UD
29479 * string/_strerror.c (__strerror_r): Print negative errors as signed
29480 numbers.
29481
8e211fec
UD
29482 [BZ #12777]
29483 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29484 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29485 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29486
f7d82dc9
UD
29487 * configure.in: Fix typo in redirection and correct removal of test
29488 files in two cases.
29489
cc9e536d
UD
29490 [BZ #12788]
29491 * locale/setlocale.c (new_composite_name): Fix test to check for
29492 identical name of all categories.
29493
aec84f53
UD
29494 [BZ #12792]
29495 * libio/filedoalloc.c (local_isatty): New function.
29496 (_IO_file_doallocate): Use local_isatty.
29497 * stdio-common/perror.c (perror): In case a new stream is used
29498 forward the stream error.
29499 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29500 error flag.
29501
78e64fdc
RT
295022011-05-20 Ulrich Drepper <drepper@gmail.com>
29503
34a9094f
UD
29504 [BZ #11869]
29505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29506 alloca.
29507 * include/alloca.h (extend_alloca_account): Define.
29508
78e64fdc
RT
29509 [BZ #11857]
29510 * posix/regex.h: Fix comments with documentation of user-accessible
29511 fields after compilation and describe correct free'ing of pattern
29512 after re_compile_pattern.
29513 Patch by Reuben Thomas <rrt@sc3d.org>.
29514
457bddfc
RA
295152011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29516
29517 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29518 and -mno-altivec to prevent the compiler from using Altivec and/or
29519 VSX instructions when the corresponding registers are not available.
29520
a4527b51
AS
295212011-05-19 Andreas Schwab <schwab@redhat.com>
29522
29523 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29524
ed690b2f
UD
295252011-05-19 Ulrich Drepper <drepper@gmail.com>
29526
29527 * libio/freopen.c (freopen): Use __dup2, not dup2.
29528 * libio/freopen64.c (freopen64): Likewise.
29529
8db73634
L
295302011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29531
29532 [BZ #12775]
29533 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29534 * math/Makefile (tests): Add test-powl.
29535 (CFLAGS-test-powl.c): Define.
29536 * math/test-powl.c: New file.
29537
0a197a9d
L
295382011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29539
29540 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29541
ee30c380
UD
295422011-05-17 Ulrich Drepper <drepper@gmail.com>
29543
29544 [BZ #11837]
29545 * iconvdata/gb18030.c: Update to GB18020-2005.
29546
6ce75379
UD
295472011-05-16 Ulrich Drepper <drepper@gmail.com>
29548
a4b89fd8
AR
29549 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29550 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29551 Patch by Aharon Robbins <arnold@skeeve.com>.
29552
ea389b12
UD
29553 [BZ #11892]
29554 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29555 on the stack.
29556
68a3f91f
UD
29557 [BZ #11895]
29558 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29559 through underflows.
29560
15cc7dd1
UD
29561 [BZ #12766]
29562 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29563 point to strings before performing equality test for error_one_per_line
29564 mode.
29565
f3799213
UD
29566 [BZ #11697]
29567 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29568
d79a9c94
UD
29569 [BZ #11820]
29570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29571 (struct user_fpregs_struct): Avoid __uint*_t types.
29572
56e5eb46
UD
29573 [BZ #6420]
29574 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29575 symbol info. Use it instead of calling _dl_addr locally.
29576 (lock_and_info): New function.
29577 (tr_freehook): Call lock_and_info and pass symbol info as additional
29578 parameter to tr_where.
29579 (tr_mallochook): Likewise.
29580 (tr_reallochook): Likewise.
29581 (tr_memalignhook): Likewise.
29582
6ce75379
UD
29583 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29584 used and couldn't be at all thread-safe.
29585
f8a3b5bf
UD
295862011-05-15 Ulrich Drepper <drepper@gmail.com>
29587
94b7cc37
UD
29588 * libio/freopen.c (freopen): Don't close old file descriptor
29589 before the new one is opened. Instead dup the new file descriptor
29590 to the old one after the new stream is created.
29591 * libio/freopen64.c (freopen64): Likewise.
29592 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29593 * libio/fileops.c (_IO_new_file_close_it): Handle new
29594 _IO_FLAGS2_NOCLOSE flag.
29595 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29596 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29597 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29598 _IO_FLAGS2_NOCLOSE flag.
29599 * include/unistd.h: Add hidden_proto for dup3.
29600 Define __have_dup3.
29601 * io/dup3.c: Define hidden symbol.
29602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29603
bd25564e
UD
29604 [BZ #7101]
29605 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29606 when an incomplete long option is used.
29607 * posix/tst-getopt_long1.c: New file.
29608 * posix/Makefile (tests): Add tst-getopt_long1.
29609
c84cfef4
UD
29610 [BZ #10138]
29611 * scripts/config.guess: Update from autoconf-2.68.
29612 * scripts/config.sub: Likewise.
29613
3b85df27
UD
29614 [BZ #10157]
29615 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29616 tests into ...
29617 (has_cpuclock): ...this. New function.
29618 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29619 macro here based on has_cpuclock code.
29620
15a856b1
UD
29621 [BZ #10149]
29622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29623 First byte (not low byte) is now always NUL.
29624 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29625
05f399e6
UD
29626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29627 Use non-cancelable interfaces.
29628
10a52685 29629 [BZ #9809]
94ecc67d
UD
29630 * locale/iso-639.def: Add entry for Sorani.
29631
f8a3b5bf
UD
29632 [BZ #11901]
29633 * include/stdlib.h: Move include protection to the right place.
29634 Define abort_msg_s. Declare __abort_msg with it.
29635 * stdlib/abort.c (__abort_msg): Adjust type.
29636 * assert/assert.c (__assert_fail_base): New function. Majority
29637 of code from __assert_fail. Allocate memory for __abort_msg with
29638 mmap.
29639 (__assert_fail): Now call __assert_fail_base.
29640 * assert/assert-perr.c: Remove bulk of implementation. Use
29641 __assert_fail_base.
29642 * include/assert.hL Declare __assert_fail_base.
29643 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29644 mmap.
29645 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29646
1af4e298
UD
296472011-05-14 Ulrich Drepper <drepper@gmail.com>
29648
f8a3b5bf 29649 [BZ #11952]
d26dfc60
MG
29650 [BZ #12453]
29651 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29652 until all modules are registered in the DTV.
29653 * elf/Makefile: Add rules to build and run tst-tls19.
29654 * elf/tst-tls19.c: New file.
29655 * elf/tst-tls19mod1.c: New file.
29656 * elf/tst-tls19mod2.c: New file.
29657 * elf/tst-tls19mod3.c: New file.
29658 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29659
2fc54d6f
UD
29660 [BZ #12083]
29661 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29662 correctly.
29663
98d76b46
UD
29664 [BZ #12601]
29665 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29666 two-byte sequence errors.
29667 * iconvdata/Makefile (tests): Add bug-iconv8.
29668 * iconvdata/bug-iconv8.c: New file.
29669
da3c19ef
UD
29670 [BZ #12626]
29671 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29672 buf2 definition.
29673
ca408c15
UD
29674 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29675
d6f67f7d
UD
29676 [BZ #12432]
29677 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29678 (dummy_getcfa): New function.
29679 (init): Get _Unwind_GetCFA address, use dummy if not found.
29680 (backtrace_helper): In recursion check, also check whether CFA changes.
29681 (__backtrace): Completely initialize arg.
29682
1af4e298 29683 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29684 storing incomplete byte sequence in state object. Avoid testing for
29685 guaranteed too small input if we know there is enough data available.
1af4e298 29686
da62f81b
AS
296872011-05-11 Andreas Schwab <schwab@redhat.com>
29688
29689 * Makeconfig (+link-pie): Indent.
29690 * Rules (binaries-pie): Define if $(have-fpie) and
29691 $(build-shared).
29692 (binaries-shared): Also filter out $(binaries-pie).
29693 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29694 * nscd/Makefile (others-pie): Add nscd.
29695 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29696 ($(objpfx)nscd): Remove command override.
29697 * login/Makefile (others-pie): Add pt_chown.
29698 ($(objpfx)pt_chown): Remove command override.
29699 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29700 remove command overrides.
29701
fcabc0f8
UD
297022011-05-13 Ulrich Drepper <drepper@gmail.com>
29703
20030ae6
UD
29704 * libio/tst_putwc.c: Fix error messages.
29705
fcabc0f8
UD
29706 [BZ #12724]
29707 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29708 currently writing and seek to current position when not.
29709 * libio/Makefile (tests): Add bug-fclose1.
29710 * libio/bug-fclose1.c: New file.
29711
320a5dc0
PB
297122011-05-12 Ulrich Drepper <drepper@gmail.com>
29713
29714 [BZ #12511]
29715 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29716 don't set DF_1_NODELETE here.
29717 (do_lookup_x): When entering new entry test for copy relocation
29718 and if necessary set DF_1_NODELETE flag.
29719 * elf/tst-unique4.cc: New file.
29720 * elf/tst-unique4.h: New file.
29721 * elf/tst-unique4lib.cc: New file.
29722 * elf/Makefile: Add rules to build and run tst-unique4.
29723 Patch by Piotr Bury <pbury@goahead.com>.
29724
22836f52
UD
297252011-05-11 Ulrich Drepper <drepper@gmail.com>
29726
f574184a
UD
29727 [BZ #12052]
29728 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29729
e1fb097f
UD
29730 [BZ #12625]
29731 * misc/mntent_r.c (addmntent): Flush the stream after the output
29732
22836f52
UD
29733 [BZ #12393]
29734 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29735 (is_trusted_path_normalize): Skip initial colon. Append slash
29736 to empty buffer. Duplicate is_trusted_path code but allow
29737 constructed patch to be prefix.
29738 (is_dst): Allow $ORIGIN followed by /.
29739 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29740 Correct testing of result of is_trusted_path_normalize
29741 (decompose_rpath): Fix warning.
29742
7b3b0b2a
UD
297432011-05-10 Ulrich Drepper <drepper@gmail.com>
29744
29745 [BZ #11257]
29746 * grp/initgroups.c (internal_getgrouplist): When we found the service
29747 list through the initgroups entry in nsswitch.conf do not always
29748 continue on a successful lookup. Don't always use the
eac80ce2 29749 __nss_group_database value if it is set.
7b3b0b2a
UD
29750 * nss/nsswitch.conf (initgroups): Change action for successful db
29751 lookup to continue for compatibility.
29752
2a81eaa5
UD
297532011-05-09 Ulrich Drepper <drepper@gmail.com>
29754
be97a69e
UD
29755 [BZ #11532]
29756 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29757 and CP774 modules.
29758 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29759 and CP774 modules.
29760 * iconvdata/tst-tables.sh: Likewise.
29761 * iconvdata/cp770.c: New file.
29762 * iconvdata/cp771.c: New file.
29763 * iconvdata/cp772.c: New file.
29764 * iconvdata/cp773.c: New file.
29765 * iconvdata/cp774.c: New file.
29766 * iconvdata/testdata/CP770: New file.
29767 * iconvdata/testdata/CP770..UTF8: New file.
29768 * iconvdata/testdata/CP771: New file.
29769 * iconvdata/testdata/CP771..UTF8: New file.
29770 * iconvdata/testdata/CP772: New file.
29771 * iconvdata/testdata/CP772..UTF8: New file.
29772 * iconvdata/testdata/CP773: New file.
29773 * iconvdata/testdata/CP773..UTF8: New file.
29774 * iconvdata/testdata/CP774: New file.
29775 * iconvdata/testdata/CP774..UTF8: New file.
29776
29777 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29778 END CHARMAP line.
29779 * iconvdata/gen-8bit-gap.sh: Likewise.
29780 * iconvdata/gen-8bit.sh: Likewise.
29781
c1e9e399
UD
29782 * locale/iso-639.def: Add ary entry.
29783
24c55fb3 29784 [BZ #11258]
96b4b1b0
UD
29785 * locale/C-translit.h.in: Add U20A1 transliteration.
29786
bdc2f971
KB
29787 [BZ #12178]
29788 * locale/iso-639.def: Add wae entry.
29789 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29790
2952b117
UD
29791 [BZ #12545]
29792 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29793 for n.
29794
2a81eaa5
UD
29795 [BZ #12711]
29796 * locale/C-translit.h.in: Add entry for U20B9.
29797 Patch by pravin.d.s@gmail.com.
29798
28377d1b
UD
297992011-05-08 Ulrich Drepper <drepper@gmail.com>
29800
7fb90fb8
UD
29801 [BZ #12713]
29802 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29803 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29804 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29805 in rtld. Use *stat64.
7fb90fb8 29806 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29807 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29808 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29809 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29810 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29811 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29812 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29813 __fstatat64 macros.
7fb90fb8
UD
29814 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29815 * dirent/rewinddir.c: Add libc_hidden_def.
29816 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29817 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29818
28377d1b
UD
29819 * include/dirent.h (__alloc_dir): Add flags parameter.
29820 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29821 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29822 __alloc_dir.
29823 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29824 from fdopendir if O_CLOEXEC is already set.
29825
66bdbaa4
AM
298262011-03-15 Alan Modra <amodra@gmail.com>
29827
29828 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29829 l_tls_firstbyte_offset non-zero. Save padding offset in
29830 l_tls_firstbyte_offset for later use.
29831 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29832 freeing static tls block.
29833
95721191
JN
298342011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29835
29836 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29837 where #ifdef was intended. The intent is to prevent ARG_MAX from
29838 being defined by the kernel headers.
29839
f87dfb1f
UD
298402011-05-07 Ulrich Drepper <drepper@gmail.com>
29841
29842 [BZ #12734]
29843 * resolv/resolv.h: Define RES_NOTLDQUERY.
29844 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29845 no-tld-query and set RES_NOTLDQUERY.
29846 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29847 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29848 modern BIND to search name as TLD unless forbidden.
29849
47c3cd7a
UD
298502011-05-07 Petr Baudis <pasky@suse.cz>
29851 Ulrich Drepper <drepper@gmail.com>
29852
29853 [BZ #12393]
29854 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29855 (is_trusted_path): ...to here.
c1e9ea35 29856 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29857 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29858 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29859
8a35c912
PP
298602011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29861
29862 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29863 __BEGIN/__END_DECLS.
29864
acd41f47
UD
298652011-05-06 Ulrich Drepper <drepper@gmail.com>
29866
29867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29868 NSS_STATUS_NOTFOUND if no record was found.
29869
597df647
AS
298702011-05-05 Andreas Schwab <schwab@redhat.com>
29871
29872 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29873 (headers-not-in-tirpc): Remove rpc/netdb.h
29874 * resolv/netdb.h: Revert last change.
29875
b9af1301
PP
298762011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29877
29878 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29879 circular dependency between libgcc.a and libc.a.
29880
4e34d5f5
AS
298812011-05-05 Andreas Schwab <schwab@redhat.com>
29882
29883 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29884 * nis/Makefile: Don't install rpcsvc/*.
29885 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29886 instead of <rpc/types.h>.
29887 (MAXHOSTNAMELEN): Define.
29888
00ee369c
AS
298892011-05-03 Andreas Schwab <schwab@redhat.com>
29890
29891 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29892
0b592a30
MB
298932011-04-28 Maciej Babinski <mbabinski@google.com>
29894
29895 [BZ #12714]
29896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29897 gethostbyname4_r when IPv6 results are possible.
29898
6e04cbbe
UD
298992011-05-02 Ulrich Drepper <drepper@gmail.com>
29900
29901 [BZ #12723]
29902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29903 _PC_PIPE_BUF handling.
29904
e4ecafe0
BH
299052011-04-30 Bruno Haible <bruno@clisp.org>
29906
29907 [BZ #12717]
29908 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29909 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29910 to 'int'.
29911 * inet/getnameinfo.c (getnameinfo): Likewise.
29912
125ee683
UD
299132011-04-29 Ulrich Drepper <drepper@gmail.com>
29914
29915 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29916 to groups setting in database lookup.
29917 * nss/nsswitch.conf: Add initgroups entry.
29918
b722481a
EB
299192011-04-22 Ulrich Drepper <drepper@gmail.com>
29920
29921 [BZ #12685]
29922 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29923 mode string.
29924 Patch by Eric Blake <eblake@redhat.com>.
29925
4df46dbd
L
299262011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29927
29928 * sunrpc/Makefile (need-export-routines): Add svc_run.
29929 (routines): Remove svc_run.
29930 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29931 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29932 * sunrpc/svc_run.c (svc_run): Likewise.
29933 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29934
e84142d2
UD
299352011-04-21 Ulrich Drepper <drepper@gmail.com>
29936
29937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29938 problem in reallocation in last patch.
29939
877175d8
UD
299402011-04-20 Ulrich Drepper <drepper@gmail.com>
29941
29942 * sunrpc/Makefile: Move inclusion of Rules.
29943
ab8eed78
UD
299442011-04-19 Ulrich Drepper <drepper@gmail.com>
29945
29946 * nss/nss_files/files-initgroups.c: New file.
29947 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29948 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29949 _nss_files_initgroups_dyn.
29950
e3d8f584
RS
299512011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29952
29953 * elf/elf.h (R_ARM_IRELATIVE): Define.
29954
af190f45
UD
299552011-04-19 Ulrich Drepper <drepper@gmail.com>
29956
29957 * po/ru.po: Update from translation team.
29958
53cf59ef
UD
299592011-04-17 Ulrich Drepper <drepper@gmail.com>
29960
29961 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29962 dependencies.
29963
4c559bcd
MF
299642011-02-06 Mike Frysinger <vapier@gentoo.org>
29965
29966 [BZ #12653]
29967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29968 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29969 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29972
4420675c
AS
299732011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29974
29975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29976 differing bytes.
29977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29980
75ea32ab
UD
299812011-04-17 Ulrich Drepper <drepper@gmail.com>
29982
29983 [BZ #12420]
29984 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29985 storing it.
29986 * stdlib/bug-getcontext.c: New file.
29987 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29988
27390476
AK
299892011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29990
29991 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29992 instructions into .machine "z9-109".
29993 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29994 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29995
10442705
AK
299962011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29997
29998 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29999 between environment variables and auxiliary vector.
30000
7b57bfe5
UD
300012011-04-16 Ulrich Drepper <drepper@gmail.com>
30002
30003 * Makefile: Add rules to build linkobj/libc.so.
30004 * include/libc-symbols.h: Define libc_hidden_nolink.
30005 * include/rpc/auth.h: Mark functions which are to be hidden.
30006 * include/rpc/auth_des.h: Likewise.
30007 * include/rpc/auth_unix.h: Likewise.
30008 * include/rpc/clnt.h: Likewise.
30009 * include/rpc/des_crypt.h: Likewise.
30010 * include/rpc/key_prot.h: Likewise.
30011 * include/rpc/pmap_clnt.h: Likewise.
30012 * include/rpc/pmap_prot.h: Likewise.
30013 * include/rpc/pmap_rmt.h: Likewise.
30014 * include/rpc/rpc_msg.h: Likewise.
30015 * include/rpc/svc.h: Likewise.
30016 * include/rpc/svc_auth.h: Likewise.
30017 * include/rpc/xdr.h: Likewise.
30018 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30019 * nss/Makefile: Likewise.
30020 * sunrpc/Makefile: Don't install headers. Build library with normal
30021 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30022 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30023 for the compat linking library. Remove use of INTDEF/INTUSE.
30024 * sunrpc/auth_none.c: Likewise.
30025 * sunrpc/auth_unix.c: Likewise.
30026 * sunrpc/authdes_prot.c: Likewise.
30027 * sunrpc/authuxprot.c: Likewise.
30028 * sunrpc/clnt_gen.c: Likewise.
30029 * sunrpc/clnt_perr.c: Likewise.
30030 * sunrpc/clnt_raw.c: Likewise.
30031 * sunrpc/clnt_simp.c: Likewise.
30032 * sunrpc/clnt_tcp.c: Likewise.
30033 * sunrpc/clnt_udp.c: Likewise.
30034 * sunrpc/clnt_unix.c: Likewise.
30035 * sunrpc/des_crypt.c: Likewise.
30036 * sunrpc/des_soft.c: Likewise.
30037 * sunrpc/get_myaddr.c: Likewise.
30038 * sunrpc/key_call.c: Likewise.
30039 * sunrpc/key_prot.c: Likewise.
30040 * sunrpc/netname.c: Likewise.
30041 * sunrpc/pm_getmaps.c: Likewise.
30042 * sunrpc/pm_getport.c: Likewise.
30043 * sunrpc/pmap_clnt.c: Likewise.
30044 * sunrpc/pmap_prot.c: Likewise.
30045 * sunrpc/pmap_prot2.c: Likewise.
30046 * sunrpc/pmap_rmt.c: Likewise.
30047 * sunrpc/publickey.c: Likewise.
30048 * sunrpc/rpc_cmsg.c: Likewise.
30049 * sunrpc/rpc_common.c: Likewise.
30050 * sunrpc/rpc_dtable.c: Likewise.
30051 * sunrpc/rpc_prot.c: Likewise.
30052 * sunrpc/rpc_thread.c: Likewise.
30053 * sunrpc/rtime.c: Likewise.
30054 * sunrpc/svc.c: Likewise.
30055 * sunrpc/svc_auth.c: Likewise.
30056 * sunrpc/svc_authux.c: Likewise.
30057 * sunrpc/svc_raw.c: Likewise.
30058 * sunrpc/svc_run.c: Likewise.
30059 * sunrpc/svc_simple.c: Likewise.
30060 * sunrpc/svc_tcp.c: Likewise.
30061 * sunrpc/svc_udp.c: Likewise.
30062 * sunrpc/svc_unix.c: Likewise.
30063 * sunrpc/svcauth_des.c: Likewise.
30064 * sunrpc/xcrypt.c: Likewise.
30065 * sunrpc/xdr.c: Likewise.
30066 * sunrpc/xdr_array.c: Likewise.
30067 * sunrpc/xdr_float.c: Likewise.
30068 * sunrpc/xdr_intXX_t.c: Likewise.
30069 * sunrpc/xdr_mem.c: Likewise.
30070 * sunrpc/xdr_rec.c: Likewise.
30071 * sunrpc/xdr_ref.c: Likewise.
30072 * sunrpc/xdr_sizeof.c: Likewise.
30073 * sunrpc/xdr_stdio.c: Likewise.
30074
e6c61494
UD
300752011-04-10 Ulrich Drepper <drepper@gmail.com>
30076
30077 [BZ #12650]
30078 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30079 * sysdeps/ia64/dl-tls.h: Likewise.
30080 * sysdeps/powerpc/dl-tls.h: Likewise.
30081 * sysdeps/s390/dl-tls.h: Likewise.
30082 * sysdeps/sh/dl-tls.h: Likewise.
30083 * sysdeps/sparc/dl-tls.h: Likewise.
30084 * sysdeps/x86_64/dl-tls.h: Likewise.
30085 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30086
34fe483e
AS
300872011-03-14 Andreas Schwab <schwab@redhat.com>
30088
30089 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30090 rpath element also skip the following colon.
30091 (expand_dynamic_string_token): Add is_path parameter and pass
30092 down to DL_DST_REQUIRED and _dl_dst_substitute.
30093 (decompose_rpath): Call expand_dynamic_string_token with
30094 non-zero is_path. Ignore empty rpaths.
30095 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30096 with zero is_path.
30097
f12a32e6
AS
300982011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30099
30100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30101 Make cancelable.
30102
38a7d692
UD
301032011-04-09 Ulrich Drepper <drepper@gmail.com>
30104
30105 [BZ #12655]
30106 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30107 Patch by Filipe David Manana <fdmanana@apache.org>.
30108
e451d22b
AS
301092011-04-07 Andreas Schwab <schwab@redhat.com>
30110
30111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30112 Maintain aligned stack.
30113 (CHECK_RSP): Remove unused macro.
30114
dedc7c7b
UD
301152011-04-03 Ulrich Drepper <drepper@gmail.com>
30116
30117 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30119
94521213
UD
301202011-04-02 Ulrich Drepper <drepper@gmail.com>
30121
30122 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30123
8cb700c0 30124 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30125
0354e355
L
301262011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30127
30128 [BZ #12518]
30129 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30130 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30131 * sysdeps/x86_64/memmove.c: New file.
30132 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30133 (memcpy): Renamed to ...
30134 (__new_memcpy): This.
30135 (memcpy): Provide GLIBC_2_14 memcpy.
30136 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30137 (memcpy): Provide GLIBC_2_2_5 memcpy.
30138
8593482f
UD
301392011-04-01 Ulrich Drepper <drepper@gmail.com>
30140
30141 [BZ #12631]
30142 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30143
81a5726b
AS
301442011-03-30 Andreas Schwab <schwab@redhat.com>
30145
30146 * misc/syncfs.c: New file.
30147 * misc/Makefile (routines): Add syncfs.
30148 * posix/unistd.h: Declare syncfs.
30149 * sysdeps/unix/syscalls.list: Add syncfs.
30150
00e5419f
AS
301512011-04-01 Andreas Schwab <schwab@redhat.com>
30152
30153 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30154 open_by_handle_at.
30155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30160 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30162
748876bf
UD
301632011-04-01 Ulrich Drepper <drepper@gmail.com>
30164
658e451d
UD
30165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30172
748876bf
UD
30173 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30174 sync_file_range.c with -fexceptions.
30175 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30176 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30177 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30178 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30179 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30180 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30182 sync_file_range as cancellation point
30183 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30184 now a wrapper around __call_sync_file_range with cancellation handling.
30185 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30186 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30187 function name to __call_sync_file_range.
30188 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30189 Add call_sync_file_range.
748876bf 30190
6e63d5e1
AS
301912011-04-01 Andreas Schwab <schwab@redhat.com>
30192
30193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30194 bits/timex.h.
6e63d5e1 30195
46998f74
UD
301962011-04-01 Ulrich Drepper <drepper@gmail.com>
30197
4c1423ed
UD
30198 * iconv/iconv.h: Fix typo in comment.
30199 * io/fcntl.h: Likewise.
30200 * libio/stdio.h: Likewise.
30201 * posix/spawn.h: Likewise.
30202 * posix/unistd.h: Likewise.
30203 * stdlib/stdlib.h: Likewise.
30204 * time/time.h: Likewise.
30205 * wcsmbs/wchar.h: Likewise.
30206
158648c0
UD
30207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30208 open_by_handle): Add.
30209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30210 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30211 Augment a few comments.
30212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30217 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30218 open_by_handle.
30219
46998f74
UD
30220 * io/fcntl.h (AT_EMPTY_PATH): Define.
30221
83fe108b
UD
302222011-03-30 Ulrich Drepper <drepper@gmail.com>
30223
30224 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30225 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30226 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30227 to...
30228 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30229 * Versions.def: Add GLIBC_2.14.
30230 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30231 Export.
83fe108b 30232
bb242059
UD
302332011-03-22 Ulrich Drepper <drepper@gmail.com>
30234
30235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30236 round counter.
30237 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30238
c97a1282
L
302392011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 [BZ #12597]
30242 * string/test-strncmp.c (do_page_test): New function.
30243 (check2): Likewise.
30244 (test_main): Call check2.
30245 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30246
2a115601
UD
302472011-03-20 Ulrich Drepper <drepper@gmail.com>
30248
30249 [BZ #12587]
30250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30251 Handle cache information in CPU leaf 4.
30252 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30253
8126d904
UD
302542011-03-18 Ulrich Drepper <drepper@gmail.com>
30255
042c49c6 30256 [BZ #12583]
8126d904
UD
30257 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30258 character representation.
30259 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30260
ccfe366e
RA
302612011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30262
30263 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30264 END(__isnan) to END(__isnanf) to match function entry point/label
30265 EALIGN(__isnanf,...).
30266
c6e13027
JJ
302672011-03-10 Jakub Jelinek <jakub@redhat.com>
30268
30269 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30270
33f85a3f
UD
302712011-03-10 Ulrich Drepper <drepper@gmail.com>
30272
028478fa
UD
30273 [BZ #12510]
30274 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30275 copy from the symbol referenced in the relocation to initialize the
30276 used variable.
30277 Patch by Piotr Bury <pbury@goahead.com>.
30278 * elf/Makefile: Add rules to build and tst-unique3.
30279 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30280 * elf/tst-unique3.cc: New file.
30281 * elf/tst-unique3.h: New file.
30282 * elf/tst-unique3lib.cc: New file.
30283 * elf/tst-unique3lib2.cc: New file.
30284
33f85a3f
UD
30285 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30286
03592fc7
MF
302872011-03-10 Mike Frysinger <vapier@gentoo.org>
30288
30289 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30290 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30291 to _start.
03592fc7 30292
6a5ee102
UD
302932011-03-06 Ulrich Drepper <drepper@gmail.com>
30294
30295 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30296 to-be-loaded object along a path to loader is ld.so.
30297
7e4ba49c
HJ
302982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30299 Ulrich Drepper <drepper@gmail.com>
30300
30301 * sysdeps/x86_64/memset.S: After aligning destination, code
30302 branches to different locations depending on the value of
30303 misalignment, when multiarch is enabled. Fix this.
30304
303052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30306
30307 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30308 Set _x86_64_preferred_memory_instruction for AMD processsors.
30309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30310 Set bit_Prefer_SSE_for_memop for AMD processors.
30311
13a804de
UD
303122011-03-04 Ulrich Drepper <drepper@gmail.com>
30313
30314 * libio/fmemopen.c (fmemopen): Optimize a bit.
30315
9d25c392
AS
303162011-03-03 Andreas Schwab <schwab@redhat.com>
30317
30318 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30319
a5543c6a
RM
303202011-03-03 Roland McGrath <roland@redhat.com>
30321
30322 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30323
012d35f7
DM
303242011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30325
7e4ba49c 30326 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30327 __bzero_ultra1 instead of __memset_ultra1.
30328
4bff6e01
AS
303292011-02-23 Andreas Schwab <schwab@redhat.com>
30330 Ulrich Drepper <drepper@gmail.com>
30331
30332 [BZ #12509]
30333 * include/link.h (struct link_map): Add l_orig_initfini.
30334 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30335 returning unsuccessfully.
30336 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30337 close of a file loaded at startup, restore the original l_initfini
30338 list.
30339 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30340 list, store the pointer.
30341 * elf/Makefile ($(objpfx)noload-mem): New rule.
30342 (noload-ENV): Define.
30343 (tests): Add $(objpfx)noload-mem.
30344 * elf/noload.c: Include <memcheck.h>.
30345 (main): Call mtrace. Close all opened handles.
30346
f2092faf
AS
303472011-02-17 Andreas Schwab <schwab@redhat.com>
30348
30349 [BZ #12454]
30350 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30351 dependencies are missing.
30352
6c8a2e88
ST
303532011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30354
f2092faf 30355 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30356 Hurd needs munmap.
30357 * sysdeps/mach/hurd/ifreq.h: New file.
30358
84a42118
PB
303592011-01-27 Petr Baudis <pasky@suse.cz>
30360 Ulrich Drepper <drepper@gmail.com>
30361
071f805e 30362 [BZ 12445]#
84a42118
PB
30363 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30364 to extend_alloca().
30365 * stdio-common/bug23.c: New file.
30366 * stdio-common/Makefile (tests): Add bug23.
30367
e23fe25b
AS
303682010-09-28 Andreas Schwab <schwab@redhat.com>
30369 Ulrich Drepper <drepper@gmail.com>
30370
30371 [BZ #12489]
30372 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30373 before performing relro protection. At old place add assertion
30374 to make sure nothing changed.
30375
d3f02e10
NS
303762011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30377 Glauber de Oliveira Costa <glommer@gmail.com>
30378
30379 * elf/elf.h: Add new ARM TLS relocs.
30380
d55fd7a5
RA
303812011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30382
30383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30384 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30385 cast from r3.
30386 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30387 'tests' variable.
30388 * sysdeps/wordsize-64/tst-writev.c: New file.
30389
2206397e
RA
303902011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30391
30392 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30393 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30394 insns in _dl_start to prevent a TOC reference before relocs are
30395 resolved.
30396
e9433893
UD
303972011-02-15 Ulrich Drepper <drepper@gmail.com>
30398
30399 [BZ #12469]
30400 * Makeconfig: Remove RANLIB definition.
30401 * Makerules: Don't use RANLIB.
30402 * aclocal.m4: Remove ranlib test.
30403 * configure.in: No need to check for ranlib.
30404 * elf/rtld-Rules: Don't use RANLIB.
30405
f75286c6
ST
304062011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30407
8e31c82d
ST
30408 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30409 protection macro.
30410 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30411 inclusion protection macro.
30412
f75286c6
ST
30413 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30414 SIGRTMIN and SIGRTMAX and print information in that case only when
30415 SIGRTMIN is defined.
30416
c1d0e639
JJ
304172011-02-11 Jakub Jelinek <jakub@redhat.com>
30418
30419 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30420 arginfo fn returning -1.
30421
30422 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30423 and thousands string is zero terminated.
30424
edf9294e
AS
304252011-02-03 Andreas Schwab <schwab@redhat.com>
30426
30427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30428 sysdeps/unix/sysv/linux/bits/socket.h.
30429
2b7e92df
ST
304302011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30431
edf9294e
AS
30432 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30433 (__CPU_COUNT): Remove old macros.
30434 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30435 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30436 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30437 (__sched_cpualloc, __sched_cpufree): Add declarations.
30438
a4c7ea7b
UD
304392011-02-05 Ulrich Drepper <drepper@gmail.com>
30440
30441 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30442 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30443 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30444 (readdhstai): Return value of addhstaiX call.
30445 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30446 (addgrbyX): Return value returned by cache_addgr.
30447 (readdgrbyname): Return value returned by addgrbyX.
30448 (readdgrbygid): Likewise.
30449 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30450 (addpwbyX): Return value returned by cache_addpw.
30451 (readdpwbyname): Return value returned by addhstbyX.
30452 (readdpwbyuid): Likewise.
30453 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30454 (addservbyX): Return value returned by cache_addserv.
30455 (readdservbyname): Return value returned by addservbyX:
30456 (readdservbyport): Likewise.
30457 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30458 (addhstbyX): Return value returned by cache_addhst.
30459 (readdhstbyname): Return value returned by addhstbyX.
30460 (readdhstbyaddr): Likewise.
30461 (readdhstbynamev6): Likewise.
30462 (readdhstbyaddrv6): Likewise.
30463 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30464 (readdinitgroups): Return value returned by addinitgroupsX.
30465 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30466 (prune_cache): Keep track of timeout value of re-added entries.
30467 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30468 * nscd/nscd.h: Adjust prototypes of readd* functions.
30469
a0bf67cc
RM
304702011-02-04 Roland McGrath <roland@redhat.com>
30471
30472 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30473 (nis_stats): Likewise.
30474 * nis/nis_modify.c (nis_modify): Likewise.
30475 * nis/nis_remove.c (nis_remove): Likewise.
30476 * nis/nis_add.c (nis_add): Likewise.
30477
30478 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30479
30480 * posix/fnmatch_loop.c: Add some consts.
30481
30482 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30483
435b95eb
L
304842011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30485
30486 [BZ #12460]
30487 * config.make.in (config-cflags-novzeroupper): Define.
30488 * configure.in: Substitute libc_cv_cc_novzeroupper.
30489 * elf/Makefile (AVX-CFLAGS): Define.
30490 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30491 (CFLAGS-tst-auditmod4a.c): Likewise.
30492 (CFLAGS-tst-auditmod4b.c): Likewise.
30493 (CFLAGS-tst-auditmod6b.c): Likewise.
30494 (CFLAGS-tst-auditmod6c.c): Likewise.
30495 (CFLAGS-tst-auditmod7b.c): Likewise.
30496 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30497
8517b15e
UD
304982011-02-02 Ulrich Drepper <drepper@gmail.com>
30499
30500 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30501 function to the callback.
30502 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30503
10a656fe
AS
305042011-02-02 Andreas Schwab <schwab@redhat.com>
30505
30506 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30507 of errno.
30508
968dad0a
UD
305092011-01-19 Ulrich Drepper <drepper@gmail.com>
30510
9f94d2ea 30511 [BZ #11724]
968dad0a
UD
30512 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30513 of constructors.
30514 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30515 of destructors.
30516 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30517
30518 [BZ #11724]
30519 * elf/Makefile: Add rules to build and run new test.
30520 * elf/tst-initorder.c: New file.
30521 * elf/tst-initorder.exp: New file.
30522 * elf/tst-initordera1.c: New file.
30523 * elf/tst-initordera2.c: New file.
30524 * elf/tst-initordera3.c: New file.
30525 * elf/tst-initordera4.c: New file.
30526 * elf/tst-initorderb1.c: New file.
30527 * elf/tst-initorderb2.c: New file.
30528 * elf/tst-order-a1.c: New file.
30529 * elf/tst-order-a2.c: New file.
30530 * elf/tst-order-a3.c: New file.
30531 * elf/tst-order-a4.c: New file.
30532 * elf/tst-order-b1.c: New file.
30533 * elf/tst-order-b2.c: New file.
30534 * elf/tst-order-main.c: New file.
30535 New test case by George Gensure <werkt0@gmail.com>.
30536
86e92359
UD
305372010-10-01 Andreas Schwab <schwab@redhat.com>
30538
30539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30540 decoding ACE if AI_CANONIDN.
30541
5d5732b0
UD
305422011-01-18 Ulrich Drepper <drepper@gmail.com>
30543
30544 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30545
a77e8cbc
UD
305462011-01-17 Ulrich Drepper <drepper@gmail.com>
30547
6392473f
UD
30548 * version.h (RELEASE): Bump for 2.13 release.
30549 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30550
620a0529
UD
30551 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30552
18ba70a5
UD
30553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30554 MADV_NOHUGEPAGE.
32465c3e
UD
30555 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30561
c0dafcf1
UD
30562 * posix/getconf.c: Update copyright year.
30563 * catgets/gencat.c: Likewise.
30564 * csu/version.c: Likewise.
30565 * debug/catchsegv.sh: Likewise.
30566 * debug/xtrace.sh: Likewise.
30567 * elf/ldconfig.c: Likewise.
30568 * elf/ldd.bash.in: Likewise.
30569 * elf/sprof.c (print_version): Likewise.
30570 * iconv/iconv_prog.c: Likewise.
30571 * iconv/iconvconfig.c: Likewise.
30572 * locale/programs/locale.c: Likewise.
30573 * locale/programs/localedef.c: Likewise.
30574 * malloc/memusage.sh: Likewise.
30575 * malloc/mtrace.pl: Likewise.
30576 * nscd/nscd.c (print_version): Likewise.
30577 * nss/getent.c: Likewise.
30578
a77e8cbc
UD
30579 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30580 PF_CAIF, and PF_ALG.
30581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30582
77e8bddf
AS
305832011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30584
1f20b93a
AS
30585 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30586 (modules-names): Use them.
30587 (ifunc-test-modules, ifunc-pie-tests): Define.
30588 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30589 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30590 (test-extras): Likewise.
30591 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30592 $(compile-command.c).
30593 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30594 (all-built-dso): Define.
30595 (check-textrel.out, check-execstack.out): Depend on it.
30596
77e8bddf
AS
30597 * configure.in: Don't override --enable-multi-arch.
30598
bc425b33
UD
305992011-01-15 Ulrich Drepper <drepper@gmail.com>
30600
30601 [BZ #6812]
30602 * nscd/hstcache.c (tryagain): Define.
30603 (cache_addhst): Return tryagain not notfound for temporary errors.
30604 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30605 failed.
30606
794c3ad3
UD
306072011-01-14 Ulrich Drepper <drepper@gmail.com>
30608
70181fdd
UD
30609 [BZ #10563]
30610 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30611 to make the syscall.
30612 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30613
794c3ad3
UD
30614 [BZ #12378]
30615 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30616 and fall back to matching as normal character if the string ends before
30617 the matching ']' is found. This is what POSIX requires.
30618 * posix/testfnm.c: Adjust test result.
30619 * posix/globtest.sh: Adjust test result. Add new test.
30620 * posix/tst-fnmatch.input: Likewise.
30621 * posix/tst-fnmatch2.c: Add new test.
30622
68dc9497
AS
306232010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30624
30625 * elf/Makefile (check-execstack): Revert last change. Depend on
30626 check-execstack.h.
30627 (check-execstack.h): New target.
30628 (generated): Add check-execstack.h.
30629 * elf/check-execstack.c: Include "check-execstack.h".
30630 (main): Revert last change.
30631 (handle_file): Return zero if GNU_STACK is absent and
30632 DEFAULT_STACK_PERMS doesn't include PF_X.
30633
451f001b
UD
306342011-01-13 Ulrich Drepper <drepper@gmail.com>
30635
cfa28e56
UD
30636 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30637 in child fails because the descriptor is already closed.
8cf8ce17
UD
30638 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30639 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30640 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30641
1086d70d
UD
30642 [BZ #12397]
30643 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30644 syscall.
30645
451f001b
UD
30646 [BZ #10484]
30647 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30648 temporary buffer used to handle multi lookups locally.
a85b5cb4 30649 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30650
08769175
UD
306512011-01-12 Ulrich Drepper <drepper@gmail.com>
30652
30653 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30654 loader is ld.so.
30655
5e49c52e
UD
306562011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30657
30658 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30659 alignment for SSE2.
30660
60522a5f
UD
306612011-01-12 Ulrich Drepper <drepper@gmail.com>
30662
30663 [BZ #12394]
30664 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30665 characters. When rounding increased number of integer digits recompute
30666 number of groups.
30667 * stdio-common/tst-grouping.c: New file.
30668 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30669
f257bbd7
UD
306702011-01-09 Ulrich Drepper <drepper@gmail.com>
30671
30672 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30673 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30674
30675 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30676 void.
30677 * bits/select.h: Likewise.
30678
fa9c15cb
UD
306792011-01-08 Ulrich Drepper <drepper@gmail.com>
30680
30681 * po/ja.po: Update from translation team.
30682
16c2895f
DM
306832011-01-04 David S. Miller <davem@sunset.davemloft.net>
30684
30685 [BZ #11155]
30686 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30687 implementation just like for lxstat, fxstatat, et al.
30688
2543fef2
JM
306892010-12-27 Jim Meyering <meyering@redhat.com>
30690
30691 [BZ #12348]
30692 * posix/regexec.c (build_trtable): Return failure indication upon
30693 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30694
98727dbe
UD
306952010-12-25 Ulrich Drepper <drepper@gmail.com>
30696
5bd6dc5c
UD
30697 [BZ #12201]
30698 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30699 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30700 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30702
97983464
UD
30703 [BZ #12207]
30704 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30705
98727dbe
UD
30706 [BZ #12204]
30707 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30708 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30709
4a531bb0
L
307102010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30711
30712 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30713 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30714 script has SORT_BY_INIT_PRIORITY.
30715 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30716 NO_CTORS_DTORS_SECTIONS is defined.
30717 * elf/soinit.c: Likewise.
30718 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30719 NO_CTORS_DTORS_SECTIONS is defined.
30720 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30721 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30722 * sysdeps/sh/init-first.c: Likewise.
30723 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30724
07eb4b71
UD
307252010-12-24 Ulrich Drepper <drepper@gmail.com>
30726
30727 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30728 always use the slow path.
30729
30950a5f
RA
307302010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30731
30732 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30733 similar rule which adds the sysdep directories to the header search in
30734 order to pick up the correct platform stackinfo.h.
30735 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30736 perform test if it is, otherwise return successfully without testing.
30737 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30738 DEFAULT_STACK_PERMS define in stackinfo.h.
30739 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30740 defined in stackinfo.h.
30741 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30742 DEFAULT_STACK_PERMS defined in stackinfo.h.
30743 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30744 * sysdeps/ia64/stackinfo.h: Likewise.
30745 * sysdeps/s390/stackinfo.h: Likewise.
30746 * sysdeps/sh/stackinfo.h: Likewise.
30747 * sysdeps/sparc/stackinfo.h: Likewise.
30748 * sysdeps/x86_64/stackinfo.h: Likewise.
30749 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30750 PF_X for powerpc64. Retain PF_X for powerpc32.
30751
db753e2c
UD
307522010-12-19 Ulrich Drepper <drepper@gmail.com>
30753
14b697f7
UD
30754 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30755 accurately.
db753e2c
UD
30756 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30757 GETDENTS_64BIT_ALIGNED.
30758
28300719
UD
307592010-12-14 Ulrich Drepper <dreper@gmail.com>
30760
14b697f7 30761 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30762
4f197237
AS
307632010-12-10 Andreas Schwab <schwab@redhat.com>
30764
dbb0472f
AS
30765 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30766 _GNU_SOURCE.
30767
4f197237
AS
30768 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30769 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30770 Remove __restrict.
30771 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30772 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30773
fb88ac72
UD
307742010-12-09 Ulrich Drepper <drepper@gmail.com>
30775
30776 [BZ #11655]
30777 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30778 are initialized.
30779
42acbb92
JJ
307802010-12-09 Jakub Jelinek <jakub@redhat.com>
30781
30782 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30783
c038d98d
UD
307842010-12-03 Ulrich Drepper <drepper@gmail.com>
30785
30786 * po/it.po: Update from translation team.
30787
3a4a2499
L
307882010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30789
30790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30791 unused codes.
30792
1e24cf6e
UD
307932010-11-30 Ulrich Drepper <drepper@gmail.com>
30794
30795 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30796
a7690819
AS
307972010-11-24 Andreas Schwab <schwab@redhat.com>
30798
30799 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30800 specially.
30801 (gaih_getanswer_slice): Likewise.
30802
3bf8d1b1
JJ
308032010-10-20 Jakub Jelinek <jakub@redhat.com>
30804
30805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30806
6db52fbb
PB
308072010-05-31 Petr Baudis <pasky@suse.cz>
30808
30809 [BZ #11149]
30810 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30811 silently even in the chroot mode.
30812
eaca7569
UD
308132010-11-22 Ulrich Drepper <drepper@gmail.com>
30814
30815 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30816 last patch a bit. Pretty printing
30817
3056dcdb
UD
308182010-05-31 Petr Baudis <pasky@suse.cz>
30819
30820 [BZ #10085]
30821 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30822 initialization of skip_initgroups_dyn.
30823
cf7c9078
UD
308242010-11-19 Ulrich Drepper <drepper@gmail.com>
30825
30826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30828
a1fb5e3e
UD
308292010-11-16 Ulrich Drepper <drepper@gmail.com>
30830
30831 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30832
3540d66b
AS
308332010-11-11 Andreas Schwab <schwab@redhat.com>
30834
30835 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30836 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30837 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30838 ($(objpfx)tst-fnmatch-mem): New rule.
30839 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30840 * posix/tst-fnmatch.c (main): Call mtrace.
30841
13b69574
L
308422010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30843
30844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30845 Support Intel processor model 6 and model 0x2c.
30846
da93d214
LM
308472010-11-10 Luis Machado <luisgpm@br.ibm.com>
30848
30849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30850 signed comparison.
30851
8ca52c6e
L
308522010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30853
30854 [BZ #12205]
30855 * string/test-strncasecmp.c (check_result): New function.
30856 (do_one_test): Use it.
30857 (check1): New function.
30858 (test_main): Use it.
30859 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30860 Support strcasecmp and strncasecmp.
30861
69da074d
UD
308622010-11-08 Ulrich Drepper <drepper@gmail.com>
30863
30864 [BZ #12194]
30865 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30866 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30867
ff02d528
L
308682010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30869
30870 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30871 IFUNC support.
30872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30873 memset-x86-64.
30874 * sysdeps/x86_64/multiarch/bzero.S: New file.
30875 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30876 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30877 * sysdeps/x86_64/multiarch/memset.S: New file.
30878 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30880 Set bit_Prefer_SSE_for_memop for Intel processors.
30881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30882 Define.
30883 (index_Prefer_SSE_for_memop): Define.
30884 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30885
344d0b54
LM
308862010-11-04 Luis Machado <luisgpm@br.ibm.com>
30887
30888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30889 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30890
c0dde15b
UD
308912010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30892
30893 [BZ #12191]
30894 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30895 (__x86_64_raw_data_cache_size_half): Likewise.
30896 (__x86_64_raw_shared_cache_size): Likewise.
30897 (__x86_64_raw_shared_cache_size_half): Likewise.
30898
30899 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30900 (__x86_64_raw_data_cache_size_half): Likewise.
30901 (__x86_64_raw_shared_cache_size): Likewise.
30902 (__x86_64_raw_shared_cache_size_half): Likewise.
30903 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30904 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30905 and __x86_64_raw_shared_cache_size_half. Round
30906 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30907 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30908 to multiple of 256 bytes.
30909
0e516e0e
MS
309102010-11-03 Ulrich Drepper <drepper@gmail.com>
30911
30912 [BZ #12167]
30913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30914 of inacessible symlinks. Verify result of symlink before returning it.
30915 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30916 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30917
0e012e87
ER
309182010-10-28 Erich Ritz <erichritz@gmail.com>
30919
30920 * math/math.h (isinf): Fix typo in comment.
30921
de0ff7bc
UD
309222010-11-01 Ulrich Drepper <drepper@gmail.com>
30923
30924 * po/da.po: Update from translation team.
30925
fa41c84d
UD
309262010-10-26 Ulrich Drepper <drepper@gmail.com>
30927
30928 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30929 is added to the list.
30930
f0967738
AK
309312010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30932 Ulrich Drepper <drepper@gmail.com>
30933
30934 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30935 the global list here. Move code to...
30936 (_dl_add_to_namespace_list): ...here. New function.
30937 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30938 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30939 * elf/dl-load.c (lose): Don't remove the element from the list.
30940 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30941 (_dl_map_object): Likewise.
30942
309432010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30944
30945 [BZ #12159]
30946 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30947 into all bytes of SSE register.
30948 Patch by Richard Li <richardpku@gmail.com>.
30949
f0967738 309502010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30951
30952 [BZ #12140]
30953 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30954 perturbing.
30955
d0b9e94f
MB
309562010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30957
30958 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30959 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30960 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30963 submachine.
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30965
8e9f92e9
AS
309662010-10-22 Andreas Schwab <schwab@redhat.com>
30967
30968 * include/dlfcn.h (__RTLD_SECURE): Define.
30969 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30970 mode & __RTLD_SECURE instead.
30971 (open_path): Rename preloaded parameter to secure.
30972 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30973 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30974 * elf/dl-deps.c (openaux): Likewise.
30975 * elf/rtld.c (struct map_args): Remove is_preloaded.
30976 (map_doit): Don't use it.
30977 (dl_main): Likewise.
30978 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30979 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30980
bc96fbda
AS
309812010-09-09 Andreas Schwab <schwab@redhat.com>
30982
30983 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30984 (sysd-rules-targets): Remove duplicates.
30985 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30986 rtld-%.$o dependency.
30987
22cd1c9b
AS
309882010-10-18 Andreas Schwab <schwab@redhat.com>
30989
30990 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30991 _dl_map_object do it.
30992
18edac48
UD
309932010-10-19 Ulrich Drepper <drepper@gmail.com>
30994
30995 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30996 fast fma builtins, define the macros in the C99 standard.
30997 (FP_FAST_FMAF): Likewise.
30998 (FP_FAST_FMAL): Likewise.
30999 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31000
31001 * bits/mathdef.h: Update copyright year.
31002 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31003
d2050124
MM
310042010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31005
31006 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31007 builtins, define the macros in the C99 standard.
31008 (FP_FAST_FMAF): Likewise.
31009 (FP_FAST_FMAL): Likewise.
31010 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31011 multiply/add.
31012 (FP_FAST_FMAF): Likewise.
31013
475facd1
JJ
310142010-10-15 Jakub Jelinek <jakub@redhat.com>
31015
31016 [BZ #3268]
31017 * math/libm-test.inc (fma_test): Some new testcases.
31018 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31019 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31020 y and infinite z. Do multiplication by C already in long double.
31021 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31023 y and infinite z. Do bitwise or of inexact bit into u.d.
31024 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31025 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31026 * sysdeps/i386/fpu/s_fma.S: Removed.
31027 * sysdeps/i386/fpu/s_fmal.S: Removed.
31028
7c08a05c
JJ
310292010-10-16 Jakub Jelinek <jakub@redhat.com>
31030
31031 [BZ #3268]
31032 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31034 computation is not scheduled after fetestexcept. Fix value
31035 of minimum denormal long double.
31036
f3f7372d
JJ
310372010-10-14 Jakub Jelinek <jakub@redhat.com>
31038
31039 [BZ #3268]
31040 * math/libm-test.inc (fma_test): Add some more tests.
31041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31042 correctly.
31043
14d43591
AS
310442010-10-15 Andreas Schwab <schwab@redhat.com>
31045
31046 * scripts/data/localplt-s390-linux-gnu.data: New file.
31047 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31048
5e908464
JJ
310492010-10-13 Jakub Jelinek <jakub@redhat.com>
31050
31051 [BZ #3268]
31052 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31053 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31054 instead of dbl-64.
31055 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31056 inlines.
31057 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31059 if one of x and y is very large and the other is subnormal.
31060 * sysdeps/s390/fpu/s_fmaf.c: New file.
31061 * sysdeps/s390/fpu/s_fma.c: New file.
31062 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31063 * sysdeps/powerpc/fpu/s_fma.S: New file.
31064 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31065 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31066 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31067
310682010-10-12 Jakub Jelinek <jakub@redhat.com>
31069
31070 [BZ #3268]
31071 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31072 fma tests.
31073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31074 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31075 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31076 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31077 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31078 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31080
b833d51f
UD
310812010-10-12 Ulrich Drepper <drepper@redhat.com>
31082
31083 [BZ #12078]
31084 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31085 * posix/bug-regex31.input: Add test case.
31086
1751705d
UD
310872010-10-11 Ulrich Drepper <drepper@gmail.com>
31088
e9b9cbf5
UD
31089 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31090 * posix/bug-regex31.input: New file.
31091
31092 [BZ #12078]
31093 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31094 (parse_sub_exp): Fix last change, use postorder.
31095
ef06edbe
UD
31096 * posix/bug-regex31.c: New file.
31097 * posix/Makefile: Add rules to build and run bug-regex31.
31098
a129c80d
UD
31099 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31100
31101 [BZ #12078]
31102 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31103
b76b818e
UD
31104 [BZ #12108]
31105 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31106 to have entries in sys_siglist.
31107
1751705d
UD
31108 [BZ #12093]
31109 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31110 be NULL.
31111
9ff8d36f
JJ
311122010-10-07 Jakub Jelinek <jakub@redhat.com>
31113
31114 [BZ #3268]
31115 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31116 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31117 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31118 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31120 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31121 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31122 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31123 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31124 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31125 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31126 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31127 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31128 * math/ftestexcept.c (fetestexcept): Likewise.
31129 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31130 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31131 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31132 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31133 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31134 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31135 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31136
af325969
UD
311372010-10-11 Ulrich Drepper <drepper@gmail.com>
31138
c579b202 31139 [BZ #12107]
af325969
UD
31140 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31141 newline.
31142
67a67b95
UD
311432010-10-06 Ulrich Drepper <drepper@gmail.com>
31144
31145 * string/bug-strstr1.c: New file.
31146 * string/Makefile: Add rules to build and run bug-strstr1.
31147
5fb308bc
EB
311482010-10-05 Eric Blake <eblake@redhat.com>
31149
31150 [BZ #12092]
31151 * string/str-two-way.h (two_way_long_needle): Always clear memory
31152 when skipping input due to the shift table.
31153
45db99c7
UD
311542010-10-03 Ulrich Drepper <drepper@gmail.com>
31155
3b111893
UD
31156 [BZ #12005]
31157 * malloc/mcheck.c: Handle large requests.
31158
45db99c7
UD
31159 [BZ #12077]
31160 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31161 for strncmp and strncasecmp.
31162 * string/stratcliff.c: Add tests for strcmp and strncmp.
31163 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31164
cf7a1eb8
NI
311652010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31166
31167 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31168 __set_fpscr.
31169
6484ba5e
AJ
311702010-09-30 Andreas Jaeger <aj@suse.de>
31171
31172 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31173 (CGROUP_SUPER_MAGIC): Define.
31174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31175 Handle btrfs and cgroup file systems.
31176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31177 Likewise.
31178
91c42559
LM
311792010-09-27 Luis Machado <luisgpm@br.ibm.com>
31180
31181 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31182 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31183
87a97932
AK
311842010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31185
31186 [BZ #12067]
31187 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31188 trying to locate the ELF header.
31189
c21cc9bc
AS
311902010-09-27 Andreas Schwab <schwab@redhat.com>
31191
31192 [BZ #11611]
31193 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31194 Mask out sign-bit copies when constructing f_fsid.
31195
315970f6
PB
311962010-09-24 Petr Baudis <pasky@suse.cz>
31197
31198 * debug/stack_chk_fail_local.c: Add missing licence exception.
31199 * debug/warning-nop.c: Likewise.
31200
1ac7a2c7
JM
312012010-09-15 Joseph Myers <joseph@codesourcery.com>
31202
31203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31204 implementing getdents64 using getdents syscall, set d_type if
31205 __ASSUME_GETDENTS32_D_TYPE.
31206
56801c50
AS
312072010-09-16 Andreas Schwab <schwab@redhat.com>
31208
31209 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31210 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31211
dda51327
UD
312122010-09-21 Ulrich Drepper <drepper@redhat.com>
31213
31214 [BZ #12037]
31215 * posix/unistd.h: Undo change of feature selection for ftruncate from
31216 2010-01-11.
31217
8ffcee4a
UD
312182010-09-20 Ulrich Drepper <drepper@redhat.com>
31219
a545ecd9 31220 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31221 detection.
31222
e24f0a8b
AS
312232010-09-20 Andreas Schwab <schwab@redhat.com>
31224
31225 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31226 fanotify_mark.
31227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31228
7291c56f
AS
312292010-09-14 Andreas Schwab <schwab@redhat.com>
31230
31231 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31232 variables after CHECK_SP call.
31233 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31234
bc5fb037
AS
312352010-09-13 Andreas Schwab <schwab@redhat.com>
31236 Ulrich Drepper <drepper@redhat.com>
31237
31238 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31239 re-relocationg ld.so.
31240 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31241 _dl_init_paths call.
31242 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31243 here anymore.
31244
e66e7419
UD
312452010-09-14 Ulrich Drepper <drepper@redhat.com>
31246
31247 * resolv/res_init.c (__res_vinit): Count the default server we added.
31248
c044aa75
CLT
312492010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31250 Ulrich Drepper <drepper@redhat.com>
31251
31252 [BZ #11968]
31253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31254 (____longjmp_chk): Use %ebx for saving value across system call.
31255 Add unwind info.
31256
32cf4069
AS
312572010-09-06 Andreas Schwab <schwab@redhat.com>
31258
31259 * manual/Makefile: Don't mix pattern rules with normal rules.
31260
817328ee
AS
312612010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31262
31263 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31264 operation.
31265 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31266 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31267 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31268 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31270 Likewise.
31271
29fddf61
UD
312722010-09-04 Ulrich Drepper <drepper@redhat.com>
31273
31274 [BZ #11979]
31275 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31276 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31277
0959ffc9
UD
312782010-09-02 Ulrich Drepper <drepper@redhat.com>
31279
31280 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31281 * sysdeps/x86_64/addmul_1.S: Likewise.
31282 * sysdeps/x86_64/lshift.S: Likewise.
31283 * sysdeps/x86_64/mul_1.S: Likewise.
31284 * sysdeps/x86_64/rshift.S: Likewise.
31285 * sysdeps/x86_64/sub_n.S: Likewise.
31286 * sysdeps/x86_64/submul_1.S: Likewise.
31287
ece29840
ST
312882010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31289
0959ffc9
UD
31290 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31291 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31292 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31293 * bits/sched.h [__need_schedparam]
ece29840 31294 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31295 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31296 (__defined_schedparam): Define to 1.
ece29840
ST
31297 (__sched_param): New structure, identical to sched_param.
31298 (__need_schedparam): Undefine.
31299
e53a31fe
MF
313002010-08-31 Mike Frysinger <vapier@gentoo.org>
31301
fdc0c10d
MF
31302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31303 (epoll_create1): Declare.
31304
e53a31fe
MF
31305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31306
a726d796
AS
313072010-08-31 Andreas Schwab <schwab@redhat.com>
31308
31309 [BZ #7066]
31310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31311 shifting retval into place.
31312
2f3e3dc7
UD
313132010-09-01 Ulrich Drepper <drepper@redhat.com>
31314
f2933da9
UD
31315 * nis/rpcsvc/nis.h: Update copyright notice.
31316 * nis/rpcsvc/nis.x: Likewise.
31317 * nis/rpcsvc/nis_callback.h: Likewise.
31318 * nis/rpcsvc/nis_callback.x: Likewise.
31319 * nis/rpcsvc/nis_object.x: Likewise.
31320 * nis/rpcsvc/nis_tags.h: Likewise.
31321 * nis/rpcsvc/yp.h: Likewise.
31322 * nis/rpcsvc/yp.x: Likewise.
31323 * nis/rpcsvc/ypupd.h: Likewise.
31324 * nis/yp_xdr.c: Likewise.
31325 * nis/ypupdate_xdr.c: Likewise.
31326
2f3e3dc7
UD
31327 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31328 mainly the body of pmap_getport. Add parameters to specify timeouts.
31329 (pmap_getport): Use __libc_rpc_getport.
31330 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31331 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31332 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31333
f3dcc2f9
AS
313342010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31335
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31337 fanotify_mark.
31338
6d34eb5b
RM
313392010-08-27 Roland McGrath <roland@redhat.com>
31340
31341 * sysdeps/i386/i686/multiarch/Makefile
31342 (CFLAGS-varshift.c): New variable.
31343
9ea3de11
UD
313442010-08-27 Ulrich Drepper <drepper@redhat.com>
31345
c96d23fc
UD
31346 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31347 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31348
9ea3de11
UD
31349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31350
31351 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31352
623aac7f
L
313532010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31354
31355 * sysdeps/x86_64/strlen.S: Unroll the loop.
31356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31357 strlen-sse2 strlen-sse2-bsf.
31358 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31359 __strlen_no_bsf if bit_Slow_BSF is set.
31360 (__strlen_sse42): Removed.
31361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31362 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31363
8b2b7715
RM
313642010-08-25 Roland McGrath <roland@redhat.com>
31365
31366 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31367 * sysdeps/x86_64/multiarch/varshift.c: New file.
31368 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31369 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31370 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31371 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31372
e73015f2
L
313732010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31374
31375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31376 strlen-sse2 strlen-sse2-bsf.
31377 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31378 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31379 (__strlen_sse2): Removed.
31380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31383 bit_Slow_BSF for Atom.
31384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31385 (index_Slow_BSF): Define.
31386 (HAS_SLOW_BSF): Define.
31387
df24a73e
UD
313882010-08-25 Ulrich Drepper <drepper@redhat.com>
31389
31390 [BZ #10851]
31391 * resolv/res_init.c (__res_vinit): When no server address at all
31392 is given default to loopback.
31393
f2ac4868
RM
313942010-08-24 Roland McGrath <roland@redhat.com>
31395
09055553
RM
31396 * configure.in: Remove config-name.h generation.
31397 * configure: Regenerated.
31398 * config-name.in: File removed.
31399 * scripts/config-uname.sh: New file.
31400 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31401 ($(objdir)config-name.h): New target.
31402
f2ac4868
RM
31403 * sunrpc/rpc_parse.h: Avoid nested comment.
31404
73f27d5e
RH
314052010-08-24 Richard Henderson <rth@redhat.com>
31406 Ulrich Drepper <drepper@redhat.com>
31407 H.J. Lu <hongjiu.lu@intel.com>
31408
31409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31411 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31412 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31413 _mm_alignr_epi8 with _mm_loadu_si128.
31414 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31415 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31416 (__m128i_shift_right): Removed.
31417 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31418 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31419 * sysdeps/x86_64/multiarch/varshift.h: New file.
31420 * sysdeps/x86_64/multiarch/varshift.S: New file.
31421
84b9230c
MF
314222010-08-21 Mike Frysinger <vapier@gentoo.org>
31423
31424 * configure.in: Move assembler checks to before sysdep dir checking.
31425
9bbd0ddc
PB
314262010-08-20 Petr Baudis <pasky@suse.cz>
31427
31428 * LICENSES: Sync the sunrpc license.
31429
9da4bb31
UD
314302010-08-19 Ulrich Drepper <drepper@redhat.com>
31431
a7ab6ec8
UD
31432 * sunrpc/auth_des.c: Update copyright notice once again.
31433 * sunrpc/auth_none.c: Likewise.
31434 * sunrpc/auth_unix.c: Likewise.
31435 * sunrpc/authdes_prot.c: Likewise.
31436 * sunrpc/authuxprot.c: Likewise.
31437 * sunrpc/bindrsvprt.c: Likewise.
31438 * sunrpc/clnt_gen.c: Likewise.
31439 * sunrpc/clnt_perr.c: Likewise.
31440 * sunrpc/clnt_raw.c: Likewise.
31441 * sunrpc/clnt_simp.c: Likewise.
31442 * sunrpc/clnt_tcp.c: Likewise.
31443 * sunrpc/clnt_udp.c: Likewise.
31444 * sunrpc/clnt_unix.c: Likewise.
31445 * sunrpc/des_crypt.c: Likewise.
31446 * sunrpc/des_soft.c: Likewise.
31447 * sunrpc/get_myaddr.c: Likewise.
31448 * sunrpc/getrpcport.c: Likewise.
31449 * sunrpc/key_call.c: Likewise.
31450 * sunrpc/key_prot.c: Likewise.
31451 * sunrpc/openchild.c: Likewise.
31452 * sunrpc/pm_getmaps.c: Likewise.
31453 * sunrpc/pm_getport.c: Likewise.
31454 * sunrpc/pmap_clnt.c: Likewise.
31455 * sunrpc/pmap_prot.c: Likewise.
31456 * sunrpc/pmap_prot2.c: Likewise.
31457 * sunrpc/pmap_rmt.c: Likewise.
31458 * sunrpc/rpc/auth.h: Likewise.
31459 * sunrpc/rpc/auth_unix.h: Likewise.
31460 * sunrpc/rpc/clnt.h: Likewise.
31461 * sunrpc/rpc/des_crypt.h: Likewise.
31462 * sunrpc/rpc/key_prot.h: Likewise.
31463 * sunrpc/rpc/netdb.h: Likewise.
31464 * sunrpc/rpc/pmap_clnt.h: Likewise.
31465 * sunrpc/rpc/pmap_prot.h: Likewise.
31466 * sunrpc/rpc/pmap_rmt.h: Likewise.
31467 * sunrpc/rpc/rpc.h: Likewise.
31468 * sunrpc/rpc/rpc_des.h: Likewise.
31469 * sunrpc/rpc/rpc_msg.h: Likewise.
31470 * sunrpc/rpc/svc.h: Likewise.
31471 * sunrpc/rpc/svc_auth.h: Likewise.
31472 * sunrpc/rpc/types.h: Likewise.
31473 * sunrpc/rpc/xdr.h: Likewise.
31474 * sunrpc/rpc_clntout.c: Likewise.
31475 * sunrpc/rpc_cmsg.c: Likewise.
31476 * sunrpc/rpc_common.c: Likewise.
31477 * sunrpc/rpc_cout.c: Likewise.
31478 * sunrpc/rpc_dtable.c: Likewise.
31479 * sunrpc/rpc_hout.c: Likewise.
31480 * sunrpc/rpc_main.c: Likewise.
31481 * sunrpc/rpc_parse.c: Likewise.
31482 * sunrpc/rpc_parse.h: Likewise.
31483 * sunrpc/rpc_prot.c: Likewise.
31484 * sunrpc/rpc_sample.c: Likewise.
31485 * sunrpc/rpc_scan.c: Likewise.
31486 * sunrpc/rpc_scan.h: Likewise.
31487 * sunrpc/rpc_svcout.c: Likewise.
31488 * sunrpc/rpc_tblout.c: Likewise.
31489 * sunrpc/rpc_util.c: Likewise.
31490 * sunrpc/rpc_util.h: Likewise.
31491 * sunrpc/rpcinfo.c: Likewise.
31492 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31493 * sunrpc/rpcsvc/key_prot.x: Likewise.
31494 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31495 * sunrpc/rpcsvc/mount.x: Likewise.
31496 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31497 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31498 * sunrpc/rpcsvc/rex.x: Likewise.
31499 * sunrpc/rpcsvc/rstat.x: Likewise.
31500 * sunrpc/rpcsvc/rusers.x: Likewise.
31501 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31502 * sunrpc/rpcsvc/spray.x: Likewise.
31503 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31504 * sunrpc/rtime.c: Likewise.
31505 * sunrpc/svc.c: Likewise.
31506 * sunrpc/svc_auth.c: Likewise.
31507 * sunrpc/svc_authux.c: Likewise.
31508 * sunrpc/svc_raw.c: Likewise.
31509 * sunrpc/svc_run.c: Likewise.
31510 * sunrpc/svc_simple.c: Likewise.
31511 * sunrpc/svc_tcp.c: Likewise.
31512 * sunrpc/svc_udp.c: Likewise.
31513 * sunrpc/svc_unix.c: Likewise.
31514 * sunrpc/svcauth_des.c: Likewise.
31515 * sunrpc/xcrypt.c: Likewise.
31516 * sunrpc/xdr.c: Likewise.
31517 * sunrpc/xdr_array.c: Likewise.
31518 * sunrpc/xdr_float.c: Likewise.
31519 * sunrpc/xdr_mem.c: Likewise.
31520 * sunrpc/xdr_rec.c: Likewise.
31521 * sunrpc/xdr_ref.c: Likewise.
31522 * sunrpc/xdr_sizeof.c: Likewise.
31523 * sunrpc/xdr_stdio.c: Likewise.
31524
9da4bb31
UD
31525 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31526 handling.
31527
bdaa77bc
AS
315282010-08-19 Andreas Schwab <schwab@redhat.com>
31529
31530 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31531
fe2f79db
LM
315322010-08-19 Luis Machado <luisgpm@br.ibm.com>
31533
31534 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31535 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31536 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31537 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31538 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31539 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31541 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31543 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31544 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31545 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31546 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31547 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31548
b9b42ee0
AB
315492010-07-26 Anton Blanchard <anton@samba.org>
31550
31551 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31552 * malloc/arena.c (heap_trim): Likewise.
31553
1c06ba31
UD
315542010-08-16 Ulrich Drepper <drepper@redhat.com>
31555
31556 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31557 here. Not...
31558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31559 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31560
f8392f40
L
315612010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31562
31563 * sysdeps/i386/elf/Makefile: New file.
31564
3162f12e
AS
315652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31566
31567 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31568 from fanotify_init.
31569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31571
28c90b2c
UD
315722010-08-15 Ulrich Drepper <drepper@redhat.com>
31573
31574 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31575 of strncasecmp_l.
1feccb6c 31576 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31577
ca6bb004
UD
315782010-08-14 Ulrich Drepper <drepper@redhat.com>
31579
e9f82e0d
UD
31580 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31581 strncase_l-nonascii.
31582 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31583 Add strncase_l-ssse3.
31584 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31585 * sysdeps/x86_64/strcmp.S: Likewise.
31586 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31587 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31588 * sysdeps/x86_64/strncase.S: New file.
31589 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31590 * sysdeps/x86_64/strncase_l.S: New file.
31591 * string/Makefile (strop-tests): Add strncasecmp.
31592 * string/test-strncasecmp.c: New file.
31593
31594 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31595 warning.
31596
ca6bb004
UD
31597 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31598 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31599
052fa7b3
AS
316002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31601
31602 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31603
962dba78
UD
316042010-08-12 Ulrich Drepper <drepper@redhat.com>
31605
31606 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31608 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31609
bebff237
AM
316102010-05-01 Alan Modra <amodra@gmail.com>
31611
31612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31613 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31614 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31615 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31616 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31617 tidying. Don't tail-call __sigjmp_save for static lib.
31618 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31619 save location.
31620 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31621 (CALL_MCOUNT): Add eh info, and nop after bl.
31622 (TAIL_CALL_SYSCALL_ERROR): New macro.
31623 (PSEUDO_RET): Use it.
31624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31625 Correct save location of integer regs and cr.
31626 (_dl_profile_resolve): Correct cr save location. Delete nops
31627 after bl when SHARED. Reduce cfi size a little by better
31628 placement of cfi directives.
31629 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31630 make a stack frame. Instead use parm save area as a temp.
31631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31632 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31634 Don't make a stack frame for parent, use parm save area.
31635 Increase child stack frame to 112 bytes. Don't save unused reg,
31636 and adjust reg usage. Set up cfi on error recovery and
31637 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31639 (__makecontext): Add dummy nop after jump to exit.
31640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31641 Use correct parm save area and cr save, reduce stack frame.
31642 Correct cfi for possible PSEUDO_RET frame setup.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31644 Branch to local label emitted by PSEUDO_RET rather than
31645 __syscall_error.
31646
02637374
AS
316472010-08-12 Andreas Schwab <schwab@redhat.com>
31648
31649 [BZ #11904]
31650 * locale/programs/locale.c (print_assignment): New function.
31651 (show_locale_vars): Use it.
31652
c3e2f19b
UD
316532010-08-11 Ulrich Drepper <drepper@redhat.com>
31654
3cdaa6ad
UD
31655 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31656 field.
31657 (struct statfs64): Likewise.
31658 (_STATFS_F_FLAGS): Define.
31659 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31661 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31662 (ST_VALID): Define locally.
31663 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31664 __statvfs_getflags, use the provided value.
31665 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31666 __ASSUME_STATFS_F_FLAGS.
31667
754f7da3
UD
31668 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31669
10b3bedc
UD
31670 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31671 Add sys/fanotify.h.
31672 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31673 fanotify_mask for GLIBC_2.13.
31674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31675 fanotify_init and fanotify_mark.
31676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31677 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31678
c08fb0d7
UD
31679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31680 Add prlimit.
31681 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31682 prlimit64 for GLIBC_2.13.
31683 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31684 prlimit64.
31685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31686 syscall.
31687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31689 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31692 add prlimit alias.
31693 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31694
15bac72b
UD
31695 [BZ #11903]
31696 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31697 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31698
c3e2f19b
UD
31699 * nss/Makefile: Add rules to build and run tst-nss-test1.
31700 * shlib-versions: Add entry for libnss_test1.
31701 * nss/nss_test1.c: New file.
31702 * nss/tst-nss-test1.c: New file.
31703
31704 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31705 (__nss_configure_lookup): Set appropriate entry in
31706 __nss_configure_lookup to true.
31707 * nss/nsswitch.h: Define enum with indeces of databases in
31708 databases and __nss_database_custom arrays. Declare
31709 __nss_database_custom.
31710 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31711 to avoid using nscd when custom rules are installed.
31712 * nss/getXXbyYY_r.c: Likewise.
31713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31714
31715 * nss/nss_files/files-parse.c: Whitespace fixes.
31716
f15ce4d8
UD
317172010-08-09 Ulrich Drepper <drepper@redhat.com>
31718
31719 [BZ #11883]
31720 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31721 * posix/fnmatch_loop.c: Likewise.
31722
d22e4cc9
AK
317232010-07-17 Andi Kleen <ak@linux.intel.com>
31724
31725 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31726 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31727 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31728 * Versions.def [GLIBC_2.13]: Add.
31729
805bc17d
UD
317302010-08-06 Ulrich Drepper <drepper@redhat.com>
31731
31732 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31733 Also fail if tpwd after pwuid call is NULL.
31734
5a42321d
ST
317352010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31736
31737 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31738 when converting to ms.
31739
fd3ebeda
ST
317402010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31741
31742 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31743 EOPNOTSUPP errors with ENOTTY.
31744 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31745 EOPNOTSUPP errors with ENOTTY.
31746
73507d3a
UD
317472010-07-31 Ulrich Drepper <drepper@redhat.com>
31748
31749 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31750 Add strcasecmp_l-ssse3.
31751 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31752 strcasecmp.
31753 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31754 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31756
fe36dd02
UD
317572010-07-30 Ulrich Drepper <drepper@redhat.com>
31758
66f6765a
UD
31759 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31760
42e08a54
UD
31761 * string/Makefile (strop-tests): Add strcasecmp.
31762 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31763 strcasecmp_l-nonascii.
31764 (gen-as-const-headers): Add locale-defines.sym.
31765 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31766 * sysdeps/x86_64/strcasecmp.S: New file.
31767 * sysdeps/x86_64/strcasecmp_l.S: New file.
31768 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31769 * sysdeps/x86_64/locale-defines.sym: New file.
31770 * string/test-strcasecmp.c: New file.
31771
fe36dd02
UD
31772 * string/test-strcasestr.c: Test both ends of the range of characters.
31773 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31774
48cbc0d6
RM
317752010-07-29 Roland McGrath <roland@redhat.com>
31776
76e6d6bc 31777 [BZ #11856]
48cbc0d6
RM
31778 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31779
880113d9
UD
317802010-07-27 Ulrich Drepper <drepper@redhat.com>
31781
31782 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31783 for ld.so.
31784
deb9cabb
AS
317852010-07-27 Andreas Schwab <schwab@redhat.com>
31786
31787 * manual/memory.texi (Malloc Tunable Parameters): Document
31788 M_PERTURB.
31789
1c7570ff
RM
317902010-07-26 Roland McGrath <roland@redhat.com>
31791
31792 [BZ #11840]
31793 * configure.in (-fgnu89-inline check): Set and substitute
31794 gnu89_inline, not libc_cv_gnu89_inline.
31795 * configure: Regenerated.
31796 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31797
24fb0f88
UD
317982010-07-26 Ulrich Drepper <drepper@redhat.com>
31799
31800 * string/test-strnlen.c: New file.
31801 * string/Makefile (strop-tests): Add strnlen.
31802 * string/tester.c (test_strnlen): Add a few more test cases.
31803 * string/tst-strlen.c: Better error reporting.
31804
31805 * sysdeps/x86_64/strnlen.S: New file.
31806
8e96b93a
UD
318072010-07-24 Ulrich Drepper <drepper@redhat.com>
31808
31809 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31810 lower-latency instructions.
31811
dbc676d4
UD
318122010-07-23 Ulrich Drepper <drepper@redhat.com>
31813
31814 * string/test-strcasestr.c: New file.
31815 * string/test-strstr.c: New file.
31816 * string/Makefile (strop-tests): Add strstr and strcasestr.
31817 * string/str-two-way.h: Don't undefine MAX.
31818 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31819
f6a31e0e
AS
318202010-07-21 Andreas Schwab <schwab@redhat.com>
31821
31822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31823 strcasestr-nonascii.
31824 (CFLAGS-strcasestr-nonascii.c): Define.
31825 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31827 Remove unused attribute.
31828
5dbc3b6c
RM
318292010-07-20 Roland McGrath <roland@redhat.com>
31830
31831 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31832 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31833 ld.so.cache was broken. With it, there is no way to disable dsocaps
31834 like LD_HWCAP_MASK can disable hwcaps.
31835
23d101d8
EPM
318362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31837
31838 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31839
cc9f2e47
UD
318402010-07-16 Ulrich Drepper <drepper@redhat.com>
31841
31842 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31843 call in strcasestr.
31844 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31845 __strcasestr_sse42_nonascii.
31846 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31847 strcasestr-nonascii.c.
31848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31849
77c1b069
LM
318502010-06-15 Luis Machado <luisgpm@br.ibm.com>
31851
31852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31854 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31856
440566c3
UD
318572010-07-09 Ulrich Drepper <drepper@redhat.com>
31858
31859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31860 fcntl.
31861
5be9d05d
AS
318622010-07-06 Andreas Schwab <schwab@redhat.com>
31863
c30b7ee2 31864 [BZ #11577]
5be9d05d
AS
31865 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31866 dl_signal_cerror.
31867
8a492a67
UD
318682010-07-06 Ulrich Drepper <drepper@redhat.com>
31869
31870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31871 _PC_PIPE_BUF using F_GETPIPE_SZ.
31872
713df3d5
RM
318732010-07-05 Roland McGrath <roland@redhat.com>
31874
31875 * manual/arith.texi (Rounding Functions): Fix rint description
31876 implicit in round description.
31877
702e8f14
UD
318782010-07-02 Ulrich Drepper <drepper@redhat.com>
31879
31880 * elf/Makefile: Fix linking for a few tests to make recent linker
31881 happy.
31882
52ed8be9
AS
318832010-06-30 Andreas Schwab <schwab@redhat.com>
31884
31885 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31886 $(common-objpfx)libc_nonshared.a.
31887
f47c9a11
LM
318882010-06-21 Luis Machado <luisgpm@br.ibm.com>
31889
31890 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31891 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31892 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31893 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31894 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31896 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31897 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31912 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31913 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31914 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31915 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31916 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31917 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31918 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31919 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31920 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31921 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31922 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31923 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31938
6fb8cbcb
L
319392010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31942 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31943 * string/memmove.c (memmove): Renamed to ...
31944 (MEMMOVE): ...this. Default to memmove.
31945 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31946 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31947 (END_CHK): Define.
31948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31949 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31950 mempcpy-ssse3-back memmove-ssse3-back.
31951 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31954 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31955 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31956 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31957 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31958 * sysdeps/x86_64/multiarch/memmove.c: New file.
31959 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31960 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31961 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31962 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31963 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31965 Define.
31966 (index_Fast_Copy_Backward): Define.
31967 (HAS_ARCH_FEATURE): Define.
31968 (HAS_FAST_REP_STRING): Define.
31969 (HAS_FAST_COPY_BACKWARD): Define.
31970
4e733bac 319712010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31972
31973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31974 Restore proper fallback handling.
31975
63c4ed22
UD
319762010-06-19 Ulrich Drepper <drepper@redhat.com>
31977
ac2b484c
UD
31978 [BZ #11701]
31979 * posix/group_member.c (__group_member): Correct checking loop.
31980
63c4ed22
UD
31981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31982 OOM in getpwuid_r correctly. Return error number when the caller
31983 should return, otherwise -1.
31984 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31985 call returning > 0 value.
31986 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31987
765ade4b
AS
319882010-06-07 Andreas Schwab <schwab@redhat.com>
31989
31990 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31991 libc_nonshared.a from targets in modules-names.
31992
80da2e09
KS
319932010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31994
31995 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31996 requires it.
31997
158db122
LM
319982010-06-10 Luis Machado <luisgpm@br.ibm.com>
31999
32000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32001 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32004
caa78cf8
AS
320052010-06-02 Andreas Schwab <schwab@redhat.com>
32006
32007 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32008
b2ef2c01
UD
320092010-06-14 Ulrich Drepper <drepper@redhat.com>
32010
32011 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32012 and F_GETPIPE_SZ.
32013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32018 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32019
fbd643b6
RM
320202010-06-14 Roland McGrath <roland@redhat.com>
32021
32022 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32023
f32f2869
JJ
320242010-06-07 Jakub Jelinek <jakub@redhat.com>
32025
32026 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32027 __REDIRECT followed by __THROW.
32028 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32029 * posix/getopt.h (getopt): Likewise.
32030
2a50c078
EPM
320312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32032
32033 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32034 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32035 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32036 in AT_FLAGS.
32037 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32038 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32039
eb5ad2eb
LM
320402010-05-28 Luis Machado <luisgpm@br.ibm.com>
32041
32042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32043
3c88fe1e
L
320442010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 [BZ #11640]
32047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32048 Properly check family and model.
32049
d2f73151
TY
320502010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32051
32052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32053
ebd2e13d
LM
320542010-05-24 Luis Machado <luisgpm@br.ibm.com>
32055
32056 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32057
b32b8b45
UD
320582010-05-21 Ulrich Drepper <drepper@redhat.com>
32059
32060 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32061 symbol reference.
32062
9acbe24d
AS
320632010-05-19 Andreas Schwab <schwab@redhat.com>
32064
32065 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32066 symbol reference.
32067
f0ccf6ea
AS
320682010-05-21 Andreas Schwab <schwab@redhat.com>
32069
3d04ff3a
AS
32070 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32071 and internal_recvmmsg.
32072 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32073 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32074 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32075 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32076
f0ccf6ea
AS
32077 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32078 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32079 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32080
5b08ac57
AS
320812010-05-20 Andreas Schwab <schwab@redhat.com>
32082
32083 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32084
4828935d
LM
320852010-05-17 Luis Machado <luisgpm@br.ibm.com>
32086
32087 POWER7 optimizations.
32088 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32089 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32090
373d545e
UD
320912010-05-19 Ulrich Drepper <drepper@redhat.com>
32092
32093 * version.h: Update for 2.13 development version.
32094
21a2b1ae
AS
320952010-05-12 Andrew Stubbs <ams@codesourcery.com>
32096
32097 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32098 exceptions. Return 0.
32099
3f7dcb2b
RM
321002010-05-07 Roland McGrath <roland@redhat.com>
32101
32102 * elf/ldconfig.c (main): Add a const.
32103
5f24d53a 321042010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32105
a160f8d8
UD
32106 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32107 (args_options): Add no-idn option.
32108 (ahosts_keys_int): Add idn_flags to ai_flags.
32109 (parse_option): Handle 'i' option to clear idn_flags.
32110
5f24d53a
UD
32111 * malloc/malloc.c (_int_free): Possible race in the most recently
32112 added check. Only act on the data if no current modification
32113 happened.
265bb1ce
UD
32114
32115See ChangeLog.17 for earlier changes.
This page took 4.121211 seconds and 5 git commands to generate.